Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-23-2009, 11:18 AM
|
#1
|
Member
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Rep:
|
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.
|
|
|
04-23-2009, 09:07 PM
|
#2
|
Member
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Original Poster
Rep:
|
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.
|
|
|
04-24-2009, 02:28 AM
|
#3
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
Quote:
Originally Posted by tw001_tw
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
|
|
|
04-24-2009, 02:05 PM
|
#4
|
Member
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63
Rep:
|
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.
|
|
|
04-24-2009, 04:52 PM
|
#5
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Rep: 
|
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
|
|
|
04-24-2009, 05:58 PM
|
#6
|
Member
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|