DNA-CAR-550 Carrier Board
Chapter 2
10
Connecting to the Internet with CAR-550
Edit: TBD
Checked: TBD
Date:210
Vers:
Draft
Scheidt & Bachmann
550_Chap2.fm
© Copyright February 15, 2010 Scheidt &
Bachmann USA
www.ueidaq.com
Vers:
1.0
printed February 2010
Fax: 781-821-2891
Electronic Industries, Inc.
-821-2890
Tel: 508-921-4600
www.ueidaq.com
Vers:
1.2
Date: February 2010
550_Chap2.fm
© Copyright 2010 all rights reserved
United Electronic Industries, Inc.
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:166.203.211.199
P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST
MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0
overruns:0 frame:0 TX packets:15 errors:0 dropped:0
overruns:0 carrier:0 collisions:0 txqueuelen:3
RX bytes:182 (182.0 B) TX bytes:257 (257.0 B)
Make sure that ppp0 was assigned an IP address.
You can now connect to the internet from your UEIPAC.
2.1.6
Automatic
Startup
To automatically load the kernel modules, edit the file
/etc/modules
and add the
following lines at the end of the file:
sierra
ppp
To automatically start the
ppp daemon
, add a symbolic link to
/etc/init.d/pppd
in the directory
/etc/rc.d
with the following command:
ln -s /etc/init.d/pppd /etc/rc.d/S30pppd
2.2
Connecting
to a Wifi
Network with
CAR-550
The UEIPAC comes with drivers for Wifi network usb interfaces that use the
following chipsets:
•
Realtek RTL8187
•
Ralink RT2570, RT2571
To connect a CAR-550 to a WiFI network, use the following procedure:
2.2.1
Load Kernel
Modules
At the command line prompt, type one of the following commands depending on
the wifi chipset you are using:
modprobe rtl8187
modprobe rt200xusb
modprobe rt2500usb
modprobe rt73usb
Wifi network interface are names
wlan0, wlan1,
etc…
The
iwconfig
utility is used to configure wifi communication parameters.
You can verify that your interface was properly detected by typing the command
iwconfig.
A new entry
wlan0
should appear:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz
Access Point: Not-Associated
Tx-Power=0 dBm