From: ANTant on
Hello!

I am trying to get my dial-up Internet connection working since I
currently do not have broadband service (used to). I am using KDE
v3.3.1's KPPP to set up my dial-up Internet connection with
EarthLink (ELN) in Debian v3.1 (sort of outdated by a few weeks).

I am a newbie to Linux, so I might be missing or overlooking
something. DNS is automatic since I want ELN to provide the
information automatically. I can connect, but I cannot get
anywhere on the Internet.

/etc/resolv.conf seems to be updating correctly with domain
earthlink.net and nameservers (207.69.188.187 and 207.69.188.186)
when I am online.

ANTian-AXP:/home/ant# kppp
Link points to "/tmp/ksocket-root"
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Link points to "/tmp/kde-root"
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
KWrited - Listening on Device /dev/pts/2
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
Kernel supports ppp alright.
In parent: pppd pid 3008
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
Opener: received OpenResolv
Opener: received RemoveSecret
Opener: received RemoveSecret

--

In another terminal window to test dial-up network basics like pings:

ant(a)ANTian-AXP ~ =) $ ping yahoo.com

ant(a)ANTian-AXP ~ =( $ ping 66.94.234.13
PING 66.94.234.13 (66.94.234.13) 56(84) bytes of data.
From 192.168.0.220 icmp_seq=3 Destination Host Unreachable

--- 66.94.234.13 ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3010ms

ant(a)ANTian-AXP ~ =( $ /usr/sbin/traceroute 66.94.234.13
traceroute to 66.94.234.13 (66.94.234.13), 30 hops max, 38 byte packets
1 ANTian-AXP (192.168.0.220) 1197.002 ms !H 2998.650 ms !H 2999.208 ms !H

ant(a)ANTian-AXP ~ =) $ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:B7:85:0A:3F
inet addr:192.168.0.220 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:b7ff:fe85:a3f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:15929 (15.5 KiB)

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:468 errors:0 dropped:0 overruns:0 frame:0
TX packets:468 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35140 (34.3 KiB) TX bytes:35140 (34.3 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:4.232.180.137 P-t-P:209.247.5.129 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:14 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:494 (494.0 b) TX bytes:87 (87.0 b)

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.31.1 Bcast:172.16.31.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

--

/var/log/messages showed:
Feb 1 00:46:36 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Feb 1 00:46:36 localhost kernel: PPP generic driver version 2.4.2
Feb 1 00:46:36 localhost pppd[3008]: pppd 2.4.2 started by root, uid 0
Feb 1 00:46:36 localhost pppd[3008]: Using interface ppp0
Feb 1 00:46:36 localhost pppd[3008]: Connect: ppp0 <--> /dev/ttyS1
Feb 1 00:46:37 localhost pppd[3008]: PAP authentication succeeded
Feb 1 00:46:37 localhost kernel: PPP BSD Compression module registered
Feb 1 00:46:37 localhost kernel: PPP Deflate Compression module registered
Feb 1 00:46:37 localhost pppd[3008]: local IP address 4.232.180.137
Feb 1 00:46:37 localhost pppd[3008]: remote IP address 209.247.5.129
Feb 1 00:46:37 localhost pppd[3008]: primary DNS address 207.69.188.187
Feb 1 00:46:37 localhost pppd[3008]: secondary DNS address 207.69.188.186

<< I made KPPP disconnect since my Internet connection wasn't working. >>

Feb 1 00:50:34 localhost pppd[3008]: Terminating on signal 15.
Feb 1 00:50:34 localhost pppd[3008]: Connect time 4.0 minutes.
Feb 1 00:50:34 localhost pppd[3008]: Sent 0 bytes, received 664 bytes.
Feb 1 00:50:35 localhost pppd[3008]: Connection terminated.
Feb 1 00:50:35 localhost pppd[3008]: Exit.

Am I doing this all wrong? Thank you in advance. :)
--
"An anthill increases by accumulation. / Medicine is consumed by distribution. / That which is
feared lessens by association. / This is the thing to understand." --Siddha Nagarjuna
/\___/\
/ /\ /\ \ Ant @ The Ant Farm: http://antfarm.ma.cx
| |o o| | Ant's Quality Foraged Links: http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
From: Andreas Janssen on
Hello

ANTant(a)zimage.com (<ANTant(a)zimage.com>) wrote:

> I am trying to get my dial-up Internet connection working since I
> currently do not have broadband service (used to). I am using KDE
> v3.3.1's KPPP to set up my dial-up Internet connection with
> EarthLink (ELN) in Debian v3.1 (sort of outdated by a few weeks).
>
> [...]
>
> /etc/resolv.conf seems to be updating correctly with domain
> earthlink.net and nameservers (207.69.188.187 and 207.69.188.186)
> when I am online.
>
> [...]
>
> In another terminal window to test dial-up network basics like pings:
>
> ant(a)ANTian-AXP ~ =) $ ping yahoo.com
>
> ant(a)ANTian-AXP ~ =( $ ping 66.94.234.13
> PING 66.94.234.13 (66.94.234.13) 56(84) bytes of data.
> From 192.168.0.220 icmp_seq=3 Destination Host Unreachable

This looks to me like the default route is set to the device with the IP
192.168.0.220 (your eth0). Please check the output of route to verify.
If you don't use eth0 to access the internet, you can either change
your routing for eth0 manually (/etc/network/interfaces, remove the
hateway line and add "up /sbin/route whateveryouneed"), or you can set
the option "replacedefaultroute" in /etc/ppp/options. This solution
will change the default route to the ppp0 device when if comes up, and
go back to the previous settings when you disconnect.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen(a)bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
From: Pat_Tongco on
On 2005-02-01, ANTant(a)zimage.com <ANTant(a)zimage.com> wrote:
> Hello!
> <snip>

Hi

Try to connect again, then type:
# route -n

That would suppose to give you like:
209.247.5.129 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 209.247.5.129 0.0.0.0 UG 0 0 0 ppp0

Else, you could add a route manually
e.g.
# man route
# route add -net 0.0.0.0 netmask 0.0.0.0 gw <gateway-addr> ppp0


--
- Pat Tongco
2.6.10-ck5.012105
From: ANTant on
> > I am trying to get my dial-up Internet connection working since I
> > currently do not have broadband service (used to). I am using KDE
> > v3.3.1's KPPP to set up my dial-up Internet connection with
> > EarthLink (ELN) in Debian v3.1 (sort of outdated by a few weeks).
> >
> > [...]
> >
> > /etc/resolv.conf seems to be updating correctly with domain
> > earthlink.net and nameservers (207.69.188.187 and 207.69.188.186)
> > when I am online.
> >
> > [...]
> >
> > In another terminal window to test dial-up network basics like pings:
> >
> > ant(a)ANTian-AXP ~ =) $ ping yahoo.com
> >
> > ant(a)ANTian-AXP ~ =( $ ping 66.94.234.13
> > PING 66.94.234.13 (66.94.234.13) 56(84) bytes of data.
> > From 192.168.0.220 icmp_seq=3 Destination Host Unreachable

> This looks to me like the default route is set to the device with the IP
> 192.168.0.220 (your eth0). Please check the output of route to verify.

How do I check that route?


> If you don't use eth0 to access the internet, you can either change

I only use eth0 for my tiny LAN. I would like to keep that IP address so
I don't have to keep figuring out what IP address I am. I use an old
Netgear DS108 hub for LAN.


> your routing for eth0 manually (/etc/network/interfaces, remove the
> gateway line and add "up /sbin/route whateveryouneed"), or you can set
> the option "replacedefaultroute" in /etc/ppp/options. This solution
> will change the default route to the ppp0 device when if comes up, and
> go back to the previous settings when you disconnect.

OK, I will try this. I do not want to lose 192.168.0.220 IP. I don't
mind losing it when I am online. I wonder if there is a way to keep both
like in Windows?
--
"An anthill increases by accumulation. / Medicine is consumed by distribution. / That which is
feared lessens by association. / This is the thing to understand." --Siddha Nagarjuna
/\___/\
/ /\ /\ \ Ant @ The Ant Farm: http://antfarm.ma.cx
| |o o| | Ant's Quality Foraged Links: http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
From: Tauno Voipio on
ANTant(a)zimage.com wrote:
> Hello!
>
> I am trying to get my dial-up Internet connection working since I
> currently do not have broadband service (used to). I am using KDE
> v3.3.1's KPPP to set up my dial-up Internet connection with
> EarthLink (ELN) in Debian v3.1 (sort of outdated by a few weeks).
>
> I am a newbie to Linux, so I might be missing or overlooking
> something. DNS is automatic since I want ELN to provide the
> information automatically. I can connect, but I cannot get
> anywhere on the Internet.
>
> /etc/resolv.conf seems to be updating correctly with domain
> earthlink.net and nameservers (207.69.188.187 and 207.69.188.186)
> when I am online.
>
-----

>
> In another terminal window to test dial-up network basics like pings:
>
> ant(a)ANTian-AXP ~ =) $ ping yahoo.com
>
> ant(a)ANTian-AXP ~ =( $ ping 66.94.234.13
> PING 66.94.234.13 (66.94.234.13) 56(84) bytes of data.
> From 192.168.0.220 icmp_seq=3 Destination Host Unreachable
>
> --- 66.94.234.13 ping statistics ---
> 4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3010ms
>
> ant(a)ANTian-AXP ~ =( $ /usr/sbin/traceroute 66.94.234.13
> traceroute to 66.94.234.13 (66.94.234.13), 30 hops max, 38 byte packets
> 1 ANTian-AXP (192.168.0.220) 1197.002 ms !H 2998.650 ms !H 2999.208 ms !H
>
> ant(a)ANTian-AXP ~ =) $ /sbin/ifconfig
> eth0 Link encap:Ethernet HWaddr 00:D0:B7:85:0A:3F
> inet addr:192.168.0.220 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::2d0:b7ff:fe85:a3f/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:15929 (15.5 KiB)
>
-----
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:4.232.180.137 P-t-P:209.247.5.129 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:14 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:494 (494.0 b) TX bytes:87 (87.0 b)
>

It seems that you have the PPP up and running, but your traffic is
still attempting to flow via eth0.

Please show the results of

route -n

I guess that your default route does not point to ppp0 as it should.

You can try after PPP is up again:

route del default
route add default gw 209.247.5.129

--

Tauno Voipio
tauno voipio (at) iki fi