Jump to content

Orange Pi Zero - wifi adapter wlx20xxxxxxxxxx <SOLVED>


jdugat

Recommended Posts

I have a wifi dongles that aren't showing up with the usual wlan0/1 identifier, below is what I've discovered so far, but if anyone can shed some light on this, I'd be much appreciative.

 

ifconfig -a I get the following:

 

wlx20e816006af8 Link encap:Ethernet  HWaddr 20:e8:16:00:6a:f8
          UP BROADCAST MULTICAST  MTU:1500  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   TX bytes:0 (0.0 

 

if I do iwconfig wlx20e816006af8 essid myhomesid channel 6, I get no errors, however, when I do the iwconfig wlx20e816006af8 commit I get the following error:

 

Error for wireless request "Commit changes" (8B00) :
    SET failed on device wlx20e816006af8 ; Operation not supported.

if I try to to do ifconfig wlx20e816006af8 IP 192.168.1.100, I get unknown host.

 

the only policy rule that I have in the /etc/udev/rules.d directory is as follows:

71-axp-power-button.rules

 

Below are the output from lsusb, lsmod and login info:

 

LSMOD

Module                  Size  Used by
mt7601u                53248  0
sun8i_codec_analog     24576  0
snd_soc_core          122880  1 sun8i_codec_analog
mac80211              335872  1 mt7601u
snd_pcm_dmaengine      16384  1 snd_soc_core
cfg80211              204800  2 mac80211,mt7601u
sun8i_ths              16384  0
snd_pcm                77824  2 snd_pcm_dmaengine,snd_soc_core
rfkill                 24576  3 cfg80211
thermal_sys            57344  1 sun8i_ths
uio_pdrv_genirq        16384  0
uio                    16384  1 uio_pdrv_genirq
usb_f_acm              16384  1
u_serial               20480  3 usb_f_acm
g_serial               16384  0
libcomposite           40960  2 g_serial,usb_f_acm
uas                    20480  0

LSUSB

 

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



Armbian version

  ___                               ____  _   _____
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |__  /___ _ __ ___
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |   / // _ \ '__/ _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| |  / /|  __/ | | (_) |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| /____\___|_|  \___/
                       |___/
Welcome to ARMBIAN 5.32 user-built Ubuntu 16.04.3 LTS 4.11.5-sun8i
System load:   0.10 0.04 0.01   Up time:       55 min
Memory usage:  10 % of 242MB    IP:            192.168.1.118
CPU temp:      68°C
Usage of /:    9% of 15G
[ General system configuration: armbian-config ]
Last login: Thu Sep 14 12:42:33 2017 from 192.168.1.135

 

Link to comment
Share on other sites

With ARMBIAN 5.32 user-built Ubuntu 16.04.3 LTS 4.11.5-sun8i, you will need to do the following to change the name of your wifi-dongle adapters:

 

nano /etc/udev/rules.d/70-persistent-net.rules

 

Add the following line (example shows both wlan0 and wlan1)

 

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<put your wifi dongle MAC address here>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<put your wifi dongle MAC address here>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

 

if your wifi-dongle MAC address is 78:df:32:3d:0c:af then the line for wlan0 would look exactly like this:

 

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:df:32:3d:0c:af", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

 

Save the 70-persistent-net.rules file (for nano type ctrl-o, enter key, ctrl-x) and reboot your board.  

 

I hope this helps. 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines