LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pppd don't work after kernel upgrade from 2.4.18 to 2.6.11 (https://www.linuxquestions.org/questions/linux-networking-3/pppd-dont-work-after-kernel-upgrade-from-2-4-18-to-2-6-11-a-328666/)

*Dark Dragon* 05-30-2005 07:05 PM

pppd don't work after kernel upgrade from 2.4.18 to 2.6.11
 
After I upgrade kernel, I discover big problem - I can't connect to my ISP! I upgraded pppd, and spend some time trying to found solution of my problem in the Web. But it still not worked. Here detail description:

I type 'pppd call gprs' and get following output:

----------------------------------------
AT
OK
ATQ0
OK
ATZ
OK
AT+CGDCONT=1,"IP","internet.beeline.ru"
OK
ATD*99***1#;
CONNECT
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <pcomp> <accomp> <magic 0xd64c673a> <auth chap MD5>]
sent [LCP ConfReq id=0x1 <magic 0x8f50a668>]
sent [LCP ConfRej id=0x3 <asyncmap 0xa0000> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0x8f50a668>]
rcvd [LCP ConfReq id=0x5 <magic 0xd64c673a> <auth chap MD5>]
sent [LCP ConfNak id=0x5 <auth pap>]
rcvd [LCP ConfReq id=0x7 <magic 0xd64c673a> <auth pap>]
sent [LCP ConfAck id=0x7 <magic 0xd64c673a> <auth pap>]
sent [LCP EchoReq id=0x0 magic=0x8f50a668]
sent [PAP AuthReq id=0x1 user="beeline" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0xd64c673a]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.254.254>]
sent [IPCP ConfAck id=0x1 <addr 192.168.254.254>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 172.19.72.145> <ms-dns1 217.118.66.243> <ms-dns3 217.118.66.244>]
sent [IPCP ConfReq id=0x2 <addr 172.19.72.145> <ms-dns1 217.118.66.243> <ms-dns3 217.118.66.244>]
rcvd [IPCP ConfAck id=0x2 <addr 172.19.72.145> <ms-dns1 217.118.66.243> <ms-dns3 217.118.66.244>]
Cannot determine ethernet address for proxy ARP
local IP address 172.19.72.145
remote IP address 192.168.254.254
primary DNS address 217.118.66.243
secondary DNS address 217.118.66.244
Script /etc/ppp/ip-up started (pid 3814)
----------------------------------------

ifconfig shows this:

----------------------------------------
ppp0 Link encap:Point-to-Point Protocol
inet addr:172.19.72.145 P-t-P:192.168.254.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:76 (76.0 b)
----------------------------------------

Note that message "Cannot determine ethernet address for proxy ARP" is normal output when I connect to ISP.

As you can see, problem is simple: at the end of log must be message "Script /etc/ppp/ip-up finished (pid 3814), status = 0x0", but it isn't there. I may wait very long, but ip-up simply do not wish to finish. Because of this, connection with Internet not work. I cannot found cause of this problem. And I cannot switch to new kernel while this problem exist! I really hope that someone give me at least hint how to solve this...

*Dark Dragon* 05-31-2005 01:38 AM

Additional details
 
I discover interesting thing. When I launch pppd call gprs within linux console, I get (after some time of waiting) following output after "Script /etc/ppp/ip-up started":

----------------------------------------
IN=ppp0 OUT= MAC= SRC=192.112.36.4 DST=172.19.102.81 LEN=234 TOS=0x00 PREC=0x00 TTL=238 ID=7981 DF PROTO=UDP SPT=53 DPT=32768 LEN=214
----------------------------------------

This string appears again every few seconds. And it displayed only within linux console and syslog. I'm programmer, and networking is not my occupation - I simply do not know what this means. But I'm sure that this describe my problem. And I think that there is someone who can explain this string?...

*Dark Dragon* 06-01-2005 10:15 AM

Problem solved
 
I found solution - cause of problem in the kernel configuration. After reconfiguring all work correctly.


All times are GMT -5. The time now is 06:51 PM.