LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   "Connect: Network is unreachable" (https://www.linuxquestions.org/questions/linux-networking-3/connect-network-is-unreachable-555302/)

Taleya 05-20-2007 01:47 AM

"Connect: Network is unreachable"
 
Heyas

Just had this problem crop up after a system rebuild: I've set the NIC to 192.168.0.16 (Just running an internal network atm, no internet access) with the subnet matching the rest of the LAN (Fixed IP) However, it's decided to play funny buggers with me and every time I try to so much as ping a local machine (192.168.0.1 - no, it's not the DHCP server, just happens to be the IP of my main machine) it comes up with:

"Connect: Network is unreachable"

Running slackware 10.2. The NIC works, I know that for a fact, and I've checked the RJ, the switch, and inetd, which has the correct data coded in it.

Any ideas? Yup, I'm a n00b....

(Yes, loopback works. Confirmation it's not the nic)


EDIT: Crap. Eth0 doesn't exist (No such device). There's the problem, now I just need to get it to detect the card...

Brian1 05-20-2007 10:05 AM

I would look at the working distro and look at the loaded modules. /sbin/lsmod
One of the modules listed should be for the nic.
Here is where you would need to know what card you have. /sbin/lspci -v
From that info you should be able to use Google search engine to see what modules it uses based on model and version.
It might be loaded from the /etc/modprobe.conf or /etc/modules.conf file depending on the distro and kernel. See if one aliases eth0.
If there then you can use the command /sbin/modprobe and name of the module to load it. Hopefully it is in the kernel.
Also check out the HCL section here at the top and to the right of this page. You can get lots of hardware info from there.

Brian


All times are GMT -5. The time now is 03:02 AM.