Wireless Network Setup for Trixbox

Install and Configure an 802.11B Wireless Adapter

Trixbox uses CentOS a Linux open-source operating system. Setting up a wireless card in Trixbox requires in-depth knowledge, and the setup steps vary both by card type and by distribution. Therefore, instead of providing detailed steps on all the variations of radio card, these instructions provided general instructions of how to install a prism 2.5 based Wi-Fi radio card at 2.4 Ghz.  For 802.11A, 802.11G, 802.11N and 900 Mhz or any other frequency will require drivers to be installed based on the radio “chip set” type.  Please note that this instruction document does not cover driver installations. 

Warning: Please note that these instructions have work a few times in a limited setting and are not tested for all scenarios. These instructions are intended for people to verify, are familiar with radio cards components, PC hardware, and have an understanding on electronic equipment.  You may damage your PC or its component or be physically damage by these installation instructions.   Take caution or do not attempt these instructions if inexperience in PC component installations and configuration.

To use this document, you must have the following:

An 802.11b-prism 2.5 wireless network card installed in your computer
Trixbox installed on your computer
Access to wireless mesh network (MAC authentication setting in WIANA).  Regular access points can be access using these techniques as well.

Easiest method to provide installation is adding your wireless prism 2.5 radio to your PC prior to installing the Trixbox.  It will automatically install everything and provide a generic configuration.  All you have to do is skip to the Edit TCP/IP configuration section; however, if you have already install Trixbox you will need to the following:

Install a prism 2.5 wireless network card.

Install your wireless card into a PCI or PCMCIA (mini-PC) card slot, do not use a USB wireless adapter on your computer. Ensure that your PC is turn off and that you are properly grounded or earthed to the PC.

For a PCI card installations see below for PCMCIA or mPCI cards see PCMCIA card Installation

1.    Remove the case or replacing cards.

2.    Unplug the PC from its power source.

3.    Unplug all cords from the back of the computer. Open the computer case.

4.    Attach a Ground  or earth wristband to yourself

5.    Clip the other end of the wristband onto the metal frame of the computer.

6.    Check to see if you have an open peripheral connection interface (PCI) slot.

7.    Once you locate a free PCI slot, unscrew the metal guard covering the rear opening for that slot. This piece is normally secured by a single screw.

8.    When your peripheral slots have plastic tabs on either end, push them gently away from the slot to the "open" position.  Place metal sleeve in a safe area.  This sleeve is very sharp.

9.    Remove the PCI card from its antistatic wrapping. Gently pick up the card by its metal bracket and the outer edge of the silicon board. Take care not to touch anything on the circuitry on the card.

10.  Gently insert the tabbed edge of the PCI card into the slot. Press down firmly on the top edge of the card until you hear it click into place.

11.  Check the alignment of the bracket. When the card is placed correctly, you can then replace the screw you that you removed.

12.  Remove the wristband.

13.  Replace the computer's cover.

14.  Plug in all of the cords.  Skip PCMCIA card installation.

PCMCIA card installation including mPCI.

15.  Remove the case or replacing these cards.

16.  Unplug the PC from its power source.

17.  Unplug all cords from the back of the computer. Open the computer case.

18.  Attach a Ground  or earth wristband to yourself

19.  Clip the other end of the wristband onto the metal frame of the computer.

20.  Remove the PCMCIA adapter PCI card or mPCI adapter PCI Card from its antistatic wrapping. Gently pick up the card by its metal bracket and the outer edge of the silicon board. Take care not to touch anything on the circuitry on the card.

21.  Install PCMCIA or mPCI adapter in PCI adapter slot or if have a PCMCIA or mPCI adapter built you can insert the radio cards.

22.  Turn the card around so that the connector is facing the slot. (Most wireless cards have a plastic piece or antenna on the opposite end. Make sure it is facing away from the slot.)

23.  Gently slide the card into the slot until it is firmly lodged in the adapter slot.

24.  Remove the antistatic wristband.

25.  Plug in your PCs wired power cord.

Once the computer has booted up and Trixbox is installed your wireless card should indicate that it is working.  Most times you can see either a light on the card or blinking light.  mPCI cards do not have any lights so a visual can not be done.  If your radio card has a light and it not working please do not proceed with configuration. 

Edit the TCP/IP configuration for your card.

Log into Trixbox, you must be administrator.  If you have not log into OS with root command that you will need to issue a su command and then log in as root.

Once you have log in as root issue the command netconfig

Next you will need to decide what type of IP addressing you want to use – dynamic host configuration protocol (DHCP), or manual IP addressing.

Choice 1: Use DHCP to automatically receive IP and DNS server addresses your built-in DHCP service, or from a server, router, or access point installed on your network. Setting this option will enables DHCP and obtains IP, gateway, and DNS addresses automatically.  This choice many create problems for Trixbox configuration and should be avoided.

Choice 2: Manually configure all TCP/IP settings. You will need to specify an IP address, subnet mask, DNS server addresses, and a gateway server address.  Use this choice for Trixbox installation because you  

are comfortable configuring gateway, DNS, and server settings.

need your computer to always have the same static IP address.

run services or applications on one computer that you want to access through direct IP

addressing (for instance, a web server mapped to a specific IP address).

have specifically mapped ports in your router or access point so that traffic to that port is directed to a specific IP address on your network.

 Manually set all IP-related options. Manual configuration can be simple or complex, depending on your operating system and network setup. The following IP values are often used with access points and routers on a small network.

A common gateway value is 192.168.0.1 (the address of the router, access point, or server running DHCP).

A common subnet value is 255.255.255.0.

A common acceptable range for IP addresses is 192.168.0.x through 192.168.255.x , where x can be any number between 2 and 255.

Obtain DNS server information from your ISP, or use settings for an existing DNS server you to which you have access. Edit the appropriate files manually, or use a tool.

To view current TCP/IP settings, type ifconfig and look at your eth:0 (or eth:1, 2 3, etc.) entries. If your card is recognized, information will appear for each installed card. You can test your active card configuration by pinging 127.0.0.1 (a loopback address that tests your card).

Edit the wireless network settings for your card.

You need to configure the new wlan1 wireless NIC to be compatible with your network. Please ensure that wlan1 is configured by typing iwconfig at the prompt.  If wlan0 shows the configuration than substitute wlan1 for wlan0.

Edit /etc/sysconfig/network-scripts/ifcfg-wlan1 to include these new lines:

DHCP Version          Fixed IP Version
============          =================
 
DEVICE=wlan0          DEVICE=wlan0
USERCTL=yes           IPADDR=192.168.0.100
ONBOOT=yes            NETMASK=255.255.255.0
BOOTPROTO=dhcp        ONBOOT=yes
                      BOOTPROTO=static
In the fixed IP version you also need to substitute your selected IP, 
netmask, 
network, and 
broadcast address with those above. 

Plus, make sure you have the correct gateway statement in your /etc/sysconfig/network file, for example. GATEWAY=192.168.0.1

Next insure that you have added the MAC address to Wiana for MAC authentication

Test the wireless network connection.

Anytime you edit your wireless configuration files, you should restart your system.

11.  Make sure your access point has power and that your wireless device is within range of the access point.

12.  Check to see if you can connect to the network.

o        If you can access the Internet, but can't see other computers on your network, your access point is working. However, you may need to adjust other settings to see other computers on the same network.

For helpful information on troubleshooting tools, including ping, netstat, traceroute and nslookup,.

 

 

 
Send mail to webmaster@moskaluk.com with questions or comments about this web site.
Copyright ©  2004, 2005,2006, 2007, 2008  Moskaluk Inc.
Last modified: January 14, 2007