How to configure TCP/IP settings from the Command Prompt in Windows

In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses and many other options you can use Netsh.exe.

With Netsh.exe you can easily view your TCP/IP settings. Type the following command in a Command Prompt window (CMD.EXE):

netsh interface ip show config

With Netsh.exe, you can easily configure your computer’s IP address and other TCP/IP related settings. For example:

The following command configures the interface named Local Area Connection with the static IP address, the subnet mask of, and a default gateway of

netsh interface ip set address name=”Local Area Connection” static 1 (The above is one long line)

If you want to export your current ip settings:

netsh -c interface dump > c:mySettings.txt 

If you want to import your ip settings:

netsh -f c:mySettings.txt

or instead of -f

netsh exec c:mySettings.txt

To automatically obatin an IP address using DHCP:

netsh interface ip set address “Local Area Connection” dhcp

DNS settings:

netsh interface ip set dns “Local Area Connection” static

WINS settings:

netsh interface ip set wins “Local Area Connection” static

Auto DNS settings:

netsh interface ip set dns “Local Area Connection” dhcp

Usefull links:

Link one and Link two

Cisco cli usefull key combinations

CLI Keys            Description

Ctrl + A            Beginning Line

Ctrl + B            Backward Character

Ctrl + C            Clear line

Ctrl + D            Delete Character to the Right

Ctrl + E            End Line

Ctrl + F            Forward Character

Ctrl + H            Backspace Character to the Left

Ctrl + I            Refresh Line and Goto End

Ctrl + J            Return

Ctrl + K            Delete everything on the Right of cursor

Ctrl + L            Refresh Line

Ctrl + M            Return

Ctrl + N            Next Command

Ctrl + P            Previous Command

Ctrl + R            Refresh Line

Ctrl + T            Flip Last 2 Characters

Ctrl + U            Clear Line and Put in Buffer

Ctrl + V            Allows A Control Character To Be Typed

Ctrl + W            Delete Word Backwards and Put in Buffer

Ctrl + X            Clear Line to the Left and Put in Buffer

Ctrl + Y            Paste Buffer Contents

How to use Kiosk Mode in Firefox

A simple way to initiate Kiosk Mode, with a lightweight plugin, in Firefox. This is a true kiosk mode as it prevents the user from doing anything but use the Internet.

These most known plugins are R-kiosk and Fullscreen.

So just open your firefox and install your prefered one.

How to use Kiosk Mode in Microsoft Internet Explorer

When you run Internet Explorer in Kiosk mode, the Internet Explorer title bar, menus, toolbars, and status bar are not displayed and Internet Explorer runs in Full Screen mode. The Windows 95 taskbar is not displayed, but you can switch to other running programs by pressing ALT+TAB or CTRL+ALT+DEL. Because Internet Explorer is running in Full Screen mode, you cannot access the Windows 95 desktop until you quit Internet Explorer.

How to Start Internet Explorer in Kiosk Mode

To start Internet Explorer in Kiosk mode, click Start, click Run, type the following command in the Open box, and then click OK

iexplore -k page

where page is the Web page address for the Web page that you want to appear when Internet Explorer starts. If you do not specify a Web page in the Open box, Internet Explorer opens your start page. Note that the Web page that you specify can be a Web page on the Internet, on your computer, or on another computer on the network.

To start Internet Explorer in Kiosk mode and start Internet Explorer with the Microsoft Web site, click Start, point to Run, and then type iexplore -k in the Open box.

To start Internet Explorer in Kiosk mode and start Internet Explorer with the Example.htm Web page that is located in the My Documents folder on your computer, click Start, point to Run, and then type iexplore -k “c:my documentsexample.htm” in the Open box.

To start Internet Explorer in Kiosk mode and start Internet Explorer with the Example.htm Web page that is located on another computer on the network, click Start, point to Run, and then type iexplore -k \servershareexample.htm in the Open box, where server and share are the network server and share on which the Web page is located.

How to Quit Internet Explorer

To quit Internet Explorer when it is running in Kiosk mode, press ALT+F4. Note that you cannot quit Kiosk mode if you do not also quit Internet Explorer.

Keyboard Shortcuts for Kiosk Mode

   Key combination  Function
   CTRL+A           Select all (editing)
   CTRL+B           Organize favorites
   CTRL+C           Copy (editing)
   CTRL+F           Find (on current page)
   CTRL+H           View History folder
   CTRL+L           Open Location dialog box
   CTRL+N           New window (opens in non-Kiosk mode)
   CTRL+O           Open Location dialog box (same as CTRL+L)
   CTRL+P           Print
   CTRL+R           Refresh
   CTRL+S           Save
   CTRL+V           Paste (editing)
   CTRL+W           Close (same as ALT+F4)
   CTRL+X           Cut (editing)
   ALT+F4           Close
   ESC              Stop
   F5               Refresh

Use Postfix Instead of Sendmail in Trixbox

Another alternative to email notification is to use Postfix instead of Sendmail because Sendmail is not as secure besides, using Postfix is a lot easier and it is more secure than Sendmail.

If you want to proceed with it, you have to remove Sendmail and replace it with Postfix, using these 2 commands:

rpm -e –nodeps sendmail
yum -y install postfix

Following this, edit your /etc/postfix/, (use your preffered editor and add your preffered SMTP) and add:

relayhost =

Replace with your own smtp server.

You should also edit /etc/asterisk/ and set the “serveremail” parameter to your real email address.  This is to avoid messages with invalid from-addresses floating aimlessly in the Internet.

Then load Postfix.

service postfix reload

Postfix will now send all outgoing email to your ISP’s mail server.

How to Retrieve Voicemail from External Phone in Trixbox

To call in and retrieve your voicemail from external phone is as easy as simply calling your number and retrieve your voice mail.  This can be done easily if you have IVR enabled in your new TRIXBOX system. 

Five simple steps:

  1. Call my number and when the Digital Receptionist answers, I will dial my extension number prefixing it with an *. E.g. My extension number is 2001, so when the DR answers me, I will dial *2001

  2.  I will then be ask to leave a voicemail, but instead, I will dial * again.

  3. DR will ask for a password to be followed by the # key.

  4. I enter my password followed by #

  5. DR will then give me my voice mail if there is any. 

How to Change Voice Mail Greetings in Trixbox

The default Voicemail greeting is fine but it is rather bland and quite boring.  No doubt some user would like to change the standard greeting to something more personal and meaningful. 

To do so is pretty simple.  Here are the steps: 

  1. Use your existing extension and dial *97

  2. You will be asked for your password (if you have entered one)

  3. When the Voicemail IVR starts, press 0

  4. You will then be given the choice what type of message you want to record.

  5. Choose the appropriate message you want to record.

  6. Record your message “Thank you for calling,  I am either busy or on the phone.”

  7. Review your message

  8. Re-record if you want to or if you are happy with the message, choose the option to save.

 That’s all folks!!!


If you want to replace the recorded files with your’s replace the files: greet.wav or/and busy.wav or/and unavail.wav in /var/spool/asterisk/voicemail/default/xxxx/ (where xxxx your extension number).


If you need to resample them:

sox -w -s -c 1 original.wav -r 8000 -c 1 resampled.wav

Trixbox check/administer voicemail remotely

If you did not modify the default Main menu option 6, use the instructions below:

  1. Dial the main number for your business (that rings to your auto attendant menu)
  2. Press 6 (this is ‘check voice mail by default’ – you can modify this at any time)
  3. Dial the extension + #
  4. Dial the pin code + #

If you have assigned the keypress option 6 to some other function, you can use the steps below:

  1. Create a new virtual extension via the Extensions –> add extension page
  2. Forward the new extension to 8500 (this is a Fonality-reserved extension for voice mail access – it cannot be changed)
  3. Dial the main number for your business (that rings to your auto attendant menu)
  4. Dial the extension you created in Step #1
  5. Dial the extension + #
  6. Dial the pin code + #

Why can’t I just dial 8500?

8500 is an internal extension, which means it is not accessible to outside callers.  Fonality made the decision to interanlize this extension because enabling the extension would create a 3 second delay in any submenu with a Key Press option 8 configured.

If your submenu has a Key Press 8 configured, and a caller presses 8 within the submenu, the system must wait for 3 seconds for additional input before executing the Key Press.  The system doesn’t know if the caller is trying to execute Key Press 8 or if they are trying to dial an 8XXX extension.

Trixbox email voicemail attachments to a group

If you need multiple people to receive a voicemail attachment as an email, you can do the following:

  1. Within your mail server, create a new distribution list
  2. Add all the employees within your company who should receive the voicemail attachment to this distribution list
  3. Click Extensions in your Admin Panel
  4. Click on the general voicemail box extension or any other extension you wish to have this functionality
  5. Insert the distribution email address under the Voicemail category
  6. Click Apply All Changes

Fonality doesn’t include this functionality by default into the system because mail servers are already engineered to handle mass distribution to multiple parties.