dodgyville
Member
Hello,
I have a piece of code that is basically:
sock = urllib.urlopen("http://www.google.com")
htmlSource = sock.read()
but I would have no idea how to set up my gp2x so that it has an active connection to the internet via my usb cable.
There is a page in the wiki in French called "Internet USB Cable" that appears to be what I want, but it is for windows only (I run linux) and the translation is good, but not great.
I think it is something like:
On gp2x: In menu put usb network in ON position
set IP: 192.168.3.5 (for example)
On your computer: choose an address IP for your computer similar to your gp2x address - for example 192.168.3.10.
On gp2x: route add default gw 192.168.3.10 usb0
Should be able to ping now?
However, I wouldn't know how to setup the desktop side of the network.
Anyone know a step-by-step in English?
EDIT: There's also the wiki entry ip_over_usb, but once again the crucial PC step is for windows.
EDIT2: There's a page on how to get the Zaurus pda working with similar stuff at http://openzaurus.org/wordpress/howto/usb-networking/
Thanks,
Luke
I have a piece of code that is basically:
sock = urllib.urlopen("http://www.google.com")
htmlSource = sock.read()
but I would have no idea how to set up my gp2x so that it has an active connection to the internet via my usb cable.
There is a page in the wiki in French called "Internet USB Cable" that appears to be what I want, but it is for windows only (I run linux) and the translation is good, but not great.
I think it is something like:
On gp2x: In menu put usb network in ON position
set IP: 192.168.3.5 (for example)
On your computer: choose an address IP for your computer similar to your gp2x address - for example 192.168.3.10.
On gp2x: route add default gw 192.168.3.10 usb0
Should be able to ping now?
However, I wouldn't know how to setup the desktop side of the network.
Anyone know a step-by-step in English?
EDIT: There's also the wiki entry ip_over_usb, but once again the crucial PC step is for windows.
EDIT2: There's a page on how to get the Zaurus pda working with similar stuff at http://openzaurus.org/wordpress/howto/usb-networking/
Thanks,
Luke