`usbNetwork doesn't work out of the box on Kindle DX - /test/bin/usbnetwork script (this is what actually called when you enter `usbNetwork hidden command) isn't included in the official firmware, however g_ether.ko gadget USB driver is still there
.
So, it's relatively trivial to enable this functionality on DX. Here is a sample script I've just tested succesfully with my Macbook Pro running Linux (just put it into /test/bin/usbnetwork on Kindle rootfs):
Code:
#!/bin/sh
rmmod g_file_storage
modprobe g_ether
ifconfig usb0 192.168.2.2
On my laptop:
Code:
mbp ~ # lsusb | grep RNDIS
Bus 001 Device 038: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget
Code:
mbp ~ # ifconfig usb0 192.168.2.1
mbp ~ # ping 192.168.2.2
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.835 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=64 time=1.18 ms
64 bytes from 192.168.2.2: icmp_seq=3 ttl=64 time=1.19 ms
I'll post firmware update package shortly