Parkydr said:
Set "Menu Extension" to "ON" to get the other options
Ah-ha! Cheers for that. I should have done my homework and read
this... At least now I can also prevent SD card wear-out
For any other (non-linux) newbs reading who would like to mount a folder (as shared on your PC) onto your GP2X (via Samba on the GP2X), you can do the following. I assume here that you've already read Andrew's blog and can get a terminal session open to your GP2X:
- Get the ARM Samba client from here
- Start up the Samba server on the GP2X
- Browse to \\gp2x in Windows Explorer or similar
- Copy the contents of the above zip file to the root of your GP2X, overwriting if Windows asks you to
- Once logged in to your GP2X via telnet, type "insmod smbfs" at the shell to install the samba filesystem module
- You're then free to mount any shares you may have on your host PC - simply type something like "smbmount //192.168.1.1/gp2x /mnt/sd/" at the shell, depending on your networking/share setup.
Also, for proper game testing while telnet'd in, be sure to "killall gp2xmenu" at the shell, or else when you start a program via telnet the menu will still have input focus, as well as try attempt to compete for the screen.
To start a program from the telnet shell simply type something similar to the following on the command line:
CODE
cd /mnt/sd/myprogramdir/
./myprogram.gpe
You should see any text sent to standard out/standard error on the terminal - the program should start as normal on your GP2X, with all the usual graphical output going to the GP2X's screen. If you want to terminate the application without quiting properly (e.g. the program has hung or something) you can try hitting Ctrl+C in the terminal. If that fails, you might need to start another command window, telnet into your GP2X again, and then type
CODE
killall myprogram.gpe
If that did nothing and the first terminal has still not dropped back out to the the command prompt, you might need to do the more drastic:
CODE
killall -9 myprogram.gpe
More info on the Samba stuff available, as always, on
the wiki.
HTH!
Hi
I am trying to do samba stuff with my gp2x (firmware 2.1.1) and am having troubles (WinXP SP2).
I have enabled samba server and ftp/telnet in the menu.
I can FTP/telnet in just fine but I can't seem to access it via samba
I have tried \\<gp2x ip address> and this doesn't work.
I have also tried \\gp2x which doesn't work for me either.
I have even tried installing the ARM samba client (via FTP) so I can try some windows shared stuff but am getting errors...see below:
[root@gp2x root]$insmod smbfs
Using /lib/modules/2.4.25/kernel/smbfs.o
[root@gp2x root]$
[root@gp2x root]$smbmount //10.10.2.92/gp2x /mnt/ext
sh: /usr/bin/smbmount: Permission denied
10.10.2.92 is the internal ip of my computer and gp2x is a shared folder 'c:\gp2x' I have made.
/mnt/ext does exist on the gp2x...
I have even turned off simple file sharing to see if this helps but to no avail
any ideas?
cheers,
Paul.