sabnzbd + other remote PC questions

Soldato
Joined
4 Nov 2007
Posts
4,514
Good afternoon all,

Basically I'd like to be able to, in order of importance,

1. Turn my PC on from work.
2. Control SABnzbd from work.
3. Control SABnzbd from Blackberry Bold 9780 (browser is pretty good)
4. RDP to PC from work.

I just assume this is basically a load of port forwarding, do I need to anything with DynDNS?
 
If you are on a standard home broadband package, then your IP will change periodically. You can use DynDNS to give you a hostname that will always work. Most routers support DynDNS, so you don't need to have a PC continually running to update the DNS.

You can use Wake On Lan over the Internet, but you will need to forward correctly. Check out this site for setup and as a means for sending the WOL packet: http://www.depicus.com/wake-on-lan/woli.aspx

SAB has its own web server, so again you can forward the correct ports as with RDP. RDP is port 3389.

SAB over Internet: http://forums.sabnzbd.org/index.php?topic=2062.0
 
Right, all sorted! Forgot to forward a port for WOL so got my mum to switch it on for me RDP & SABnzbd working perfect!

Shame you can't get SABnzbd to run as a service, you have to be logged in for it to be running!
 
Right, all sorted! Forgot to forward a port for WOL so got my mum to switch it on for me RDP & SABnzbd working perfect!

Shame you can't get SABnzbd to run as a service, you have to be logged in for it to be running!

SAB runs as a background process yeah, you do have to be logged in so the process can run yes but other than that it is essentially in the background but I do see what you mean although I've never thought about it as my PC is left logged in (and locked) at all times.

Be sure to back up the sab ini file for easy restore should you reinstall or accidentally uninstall SAB like I did last night :p will save ages in configuration!
 
http://wiki.sabnzbd.org/sabnzbd-as-a-windows-service

Code:
SABnzbd as a Windows Service
Feature will be available in release 0.6.0.

It's possible to install SABnzbd as a real Windows Service.

The Windows executable is SABnzbd-service.exe, the other EXE files do not have service support.1

Service management

Note that you need administrative rights when you make any change to the services,
although SABnzbd itself will run fine when in restricted user mode.

Installing the service

SABnzbd-service.exe -f <path> install

The -f parameter is required. When running as a service, SABnzbd will be in "daemon" mode
and will not get the INI-file location from the user profile.
You can add extra parameters, but any parameter you set here will block you from
making changes in the configuration through the Web-UI.
So, if you use -s host:port, SABnzbd will always use that as server address, disregarding what's in the INI file.
Parameters like -b (start browser) will be ignored.

Updating the service

SABnzbd-service.exe -f <path> update

Works the same as "install", but should be used to change settings.

Removing the service

SABnzbd-service.exe remove

Removes the service altogether.

Start and Stop

net start SABnzbd
net stop SABnzbnd
net stop SABHelper

Use the Windows Service Manager to start and stop (command line or GUI).
It's probably best to start in "Automatic" mode.
On Windows 7 and Server2008 you can best use "Automatic (delayed)".
Note that SABHelper must be stopped separately, after SABnzbd is stopped.
Please note that you must have installed the SABHelper service first (see below), otherwise the SABnzbd will not start.
When installed, the SABHelper service will be started when the SABnzbd service starts.

Helper Service

Because a Windows Service cannot restart itself, we created the SABHelper service.
It is controlled in the same way as SABnzbd-service.exe, only it needs no additional parameters.
The service SABHelper will be created.
Note that this service (unlike SABnzbd) needs to be run as "Local System" or as another account with administrative privileges.

SABnzbd-helper.exe install
SABnzbd-helper.exe remove
SABnzbd-helper.exe update
SABnzbd-helper.exe start
SABnzbd-helper.exe stop

Restrictions

Running as a service does pose some restrictions.

The SABHelper Service must run as "Local System" or any account that has administrative privileges.
By default the service runs as "Local System". This allows full access to the internal harddisk, but not to network shares.
If you need network shares, you should tell the Service Manager to use an appropriate user account.
When using network shares, you must use network (UNC) paths ("\\server\share") instead of drive letters ("p:\").
Use only local drives for the admin, log and incomplete folders (par2 does not support UNC)
The Windows firewall will not warn you that it blocks SABnzbd-service.exe, you will have to add it to the exception list yourself.
You can upgrade SABnzbd without changing the service registrations, but you do need to stop both services first
Upgrading without changing service registration only works when you install at the same location
Footnotes
1. When running Python sources, this restriction does not apply

I really wouldn't recommend opening RDP from the internet, you'd be better off installing something like logmein. I certainly wouldn't want a direct login prompt open to any PC in my house on the net, you may also find (depending on your source) that 3389 outbound is blocked so not always great.
 
Check with your employer that they dont' mind you accessing resources at home, some consider it a security risk which has to be managed. Not from a malware/AV perspective but from an intellectual property/confidentiality viewpoint.
 
Back
Top Bottom