Click to See Complete Forum and Search --> : RH9 D-Link DI-604 and no network connection


n0bility
12-05-2003, 02:06 AM
I am a complete newbie to all of this and I hope everyone will be patient with my lack of knowledge.

I have dabbled a little in UNIX at work (mostly ALPHA Machines) and some Linux in school (earlier version of RH). I am trying to setup a webserver with RH9 and I have it connected to my network at home (4 XP boxes connected to a D-Link DI-604 router). No matter what I do, it seems as though I can not connect to my network. I have forced the IP, I have tried DHCP but my router does not see the RH9 webserver. I have been looking all over the internet. I have tried 3 different NIC cards and a plethora of cables.

I have talked to a few people at work who have had no trouble hooking their linux box into a windows network........I am a little frustrated by this whole thing.

Please tell me what I should post up to get some help regarding this issue and I will do it. I just want to get this thing on the network and from there I think I can hack through the rest....although I am sure you will see my name up here more than once.

Thanks in advance for anyone willing to take this task on. I appreciate the help.:( :( :(

posterboy
12-05-2003, 07:15 AM
Maybe a little more information? That's a 4 port router, and you have 4 XP boxes. Are you unplugging an XP box, and plugging in there, or trying 2 eth cards? How does your ISP provision you, DHCP? If you force the linux box into a private addy, (192.168.something), can you ping the router? Other boxes? the gateway? This really IS a piece of cake, usually just give the linux box an addy, plug it into the router, and it's all over. Something else is happening, that we have to home in on. Your netmask? Is the D-Link set to provide DHCP to others?

cowanrl
12-05-2003, 10:17 AM
One of the first things to check is the setting in your computer's BIOS for Plun and Play OS. It should be set to no.
I installed RH9 on a machine the other day and it also wouldn't communicate over the network. RH recoginzed the card, loaded the driver and I assigned it a static IP. However, no communications. As soon as I changed the BIOS setting to no, it worked.

If that doesn't fix the problem, then execute as root:

mii-tool

It should reply with something like this:

eth0: negotiated 100baseTx-FD flow-control, link ok

indicating the speed it's connected at and that there is a physical link.

If it returns an error, it's possible you have some kind of a physical problem(NIC, cable or port on the hub/switch) or the module for your NIC isn't loading properly.

You can execute:

/sbin/lsmod

to list the modules loaded on your system. I'm not sure what module your NIC should use but sometimes you can tell just by looking at the name. If you're not sure, post the output of the command here for someone to look at.

If the mii-tool command shows link ok, then execute:

/sbin/ifconfig

This should return information such as the IP address, netmask and some statistics about the NIC.

You can post the output of this command here for us to look at if you're not sure what you are looking at.

If all of these things check out OK, then your RH machine is probably configured and working properly. It's time to look outside the box.

n0bility
12-05-2003, 11:28 AM
Hey gents,

Thanks for the replies.

So the way I am setting it up posterboy is this......I have one DSL modem plugged into an 8 port switch (I have two IPs, and they are static), my router is plugged into the switch. The router has 4 ports and one of the ports is used to connect to another 24 port switch (LAN party switch). So I can have a ton of computers connected and have access to the internet at the same time. So I currently have 4 XP boxes and 1 Linux box connected.

My router is set to issue IPs with DHCP. The subnet is 129.29.1.0 and the mask is 255.255.255.0. I can not ping anything besides itself. I have tried 3 different network cards and different cables.

I think I will try your suggestion cowanrl. If you have seen similiar problems than I can give that a try. I will let you know how it goes.....

If anyone else has suggestions, that would be fantastic.....:) :) :)

n0bility
12-06-2003, 02:49 AM
Well I went into the BIOS only to discover that the PNP OS was turned off. So I powered the comp down and moved the NIC to another PCI slot. I made sure to remove the device before shutting down.

When I started back up, I made sure to configure the IP for the NIC card when it asked in the boot sequence. So now I can ping the network and I can I can ping past my router. Thanks for everyones help. It's good to know that there are people willing to lend a hand.

Cheers.