Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2009, 01:42 PM   #16
wayner
Connoisseur
wayner began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Nov 2009
Location: Toronto
Device: Kindle 2 in Canada, iPad wifi only
Quote:
Originally Posted by HarryT View Post
Come on, guys. Start messing around with the proxy and the inevitable result will be no free internet access to anything for anyone. Is it really worth it?
If people get greedy then yes, you are right. But if you just use it for a limited amount of web service then it is not a big deal. It would also be nice to be able to download books from Project Gutenberg (and other free books sites) without using your PC.

Don't forget that you can (legally) use your Kindle 2 to access Wikipedia. What's the difference between acessing Wikipedia and using a limited amount of other web services - I might even use less bandwidth than someone who uses Wikipedia a lot.
wayner is offline   Reply With Quote
Old 02-06-2010, 02:41 PM   #17
luizrenault
Junior Member
luizrenault began at the beginning.
 
Posts: 2
Karma: 12
Join Date: Jan 2010
Device: Kindle DXi
Thumbs up Successfully connected using another sim card.

Hi. Today I decided to lose my warrant and opened my DXi.

Changed SIM card to a Claro-3G (Brazil).
After some trying, mounted --bind the /etc/ppp and successfully made a PPP connection.

Code:
100206:153750 pppd[19919]: pppd 2.4.4 started by root, uid 0
100206:153751 chat[19925]: timeout set to 60 seconds
100206:153751 chat[19925]: abort on (BUSY)
100206:153751 chat[19925]: abort on (ERROR)
100206:153751 chat[19925]: abort on (NO ANSWER)
100206:153751 chat[19925]: abort on (NO CARRIER)
100206:153751 chat[19925]: send (AT^M)
100206:153751 chat[19925]: expect (OK)
100206:153751 chat[19925]: AT^M^M
100206:153751 chat[19925]: OK
100206:153751 chat[19925]:  -- got it
100206:153751 chat[19925]: send (AT+CGDCONT=1,"IP","claro.com.br","",0,0^M)
100206:153751 chat[19925]: expect (OK)
100206:153751 chat[19925]: ^M
100206:153751 chat[19925]: AT+CGDCONT=1,"IP","claro.com.br","",0,0^M^M
100206:153751 chat[19925]: OK
100206:153751 chat[19925]:  -- got it
100206:153751 chat[19925]: send (ATD*99***1#^M)
100206:153751 chat[19925]: expect (CONNECT)
100206:153751 chat[19925]: ^M
100206:153751 chat[19925]: ATD*99***1#^M^M
100206:153751 chat[19925]: CONNECT
100206:153751 chat[19925]:  -- got it
100206:153751 chat[19925]: send (\d)
100206:153752 pppd[19919]: Serial connection established.
100206:153752 pppd[19919]: Using interface ppp0
100206:153752 pppd[19919]: Connect: ppp0 <--> /dev/tts/USB0
100206:153753 pppd[19919]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
100206:153753 pppd[19919]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
100206:153753 pppd[19919]: CHAP authentication succeeded
100206:153753 pppd[19919]: CHAP authentication succeeded
100206:153756 pppd[19919]: Could not determine remote IP address: defaulting to xxx.xxx.64.64
100206:153756 pppd[19919]: local  IP address xxx.xxx.1.236
100206:153756 pppd[19919]: remote IP address xxx.xxx.64.64
100206:153756 system: I ip-up:def: PPP interface up ppp0 /dev/tts/USB0 230400 xxx.xxx.1.236 xxx.xxx.64.64
100206:153757 wand[18963]: I lipc:evts:name=dataStateChanged, origin=com.lab126.wan, fparam=1:Event sent
100206:153757 wand[18963]: I def:wdstate:state=dataStateAvailable:wan data state change
100206:153757 wand[18963]: I def:pctim:numSecs=8,retries=0:ppp connect info
100206:153757 cvm[18325]: I LipcService:EventArrived:source=com.lab126.wan,name=dataStateChanged,arg0=1:
It's pinging any valid host.
Also mounted /opt/amazon/ebook/config to change the proxy settings.

Now I got web-browsing.
It also downloads amazon converted files from user@kindle.com the same way. And still charging 99 cents per mb.

The reason i'm doing this is because amazon don't even offer a paid option to use web browser in my country.

Cheers

Luiz Renault
luizrenault is offline   Reply With Quote
Advert
Old 02-14-2010, 05:48 AM   #18
Netroman
Junior Member
Netroman began at the beginning.
 
Posts: 6
Karma: 12
Join Date: Feb 2010
Device: Kindle DXi (international)
Smile Good work!

Well - very good!
This is what i first wanted to change because i live in austria an don't want to pay hundreds of $ for transferring files and additional i would like to surf in net sometimes.

Please could you describe exactly how to do

1. change the chatscript
2. change the proxysettings (mario.conf file?)
3. start pppd with command ???

Thx in advance. Maybe we can write a little tutorial for all the other users who want this to?

Much thx in advance

Josh
Netroman is offline   Reply With Quote
Old 02-14-2010, 07:10 AM   #19
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
This really isn't the kind of thing that's appropriate to post to MR. Please don't.

Thanks,

[Moderator]
HarryT is offline   Reply With Quote
Old 02-14-2010, 08:06 AM   #20
Netroman
Junior Member
Netroman began at the beginning.
 
Posts: 6
Karma: 12
Join Date: Feb 2010
Device: Kindle DXi (international)
Question

@HarryT:

But I meant only a tutorial in case of using a own different SIM-Card we are paying for - and of course NOT using Amazons SIM-Card (AT&T) without paying.

If i only could use a given SIM-Card and only use the Kindle as the manufacturer wants me to - there is no use for me outside the US...

Not very much people will buy this item because of this conditions. Otherwise if they can use the Kindle with there own SIM it would get much more attractive.

No one really wants a Ebook-Reader for hundreds of $ only to use it for restricted content and so on.

But if in this forum it is not allowed maybe i found the wrong place for development/modding suggestions... I only must know if so?

Best regards Josh
Netroman is offline   Reply With Quote
Advert
Old 02-14-2010, 08:18 AM   #21
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
I'll check on it with Alex, the board owner, and get back to you. In the mean time, I'd appreciate it if you'd refrain from posting detailed instructions.

Thanks.
HarryT is offline   Reply With Quote
Old 02-14-2010, 08:41 AM   #22
Netroman
Junior Member
Netroman began at the beginning.
 
Posts: 6
Karma: 12
Join Date: Feb 2010
Device: Kindle DXi (international)
Smile

Yes, thanks in the meantime!
Netroman is offline   Reply With Quote
Old 02-15-2010, 09:22 AM   #23
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
I've had a chat with Alex about this, and it's fine to post the information, provided that it doesn't include any details which could be used to "jailbreak" the proxy restrictions of Amazon's own SIM card. If that's the case, please go ahead and post it.

Thanks,
HarryT is offline   Reply With Quote
Old 02-15-2010, 09:34 AM   #24
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,387
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
deleted
JSWolf is offline   Reply With Quote
Old 02-15-2010, 06:15 PM   #25
kindx
Member
kindx began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2010
Device: kindle dxi
Quote:
Originally Posted by luizrenault View Post
Hi. Today I decided to lose my warrant and opened my DXi.
Luiz Renault
Hi Luiz,

how did you enabled the usb?
I would like to use the usb for an internal hub and some fine stuff like USB-Stick / BT / WIFI.

thx
kindx
kindx is offline   Reply With Quote
Old 02-15-2010, 09:56 PM   #26
Timestorm
Junior Member
Timestorm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2010
Device: Kindle DXi
Wink SIM Change Instructions

You must have shell access to the kindle to preform these steps.
You should also backup all files before you edit them!

1.) Open your Kindle and switch with your own SIM card.
2.) Open '/etc/ppp/chatscripts/att-connect' with your favorite text editor.
3.) Edit the amazon APN to your service providers APN
4.) Save and Close
5.) Move the symbolic link '/etc/resolv.conf' to '/etc/resolv.conf.bk'
6.) Copy '/var/run/resolv.conf' to '/etc/resolv.conf'
7.) Open '/etc/resolv.conf' and replace the nameserver IPs with those from your service providers.
8.) Save and Close
9.) Open '/opt/amazon/ebook/config/browser_prefs'
10.) Place a # in from of the three proxy lines.
11.) Save and Close
12.) Restart your kindle.

Im sorry theres not more detail as I am currently at work and am repeating from memory as I do not have access to my Kindle. In about 10 hours I will post more elaborate directions.

Last edited by Timestorm; 02-15-2010 at 10:08 PM.
Timestorm is offline   Reply With Quote
Old 02-18-2010, 03:12 PM   #27
Netroman
Junior Member
Netroman began at the beginning.
 
Posts: 6
Karma: 12
Join Date: Feb 2010
Device: Kindle DXi (international)
Cool Good Work!

@ Timestorm: Good work!

I additionally removed the Startup-Sequence "S50wan" at /etc/rc5.d because I killed a SIM-Card - after a time it stopped working and had to be replaced.
I guess the reason could be that S50wan (resp. /etc/init.d/wan) starts and stops the modem - maybe the SIM was killed by often switching on and off.
Also this removed the modem-update sequence as the firmware of the modem is up to date and no need for further updates this time for me.

Additional removed S50updater at runlevel 3 (/etc/rc3.d) - because at this time I made a lot of modifications to the filesystem and updates would fail anyway.
Why?
Updates check the md5-hash and there is a very good reason for this: Not because of secrets or similar - no - the solution is that updates are made mostly by patching. An if you would patch modified files they could become unusable...

At least today I mounted a plug at the top of the kindle to easily access the serial-port for debugging purposes ;-)

Well as far as good - have fun!

Best regards Josh
Netroman is offline   Reply With Quote
Old 02-19-2010, 10:06 PM   #28
Timestorm
Junior Member
Timestorm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2010
Device: Kindle DXi
Thanks, It was just something to do... Took about an hour and a half to get everything working perfectly. After working with the Neo1973 (Openmoko Linux Phone) I quickly learned how to get a linux device with pppd to setup a network connection to my service provider.
Timestorm is offline   Reply With Quote
Old 02-21-2010, 01:45 PM   #29
norrbaggen
Junior Member
norrbaggen began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2010
Device: Kindle 2i
How do I get root shell access on my kindle 2i?
norrbaggen is offline   Reply With Quote
Old 07-11-2010, 10:33 PM   #30
JustKB
Junior Member
JustKB began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2010
Device: kindle
Please, can someone write instruction for Kindle 2i?
I tried to do like Timestorm says, but '/etc/ppp/chatscripts/att-connect' not exist and '/etc/resolv.conf' is empty. I changed '/opt/amazon/ebook/config/browser_prefs' but it's not helping.
JustKB is offline   Reply With Quote
Reply

Tags
kindle modifications


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon Kindle Intl Screen Problem Glydez Amazon Kindle 4 12-25-2009 10:03 AM
Kindle Intl seems have solved right align problem rfog Amazon Kindle 0 10-26-2009 01:49 PM
Intl Kindle font contrast bigger than US rfog Amazon Kindle 7 10-26-2009 11:13 AM
kindle 2 found to have room for a SIM ahammer News 2 02-24-2009 08:38 PM


All times are GMT -4. The time now is 12:54 PM.


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