Lobo
Active Member
- Joined
- May 9, 2006
- Messages
- 527
I'm trying to get my GP2X to connect to a windows share, but I want to do a script to automate the process a little. Note that if I input the exact same instructions while connected via Telnet it works perfectly, I just can't get the script right.
I've got this in a GPU but it doesn't seem to be working:
#!/bin/sh
$/sbin/insmod smbfs
$mkdir /mnt/ext
$smbmount //192.168.0.20/ISOs /mnt/ext -o password=MySuperPass
cd /mnt/sd/gmenu2x
exec ./gmenu2x
BTW, I manually turn on USB networking and SAMBA/Telnet etc in the settings menu prior to launching my script.
I've got this in a GPU but it doesn't seem to be working:
#!/bin/sh
$/sbin/insmod smbfs
$mkdir /mnt/ext
$smbmount //192.168.0.20/ISOs /mnt/ext -o password=MySuperPass
cd /mnt/sd/gmenu2x
exec ./gmenu2x
BTW, I manually turn on USB networking and SAMBA/Telnet etc in the settings menu prior to launching my script.