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.
here's the problem, I turn my cable modem off or am switching network cables arround and I forget to plug them back in before i boot slackware with KDE. It loads and i rember that i need to plug in the networking cable or turn on the cable modem however Slackware doesn't reconigize that i've pluged the network cable back in and the internet doesn't work. however after i reboot the compy it reconizes the cable and lets me connect to the internet. Is this fixable with out rebooting the computer or do i have to reboot it every time?
Although I'm in this forum for another problem and am also a newbie this may help.
inetd network stop # this should stop your network
inetd network start # will start the network
You will need to know what nic your pluged into. You can use "lspci -v" to compare the IRQ info against the output of "dmesg | grep eth"
"ifconfig eth1 up" or "ifconfig eth1 down" may be useful depending on what's not working. Also, dont forget about "dhcpcd eth1 start" to get the client working so the system can have an address. Maybe this helps...
The problem you describe happens, most likely, due to DHCP client timeout. During bootup, your slack box will try to obtain a DHCP lease from your cable modem, which will fail since the modem is disconnected. The DHCP client then exits without initializing the network interface.
I believe executing "/etc/rc.d/rc.inet1 restart", after plugging the modem, will reinitialize your network interface and things should start pumping.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.