On 22 August 2011 22:02, Camaleón <noela...@gmail.com> wrote: > On Mon, 22 Aug 2011 10:27:57 +1000, Heddle Weaver wrote: > > > On 21 August 2011 21:20, Camaleón <noela...@gmail.com> wrote: > >> But do you really need it? I mean, does your ISP require you to use a > >> PPP connection with your router? I also use a DSL connection and don't > >> need PPP for nothing. > >> > >> > > No I don't. > > I need pppd of course, but not ppp. > And here's a second sample to show how some things seem to move around:
Second sample: weaver@Bandit:~$ su Password: Bandit:/home/weaver# plog Aug 24 11:35:00 Bandit pppd[22604]: Serial link appears to be disconnected. Aug 24 11:35:00 Bandit pppd[22604]: Connect time 3.0 minutes. Aug 24 11:35:00 Bandit pppd[22604]: Sent 182 bytes, received 3875 bytes. Aug 24 11:35:06 Bandit pppd[19295]: Connection terminated. Aug 24 11:35:06 Bandit pppd[19295]: Modem hangup Aug 24 11:35:06 Bandit pppd[22604]: Connection terminated. Aug 24 11:35:06 Bandit pppd[22604]: Modem hangup Bandit:/home/weaver# Bandit:/home/weaver# ifconfig ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.81 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:54 (54.0 B) TX bytes:210 (210.0 B) Bandit:/home/weaver# /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:15:60:c2:63:46 inet6 addr: fe80::215:60ff:fec2:6346/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1573 errors:0 dropped:119 overruns:0 frame:0 TX packets:1796 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:150412 (146.8 KiB) TX bytes:131579 (128.4 KiB) Interrupt:16 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:529 errors:0 dropped:0 overruns:0 frame:0 TX packets:529 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:31314 (30.5 KiB) TX bytes:31314 (30.5 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.81 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:54 (54.0 B) TX bytes:210 (210.0 B) ppp1 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.81 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:114 (114.0 B) TX bytes:314 (314.0 B) ppp2 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.72 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 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:106 (106.0 B) ppp3 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.36 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:37 errors:0 dropped:0 overruns:0 frame:0 TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:11616 (11.3 KiB) TX bytes:4172 (4.0 KiB) ppp4 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.36 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1197 (1.1 KiB) TX bytes:586 (586.0 B) ppp5 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.173 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:181 (181.0 B) TX bytes:54 (54.0 B) ppp6 Link encap:Point-to-Point Protocol inet addr:110.174.203.247 P-t-P:10.20.21.173 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:71 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:294 (294.0 B) TX bytes:4118 (4.0 KiB) Bandit:/home/weaver# /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp2 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp1 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp6 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp3 10.20.21.36 0.0.0.0 255.255.255.255 UH 0 0 0 ppp3 10.20.21.72 0.0.0.0 255.255.255.255 UH 0 0 0 ppp2 10.20.21.81 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.20.21.81 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 10.20.21.173 0.0.0.0 255.255.255.255 UH 0 0 0 ppp6 Bandit:/home/weaver# And that's it. As you can see, the variation is in the 'plog' readout that says: 'serial link appears to be disconnected'. If anyone can cast some light, I'd be grateful. Regards, Weaver. -- Religion is regarded by the common people as true, by the wise as false, and by the rulers as useful. — Lucius Annæus Seneca. Terrorism, the new religion.