The Following 2 Users Say Thank You to Ketilk For This Useful Post: | ||
|
2011-12-31
, 20:15
|
Posts: 55 |
Thanked: 14 times |
Joined on Dec 2011
|
#2
|
|
2012-01-01
, 21:50
|
|
Posts: 400 |
Thanked: 708 times |
Joined on Jun 2011
@ Geneva - CH
|
#3
|
|
2012-01-03
, 16:12
|
Moderator |
Posts: 5,320 |
Thanked: 4,464 times |
Joined on Oct 2009
|
#4
|
|
2012-04-15
, 02:31
|
|
Posts: 52 |
Thanked: 19 times |
Joined on Jan 2010
|
#5
|
I would rather not have to activate edge/3G/WiFi in order to make what I describe here work. Do anyone have any pointers to where to begin if I want to stop the GUI applications from wanting me to connect to Internet with an official method?
This will not activate Internet on your gui applications. Ping, apt-get and other command line tools work though. If you want to use GUI applications you have to etablish a connection from the "Connect to Internet"-app(or widget or whatever it's called) and then remove the routing information like this:
This code will remove the latest default route added. You can remove all routes with repeating that command and re-run ifthat does not workCode:route del defaultCode:route add default gw 192.168.2.14
|
2012-04-15
, 02:34
|
|
Posts: 52 |
Thanked: 19 times |
Joined on Jan 2010
|
#6
|
|
2012-04-15
, 10:10
|
Posts: 56 |
Thanked: 107 times |
Joined on Jul 2011
|
#7
|
Care to explain a bit more? The only "Connect to Internet" thingamabob I'm aware of is for connecting to WIFI networks? Not really getting this GUI part... I can ping thou
route del default
route add default gw 192.168.2.14
|
2012-04-15
, 13:43
|
|
Posts: 52 |
Thanked: 19 times |
Joined on Jan 2010
|
#8
|
|
2012-04-15
, 15:00
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#9
|
Thank you Vaterix, now I understand... The way around this is quite amusing.
But I'm not comfortable with the fact that if I connect to my mobile operators 3G connection and I'm not fast enough in turning the routing off it will immediately start blasting downloads and sucking credits off my phone.
In this case I have a WIFI connection I can use. But other than that, is there a more solid solution?
This is the description of how I connected my phone to the Internet using the micro-USB on my Nokia N9. I am only describing phone->linux, but you can find more information on the host side here. Windows, Mac, and different linux tools is described there.
1. Connect USB between the phone and the computer. Choose SDK-mode
2. Activate your usb-network interface in linux. I did this:
4. Add routing info. You do not have to be root(I don't know if you can do it as "root").
Last edited by Ketilk; 2012-01-01 at 00:29. Reason: Title could be confused with sharing the opposite direction.