• HOW2 connect via Vodafone dongle?

    From dog@110:110/2002 to All on Sat Jul 20 05:24:46 2013

    Short queries:-
    1. What's about '8-bit clean'?
    2. Compared to old pppd for dial-up & my fixed-wireless-terminal,
    there's errors re. different/wrong CHANNEL: what's that?

    =====> long story with logs <=============
    Since my PC+radio-connection was stolen, I needed to buy a VodaFone-dongle, which so far only works with M$pook.
    - ---
    Via lsusb, modprobe, eject I was able to get the dongle to flash the LEDs, which the pamphlet indicates "3G network found and COULD connect".

    Does this thing use: <user>, <password> ?

    A MSwin user talks about one of the required arguments being???= "internet", how does that fit-in?

    From net-reports of 'voda??' of different locations/countries, I've
    abstracted the following `Script`:------
    #!/bin/sh
    #DEV=/dev/ttyUSB0
    #DEV=/dev/sg0
    #DEV=/dev/sr1
    #DEV=/dev/ttyUSB1
    DEV=/dev/ttyACM0 <--- also tried with ACM1
    echo "ATZ" >$DEV
    head -n 2 $DEV
    #echo 'AT+CGDCONT=1,"IP","web.yesss.at"' >$DEV
    echo 'AT+CGDCONT=1,"IP","Vodafone" >$DEV
    #echo 'AT+CGDCONT=1,"IP","internet" >$DEV
    #echo 'AT+CGDCONT=1,"IP","3" >$DEV
    #Init4 = AT+CGDCONT=1,"IP","hs.vodafone.ie"
    #Init5 = AT+CGDCONT=1,"IP","3ireland.ie"
    #"AT+CGDCONT=1,\"IP\"\"internet\""
    #Init4 = AT+CGDCONT=1,"IP","3"
    head -n 2 $DEV
    echo 'ATD*99***1#' >$DEV
    head -n 2 $DEV
    sleep 1
    /usr/sbin/pppd debug nodetach 460800 $DEV

    --------- end of script, which gives:----

    # ./Script
    ATZ

    OK
    ATZ

    ATZ
    ------------
    using channel 1
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyACM0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5c8e42f> <pcomp> <accomp>] LCP: timeout sending Config-Requests
    Connection terminated.
    Receive serial link is not 8-bit clean:
    Problem: all had bit 7 set to 0
    Modem hangup
    -----------------------------------------------
    What's the problem here? 2 error-message-types which I've never seen
    before:
    1. 'not 8-bit clean'
    2. <can't find the chanel>
    I can't see my linux logs now cos I'm in M$pook!

    ------------> tail -f /var/log/messages
    shows the 30 second connection thus:------------
    Jul 11 19:45:03 kongoni32 pppd[3574]: pppd 2.4.4 started by root, uid 0
    Jul 11 19:45:03 kongoni32 kernel: PPP generic driver version 2.4.2
    Jul 11 19:45:03 kongoni32 pppd[3574]: Using interface ppp0
    Jul 11 19:45:03 kongoni32 pppd[3574]: Connect: ppp0 <--> /dev/ttyACM0
    Jul 11 19:45:33 kongoni32 pppd[3574]: Connection terminated.
    Jul 11 19:45:35 kongoni32 pppd[3574]: Modem hangup
    Jul 11 19:45:35 kongoni32 pppd[3574]: Exit. **********************************************

    NB. this whole exercise is complicated by the fact that the robbers who
    stole my computer & previous modem, have forced me to start with a
    CD-based instalation [a slackware derivative], which I've never before confirmed as able to 'pppd'.

    hda15 is my good-old-proven installation, which I'm presently only
    able to chroot into, due to boot-problems.

    But, I suspect you can't just `chroot` since the "booted partition's
    /proc ...etc." are needed for pppd ?

    ==================
    # chroot /mnt/hda15 /VodaNet/Script
    chroot: cannot run command `/VodaNet/Script': Text file busy
    root@kongoni32:/# cp /mnt/hda15/VodaNet/Script /mnt/hda15/ScriptTFB root@kongoni32:/# chroot /mnt/hda15 /ScriptTFB
    ATZ

    AT+CGDCONT=1,"IP","Vodafone" >$DEV
    #echo AT+CGDCONT=1,IP,internet
    ATD*99***1#

    can't open routing table /proc/net/route: No such file or directory
    using channel 2
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyACM0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5761cf9> <pcomp> <accomp>] ....
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc5761cf9> <pcomp> <accomp>] LCP: timeout sending Config-Requests <--- hanging ?! exit via Ctrl/C ^CTerminating on signal 2
    Connection terminated.
    Receive serial link is not 8-bit clean: <-- what's this !?
    Problem: all had bit 7 set to 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    # ls -l /proc/net/route
    -r--r--r-- 1 root root 0 2013-07-11 19:57 /proc/net/route
    root@kongoni32:/# ls -l /mnt/hda15/proc/net/route
    /bin/ls: cannot access /mnt/hda15/proc/net/route: No such file or directory ------------------------------------------------
    set /Script to /dev/ttyACM1 from /dev/ttyACM0 re. /var/log/messages
    # /Script
    ATZ

    OKConnect: ppp0 <--> /dev/ttyACM1
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbbb29a91> <pcomp> <accomp>] ....
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbbb29a91> <pcomp> <accomp>] LCP: timeout sending Config-Requests
    Connection terminated.
    Receive serial link is not 8-bit clean:
    Problem: all had bit 7 set to 0
    Modem hangup
    +++++++++++++++++++++++++++++++++++++++++
    Jul 11 20:12:33 kongoni32 acpid: client connected from 7272[0:0]
    Jul 11 20:12:33 kongoni32 acpid: 1 client rule loaded
    Jul 11 20:14:10 kongoni32 pppd[7657]: pppd 2.4.4 started by root, uid 0
    Jul 11 20:14:10 kongoni32 pppd[7657]: Using interface ppp0
    Jul 11 20:14:10 kongoni32 pppd[7657]: Connect: ppp0 <--> /dev/ttyACM1
    Jul 11 20:14:40 kongoni32 pppd[7657]: Connection terminated.
    Jul 11 20:14:41 kongoni32 pppd[7657]: Modem hangup
    Jul 11 20:14:41 kongoni32 pppd[7657]: Exit.
    == Connected for 30 sec, like last test, BUT
    ? Why this NEW/DIFFERENT complaint ? ====================================================
    hda15: /ScriptTFB use /dev/ttyACM1
    root@kongoni32:/# chroot /mnt/hda15 /ScriptTFB
    ATZ

    AT+CGDCONT=1,"IP","Vodafone" >$DEV
    #echo AT+CGDCONT=1,IP,internet
    ATD*99***1#

    can't open routing table /proc/net/route: No such file or directory
    using channel 4
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyACM1
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x20f9ac77> <pcomp> <accomp>] ....
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x20f9ac77> <pcomp> <accomp>] LCP: timeout sending Config-Requests <-- hangs ?! ****************************************************************

    In the following log, [apparently after the CD-ROM is switched to modem],
    why are there *2*: ttyACM0 & ttyACM1 ?

    Jul 12 06:55:24 kongoni32 kernel: usb 1-2: configuration #1 chosen from 1 choice
    Jul 12 06:55:24 kongoni32 kernel: scsi7 : SCSI emulation for USB Mass
    Storage
    devices
    Jul 12 06:55:24 kongoni32 kernel: cdc_acm 1-2:1.1: ttyACM0: USB ACM device
    Jul 12 06:55:24 kongoni32 kernel: cdc_acm 1-2:1.3: ttyACM1: USB ACM device
    Jul 12 06:55:24 kongoni32 kernel: usbcore: registered new interface driver cdc_acm
    Jul 12 06:55:24 kongoni32 kernel: cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Jul 12 06:55:25 kongoni32 kernel: usb0 (cdc_ether): not using net_device_ops yet
    Jul 12 06:55:25 kongoni32 kernel: usb0: register 'cdc_ether' at usb-0000:00:04.1-2, CDC Ethernet Device, 02:2f:28:9d:4b:9f
    Jul 12 06:55:25 kongoni32 kernel: usbcore: registered new interface driver cdc_ether
    Jul 12 06:55:29 kongoni32 kernel: scsi 7:0:0:0: CD-ROM Vodafone
    USB
    SCSI CD-ROM 0001 PQ: 0 ANSI: 0
    +++++++++++++++++
    Jul 12 07:15:34 kongoni32 pppd[11722]: pppd 2.4.4 started by root, uid 0
    Jul 12 07:15:34 kongoni32 pppd[11722]: Using interface ppp0
    Jul 12 07:15:34 kongoni32 pppd[11722]: Connect: ppp0 <--> /dev/ttyACM1
    Jul 12 07:15:34 kongoni32 kernel: PPP BSD Compression module registered
    Jul 12 07:15:34 kongoni32 kernel: PPP Deflate Compression module registered
    Jul 12 07:15:37 kongoni32 pppd[11722]: local IP address 10.140.214.3
    Jul 12 07:15:37 kongoni32 pppd[11722]: remote IP address 10.0.0.1 <-
    LED
    steady dark-blue
    Jul 12 07:17:12 kongoni32 ntpd[6468]: Listening on interface #4 ppp0, 10.140.214.3#123 Enabled
    Jul 12 07:17:48 kongoni32 pppd[11722]: Terminating on signal 2
    Jul 12 07:17:48 kongoni32 pppd[11722]: Connect time 2.2 minutes.
    Jul 12 07:17:48 kongoni32 pppd[11722]: Sent 0 bytes, received 0 bytes.
    Jul 12 07:17:48 kongoni32 pppd[11722]: Connection terminated.
    Jul 12 07:17:49 kongoni32 pppd[11722]: Exit. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    As seen above 'it connected' and I did some `ping` [=OK];

    The common 'explanation': Do a, do b, ...do n is WRONG.
    The *correct* algorithm is:
    IF aFails THEN fixItandRepeat
    ELSEIF bFails THEN fixItandRepeat
    ....
    ELSEIF nFails THEN fixItandRepeat
    ELSE PassGo&Collect$200.

    Please advise on questions above:
    see "?" chars.

    ==TIA.

    PS. pasteing the cmnds manually to cli [instead of via a script], while monitoring
    </var/log/messages> and following the recorded previous log of 'success up
    to `ping`',
    does not re-succeed!



    --- MBSE BBS v1.0.0 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From Keith Keller@110:110/2002 to All on Sat Jul 20 05:44:06 2013

    ["Followup-To:" header set to comp.os.linux.networking.]

    On 2013-07-20, dog <nospam@gmail.com> wrote:

    NB. this whole exercise is complicated by the fact that the robbers who
    stole my computer & previous modem, have forced me to start with a
    CD-based instalation [a slackware derivative], which I've never before confirmed as able to 'pppd'.

    If you're using a Slackware derivative why are you trolling the Debian newsgroup?

    Also, changing your From: to avoid people's killfiles is another
    indicator of being a troll.

    --keith

    --
    kkeller-usenet@wombat.san-francisco.ca.us
    (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
    see X- headers for PGP signature information


    --- MBSE BBS v1.0.0 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From dog@110:110/2002 to All on Sun Jul 21 03:35:04 2013


    "Keith Keller" <kkeller-usenet@wombat.san-francisco.ca.us> wrote in message news:7mkpbaxbao.ln2@goaway.wombat.san-francisco.ca.us...
    ["Followup-To:" header set to comp.os.linux.networking.]

    On 2013-07-20, dog <nospam@gmail.com> wrote:

    NB. this whole exercise is complicated by the fact that the robbers who
    stole my computer & previous modem, have forced me to start with a
    CD-based instalation [a slackware derivative], which I've never before
    confirmed as able to 'pppd'.

    If you're using a Slackware derivative why are you trolling the Debian newsgroup?

    There are several knowlegable contributors on Debs & I'm migrating to rPi
    which is Deb-based & there are less stalker PERVERTS like YOU.
    I'm not married to any particular distribution, and I believe the linux community
    should avoid tribalism.

    Also, changing your From: to avoid people's killfiles is another
    indicator of being a troll.

    Well if the golliwog-robbers had stolen YOUR PC & connection, and you
    had to use a new-temporary M$pook poster, your settings might also all be changed.

    You're not very bright are you?

    --keith

    --
    kkeller-usenet@wombat.san-francisco.ca.us
    (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
    see X- headers for PGP signature information




    --- MBSE BBS v1.0.0 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)