I've installed OpenWrt 15.05 to my Pi, configured DHCP for the only LAN port and connected with my router, now it has internet access.
I've pluged my Apple USB ethernet adapter to the Pi, but it doesn't recognize the new ethernet adapter, I can't find it in the `$ ifconfig` result:
root@OpenWrt:~# ifconfig
br-lan Link encap:Ethernet HWaddr B8:27:EB:0D:DF:B8
inet addr:192.168.24.156 Bcast:192.168.24.255 Mask:255.255.255.0
inet6 addr: fd3e:c80e:8806::1/60 Scope:Global
inet6 addr: fe80::ba27:ebff:fe0d:dfb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:83541 (81.5 KiB) TX bytes:282632 (276.0 KiB)
eth0 Link encap:Ethernet HWaddr B8:27:EB:0D:DF:B8
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1012 errors:0 dropped:0 overruns:0 frame:0
TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:92297 (90.1 KiB) TX bytes:291202 (284.3 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:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4885 (4.7 KiB) TX bytes:4885 (4.7 KiB)
However I can find the Apple USB Adapter in `$ lsusb`:
root@OpenWrt:~# lsusb
Bus 001 Device 005: ID 05ac:1402 Apple, Inc. Ethernet Adapter [A1277]
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I want to use this USB ethernet adapter as a LAN port to connect with my PC, do I need install some special drive for this adapter? I did install kmod-usb-net-asix and kmod-usb-net package, but still can't recognize it.
(Last edited by TonniHou on 21 Jan 2017, 04:41)