UC-7400-LX Plus User’s Manual
Getting Started
2-15
NOTE
When the datacard is plugged into the card bus slot, your SIM card will ask for the PIN code. You
can use minicom or Hyper terminal on a host computer to disable it. Enter the AT+CLCK
command.
AT+CLCK=“SC”,0,”XXXX”
(replacing xxxx with your own PIN) to turn off the PIN function. This way, your UMTS card will
start searching for a network immediately. To turn the PIN function on again, type
AT+CLCK=“SC”,1,”XXXX”
To check the status of the PIN function, type
AT+CLCK=“SC”,2
“+CLCK: 0” means the PIN is off; “+CLCK: 1”means the PIN is on.
Connecting to the 3G Network
You can connect to 3G networks over a ppp connection.
#/etc/init.d/3g.sh nozomi start
After the connection is established, you can type ifconfig to check the ppp0 interface.
192.168.3.127 – PuTTY
root@Moxa:~# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr: 221.120.39.32 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:3
RX bytes 382 (382.0 B) TX bytes:337 (337.0 B)
root@Moxa:~#
The IP address of the ppp0 interface is 221.120.39.32, and it connects to a remote gateway with IP
address 10.64.64.54.
NOTE
The dial-out script uses /etc/ppp/ppp-umts.chat to chat with a 3G card. You would need to modify
this file to change the advanced configuration. The default SVN server in this chat script is set as
“internet”. This value varies between network service providers. Be sure to use the right SVN
server to connect the card.
Use the following command to stop 3G connection.
#/etc/init.d/3g.sh nozomi stop