LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-10-2007, 01:53 PM   #1
BerzinTehvs
Member
 
Registered: Mar 2005
Location: Latvia
Distribution: Slackware
Posts: 63

Rep: Reputation: 17
Question Slack-12 and wlan-ng


Hi!

Does anyone has some advice how to get such combination working?
I have Linksys WPC11 pcmcia adapter (which worked well with Slack-10.2/2.6.16.x).

What i get now is (std install, kernel 2.6.21.7, the last supported by wlan-ng 0.2.8):
pcmcia system recognizes adapter and loads the right module; somehow adapter gets its wlan0 ID, and even gets the configuration from rc.inet1.conf (wlan section).
But. The only way to see the adapter is ifconfig -a; just ifconfig doesn't show wlan0;
iwconfig says that wlan0 does not have wireless extensions.

Actually, i do not care very much how to get it working; what i want to keep is the ability to fool around with kismet...

What i learned from udev's 75-network-devices.rules is that for unknown reasons it assigns (?) MAC 00:00:00:00:00:00 to the wlan0.
If i write the correct one, udev ignores it and makes new wlan device with the mentioned MAC and when i insert the adapter, it udevs gives it to former.

Last edited by BerzinTehvs; 09-10-2007 at 03:11 PM. Reason: new info
 
Old 09-10-2007, 04:41 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I suppose that's for softmac devices. Just my guess. What happens if you comment that section in 75-udev.rules, so that udev doesn't mess with wlan0?
 
Old 09-11-2007, 05:58 AM   #3
BerzinTehvs
Member
 
Registered: Mar 2005
Location: Latvia
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by dracolich View Post
I suppose that's for softmac devices. Just my guess. What happens if you comment that section in 75-udev.rules, so that udev doesn't mess with wlan0?
If I comment out this line, udev adds another one identical to it.

If I write in this file MAC adress of wifi adapter which must be assigned wlan0, udev ignores it and adds another line with zeros as MAC.

There is another one stranginess - the pcmcia card fires up only after insert-remove-insert - may be such behaviour also plays some role here?
 
Old 09-11-2007, 06:54 AM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Udev is rewriting the rules after you've edited them? Are you rebooting or restarting udev after making the edits? Are you editing the file as root so that you can save the changes?

My laptop, a HP Pavilion ze4315, does the same thing with pcmcia cards. If I have it inserted before I turn the power on it's detected during startup. If the OS is already started I have to insert, remove and insert a second time. It's been like that since Slack10 or since I started using 2.6.x kernels.

Quote:
iwconfig says that wlan0 does not have wireless extensions.
I missed this part the first time. Make sure the kernel has the wireless extensions built. Browse your kernels's config file and make sure MAC80211 and IEEE80211 are either y or m. If your device is softmac you need MAC80211.

EDIT: I just looked at the 75-network_devices.rules. It gets the address from the information in /sys. So, upon detection, your device is being given all 0's as the MAC address and udev gets it from there. I think your problem lies with the driver and/or the missing wireless extensions.

Last edited by dracolich; 09-11-2007 at 07:02 AM.
 
  


Reply



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
Setting up a Wlan on slack How to leandrog_h Linux - Wireless Networking 5 10-22-2006 01:56 PM
wlan usb-stick (dlink dl-524) with slack 10.1 ? syvy Slackware 11 08-04-2006 10:51 AM
Manually starting a USB WLAN key that uses the wlan-ng driver on Auditor PhantmShado Linux - Hardware 1 01-02-2006 05:44 PM
super newbie: wlan settings in linux (slack) carboncopy Linux - Wireless Networking 1 08-25-2005 09:54 AM
Slack 9.1 pcmcia wlan card Sammy2ooo Linux - Wireless Networking 4 02-04-2004 09:24 AM

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

All times are GMT -5. The time now is 11:08 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