Menu

#62 Is there any plan to support USB WiFi Adapter?

New
nobody
None
Medium
Enhancement
2015-02-21
2010-09-02
Anonymous
No

Originally created by: ryk5... (code.google.com)@gmail.com

Not an issue but an enhancement suggestion as I have run out of LAN ports on my ADSL modem which has WiFi capabilities!

Discussion

1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2010-10-05

    Originally posted by: lcdgonca... (code.google.com)@gmail.com

    It would be a great improvement

     
  • Anonymous

    Anonymous - 2011-08-27

    Originally posted by: dwmcqu... (code.google.com)@gmail.com

    If there is a module that supports it, it is easy to add.  What is the wifi card you are thinking of?

     
  • Anonymous

    Anonymous - 2011-08-27

    Originally posted by: ryk5... (code.google.com)@gmail.com

    I don't have a preference as long as it is not too expensive!
    What about this one:
    http://www.ebay.com.au/itm/Mini-300M-USB-WiFi-Wireless-LAN-802-11-n-g-b-Adapter-/270789346308?pt=AU_Networking&hash=item3f0c4d8404
    Or choose any that linux already has drivers for.

    Thank you for your interest.

     
  • Anonymous

    Anonymous - 2011-11-11

    Originally posted by: milkboy... (code.google.com)@gmail.com

    if you guys decide to add wifi support,
    i think we should grab it from dealextreme,(i know... talk about being pushy):p
    that way *almost* everyone will get the same module.

    anywayz your ebay item is from hk, and so is dealextreme,AFAIK.

    maybe something like
    http://www.dealextreme.com/p/ultra-mini-nano-usb-2-0-802-11n-150mbps-wifi-wlan-wireless-network-adapter-48166

    same price, plus theres linux support, since RTL819 chip based

     
  • Anonymous

    Anonymous - 2011-11-23

    Originally posted by: wholly1... (code.google.com)@gmail.com

    I read somewhere that from kernel 2.6.x ??? wifi available

     
  • Anonymous

    Anonymous - 2011-11-23

    Originally posted by: LivelyNi... (code.google.com)@gmail.com

    Wifi via USB?

     
  • Anonymous

    Anonymous - 2012-01-10

    Originally posted by: Kirill.F... (code.google.com)@gmail.com

    How it possible to support WiFi dongle without firmware?
    There are no firmwares for ARM, or...?

     
  • Anonymous

    Anonymous - 2014-01-31

    Originally posted by: cok... (code.google.com)@gmail.com

    does anyone knows how to make work any usb wifi?

    actually I've usb wifi n from EDUP based on RTL8188CUS
        Bus 008 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    if I take a look at dmesg output
        [ 6376.484047] usb 8-1: new high-speed USB device number 5 using xhci_hcd
        [ 6376.503705] usb 8-1: New USB device found, idVendor=0bda, idProduct=8176
        [ 6376.503713] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
        [ 6376.503717] usb 8-1: Product: 802.11n WLAN Adapter
        [ 6376.503721] usb 8-1: Manufacturer: Realtek
        [ 6376.503725] usb 8-1: SerialNumber: 00e04c000001
        [ 6376.506321] rtl8192cu: Chip version 0x10
        [ 6376.915371] rtl8192cu: MAC address: 00:e0:4c:04:a9:2c
        [ 6376.915380] rtl8192cu: Board Type 0
        [ 6376.916102] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
        [ 6376.916162] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
        [ 6376.916546] ieee80211 phy2: Selected rate control algorithm 'rtl_rc'
        [ 6376.918362] rtlwifi: wireless switch is on
        [ 6376.973257] rtl8192cu: MAC auto ON okay!
        [ 6377.194494] rtl8192cu: Tx queue select: 0x05
        [ 6377.884315] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
        [ 6377.885201] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready

    I'm not sure about drives that actually works on my ubuntu pc, how can I see it?

    It would be possible to make it work on snake?

     
  • Anonymous

    Anonymous - 2014-01-31

    Originally posted by: cok... (code.google.com)@gmail.com

    and here my lsmod
    rtl8192cu              67723  0
    rtl_usb                18448  1 rtl8192cu
    rtlwifi                63229  2 rtl_usb,rtl8192cu
    rtl8192c_common        48877  1 rtl8192cu
    mac80211              597268  3 rtl_usb,rtlwifi,rtl8192cu
    cfg80211              480503  2 mac80211,rtlwifi

     
  • Anonymous

    Anonymous - 2014-02-03

    Originally posted by: cok... (code.google.com)@gmail.com

    I can't make drivers

    sh-3.2# make
    make ARCH=armv4l CROSS_COMPILE= -C /lib/modules/2.6.16-gazineu/build M=/usr/src/rtl8192cu-tjp-1.6  modules
    make: *** /lib/modules/2.6.16-gazineu/build: No such file or directory.  Stop.
    make: *** [modules] Error 2

     
  • Anonymous

    Anonymous - 2014-02-04

    Originally posted by: stefansc...@googlemail.com

    Ok, I'll look into wireless support. I only have a ralink card around though.

    Btw, I got the realtek driver to compile after some prodding, but it doesn't load without wireless support enabled in the kernel, which is in theory just a matter flipping a switch in the kernel configuration and rebuilding snake. Still wouldn't guarantee that it will actually work though. Officially the driver only supports kernel 2.6.18 and upwards.

    Some scripts/tools would also be needed to configure the card.

     
  • Anonymous

    Anonymous - 2014-02-05

    Originally posted by: cok... (code.google.com)@gmail.com

    I'm really appreciate your work, let me know if there's any news! :)

    many others would appreciate this improvement, it would solve freezing of transfer in issue 11 too!!

     

    Related

    Tickets: #11

  • Anonymous

    Anonymous - 2014-02-09

    Originally posted by: damien7.... (code.google.com)@gmail.com

    Hey there!
    I have the same wifi adaptor from EDUP with the realtek chip RTL8188CUS.
    I really need to use it with my nas, please write here if you have any good news about it.
    I'm glad to see still some people developing on it ;) it will be really apreciated!

     
  • Anonymous

    Anonymous - 2014-02-09

    Originally posted by: stefansc...@googlemail.com

    Ok, let's see if this works. I've only tested this with the rt5370. Judging by your kernel log the 8192cu driver may need a firmware image.

    snakeos-V1.3.2-20140206-from-original.bin is a wireless enabled build of snake (ignore the from-original it can be installed from snake to). You need this for the drivers to load.

    Wifi.tar.gz contains the rt5370 and rtl8192cu drivers and wireless tools.

    To get wifi up extract wifi.tar.gz somewhere, set your ssid and password in wpa.conf and run rt5370-up.sh/8192cu-up.sh. If everything works the lan connection will go down/hang and the device will show up via wireless under a new ip. If it doesn't someting went wrong.

    I get about 1.5-2 MB/s for FTP reads which is about one third of the wired connection. Not great but not as bad as I feared. Transmission seems way slower too but it's hard to get good numbers from that.

    Slightly unrelated.. you can also try to run vmtweak.sh from the wifi package. At least in my tests it seems to prevent the network drivers (wired too) from crapping out when the box runs out of physical memory. It will hurt io performance though.

     
  • Anonymous

    Anonymous - 2014-02-10

    Originally posted by: cok... (code.google.com)@gmail.com

    ok,
    I got this error:

    Successfully initialized wpa_supplicant
    rfkill: Cannot open RFKILL control device
    ioctl[SIOCSIWMODE]: Operation not supported
    ioctl[SIOCGIWRANGE]: Operation not supported
    ioctl[SIOCGIWMODE]: Operation not supported
    ioctl[SIOCSIWAP]: Operation not supported
    ioctl[SIOCSIWESSID]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported

    I can see the wlan0 network with correct mac address in ifconfig but as you can see it doesn't connect and its led stay off.

    I attached dmesg

    ps.: Does your Ralink rt5370 work well? Can I have a photo of it?

     
  • Anonymous

    Anonymous - 2014-02-10

    Originally posted by: stefansc...@googlemail.com

    Bummer, I guess "iwlist scan" doesn't show any networks either?

    It kind of looks like the driver is turning off the stick for some reason maybe in response to a power management event. It's a crapshot but try the attached module (it has power management support disabled). You could also try to load the module with: insmod 8192cu.ko rtw_ips_mode=0.

    I have this stick:
    http://dx.com/p/ultra-mini-nano-usb-2-0-802-11n-b-g-150mbps-wi-fi-wlan-wireless-network-adapter-black-71905

    In the pic it's attached to my frankenstein nas.

    It's been seeding some linux torrent for about a day now so I guess it's working ok (other than that things are pretty slow). I haven't tried much else.

     
  • Anonymous

    Anonymous - 2014-02-11

    Originally posted by: cok... (code.google.com)@gmail.com

    I got an hardware matter with my hd who's rubbish from yesterday.
    Anyhow, I attached a clean ext3 pendrive with only swapfile and debchroot..

    I tried with
       #insmod 8192cu.ko rtw_ips_mode=0
       #ifconfig wlan0 up

    Surprise!! Led starts blinking :D

    but the error is always the same:

    # ./wpa_supplicant -D wext -i wlan0 -c wpa.conf -B
    Successfully initialized wpa_supplicant
    rfkill: Cannot open RFKILL control device
    ioctl[SIOCSIWMODE]: Operation not supported
    ioctl[SIOCGIWRANGE]: Operation not supported
    ioctl[SIOCGIWMODE]: Operation not supported
    ioctl[SIOCSIWAP]: Operation not supported
    ioctl[SIOCSIWESSID]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODE]: Operation not supported

    According with the led, now the card seems to stay on.
    dmesg is also changed, attached.

     
  • Anonymous

    Anonymous - 2014-02-11

    Originally posted by: cok... (code.google.com)@gmail.com

    # ./iwlist wlan0 scan
    wlan0     Interface doesn't support scanning.

     
  • Anonymous

    Anonymous - 2014-02-12

    Originally posted by: stefansc...@googlemail.com

    Dmesg looks ok to me.

    Maybe the driver interface has changed between kernel 2.6.16 and 2.6.18. As I said officially the driver only supports 2.6.18 and up. I already had to add a small fix just to get it to compile.

    Time to take a closer look at the kernel changelog I guess.

     
  • Anonymous

    Anonymous - 2014-02-12

    Originally posted by: stefansc...@googlemail.com

    Ok, found something. The driver uses a configuration option that doesn't exist in 2.6.16 (CONFIG_WIRELESS_EXT) to determine if it should enable those ioctls.

    Try this module.

    Labels: -Type-Defect Type-Enhancement

     
  • Anonymous

    Anonymous - 2014-02-12

    Originally posted by: cok... (code.google.com)@gmail.com

    new 8192cu.ko tried,

    # ./wpa_supplicant -D wext -i wlan0 -c wpa.conf -B
    Successfully initialized wpa_supplicant
    rfkill: Cannot open RFKILL control device
    ioctl[SIOCSIWAP]: Operation not permitted

    shorter error; I also noticed that the led sometimes blinks faster... It explain ifconfig, some packets are passed/dropped

    wlan0     Link encap:Ethernet  HWaddr 00:E0:4C:04:A9:2C 
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:10 errors:0 dropped:21 overruns:0 frame:0
              TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1401 (1.3 KiB)  TX bytes:731 (731.0 B)

    and if I wait RX and TX keep increasing...

    in dmesg you can see NETGEAR29(20:e5:2a:38:30:be, ch:1), is my actual wifi network

    dmesg2 is taken after a minute more or less..

     
  • Anonymous

    Anonymous - 2014-02-12

    Originally posted by: cok... (code.google.com)@gmail.com

    sometimes I can see it connected on the router interface but it doesn't respond on ping or ssh

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB