ix2 change vsftpd.conf

StorCenter ix2-200 Network Storage
Post Reply
svg
Posts: 1
Joined: Sat Nov 13, 2010 10:53 pm

ix2 change vsftpd.conf

Post by svg » Sat Nov 13, 2010 11:03 pm

Hi

I've gained ssh access to my storcenter trying to change the ftp port in vsftpd.conf. When I try to chmod or edit the file, it says 'read only file system'. Does ne1 knows the right procedure to fix this? Edits should not be overwritten on reboot ...
firmware= 2.1.38.22294
Thx

PS For those who don't know how to enable ssh: navigate to http://your-nas-adress/supportaccess.html

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: ix2 change vsftpd.conf

Post by Mijzelf » Tue Nov 16, 2010 9:05 pm

According to the wiki the ix2 has 32 MB flashrom, so I suppose the firmware is completely in ROM. This explains your readonly filesystem.

You could mount or bind another directory on it:

Code: Select all

cp -a /path/to/vsftpd.conf /some/directory/on/harddisk
mount --bind /some/directory/on/harddisk /path/to
Now you have your conf file in a writable filesystem.

mabalaru
Posts: 5
Joined: Mon Apr 04, 2011 1:07 pm

Re: ix2 change vsftpd.conf

Post by mabalaru » Thu Feb 09, 2012 3:13 pm

Hello,

For edit config file (such as vsftpd or appweb) try this:

__________________ start of script_________________
#!/bin/sh

mknod -m0660 /dev/loop3 b 7 3
chown root.disk /dev/loop3
mkdir /tmp/apps
mount -o loop /boot/images/apps /tmp/apps
#___________________end of script__________________


then edit /tmp/apps/usr/local/cfg/vsftpd.conf

This works in ix4-200d to.

After you finish, reboot the router.

Have a nice day.

Post Reply