Quote:
Originally Posted by dewoller
TonyV mentions that, to enable automatic usb networking, you have to put this at end of /usr/local/Kobo/udev/ac and /usr/local/Kobo/udev/plug:
ifconfig usb0 192.168.2.2
I found that I needed to add the line:
/sbin/route add default gw 192.168.2.1 usb0
to enable networking from the Kobo mini out to the open internet.
On the pc side, in /etc/networking, the usb0 stanza reads as follows:
allow-hotplug usb0
iface usb0 inet static
address 192.168.2.1
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.2.0/24
up sysctl -w net.ipv4.ip_forward=1
up route add -host 192.168.2.2 usb0
down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.2.0/24
|
I take it you have a Linux PC?
Luck;
Ken