View previous topic :: View next topic |
Author |
Message |
switcher n00b
Joined: 16 Sep 2002 Posts: 9
|
Posted: Mon Mar 31, 2003 2:58 pm Post subject: EPIA Mini-ITX No Network After Installing |
|
|
I have completed a full Stage 1 install on an EPIA Mini-ITX with no apparent problem. Upon reboot, the network does not work. ifconfig is ok and dmesg shows no newtwork errors. I have tried via-rhine as a module, in-kernel, with and without the M10 option. After a ping, and after an external ping, the ifconfig counters increase so something seems to be working, but ping just hangs. /etc/hosts, /etc/resolve, /etc/conf.d/net are all correct. Can anyone suggest what the problem could be? |
|
Back to top |
|
|
switcher n00b
Joined: 16 Sep 2002 Posts: 9
|
Posted: Mon Mar 31, 2003 3:46 pm Post subject: continued |
|
|
No replies so far, but i discover that if I enter:
# ifconfig eth0 192.168.1.21 netmask 255.255.255.0 up
# rc-update add net.eth0 default
the network works and so does ping. Untill I reboot !!!!!!
This has to be so simple. Answers on a postcard please? |
|
Back to top |
|
|
lazarusrat Guru
Joined: 17 Jul 2002 Posts: 305 Location: Lafayette, IN
|
Posted: Mon Mar 31, 2003 5:31 pm Post subject: Re: EPIA Mini-ITX No Network After Installing |
|
|
Mike Naylor wrote: | I have completed a full Stage 1 install on an EPIA Mini-ITX with no apparent problem. Upon reboot, the network does not work. ifconfig is ok and dmesg shows no newtwork errors. I have tried via-rhine as a module, in-kernel, with and without the M10 option. After a ping, and after an external ping, the ifconfig counters increase so something seems to be working, but ping just hangs. /etc/hosts, /etc/resolve, /etc/conf.d/net are all correct. Can anyone suggest what the problem could be? |
Do you literally have /etc/resolve instead of /etc/resolv.conf or is that a typo?
You're getting the "Bringing up eth0.... [OK]" message at boot?
What does route tell you before and after the manual ifconfig and rc-update commands?
Have you checked to make sure net.eth0 is really making it into the default runlevel after that rc-update?
With all that out of the way, what Epia are you using? What's your power supply? http://linitx.org/forum/viewtopic.php?t=144&highlight=eth0 (along with a few other posts, like http://forums.viaarena.com/messageview.cfm?catid=32&threadid=34329 and http://linitx.org/forum/viewtopic.php?t=492) suggests that the network is one of the first things to go if there's not enough power, or not a good enough PSU.
The PSU would be my only Epia-specific guess at this. Although I don't know why it would not work at boot, then work after you run ifconfig and rc-update. |
|
Back to top |
|
|
dmolavi Apprentice
Joined: 24 Feb 2003 Posts: 153 Location: Washington Township, NJ
|
Posted: Mon Mar 31, 2003 5:53 pm Post subject: |
|
|
i use a mini-itx as well. i compiled the via-rhine NIC as a module and have it listed in my /etc/modules.autoload. if you need dhcp, make sure you've taken care of getting that compiled/installed. also, i found the instructions at http://www.gentoo.org/doc/en/gentoo-x86-install.xml to be exactly what i needed to get my network up and running.
make sure the resolver file is /etc/resolv.conf. |
|
Back to top |
|
|
switcher n00b
Joined: 16 Sep 2002 Posts: 9
|
Posted: Tue Apr 01, 2003 9:35 am Post subject: |
|
|
The file is indeed "/etc/resolv.conf" - lazy typing.
"Bringing up eth0.... [OK]" is displayed.
Typing "route" immediately after boot reports (after several seconds)
192.168.0.0 * 255.255.255.0 U 1 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Then I execute...
ifconfig eth0 192.168.1.21 broadcast 192.168.1.255 netmask 255.255.255.0 up
/sbin/route add -net default gw 192.168.1.1 netmask 0.0.0.0 metric 1
And route then reports (immediately)
192.168.1.0 * 255.255.255.0 U 1 0 0 eth0
default vigor.entitas.com 0.0.0.0 UG 0 0 0 eth0
Ok, so now I can spot the difference. My local net is supposed to be 192.168.1.0 and my router is 192.168.1.1 (vigor.entitas.com). The Gentoo machine is supposed to be 192.168.1.21.
Stupid me! I had entered 192.168.0.0 (not 192.168.1.0) for all the entries in /etc/conf.d/net. Stupid me!
Many thanks to lazarusrat for leading me ti this revelation and thanks to dmolavi for the information about possibly psu problems. I have chosen to compile the via-rhine in (rather than as a module). That seemed to make sense as the network hardware is built into the motherboard. |
|
Back to top |
|
|
netster n00b
Joined: 08 Sep 2002 Posts: 41 Location: germany
|
Posted: Tue Apr 01, 2003 11:36 am Post subject: Re: EPIA Mini-ITX No Network After Installing |
|
|
i got a epia with no cpu-fan, via rhine works great with it. perhaps you allready started firewalling? |
|
Back to top |
|
|
switcher n00b
Joined: 16 Sep 2002 Posts: 9
|
Posted: Tue Apr 01, 2003 1:58 pm Post subject: Re: EPIA Mini-ITX No Network After Installing |
|
|
netster wrote: | i got a epia with no cpu-fan, via rhine works great with it. perhaps you allready started firewalling? |
Maybe my English doesn't translate to German too well, but I did imply that my problem is solved. I had misconfigured /etc/conf.d/net. |
|
Back to top |
|
|
|