Due to resent change in Sun with the merge with Oracle. The folder in VirtualBox is changed from C:\Program Files\sun\VirtualBox , This made some problems with the VBoxGuestAdditions.iso file.
I updated to this new version of VirtualBox and had problem finding the iso file. After some investigation i found the file in C:\Program Files\Oracle\VirtualBox.
So the only thing was for me to change the path in the settings for all the VirtualBox configured in my settings and everything was back on track again.
Saturday, July 10, 2010
Tuesday, April 13, 2010
Set up homepage on eTrayz.
My homepage is now properly set up on the apace2 on my eTrayz.
This is how i configured the hole thing:
1. First I made a simple webpage on eTrayz WWW area I called it /home/sysadmin/WWW/jacques with index.html as fist page
2. Logged on the eTrayz with SSH as root like : ssh root@[ip], I used a Virutal Box wtha Ubuntu configuration.
3. Next, edited the file 00_default_etrayz.conf in /etc/apace2/ined.d/
I added "Listen 80" under Listen 800 in file and added "NameVirtualHost *:80" under the 800
And under The VitualHost I added my on like this:
.
.
</VirtualHost>
<VirtualHost *:80>
ServerName www.jacques.se
ServerAdmin root@localhost
DocumentRoot "/home/sysadmin/WWW/jacques"
<Directory "/home/sysadmin/WWW/jacques">
Options Indexes FollowSymLinks
AllowOverride All
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
4 Then I restarted the Apace with /etc/init.d/apache restart
And that was that, my web-server is working perfectly, o just one thing, I had missed to open port 80 on my firewall. So don't you forget that too, it took some time before I remembered that I'm behind a firewall.
This is how i configured the hole thing:
1. First I made a simple webpage on eTrayz WWW area I called it /home/sysadmin/WWW/jacques with index.html as fist page
2. Logged on the eTrayz with SSH as root like : ssh root@[ip], I used a Virutal Box wtha Ubuntu configuration.
3. Next, edited the file 00_default_etrayz.conf in /etc/apace2/ined.d/
I added "Listen 80" under Listen 800 in file and added "NameVirtualHost *:80" under the 800
And under The VitualHost I added my on like this:
.
.
</VirtualHost>
<VirtualHost *:80>
ServerName www.jacques.se
ServerAdmin root@localhost
DocumentRoot "/home/sysadmin/WWW/jacques"
<Directory "/home/sysadmin/WWW/jacques">
Options Indexes FollowSymLinks
AllowOverride All
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
4 Then I restarted the Apace with /etc/init.d/apache restart
And that was that, my web-server is working perfectly, o just one thing, I had missed to open port 80 on my firewall. So don't you forget that too, it took some time before I remembered that I'm behind a firewall.
Sunday, April 11, 2010
Crash and burn.

Jepp, now I have done it. I managed to corrupt the passwd file. I don't know how but there it is, I can not login as root no more.
Well that happens when your not that careful login in as root. And i think I made a mistake when trying to set the shell for a user. Usually I use the passwd command but on the eTrayz the passwd command is old. Maybe there is a newer version somewhere else on the machine. That version I'm familiar with has the -s variable to set shell for user.
I wanted to do a passwd -s
I didn't thought that I had made a password change be cos it never confirmed that. Well next time I was login in as root it seamed that i gave wrong password. And I had corrupted my password or altered it, I didn't know of any other password so there you go. I need to reinstall again.
Well no problem; I do a backup and reinstall and then a do a recall on my backed up information. No problemo - I fix this.
Saturday, April 10, 2010
Activate SSH for eTrayz User.
I have given my users the ability to log on to home folder with SSH on port 22. This mainly for my FTP is already occupied to another NAS.
There was some problem after edtiting the /etc/sshd/sshd_config and adding to the end:
AllowGroups etrayz
>And restarted the SSH:
/etc/init.d/sshd restart
Nothing happens, I gott a error and was disconnected. The problem was in the passwd file. The users created in eTrayz has no shell defined i the passwd file. And after changing the varible /bin/false to /bin/bash or /bin/sh then the SSH login works for that user.
The command passwd -s [user] is not working so to change the file you just hav to edit it with vi as root.
Next problem is; how to restrict users to not see all files and folders.. hmm. Ok, i hope i can shut down my other NAS so I can use port 20,21, that would be better. Well I learnt how to set up SSH for users.
There was some problem after edtiting the /etc/sshd/sshd_config and adding to the end:
>And restarted the SSH:
Nothing happens, I gott a error and was disconnected. The problem was in the passwd file. The users created in eTrayz has no shell defined i the passwd file. And after changing the varible /bin/false to /bin/bash or /bin/sh then the SSH login works for that user.
The command passwd -s [user] is not working so to change the file you just hav to edit it with vi as root.
Next problem is; how to restrict users to not see all files and folders.. hmm. Ok, i hope i can shut down my other NAS so I can use port 20,21, that would be better. Well I learnt how to set up SSH for users.
Thursday, April 8, 2010
eTrayz and "Green" disks
After some problem with the Xtreamer eTray, I got it right and now its up again.
Problem: My eTrayz could not remember the installation (1.0.4 version). So when I turned it off and on, It seamd like there was no data on the disk (Western Digital Caviar Green 2TB)
The problem was that my "Green" disk could not function in tray A. So after the chat on the xTreamer forum I got in contact with mercury17 from Holland. And he told me that he had a "Green" disk, think it was a Green Seagate, an he had tried to switch to dock B and had then got the disk to function with eTrayz.
So i tried that too and "tadaa" there it was all data was there and my eTrayz was up as nothing had happened. So If you got problem with your "Green" disk, try the B dock.
Lots of thanks to mercury17 (Back to Jacques.se)
Problem: My eTrayz could not remember the installation (1.0.4 version). So when I turned it off and on, It seamd like there was no data on the disk (Western Digital Caviar Green 2TB)
The problem was that my "Green" disk could not function in tray A. So after the chat on the xTreamer forum I got in contact with mercury17 from Holland. And he told me that he had a "Green" disk, think it was a Green Seagate, an he had tried to switch to dock B and had then got the disk to function with eTrayz.
So i tried that too and "tadaa" there it was all data was there and my eTrayz was up as nothing had happened. So If you got problem with your "Green" disk, try the B dock.
Lots of thanks to mercury17 (Back to Jacques.se)
Subscribe to:
Comments (Atom)