Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://www.mobileread.com/forums/archive/index.php/t-60006.html
- 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.
- 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,nam e=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 [email protected] 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.
- #############################
- Timestorm
- 02-15-2010, 07:56 PM
- 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.
- Netroman
- 02-18-2010, 01:12 PM
- @ Timestorm: Good work!:D
- 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:cool:
- #########################
- 10-26-2010, 02:44 PM
- I succeeded changing amazon's SIM card in my kindle dx graphite to my local GSM provider's sim and getting online :)
- this is what I did:
- 1. changed sim card in kindle
- 2. commented these lines in /opt/amazon/ebook/config/browser_prefs
- #settings.proxy.hostname = fints-g7g.amazon.com
- #settings.proxy.portnumber = 80
- #settings.proxy.sslportnumber = 80
- btw, if you don't want your kindle to be recognized online as mobile device, change browser identification string in the same file to smt like this:
- user_agent.base = Mozilla/4.0 (compatible; Linux 2.6.22)
- 3. changed DNS server's ip addresses to my GSM provider's in /etc/resolv.d/resolf.conf.3
- 4. changed some settings in /etc/ppp/chat/connect-3 to be compagtible with my GSM provider's settings (dialing number and AT+CGDCONT connection string)
- 5. rebooted kindle and thats it! internet worked :)
Advertisement
Add Comment
Please, Sign In to add comment