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.
i have built a 13.37 box that will be used as an "appliance" (no X.) both the system board nic and a usb wireless adapter have been configured with two different ip addresses (not sure this is necessary.) it will mostly be used with the wireless adapter. but if i have to move it to the bench, i would like the wired nic to function.
in its current config, the "default" nic is wlan0 as IFNAME[0]. eth0 is IFNAME[4]. if i need to use the wired, i have to down wlan0 and up eth0.
while this manual selection works, i'm wondering if there is a way to automate. without running a gui tool like networkmanager; not running X.
I think that wicd (in /extra) can do that. It can be used either with (commands "wicd-client" or "wicd-gtk") or without gui (commands "wicd-cli" or "wicd-curses"), as you like, so it doesn't need that X be running.
To use it you need to undo your manual configuration of the network, i.e. put back the relevant /etc/rc.d/inet1.conf and /etc/rc.d/rc.wireless.conf in their initials states.
i had read about wicd, but somehow missed that it has a cli interface. curses works for me so i'll give it a look.
but ethtool sounds like what i need to use (never heard of this one before.) it will be booted with only one of the two nics, so the test at boot would work. keep me from having to remember to up the wired on the few times it's needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.