Acer 3400LMI manual Gprs, AT+CGDATA=PPP,1

Page 32

F8­x86_64 on the Acer Ferrari 3400LMi

13.2.5 GPRS

As mentioned earlier the only difference between dialing modem­to­modem or using the phone as a GPRS gateway to internet is just a matter of configuration. Basic knowledge about modem commands and dialing is assumed, so modem­to­ modem dialing is not described here. However, some short hints on GPRS connections are given below.

A GPRS connection is established by means of modem configuration rather than actual dialing. Two AT command strings are vital for GPRS connections. First a configuration string is used to specify things like protocol and network provider. This string is passed during modem initialization and in my case it is:

AT+CGDCONT=1,”IP”,”services.vodafone.net”,””,0,0

After initialization the actual dialing is substituted by sending a connection request to the network provider. The request contains the type of connection you want to use, e.g PPP. It should look similar to:

AT+CGDATA=”PPP”,1

When used in a connection tool like Kppp the sequence of AT commands may look similar to the one in the snapshot below.

32

Image 32
Contents Table of Contents F8-x8664 on the Acer Ferrari 3400LMiF8­x8664 on the Acer Ferrari 3400LMi Quick reference guide IntroductionVersion Hardware Status Details Installation Graphical installerPotential pitfalls Disk sizeUpgrading the drive Ieee 1394 FirewireHard drive Potential problems # time cp ­rp /media/ieee1394disk/430MBfolder ~Configuring Firewire CommentsSpecial keys & buttons In-1 Card readerPC-card Configuration procedure Key-codesButton Key-code Default X key symbols Scan-codesLinux key-codes = XF86WWW Key-codes revisitedWWW Configure actions CPU & Acpi supportGraphics SuspendCPU frequency scaling BasicsRadeon driver Simple configurationDual-Head Virtual screen size # xrandr ­q Screen 0 minimumXrandr tool Fn-F5 button10.3 3D acceleration Other observations Simple benchmarkOptimization TV-out Load detectionNtsc or PAL InitializationWireless NIC Touch-padWlan firmware Installing WlanWlan tools Essid Get started with WlanManual way # iwconfig wlan0 essid Perspektiv GUI way BluetoothVerify installation Using a phone modem UP Running PscanPrepare the phone Prepare the laptop Obex File Transfer 0x1106 Protocol Descriptor List Static configuration Short explanation of the command aboveDynamic routine Gprs AT+CGDATA=PPP,1KBluetooth InstallationSending files Mouse & keyboardMouse & keyboard Scan for devicesLock screen Transfer files Configuring IrDAInfrared IRQ DMATesting IrDA ModemInstalling daemon SLMODEMDCOUNTRY=SWEDEN SLMODEMDDEVICE=Disconnecting Potential issueConnecting References System hangF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA Ntsc Appendix B dual­head.shINTERNAL=LVDS ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds LVDS+VGA­0 NEXT=$CURRENTInternal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi SLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE $CONFIGRETVAL=0 RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi