Quote:
Originally Posted by knc1
That sounds a lot like you are talking to yourself.
usb0 ==> bind to the IP address of the PC end of the cable.
Kindle ==> bind to the IP address of the Kindle end of the cable.
I.E: The cable has two ends, and each end has a **different** IP address (it has to, so the packets can tell if they are coming or going, dumb packets  ).
So, please post:
(*) What IP address assignment you are using on the Kindle end (defined in the config file on the Kindle).
(*) What IP address assignment you are using on the PC end.
|
Oh.
Oh!!
Yes, I know what different IP's are for, even though you might not tell so from my dumb display yesterday.
Tell you what, I was mislead by a part of the documentation:
Quote:
I'm using 192.168.15.201 here, because the default settings match the ones used in diags, and some diags scripts expect the host
to be on this specific address.
If you use a custom KINDLE_IP, and/or don't care about diags, you're free to use any (free) address in the correct subnet .
|
I don't know why, that led me to think that was referred to kindle ip, and therefore I had to bind usb0 to the kindle ip. Dumb me.
Okay, so, usbnet is now bound to 192.168.15.244, and I bound my pc usb0 to 192.168.15.201.
telnet:
Code:
root@acerino:~# telnet 192.168.15.244
Trying 192.168.15.244...
Connected to 192.168.15.244.
Escape character is '^]'.
Welcome to Kindle!
#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# ls
[root@kindle root]# pwd
/var/tmp/root
[root@kindle root]# cd /
[root@kindle /]# ls
MNTUS_EXEC bin dev etc lib mnt opt proc sbin sys tmp usr var
[root@kindle /]# cd
And then it just hung while I was typing. No keypress generated any feedback. I could see from the kual entries that usbnetwork was still enabled and sshd was up, but nothing worked in the telnet session. And by nothing, I mean also ctrl-c or ctrl-d for example.
On a new shell I then tried to ping the kindle (which was correctly responding to ping prior that hang):
Code:
root@acerino:~# ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data.
^C
--- 192.168.15.244 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7054ms
Then, I restarted the kindle and enabled usbnet once again, but yet pings were unsuccessful, and neither telnet or ssh would get any answer.
I rebooted my pc, and ping to the kindle started working again.
So, I went for ssh:
Code:
root@acerino:~# ifconfig usb0 192.168.15.201
root@acerino:~# ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data.
64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=1.27 ms
64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.200 ms
64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.203 ms
64 bytes from 192.168.15.244: icmp_seq=4 ttl=64 time=0.329 ms
^C
--- 192.168.15.244 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.200/0.501/1.274/0.449 ms
root@acerino:~# ssh root@192.168.15.244
^C
root@acerino:~# ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data.
^C
--- 192.168.15.244 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7055ms
I tought something "broke" my pc, but now I see that when I try ssh also the kindle stops responding...