USBNetwork utility

From Wiz Wiki
Jump to: navigation, search

[edit] Getting a tarball

Get the USBNetwork tarball from mercenary.net.

Unpack it to the gp2x wiz.

[edit] Using

Start the NetworkUp.gpe from the "Launcher" from the gp2x wiz menu. It will install kernel modules and configure device with 10.0.0.2/24 ip address and back to the gp2x wiz menu.

Connect gp2x wiz to a PC using the Wiz USB cable. You can see something like this in the dmesg output:

cdc_ether 2-1.2:1.0: usb0: register 'cdc_ether' at usb-0000:00:1d.0-1.2, CDC Ethernet Device, ba:01:0f:37:d6:1c

Configure the usb0 network interface:

~# ip address add dev eth0 local 10.0.0.1/24
~# ip link set dev eth0 up

Now, you can test your network with ping:

~# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_req=1 ttl=64 time=1.54 ms
64 bytes from 10.0.0.2: icmp_req=2 ttl=64 time=0.365 ms
^C
--- 10.0.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.365/0.955/1.546/0.591 ms

[edit] See also

USBNetwork has a good README.txt file.

Personal tools
View and edit namespaces data
Variants
Actions
Navigation
community
Toolbox