Jump to content

Ppp Over 3g : Ipcp: Timeout Sending Config-requests


Titanium
 Share

Recommended Posts

Hi everybody,

long time reader, 1st time poster here.

My pineapple refuses to connect over a Huawei E173 3G USB modem. The same modem works in my notebook and PC under Ubuntu without any problems. These are my config files and logs:

pineapple MK4, firmware 1.1.1

lsusb output:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 12d1:14c9 Huawei Technologies Co., Ltd. 

my 3G script section:

*12d1:14c9*)    echo "Huawei E173 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=event.vodaphone.de
        uci set network.wan2.username=****
        uci set network.wan2.password=****
        uci set network.wan2.defaultroute=1    
	uci commit network 
        usb_modeswitch -v 12d1 -p 14c9 
        sleep 10; rmmod usbserial
        sleep 3; insmod usbserial vendor=0x12d1 product=0x14c9
        logger "DISABLED: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

ls /dev/tty*

/dev/tty      /dev/ttyATH0  /dev/ttyS0    /dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2

gcom output:

Trying list of devices
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "vodafone DE",2
Signal Quality: 5,99

And the resulting log file section:

Jan  1 00:01:12 Pineapple kern.info kernel: [   72.090000] usbserial_generic 1-1:1.0: generic converter detected
Jan  1 00:01:12 Pineapple kern.info kernel: [   72.100000] usb 1-1: generic converter now attached to ttyUSB0
Jan  1 00:01:12 Pineapple kern.err kernel: [   72.100000] usbserial_generic 1-1:1.1: Generic device with no bulk out, not allowed.
Jan  1 00:01:12 Pineapple kern.warn kernel: [   72.110000] usbserial_generic: probe of 1-1:1.1 failed with error -5
Jan  1 00:01:12 Pineapple kern.info kernel: [   72.120000] usbserial_generic 1-1:1.2: generic converter detected
Jan  1 00:01:12 Pineapple kern.info kernel: [   72.120000] usb 1-1: generic converter now attached to ttyUSB1
Jan  1 00:01:12 Pineapple kern.info kernel: [   72.130000] usbserial_generic 1-1:1.3: generic converter detected
Jan  1 00:01:12 Pineapple kern.info kernel: [   72.140000] usb 1-1: generic converter now attached to ttyUSB2
Jan  1 00:01:12 Pineapple kern.info kernel: [   72.140000] usbcore: registered new interface driver usbserial_generic
Jan  1 00:01:12 Pineapple user.notice root: DISABLED:sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop
Jan  1 00:01:12 Pineapple user.notice root: 3G: firewall stopped
Jan  1 00:01:12 Pineapple user.notice 3g-hotplug: Starting interface wan2 for device ttyUSB0
Jan  1 00:01:12 Pineapple user.info sysinit: setting up led LAN
Jan  1 00:01:12 Pineapple user.info sysinit: setting up led WAN
Jan  1 00:01:12 Pineapple user.info sysinit: setting up led WLAN
Jan  1 00:01:12 Pineapple user.info sysinit: setting up led USB
Jan  1 00:01:16 Pineapple daemon.info dnsmasq[1269]: reading /tmp/resolv.conf.auto
Jan  1 00:01:16 Pineapple daemon.info dnsmasq[1269]: using nameserver 8.8.8.8#53
Jan  1 00:01:16 Pineapple daemon.info dnsmasq[1269]: using local addresses only for domain lan
Jan  1 00:01:16 Pineapple daemon.notice pppd[2860]: pppd 2.4.5 started by root, uid 0
Jan  1 00:01:17 Pineapple local2.info chat[2866]: abort on (BUSY)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: abort on (NO CARRIER)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: abort on (ERROR)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: report (CONNECT)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: timeout set to 10 seconds
Jan  1 00:01:17 Pineapple local2.info chat[2866]: send (AT&F^M)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: expect (OK)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: AT&F^M^M
Jan  1 00:01:17 Pineapple local2.info chat[2866]: OK
Jan  1 00:01:17 Pineapple local2.info chat[2866]:  -- got it
Jan  1 00:01:17 Pineapple local2.info chat[2866]: send (ATE1^M)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: expect (OK)
Jan  1 00:01:17 Pineapple local2.info chat[2866]: ^M
Jan  1 00:01:17 Pineapple local2.info chat[2866]: ATE1^M^M
Jan  1 00:01:17 Pineapple local2.info chat[2866]: OK
Jan  1 00:01:17 Pineapple local2.info chat[2866]:  -- got it
Jan  1 00:01:17 Pineapple local2.info chat[2866]: send (AT+CGDCONT=1,"IP","event.vodaphone.de"^M)
Jan  1 00:01:18 Pineapple local2.info chat[2866]: timeout set to 30 seconds
Jan  1 00:01:18 Pineapple local2.info chat[2866]: expect (OK)
Jan  1 00:01:18 Pineapple local2.info chat[2866]: ^M
Jan  1 00:01:18 Pineapple local2.info chat[2866]: AT+CGDCONT=1,"IP","event.vodaphone.de"^M^M
Jan  1 00:01:18 Pineapple local2.info chat[2866]: OK
Jan  1 00:01:18 Pineapple local2.info chat[2866]:  -- got it
Jan  1 00:01:18 Pineapple local2.info chat[2866]: send (ATD*99***1#^M)
Jan  1 00:01:18 Pineapple local2.info chat[2866]: expect (CONNECT)
Jan  1 00:01:18 Pineapple local2.info chat[2866]: ^M
Jan  1 00:01:18 Pineapple local2.info chat[2866]: ATD*99***1#^M^M
Jan  1 00:01:18 Pineapple local2.info chat[2866]: CONNECT
Jan  1 00:01:18 Pineapple local2.info chat[2866]:  -- got it
Jan  1 00:01:18 Pineapple local2.info chat[2866]: send ( ^M)
Jan  1 00:01:18 Pineapple daemon.info pppd[2860]: Serial connection established.
Jan  1 00:01:18 Pineapple daemon.info pppd[2860]: Using interface 3g-wan2
Jan  1 00:01:18 Pineapple daemon.notice pppd[2860]: Connect: 3g-wan2 <--> /dev/ttyUSB0
Jan  1 00:01:19 Pineapple daemon.info pppd[2860]: CHAP authentication succeeded: Welcome!!
Jan  1 00:01:19 Pineapple daemon.notice pppd[2860]: CHAP authentication succeeded
Jan  1 00:01:50 Pineapple daemon.warn pppd[2860]: IPCP: timeout sending Config-Requests
Jan  1 00:01:56 Pineapple daemon.notice pppd[2860]: Connection terminated.
Jan  1 00:01:57 Pineapple daemon.notice pppd[2860]: Modem hangup

My understanding is that the basic 3G configuration is ok. As soon as a 3g connection is established it stops however. Another problem is that I cannot use the 8GB MicroSD card I have installed as is gets mounted in read only mode only.

Thank you very much in advance.

Link to comment
Share on other sites

Whistle Master,

thanks for your reply. In fact my 3G configuration was inspired by your posting in the thread you mentioned.

After a lot of googling and experimenting I finally discovered that my modem not a E173 but a E173s-1 also sold as Vodaphone/Huawei K3770 ! Should not matter much as the modem is properly recognized by the Pineapple and I can connect to my providers 3G network . . .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...