View previous topic :: View next topic |
Author |
Message |
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Sat Nov 16, 2002 3:43 pm Post subject: Network Down after Gnome |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Sat Nov 16, 2002 5:41 pm Post subject: |
|
|
anyone?? _________________ Gentoo isn't just an OS... It's a state of mind. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Nov 16, 2002 5:49 pm Post subject: |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Sat Nov 16, 2002 6:15 pm Post subject: |
|
|
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
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Nov 16, 2002 6:38 pm Post subject: |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Sat Nov 16, 2002 6:45 pm Post subject: |
|
|
I mean all of my network settings are dhcp _________________ Gentoo isn't just an OS... It's a state of mind. |
|
Back to top |
|
|
zhenlin Veteran
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Sun Nov 17, 2002 2:53 am Post subject: |
|
|
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 |
|
|
|