You are not logged in.
PS. I would like to know how people get on with this. Good Luck
Offline
Sudo XandrosFileManager allows you to read/write.... but NOT to execute. You can change the attributes all you want... the "X" will not take....
I was told that there is a 1.06 update that allows "x" for USB (not SD) but am awaiting details HOW he got to the 1.06 update
Offline
eeeusermike wrote:
Harrison - it is you who is confused. Since the latest set of upgrade patches to Linux, it has now started mounting the USB/SD drives as D:, E:, F: etc. ... effectively trying to make it look like windows. Previously it used to mount as /media/MMC-SD for example - now it mounts as D: on Linux. Strange, but true.... and yes - you can execute files on a USB flash or external USB hard drive, but not on the SD card.
Wow. Thanks. That sucks. Next thing you know, they'll install a bunch of virus backdoors, spyware, and maybe even Internet Exploder, just so that Windows users can feel more at home.
Offline
i mean on boot
Offline
Looks like I won't be doing updates! That or I will be the princess of F9!
Offline
eeeusermike wrote:
...and yes - you can execute files on a USB flash or external USB hard drive, but not on the SD card.
There must be a way of changing that.
For example : http://wiki.eeeuser.com/howto:sd_permissions
"...Or change MODE to “0777” to allow all users to read, write and execute..."
Have you tried this?
Edit : It seems that if you have the latest desktop upgrade from ASUS, the SD card no longer allows execute permission. So if you upgraded your desktop, I think you're in trouble...
Offline
Please reaad the wiki on the desktop update:
http://wiki.eeeuser.com/things_to_new_a … ew_desktop
If you have desktop 1.05 - here's all the bad news
Offline
I Just posted a working solution for the SD card problems for desktop upgraded EEEs to http://forum.eeeuser.com/viewtopic.php? … 17#p283317
Hope it helps!
Offline
Upgraded desktop. Oh why? Now I have disk labels like
D:
in Linux shell! I prefer the /media/USB fashion
How do I restore the settings?
Nothing works because the system changes ideas about disk labels. As soon as I stick something else, D: becomes E:
This is horrible and unnecessary. I received nothing but misery and it is written "upgrade". Now how do I get back, please someone???
Last edited by tarant8l (2008-06-13 5:35:33 pm)
Offline
How do I restore the settings?
Remove the updates.
I've gotten to the point that I look over the updates in synaptic and do not choose any of them.
I've updated openssl, because of a security flaw I read about and I updated FF from the default installed version to the only update ASUS has offered to 2.0.0.11; other than those two - nothing. Why? Because everything is working and I don't want it broken by ASUS. I do download things I want like a codec and a package or two but avoid updates that ASUS offers.
Offline
How do I remove the update(s)? No success till now, tried all I knew. Perhaps I need a detailed instruction. Where do I find it? If not here? The update changed the icons, now one does not tell disk from directory, and all looks like darn windose. Sometimes the outer keyboard demands another port and the outer mouse prefers one of its own. Luckily they do not prefer the SAME port. A second ago everything worked fine. What have I done? Asininely, I trusted the good upgrade... like WHAT HARM COULD THERE BE? Let us see what do they got for me here. I was stupid. Shall I F9 again? It takes days to put all together.
How do I get rid of D: and E: idiocies that do not work properly from the shell (sic) and mess up the system? What the hell did I push and install to be punished like this for my nosiness? I tried to determine and uninstall to no avail. anybody knows the problem with darn disks like I do not want D; and E; to show up at all???
I do not have windows. I have simple interface (F9, desisted so-called advanced interface, they can have it), little basic creepy icewm (no big use but no prob).
Why are we left to ourselves? I had issues. mailed like hell and nothing happened. They switch sevrers and leave the user alone. I am experienced enough to track them but the hell with that, I ma here and really interested in getting back my simplest interface (it works). I am satisfied with Netscape 0.93 and Slackware is luxury, so give us a basic start, we are no dummies, no need for D; and F: and E: thingies. Anybody got the same prob/solution???
Offline
I do not know how to look for the damn thing, neither I am synaptic expert. I upgraded from add-remove (add, remove does not exist there) icon.
??? did I install something like this ??? How do I know what was inside> It is official ASUS, Add-remove, I mean everybody will be tempted to click.
???
kernel-based automounter for Linux
Autofs controls the operation of the automount daemons. The
automount daemons automatically mount filesystems when they
are used and unmount them after a period of inactivity. This
is done based on a set of pre-configured maps.
The kernel automounter implements an almost complete SunOS
style automounter under Linux. Automounter version 4
(autofs4) has to be enabled when compiling the kernel.
Debian packaged kernels have it enabled.
Offline
How is this possible:
.
Edit : It seems that if you have the latest desktop upgrade from ASUS, the SD card no longer allows execute permission. So if you upgraded your desktop, I think you're in trouble...
We are in trouble if we trusted the manufacturer? How the hell do we UN-UPGRADE???
How do I downgrade without F9? The machine is now automated in random mode and you ca spend time guessing what the hell is it doing with ports and disks.
Offline
The SW code on my 8G model reads 1.0.6.6
Bios is 0404 dated 01/xx/08
Model reads as 702.
Build reads as 03/04/08
(note the upgrades to 1.04 and 1.05 desktops are dated 03/05/08 and 03/08/08 respectively.)
I have uninstalled SKYPE and Dictionalry from the +/- Software. No other changes made. Using hardwire ATT DSL... WiFi disabled/off including the modem/router QoS banwidth (default minimum 2%)
The workaround as vegassam says DOES NOT allow executibles to the Card Reader. I don't have sticks, so dunno about them. I'm going to stay in garage and not tinker with the card permissions on card.
One point I did not mention is that when asked for the three choices of File Manager, Movie, or sound, I hit the X and close the dialog box.
Offline
Hi,
First please, be cool with my english.
I have found an ugly solution to our problem. But it works, and... that's the goal.
The solution consists to patch the executable : usbstorageapplet.
Do do this I open a console and enter :
sudo cp /usr/bin/usbstorageapplet /usr/bin/_usbstorageapplet
This is to be able to retrieve the original file if a problem occurs.
Then we are going to edit the usbstorageapplet in a binary editor :
enter :
sudo vim -b /usr/bin/usbstorageapplet
This runs vim on binary files
Then push on / key.
The cursor goes down
enter vfat then return
The cursor shows the first occurence of vfat string.
go to the noxec word and while the cursor is on the n of noxec, push twice on x key
The no should be deleted
But as it is an executable, the size of the string is VERY important.
So replace the 2 chars no by 2 spaces. To do this push on i key and enter 2 spaces. Then leave insert mode with esc key.
Then replace by the same maner the following fmask=111 by fmask=000
Go to the next vfat string and do the same work.
No save the file :
Push on : key and enter wq! and return
Reboot.
All the file are now executable.
So the goal is to replace :
...vfat rw, user,flush,noexec,nosuid,nodev,fmask=111,dmask=0...
by
...vfat rw, user,flush, exec,nosuid,nodev,fmask=000,dmask=0...
And to do this twice in the usbstorageapplet file.
If you are lost while modifying the file, enter :q! and cariage return and leave.
Hope this can help
Offline
A couple of VI hints:
scarpia31 wrote:
go to the noxec word and while the cursor is on the n of noxec, push twice on x key
The no should be deleted
But as it is an executable, the size of the string is VERY important.
So replace the 2 chars no by 2 spaces. To do this push on i key and enter 2 spaces. Then leave insert mode with esc key.
Since the size matters, it is far safer to never change it than to try to put it back after the event. The above instruction removes two bytes then inserts two more. Better to use the "replace" mode of vi :
So replace the 2 chars no by 2 spaces. To do this press R (must be capital) and enter 2 spaces. Then leave replace mode with esc key.
This only ever replaces bytes, so you can't accidentally put the wrong number back in.
scarpia31 wrote:
No save the file :
Push on : key and enter wq! and return
The bang ('!') should not be needed - it's a "force" operator. You need 'q!' to quit without saving, or 'w!' to overwrite a read-only file, but normally you quit with a plain ':wq'
And while I'm here I'll add my own "what a bunch of idiots" about ASUS doing this, and especially about hard-coding it in a binary. It's one thing designing a Linux system to be usable by those unfamiliar with Linux, but they seem to have employed people unfamiliar with Linux to do it! Grrrr...
Offline
So this works. Still, as has been mentioned it's **** to have stuff like this hardcoded. Has anyone though of reimplementing usbstorageapplet like someone did with finit (which works very well by the way)?
Offline
I have updated the wiki: Execute Applications on SD or USB with steps and screenshots on how to edit usbstorageapplet with KHexEdit.
Also, I have tested doing this with sed. It works on my 4G. But I don't have time to do extensive testing with other models. So, I just post it here and let anyone interested to test the script.
#!/bin/sh sudo cp /usr/bin/usbstorageapplet /usr/bin/usbstorageapplet.orig sudo sed -i 's@vfat rw,user,flush,noexec,nosuid,nodev,fmask=111,dmask=0,iocharset=utf8,shortname=mixed@vfat rw,user,flush, exec,nosuid,nodev,fmask=000,dmask=0,iocharset=utf8,shortname=mixed@' /usr/bin/usbstorageapplet sudo sed -i 's@vfat rw,user,flush,noexec,nosuid,nodev,fmask=111,dmask=0,iocharset=utf8@vfat rw,user,flush, exec,nosuid,nodev,fmask=000,dmask=0,iocharset=utf8@' /usr/bin/usbstorageapplet sudo sed -i 's@ufsd rw,user,noexec,nosuid,nodev,umask=0,iocharset=utf8@ufsd rw,user, exec,nosuid,nodev,umask=0,iocharset=utf8@' /usr/bin/usbstorageapplet
Offline
Hello and thank you for all your info. I was able to edit my usbstorageapplet but I had to do a SAVE AS because I couldn't it wouldn't let me save. Could I trouble somebody to explain how I can replace the SAVE AS file with the old file? Thank you.
Offline
You may be able to rename the original file with a modifier at the end of the file name. Example: originalfile.name.orig Then rename the saved as file as the original file.
Also, it may not have let you save it as an original because you didn't have admin privileges. Use the admin file manager next time you try it by typing in terminal
sudo XandrosFileManager
first, remembering Linux is case-sensitive, etc. ![]()
EDIT - just noticed it's your second post. Welcome to the forum(s). ![]()
Last edited by winotree (2009-05-07 1:47:58 pm)
Offline
I was finally able to replace the /usr/bin/usbstorageapplet modified. I used XandrosFileManager and dragged and dropped the SAVEAS file. It was confusing first because the XandrosFileManager didn't list "All File Systems" in the tree and I had to turn on the address bar and type /usr/bin/ in.
I was able to overwrite the original, but when I boot back up, my 900 does not recognize any of my USB memory sticks.
Didn't see any instructions that I overlooked.
Offline
That edit to the USBSTORAGEAPPLET just doesn't seem to work for me. I lose access to my usb drives after. Here's my mount files before and after:
Mount before edits
/home/user> mount
rootfs on / type rootfs (rw)
/dev/sda1 on / type ext2 (ro)
none on / type aufs (rw,xino=/.aufs.xino,br:/=rw:/=ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /ro type ext2 (ro)
/dev/sdc1 on /media/D: type vfat (rw,nosuid,nodev,noexec,fmask=0111,dmask=0000,codepage=cp850,iocharset=utf8,shortname=mixed)
/home/user>
Mounts after
/home/user> mount
rootfs on / type rootfs (rw)
/dev/sda1 on / type ext2 (ro)
none on / type aufs (rw,xino=/.aufs.xino,br:/=rw:/=ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /ro type ext2 (ro)
Last edited by vinnyvincenzo (2009-05-08 7:46:26 pm)
Offline
vinnyvincenzo wrote:
....It was confusing first because the XandrosFileManager didn't list "All File Systems" in the tree ....
Click View for additional 'tree information'.
Sometime back ASUS changed the usbstorageapplet and it created some confusion. IIRC after a certain time in the model development you can't go back to the previous version of the applet but I may be mistaken. There is a solution in the forum but as I never updated to it, can't tell you off the top of my head where it is. Maybe we'll both get a chance to search for it this weekend. ![]()
If I find it, I'll post back...
Offline
Yes, I caught up to the tree and the address bar but that fix ain't doing it for me. This linux is driving me absolutely insane but I'll hang in there for a solution. Thanks.
Offline