akratky
12-07-2007, 23:21
I'd like to use my wlhdd as a nfs file server.
Here the exports on the wlanhdd
[admin@server_asus root]$ cat /etc/exports
# automagically generated from web settings
/tmp/harddisk/ (rw,async,no_root_squash)
the fstab on my notebook:
akratky@vaio:/mnt/spinnaker$ cat /etc/fstab | grep "192.168.0.30"
192.168.0.30:/tmp/harddisk /mnt/asus nfs user,noauto 0 0
if i try to mount the share the shell on my notbook seems to hang up or after a long periode (>3min) it is mounted .....?
Nevertheless I would prefer to use shfsmount
akratky@vaio:/mnt$ shfsmount -V
shfsmount version 0.35(2)
akratky@vaio:/mnt$ uname -a
Linux vaio 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
[admin@server_asus root]$ ipkg list | grep "ssh"
denyhosts - 1.1.2-5 - DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks. If you've ever looke
openssh - 4.5p1-1 - a FREE version of the SSH protocol suite of network connectivity tools.
[admin@server_asus root]$
but using it I get this error:
akratky@vaio:/mnt$ shfsmount admin@192.168.0.30 -v /mnt/asus/
cmd: exec ssh -l admin 192.168.0.30 /bin/sh, options: "version=2,mnt=/mnt/spinnaker,debug=1"
user: admin, host: 192.168.0.30, root: (null), mnt: /mnt/spinnaker, port: (null), cmd-user: 0
Testing perl... admin@192.168.0.30's password:
failed
Testing shell... ok stable
selected: shell
shfsmount: Operation not permitted
akratky@vaio:/mnt$
I would like to use nfs or shfsmount instead of smbmount to keep the rights for my files .....
#----------------------------------------------------------------------------------------------------------------------------------------------------------------
Another problem I cannot solve is to add other users. I'd like to get rid off user: admin with the pw: admin! If I add a user with adduser I can log in .... and I can also change the passwd of admin .... but after a reboot everything is lost. (which seems to be clear as only /tmp/local is saved with flashfs save && flashfs commit && flashfs enable and not /etc -> /tmp/etc) So I tried to to copy a proper passwd file from /tmp/harddisk to /etc with the /tmp/local/sbin/post-boot skript after a boot. It worked fine after a reeboot. When I switched off the power supply everthing was lost and I had to set up the whole network, all of the files in /tmp/local/sbin/ and so on. ....
To add user on http://192.168.0.30/index.asp | User Account List was also not sucsessfull!
thanks for help
alexander
PS.:
Firmware Release: 1.9.2.7-7g
Status log
Jul 13 00:27:24 /opt/sbin/sshd[345]: error: Could not get shadow information for admin
Jul 13 00:27:24 /opt/sbin/sshd[345]: Accepted password for admin from 192.168.0.9 port 48470 ssh2
Here the exports on the wlanhdd
[admin@server_asus root]$ cat /etc/exports
# automagically generated from web settings
/tmp/harddisk/ (rw,async,no_root_squash)
the fstab on my notebook:
akratky@vaio:/mnt/spinnaker$ cat /etc/fstab | grep "192.168.0.30"
192.168.0.30:/tmp/harddisk /mnt/asus nfs user,noauto 0 0
if i try to mount the share the shell on my notbook seems to hang up or after a long periode (>3min) it is mounted .....?
Nevertheless I would prefer to use shfsmount
akratky@vaio:/mnt$ shfsmount -V
shfsmount version 0.35(2)
akratky@vaio:/mnt$ uname -a
Linux vaio 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
[admin@server_asus root]$ ipkg list | grep "ssh"
denyhosts - 1.1.2-5 - DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks. If you've ever looke
openssh - 4.5p1-1 - a FREE version of the SSH protocol suite of network connectivity tools.
[admin@server_asus root]$
but using it I get this error:
akratky@vaio:/mnt$ shfsmount admin@192.168.0.30 -v /mnt/asus/
cmd: exec ssh -l admin 192.168.0.30 /bin/sh, options: "version=2,mnt=/mnt/spinnaker,debug=1"
user: admin, host: 192.168.0.30, root: (null), mnt: /mnt/spinnaker, port: (null), cmd-user: 0
Testing perl... admin@192.168.0.30's password:
failed
Testing shell... ok stable
selected: shell
shfsmount: Operation not permitted
akratky@vaio:/mnt$
I would like to use nfs or shfsmount instead of smbmount to keep the rights for my files .....
#----------------------------------------------------------------------------------------------------------------------------------------------------------------
Another problem I cannot solve is to add other users. I'd like to get rid off user: admin with the pw: admin! If I add a user with adduser I can log in .... and I can also change the passwd of admin .... but after a reboot everything is lost. (which seems to be clear as only /tmp/local is saved with flashfs save && flashfs commit && flashfs enable and not /etc -> /tmp/etc) So I tried to to copy a proper passwd file from /tmp/harddisk to /etc with the /tmp/local/sbin/post-boot skript after a boot. It worked fine after a reeboot. When I switched off the power supply everthing was lost and I had to set up the whole network, all of the files in /tmp/local/sbin/ and so on. ....
To add user on http://192.168.0.30/index.asp | User Account List was also not sucsessfull!
thanks for help
alexander
PS.:
Firmware Release: 1.9.2.7-7g
Status log
Jul 13 00:27:24 /opt/sbin/sshd[345]: error: Could not get shadow information for admin
Jul 13 00:27:24 /opt/sbin/sshd[345]: Accepted password for admin from 192.168.0.9 port 48470 ssh2