View previous topic :: View next topic |
Author |
Message |
opiu n00b
Joined: 03 Apr 2004 Posts: 56
|
Posted: Sat Jun 02, 2007 3:08 pm Post subject: ADSL can't connect |
|
|
Hi, I've followed the gentoo docs to have the network working, but I cannot access the internet. With rc-status I have the eth0 service always in starting. and if I ping an host, I get "unknown host". With ifconfig, no ipaddress is assigned to my eth0. I connect to the internet using a dial-up adsl connection. I have only ppp installed. Here my config,as in docs:
config_eth0=( null )
config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=( "pppoe" )
username_ppp0='user'
password_ppp0='password'
pppd_ppp0=(
"noauth"
"defaultroute"
"usepeerdns"
"holdoff 3"
"child-timeout 60"
"lcp-echo-interval 15"
"lcp-echo-failure 3"
noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
)
depend_ppp0() {
need net.eth0
}
thansk, Alessandro |
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sat Jun 02, 2007 5:15 pm Post subject: |
|
|
Please be more specific whether you can get connected or not, i.e.
what does /etc/init.d/net.ppp0 restart say? |
|
Back to top |
|
|
opiu n00b
Joined: 03 Apr 2004 Posts: 56
|
Posted: Sun Jun 03, 2007 4:52 am Post subject: |
|
|
Thanks for reply... It just says that eth0 must be started in order to start too. And if I give rc-status I can see that eth0 in in "starting" status |
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sun Jun 03, 2007 10:20 am Post subject: |
|
|
What modem do you have? Is the module loaded?
Try lsmod and post any messages from dmesg or /var/log/messages if there are any
Also: this line config_eth0=(null) should be like: config_eth0=("null").
You followed this howto, right? |
|
Back to top |
|
|
opiu n00b
Joined: 03 Apr 2004 Posts: 56
|
Posted: Tue Jun 05, 2007 3:29 pm Post subject: |
|
|
Hi, as soon as I get my laptop, I will post the messages from lsmod and dmesg.
I'm not following the how-to you advised, because rp-pppoe is deprecated. Btw I'll start from there and links...
Thanks so far... I will get back in some days
Alessandro |
|
Back to top |
|
|
|