Sunday, February 19, 2012

Draytek 2700G DNS suffix

On Draytek 2700G ADSL router to add a DNS suffix to the DHCP server use the following command in a telnet session to the router:
>sys domainname mydomain.local
You can also define a hostname for the router, e.g.:
>sys name gw.mydomain.local
 The changes save automatically.

Wednesday, February 15, 2012

iPhone has wrong name in Windows Explorer (Digital Camera)

Windows remembers a USB devices name and fails to update if the iPhone's name is changed.  Use regedit to search for the name starting at HKLM\SYSTEM\CurrentControlSet.
 Edit the device names & labels as found - multiple may be found.

Tuesday, February 14, 2012

Valid push dhcp-options for OpenVPN

push "dhcp-option DNS 192.168.1.10"
push "dhcp-option WINS 192.168.1.10"
push "dhcp-option DOMAIN mydomain.local"

In pfSense these options should be set on the OpenVPN "server" settings,
they do not need to be in the client's config file. 

Wednesday, February 1, 2012

Error installing nfsen on Debian Squeeze

Trying to install nfsen on Debian Squeeze, running:
#./install.pl etc/nfsen.conf

would produce an error:
Can't create channel directory: '/srv/nfsen/profiles-data/live/peer' File exists
No collector started!

This is due to trying to install into a custom directory.
Edit etc/nfsen.conf and change to:
$BASEDIR = "/usr/local/nfsen"
(may need to create the directory first?).

Installation guide:
Pre-installed: apache2, php5, perl, linux-base
apt-get install librrds-perl librrdp-perl librrd-dev
apt-get install libmailtools-perl libsocket6-perl
apt-get install flex byacc
apt-get install nfdump mrtg rrdtool
Download and install nfsen from source.