View Single Post
Old 05-27-2013, 05:55 AM   #4
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by fry@pocketbook View Post
After long time I need some help with my Kindle DXG

I like to use USB networking to connect the Kindle to my local network. I have installed v3.2.1 firmware and some (old) Version of usbnetwork hack.

I'm using Ubuntu with this settings:
Code:
auto eth0
iface usb0 inet dhcp

auto usb0
iface usb0 inet static
    address 192.168.2.1
    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.2.0/24 
    down echo 0 > /proc/sys/net/ipv4/ip_forward
    down echo 0 > /proc/sys/net/iptables -t nat -F POSTROUTING
But I get no access to any website and Kindle like to always activate 3G. Telnet 192.168.2.2 from Ubuntu to Kindle works fine, ssh ask for a password(?) and ping from Kindle Terminal to IP 192.168.2.1 works.
The host configuration looks ok, as far as I can see, so it's probably your Kindle that is not configured correctly. Try setting the default route (something like "route add default gw 192.168.2.1"). If it doesn't work, try to understand whether packets are even arriving at the host pc, and what it does with them (e.g. "tcpdump - i any -proto icmp -nX -s 1000" on the host), then ping 8.8.8.8 from the Kindle. Or so.
ixtab is offline   Reply With Quote