Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Borked network settings.
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
Marshall
n00b
n00b


Joined: 28 Oct 2002
Posts: 9
Location: Wellington, NZ

PostPosted: Wed Nov 27, 2002 6:54 am    Post subject: Borked network settings. Reply with quote

Help. I did emerge -u world and obviously wasn't paying enough attention to the settings i was adjusting in etc-update and now my network settings are out the window.

hosts.conf, hostname and resolv.conf all have the correct info although I did have to change hosts.conf to have 192.168.1.3 <hostname>.<domain> instead of 192.168.1.3 <hostname>

other than that I got no error message on reboot apart from:
failed to setlogsock() on this platform; reporting logs to stderr
when starting spamd and:
Failed to bind port 10000 : Cannot assign requested address at /usr/libexec/webmin/miniserv.pl line 318.
when starting webmin

if i run ifconfig i get the ip address as being 192.168.0.2 instead of 192.168.1.3 which dhcpd should usually set it to. (dns server gives it a static ip). trying to manually change this to the correct ip address doesn't seem to help matters as pinging anywhere gives me:
sendTo: Network is unreachable

what else should I look at?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Nov 27, 2002 8:11 am    Post subject: borked network Reply with quote

sounds like your /etc/conf.d/net file was overwritten since 192.168.0.2 is the default IP address in an unedited file. it also contains the default gateway at the bottom. Edit this file and reboot.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Marshall
n00b
n00b


Joined: 28 Oct 2002
Posts: 9
Location: Wellington, NZ

PostPosted: Wed Nov 27, 2002 8:17 am    Post subject: Reply with quote

sweet.

cheers for that.

/me bows down
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