giuliomoro Wondering if this is an issue with the device or the driver. What version of the Bela image are you running (you can get this info running grep v0 /etc/motd)? What dongle? What driver are you using?
root@bela:~# grep v0 /etc/motd
Bela image, v0.3.8g, 28 June 2022
This is the dongle as listed with lsusb
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
It is working correctly at the moment but I'm terrified it will fail again when I'm on location for my installation with limited internet access etc.
I managed to connect to it over ethernet-airport by editing etc/networks/interfaces
to look like so:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# USB RNDIS gadget (Windows / Linux compatible)
auto usb0
iface usb0 inet static
address 192.168.6.2
netmask 255.255.255.0
network 192.168.6.0
# USB NCM gadget (macOS / Linux compatible)
auto usb1
iface usb1 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
# The loopback network interface
auto lo
iface lo inet loopback
# Ethernet
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE
# WiFi Example
# allow-hotplug wlan0
# iface wlan0 inet dhcp
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan0
iface wlan0 inet static
hostapd /etc/hostapd/hostapd.conf
address 192.168.30.1
netmask 255.255.255.0
and I get this result with ip a
when connected
root@bela:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 64:33:db:28:8b:e7 brd ff:ff:ff:ff:ff:ff
inet 192.168.7.2/24 brd 192.168.7.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::6633:dbff:fe28:8be7/64 scope link
valid_lft forever preferred_lft forever
3: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether be:1a:db:28:8b:e9 brd ff:ff:ff:ff:ff:ff
inet 192.168.6.2/24 brd 192.168.6.255 scope global usb0
valid_lft forever preferred_lft forever
4: usb1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether be:1a:db:28:8b:ec brd ff:ff:ff:ff:ff:ff
inet 192.168.7.2/24 brd 192.168.7.255 scope global usb1
valid_lft forever preferred_lft forever
root@bela:~#
I can access the terminal and the IDE this way, but so far I haven't been able to connect over OSC. It listened for a while but stopped doing so. My guess is that there's a problem with the DNS ranges assigned since I have the same range for wlan0 and usb1, even though I am running it without the dongle.
I hope this makes sense. I'm crashing my way through this so any help will be much appreciated!