Goes forward!
But now I encountered another problem.
I have installed all rndis and whatnot packages and installed LuCI and all.
I got things working so that I get connection via usb0 now. Also I get connection to LAN via eth0.
Only thing is that I have to set up eth0 IP manually after the boot even though my /etc/config/network is as follows:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd96:2cfb:8536::/48'
config interface 'lan'
#option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
confic interface 'usb_wan'
option ifname 'usb0'
option proto 'dhcp'
I commented "option type 'bridge'" out on purpose.
After boot I have to manually do
ifconfig eth0 inet 10.0.0.1
Then I get ifconfig like this:
eth0 Link encap:Ethernet HWaddr DC:A6:32:5F:D2:34
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::dea6:32ff:fe5f:d234/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2261 errors:0 dropped:0 overruns:0 frame:0
TX packets:2171 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:231871 (226.4 KiB) TX bytes:475873 (464.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:264 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18661 (18.2 KiB) TX bytes:18661 (18.2 KiB)
usb0 Link encap:Ethernet HWaddr 32:FF:9B:B5:04:05
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::30ff:9bff:feb5:405/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14135 (13.8 KiB) TX bytes:13388 (13.0 KiB)
Now I can connect via ssh or to LuCI.
But in LuCI I have not been able to add interfaces ... which is blocking me to get this thing to the point that I can get connection through RPi with my other devices connected to the same switch.
And no VLAN or any that stuff yet. I just need to get connections first.
This is what I see at this point in LuCI:
But as said cannot add any interfaces that I could use as relay bridge. Also I'm wondering why this interface is "marked for deletion"
Thanks for the assistance so far!
One learns new stuff and other things are still undone