I've setup the usbnet_on file, but when I execute it, the GP2X hangs at a black screen. Does anyone know why or how to fix it? Here's my usbnet_on file:
Code:
#!/bin/sh
# GP2X IP Setting
export IP="192.168.1.58"
# Host PC IP Setting(if using internet over usb)
export GATEWAY="192.168.1.53"
#--------------------------------------------------
# Driver install...
modprobe net2272
insmod g_ether.o
# IP Setting...
ifconfig usb0 "$IP"
ifconfig lo 127.0.0.1
# Run Samba Daemon
smbd
nmbd
# Run Inet Daemon(for Telnet Daemon)
/etc/rc.d/init.d/inet start
# Gateway Setting...
route add default gw "$GATEWAY"
rdate -s time.bora.net &
# Return Menu
cd /usr/gp2x
exec ./gp2xmenu