background image

DNA-CAR-550 Carrier Board

Chapter 2

8

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.

Chapter 2 

Connecting to the Internet with CAR-550 

2.1

Configuring 
Your  PCI  
Express  Mini 
Card 

The CAR-550 is a carrier card for PCI Express Mini Cards. Those mini cards can 
interface with a host using either PCI Express or USB 2.0 connectivity.
The CAR-550 only gives access to the USB 2.0 connectivity. It connects the PCI 
Express mini card USB pins to the USB host port on the CPU layer.
Although you can use the CAR-550 with various types of PCI Express mini 
cards, this manual focuses on using a Sierra wireless MC8790 card that offers 
UMTS/HSPA and quad-band GSM/GPRS/EDGE network access for roaming on 
high-speed networks worldwide.
Note that CAR-550 is only supported by the UEIPAC.

2.1.1

Prerequisites

You need to purchase a data plan with a cell phone provider that supports UMTS 
and/or GSM/GPRS. ATT and T-Mobile provide such a service in the USA.
Once you purchase a data plan, you will receive a SIM card that you need to 
insert in the CAR-550 before being able to establish a connection.
Don't forget to activate your account as soon as you receive your SIM card 
(usually done over the phone or on-line).

2.1.2

Manual 
Configuration

From the UEIPAC point of view, the wireless modem is seen as a serial port to 
which it can send Hayes AT commands as if it were an old fashioned RTC 
modem.
UEIPAC uses the PPP software to control the modem and configure a network 
connection with your phone provider.

2.1.3

Load Kernel 
Modules

At the command line prompt, type the following commands:

modprobe sierra
modprobe ppp

You should see the following messages printed on the console:

~ # modprobe sierra
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for Sierra USB modem
sierra 1-1:1.0: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to 
ttyUSB0
sierra 1-1:1.1: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to 
ttyUSB1
sierra 1-1:1.2: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to 
ttyUSB2
sierra 1-1:1.3: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to 
ttyUSB3
sierra 1-1:1.4: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to 
ttyUSB4
sierra 1-1:1.5: Sierra USB modem converter detected

Summary of Contents for DNA-CAR-550

Page 1: ...R 550 PCI Express Mini Card Module Carrier for UEIPAC series only User Manual February 2010 Edition Version 1 2 PN Man DNA CAR 550 0210 Copyright 1998 2010 United Electronic Industries Inc All rights reserved ...

Page 2: ...see the FAQs and online Live Help feature on our web site Internet Support Support support ueidaq com Web Site www ueidaq com FTP Site ftp ftp ueidaq com Product Disclaimer WARNING DO NOT USE PRODUCTS SOLD BY UNITED ELECTRONIC INDUSTRIES INC AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS Products sold by United Electronic Industries Inc are not authorized for use as critical components ...

Page 3: ...ni Card 6 Chapter 2 Connecting to the Internet with CAR 550 8 2 1 Configuring your PCI Express Mini Card 8 2 1 1 Prerequisites 8 2 1 2 Manual Configuration 8 2 1 3 Load Kernel Modules 8 2 1 4 Configure Provider 9 2 1 5 Start PPP Daemon 9 2 1 6 Automatic Startup 10 2 2 Connecting to a Wifi Network with CAR 550 10 2 2 1 Load Kernel Modules 10 2 2 2 Connect to an Open Access Point 11 2 2 3 Connect to...

Page 4: ...010 United Electronic Industries Inc List of Figures 1 1 DNA CAR 550 PCI Express Mini Card Module Carrier Board 2 1 2 UEIPAC Cube with CAR 550 Module Carrier 3 1 3 CAR 550 UEIPAC NIC and PPCx CPU Assembly 3 1 4 Block Diagram of DNA CAR 550 4 1 5 Inserting Removing PCI Express Mini Wireless Card 7 ...

Page 5: ...his section explains how to connect the UEIPAC to the Internet through the CAR 550 via PCI Express or USB 2 0 It also describes prerequi sites for using the board such as a cell phone data plan a SIM card and account activation Procedures for manual configuration and automatic startup are also included in this section Chapter 3 Programming with the Low Level API This section describes a low level ...

Page 6: ...upport visit us online http www ueidaq com faq 1 2 DNA CAR 550 Carrier Board Features The DNA CAR 550 module carrier board has the following features Allows UEIPAC direct connection to CELL WIFI networks Allows UEIPAC direct connection to GPS antennas Supports CELL WIFI GPS cards from many vendors Standard Mini Card USB interface Connects internally to UEIPAC USB port 2 external RF Coax connectors...

Page 7: ...C and PPCx CPU Assembly 1 3 Functional Description The purpose of the DNA CAR 550 is to provide an industry standard wireless interface between UEI UEIPAC GigE based programmable automation controllers and the Internet The CAR 550 accepts a standard PCI Express Mini Card that is compatible with a wide range of COTS cell WIFI and other communication cards some of which include a direct GPS interfac...

Page 8: ...PAC which allows the user to add or modify service without having to open the UEIPAC housing External RF connections are provided through two standard SMA coaxial connectors RPSMA connectors can also be supplied as an option The coaxial connectors for the antenna are mounted directly on the front panel of the Cube and are connected directly to the Mini Card by flexible leads as shown in Figure 1 3...

Page 9: ...st of the services the user has access to and two passwords PIN for usual use and PUK for unlocking SIM cards are available in two standard sizes The first is the size of a credit card 85 60 mm 53 98 mm x 0 76 mm The newer more popular miniature version has a width of 25 mm a length of 15 mm and a thickness of 0 76 mm However most SIM cards are still supplied as a full sized card with the smaller ...

Page 10: ...ceptacle on the CAR 550 is as follows STEP 1 Remove power from the UEIPAC and place it on a clean surface STEP 2 Remove the four retaining screws from the front panel of the UEIPAC Cube STEP 3 Pull the stack of boards out of the front of the UEIPAC STEP 4 Locate the receiving connector for the Mini Card on the top of the CAR 550 board As shown in Figure 1 5 insert the PCI Express Mini Card into th...

Page 11: ... 1 2 Date February 2010 550_Chap1 fm Copyright 2010 all rights reserved United Electronic Industries Inc To remove the Mini Card follow Steps 1 through 3 above and then pull the two retaining springs on the Mini Card receptacle away from the card until it releases Remove the antenna leads from the Mini Card and then remove the card from its mating connector Then follow Steps 5 and 6 above This com...

Page 12: ... the USA Once you purchase a data plan you will receive a SIM card that you need to insert in the CAR 550 before being able to establish a connection Don t forget to activate your account as soon as you receive your SIM card usually done over the phone or on line 2 1 2 Manual Configuration From the UEIPAC point of view the wireless modem is seen as a serial port to which it can send Hayes AT comma...

Page 13: ...p 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 modu...

Page 14: ...odules 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 chipse...

Page 15: ...essid name of your access point STEP 2 Bring up the wifi interface ifconfig wlan0 up You can now scan the access points accessible by your wifi interface iwlist wlan0 scan If there is a DHCP server on your network get an IP address for your wifi interface udhcpc i wlan0 s etd udhcpc default script Otherwise assign a static IP address to your wifi interface ifconfig wlan0 192 168 100 3 netmask 255 ...

Page 16: ...s point mode managed Run wpa_supplicant in daemon mode to authenticate with the access point wpa_supplicant iwlan0 c etc wpa_supplicant conf Dwext B Run iwconfig to verify that the authentication worked wlan0 IEEE 802 11bg ESSID fred Mode Managed Frequency 2 447 GHz Access Point 00 13 10 AA FA 10 Bit Rate 1 Mb s Tx Power 27 dBm Retry min limit 7 RTS thr off Fragment thr 2352 B Encryption key B507 ...

Page 17: ...not available in the current release of the CAR 550 board At present only one low level function is available for use with the CAR 550 board as described below 3 1 Low Level DqAdv Functions DqAdvSetWirelessState Syntax DqAdvSetWirelessState int hd int devn uint32 cmd uint32 data Command DQE Input int hd Handle to the IOM received from DqOpenIOM int devn Layer inside the IOM uint32 cmd What paramet...

Page 18: ...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_Chap3 fm Copyright 2010 all rights reserved United Electronic Industries Inc Description This function is used to enable or disable the wireless interface installed on a CAR 550 Note None ...

Page 19: ...Copyright 2010 United Electronic Industries Inc Appendix A Accessories This appendix provides a list of accessories typically used with CAR 550 carrier board s They are all available from a number of suppliers PCI Express Mini Cards SIM UIM Cards Coaxial Cables with SMA or RPSMA reverse polarity connectors ...

Page 20: ...Accessories 16 Automatic Startup 10 B Block Diagram 4 C Configure Provider 9 F Features 2 Functional Description 3 I Inserting the Mni Card 6 L Load Kernel Modules 8 M Manual Configuration 8 O Organization 1 P PCI Express 5 Prerequisites 8 Programming with the Low Level API 14 S SIM Card 5 specifications 5 Start PPP Daemon 9 U USB 2 0 5 W Wiring 6 ...

Reviews: