Sorry, I forgot to mention, to openwrt version is svn changeset 16301
with 2.4 kernel.

The router is an Asus wl500g Premium V2.

Thank you
josh

On Wed, Jun 3, 2009 at 09:38, Josh Abbott <[email protected]> wrote:
> Hi
>
> I'm trying to connect to the internet with an huawei e220 with
> openwrt, everything seems to be fine, the modem connects and the
> router sets it's IP address.
>
> This is the connection log:
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: USB Serial
> deregistering driver Generic
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter now disconnected from ttyUSB0
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter now disconnected from ttyUSB1
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter now disconnected from ttyUSB2
> Jun  3 08:31:32 gw-tagus user.info kernel: usb.c: deregistering driver serial
> Jun  3 08:31:32 gw-tagus user.info kernel: usb.c: registered new driver serial
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: USB Serial
> support registered for Generic
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter detected
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter detected
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter detected
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: Generic
> converter now attached to ttyUSB2 (or usb/tts/2 for devfs)
> Jun  3 08:31:32 gw-tagus user.info kernel: usbserial.c: USB Serial
> Driver core v1.4
> Jun  3 08:31:51 gw-tagus daemon.notice pppd[1400]: pppd 2.4.4 started
> by root, uid 0
> Jun  3 08:31:51 gw-tagus daemon.notice pppd[1400]: Removed stale lock
> on usb_tts_0 (pid 1192)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: abort on (BUSY)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: abort on (NO CARRIER)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: abort on (ERROR)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: report (CONNECT)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: timeout set to 10 seconds
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: send (AT&F^M)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: expect (OK)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: AT&F^M^M
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: OK
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]:  -- got it
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: send (ATE1^M)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: expect (OK)
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: ^M
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: ATE1^M^M
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: OK
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]:  -- got it
> Jun  3 08:31:52 gw-tagus local2.info chat[1407]: send
> (AT+CGDCONT=1,"IP","myconnection"^M)
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: timeout set to 30 seconds
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: expect (OK)
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: ^M
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]:
> AT+CGDCONT=1,"IP","myconnection"^M^M
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: OK
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]:  -- got it
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: send (ATD*99***1#^M)
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: expect (CONNECT)
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: ^M
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: ATD*99***1#^M^M
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: CONNECT
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]:  -- got it
> Jun  3 08:31:53 gw-tagus local2.info chat[1407]: send ( ^M)
> Jun  3 08:31:53 gw-tagus daemon.info pppd[1400]: Serial connection 
> established.
> Jun  3 08:31:53 gw-tagus daemon.debug pppd[1400]: using channel 4
> Jun  3 08:31:53 gw-tagus daemon.info pppd[1400]: Using interface ppp0
> Jun  3 08:31:53 gw-tagus daemon.notice pppd[1400]: Connect: ppp0 <-->
> /dev/usb/tts/0
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: sent [LCP ConfReq
> id=0x1 <asyncmap 0x0> <magic 0xf0a41da0>]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [LCP ConfReq
> id=0x54 <asyncmap 0x0> <auth chap MD5> <magic 0xf156fc> <pcomp>
> <accomp>]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: sent [LCP ConfRej
> id=0x54 <pcomp> <accomp>]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [LCP ConfAck
> id=0x1 <asyncmap 0x0> <magic 0xf0a41da0>]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [LCP ConfReq
> id=0x55 <asyncmap 0x0> <auth chap MD5> <magic 0xf156fc>]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: sent [LCP ConfAck
> id=0x55 <asyncmap 0x0> <auth chap MD5> <magic 0xf156fc>]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: sent [LCP EchoReq
> id=0x0 magic=0xf0a41da0]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [LCP DiscReq
> id=0x56 magic=0xf156fc]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [CHAP Challenge
> id=0x1 <6eb53fa9909fa095aef34b64f2576bb6>, name = "UMTS_CHAP_SRVR"]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: sent [CHAP Response
> id=0x1 <7611042a461767345058a75933f8f1ea>, name = "\"anything\""]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [LCP EchoRep
> id=0x0 magic=0xf156fc f0 a4 1d a0]
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: rcvd [CHAP Success id=0x1 
> ""]
> Jun  3 08:31:54 gw-tagus daemon.info pppd[1400]: CHAP authentication succeeded
> Jun  3 08:31:54 gw-tagus daemon.notice pppd[1400]: CHAP authentication 
> succeeded
> Jun  3 08:31:54 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfReq
> id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
> Jun  3 08:31:55 gw-tagus daemon.debug pppd[1400]: sent [LCP EchoReq
> id=0x1 magic=0xf0a41da0]
> Jun  3 08:31:55 gw-tagus daemon.debug pppd[1400]: rcvd [LCP EchoRep
> id=0x1 magic=0xf156fc f0 a4 1d a0]
> Jun  3 08:31:55 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfNak
> id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
> 10.11.12.13> <ms-wins 10.11.12.14>]
> Jun  3 08:31:55 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfReq
> id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
> Jun  3 08:31:56 gw-tagus daemon.debug pppd[1400]: sent [LCP EchoReq
> id=0x2 magic=0xf0a41da0]
> Jun  3 08:31:56 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfNak
> id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
> 10.11.12.13> <ms-wins 10.11.12.14>]
> Jun  3 08:31:56 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfReq
> id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
> Jun  3 08:31:56 gw-tagus daemon.debug pppd[1400]: rcvd [LCP EchoRep
> id=0x2 magic=0xf156fc f0 a4 1d a0]
> Jun  3 08:31:57 gw-tagus daemon.debug pppd[1400]: sent [LCP EchoReq
> id=0x3 magic=0xf0a41da0]
> Jun  3 08:31:57 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfNak
> id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins
> 10.11.12.13> <ms-wins 10.11.12.14>]
> Jun  3 08:31:57 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfReq
> id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
> Jun  3 08:31:57 gw-tagus daemon.debug pppd[1400]: rcvd [LCP EchoRep
> id=0x3 magic=0xf156fc f0 a4 1d a0]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfReq id=0x38]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfNak
> id=0x38 <addr 0.0.0.0>]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfNak
> id=0x4 <addr 78.130.71.251> <ms-dns1 62.169.67.172> <ms-dns3
> 62.169.67.171>]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfReq
> id=0x5 <addr 78.130.71.251> <ms-dns1 62.169.67.172> <ms-dns3
> 62.169.67.171>]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfReq id=0x39]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: sent [IPCP ConfAck id=0x39]
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: rcvd [IPCP ConfAck
> id=0x5 <addr 78.130.71.251> <ms-dns1 62.169.67.172> <ms-dns3
> 62.169.67.171>]
> Jun  3 08:31:58 gw-tagus daemon.warn pppd[1400]: Could not determine
> remote IP address: defaulting to 10.64.64.64
> Jun  3 08:31:58 gw-tagus daemon.notice pppd[1400]: local  IP address
> 78.130.71.251
> Jun  3 08:31:58 gw-tagus daemon.notice pppd[1400]: remote IP address 
> 10.64.64.64
> Jun  3 08:31:58 gw-tagus daemon.notice pppd[1400]: primary   DNS
> address 62.169.67.172
> Jun  3 08:31:58 gw-tagus daemon.notice pppd[1400]: secondary DNS
> address 62.169.67.171
> Jun  3 08:31:58 gw-tagus daemon.info dnsmasq[634]: reading 
> /tmp/resolv.conf.auto
> Jun  3 08:31:58 gw-tagus daemon.info dnsmasq[634]: using nameserver
> 62.169.67.171#53
> Jun  3 08:31:58 gw-tagus daemon.info dnsmasq[634]: using nameserver
> 62.169.67.172#53
> Jun  3 08:31:58 gw-tagus daemon.info dnsmasq[634]: using local
> addresses only for domain home.local
> Jun  3 08:31:58 gw-tagus daemon.debug pppd[1400]: Script
> /etc/ppp/ip-up started (pid 1414)
> Jun  3 08:32:00 gw-tagus user.notice root: starting ntpclient
> Jun  3 08:32:00 gw-tagus daemon.debug pppd[1400]: Script
> /etc/ppp/ip-up finished (pid 1414), status = 0x1
>
>
> The problem is after being connect I can't reach anywhere (everything
> gives seg fault):
> r...@gw-tagus:~# ip addr
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
> 2: eth0: <BROADCAST,MULTICAST,UP100> mtu 1500 qdisc pfifo_fast qlen 1000
>    link/ether 00:22:15:79:05:99 brd ff:ff:ff:ff:ff:ff
> 3: eth0.0: <BROADCAST,MULTICAST,UP100> mtu 1500 qdisc noqueue
>    link/ether 00:22:15:79:05:99 brd ff:ff:ff:ff:ff:ff
> 4: eth0.1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
>    link/ether 00:22:15:79:05:99 brd ff:ff:ff:ff:ff:ff
> 5: br-lan: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
>    link/ether 00:22:15:79:05:99 brd ff:ff:ff:ff:ff:ff
>    inet 10.0.1.1/24 brd 10.0.1.255 scope global br-lan
> 6: wl0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
>    link/ether 00:22:15:79:05:99 brd ff:ff:ff:ff:ff:ff
> 10: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
>    link/ppp
>    inet 78.130.71.251 peer 10.64.64.64/32 scope global ppp0
> r...@gw-tagus:~# ip route
> 10.64.64.64 dev ppp0  src 78.130.71.251
> 10.0.1.0/24 dev br-lan  src 10.0.1.1
> default dev ppp0
> r...@gw-tagus:~# ping 209.85.227.99
> Segmentation fault
> r...@gw-tagus:~# ping 10.64.64.64
> Segmentation fault
> r...@gw-tagus:~# telnet 209.85.227.99 80
> Segmentation fault
> r...@gw-tagus:~#
>
> (209.85.227.99 is one of www.google.com)
>
> Does someone know what could be wrong?
>
> Thank you
> josh
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to