Results 1 to 10 of 10
Thread: Ubuntu: ppp & pap-secrets
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
10-07-2005 #1Linux Newbie
- Join Date
- May 2005
- Posts
- 127
Ubuntu: ppp & pap-secrets
When trying to connect via modem using pppd in Ubuntu I get the following error:
This works fine in Mandriva, I've noticed Ubuntu makes the pap-secrets file much more complicated than it has to be, so I'm suspecting something is wrong there. I've configured things exactly as I did on my Mandriva system, so I'm not sure why Ubuntu can't authenticate.Code:pppd: The remote system is required to authenticate itself pppd: but I couldn't find any suitable secret (password) for it to use to do so.
-
10-07-2005 #2Just Joined!
- Join Date
- Jul 2005
- Posts
- 19
edit config file
Hi,
I suspect your /etc/ppp/options file contains the line 'auth'
edit that to read 'noauth' and see what happens.
Regards.
-
10-07-2005 #3Linux Newbie
- Join Date
- May 2005
- Posts
- 127
Thanks, it looks like that tip helped me get passed that error. Still can't connect to the internet for some reason though; here's the output from ppp.
Any ideas?Code:username@localhost:~$ pppd call mymodem Serial connection established. using channel 5 Using interface ppp0 Connect: ppp0 <--> /dev/modem sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6a29c9ea> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6a29c9ea> <pcomp> <accomp>] rcvd [LCP ConfReq id=0xa <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0> <pcomp> <accomp>] sent [LCP ConfAck id=0xa <mru 1600> <auth pap> <magic 0x5fb8dec7> <asyncmap 0x0> <pcomp> <accomp>] sent [LCP EchoReq id=0x0 magic=0x6a29c9ea] sent [PAP AuthReq id=0x1 user="guest" password="*"] rcvd [LCP EchoRep id=0x0 magic=0x6a29c9ea] appear to have received our own echo-reply! rcvd [PAP AuthAck id=0x1 "TTP Com PPP - Password Verified OK"] Remote message: TTP Com PPP - Password Verified OK PAP authentication succeeded sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f 32] Protocol-Reject for 'Compression Control Protocol' (0x80fd) received rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfReq id=0x5 <addr 10.0.0.1>] sent [IPCP ConfAck id=0x5 <addr 10.0.0.1>] rcvd [IPCP ConfNak id=0x2 <addr 10.64.77.193> <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] sent [IPCP ConfReq id=0x3 <addr 10.64.77.193> <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] sent [IPCP ConfReq id=0x4 <addr 10.64.77.193> <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] sent [IPCP ConfReq id=0x5 <addr 10.64.77.193> <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] rcvd [IPCP ConfAck id=0x5 <addr 10.64.77.193> <ms-dns1 10.250.1.10> <ms-dns3 10.250.1.11>] not replacing default route to eth0 [192.168.0.1] Cannot determine ethernet address for proxy ARP local IP address 10.64.77.193 remote IP address 10.0.0.1 primary DNS address 10.250.1.10 secondary DNS address 10.250.1.11 Script /etc/ppp/ip-up started (pid 8156) Script /etc/ppp/ip-up finished (pid 8156), status = 0x0 appear to have received our own echo-reply!
Thanks
-
10-08-2005 #4Linux Newbie
- Join Date
- May 2005
- Posts
- 127
Now it will let me connect with pretty much the same output as in my last post. However I can only stay connected for about two minutes at most. I think it has something to do with that echo reply error. I think there are also a few other issues presented in that output (not sure if they're all related or not) such as the protocol rejected statement.
Any ideas?
-
10-08-2005 #5Just Joined!
- Join Date
- Jul 2005
- Posts
- 19
Another method?
Hi again,
Not having had that problem before I can't call upon past experience.
I have tried both kppp & pppconfig to get my dial-up working in Sarge so I might be able to help if you wish to try those.
Regards.
-
10-08-2005 #6Linux Newbie
- Join Date
- May 2005
- Posts
- 127
Unfortunately, I only have the option of using ppp / pppd as to ensure compatibility with other components. This is the output that occurs after the last output I posted but right before the modem disconnects.
Code:appear to have received our own echo-reply! appear to have received our own echo-reply! No response to 4 echo-requests Serial link appears to be disconnected. Connect time 2.0 minutes. Sent 64995 bytes, received 358101 bytes. Script /etc/ppp/ip-down started (pid 9205) sent [LCP TermReq id=0x2 "Peer not responding"] rcvd [LCP TermAck id=0x2] Connection terminated. Waiting for 1 child processes... script /etc/ppp/ip-down, pid 9205 Script /etc/ppp/ip-down finished (pid 9205), status = 0x0
-
10-08-2005 #7Linux Newbie
- Join Date
- May 2005
- Posts
- 127
Perhaps this ifconfig information would be relivant?
It appears someone else has run into this issue and found a fix, I'm not exactly sure what they did though:Code:username@localhost:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:03:25:13:54:DD inet6 addr: fe80::203:25ff:fe13:54dd/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:23 Base address:0x1800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1461 errors:0 dropped:0 overruns:0 frame:0 TX packets:1461 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:132160 (129.0 KiB) TX bytes:132160 (129.0 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:10.104.203.94 P-t-P:10.0.0.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:96 (96.0 b) TX bytes:141 (141.0 b)
http://www.linuxquestions.org/questi...hreadid=341151
-
10-08-2005 #8Linux Newbie
- Join Date
- May 2005
- Posts
- 127
Here's some additional information:
Code:username@localhost:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 ppp0
-
12-01-2006 #9Not sure if info would still be useful but I've had same issue on my GPRS connection and was able to fix it by adding to /etc/peers/gprs file these two options:Now it will let me connect with pretty much the same output as in my last post. However I can only stay connected for about two minutes at most.
So I think it doesn't harm to try if it outCode:lcp-echo-interval 0 lcp-echo-failure 0
-
02-05-2007 #10Just Joined!
- Join Date
- Feb 2007
- Posts
- 1
Adding those options fixed the problem for me.


Reply With Quote