LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Networking issues in Slackware (https://www.linuxquestions.org/questions/linux-networking-3/networking-issues-in-slackware-483247/)

CheeseMonger 09-13-2006 05:05 PM

Networking issues in Slackware
 
Hello,

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?:confused:

thanks much,
CheeseMonger
:newbie:

davimint 09-13-2006 09:33 PM

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...

bonowax 09-14-2006 03:38 AM

Hi there;

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.

Cheers

CheeseMonger 09-15-2006 06:18 PM

Thanks
 
Ill try that and let you guys know, thanks!

CheeseMonger


All times are GMT -5. The time now is 04:21 PM.