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.
It is true. When I rising up wired interface wicd is putting down wifi interface. And vice versa. No idea what to do. I tried to manage with wicd client applet, but I can not figure out configuration for both eth and wlan being up.
It is true. When I rising up wired interface wicd is putting down wifi interface. And vice versa. No idea what to do. I tried to manage with wicd client applet, but I can not figure out configuration for both eth and wlan being up.
I would disable wicd and configure the two interfaces in rc.inet1.conf instead.
See here to configure your wireless network in rc.inet1.conf. Don't use the old method - rc.wireless.conf.
I've been following a thread on the Scientific Linux forum about Network Manager, specifically its command-line interface nmcli. It seems to have been giving these enterprise Linux admins numerous headaches. (Not the fault of Scientific Linux, of course.)
I doubt that the wicd developer is as useless as the Red Hat developers who put NM together but sometimes it's much easier to do things the way they were intended to be done, without all the garbage on top. That's why Slackware lets you configure your system the hard way, which nearly always ends up the easy way.
That's why Slackware lets you configure your system the hard way, which nearly always ends up the easy way.
Well said. Great motto for Slackware. Maybe we should ask Volkerdi to put in some visible place. Let good news spread all the world. I think so. I am as husband (or wife) which always come back.
I configured network vi /etc/rc.d/rc.inet1.conf there is issue however. Computer always boots with hardware lock for wifi, I managed this by setting in rc.local
Code:
rfkill unblock all
but it does not work with script /etc/rc.d/rc.inet1 cause this script is executed earlier than rc.local, so during execution wifi is locked by hardware and cannot be raised by rc.inet1. What is elegant solution? I mean something different than hacking rc.inet1. What comes to my mind is to set in rc.local
Code:
rfkill unblock all
/etc/rc.d/rc.inet2 wlan2_restart
but is inot very elegant. I mean to start twice the same interface during boot. It should be enough only one attempt.
Wicd is also causing troubles. Even if I changed /etc/rc.d/rc.wicd to non-executable wicd anyway starts.
The last issue solved. It was due to desktop settings.
You could add the rfkill command before rc.inet1 is called in /etc/rc.d/rc.M
In 14.2, you'd want to add it before line 97. Or, actually, you could add it in the if/then statement for rc.inet1 so it is run only when rc.inet1 is run (not that it likely matters).
Although not ideal, sometimes replacing rc.inet1 with an implementation of your own is the cleanest approach.
I'm currently trying this out on a wifi only laptop:
/etc/rc.d/rc.inet1:
Code:
#!/bin/sh
case "${1:-start}" in
start) ip -batch - <<-EOF
address flush dev lo
address add 127.0.0.1 dev lo
link set lo up
EOF
if [ ! -e /var/run/wpa_supplicant/wlan0 ]; then
iw reg set GB
wpa_supplicant -B -c /etc/wpa_supplicant/wlan0.conf -i wlan0 >/dev/null
fi
dhcpcd -q -b -L -M wlan0
;;
stop) dhcpcd -q -k
ip link set wlan0 down
if [ -e /var/run/wpa_supplicant/wlan0 ]; then
/usr/sbin/wpa_cli -i wlan0 terminate >/dev/null
# Note: PATH doesn't contain /usr/sbin/ when invoked from rc.6
# so we have to use the fullpath to wpa_cli here.
fi
;;
esac
If you were to try something like this you could stick your rfkill command in where I've got the 'iw reg set'.
Before this, I was using a wpa_cli "action" script to run dhclient when supplicant connected, which also seemed to be working well, but I wanted to try out dhcpcd's 'master' mode to see if it worked any better this way.
I've never had need of a front end like wicd or network-mangler. The underlying components seem to work just fine without them once you learn to use them, but maybe that's because my needs are pretty simple.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.