Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-28-2009, 07:34 AM   #151
highwaykind
Connoisseur
highwaykind began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2009
Device: Kindle Touch
(nevermind, problem solved)

Last edited by highwaykind; 02-08-2010 at 03:49 PM. Reason: post no longer needed, no useful info inside either
highwaykind is offline   Reply With Quote
Old 11-28-2009, 10:29 AM   #152
jyavenard
Zealot
jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.
 
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
Quote:
Originally Posted by yfs View Post
I have been trying to use the scp(come with your fix) in KindleDX, but seems it is not working. The first error was dbclient not found, after I did
ln -s /mnt/us/usbnet/bin/dropbear /usr/bin/dbclient

Then try scp from outside with ubuntu8.04, the error becomes:
sh: scp: not found

Could you kindly explain how to fix it? I am using 2.3 firmware with usbnetwork 0.8.

Have a nice weekend!
I've updated the package; recompiling dropbear to support scp.
http://www.avenard.org/kindle2/usbnetwork23-0.10.tar.gz

ssh/scp from and to the kindle will now work automatically.
I may add rsync if people think it may be useful...
jyavenard is offline   Reply With Quote
 
Enthusiast
Old 11-28-2009, 12:36 PM   #153
hippocratesnoah
Enthusiast
hippocratesnoah began at the beginning.
 
Posts: 25
Karma: 16
Join Date: Jul 2009
Device: Kindle DX
Quote:
Originally Posted by jyavenard View Post
I've updated the package; recompiling dropbear to support scp.
http://www.avenard.org/kindle2/usbnetwork23-0.10.tar.gz

ssh/scp from and to the kindle will now work automatically.
I may add rsync if people think it may be useful...
Well, I've tried ssh access as well (0.10 package). While I can telnet the KindleDX, ssh root@192.168.2.2 would give me a "Connection refused" error message.
hippocratesnoah is offline   Reply With Quote
Old 11-28-2009, 08:38 PM   #154
jyavenard
Zealot
jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.
 
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
Quote:
Originally Posted by hippocratesnoah View Post
Well, I've tried ssh access as well (0.10 package). While I can telnet the KindleDX, ssh root@192.168.2.2 would give me a "Connection refused" error message.
That will teach me to do a last minute change at 2AM...

Re-download the archive, I've fixed the issue, I kept the same version number...
jyavenard is offline   Reply With Quote
Old 11-29-2009, 04:13 AM   #155
bhushan
Junior Member
bhushan began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2009
Device: Kindle 2
Smile Hi, I am having problem with updating due to checksum failure framework.mario.conf

Quote:
Originally Posted by hippocratesnoah View Post
THANK YOU. "Update successful"

run /mnt/us/usbnetwork/usbnet-disable did the trick. At least after this the update went through.

Sorry for posting all around and keeping you distracted.
Again many thanks.
Hi All, Thanks for very informative site and forum. Specially thanks to jyavenard for all the help. Hippocratesnoah, I am facing same problem as you. Somehow the checksum for my framework.mario.conf is failing during update to 2.3.
Would you have a copy of your framework.mario.conf file which finally worked ?
bhushan is offline   Reply With Quote
Old 11-29-2009, 01:50 PM   #156
rbiondi
Junior Member
rbiondi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2009
Device: Kindle DX
Hello,
I updated my kindle to 2.3 and installed http://www.avenard.org/kindle2/usbnetwork23-0.10.tar.gz successfully. After that I can ping the kindle and even access it using root@192.168.2.2.

Last login: Sun Nov 29 16:19:39 on ttys000
minime:~ rbiondi$ ping 192.168.2.2
PING 192.168.2.2 (192.168.2.2): 56 data bytes
64 bytes from 192.168.2.2: icmp_seq=0 ttl=64 time=0.504 ms
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.560 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=64 time=0.383 ms
64 bytes from 192.168.2.2: icmp_seq=3 ttl=64 time=0.460 ms
64 bytes from 192.168.2.2: icmp_seq=4 ttl=64 time=0.556 ms
64 bytes from 192.168.2.2: icmp_seq=5 ttl=64 time=0.501 ms
64 bytes from 192.168.2.2: icmp_seq=6 ttl=64 time=0.429 ms
64 bytes from 192.168.2.2: icmp_seq=7 ttl=64 time=0.515 ms
64 bytes from 192.168.2.2: icmp_seq=8 ttl=64 time=0.503 ms

But I cannot share internet connection of my Mac (Snow Leopard) with kindle.
I went to Settings and configured the RNDIS Network to 192.168.2.1
It seems to be working fine because I can ssh and ping. Internet sharing in OSX Control Panel is also enabled.

In Kindle DX I'm entering the following commands in search box:

;debugOn<return>
`usbNetwork<return>
`usbQa<return>

Is there any way to trace the address www.amazon.com from DX or other network command to verify this issue. May someone help me, please?

Thank you too much for your support/care.

Best regards
Rogerio
rbiondi is offline   Reply With Quote
Old 11-29-2009, 02:10 PM   #157
rbiondi
Junior Member
rbiondi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2009
Device: Kindle DX
When I connect to kindle via ssh I can ping host

[root@kindle root]# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
64 bytes from 192.168.2.1: seq=0 ttl=64 time=1.569 ms
64 bytes from 192.168.2.1: seq=1 ttl=64 time=1.289 ms
64 bytes from 192.168.2.1: seq=2 ttl=64 time=1.286 ms
64 bytes from 192.168.2.1: seq=3 ttl=64 time=1.255 ms
64 bytes from 192.168.2.1: seq=4 ttl=64 time=1.357 ms

--- 192.168.2.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.255/1.351/1.569 ms

But cannot traceroute www.amazon.com

[root@kindle root]#
[root@kindle root]# traceroute www.amazon.com
traceroute: www.amazon.com: Host name lookup failure

Traceroute works just fine for host

[root@kindle root]# traceroute 192.168.2.1
traceroute to 192.168.2.1 (192.168.2.1), 30 hops max, 38 byte packets
1 192.168.2.1 (192.168.2.1) 0.877 ms 1.048 ms 1.381 ms

But in host I can traceroute amazon

minime:~ rbiondi$ traceroute www.amazon.com
traceroute to www.amazon.com (72.21.210.250), 64 hops max, 52 byte packets
1 192.168.0.1 (192.168.0.1) 31.588 ms 1.177 ms 1.414 ms
...

Any suggestion why? It seems to me a DNS issue, because I can trace amazon ip

[root@kindle root]# traceroute 72.21.210.250
traceroute to 72.21.210.250 (72.21.210.250), 30 hops max, 38 byte packets
1 192.168.2.1 (192.168.2.1) 1.491 ms 1.083 ms 0.590 ms

Thank you for your help and sorry disturb discussion.

Best regards
rbiondi is offline   Reply With Quote
Old 11-29-2009, 05:41 PM   #158
jyavenard
Zealot
jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.jyavenard has a complete set of Star Wars action figures.
 
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
Quote:
Originally Posted by rbiondi View Post
Any suggestion why? It seems to me a DNS issue, because I can trace amazon ip

[root@kindle root]# traceroute 72.21.210.250
traceroute to 72.21.210.250 (72.21.210.250), 30 hops max, 38 byte packets
1 192.168.2.1 (192.168.2.1) 1.491 ms 1.083 ms 0.590 ms

Thank you for your help and sorry disturb discussion.

Best regards
Read the thread , it has all been answered.

run the script /mnt/us/usbnet/bin/usbnet-enable
jyavenard is offline   Reply With Quote
Old 11-30-2009, 08:34 AM   #159
yfs
Junior Member
yfs began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2009
Device: Kindle DX
sftp function?

Quote:
Originally Posted by jyavenard View Post
I've updated the package; recompiling dropbear to support scp.
http://www.avenard.org/kindle2/usbnetwork23-0.10.tar.gz

ssh/scp from and to the kindle will now work automatically.
I may add rsync if people think it may be useful...
I confirm the scp is working perfectly now. Thanks! Would it be possible to have ftp function so it will be even easier to copy files to kindle with a filemanager?

Again, great work!

Last edited by yfs; 11-30-2009 at 08:43 AM. Reason: dropbear sftp seems not possible, it requires openssh-sftp-server
yfs is offline   Reply With Quote
Old 12-04-2009, 01:14 PM   #160
hippocratesnoah
Enthusiast
hippocratesnoah began at the beginning.
 
Posts: 25
Karma: 16
Join Date: Jul 2009
Device: Kindle DX
Quote:
Originally Posted by bhushan View Post
Hi All, Thanks for very informative site and forum. Specially thanks to jyavenard for all the help. Hippocratesnoah, I am facing same problem as you. Somehow the checksum for my framework.mario.conf is failing during update to 2.3.
Would you have a copy of your framework.mario.conf file which finally worked ?
Hi,

as my message said it was NOT the replacement of the framework but the command "run /mnt/us/usbnetwork/usbnet-disable" which finally made me update my KindleDX to version 2.3.

I tried to update the framework before I did run that command and faced again a checksum error. However: One never knows. So here is the framework file I used.

framework.mario.conf.tar.gz
hippocratesnoah is offline   Reply With Quote
Old 12-05-2009, 05:10 AM   #161
cocoqu
Junior Member
cocoqu began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2009
Device: kindle2
My kindle2i is updated to latered version 2.3
And installed usbnetwork0.10 successfully.
But after using telnet/ssh/scp, the connection will be reset at about 100 seconds every time.
I tried using Putty/Win SCP at windows, ubuntu linux. Still the same error.

'Software caused connection abort' (Putty/Win SCP, tried keepalive option)
Connection reset by peer. (Ubuntu)
Would anyone help? Thanks!
cocoqu is offline   Reply With Quote
Old 12-05-2009, 06:24 AM   #162
yfs
Junior Member
yfs began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2009
Device: Kindle DX
Quote:
Originally Posted by cocoqu View Post
My kindle2i is updated to latered version 2.3
And installed usbnetwork0.10 successfully.
But after using telnet/ssh/scp, the connection will be reset at about 100 seconds every time.
I tried using Putty/Win SCP at windows, ubuntu linux. Still the same error.

'Software caused connection abort' (Putty/Win SCP, tried keepalive option)
Connection reset by peer. (Ubuntu)
Would anyone help? Thanks!
I noticed the same problem with my kindle dx. The only way I can get it through is to turn wireless on and keep browing amazon store. That way the ssh session will not be kicked out at least for 15 minutes. Perhaps this has something to do with the linux system setup?
yfs is offline   Reply With Quote
Old 12-05-2009, 07:02 AM   #163
freezer2k
Enthusiast
freezer2k doesn't litterfreezer2k doesn't litter
 
Posts: 38
Karma: 154
Join Date: Dec 2009
Device: Kindle 2 intl.
Had the same issue.

Never got toally rid of it using telnet, but if i run:

/etc/init.d/Netwatchd stop

at least ssh is stable. It stays connected for hours, even if the kindle puts itself into sleep/standby.
freezer2k is offline   Reply With Quote
Old 12-07-2009, 10:07 AM   #164
bhushan
Junior Member
bhushan began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2009
Device: Kindle 2
Smile

Quote:
Originally Posted by hippocratesnoah View Post
Hi,

as my message said it was NOT the replacement of the framework but the command "run /mnt/us/usbnetwork/usbnet-disable" which finally made me update my KindleDX to version 2.3.

I tried to update the framework before I did run that command and faced again a checksum error. However: One never knows. So here is the framework file I used.

Attachment 40709
Thanks hippocratesnoah. I found that there was an additional space on WAN : true line in the file. Once the space was removed, kindle updated successfully
bhushan is offline   Reply With Quote
Old 12-13-2009, 05:56 AM   #165
AURMEL
Junior Member
AURMEL began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2009
Device: Kindle 2i
HELP : Can't get ssh/telnet to work on Kindle 2 i

Gents,

I am running nuts here ... I did the usbnetwork update on my Kindle 2 I - no problem.
The update log is showing everything og and I can ping the Kindle.
But if I am trying to telnet or ssh across - the Kindle is refusing connection.

I did a ps -ef and there I see the usbnetwork service running twice :

root 3535 2 0 Dec11 ? 00:00:00 [ksuspend_usbd]
root 3538 2 0 Dec11 ? 00:00:00 [khubd]
root 3826 2658 0 Dec11 ? 00:00:00 /usr/sbin/watchdogd -f
root 22251 1 0 16:19 ? 00:00:00 /usr/sbin/pppd call peer-3
root 22350 3474 2 16:19 ? 00:00:00 /bin/sh /usr/sbin/usbnetwork
root 22351 22350 1 16:19 ? 00:00:00 /bin/sh /test/bin/usbnetwork
root 22371 1 0 16:19 ? 00:00:00 /mnt/us/usbnet/bin/busybox telnetd
root 22377 1 0 16:19 ? 00:00:00 /usr/bin/dropbear

Does anybody in the audience experienced a similiar issue ?
AURMEL is offline   Reply With Quote
Reply

Tags
kindle usb network

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Networking on Mac OS? DairyKnight Kindle Developer's Corner 19 07-02-2012 04:19 PM
Hacks Kindle 3 USB Networking n10 Amazon Kindle 2 10-11-2010 09:29 PM
Firmware Update USB networking for 2.5? dd_engi Amazon Kindle 9 05-09-2010 06:45 AM
Is there any way to remove USB networking hack? aghazi Kindle Developer's Corner 4 11-27-2009 07:35 PM


All times are GMT -4. The time now is 04:29 AM.


MobileRead.com is a privately owned, operated and funded community.