You are not logged in.
Pages: 1
I haven't been messing around with wireless on Linux since I used to hang on Fedora where it worked out of the box. Since arch install...I have to....which is a good thing.
But I'm a bit confused on how things work...
First we used to have wireless-tools (iw*) which never worked for me (iwl3945 driver), then wpa_supplicant for which I'm not certain how it really works.
AFAIK, wpa_supplicant is user mode back end for managing wireless networks on which every front end app. like wpa_cli/gui, nm-applet, wicd relys on...rigt?
And it talks directly to wireless driver. Great...now what on earth is "wext" in -D flag?
man wpa_supplicant
...
wext Linux wireless extensions (generic).
...
That tells me everything!? So wpa_supp is using both iwl3945 and wext (which is deprecated according to kernel.org)? I'm confused on how wireless stack on Linux looks like.
More confusion...what is cfg80211 then? Isn't that supposed to be layer above wireless driver?
Why don't we have ONE front end for managing ALL network connections?
Why is it called wpa_supplicant when it was made to manage all types of wireless networks?
Offline
Dakt,
Why don't we have ONE front end for managing ALL network connections?
We have wicd. You shouldn't have to mess with wpa_supplicant.
http://wiki.archlinux.org/index.php/Wicd
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
archlinux has netcfg which is imo, simple, elegant, and actually works
but that is just command line.
Offline
You could have picked a less trollish topic title .
You have an elaborate opening post but it's not clear whether you have a problem or are simply venting about the multitude of tools. I suggest you talk to the wpa_supplicant devs about a name change if you really think that is warranted .
Mac80211 is the wireless network stack in the kernel, on which drivers build (IPW2200 drivers use the old wireless stack for example afaik, IPW3945, IPW4965 and up use the mac80211 stack exclusively). For more info on iwconfig and the likes you can read up on the wireless-tools utilities collection. Wpa_supplicant is exclusively used for authentication afaik. Wireless-tools is still around, but the authentication functions it had have been largely (if not completely) replaced by wpa_supplicant (which can also do WEP). You need iwconfig to set stuff like bitrate, channel, etc., manually.
Linux is about modularity, and the wireless landscape on Linux reflects that. You can hate it, but that won't make it go away.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
wext (which is deprecated according to kernel.org)
Link please - hadn't heard about that myself.
Offline
archlinux has netcfg which is imo, simple, elegant, and actually works
but that is just command line.
That's one of the problems...every distribution has it's own front end. It would be so much simpler to have one network manager, one configuration file.
Offline
From wireless.kernel.org:
Some discussion surrounding when to drop support for hardware that do not support cfg80211. There are still a significant number of current drivers (about half dozen) that need to be converted before wext can be removed. Now listed on cfg80211-conversion . wext will be put in feature-removal and marked as deprecated.
Offline
You could have picked a less trollish topic title .
Naah, I think it suits the case.
You have an elaborate opening post but it's not clear whether you have a problem or are simply venting about the multitude of tools.
I'm venting
I suggest you talk to the wpa_supplicant devs about a name change if you really think that is warranted .
let's just call it...I don't know...wld. Not sure if it's very accurate but much more descriptive then wpa_*. At first, I taught it's something dedicated only to WPA protocol.
Linux is about modularity, and the wireless landscape on Linux reflects that. You can hate it, but that won't make it go away.
I love modularity, I really do...but more then that I like well established, well documented, clean system. I'm still confused about wext vs. cfg80211 and how it relates to wl driver and wpa_supplicant.
..maybe I'm having a bad day?
Offline
dakt wrote:wext (which is deprecated according to kernel.org)
Link please - hadn't heard about that myself.
Offline
From wireless.kernel.org:
Some discussion surrounding when to drop support for hardware that do not support cfg80211. There are still a significant number of current drivers (about half dozen) that need to be converted before wext can be removed. Now listed on cfg80211-conversion . wext will be put in feature-removal and marked as deprecated.
Good find. Thanks!
So...this is the picture?
+-------------------------+-----------------------------user space------------
nm/wicd/wpa_cli
+-------------------------+
wpa_supplicant/wl-tools/ioctl()
+--------+---------------+---------------------------kernel space------------
wext cfg80211
+--------+---------------+
wl driver
+-------------------------+--------------------------------------------------
Offline
Wext is a driver/interface wpa_supplicant uses afaik. That's all I can say. There are plenty of things marked 'deprecated' in the kernel, I understand it can be confusing. It usually means though that that stuff will be removed somewhere in the future so new programs should not make use of it, and existing programs should use the new interface/API/whatever.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Dakt,
Why don't we have ONE front end for managing ALL network connections?
We have wicd. You shouldn't have to mess with wpa_supplicant.
http://wiki.archlinux.org/index.php/Wicd
Mektub
The wicd dev uses NM in the meanwhile and looks for maintainers. I have lots of issues with wicd, can't recommend it.
Offline
Why don't we have ONE front end for managing ALL network connections?
We DO have one and it's called network-manager-applet.
I need real, proper pen and paper for this.
Offline
on a related note: why does it take significantly longer to scan for WLANs in my ArchLinux compared to my Windows? Also to connect to a Network after it found it. If anyone can tell me where the bottleneck seems to lie, I would much appreciate it, because it's driving me insane sometimes. (I have an Intel iwl5300 or something like that)
there seem to be a few possibilities:
Binary Firmware Blob from Intel (although I would assume that this is the same in Windows.)
Kernel Driver from Intel (fixable, but I probably don't have the skills for it)
wext interface (I don't know whether this is even involved *shrug*)
wpa_supplicant
dhcpcd
those last two I can try out on my own. but as far as I can remember dhcpcd did provide a significant speed barrier, but not all of the speed loss.
now where is the relevance of this post? I don't really expect an answer here, but it illustrates rather nicely how people in general are rather unaware of the state of things. Because with well know topics, I would have found my answer a long time ago on the interwebs.
cheers
Barde.
Offline
I suggest you open a separate topic for your issue .
Last edited by .:B:. (2010-10-19 09:19:10)
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I suggest you open a separate topic for your issue instead of hijacking this one .
fair enough, I probably drifted off too far. But I didn't really post to get an answer to my (non-)problem. I wanted to comment on $THREAD_TITLE and I thought this would illustrate it nicely. Apparently I overdid it
cheers
Barde
Offline
The wicd dev uses NM in the meanwhile and looks for maintainers. I have lots of issues with wicd, can't recommend it.
Then you know more than I do about myself. I'm the maintainer of the wicd package and I don't look for another maintainer, where have you read that?
About the issues, wicd runs perfect on my computer. Can you tell me in a new topic what problems you have?
Offline
I'm the maintainer of the wicd package and I don't look for another maintainer, where have you read that?
I think he meant the dev that develops wicd itself, not the package.
Barde
Offline
If you want to be even more confused, wpa_supplicant can be used for wired networks, too. I'm having to use it for the network at university (802.1x authentication)
Offline
.:B:. wrote:I suggest you open a separate topic for your issue instead of hijacking this one .
fair enough, I probably drifted off too far. But I didn't really post to get an answer to my (non-)problem. I wanted to comment on $THREAD_TITLE and I thought this would illustrate it nicely. Apparently I overdid it
cheers
Barde
My tone might have been a bit harsh, but that was not my intention (the tone, that is).
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
If you want to be even more confused, wpa_supplicant can be used for wired networks, too. I'm having to use it for the network at university (802.1x authentication)
First word.
Anyway, I figured whole wireless stack. I'm might write a short description of it when I get some free time.
Offline
I do agree that the *BSD way (in my small amount of experience with it) of using ifconfig pretty much as the sole tool is enjoyable.
Offline
I do agree that the *BSD way (in my small amount of experience with it) of using ifconfig pretty much as the sole tool is enjoyable.
Yeah, BSD is closer to UNIX philosophy...well it is Unix.
ifconfig wlan0 scan
ifconfig wlan0 dhcp
Offline
archlinux has netcfg which is imo, simple, elegant, and actually works
but that is just command line.
I find wicd to be _way_ more convenient for detecting, connecting to, and saving wireless networks. It's essentially netcfg with an optional GUI. I don't see any reason to not use it over netcfg other than in the case that the user is mostly dealing with wired connections and when working in a low-memory environment: wicd is overkill for managing wired networks (well, unless you have multiple wired networks or something) and the python-based daemon consumes a sizable amount of memory (around 12M). If you're seeking a portable, convenient network manager, give wicd a try.
Offline
cnetworkmanager brings network-manager to the CLI, it's simple without the problems the GUI apps have (scanning, connecting to an hidden WPA2 network)
Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry
Offline
Pages: 1