|
2009-12-11
, 04:12
|
Posts: 15 |
Thanked: 15 times |
Joined on Dec 2009
@ Brisbane, Australia
|
#2
|
#!/bin/sh interface="$2" if [ "$interface" = "usb0" ]; then route delete default wlan0 route delete default gprs0 else if ping -c 1 192.168.2.14 >/dev/null 2>&1; then route delete default wlan0 route delete default gprs0 fi fi exit 0
The Following User Says Thank You to a1291762 For This Useful Post: | ||
|
2009-12-11
, 04:48
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2009
@ New Zealand
|
#3
|
|
2009-12-11
, 19:18
|
Posts: 162 |
Thanked: 351 times |
Joined on Apr 2006
@ Cotswolds, UK
|
#4
|
|
2009-12-13
, 22:59
|
Posts: 15 |
Thanked: 15 times |
Joined on Dec 2009
@ Brisbane, Australia
|
#5
|
|
2010-01-11
, 03:03
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2009
@ New Zealand
|
#6
|
|
2010-01-11
, 03:12
|
Posts: 474 |
Thanked: 283 times |
Joined on Oct 2009
@ Oxford, UK
|
#7
|
|
2010-01-11
, 04:09
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2009
@ New Zealand
|
#8
|
|
2010-01-11
, 04:18
|
Posts: 42 |
Thanked: 12 times |
Joined on Dec 2009
@ Kuopio, Finland
|
#9
|
|
2010-01-15
, 04:35
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2009
@ New Zealand
|
#10
|
This gets me a USB networking connection between the N900 and my desktop. I also setup the desktop to allow the N900 to connect out. Testing reveals that this is all working as it should:
- I can ssh from the desktop machine to the N900.
- I can ssh from the N900 to a machine elsewhere on the internet.
What I can't do though is use any GUI app that needs network access because Maemo thinks there is no network access. It wants me to select a network to connect to and if I don't pick one then none of the apps even try to connect.
Does anyone know how to fix this?
I think perhaps I need to instruct Maemo that there is a new type of network connection that it can use that isn't WLAN/3G/EDGE but I don't know how to do that.