Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help reconfiguring eth0
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
kackler
n00b
n00b


Joined: 25 Aug 2004
Posts: 8

PostPosted: Fri Dec 31, 2004 6:58 am    Post subject: Help reconfiguring eth0 Reply with quote

I was messing around with Webmin and set my nic to have a static IP, I was also messing around with BIND and setting up DHCP. I shutdown to remove my second nic, now I can't access the Internet. I keep getting connection refused messages, even when trying to start Webmin.
Back to top
View user's profile Send private message
DarKRaveR
Guru
Guru


Joined: 11 Oct 2003
Posts: 500
Location: Old Europe/G-Many

PostPosted: Fri Dec 31, 2004 7:05 am    Post subject: Reply with quote

Well, maybe it would help to tell us:

How were you connected before you started messing around?

Outputs from tools like ifconfig etc. might help aswell ....
Back to top
View user's profile Send private message
shagrat
Apprentice
Apprentice


Joined: 10 Mar 2003
Posts: 219
Location: Norway

PostPosted: Fri Dec 31, 2004 1:53 pm    Post subject: Reply with quote

If you get you ip adress atomagically through dhcp, your /etc/conf.d/net should be something like this:

Code:

iface_eth0="dhcp"
Back to top
View user's profile Send private message
kackler
n00b
n00b


Joined: 25 Aug 2004
Posts: 8

PostPosted: Fri Dec 31, 2004 2:08 pm    Post subject: Reply with quote

I figured it out. I just ran:
dhcpcd eth0.
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