@ KDEV 2007 Some Rights Reserved
Using WI-FI with foXServe
foXServe supports  The DWL-G122 Wireless USB Adapter (available on e-shop), all you have to do is choose  o from config menu.
This feature was included from release 1.3.3.




How to activate wifi support

*INTERNET CONNECTION REQUIRED

Connect the foXServe to the LAN by the Ethernet port and login to the default ip address 192.168.0.96.
When you are logged in type:
config
The RT73 driver and wireless tools can be easily activated by choosing  o from config menu.
The installation process is fully automatic and is displayed in the picture below.
A detailed description of command syntax is available on Acme Systems Website:  http://www.acmesystems.it/?id=705


The picture below show config screenshot for INSTALLATION


Start using Wi-Fi

Logged to a console type:

# loadwifi
# tail -t /var/log/message

Insert the WiFi USB adapter. You will see something similar to following messages:

crisv10_irq dbg: ctr_status_irq, controller status: host_mode started
crisv10_irq dbg: ctr_status_irq, controller status: host_mode started running
usb 1-2: new full speed USB device using hc-crisv10 and address 5
idVendor = 0x7d1, idProduct = 0x3c03

Exit from the tail command pressing CTRL-C and type:

# /etc/init.d/wireless start

 * Bringing up rausb0...
    + IP: 192.168.10.90
    + WEP: off
    + Channel: 1
    + ESSID: FOX
    + Mode: ad-hoc                                                      

The Wifi adapter will go up with the default IP address 192.168.10.90.
Now see the TCP/IP configuration typing:

# ifconfig rausb0
rausb0    Link encap:Ethernet  HWaddr 00:17:9A:D0:12:EE
          inet addr:192.168.10.90  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:8034 (7.8 KiB)

And see the wireless configuration parms typing:

# iwconfig
Warning: Driver for device rausb0 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

rausb0    RT73 WLAN  ESSID:""
          Mode:Ad-Hoc  Frequency=1 MHz  Cell: D6:48:6D:35:23:32
          Bit Rate=11 Mb/s
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level:-121 dBm  Noise level:-115 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

About this message:

Warning: Driver for device rausb0 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

we will investigate asap to update the driver inside the FOX Board SDK.


Configuring the WiFi adapter

The default configuration file of the WiFi adapter at the startup is /etc/conf.d/net.wireless. Let's look at its contents:
DEV="rausb0"

rausb is the device name of your WiFi adapter.

IP="192.168.10.90"
SUBNET="255.255.255.0"

IP if the default IP address assigned to the adapter.
SUBNET is the subnet mask of your network.

ESSID="FOX"

ESSID is the Extended Service Set ID and identify the name of the wireless network. By specifying the ESSID you make sure that you connect to your wireless network instead of your neighbors network by mistake.

WIFI_DEFAULT="0"
WIFI_GATEWAY=""

WIFI-DEFAULT tells is the WiFi adapter is the default gateway adapter and WIFI_GATEWAY indicates the IP address of the gateway on the network.
CHANNEL="1"

CHANNEL is the wireless channel that you want to use.

MODE="ad-hoc"

Set MODE="ad-hoc" to contact another host (another FOX Board for example) without using any Access Point .
Set MODE="managed" to link the FOX Board to Access Point.


KEY="off"

This parm is the key to use in WEP encryption. When equal to "off" no encryptions is used.

Once you have changed the settings, you need to restart the wireless interface by executing the following commands.

# /etc/init.d/wireless stop
# /etc/init.d/wireless start

The wireless will be running with the new settings.

Related links






foXServe is Developed by KDEV a Davide Cantaluppi company and running on ACME SYSTEMS srl Hardware.

foXServe update
Name:
Email:



@ KDEV 2007 Some Rights Reserved
foXServe firmware is free
foXServe firmware
Download it now!


LICENSES

Apache/1.3.37 Server

Copyright 2007 Kdev of Davide Cantaluppi Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

PHP 5.0.5
"This product includes PHP software, freely available from <http://www.php.net/software/>"

MOD_DAV
This product includes software developed by Greg Stein <gstein@lyra.org> for use in the mod_dav module for Apache (http://www.webdav.org/mod_dav/).