4 thoughts on “Linux –> Nokia 6820 –> Matrix Indosat

  1. The website seems to have gone offline, so here’s a copy of it. Hopefully the author doesn’t mind.


    Nokia 6820 + Internet

    Recipe for getting Nokia 6820 working with Linux laptop
    and CA-42 USB cable:

    /etc/ppp/peers/rogers

    /dev/input/ttyACM0 115200 crtscts debug usepeerdns nobsdcomp noipdefault
    connect '/usr/sbin/chat -v -f /etc/ppp/peers/rogers.chat'
    

    /etc/ppp/peers/rogers.chat

    ABORT "NO CARRIER"
    ABORT "ERROR"
    ABORT "NO ANSWER"
    ABORT "BUSY"
    "" "ATZ"
    OK "ATS0=0"
    OK "AT&FV1&D2&S0&C1S0=0"
    OK "ATS7=60+DS=3,0;&K3"
    OK "AT+CBST=14,0,1;+CHSN=2,0,0,0"
    OK 'AT+CGDCONT=1,"IP","internet.com",,0,0'
    OK "ATD*99#"
    CONNECT
    

    CLI:

    $ pppd call rogers
    ..
    $ killall pppd
    

    I don’t seem to have the BSD compression module (bsd_comp) in my kernel, so
    I need nobsdcomp. usepeerdns and noipdefault seem to be necessary
    to get the LCP authentication to work. debug puts some information
    in /var/log/messages (not sure what syslog level; info maybe) and
    PPP logs in level daemon.debug – I had to add that to syslogd.conf.
    I didn’t get this working till I read Greg’s page – I had tried noipdefault
    after trying to see what was different in Windows but hadn’t tried
    usepeerdns, and the PPP session would fail with
    Protocol-Reject and a message on the phone “subscribe to GPRS first” (same
    as if the APN setting is incorrect)

    CGDCONT command overrides the APN code from the phone. This line is only
    necessary if you use more than one APN. AT codes are documented
    on forum.nokia.com.

    The phone shows up as USB Vendor=0421 ProdID=0802. On one
    system I added “alias char-major-166 acm” to /etc/modules.conf, and
    I think I had to run some makedev command to create /dev/input/ttyACM0.
    I also copied it into /dev with a link to /dev/modem for the benefit
    of minicom, which didn’t seem happy to have a device not in /dev/.

    You can talk to the modem with minicom and enter AT codes – there
    are lots. Things like asking for the signal strength and
    cell ID. Not everything documented in the “Nokia GSM connectivity
    terminal AT command guide” works, though – addressbook commands didn’t work
    for me.

    (the CBST modem codes set the speed to 14.4k. But GPRS uses up to 8 timeslots
    so you should get up to 8*14.4 = 115k, more with EDGE …)

    Kernel Tuning

    It may be advantageous to set /proc/sys/net/ipv4/tcp_keepalive_time to
    1200 (20 minutes). Also possibly reduce txqueuelen in ppp0 ifconfig (must check..)

    Resources:

    Return to Vancouver Mobile Internet Blog

Leave a Reply

Your email address will not be published. Required fields are marked *