Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having some basic problems with my networking: I have just installed Mandrake 10 on a PIII-600 machine that was working fine in Win2K yesterday (including networking). I have not changed my network card, the configuration of the rest of the network, nor the NIC's PCI slot since it was working under Win2K.
However, I cannot get even basic networking (pinging other machines on my home LAN) to operate after I installed Linux. When I have installed Mandrake Linux before (on another machine), I had no problems with networking; indeed, it installed automatically, and I was able to access internet updates during the install process (via my ICS gateway).
I set up the machine to use DCHP (as is necessary when working with an ICS gateway (Win XP Pro)), but, on bootup, it either fails to start Eth0 at all (red [FAILED]), or, when I disabled network hotplugging, purported to work, but assigned an odd IP address (127.255.255.255), incompatible with the network which requires 192.168.0.x, and then, when I try to ping 192.168.0.1, it does not even attempt to send packets, but responds "network unreachable". It will ping localhost and 127.0.0.1 with no problems.
I am using a 3Com 3C905B-TX network card, which is correctly detected in the network configuration tool, and the appropriate drivers selected.
Does anybody have any idea what might be the problem? I have run the network configuration tool countless times with no success. Thank you in advance for any help :-)
What's the output if you type "ifconfig"? I'm guessing that it will only show "lo", not eth0, if so, try:
ifconfig eth0 192.168.0.5
(change ip to suit)
then type ifconfig again to see if it's there, if so, try pinging your gateway, if that fails, try pinging the address you assigned to eth0 and see what happens.
Actually, though, ifconfig returns information for eth0 as well as lo, stating that eth0 is using the illegal IP and subnet mask mentioned above. Trying to set the IP manually using ifconfig has no effect: it still reports it set at the same IP address and subnet mask. This might be because the ICS gateway (the XP machine) is setup to allocate addresses via DCHP, however; I also configured the Linux machine in question to receive its IP address via DCHP.
The trick seems to be to get it to recognise the correct subnet mask, and get a network-legal IP address allocated to it...
Thank you for your suggestion :-) However, I tried that, and had no success: the settings were exactly the same as before, with the bad IP addresses. I have some doubts that setting the IP address manually will work if there's a DCHP server about, anyway.
I do not know the workings of XP's ICS but your correct it could be a DHCP problem if your lease time is small or an incompatablity between linux and windows. There should be a DHCP client running on MDK, probably pump or dhclient. Kill it and then try to manually configure an IP address.
To check the status when its running:
pump -i eth0 --status
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.