2013-03-02 09:51:40

by Abdelmuhaimen Seaudi

[permalink] [raw]
Subject: Fwd: Intel Wifilink 5100 AGN - Does it support Access Point Infrastructure Mode ?

Hello iwlwifi support,
I want to run my Wifi Intel WifiLink 5100 AGN in Access Point
Infrstructure Mode, so that I can connect via WiFi with other devices
to my workstation.
This is under Ubuntu Linux 12.10.
I have tried setting the wlan0 to run in master mode, but it gives me
error, as shown below.
Is it possible to run this WiFi radio in AP Infrstrucutre mode ? How ?
Thanks,

[email protected]:~$ iwconfig
wlan0 IEEE 802.11abgn ESSID:"3Com"
Mode:Managed Frequency:2.462 GHz Access Point: 00:22:57:1F:C4:2B
Bit Rate=48 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=51/70 Signal level=-59 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:468 Missed beacon:0
lo no wireless extensions.
eth0 no wireless extensions.

[email protected]:~$ sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

[email protected]:~$ iw list
Wiphy phy0
Band 1:
Capabilities: 0x872
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT RX MCS rate indexes supported: 0-15, 32
TX unequal modulation not supported
HT TX Max spatial streams: 1
HT TX MCS rate indexes supported may differ
Frequencies:
* 2412 MHz [1] (15.0 dBm)
* 2417 MHz [2] (15.0 dBm)
* 2422 MHz [3] (15.0 dBm)
* 2427 MHz [4] (15.0 dBm)
* 2432 MHz [5] (15.0 dBm)
* 2437 MHz [6] (15.0 dBm)
* 2442 MHz [7] (15.0 dBm)
* 2447 MHz [8] (15.0 dBm)
* 2452 MHz [9] (15.0 dBm)
* 2457 MHz [10] (15.0 dBm)
* 2462 MHz [11] (15.0 dBm)
* 2467 MHz [12] (15.0 dBm) (passive scanning, no IBSS)
* 2472 MHz [13] (15.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Capabilities: 0x872
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT RX MCS rate indexes supported: 0-15, 32
TX unequal modulation not supported
HT TX Max spatial streams: 1
HT TX MCS rate indexes supported may differ
Frequencies:
* 5180 MHz [36] (13.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (13.0 dBm) (passive scanning, no IBSS, radar detection)
* 5500 MHz [100] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5520 MHz [104] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5540 MHz [108] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5560 MHz [112] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5580 MHz [116] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5600 MHz [120] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5620 MHz [124] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5640 MHz [128] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5660 MHz [132] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5680 MHz [136] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5700 MHz [140] (15.0 dBm) (passive scanning, no IBSS, radar detection)
* 5745 MHz [149] (15.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (15.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (15.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (15.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (15.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 20
max scan IEs length: 195 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* monitor
software interface modes (can always be added):
* monitor
interface combinations are not supported
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* action
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* Unknown command (84)
* Unknown command (87)
* Unknown command (85)
* testmode
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
Device supports RSN-IBSS.
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
[email protected]:~$

--
Thanks and best regards

Abdel-Muhaimen Seaudi
CCIE # 25265
[email protected]
Tel.: +2010-0538-7426



--
Thanks and best regards

Abdel-Muhaimen Seaudi
CCIE # 25265
[email protected]
Tel.: +2010-0538-7426



--
Thanks and best regards

Abdel-Muhaimen Seaudi
CCIE # 25265
[email protected]
Tel.: +2010-0538-7426


2013-03-03 16:08:13

by Dan Williams

[permalink] [raw]
Subject: Re: Fwd: Intel Wifilink 5100 AGN - Does it support Access Point Infrastructure Mode ?

On Sat, 2013-03-02 at 14:47 +0200, Abdelmuhaimen Seaudi wrote:
> Hello Pat,
> So this means no way the Intel WiFiLink 5100 AGN will run in AP master
> mode, correct ?

Correct. If the 'iw' command does not report "AP" mode, then that mode
is not supported by the firmware and kernel version that you are
running. AFAIK, the 51xx does not now and will not support AP mode on
Linux in the future.

Dan

> Note that it can run in Windows using program like Virtual Router, and
> I confirmed I was able to connect to my workstation wifi. Note also
> that it is not using Adhoc mode, it was using AP Infrastructure mode.
> Thanks for your confirmation.
>
> On 3/2/13, Pat Erley <[email protected]> wrote:
> > On 03/02/2013 04:51 AM, Abdelmuhaimen Seaudi wrote:
> >> Hello iwlwifi support,
> >> I want to run my Wifi Intel WifiLink 5100 AGN in Access Point
> >> Infrstructure Mode, so that I can connect via WiFi with other devices
> >> to my workstation.
> >> This is under Ubuntu Linux 12.10.
> >> I have tried setting the wlan0 to run in master mode, but it gives me
> >> error, as shown below.
> >> Is it possible to run this WiFi radio in AP Infrstrucutre mode ? How ?
> >> Thanks,
> >>
> >
> > <SNIP>
> >
> >> Supported interface modes:
> >> * IBSS
> >> * managed
> >> * monitor
> >> software interface modes (can always be added):
> >> * monitor
> >
> > It also looks like this chipset doesn't support master mode.
> >
> > Pat Erley
> >
>
>



2013-03-02 12:47:07

by Abdelmuhaimen Seaudi

[permalink] [raw]
Subject: Re: Fwd: Intel Wifilink 5100 AGN - Does it support Access Point Infrastructure Mode ?

Hello Pat,
So this means no way the Intel WiFiLink 5100 AGN will run in AP master
mode, correct ?
Note that it can run in Windows using program like Virtual Router, and
I confirmed I was able to connect to my workstation wifi. Note also
that it is not using Adhoc mode, it was using AP Infrastructure mode.
Thanks for your confirmation.

On 3/2/13, Pat Erley <[email protected]> wrote:
> On 03/02/2013 04:51 AM, Abdelmuhaimen Seaudi wrote:
>> Hello iwlwifi support,
>> I want to run my Wifi Intel WifiLink 5100 AGN in Access Point
>> Infrstructure Mode, so that I can connect via WiFi with other devices
>> to my workstation.
>> This is under Ubuntu Linux 12.10.
>> I have tried setting the wlan0 to run in master mode, but it gives me
>> error, as shown below.
>> Is it possible to run this WiFi radio in AP Infrstrucutre mode ? How ?
>> Thanks,
>>
>
> <SNIP>
>
>> Supported interface modes:
>> * IBSS
>> * managed
>> * monitor
>> software interface modes (can always be added):
>> * monitor
>
> It also looks like this chipset doesn't support master mode.
>
> Pat Erley
>


--
Thanks and best regards

Abdel-Muhaimen Seaudi
CCIE # 25265
[email protected]
Tel.: +2010-0538-7426

2013-03-02 10:32:20

by Pat Erley

[permalink] [raw]
Subject: Re: Fwd: Intel Wifilink 5100 AGN - Does it support Access Point Infrastructure Mode ?

On 03/02/2013 04:51 AM, Abdelmuhaimen Seaudi wrote:
> Hello iwlwifi support,
> I want to run my Wifi Intel WifiLink 5100 AGN in Access Point
> Infrstructure Mode, so that I can connect via WiFi with other devices
> to my workstation.
> This is under Ubuntu Linux 12.10.
> I have tried setting the wlan0 to run in master mode, but it gives me
> error, as shown below.
> Is it possible to run this WiFi radio in AP Infrstrucutre mode ? How ?
> Thanks,
>
> [email protected]:~$ iwconfig
> wlan0 IEEE 802.11abgn ESSID:"3Com"
> Mode:Managed Frequency:2.462 GHz Access Point: 00:22:57:1F:C4:2B
> Bit Rate=48 Mb/s Tx-Power=15 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Power Management:off
> Link Quality=51/70 Signal level=-59 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:468 Missed beacon:0
> lo no wireless extensions.
> eth0 no wireless extensions.
>
> [email protected]:~$ sudo iwconfig wlan0 mode master
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device wlan0 ; Invalid argument.

http://linuxwireless.org/en/users/Documentation/hostapd

Master mode requires userspace to handle setup and control. That page
should cover most/all of what you need.

Pat Erley


2013-03-02 10:27:14

by Pat Erley

[permalink] [raw]
Subject: Re: Fwd: Intel Wifilink 5100 AGN - Does it support Access Point Infrastructure Mode ?

On 03/02/2013 04:51 AM, Abdelmuhaimen Seaudi wrote:
> Hello iwlwifi support,
> I want to run my Wifi Intel WifiLink 5100 AGN in Access Point
> Infrstructure Mode, so that I can connect via WiFi with other devices
> to my workstation.
> This is under Ubuntu Linux 12.10.
> I have tried setting the wlan0 to run in master mode, but it gives me
> error, as shown below.
> Is it possible to run this WiFi radio in AP Infrstrucutre mode ? How ?
> Thanks,
>

<SNIP>

> Supported interface modes:
> * IBSS
> * managed
> * monitor
> software interface modes (can always be added):
> * monitor

It also looks like this chipset doesn't support master mode.

Pat Erley

2013-03-02 12:52:47

by Abdelmuhaimen Seaudi

[permalink] [raw]
Subject: Re: Fwd: Intel Wifilink 5100 AGN - Does it support Access Point Infrastructure Mode ?

Hello Pat,
I have tried this, and I get the following error.
Is there another way to enable AP master mode for the Intel WifiLink 5100 AGN ?
Is there a driver or firmware that I can use to enable AP mode ?
Thanks,

[email protected]:~$ sudo hostapd hostapd.conf
Configuration file: hostapd.conf
Failed to update rate sets in kernel module
Could not connect to kernel driver.
Using interface wlan0 with hwaddr 00:24:d6:5b:71:d2 and ssid 'test'
Failed to set beacon parameters
wlan0: STA 00:22:57:1f:c4:2b IEEE 802.11: disassociated
^CCould not connect to kernel driver.

[email protected]:~$ cat hostapd.conf
#change wlan0 to your wireless device
interface=wlan0
driver=nl80211
ssid=test
channel=1


On 3/2/13, Pat Erley <[email protected]> wrote:
> On 03/02/2013 04:51 AM, Abdelmuhaimen Seaudi wrote:
>> Hello iwlwifi support,
>> I want to run my Wifi Intel WifiLink 5100 AGN in Access Point
>> Infrstructure Mode, so that I can connect via WiFi with other devices
>> to my workstation.
>> This is under Ubuntu Linux 12.10.
>> I have tried setting the wlan0 to run in master mode, but it gives me
>> error, as shown below.
>> Is it possible to run this WiFi radio in AP Infrstrucutre mode ? How ?
>> Thanks,
>>
>> [email protected]:~$ iwconfig
>> wlan0 IEEE 802.11abgn ESSID:"3Com"
>> Mode:Managed Frequency:2.462 GHz Access Point:
>> 00:22:57:1F:C4:2B
>> Bit Rate=48 Mb/s Tx-Power=15 dBm
>> Retry long limit:7 RTS thr:off Fragment thr:off
>> Power Management:off
>> Link Quality=51/70 Signal level=-59 dBm
>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
>> Tx excessive retries:0 Invalid misc:468 Missed beacon:0
>> lo no wireless extensions.
>> eth0 no wireless extensions.
>>
>> [email protected]:~$ sudo iwconfig wlan0 mode master
>> Error for wireless request "Set Mode" (8B06) :
>> SET failed on device wlan0 ; Invalid argument.
>
> http://linuxwireless.org/en/users/Documentation/hostapd
>
> Master mode requires userspace to handle setup and control. That page
> should cover most/all of what you need.
>
> Pat Erley
>
>


--
Thanks and best regards

Abdel-Muhaimen Seaudi
CCIE # 25265
[email protected]
Tel.: +2010-0538-7426