got your pineapple mk4 a while ago, love it! though i want to have the option on using my Huawei e175 in it
Pineapple Hardware Version (ex: Mark III, Mark IV, etc.): Mark IV
Pineapple Software Version (ex: 2.5.0, 2.6.4): 2.7.0
OS used to connect to the pineapple: Backtrack 5r3
Network layout of how your setup is connected (including IP information): wp4.sh script
Is the problem repeatable (Yes/No): yes
Steps taken which created the problem: edited the 3g script
Error Messages: -see log below-
Log file information: -down below-
all this is copy pasted from the e173 modem script that is in the 3g script
now i never got a username from my provider (telenor) but i did get a password (down below)
im at a loss here and i have no idea what could be worng since the log just pokes out alot of letters!
3g script (added section)
*12d1:1446*) echo "Huawei E175 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/ttyUSB0
uci set network.wan2.apn=apn
uci set network.wan2.username=username
uci set network.wan2.password=8657
uci set network.wan2.defaultroute=1
uci commit network
usb_modeswitch -v 12d1 -p 1446 -V 12d1 -P 1001 -M 55534243123456780000000000000011060000000000000000000000000000 -n 1 -s 20
sleep 10; rmmod usbserial
sleep 3; insmod usbserial vendor=0x12d1 product=0x1446
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
;;
Log file
20:23:42 Pineapple daemon.notice netifd: Interface 'wan2' is now down
20:23:42 Pineapple daemon.info pppd[4864]: Exit.
20:23:41 Pineapple local2.info chat[4880]: timeout set to 30 seconds
20:23:41 Pineapple local2.info chat[4880]: timeout set to 10 seconds
20:23:41 Pineapple local2.info chat[4880]: send (ATE1^M)
20:23:41 Pineapple local2.info chat[4880]: send (AT+CGDCONT=1,"IP","apn"^M)
20:23:41 Pineapple local2.info chat[4880]: send (AT&F^M)
20:23:41 Pineapple local2.info chat[4880]: report (CONNECT)
20:23:41 Pineapple local2.info chat[4880]: expect (OK)
20:23:41 Pineapple local2.info chat[4880]: expect (OK)
20:23:41 Pineapple local2.info chat[4880]: expect (OK)
20:23:41 Pineapple local2.info chat[4880]: abort on (NO CARRIER)
20:23:41 Pineapple local2.info chat[4880]: abort on (ERROR)
20:23:41 Pineapple local2.info chat[4880]: abort on (BUSY)
20:23:41 Pineapple local2.info chat[4880]: ^M
20:23:41 Pineapple local2.info chat[4880]: ^M
20:23:41 Pineapple local2.info chat[4880]: OK
20:23:41 Pineapple local2.info chat[4880]: OK
20:23:41 Pineapple local2.info chat[4880]: Failed (ERROR)
20:23:41 Pineapple local2.info chat[4880]: ATE1^M^M
20:23:41 Pineapple local2.info chat[4880]: AT+CGDCONT=1,"IP","apn"^M^M
20:23:41 Pineapple local2.info chat[4880]: AT&F^M^M
20:23:41 Pineapple local2.info chat[4880]: +CME ERROR
20:23:41 Pineapple local2.info chat[4880]: -- got it
20:23:41 Pineapple local2.info chat[4880]: -- got it
20:23:41 Pineapple local2.info chat[4880]: -- failed
20:23:41 Pineapple daemon.err pppd[4864]: Connect script failed
20:23:40 Pineapple daemon.notice pppd[4864]: pppd 2.4.5 started by root, uid 0
20:23:40 Pineapple daemon.notice netifd: wan2 (4837): Trying to set mode
usb connections
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem