|
Wednesday, 23 December 2009 07:31 |
|
Using the Untangle firewall, you may want to know of updates available but not have them automatically applied. I wrote a quick script to do just that which daily, emails you the result. It gets the latest version of the of the script from the server and updates itself accordingly.
To install it, do a su to go root, or preface each of the following commands with a sudo, followed by:
cd /root/
mkdir versionmonitor
cd versionmonitor
wget http://davebour.com/misc/dumpversion.sh
chmod +x dumpversion.sh
./dumpversion.sh
If you get errors about locale and en_US...it means your locales has not been configured. Several Untangle systems I've worked on are missing the localedef file in /usr/bin/. To fix, enter the following:
aptitude reinstall glib6
dpkg-reconfigure locales
locale-gen
Now rerun the dumpversion.sh file. It will reinstall a cron.daily file to get the latest version.
|
|
|
Tuesday, 20 January 2009 01:32 |
|
To add SSH to Untangle, simply enter the following at the console: update-rc.d ssh defaults /etc/init.d/ssh restart You're good to go now remotely. Ensure you enable the local network if that's what you wish via limiting statement in the /etc/ssh/sshd_conf file. |
|
Last Updated on Tuesday, 20 January 2009 01:39 |
|
Monday, 12 January 2009 10:31 |
|
You're working on a network and trying to find a device, but can't remember the IP address and you don't have NMAP handy...This is particularly significant when dealing with network printers, etc. The two useful sequences are: 1. You may try pinging your network from a computer connected to the network, and lookup an arp table. On your computer, click [Start] -> [Run...] and type "cmd" and [Enter]. Type "ipconfig" to find your network address. The network address is found by performing a logical AND operation on your IP address and the subnet mask. For example, if your IP is 192.168.1.101 and subnet mask is 255.255.255.0, then the network address is 192.168.1.0. Ping your network using a broadcast address, i.e. "ping 192.168.1.255". After that, perform "arp -a" to determine all the computing devices connected to the network. One of the IP found will be your missing device.
2. You may also use "netstat -r" command to find an IP address of all network routes. However, if your device has problem communicating with other network devices, you may not be able to find IP address of the printer using "netstat" command. |
|
|
|
|
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
|
|
Page 1 of 10 |