[SOLVED] Preferred program for using wifi on laptop.
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 has been a while since I got on the internet with my laptop which has built in wifi hardware. Last time I did it, I think maybe I used wicd. That was back a couple years and I was probably running about slackware 13 something then.
Now I have an internet provider, Century Link, which has a wifi router installed in the house. My laptop can get on the internet, using windows 7, by going through the control panel, network stuff, but I need to set it up so I can do the same thing on Linux.
What is the present preferred linux program for getting my laptop to communicating with the wifi router that Century Link installed?
I believe I am running version 14 of slackware linux, maybe 14.1 or 14.2. I suppose the program is somewhere on the distribution disk, but I am not sure what to look for.
NetworkManager comes with the standard installation, as does wpa_supplicant, so in that sense either could be called the "preferred" method. wicd is in /extra so it is a "blessed" alternative. If you are roaming, both wicd and NM are really convenient and both are IMHO dead easy to set up and work well. They have historically had their little quirks, so at times I have gone back and forth. I'm currently using NM only because it seems to automatically connect to a new network faster than wicd.
The problems just never end. After some fumbling around I
installed wicd using installpkg as root.
The program is now apparently installed as the installer said
it was, and I now have these extra files in things like /usr/bin
/usr/share /usr/sbin/wicd that are part of the package.
I changed the permissions on /usr/sbin/wicd to executable by all.
My problem is, I apparently have no idea how to use the
program. It seems to me that I had to run the program
a couple years ago to use it. I had to run then put in
a password for the wifi hardware, and choose a wifi
from a list.
I have no idea how to do this now. I ran an xterm and
entered "wicd", as root. It told me the program was
already running.
3. uncomment these lines to /etc/rc.d/rc.inet1.conf (kinda toward the middle of the file)
Code:
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
USE_DHCP[4]="yes"
WLAN_WPA[4]="wpa_supplicant"
4. reboot
5. in your x of choice, run wpa_gui, scan and select network, and save the file.
The only caveat to this is, if you start up your laptop and no wireless networks are in range, you'll need to run as root:
Code:
dhcpcd wlan0
when you do connect to a network the first time after booting. After this is set up you will see the wireless connecting as part of your boot sequence.
Running just "wicd" as root just starts the daemon. To actually connect, use "wicd-curses" for an curses-based CLI interface, "wicd-gtk" for an actual GUI, and "wicd-cli" for just using it in a traditional cli format.
The program is now apparently installed as the installer said
it was, and I now have these extra files in things like /usr/bin
/usr/share /usr/sbin/wicd that are part of the package.
I changed the permissions on /usr/sbin/wicd to executable by all.
You should not need to change any permissions.
Quote:
My problem is, I apparently have no idea how to use the
program.
wicd daemon should be launched by making rc.wicd executable with
Code:
chmod +x /etc/rc.d/rc.wicd
If you've used it, make sure networkmanager is stopped/not running with:
Code:
/etc/rc.d/rc.networkmanager stop
and make this file NOT executable. (These modifications may happen automatically when wicd is installed, I'm not sure. If this has happened the last command will fail unless you put an "sh" infront.)
Then launch wicd daemon with
Code:
/etc/rc.d/rc.wicd start
(You may also need to remove modifications you may have made to rc.inet1.)
At which point, as a regular user, you can run one of the programs mentioned above like wicd-gtk.
Thanks for the tips, looks like some good info there.
Right now I have the package uninstalled, but I can
now better install it with less fumbling if need be.
I have to put this on hold for a few hours, as I have
to run some errands. Appreciate all the help, and I
will get back to this soon.
Go to /etc/rc.d and "chmod +x rc.networkmanager" minus the quotes. Reboot then go to the icon on the panel and click.
Pick your connection give it the password and surf. Of course you need to be root!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.