LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (http://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   opie internet over usb mandriva 2009.0 (http://www.linuxquestions.org/questions/linux-mobile-81/opie-internet-over-usb-mandriva-2009-0-a-720207/)

secretlydead 04-19-2009 10:42 AM

opie internet over usb mandriva 2009.0
 
posting this here because i can't edit the opie wiki at handhelds.org.

how to connect opie to the internet over usb:

desktop/laptop opie is connected to: 10.0.0.1

on ipaq:

1.
set ip address as:
10.1.0.1
255.255.255.0
10.1.0.2
10.0.0.1

2.
plug in usb chord to box

on box:

from terminal:
3.
dmesg|tail -n 10
- you will see some information about usb0 (most likely) and the type of device, etc
4.
ifconfig usb0 up 10.1.0.2
(this ip address should be different from the one you're using on your ipaq
5.
ping 10.1.0.1

netstat -rn
should return something like this:
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 usb0

on ipaq
6.
ping 10.1.0.2
7.
make sure to have set your root password by using the 'passwd' command at the terminal

on box:
8.
ssh 10.1.0.1
(enter ipaq's root password)

9.
go to mandriva linux control center
-> network & internet
-> share the Internet connection with other local machines

on opie or on box where you have ssh'ed into opie
10.
ping google.com or something else to test internet connection.


All times are GMT -5. The time now is 08:20 AM.