Contents |
It is possible to use the Simpad with Opie 1.2 for Internet browsing. You need an supported GPRS/UMTS PCMCIA Card, an Browser and a SIM Card. The following example uses an N24 Card (via Vodafone) and a GlobeTrotter GPRS Card.
- chat.n24-pin (set you PIN here)
- chat.n24 (set you APN here)
- peers/n24-pin
- peers/n24
- call.n24 (start script)
TIMEOUT 5 ECHO ON "" 'ATZ' ABORT '\nBUSY\r' ABORT '\nERROR\r' ABORT '\nNO ANSWER\r' ABORT '\nNO CARRIER\r' ABORT '\nNO DIALTONE\r' ABORT '\nRINGING\r\n\r\nRINGING\r' '' \rAT TIMEOUT 5 OK 'ATQ0 V1 S0=0 &C1 &D2 +FCLASS=0' OK 'AT+CPIN=YOUR-PIN' TIMEOUT 5 CONNECT ""
TIMEOUT 5 ECHO ON "" 'ATZ' ABORT '\nBUSY\r' ABORT '\nERROR\r' ABORT '\nNO ANSWER\r' ABORT '\nNO CARRIER\r' ABORT '\nNO DIALTONE\r' ABORT '\nRINGING\r\n\r\nRINGING\r' '' \rAT TIMEOUT 45 OK 'ATQ0 V1 S0=0 &C1 &D2 +FCLASS=0' OK 'AT+CGDCONT=1,"IP","event.vodafone.de"' OK 'ATD *99#' TIMEOUT 30 CONNECT ""
debug noauth connect '/usr/sbin/chat -v -f /etc/ppp/chat.n24-pin' usepeerdns /dev/ttyS00 460800 defaultroute nodetach lcp-echo-failure 0 crtscts
debug connect '/usr/sbin/chat -v -f /etc/ppp/chat.n24' usepeerdns /dev/ttyS00 460800 defaultroute persist nodetach lcp-echo-failure 0 crtscts novj noipdefault user vodafone password vodafone modem noauth
#!/bin/sh # # simple init and call script # mrhbit 08/2010 @fcco.de # # modules modprobe ppp_generic modprobe ppp_async # device mknod /dev/ttyS00 c 4 64 echo "exec: pppd call n24-pin ..." pppd call n24-pin echo "wait some seconds ..." sleep 5 echo "exec: pppd call n24 ..." pppd call n24
http://blog.chinaunix.net/u1/47395/showart_2201247.html # ppp_async
http://www.pharscape.org/GlobeTrotterGPRShowto.html # Modem
http://ubuntuforums.org/showthread.php?t=696112 # ppp howto
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-3.html # cards