wit09 Posted November 5, 2014 Share Posted November 5, 2014 I recently got a Huawei E355 to use with my Pineapple V. I'm using mobile broadband from 3 UK here in the UK. The problem I am having is that my pineapple won't connect to the E355. The dongle powers up when plugged in the USB on the pineapple but it won't create a eth1 connection to it. Has anyone had this problem or have any suggestions how to fix it? Thanks wit09 Quote Link to comment Share on other sites More sharing options...
VattaFarI Posted November 6, 2014 Share Posted November 6, 2014 use this script and place it under /etc/hotplug.d/usb/40-e355 #!/bin/bash # # Hotplug script for Huawei E355 3G Modem # # Vendor ID: 12d1/14db/102 # logger Pineapple.modem: New device found $PRODUCT [[ $PRODUCT == "12d1/14db/102" ]] && { [[ $ACTION == "add" ]] && { ifconfig eth1 192.168.1.100 netmask 255.255.255.0 up route del default route add default gw 192.168.1.1 eth1 iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT logger Pineapple.modem: Huawei E355 Added } || { iptables -t nat -D POSTROUTING -s 172.16.42.0/24 -o eth1 -j MASQUERADE iptables -D FORWARD -s 172.16.42.0/24 -o eth1 -j ACCEPT iptables -D FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i eth1 -j ACCEPT /etc/init.d/network restart logger Pineapple.modem: Huawei E355 Removed } } the script is adapted fron a hak5 tutorial video with the content of 3G modems if you flash your firmware the script will be deleted, so place it also under /sd/etc/hotplug.d/usb/40-e355 so you can simply copy it after firmware update. greetz VattafarI Quote Link to comment Share on other sites More sharing options...
wit09 Posted November 10, 2014 Author Share Posted November 10, 2014 Thanks so much Vattafarl, that fixed the problem! Quote Link to comment Share on other sites More sharing options...
Ge0 Posted December 3, 2014 Share Posted December 3, 2014 I have the same problem and the script doesn't solve the problem for me. When I do lsusb I can see the Huawei device connected but the eth1 interface is never created. on /dev/ I have nothing related to ttyUSB* I've tried so many things with the same result. Any idea? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.