Hi raggett
Initially i also struggled on how to use unix commands. you need to learn few commands on how to change directory, rename files and
read/write files. look at the below link on unix commands
http://www.math.uic.edu/~hanson/UNIX/UnixDictionary.html#UNIX-FILE
i did as per told in the above links and it worked great for my 1tb notebook and removed mionet and using windows to connect.
First you need to download SSH windows client. I downloaded putty and FTP commander. Putty is free and you can download from below link
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
1. Upgrade your firmware with the link provided below. I tried 3-4 links provided allover the site and only this one below worked
http://<IP-OF-YOUR-MYBOOK>/auth/firmware_upgrade.pl?fwserver=www.geekoh.com/mybook/ssh2
if your get a message the drive is busy. click mionet icon on your task bar and close it and then power off your WD Drive and reboot.
mionet will not login to drive. Now you can upgrade firmware.
it will take couple of minutes and you will get a message in the WD saying the firmware is applied.
Dont reboot the drive now. Open putty now and click the session meny left side and add the ip address of your WD drive. Generally
it will be 192.168.0.3 like that. if you are not sure, check the attached devices menu in router config screen, it will show your WDH ip.
use port 22 to connect to WDH and in connection type choose SSH and thats it.
before loggin in with putty. create a shared user name in the WDH portal "file sharing" table as you have to login in putty with that
user id and password.
now go to putty and enter the ip address and login. it will ask for user id and password
enter and login and then type su - command immediately to switch to root .
though you have installed SSH it wont be enabled when you restart, so you have to add a line in inittab file.
if you want to look at the structure of files in WDH like windows explorer, you need to install ftp commander and add mybookworld ip as a server
and then login with the created user id and password and see the folder structure and files. you cant edit files with FTP commander, but get
and idea of folder structure.
Now, come back to putty command prompt and type
#cd /etc
this will change to etc directory
then type
#ls
the above will list all the files in the directory.
you can see inittab file
now type
#vi inittab
this will open the file in read mode
go to the last line and press "i" to insert line. look at the unix command for syntax
here you type
::sysinit:/usr/sbin/sshd
and then
#wq to save and quit the editor.
now you can power off and restart drive with power button and then try logging in with putty again.
if you can succesfully login, you have spawned ssh .
similarty you can use
- cd /var/oxsemi
the above will take you to the folder path. here you will find senvid.inc file
- vi senvid.inc
type the above command to open the file and edit is as said above to change the user login details
As mentioned in the above threads you will find something like this
[ID10261549]
path=/shares/internal
force user=root
valid users=mionet-username
read list=mionet-username
write list=mionet-username
change the mionet-username to the shared username you have created in the last 3 lines and save the file
- sudo /etc/init.d/samba.sh restart
type the above command to restart the samba server
now exit putty and go to start command -> run and type the ip address of your WDH
you will see the folder name with ID10261549 similar to this. you number will be different
right click and map network drive to a letter now. thats it and your are done
everytime you start your pc, it will show the mapped network drive. when you click it, it will ask for user name and password
enter the shared username and password and thats it
you can now remove mionet software from the pc
the above steps you are doing at your own risk. any incorrect file edit commands will brick your drive. be careful
Bye