Results 1 to 7 of 7

Thread: any USB wireless card can work as AP under ubuntu?

  1. #1
    Join Date
    Mar 2006
    Beans
    194

    any USB wireless card can work as AP under ubuntu?

    I know some wireless card can work in Master Mode but it seems use madwifi driver.

    I know madwifi doesn't support usb dongles

    I hope to find a usb wireless card which can work as AP under Ubuntu.

    any one have suggestion?

    Thanks a lot for help.

    I have check this list
    http://atheros.rapla.net/

    I am not sure if ar9170usb.ko and its device support Master MOde.

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: any USB wireless card can work as AP under ubuntu?

    I wasn't able to find a way for AP for my adapter but you could always try ad-hoc too. Just click on Network Manager icon and select Create Wireless network. It allows to set WPA2 password (at least on mine) and the connection is OK for short ranges (as you would expect from ad-hoc).
    I know it's not the same as AP but sometimes it helps if nothing else works.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  3. #3
    Join Date
    Mar 2006
    Beans
    194

    Re: any USB wireless card can work as AP under ubuntu?

    thanks a lot for your input.

    I am googling a lot and found some useful background info.

    https://help.ubuntu.com/community/WifiDocs/MasterMode
    combine with
    http://linux-wless.passys.nl/

    Now I focus on usb wifi card with chipset
    1. rt2x00 2. rt2870 3. ZD1211

    if anybody have already tried these device, hope can heard the result.

  4. #4
    Join Date
    Mar 2006
    Beans
    194

    Re: any USB wireless card can work as AP under ubuntu?

    I have gotten my usb wireless card with ar9170usb chip
    everything works OK.

    Code:
    $ lsusb
    Bus 003 Device 002: ID 0cf3:1002 Atheros Communications, Inc.
    Code:
    # ifconfig
    wlan0     Link encap:Ethernet  HWaddr 00:27:19:xx:xx:xx  
              inet addr:192.168.0.103  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::227:19ff:feaa:dc0a/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:43607 errors:0 dropped:0 overruns:0 frame:0
              TX packets:40320 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:60529208 (60.5 MB)  TX bytes:3865826 (3.8 MB)
    
    wmaster0  Link encap:UNSPEC  HWaddr 00-27-19-xx-xx-xx-61-61-00-00-00-00-00-00-00-00  
              UP RUNNING  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


    Code:
    # netstat -i
    Kernel Interface table
    Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
    lo        16436 0        12      0      0 0            12      0      0      0 LRU
    wlan0      1500 0     44274      0      0 0         40852      0      0      0 BMRU
    wmaster0      0 0         0      0      0 0             0      0      0      0 RU
    I hope to know if this usb wifi card can be used as AP.
    Last edited by say2sky; January 26th, 2010 at 08:15 AM. Reason: add more info

  5. #5
    Join Date
    Mar 2006
    Beans
    194

    Re: any USB wireless card can work as AP under ubuntu?

    I got this info when do setting.

    Code:
    # iwconfig wlan0 mode ad-hoc
    Error for wireless request "Set Mode" (8B06) :
        SET failed on device wlan0 ; Device or resource busy.
    Code:
    # iwconfig wlan0 mode master
    Error for wireless request "Set Mode" (8B06) :
        SET failed on device wlan0 ; Invalid argument.
    Code:
    # /sbin/iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    br0       no wireless extensions.
    
    nas0      no wireless extensions.
    
    wmaster0  no wireless extensions.
    
    wlan0     IEEE 802.11bgn  ESSID:"default"  
              Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0D:88:xx:xx:xx   
              Bit Rate=11 Mb/s   Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=70/70  Signal level=-40 dBm  Noise level=-86 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0

  6. #6
    Join Date
    Jul 2005
    Beans
    161
    Distro
    Dapper Drake Testing/

    Re: any USB wireless card can work as AP under ubuntu?

    Quote Originally Posted by say2sky View Post
    thanks a lot for your input.

    I am googling a lot and found some useful background info.

    https://help.ubuntu.com/community/WifiDocs/MasterMode
    combine with
    http://linux-wless.passys.nl/

    Now I focus on usb wifi card with chipset
    1. rt2x00 2. rt2870 3. ZD1211

    if anybody have already tried these device, hope can heard the result.

    I tried one with rt2870(usb, of course) a couple of days ago and it definitely did not work 'trivially' - ie I set it to master mode but set failed. My understanding is the drivers don't support master mode yet.
    http://compiz.blogspot.com/ - All the latest plugin and patch news for Compiz!

  7. #7
    Join Date
    Mar 2006
    Beans
    194

    Re: any USB wireless card can work as AP under ubuntu?

    Quote Originally Posted by Who View Post
    I tried one with rt2870(usb, of course) a couple of days ago and it definitely did not work 'trivially' - ie I set it to master mode but set failed. My understanding is the drivers don't support master mode yet.
    thanks a lot for your input.


    so neither rt2870 nor ar9170usb can work as AP.

    it means no 802.11n usb lan adapter can at current time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •