Hi everyone, Does Udoo board support the "AP" mode to do a wifi access point with hostapd? Does someone can do the following commands to check: Code: $ sudo iw list $ sudo iwconfig wlan0 mode master Thanks !
We're trying to do exactly the same thing with hostapd. A step by step tutorial will be available asap.
Nice ! How do you enable master mode on wlan0 ? I tested the following commands: iw list Code: root@udoo-debian-hfp:~# iw list Wiphy phy0 Band 1: Capabilities: 0x172 HT20/HT40 Static SM Power Save RX Greenfield RX HT20 SGI RX HT40 SGI RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 65535 bytes (exponent: 0x003) Minimum RX AMPDU time spacing: 2 usec (0x04) HT RX MCS rate indexes supported: 0-7, 32 TX unequal modulation not supported HT TX Max spatial streams: 1 HT TX MCS rate indexes supported may differ Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS) * 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS) * 2484 MHz [14] (20.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 max # scan SSIDs: 4 max scan IEs length: 2257 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 * AP * AP/VLAN * WDS * monitor software interface modes (can always be added): * AP/VLAN * monitor interface combinations are not supported Supported commands: * new_interface * set_interface * new_key * new_beacon * new_station * set_bss * authenticate * associate * deauthenticate * disassociate * join_ibss * remain_on_channel * set_tx_bitrate_mask * action * frame_wait_cancel * set_wiphy_netns * set_channel * set_wds_peer * 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 iwconfig wlan0 mode master Code: root@udoo-debian-hfp:~# iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument. root@udoo-debian-hfp:~# ifconfig wlan0 down root@udoo-debian-hfp:~# iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument. iwconfig wlan0 mode AP Code: root@udoo-debian-hfp:~# iwconfig wlan0 mode AP Error for wireless request "Set Mode" (8B06) : invalid argument "AP". root@udoo-debian-hfp:~# ifconfig wlan0 up root@udoo-debian-hfp:~# iwconfig wlan0 mode AP Error for wireless request "Set Mode" (8B06) : invalid argument "AP". iwconfig wlan0 mode monitor Code: root@udoo-debian-hfp:~# iwconfig wlan0 mode monitor Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Device or resource busy. root@udoo-debian-hfp:~# ifconfig wlan0 down root@udoo-debian-hfp:~# iwconfig wlan0 mode monitor root@udoo-debian-hfp:~# ifconfig wlan0 up
Hi, I could not wait! So I recompiled the kernel with support for iptables (.config here) The Access Point works fine with this configuration. However, the bridge mode of hostapd doesn't work. I would indeed replace my old "Fonera plus" which works as follows: Eth0 : Internet (dynamic IP) <<= NAT + DHCPD + DNSMASQ =>> br0 (Eth1 + wlan0) 192.168.1.0/24 Any advice is welcome !
Hi, I finally successfully set up a Wifi access point ( ethA > bridge [wifiB + usb ethC] ). Quick and dirty configurations files are available on https://gist.github.com/2xyo/8452047.
Hi, I tried but can not build the driver - did you use the GUI Debian distri available via the UDOO site, the minimal system (unofficial) or did you build your own? If you have been using the release from the UDOO site, what have i to install first to build the driver? cheers Juergen
Hi, I use the official (old) Ubuntu image : Code: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric # uname -a Linux imx6-qsdl 3.0.35-2xyo-iptables-g76d54f2 #1 SMP Mon Jan 20 12:43:33 CET 2014 armv7l armv7l armv7l GNU/Linux You have to enable the support of iptables and recompile the Kernel Unico. Here is my .config.
Hi, I'm interested in this functionality as well. @delba what is a current status on the tutorial you mentioned? Thanks
No but i suggest you to ask for it in the official discussion so we'll enable it in the next version: udoobuntu-beta-here-t1445-50.html