|
2011-11-14
, 23:25
|
Posts: 31 |
Thanked: 16 times |
Joined on Mar 2010
|
#2
|
|
2011-11-15
, 00:45
|
Posts: 170 |
Thanked: 75 times |
Joined on Jun 2008
@ NYC
|
#3
|
I'm not at a computer where I have access to change my routing tables but you can try the following. However, I highly doubt that forwarding is enabled in the stock kernel. Also, please know how to revert these changes before trying them.
On mac
route change default 192.168.2.15
On N9
echo 1 > /proc/sys/net/ipv4/ip_forward
|
2011-11-15
, 06:31
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#4
|
Hey guys, I'm pretty sure it's not hard to route internet from the N9 to linux via USB set to SDK.
[...]
On N9:
#ip route add 192.168.2.15 gw.....
# route del default # route add default gw 192.168.2.15
|
2011-11-15
, 07:30
|
Posts: 31 |
Thanked: 16 times |
Joined on Mar 2010
|
#5
|
|
2011-11-15
, 07:33
|
Posts: 31 |
Thanked: 16 times |
Joined on Mar 2010
|
#6
|
|
2011-11-16
, 02:28
|
Posts: 170 |
Thanked: 75 times |
Joined on Jun 2008
@ NYC
|
#7
|
The routes are already setup on the N9. It has a route to the internet through gprs0 and it has a route to your mac over usb0. What it won't do without forwarding is actually forwarding packets between those two interfaces.
|
2011-11-16
, 09:07
|
Posts: 31 |
Thanked: 16 times |
Joined on Mar 2010
|
#8
|
|
2011-12-05
, 12:59
|
Posts: 1 |
Thanked: 0 times |
Joined on Dec 2011
|
#9
|
|
2011-12-05
, 13:12
|
Moderator |
Posts: 5,320 |
Thanked: 4,464 times |
Joined on Oct 2009
|
#10
|
I usually connect via wifi hotspot and always charge it via usb because of battery drain. Isn't it easy to just route packets from the N9 over usb?
Actually, it may be harder because I'm on Mac, but possibly not.
something like,
On mac:
#route add 192.168.2.14 localhost
On N9:
#ip route add 192.168.2.15 gw.....
I'm not exactly sure.
Thanks!