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 08-13-2014, 07:03 PM   #1
dfect
Member
dfect began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jul 2014
Device: Kobo Glo, Kindle DXG
Internet via USB (PC gateway) isnt acceptable with web browser in Kindle DXG

Go stuck in allowing the web-browser to NOT go thru 3g-radio.

I used this guide to be able to use the web-browser for more than amazons site (google is blocked in sweden via 3g).

http://aming-blog.blogspot.se/2010/0...tethering.html

Got everything to work thru terminal, with DNS and gateway:

[root@kindle root]# route add default gw 192.168.2.1
[root@kindle root]# ip route
192.168.2.0/24 dev usb0 src 192.168.2.2
default via 192.168.2.1 dev usb0

[root@kindle root]# ping www.google.se
PING www.google.se (109.105.109.234): 56 data bytes
64 bytes from 109.105.109.234: seq=0 ttl=49 time=4.447 ms

But still nothing happens when trying web-browser in kindle.

I've tried both with 3g enabled and not activated.

I suspect this line will enable gateway via LAN (USB)

# vi /opt/amazon/ebook/config/framework.mario.conf
change the line:
USE_WAN : true
into:
USE_WAN : false

in 3.2.1 its called framework_luigi.conf (should be same?)

Still nothing.

- Could it still trying to go via proxy?

Last edited by WT Sharpe; 08-14-2014 at 01:33 PM. Reason: I made a mistake. OP was in the right.
dfect is offline   Reply With Quote
Old 08-13-2014, 07:14 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
What changes did you make to your routing tables and iptables?

Last edited by knc1; 08-14-2014 at 02:07 PM.
knc1 is offline   Reply With Quote
Advert
Old 08-13-2014, 07:24 PM   #3
WT Sharpe
Bah, humbug!
WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.
 
WT Sharpe's Avatar
 
Posts: 39,072
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
Moderator Notice
Don't steal 3G from Amazon.

See below.

Last edited by WT Sharpe; 08-18-2014 at 08:53 PM.
WT Sharpe is offline   Reply With Quote
Old 08-14-2014, 01:35 PM   #4
WT Sharpe
Bah, humbug!
WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.
 
WT Sharpe's Avatar
 
Posts: 39,072
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
Please ignore the moderator warning above. I was in error, and humbly apologize to dfect.
WT Sharpe is offline   Reply With Quote
Old 08-15-2014, 03:36 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
There's a tethering script in the USBNetwork package. It's untested as hell, but should give you some ideas, at least.
NiLuJe is offline   Reply With Quote
Advert
Old 08-15-2014, 05:18 PM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Also some information on the subject as a comment in the KUAL BBB/Firewall.
knc1 is offline   Reply With Quote
Old 08-18-2014, 11:46 AM   #7
dfect
Member
dfect began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jul 2014
Device: Kobo Glo, Kindle DXG
Quote:
Originally Posted by knc1 View Post
What changes did you make to your routing tables and iptables?
I havn't touched that command. Could you give me some hints how to use it?

[root@kindle root]# iptables --list
FATAL: Module ip_tables not found.
iptables v1.3.8: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
dfect is offline   Reply With Quote
Old 08-18-2014, 12:34 PM   #8
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by dfect View Post
I havn't touched that command. Could you give me some hints how to use it?

[root@kindle root]# iptables --list
FATAL: Module ip_tables not found.
iptables v1.3.8: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
The cross-breed firmware, I think, includes its own kernel build.
You need to do two things :
Check that kernel's configuration (of the iptables section) ;
and
Check in the bastardized firmware image for the modules ;
(/lib/modules/kernel-version-string/sub-tree)

The firmware image needs to contain the modules from the **build of the executing kernel** - not those from some random kernel build.

The command:
uname -a
will give you the kernel version string, build number, and build date-time

modinfo full-path-and-file-name
will give you the similar information of a specific module.

Once you know which kernel is running
(The series 2.5, the series 3.x or a custom build)

Then you know which /lib/modules/ sub-tree to check

I still think you should re-install the stock 2.5.8 amazon firmware -
No reason to run the series 3.x firmware when you are using an add-in pdf reader.

As you posted, your only reason to run the series 3.x firmware was for the pdf handling, but now you are not using the series 3.x pdf handling.

Last edited by knc1; 08-18-2014 at 12:42 PM.
knc1 is offline   Reply With Quote
Old 11-17-2015, 12:41 PM   #9
e-ghost
Member
e-ghost began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Nov 2015
Device: Kindle DXF
Anyway I can stop this "turn on wifi" prompt? I got USB tethering work. Just need it do proceed. But everytime I denied the prompt, it will assume it has not internet connection and then cancel my request (go to store, register, using browser, etc)

I got a DXG with broken 3G module as well. So I want to use USB to let my DXG get on internet again. I also added default gateway so by now the DXG can ping to outside (e.g., google.com) without any problem. But if I want to run browser / visit amazone store / register (because I reset to factory before upgrade to 3.2.1), the system will ask me whether I want to turn on wifi (actually 3G to my case) as they thought wifi (3G) is the only way to get on internet for DXG. If I agree to turn on, since my 3G module was dead, nothing will happen. If I disagree, then it will immediate stop my action further.

Anyway I can stop this "turn on wifi" prompt? Thank you very much!

Last edited by e-ghost; 11-18-2015 at 03:18 AM.
e-ghost is offline   Reply With Quote
Old 03-24-2019, 03:37 AM   #10
stassk8
Member
stassk8 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Mar 2019
Device: kindle dxg, kindle pw3
hello, not solve this problem?
stassk8 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon Limiting 3G Internet Access via its Kindle Web Browser to 50 MB a Month AndrewH News 25 07-26-2012 01:53 PM
Kindle DXG -- share the computer's connection via USB? HansTWN Kindle Developer's Corner 1 01-20-2012 07:21 AM
Kindle Fire Web Browser will likely allow for web based games. sirmaru Kindle Fire 10 11-15-2011 02:55 PM
Any web-to-epub plugin for internet browser? bthoven ePub 7 07-10-2011 05:14 AM
Change browser font - Kindle DXG 2.5.5 anvarit Kindle Developer's Corner 1 09-14-2010 01:24 PM


All times are GMT -4. The time now is 02:29 PM.


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