Onward. I used Gentoo Linux with a 2.4 kernel. Your mileage may vary. If you discover a difference in your distro, feel free to
submit
your suggestions to opensource@advantedgecomputing.com.
<M> PPP (point-to-point protocol) support <M> PPP support for async serial ports2. Re-compile your kernel; in gentoo w/2.4 kernel:
# cd /usr/src/linux # make dep && make bzImage modules modules_install3. Enable kernel pcmcia support. Anyone care to suggest specific steps? Please e-mail me if so.
# emerge -va pcmcia-cscontinue if you are satisfied with the dependencies and use flags
# emerge -va pppcontinue if you are satisfied with the dependencies and use flags
# emerge -va screencontinue if you are satisfied with the dependencies and use flags
# Script source: http://advantedgecomputing.com/opensource/gc83linux.html # Assembled by advantEDGE opensource - e-mail: opensource@advantedgecomputing.com # Feel free to e-mail us with questions, comments or suggestions. # If you have a GC82, try uncommenting before hacking and recompiling pppd! #192.168.201.1: # forces IP address (enable for GC82 only) # information about your device /dev/ttyS2 # device file assigned to GC8x modem 230400 # pcmcia negotiation speed #115200 # slower negotiation speed # ---------------------------------------------------------------- # Initial authentication ----------------------------------------- user ISPDA@CINGULARGPRS.COM # username (data acceleration) #user ISP@CINGULARGPRS.COM # username (no data acceleration) #user WAP@CINGULARGPRS.COM # username WAP, not common! password CINGULAR1 # a common GPRS/EDGE password # ---------------------------------------------------------------- defaultroute # use cellular network's gateway noipdefault # force peer to specify local IP (GC83 only) usepeerdns # use DNS servers from remote host remotename attws # assume 'attws' as name of remote system ipparam attws # add 'attws' to ip-up & ip-down script crtscts # enable hardware flow control lock # lock the serial port when in use noauth # don't expect peer to authenticate persist # re-dial connection if dial fails #local # ignore Carrier Detect and DTR signals # ----------------------------------------------------------------- # uncomment these options when roaming or when signal is low ------ # leaving these options commented increases data throughput ------- #novj # disable TCP/IP header compression #novjccomp # disable connection ID compression # ----------------------------------------------------------------- # ----------------------------------------------------------------- # These compression styles can cause problems over GPRS/EDGE # Uncomment these lines for troubleshooting #nodeflate # Disable deflate compression #nobsdcomp # Disable bsd-compress compression # ---------------------------------------------------------------- # Leave uncommented, at least until your connection works consistently debug # provides verbose output to stderr # --------------------------------------------------------------- # Uncomment this option if you don't have the screen window manager # screen is a helpful tool # it can be obtained from http://www.gnu.org/software/screen nodetach # do not allow terminal to detach ipcp-max-configure 20 # increase the maximum IPCP config requests maxfail 0 # do not stop retrying connection # Move on to the chat script after connection connect '/usr/sbin/chat -v -V -t3 -f /etc/ppp/chat-gc83'2. Chat file /etc/ppp/chat-gc83:
# Script source: http://advantedgecomputing.com/opensource/gc83linux.html # Assembled by advantEDGE opensource - e-mail: opensource@advantedgecomputing.com # Feel free to e-mail us with questions, comments or suggestions. # SAY 'Starting GPRS connect script...\n' SAY '\n' # ispauth CHAP # define auth method (optional) SAY 'Setting the abort string\n' SAY '\n' # Abort String --------------------------------- #ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED #TIMEOUT 10 #ABORT 'BUSY' ABORT 'NO ANSWER' ABORT 'NO CARRIER' # ---------------------------------------------- SAY 'Initializing modem\n' # Modem Initialization ------------------------- #'' ATZ # Eo=No echo, V1=English result codes #OK 'ATE0V1' '' AT+cfun=1 OK AT+cfun=1 OK AT+cgreg=1 OK AT #TIMEOUT 40 # ---------------------------------------------- # Additional initialization (optional) --------- # /begin att OK AT&F&D2&C1E0V1S0=0 OK AT+IFC=2,2 OK ATS0=0 OK AT OK AT&F&D2&C1E0V1S0=0 OK AT+IFC=2,2 # /end att #AT&FE0S0=0 #AT&F0&D2+IFC=2,2V1Q0XIS0=0S7=50+CMEE=1 # ---------------------------------------------- SAY '\n' SAY 'Setting APN\n' # Set Access Point Name (APN) ------------------ # Incorrect APN or CGDCONT variable is a # frequent cause of peer LCP TermReqs # So try each setting at least once! =) #REG:\s1 AT+cgdcont=1,"IP","proxy" #OK 'AT+CGDCONT=0,"IP","proxy"' #OK 'AT+CGDCONT=1,"IP","proxy"' #OK 'AT+CGDCONT=2,"IP","proxy"' #OK 'AT+CGDCONT=0,"IP","isp.cingular"' #OK 'AT+CGDCONT=1,"IP","isp.cingular"' OK 'AT+CGDCONT=2,"IP","isp.cingular"' # ---------------------------------------------- SAY '\n' SAY 'Dialing...\n' # Dial the ISP --------------------------------- # a few different dial commands are shown # the default should work fine #REG:\s1 'ATD*99***1#' OK ATDT*99***1# #OK ATD*99***1# #OK ATD*99# #OK 'ATD*##***##' #OK CONNECT ' ' # ---------------------------------------------
# screen1b. Type:
# pppd call cingularfile not found? Try:
# /usr/sbin/pppd call cingularStill no luck? Locate pppd using the slocate or find command and run it using the full path. The above downloadable peers file enables debugging, so you can e-mail me with your verbose output if you don't connect. I run a tight schedule, but I will get to you as soon as possible.
# ifconfigYou should see IP address info for ppp0 or a similar PPP connection. If you do, then proceed.