Enable swat on Mybook World
First load martin hinners firmware to enable ssh access to the Mybook
http://martin.hinner.info/mybook/sshaccess.php
Check if the following line is uncommented in /etc/services
swat 901/tcp
Add the following line to /etc/inetd.conf
swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat
Stop inetd
[root@StorageBook bin]# ps -ef | grep inetd
root 768 1 0 10:49 ? 00:00:00 /usr/sbin/inetd
root 3820 928 0 12:49 pts/0 00:00:00 grep inet
[root@StorageBook bin]# kill -9 768
[root@StorageBook bin]# ps -ef | grep inetd
root 3836 928 0 12:50 pts/0 00:00:00 grep inet
Restart inetd
[root@StorageBook bin]# /usr/sbin/inetd
[root@StorageBook bin]# ps -ef | grep inetd
root 3839 1 0 12:50 ? 00:00:00 /usr/sbin/inetd
root 3841 928 0 12:50 pts/0 00:00:00 grep inet
[root@StorageBook bin]#
Make sure /usr/local/samba/lib/smb.conf is writable to swat.
Start swat //mybook:901/swat
Create symbolic link from /usr/local/samba/lib/smb.conf to /var/oxsemi/smb.conf