LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-26-2009, 06:14 PM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
what is wmaster0?


Hi

After googling, nobody seems to know what wmaster0 is. It shows up parallel to the wireless interface (in my case wlan0) in newer kernels, but the majority of users don't seem to know anything about it.

I am looking to build a linux wireless access point and have so far found it a very painful scarcely documented road. Wmaster0 would be exactly what I need (since you usually can never set the wlan0 interfaces to master mode)

What thing has generated this wmaster0? Where does it come from?

Markus
 
Old 05-26-2009, 08:26 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
wmaster0 is an internal-use interface for mac80211, a Linux WiFi API. Drivers that are built on mac80211 will display this interface in addition to the actual WLAN device's interface name.

It doesn't mean the device can do master mode however, and there is no reason or need to deal with wmaster0 directly. My understanding is that this interface might even be hidden later on as development progresses.

As for setting up a Linux AP, there is very little to document. You just put the device into master mode, setup TCP/IP, and bridge it to another interface that connects to the destination network (usually, the Internet). Getting a device that supports master mode is the hardest part, after that you are talking about just a few commands really.

Last edited by MS3FGX; 05-26-2009 at 08:27 PM.
 
Old 05-27-2009, 12:06 AM   #3
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by MS3FGX View Post
wmaster0 is an internal-use interface for mac80211, a Linux WiFi API. Drivers that are built on mac80211 will display this interface in addition to the actual WLAN device's interface name.

It doesn't mean the device can do master mode however, and there is no reason or need to deal with wmaster0 directly. My understanding is that this interface might even be hidden later on as development progresses.

As for setting up a Linux AP, there is very little to document. You just put the device into master mode, setup TCP/IP, and bridge it to another interface that connects to the destination network (usually, the Internet). Getting a device that supports master mode is the hardest part, after that you are talking about just a few commands really.
Thanks for bringing some light into the case.

Yes, I thought that putting a device into master mode was so easy, but so far I have not come across one single interface that accepts this via iwconfig.

Knowing that you need special tools for it, depending on the driver is a thing that I just learned, since it was not obvious.
The hardest thing so far for me was to find out which driver is for which wireless card. So far, I have not found out which driver hostap is supposed to use for my hermes orinoco or intel wireless adapter, all fail. Nobody talk about if wireless firmwares are necessary and where one can get them.

at the moment, I thirst for a GUI or frontend for hostap, but fear that there might be none under the sun.

The bridging and tcp/ip config is easy, but the wireless driver stuff is tough like nails, at least for me. Usually the problem turns out to know where up and down is, where to even try to solve a problem.

But thanks for the pointers.

Markus
 
Old 05-27-2009, 05:09 AM   #4
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Original Poster
Rep: Reputation: 56
To be more concrete about my problem:

I got a laptop with a intel wirelesscard:


Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron]

the module is called iwl4965

setting it to master mode with iwconfig fails.

Which driver (if any) should I use with hostap? I found no documentation about it.

Markus
 
Old 05-27-2009, 02:56 PM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you can't set the device into master mode with iwconfig, it isn't going to work with anything else. hostapd is simply a daemon that controls functions necessary to use a WLAN device as a fully functional AP, it doesn't give the device any capability it didn't already have. If the drivers for the device don't support master mode, there is nothing hostapd can do about it.

There is some confusion here, as hostapd and hostap are two different things. Hostapd is the control daemon that works with multiple wireless drivers (but again, only those that already support master mode), while hostap is a driver for Prism-based WLAN devices (which can also be used with hostapd).
 
  


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
"wmaster0 unknown address type 801" and failed DHCP with wireless on home portal silencestone Linux - Wireless Networking 8 12-31-2008 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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