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.
Firstly, I am running Slackware 14.1 x64. I have a open-wrt router (LibraryBox) that I'm trying to reset the root password on. I have successfully set a static IP using wicd and booted the router into failsafe mode. But when I go to telnet into the router it says:
"telnet: connect to address 192.168.1.1: No route to host."
Why is this and how to I fix it? If this is wrong forum please tell me which door to use.
Also, the reason why I need to reset the root pass is I set it using a copied password from KeepassX but when I've then logged out and tried to log back in it doesn't work.
Last edited by inflatable; 08-29-2015 at 04:49 AM.
Reason: Added reason for wanting to reset password.
I've done this many times, and I guess you've basically done the right things, but in the wrong order: wicd probably tried to be "helpful" by resetting your Slackware box's interface when it saw the link to eth0 go down. You can reboot the router to failsafe mode first, then set the static IP on your Slackware box, then telnet from the Slackware box to the router. But to be certain of success, it is probably better to stop all the wicd processes completely before you set the static IP manually (use ifconfig, not wicd, obviously).
(... and AFAICT NetworkManager is even more "helpful" than wicd when we don't want to be "helped"...)
I've done this many times, and I guess you've basically done the right things, but in the wrong order: wicd probably tried to be "helpful" by resetting your Slackware box's interface when it saw the link to eth0 go down. You can reboot the router to failsafe mode first, then set the static IP on your Slackware box, then telnet from the Slackware box to the router. But to be certain of success, it is probably better to stop all the wicd processes completely before you set the static IP manually (use ifconfig, not wicd, obviously).
(... and AFAICT NetworkManager is even more "helpful" than wicd when we don't want to be "helped"...)
Thanks 55020,
How do I go about setting this up? I've now tried to do it this way:
Code:
/etc/rc.d/rc.wicd stop
ifconfig eth0 down
-boot router into failsafe-
ifconfig eth0 192.168.1.2
telnet 192.168.1.1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.