LinuxQuestions.org
Review your favorite Linux distribution.
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 04-23-2009, 12:18 PM   #1
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
wireless card module loaded - now what?


Sorry for this. I'm running slack 12.2 - fresh install.
Here is some info:

Code:
:~# lspci | grep Wireless
02:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
Code:
:~# lsmod | grep ath
ath5k                 101248  0
mac80211              158108  1 ath5k
led_class               7684  1 ath5k
cfg80211               27144  2 ath5k,mac80211
ath_rate_sample        17024  1
ath_pci               242232  0
wlan                  217328  4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               252512  3 ath_rate_sample,ath_pci
Code:
:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""  Nickname:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Code:
:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
I installed: madwifi-r3878_20081204_2.6.27.7_smp-i486-1alien.tgz
from: http://www.slackware.com/~alien/slac...wifi/pkg/12.2/
That is the only install that was not included in a full install from the DVD.

So... where do I go from here, and why is the card only set to 'b', and
not 'g'? Any additional info needed, ask. My intel wifi card in my other laptop setup SO much easier then this one.
Thanks.
 
Old 04-23-2009, 10:07 PM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551

Original Poster
Blog Entries: 4

Rep: Reputation: 31
I'm sure there is a utility to do this but progress has been made. I added:

Code:
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
WLAN_MODE[4]=Managed
WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="auto"
to my /etc/rc.d/rc.inet1.conf file.
then typed (as root) /etc/rc.d/rc.inet1 restart

NOTE: I currently have a different wifi card installed as opposed to my first post. I now have a realtek chipset card, and it is detected as 'wlan0' with iwconfig. I guess if I still had the Atheros wifi card, I would have used 'ath0' instead of 'wlan0' on the 'IFNAME[4]="xxx" line above.

Then I installed wicd from /extra on the Slack DVD.

At the current time, using wicd, I can view all the available networks, and connect to the unsecure networks. In trying to connect to a secure network, I get a "this network requires encryption to be enabled" message.

The solution for enabling encryption will be my next post. I'm sharing my steps in hopes it might help someone else later one.
 
Old 04-24-2009, 03:28 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by tw001_tw View Post
At the current time, using wicd, I can view all the available networks, and connect to the unsecure networks. In trying to connect to a secure network, I get a "this network requires encryption to be enabled" message.
The solution for enabling encryption will be my next post. I'm sharing my steps in hopes it might help someone else later one.
What type of encryption are you using?
For WEP encryption, see the section on WEP encryption here:
http://alien.slackbook.org/dokuwiki/...ware:network&s[]=wep&s[]=encryption
For WPA encryption, see the section on WPA here:
http://alien.slackbook.org/dokuwiki/...ware:madwifi&s[]=madwifi
 
Old 04-24-2009, 03:05 PM   #4
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
Another thing to note is that both the madwifi and ath5k drivers are loaded. You might try blacklisting the ath5k module and just use madwifi. I use wpa_supplicant to connect to a secure network, without wicd. In my configuration, wicd has only been able to connect to unsecured nets so I have to stop it and use wpa_supplicant and dhcpcd by hand to associate and get an IP addy. I'm sure I've got something out of whack somewhere (like rc.inet1), but this is how I've been able to use my wifi card.

Regards,
Geoff.
 
Old 04-24-2009, 05:52 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,635

Rep: Reputation: Disabled
From wicd README.SLACKWARE
Quote:
Results have varied, but you will probably need/want to remove
any references to interfaces from /etc/rc.d/rc.inet1.conf - in
other words, make that file look as if netconfig has never been
run.
Brian
 
Old 04-24-2009, 06:58 PM   #6
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
Yeah, and I just noticed this from AlienBob's wiki
Quote:
If you want to use wicd, you will hav[sic] to remove any network interface configuration information from /etc/rc.drc.inet1.conf in order to prevent a struggle for power between wicd and Slackware's rc.inet1 script.
Man, just when I think I've looked everywhere...

Thanks (to Eric, too),
Geoff.
 
  


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
Wireless Card seems to be loaded but is not showing interface stu_mueller Slackware 3 06-09-2007 08:28 AM
sound card module not loaded aw76 Linux - Hardware 4 03-07-2006 10:18 PM
Wireless woes - acx100 module loaded, card detected in harddrake no network device brownb2 Mandriva 1 01-02-2005 06:02 PM
paraport_pc module loaded with wrong options, st not loaded adrianmariano Debian 2 12-18-2004 10:37 PM
Loaded madwifi drivers but still can't use wireless card hecresper Fedora 7 01-28-2004 02:40 AM

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

All times are GMT -5. The time now is 10:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration