View previous topic :: View next topic |
Author |
Message |
shainer n00b

Joined: 31 Jul 2006 Posts: 7
|
Posted: Mon Jul 31, 2006 4:33 pm Post subject: adsl-start says "connected" but it doesn't work |
|
|
Hello,
I have Gentoo 2006 on my laptop Acer, with 2.6.15 kernel. I have a Speedtouch ADSL modem connected to it via an ethernet port. I run adsl-setup and I set the configuration. adsl-start says me "Connected!", but I can't ping any host.
As ifconfig shows me, the eth0, lo and ppp0 interfaces are running and there are IP addresses associated with them. The default gateway is correct (192.168.1.1) and I can ping it. DNS server in /etc/resolv.conf is 212.216.112.112 (default address for Alice).
# adsl-status
Link is down (can't read the PID file /var/run/-adsl-pid-pppoe) [or a thing similar to this]
In /var/run there is a file named ppp0.pid with a number, but I can't rename it to a string starting with an hyphen (i don't have any GUI and i must use the console)!
How can I do to make my connection work? If you need more specific information, let me know.
Thanks for any help
shainer |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Mon Jul 31, 2006 4:43 pm Post subject: |
|
|
shainer,
Your default gateway of 192.168.1.1 looks a bit odd. Your defualt gateway should be ppp0
With the link up, you should be able to ping the nameserver listed in /etc/resolv.conf.
If that fails, you have a routing problem. Please post the output of
If you wish to hide your public IP mask the first two groups of them i.e. post in the format xxx.xxx.1.1 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
shainer n00b

Joined: 31 Jul 2006 Posts: 7
|
Posted: Mon Jul 31, 2006 7:58 pm Post subject: |
|
|
# route -n
Destination Gateway ... Iface
192.168.1.1 0.0.0.0 ... ppp0
192..168.1.0 0.0.0.0 ... eth0
127.0.0.0 127.0.0.1 ... lo
0.0.0.0 192.168.1.1 ... ppp0
#
shainer |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Mon Jul 31, 2006 9:35 pm Post subject: |
|
|
shainer,
Hmm what is the IP address of eth0 and ppp0, from ifconfig ?
Were you able to ping your nameserver or not ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
shainer n00b

Joined: 31 Jul 2006 Posts: 7
|
Posted: Tue Aug 01, 2006 11:25 am Post subject: |
|
|
> Hmm what is the IP address of eth0 and ppp0, from ifconfig ?
192.168.1.4 for eth0 (with netmask 255.255.255.0)
82.7.12.32 for ppp0 (with netmask 255.255.255.255)
Were you able to ping your nameserver or not ? No, I werent
shainer |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Tue Aug 01, 2006 1:27 pm Post subject: |
|
|
shainer,
Your defualt route is incorrect.
Your route -n shows Code: | 0.0.0.0 192.168.1.1 ... ppp0 |
but is should be Code: | 0.0.0.0 82.... ppp0 | The IP of the far end of your ppp0 link.
The set up you have now, sends packets to your lan, not the internet.
You can use the route comand to delete the defualt route you have now and create the new one but it will drop out at reboot.
I don't know the permanent fix. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|