Bekijk de volledige versie : Help with Oleg firmware (shell command are denied)

27-01-2009, 03:33
I've tried to install the ntorrent and rtorrent on the router but at a point i was getting numerous: Permision denied errors. For example, when i try to do:

ipkg update

i get this error message:

[admin@WL-xxx root]$ ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
sh: wget: Permission denied
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 127: `wget -q -P /opt/ipkg-gP5xyd http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz'

I've tried to reinstall the firmware but it kept the settings. I've put the asus firmware back and then the oleg firmware hoping that the old settings are reseted... no luck.

Can somebody please help me get this permission denied errors ?

PS: i've google this error and i found that it is generated but files not having executable permissions. I've tried chmod +x /usr/sbin but i get:

changing permissions of `/usr/sbin/snmpd': Read-only file system
changing permissions of `/usr/sbin/statd': Read-only file system

However, when i do a mount command i get:

[admin@WL-xxx root]$ mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part2 on /opt type ext3 (rw,noatime)
/dev/discs/disc0/part3 on /tmp/mnt/disc0_3 type ext3 (rw,noatime)

Seems like the partitions are in RW mode.

Can anybody please help.


27-01-2009, 18:09
Is ur hard disk NTFS formatted?

27-01-2009, 18:22
No, it is formatted according to Wengi's guide (3 partitions , 1 swap , the others ext2/3)

28-01-2009, 08:29

unmount your hdd and do an e2fsck on both partitions.