View Single Post
Old 01-29-2010, 03:02 PM   #13
Zorz
Zealot
Zorz began at the beginning.
 
Posts: 134
Karma: 36
Join Date: Nov 2009
Device: Kindle 2i
Quote:
Originally Posted by jft View Post
Just noticed something wired and important:

You checked the subnet of your eth0 interface? It is 255.255.0.0. . That means your computer thinks the ip range 192.168.0.0 - 192.168.255.255 is behind your eth0 interface.

Now I would recommend using ip address like 10.0.0.* for your "Kindle" Network.

So change the addresses in the usbnetwork file to 10.0.0.1 and 10.0.0.2 and assign your usb0 interface the address 10.0.0.1. Now try to telnet to 10.0.0.2.

well the subnet was like that because I thought the HOST had to be 192.168.2.1. In sure you can see my confusion in the documentation and posts on this forum saying HOST should be 192.168.2.x. Why they call it a host i dont know, but its not proper terminology. The host is my computer and if the kindle's config says to enter the name of the Host, I assume it means my computers ip address.

I reverted the subnet back to 255.255.255.0 and tried your suggested method, though I still a no route to host when I try to telnet in to 192.168.2.2.

Quote:

eth0 Link encap:Ethernet HWaddr 00:50:8d:b6:e0:e3
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:8dff:feb6:e0e3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:785 errors:0 dropped:0 overruns:0 frame:0
TX packets:850 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:678065 (678.0 KB) TX bytes:180196 (180.1 KB)
Interrupt:23 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:50:8d:b6:e0:e4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22

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:16436 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3588 (3.5 KB) TX bytes:3588 (3.5 KB)

usb0 Link encap:Ethernet HWaddr 0e:b7:aa:8c:85:79
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::cb7:aaff:fe8c:8579/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1856 (1.8 KB) TX bytes:5587 (5.5 KB)

usb1 Link encap:Ethernet HWaddr ca:4e:c4:24:26:e5
inet6 addr: fe80::c84e:c4ff:fe24:26e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4803 (4.8 KB) TX bytes:1968 (1.9 KB)

usb2 Link encap:Ethernet HWaddr ee:49:00:00:00:00
inet6 addr: fe80::ec49:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2178 (2.1 KB)
Quote:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.0.100 0.0.0.0 UG 0 0 0 eth0
I am going to try on another linux distro, possibly ubuntu's network manager is messing things up.
Zorz is offline   Reply With Quote