Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ADSL can't connect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
opiu
n00b
n00b


Joined: 03 Apr 2004
Posts: 56

PostPosted: Sat Jun 02, 2007 3:08 pm    Post subject: ADSL can't connect Reply with quote

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
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Sat Jun 02, 2007 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
opiu
n00b
n00b


Joined: 03 Apr 2004
Posts: 56

PostPosted: Sun Jun 03, 2007 4:52 am    Post subject: Reply with quote

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
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Sun Jun 03, 2007 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
opiu
n00b
n00b


Joined: 03 Apr 2004
Posts: 56

PostPosted: Tue Jun 05, 2007 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum