trescomban1 Posted September 21, 2012 Share Posted September 21, 2012 I tried to connect my pineapple to 3g, when i run ./3g.sh in putty this launch to me the error: root@Pineapple:/pineapple/3g# ./3g.sh Searching for attached 3G Modems 1d6b:0002 19d2:0124 ZTE MF190 (Variant) detected. Attempting mode switch rmmod: can't unload 'usbserial': Resource temporarily unavailable insmod: can't insert 'usbserial': File exists ./3g.sh: line 62: /etc/init.d/firewall: not found ./3g.sh: line 62: /etc/init.d/firewall: not found ************** firewall no is installed on init.d??? ************** in the log i can see: 00:08:25 Pineapple local2.info chat[3209]: timeout set to 10 seconds 00:08:25 Pineapple local2.info chat[3209]: send (AT&F^M) 00:08:25 Pineapple local2.info chat[3209]: report (CONNECT) 00:08:25 Pineapple local2.info chat[3209]: expect (OK) 00:08:25 Pineapple local2.info chat[3209]: abort on (NO CARRIER) 00:08:25 Pineapple local2.info chat[3209]: abort on (ERROR) 00:08:25 Pineapple local2.info chat[3209]: abort on (BUSY) 00:08:24 Pineapple daemon.notice pppd[3182]: pppd 2.4.5 started by root, uid 0 *************** Mi 3g script is: *19d2:0124*) echo "ZTE MF190 (Variant) detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=umts uci set network.wan2.device=/dev/ttyUSB3 uci set network.wan2.apn=movistar.es uci set network.wan2.username=movistar uci set network.wan2.password=movistar uci set network.wan2.defaultroute=1 uci commit network sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x19d2 product=0x0124 sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop logger "3G: firewall stopped" iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;; i think this is a error from the firewall is holding mi zte mf190, what is the solution? Thank you soo much. trescomban1 Quote Link to comment Share on other sites More sharing options...
Neworld Posted September 21, 2012 Share Posted September 21, 2012 reflash or clean flash. Quote Link to comment Share on other sites More sharing options...
trescomban1 Posted September 21, 2012 Author Share Posted September 21, 2012 you have the firewall installed on 2.6.4? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted September 21, 2012 Share Posted September 21, 2012 The firewall has not been part of the Pineapple for a long time now. It prevented some things we wanted to do. You shouldn't need a firewall on the device, in the end, it is penetration testing hardware. Your issue isn't with the firewall - although, we should remove the reference to the firewall from the 3g script. Rather, it is with the usb serial modle and the fact that "No carrier was sent" message etc. Re-flash your pineapple and see what you get. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
trescomban1 Posted September 21, 2012 Author Share Posted September 21, 2012 Hi , after reflashing 2.6.4: The script: *19d2:0124*) echo "ZTE MF190 (T-Mobile) detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=umts uci set network.wan2.device=/dev/ttyUSB3 uci set network.wan2.apn=movistar.es uci set network.wan2.username=movistar uci set network.wan2.password=movistar uci set network.wan2.defaultroute=1 uci commit network sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x19d2 product=0x0124 iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;; The error: 00:02:12 Pineapple local2.info chat[2075]: timeout set to 10 seconds00:02:12 Pineapple local2.info chat[2075]: send (AT&F^M) 00:02:12 Pineapple local2.info chat[2075]: report (CONNECT) 00:02:12 Pineapple local2.info chat[2075]: expect (OK) 00:02:12 Pineapple local2.info chat[2075]: abort on (NO CARRIER) 00:02:12 Pineapple local2.info chat[2075]: abort on (ERROR) 00:02:12 Pineapple local2.info chat[2075]: abort on (BUSY) 00:02:11 Pineapple daemon.notice pppd[2058]: pppd 2.4.5 started by root, uid 0 00:02:08 Pineapple kern.info kernel: [ 128.370000] usbserial_generic 1-1:1.4: generic converter detected 00:02:08 Pineapple kern.info kernel: [ 128.360000] usb 1-1: generic converter now attached to ttyUSB3 what can i do? Quote Link to comment Share on other sites More sharing options...
trescomban1 Posted September 21, 2012 Author Share Posted September 21, 2012 with 2.5.0 the same error: 00:03:59 Pineapple local2.info chat[2762]: alarm 00:03:59 Pineapple local2.info chat[2762]: Failed 00:03:59 Pineapple daemon.err pppd[2747]: Connect script failed 00:03:49 Pineapple local2.info chat[2762]: timeout set to 10 seconds 00:03:49 Pineapple local2.info chat[2762]: send (AT&F^M) 00:03:49 Pineapple local2.info chat[2762]: report (CONNECT) 00:03:49 Pineapple local2.info chat[2762]: expect (OK) 00:03:49 Pineapple local2.info chat[2762]: abort on (NO CARRIER) 00:03:49 Pineapple local2.info chat[2762]: abort on (ERROR) 00:03:49 Pineapple local2.info chat[2762]: abort on (BUSY) 00:03:48 Pineapple daemon.notice pppd[2747]: pppd 2.4.5 started by root, uid 0 00:03:44 Pineapple user.notice 3g-hotplug: Starting interface wan2 for device ttyUSB3 00:03:43 Pineapple kern.info kernel: [ 223.790000] usbserial_generic 1-1:1.4: generic converter detected 00:03:43 Pineapple kern.info kernel: [ 223.780000] usb 1-1: generic converter now attached to ttyUSB3 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.