
DNA-CAR-550 Carrier Board
Chapter 2
9
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.
usb 1-1: Sierra USB modem converter now attached to
ttyUSB5
sierra 1-1:1.6: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to
ttyUSB6
usbcore: registered new interface driver sierra
sierra: v.1.3.2:USB Driver for Sierra Wireless USB
modems
~ # modprobe ppp
PPP generic driver version 2.4.2
2.1.4
Configure
Provider
The system is pre-configured to connect to ATT network. If you are using a
different provider, edit the file /etc/ppp/peers/gsm_chat
Look for the following line:
OK 'AT+CGDCONT=1,"IP","ISP.CINGULAR"'
Replace it with the APN (Access Point Name) of your provider.
For example, T-mobile's APN is “
epc.tmobile.com
”, so the line in
/etc/ppp/peers/gsm_chat becomes:
OK 'AT+CGDCONT=1,"IP","EPC.TMOBILE.COM"'
2.1.5
Start PPP
Daemon
Issue the following command to start the PPP daemon and configure the net-
work connection.
/etc/init.d/pppd start
After a few seconds, the script will return printing the message “[OK]” if it suc-
cessfully configured the network connection or “[Failed]” if it did not.
~ # /etc/init.d/pppd start
Starting pppd...PPP BSD Compression module registered
PPP Deflate Compression module registered[ OK ]
In case of failure, type the command “
dmesg
” to print the log and send that
information to UEI technical support.
Type the command “
ifconfig
” to print the network connections currently
configured on your UEIPAC. There should be three connections:
local
,
eth0
and
ppp0
.
eth0 Link encap:Ethernet
HWaddr 00:0C:94:00:C5:CB inet addr:192.168.100.2
Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1RX packets:0 errors:0 dropped:0 overruns:0
frame:0 X packets:0 errors:0 dropped:0 overruns:0
carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 X
packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0