SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Yes, I read it the first time. This explains that you have a problem, and have tried on thing (adding dhcpcd eth0 to rc.local) to fix it, but not why you are so convinced you need a different technology.
Although I cannot provide a solution to you,I would like to "complain" about this too.
As far as I can remember,the previous slackware didn't have this problem.I use slackware 12 right now and most of the time,I have to reboot and let the system to retrieve the IP address via DHCP again.Recently,the problem got worse because 70% of time I have to reboot it.Like others,I have issue dhcpcd eth0 again and again but no luck.The problem is ,it seems that it is "lucky" to get an IP address via DHCP server.It makes me uncomfortable.
I don't know if you guys have this problem but it has been bugging me for such a long time.
Alien_Hominid,I agree.I am quite stupid because I used to do it in Windows and it's contagious to other OS.
P.S. I know it's only a matter of triggering a program dhcpcd to regain the ip address but if it failed,I tend to reboot the system for it to do the work.It's a waste of time,definitely.
One solution which seems to work more than less is:
killall dhcpcd
ifconfig eth0 1.1.1.1
ifconfig eth0 down
fconfig eth0 up
dhcpcd eth0
Linux.tar.gz,thanks for your reply.I've followed your solution but didn't work.
I discovered that if your computer has a wireless card,it will affect the network connectivity of the Network Card.When I use my server (no wireless card),I have no failed network connection.
It's been annoying to deal with that on my notebook.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.