LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2014, 02:54 PM   #1
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Rep: Reputation: 3
Preferred program for using wifi on laptop.


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.

Last edited by EldonCool; 07-07-2014 at 02:58 PM.
 
Old 07-07-2014, 03:18 PM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
wicd is a good option if you want a gui style wireless configuration.

But if you're only connecting to one access point in your home, you may as well just configure wpa_supplicant.conf and the rc script rc.inet1.conf

The slackbook covers both methods

http://docs.slackware.com/slackbook:wifi
 
2 members found this post helpful.
Old 07-07-2014, 03:19 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
WICD is in the extra directory on your Slackware media. Use installpkg to install it (as root). It works just fine.

There is also networkmanager. It's a little more complex to set up and get it going.

Use one or use the other but do not enable both (they interfere with one another).

I lean toward WICD, YMMV.

Hope this helps some.
 
2 members found this post helpful.
Old 07-07-2014, 03:33 PM   #4
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
wpa_supplicant already has a gui... wpa_gui... somehow tho, everyone seems to miss it.
 
1 members found this post helpful.
Old 07-07-2014, 04:05 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
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.

Brian
 
1 members found this post helpful.
Old 07-07-2014, 04:13 PM   #6
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
Thanks guys, this should be enough to get me going.
 
Old 07-08-2014, 01:48 PM   #7
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
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.

So where am I wrong? What am I missing?
 
Old 07-08-2014, 01:59 PM   #8
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
Going to give you a quick option:
1. removepkg wicd
2. add these lines to /etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=netdev
update_config=1
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.

Hope it helps.
 
Old 07-08-2014, 02:04 PM   #9
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
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.

Hope this helps!
 
1 members found this post helpful.
Old 07-08-2014, 02:44 PM   #10
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by EldonCool View Post
The problems just never end. After some fumbling around I
installed wicd using installpkg as root.
Fumbling is good for a while. However the quick way to do such a thing, as root, is:

slackpkg update
slackpkg install wicd

or

installpkg /path-to-dvd/extra/wicd/wicd-1.7.2.4-x86_64-4.txz


Quote:
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.

Last edited by BCarey; 07-08-2014 at 02:48 PM.
 
1 members found this post helpful.
Old 07-08-2014, 03:03 PM   #11
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
whitewolf,

I removed the package wicd with removepkg

Then I added the 2 lines
Quote:
ctrl_interface_group=netdev
update_config=1
to wpa_supplicant.conf
The first line you recommended was already in the file as the first line.

Next I uncommented the 3 lines in /etc/rc.d/rc.inet1.conf

I rebooted.

Upon bootup I got the repeated error message:
wpa_supplicant failed.

I executed x windows
and in an xterminal ran: wpa_gui

got the screen which says something like:
Quote:
Adapter: drop_down_box_choices
Network: drop_down_box_choices

current
status Could not get status from wpa_supplicant.
the drop down boxes Adapter and Network have no
choices to choose from. This interface really
lets me do nothing.

Last edited by EldonCool; 07-08-2014 at 06:48 PM.
 
Old 07-08-2014, 03:06 PM   #12
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
BCarey,

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.
 
Old 07-08-2014, 05:18 PM   #13
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
ok, I'm going to guess you have something weird in your wireless setup.. can you run
Code:
ifconfig -a
and post the output? Guessing right now your wireless card didn't show up as wlan0... or it's not enabled.

assuming you see a wlan0, run
Code:
rfkill list
and post that output as well.
 
Old 07-08-2014, 07:32 PM   #14
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
output of ifconfig -a

Quote:
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 70:5a:b6:ee:8b:2a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 260 (260.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 260 (260.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:17:c4:f4:ee:92 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

output of rfkill list
Quote:
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
 
Old 07-09-2014, 01:25 AM   #15
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Rep: Reputation: 55
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make my linux laptop a deticated wifi "adapter" (send all lan to wifi) Master_CAPS Linux - Laptop and Netbook 4 03-19-2012 04:17 PM
Preferred Applications/Program defaults for FC3 dubya Fedora 3 03-19-2005 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration