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.
eth0 should use dhcp and eth1 should be using 192.168.1.1.
this is what i did.
ran netconfig ( because i dont know how to set up dhcp) to setup eth0.
then i ran 'ifconfig eth1 192.168.1.1'. this part worked , i can ping other box's on the network and even ssh into them.
when i reboot the computer ( so that i can get the address assigned to eth0). The correct NIC's light flashes, the dsl modem's transmit light flashes and then it stalls and says the following
_______
eth0: media is unconnected, link down, or incompatable connection.
dhcpcd[59]: timed out waiting for a valid DHCP server response.
________
All the equipment works, as im using it now under win98.
ive gotten this to work in redhat 7 and in freeSCO. however, i cant seem to get it to work with slackware 8 .
I would cd to /etc/sysconfig/network-scripts/ and either vi or pico ifcfg-eth0 and see what it looks like my file has only the following information in it
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
and I have no problems whatsoever getting my ip from my dhcp providor
I hope this helps
Some providers setup their DHCP to only respond if the hostname of the computer is correct. Make sure that if your provider gives you a hostname (computer name, like i get from @home, is a crXXXXX-a) that you set the hostname of the computer to that name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.