2019-11-23, 10:58 PM
(2019-11-23, 03:32 PM)Sailoog Wrote: OK
If you take the USB wifi device it should work, try it.
But we need to know what produces this error. Plug in the USB wifi device again and type:
ls /sys/class/net
then try this for every value you get from the previous command:
ls -l /sys/class/net/eth0/
ls -l /sys/class/net/wlan0/
...
and send me the output.
pi@op3plus:~ $ ls /sys/class/net
eth0 lo wlan0 wlan9
pi@op3plus:~ $ ls -l /sys/class/net/eth0
lrwxrwxrwx 1 root root 0 Nov 23 22:45 /sys/class/net/eth0 -> ../../devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.0/net/eth0
pi@op3plus:~ $ ls -l /sys/class/net/lo
lrwxrwxrwx 1 root root 0 Nov 23 22:45 /sys/class/net/lo -> ../../devices/virtual/net/lo
pi@op3plus:~ $ ls -l /sys/class/net/wlan0
lrwxrwxrwx 1 root root 0 Nov 23 22:45 /sys/class/net/wlan0 -> ../../devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/net/wlan0
pi@op3plus:~ $ ls -l /sys/class/net/wlan9
lrwxrwxrwx 1 root root 0 Nov 23 22:45 /sys/class/net/wlan9 -> ../../devices/platform/soc/3f300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan9
pi@op3plus:~ $
and reply on openplotter-network
pi@op3plus:~ $ openplotter-network
Traceback (most recent call last):
File "/usr/bin/openplotter-network", line 11, in <module>
load_entry_point('openplotterNetwork==2.0', 'console_scripts', 'openplotter-network')()
File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 711, in main
MyFrame().Show()
File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 79, in __init__
self.read_wifi_conf()
File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 277, in read_wifi_conf
self.read_network_interfaces()
File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 468, in read_network_interfaces
ni = subprocess.check_output(('iw '+phy+' info').split()).decode(sys.stdin.encoding)
File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['iw', 'tota', 'info']' returned non-zero exit status 1.
pi@op3plus:~ $