Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network Down after Gnome
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
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Sat Nov 16, 2002 3:43 pm    Post subject: Network Down after Gnome Reply with quote

On first boot after installing Gentoo my network was coming up and "ifconfig" showed my Ethernet Adapter but it wasn't connecting. So, after messing with some network settings and IP's and a reboot it began to work. I installed Gnome and then did another reboot because xf86config wouldn't start. Then on reboot and everytime I boot I get:

Code:

* Bringing eth0 up...                                             [ok]
*     setting default gateway...
SIOCADDRT: Network is unreachable
* Failed to bring eth0 up                                       [!!]
* Bringing eth0 down...
*    waiting for dhcpcd to shutdown.... done            [ok]
*ERROR: Problem starting services.
*    "netmount" was not started


and when I do an "ifconfig" The ethernet adapter isn't showing up anymore.

So i tried an "ifconfig eth0" and then it shows up but it is connected at like 1.6kbs and I can't emerge anything because it says "failed: host not found"
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Sat Nov 16, 2002 5:41 pm    Post subject: Reply with quote

anyone??
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 16, 2002 5:49 pm    Post subject: Reply with quote

It has only been 2 hrs. Generally speaking, it is polite to wait about 24hrs before reposting.

Seems strange. Are you certain that you had a working connection prior to this? What is in your /etc/conf.d/net, /etc/hostname and /etc/hosts files?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Sat Nov 16, 2002 6:15 pm    Post subject: Reply with quote

kanuslupus wrote:
It has only been 2 hrs. Generally speaking, it is polite to wait about 24hrs before reposting.

Sorry...Spent all week getting gentoo up. Just anxious :D

Quote:
Seems strange. Are you certain that you had a working connection prior to this? What is in your /etc/conf.d/net, /etc/hostname and /etc/hosts files?

Yah I had a connection... I couldn't have emerged Gnome had I not.
I have made all the things in /etc/conf.d/net correct.
/etc/hostname I dont know what to put in there because I am on a network and its all dynamic.
/etc/hosts... again I wasn't sure what exactly to put in there. Its all dynamic
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 16, 2002 6:38 pm    Post subject: Reply with quote

neo529 wrote:
/etc/hostname I dont know what to put in there because I am on a network and its all dynamic.
/etc/hosts... again I wasn't sure what exactly to put in there. Its all dynamic
What do you mean by dynamic? For hostname, you should be able to use a simple name. I've put just pc1 in it, nothing else. /etc/hosts would then look like:
Code:
127.0.0.1       localhost       pc1

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Sat Nov 16, 2002 6:45 pm    Post subject: Reply with quote

I mean all of my network settings are dhcp
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sun Nov 17, 2002 2:53 am    Post subject: Reply with quote

You still need /etc/hostname and /etc/hosts.

echo "yourmachine.yourdomain.net" > /etc/hostname
cat << EOF >> /etc/hosts
yourmachine.yourdomain.net 127.0.0.1
localhost 127.0.0.1
EOF

/etc/init.d/hostname restart
/etc/init.d/net.eth0 restart
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