|
2008-06-07
, 23:55
|
|
Posts: 226 |
Thanked: 38 times |
Joined on May 2008
@ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
|
#12
|
That's a filesystem issue; you'll need to use a UNIX-like filesystem (like ext2) instead of VFAT. One option is to use GeraldKo's cloning stuff, but only go partway; that's the easy way to get all the drivers, partitioning tools, etc. at once...
|
2008-06-08
, 00:40
|
Posts: 425 |
Thanked: 132 times |
Joined on Mar 2008
@ California
|
#13
|
I've been reading that cloning thread, but it is at a high-altitude compared to my linux skills. I'd hate to screw up my N810 so early in the game.
The Following User Says Thank You to josiahg777 For This Useful Post: | ||
|
2008-06-08
, 01:14
|
Posts: 30 |
Thanked: 66 times |
Joined on Jun 2008
|
#14
|
Hi;
I know this is simplistic, but if I can somehow reformat the removable cart with ext2, and perhaps make some gentle changes in a config somewhere, can I then start to put bin files on the card and run then from there?
The Following User Says Thank You to Pebby For This Useful Post: | ||
|
2008-06-09
, 13:55
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#15
|
Hi;
Benson,thanks for this tip:
And thanks for being gentle - what was I thinking, trying to set *nix bits of a file on a non-*nix partition? (I'm a 'tard, again ...)
I've been reading that cloning thread, but it is at a high-altitude compared to my linux skills. I'd hate to screw up my N810 so early in the game.
This is not a big priority for me right now (I'm hot on the trail of my WPA problem) , but as I start to run out of memory on the internal card, it will be more urgent.
I know this is simplistic, but if I can somehow reformat the removable cart with ext2, and perhaps make some gentle changes in a config somewhere, can I then start to put bin files on the card and run then from there?
You mentioned "don't go all the way" ... heh - that reminds me of back seat of my Camaro years ago. If I get the cloning stuff into the back seat, will I be able to easily stop? A bit more detail would be wonderful.
TIA as always,
Steve
The Following User Says Thank You to Benson For This Useful Post: | ||
|
2008-06-09
, 18:19
|
|
Posts: 226 |
Thanked: 38 times |
Joined on May 2008
@ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
|
#16
|
I would recommend cloning to SD though, that's a lot easier and probably safer
In a terminal, do: vi /usr/sbin/mmc-mount (or however you like to edit text), then remove the comma-delimited settings in the mount line saying 'noexec' as well as the two settings regarding 'umask' and 'dmask'. This is safe because it falls back to default settings (full permission umask/dmask and 'exec' instead of 'noexec')
Try that if you're still unwilling to dive into the deep end
Absolutely; you can leave the card partitioned as-is, and do a mke2fs to "format" it ext2.
|
2008-06-09
, 19:30
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#17
|
The Following User Says Thank You to Benson For This Useful Post: | ||
|
2008-06-09
, 21:34
|
|
Posts: 226 |
Thanked: 38 times |
Joined on May 2008
@ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
|
#18
|
Nokia-N810-51-3:/usr/sbin# cat mmc-mount
#!/bin/sh
#set -e
#dosfsck -n "$1" 2> /dev/null
mount -t vfat -o rw,noauto,nodev,nosuid,utf8,uid=29999,shortname=mi xed,fmask=0133 "$1" "$2" > /dev/null
Nokia-N810-51-3:/media/mmc1/Apps/nmap-4.50/bin# ls -l
-rw-r--r-- 1 user root 963095 Dec 21 02:25 nmap
Nokia-N810-51-3:/media/mmc1/Apps/nmap-4.50/bin# chmod 777 nmap
Nokia-N810-51-3:/media/mmc1/Apps/nmap-4.50/bin# ls -l
-rw-r--r-- 1 user root 963095 Dec 21 02:25 nmap
Nokia-N810-51-3:/media/mmc1/Apps/nmap-4.50/bin# ./nmap
-sh: ./nmap: Permission denied
|
2008-06-10
, 01:17
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#19
|
|
2008-06-10
, 02:37
|
|
Posts: 226 |
Thanked: 38 times |
Joined on May 2008
@ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
|
#20
|
Nokia-N810-51-3:/media/mmc1/apps/nmap-4.50/bin# ls -l
-rwxr-xr-x 1 user root 963095 Dec 21 02:25 nmap
Nokia-N810-51-3:/media/mmc1/apps/nmap-4.50/bin# ./nmap -v -sS 192.168.100.1 > nmaptest
Nokia-N810-51-3:/media/mmc1/apps/nmap-4.50/bin# cat nmaptest
Starting Nmap 4.50 ( http://insecure.org ) at 2008-06-09 20:23 MDT
I
PORT STATE SERVICE
80/tcp open www
135/tcp filtered loc-srv
136/tcp filtered unknown
137/tcp filtered netbios-ns
138/tcp filtered netbios-dgm
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
~ $ root
BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
Nokia-N810-51-3:~# gconf-editor &
Nokia-N810-51-3:~# ps -ef | grep gconf
772 messagebus 3324 SW /usr/lib/gconf2/gconfd-2
1512 root 21596 SW gconf-editor
1514 root 1888 RW grep gconf
Nokia-N810-51-3:~#
Nokia-N810-51-3:~# ps -ef | grep gconf-editor
1546 user 21596 SW /usr/bin/gconf-editor
1550 root 1888 RW grep gconf-editor
Nokia-N810-51-3:~#
0. Download GNU tar from http://www.gnu.org/software/tar/#downloading
1. browsed the repos at http://repository.maemo.org/pool/chinook/ (adding the repository itself just made apt give me tons of errors) to find the .debs I needed to get a working gcc environment (I can list the .debs I used if anyone's interested, it's actually not too big when installed - maybe 25~35mb?)
2. Grabbed the 'make' from that same repository
3. Attempting to ./configure GNU-tar errored out on 'grep' (and, have you noticed how much our n810's 'grep' sucks? It literally doesn't even work as expected sometimes ), so I got GNU-grep (also from gnu.org), ./configure'd and 'make'd it, then copied it to /usr/local/bin/
4. Successfully ./configure'd and 'make'd GNU-tar and copied that into /usr/local/bin/
5. Exit and re-enter the shell (why is this? 'which tar' shows the new one I'm pointing at - I shouldn't have to re-enter the shell, should I?)
6. SUCCESS! I can tar xzf my .tar.gz files on the N810!
Maybe that was ridiculously overdone, but, on the plus side, I got my gcc and make set up along the way I also noted the tar I built is about 6x as big as the one in the .deb... I'm just going to assume that means it's 6 times better too Thanks for the assistance - I'll do my best to report my findings as well.