PDA

Bekijk de volledige versie : Unable to "mkdir -p /usr/local/etc/dropbear"



pitsishin
13-01-2009, 23:30
I tried to find the solution for my issue for an hour without any success, so I decided to ask in the forum.

I have WL-500W with new official version 2.0 of firmware (not Oleg's).

I want to setup ssh. I connected to the router using telnet. When I try to create dir in /usr/local/etc/ I get the following error message:

# mkdir -p /usr/local/etc/dropbear
mkdir: Cannot create directory `/usr/local/etc': Read-only file system

It looks strange as the file system should be writable:
# mount
rootfs on / type rootfs (rw)
/dev/root on / type cramfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
/dev/discs/disc0/part4 on /tmp/harddisk/part0 type vfat (ro,sync)
/dev/discs/disc1/part1 on /tmp/harddisk/part1 type vfat (rw,sync)
/dev/discs/disc2/part4 on /tmp/harddisk/part2 type vfat (rw,sync)
/dev/discs/disc3/part1 on /tmp/harddisk/part3 type vfat (rw,sync)

Please help!

wpte
13-01-2009, 23:40
well... it's a how-to designed for oleg, not for the standart firmware.
I think that the most things are not even possible on the standart firmware.

pitsishin
14-01-2009, 21:26
Thanks for the hint.

The problem has been solved.

I replaced original firmware with Oleg's one. Now it works fine.