Remotely manage a Sonicwall firewall over a VPN tunnel

Earlier I was looking to remotely manage a Sonicwall firewall via HTTPS over a VPN tunnel that I had established to the device. In order to do this firstly select ‘VPN’ in the Sonicwall’s menu, the ‘Settings’ section should then be highlighted. Click the ‘configure’ button for the VPN tunnel that you want to manage the device over, which will open the settings screen for that VPN Policy. Next click the ‘Advanced’ tab, and look for the section labelled ‘Management via this SA’.  Check the boxes for protocols that you wish to manage the device over, and click OK, as shown below.

Allow remote management via HTTPS and SSH over a VPN tunnel on a Sonicwall Firewall

Allow remote management via HTTPS and SSH over a VPN tunnel on a Sonicwall Firewall

Empty a log file in Linux

I needed to empty a log file on one of my Linux boxes today as it had grown to 7.5 GB in size. This was achieved by simply running the following command in the directory where the problem file exists, and LOG_FILE was the name of the file to be emptied:

cat /dev/null > LOG_FILE

Citrix – The following requested video mode was not available

Recently we received the following error message when accessing Citrix Presentation Server on a few client machines which had had large wide screen monitor upgrades. The application that had been started would also not enter full screen mode.

The following requested video mode was not available: 1920 x 1080 x 24 BPP

The video mode has been set to the following mode: 1847 x 1038 x 24 BPP

Video mode restricted by administrator.

Citrix Error: The following requested video mode was not available

This was due to the fact that not enough memory had been allocated to the graphics for individual client sessions to support the resolution on larger monitors. This can be resolved by modifying the Farm ICA Display settings in the Citrix Access Management Console. Right click on the Farm object in the Citrix Access Management Console and choose ‘Properties’. Then under ‘Server Default’, ICA, click on ‘Display’. Change ‘Maximum memory to use for each sessions’s graphics’ from the default (in my case 5625) to 8192 as shown below:

Changing the 'Maximum memory to use for each session's graphics' setting under Server Default, ICA, Display

After increasing the memory available for each sessions graphics, you should find that Citrix is able to support the higher resolutions OK.

Export a list of members from an Active Directory group to a text file

I needed to export a list of all the members in an active directory group today. Here are two methods which work well. The first example uses the net group command. In both examples ‘Group Name’ is the name of the group that you want to export the member list for, and memberlist.txt is the name of the output file.

net group “Group Name” /domain > memberlist.txt

The second example uses dsquery and dsget, which will return the full distinguished names of the user objects that are members of the group. This could be useful if you also need to know which organizational unit the members accounts reside in.

dsquery group -name “Group Name” | dsget group -members > memberlist.txt

Programming Group Pickup on the Samsung DCS Compact II

I struggled to find information on adding extensions to pickup groups on the aging Samsung DCS Compact II in one of our offices. Anyway I recently got hold of this information, so thought I would share it in case anyone else is in the same boat.

Add an extension to a Pickup Group

  1. Press TRSF then 200
  2. Enter the passcode the default is 1234
  3. Press the Volume + key to enable customer programming mode
  4. Press Speaker 302 (If at this stage you here a tone and the words NOT PERMIT are shown on the display, you have been locked out of this feature by your system maintainers. Extensions can be added to group pickups by starting this process again from the beginning and using TRSF 800 to enter Tech Support mode, rather than customer programming mode, but you will need the tech support passcode!)
  5. The first extension will be displayed in brackets followed by the words PICKUP GRP, beneath this the pickup group for the selected extension will be displayed after the words PICKUP GRP:. The cursor will be positioned under the selected extenstion number at this stage.
  6. Type in the extension number you want to add to a group. The current pickup group (if any) will be shown on the line underneath.
  7. There are three buttons under the display on the handset. Press the right one to move the cursor to the PICKUP GRP: section of the display. Type in the group number you wish to add the extension to.
  8. Press the Speaker button and then the TRSF button to exit

Program the Group Pickup (GRP P/U) button

  1. Press TRSF then 200
  2. Enter the passcode the default is 1234
  3. Press the Volume + key to enable customer programming mode
  4. Press Speaker 722
  5. The first extension will be displayed in brackets followed by the words KEY (MAST), beneath this the 01: will be displayed (meaning button 1 on the handset) followed by the curent programmed function on that button. The cursor will be positioned under the selected extenstion number at this stage.
  6. Type in the extension number whose handset you want to programm the button for.
  7. The cursor will position under the button number on the line below.
  8. Use the volume + button to scroll through the available buttons on the phone.
  9. When you get to the one that is shown as GPIK, stop scrolling (on our handsets this is button 5)
  10. There are three buttons under the display on the handset. Press the right one to move the cursor to the right then press it one more time, and type in the number of the Pickup Group you want to add the handset to.
  11. Press the Speaker button and then the TRSF button to exit