I was setting up the kit to join my wireless network, it joins fine but there’s no access.
After poking around i realised that the USB0 interface ip 10.10.10.10/24 clashes with my wireless lan network. the USB0 interface appears to have priority and any traffic that tries to go back over my wlan goes over the usb network interface.
I have tried editing the various config files to move usb0 to another network range in /etc and in /mnt/conf
conf.d/dnsmasq/sta.conf
conf.d/dnsmasq/ap.conf
dnsmasq.conf
network/profiles.d/usb0
However on reboot the changes were not persistent.
Using the serial console and doing a ifconfig usb0 down is the only way to get it to work on my lan.
Am i missing something on making filesystem config changes persistent so that changes to the usb0 config file are kept across reboots.
I would also like to make a suggestion that the usb0 interface IP range should be changed to a non standard range that is unlikely to crash with a regular wifi network.
Something in the high 192.168 range like 192.168.250.0/24 is unlikely to crash with home router defaults. Shrinking the subnet down to a /30 would also help to prevent clashes.
If you are issuing class A addresses to your network you either know what you are doing or are connected directly to your cable modem.
Presuming the former; make a static IP entry in your DHCP hosts file so that a different IP address gets issued to the CHIP’s MAC address.
Assuming the later; you’re SOL. Put a router between you and the cable modem (you should do this anyway!!!).
So i found a solution without recompiling. it’s not neat and it does stop the usb networking from working as its not possible to modify the /etc/conf.d/dnsmasq files. but atleast when the wifi is joined to a 10.10.10.0/24 network the device will be accessable over wifi
remove the usb0 config simlink
$rm /mnt/conf/etc/network/interfaces.d/usb0
copy the base file from /etc to the conf partition
$cp /etc/network/profiles.d/usb0 /mnt/conf/etc/network/interfaces.d/usb0
make needed changes to /etc/network/profiles.d/usb0 /mnt/conf/etc/network/interfaces.d/usb0
$sync
$reboot