Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
sms help
View previous topic :: View next topic  
Author Message
J3rry
Junior Member


Joined: 31 Oct 2008
Posts: 4

PostPosted: Fri Oct 31, 2008 10:32 am    Post subject: sms help Reply with quote

hello all,
i was looking recently to fix a problem i have and bumbed on slack mini server
the problem:
i work international, so im usually 6 weeks out of my country and then 6 weeks on vacation at my home
now during these 6 weeks working i dont generate any traffic
since in belgium where i live all ISP's have limits set so we cannot download/uploadmore between 10 and 60gig a month depends on the formula your taking and wich ISP
so my limit is 20gb a month, but this limit doesnt add up to the next month if i dont use it so i have to use this limit before the end of the month or i lose it
so i want to set up a slack mini server at home preferred from the live cd or usbdrive

i want to configure SMS to download torrents with torrentflux
im behind a router so ive already set up the forwarding ports for the webinterface & torrents
i use to work with linux alot so ive some knowledge of that

but i find so little documentation on how to set up SMS
i want to set up SMS safely so that only the services are running that i need
so that i dont leave any accounts with a standard password by accident

wich passwords do i need to change besides the ones from the webinterface on port 10000 and torrentflux
and how do i mount an external usb drive with a fat32 filesystem with write support
because i want to mount an external drive on usb but when i set & configure torrentflux to download to a directory on that drive it gives an error that i need to chmod +w that directory but its fat32
and it has to be fat32 because i need to be able to acces those files on my mac & windows pc

then is it possible to install SMS on an usb drive and save settings on there so next time i start sms from an usbdrive
also my settings are saved on it ?
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Fri Oct 31, 2008 5:02 pm    Post subject: Reply with quote

Hello,

I don't use torrentflux or usb storage, so I can not help in those areas. Login to webmin and click on the System tab to the left. Under boot and startup are the services that are running upon boot. Its simple to stop or delete services.

Click on the Servers tab and see which ones have been configured and again its fairly simple to change the service status and passwords.

Well, thats all I can help with. Good luck. I am sure someone will reply with more knowledge about torrentflux.
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Fri Oct 31, 2008 5:03 pm    Post subject: Reply with quote

One more thing Embarassed , You can type ps aux for a list of services currently running.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Oct 31, 2008 6:45 pm    Post subject: Reply with quote

Hello and welcome...

First of all where do you want to install SMS. Do you know how to install it. It's recommended to install it on HDD.
But in your case you could install it on USB Flash drive to take it with you.
Tell me what the installation will be.

To mount an external fat32 USB HDD just create a directory
mkdir /mnt/usbhdd
and add to your /etc/fstab
/dev/[yourdisk] /mnt/usbhdd vfat auto,noatime,users,suid,dev,exec,quiet,umask=0,check=s,shortname=mixed 0 0

create a directory like
mkdir /mnt/usbhdd/tflux
chmod -R 777 /mnt/usbhdd/tflux/

and add the path /mnt/usbhdd/tflux as your download folder in torrenflux settings.

To mount the disk just type
mount /mnt/usbhdd

As for the services, you can do a
chmod -x /etc/rc.d/{rc.clamav,rc.cups,rc.dovecot,rc.hylafax,rc.mailscanner,rc.openldap,rc.openvpn,rc.postfix_milter,rc.saslauthd,rc.spamd,rc.wireless}

comment in /etc/inittab the line
d1:12345:respawn:/usr/sbin/faxgetty /dev/ttyS0

Change all the password for
root user
mysql (add one it's blank)
webmin
torrentflux
flush webERP directory and database (same for things like squirrelmail, phpldapadmin, and everything you don't want to use.
You can alternative point the web Document root to torrentflux, so everytime you type your IP you get TorrentFlux.


gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
J3rry
Junior Member


Joined: 31 Oct 2008
Posts: 4

PostPosted: Fri Oct 31, 2008 8:03 pm    Post subject: Reply with quote

well i would like to install the sms livecd to an usb drive
like described in this thread:
http://sms.it-ccs.com/forum/viewtopic.php?t=42

reason is i dont want to install grub/lilo on my harddrive
and i dont want to resize my current partetition for this server
i dont really care about the shorter lifetime of that usbdrive by running sms from it
it cost 12€ for a 2gig stick and when i need it i just plug it in and it boots straight from it

i want to install sms so that all my settings are saved so the next time ill leave the country all i have to do is plug in that usb and boot my pc and let it run with the settings that ive already changed

when i used the sms-text-installer at the end it fails to install the bootmanager on the usbdrive
could it be some chipset support in sms ?
and is it possible to install the bootmanager trough windows like you install the one for the livecd to usb (bootinst.bat)
because this method seems to be working to make my usb bootable

thanks
Back to top
View user's profile Send private message
J3rry
Junior Member


Joined: 31 Oct 2008
Posts: 4

PostPosted: Sat Nov 01, 2008 12:22 am    Post subject: Reply with quote

ok i found the solution for the save.dat file to get that working

before changes=/sms/save.dat you have to put usbprobe

now im able to make changes to the livecd

edit:

phew, ok its done
ive had do download the ddclient (not the module for webmin) the standalone
that runs as a daemon
because the module was not working

ive added some things in the rc startup like this ddclient

ive added my external hd to fstab
deleted all php scripts that where not needed in the httpdocs root and removed all stuff in the index.php
i did remove the bind & samba service aswell since i dont use those
ive changed all passwords

all i got to do now is plug in my usbstick & external usb hdd drive
boot up and my server is ready to download torrents when im out of the country for 6 weeks
now i finally can make profit of those 20gig traffic

and it boots pretty fast, that usbstick that im using is optimized for vista readyboost, quite faster then my normal usb 2.0 sticks i have
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional