View Single Post
Posts: 256 | Thanked: 92 times | Joined on Oct 2010
#246
Originally Posted by decibyte View Post
I'm confused... Should this be added to /etc/network/interfaces on the phone ubuntu or the pc ubuntu?
you need it on both. manually:
on the pc:
Code:
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
on the phone:

Code:
auto usb0
iface usb0 inet static
address 192.168.0.201
netmask 255.255.255.0
gateway 192.168.0.200
change the ip to what suits you and use the pc's ip as gateway.

and then you pull the interface on both machines up with
Code:
# ifup usb0
finally you need the g_nokia loaded on the phone and on the pc the rsp. gadget driver(eg: cdc_ether, g_ether, cdc_xxx).

you can put it into rc.local if you have no keyboard.
like that:
modprobe g_nokia

Last edited by lunat; 2010-10-26 at 19:57.