Internet access for Kindle via USB
From MobileRead
[edit] Setup on Host PC
Add the following to /etc/network/interfaces
iface usb0 inet static
address 192.168.15.201
netmask 255.255.255.0
up echo 1 > /proc/sys/net/ipv4/ip_forward
up iptables -P FORWARD ACCEPT
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.15.0/24
down echo 0 > /proc/sys/net/ipv4/ip_forward
down echo 0 > /proc/sys/net/iptables -t nat -F POSTROUTINGNote: This should be replaced by some udev rules to make it work even if usb0 is already in use.
[edit] Setup in Kindle
echo "nameserver 4.2.2.1" > /etc/resolv.conf route add default gw 192.168.15.201