Hi John,
Are you on the EVDO network or perhaps CDMA?! I am getting an invalid dial command with *99#
cheers,
Mark
for my orange,
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Idle Seconds = 180
Phone = *99#
Modem = /dev/ttyUSB1
Username = user
Dial Command = ATD
Password = user
Baud = 9600
I also have a script in /bin, which looks like this,
#!/bin/bash
modprobe -r uhci_hcd
sleep 1
modprobe uhci_hcd
sleep 1
wvdialconf
wvdial bambanet
wvdial &
After correct configuration on your wvdial.conf, just run the small
bash script above. Remember it does modprobe so pulling it out with
pkilling wvdial may bring some issues with your lappy.
my $0.02
./Chuks
--
On 1/25/10, Mark de Blois <mark@upande.com> wrote:
> Thanks again for your thoughts Ndungi, I had run this script before and it
> does update the conf file, with ttyUSB0. When I then replace my RUIM
> username/password I still get the same NO CARRIER DETECTED output
> unfortunately....
>
> Below is the output I get when I run wvdialconf, maxspeed at 9600 does not
> seem right?!
>
>
> Editing `/etc/wvdial.conf'.
>
> Scanning your serial ports for a modem.
>
> Modem Port Scan<*1>: S0 S1 S2 S3
> WvModem<*1>: Cannot get information for serial port.
> ttyUSB0<*1>: ATQ0 V1 E1 -- OK
> ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI
> TECHNOLOGIES CO., LTD
> ttyUSB0<*1>: Speed 9600: AT -- OK
> ttyUSB0<*1>: Max speed is 9600; that should be safe.
> ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> WvModem<*1>: Cannot get information for serial port.
> ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
> ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
> ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
> WvModem<*1>: Cannot get information for serial port.
> ttyUSB2<*1>: ATQ0 V1 E1 -- OK
> ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
> ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
> ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI
> TECHNOLOGIES CO., LTD
> ttyUSB2<*1>: Speed 9600: AT -- OK
> ttyUSB2<*1>: Max speed is 9600; that should be safe.
> ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>
> Found a modem on /dev/ttyUSB0.
> Modem configuration written to /etc/wvdial.conf.
> ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>
>
> On Mon, Jan 25, 2010 at 12:18 PM, Ndungi Kyalo <ndungi@gmail.com> wrote:
>
>> Hi Mark,
>>
>> Username and password are the ones that came with the RUIM card.
>>
>> Am not sure about the line `Dial Command = ATM1L3DT` or `Init = ATX0`
>> either. The best bet on these is to plug in your EVDO and then run
>> `wvdialconf`. wvdialconf will generate the correct wvdial.conf; just
>> without
>> your username+password, and the Phone = xxxx parameter. However if `Dial
>> Command = ATM1L3DT` and `Init = ATX0` work on mac then noneed to change
>> it.
>>
>> I cannot remember whether it was /dev/ttyUSB0 or 1, but luckily wvdialconf
>> almost always writes a .conf with the correct serial device. You can try
>> switching the `0` with a `1` for a quick test though..
>>
>>
>> Regards and good luck.
>>
>>
>> --
>> Ndungi Kyalo
>> biblia.kenya.or.ke
>>
>>
>>
>>
>> On Mon, Jan 25, 2010 at 9:08 AM, Mark de Blois <mark@upande.com> wrote:
>>
>>> Thanks for responding Ndungi, it seems like several serial ports are
>>> attached in /var/log/messages, so not sure which to use (ttyUYSB0, 1 or
>>> 2).
>>> Do you know if I need to use 'Orangefixedplus' and 'Orange' as the
>>> username/password combo, or my personal one that came with the RUIM card?
>>> On
>>> my Mac I use the latter with success :)
>>>
>>> My latest wvdial.conf looked like this:
>>>
>>> [Dialer Defaults]
>>> Modem = /dev/ttyUSB0
>>> ISDN = off
>>> Modem Type = USB Modem
>>> Baud = 460800
>>> Init = ATX0
>>> Phone = #777
>>>
>>> Dial Prefix =
>>> Dial Attempts = 1
>>> Dial Command = ATM1L3DT
>>> Ask Password = off
>>> Password = 020xxxx
>>> Username = xxxx
>>> Auto Reconnect = on
>>> Abort on Busy = off
>>> Carrier Check = no
>>> Check Def Route = on
>>> Abort on No Dialtone = on
>>> Stupid Mode = on
>>> Idle Seconds = 0
>>> Auto DNS = on
>>> [Dialer shh]
>>> Init3 = ATM0
>>>
>>> The response:
>>> --> WvDial: Internet dialer version 1.60
>>> --> Cannot get information for serial port.
>>> --> Initializing modem.
>>> --> Sending: ATX0
>>> ATX0
>>> OK
>>> --> Modem initialized.
>>> --> Sending: ATM1L3DT#777
>>> --> Waiting for carrier.
>>> ATM1L3DT#777
>>> NO CARRIER
>>> --> No Carrier! Trying again.
>>> --> Maximum Attempts Exceeded..Aborting!!
>>> --> Disconnecting at Mon Jan 25 12:06:16 2010
>>>
>>> Thanks for any pointers!
>>>
>>> cheers,
>>> Mark
>>>
>>>
>>> On Mon, Jan 25, 2010 at 11:43 AM, Ndungi Kyalo <ndungi@gmail.com> wrote:
>>>
>>>> You will sometimes get that response if you havent bought the bundle, or
>>>> paid cause it cant authenticate your username and password.
>>>> Alternatively,
>>>> post your wvdial.conf here; and append the output you get form the
>>>> terminal
>>>> when you run wvdial.
>>>> --
>>>> Ndungi Kyalo
>>>> biblia.kenya.or.ke
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, Jan 25, 2010 at 8:15 AM, Mark de Blois <mark@upande.com> wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> Just wanted to find out whether someone managed to get the Orange EVDO
>>>>> modem working under Linux. I tried under Ubuntu 9.10 and am nog getting
>>>>> any
>>>>> carrier response, though I am sure it must be possible (I was able to
>>>>> connect under 9.04 I believe). I am hoping to use the Ubuntu box as an
>>>>> internet gateway for my LAN. Orange's deal of 1 KES per 1Mb seems to be
>>>>> one
>>>>> of the better deals.
>>>>>
>>>>> cheers,
>>>>>
>>>>> --
>>>>> Mark
>>>>>
>>>>> Upande
>>>>> P.O. Box 30439-00100
>>>>> Nairobi, Kenya
>>>>>
>>>>> www.upande.com
>>>>> linkedin: http://www.linkedin.com/in/markdeblois
>>>>> twitter: http://twitter.com/mdeblois
>>>>>
>>>>> _______________________________________________
>>>>> Skunkworks mailing list
>>>>> Skunkworks@lists.my.co.ke
>>>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>>>>> ------------
>>>>> Skunkworks Server donations spreadsheet
>>>>>
>>>>> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
>>>>> ------------
>>>>> Skunkworks Rules
>>>>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>>>>> ------------
>>>>> Other services @ http://my.co.ke
>>>>> Other lists
>>>>> -------------
>>>>> Announce:
>>>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
>>>>> Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
>>>>> kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Skunkworks mailing list
>>>> Skunkworks@lists.my.co.ke
>>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>>>> ------------
>>>> Skunkworks Server donations spreadsheet
>>>>
>>>> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
>>>> ------------
>>>> Skunkworks Rules
>>>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>>>> ------------
>>>> Other services @ http://my.co.ke
>>>> Other lists
>>>> -------------
>>>> Announce:
>>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
>>>> Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
>>>> kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
>>>>
>>>
>>>
>>>
>>> --
>>> Mark
>>>
>>> Upande
>>> P.O. Box 30439-00100
>>> Nairobi, Kenya
>>>
>>> www.upande.com
>>> mobile: +254 713 234 798 (Kenya)
>>> skype: markdeblois
>>>
>>> linkedin: http://www.linkedin.com/in/markdeblois
>>> twitter: http://twitter.com/mdeblois
>>>
>>> _______________________________________________
>>> Skunkworks mailing list
>>> Skunkworks@lists.my.co.ke
>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>>> ------------
>>> Skunkworks Server donations spreadsheet
>>>
>>> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
>>> ------------
>>> Skunkworks Rules
>>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>>> ------------
>>> Other services @ http://my.co.ke
>>> Other lists
>>> -------------
>>> Announce:
>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
>>> Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
>>> kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
>>>
>>
>>
>> _______________________________________________
>> Skunkworks mailing list
>> Skunkworks@lists.my.co.ke
>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>> ------------
>> Skunkworks Server donations spreadsheet
>>
>> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
>> ------------
>> Skunkworks Rules
>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>> ------------
>> Other services @ http://my.co.ke
>> Other lists
>> -------------
>> Announce:
>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
>> Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
>> kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
>>
>
>
>
> --
> Mark
>
> Upande
> P.O. Box 30439-00100
> Nairobi, Kenya
>
> www.upande.com
> mobile: +254 713 234 798 (Kenya)
> skype: markdeblois
> linkedin: http://www.linkedin.com/in/markdeblois
> twitter: http://twitter.com/mdeblois
>
--
Gichuki John Ndirangu, C.E.H , C.P.T.P, O.S.C.P
I.T Security Analyst and Penetration Tester
infosigmer@inbox.com
{FORUM}http://lists.my.co.ke/pipermail/security/
http://nspkenya.blogspot.com/
http://chuksjonia.blogspot.com/
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general