[Mageia-discuss] Wish List

doug dougrb at o2.co.uk
Sat Oct 9 14:07:25 CEST 2010

On 08/10/10 19:30, Marc Paré wrote:
>> <Apologies - I've lost your post about the kernel not
>> recognising your
>> dongle; and please forgive me if this is already known to
>> you>
>> My dongle wasn't recognised as such by the MDV 2009.1
>> kernel either.
>> I had to install
>> lsusb
>> usb-storage
>> usbserial.
>> usb-modeswitch (from rpmfind.net)
>> wvdial
>> (kppp I had already installed).
>> As far as I know usb-modeswitch isn't dongle-specific.
>> However it was essential to attach the dongle BEFORE
>> booting up for the
>> mode switch to take place, otherwise it was just
>> recognised as a simple
>> memory stick.
>> Then
>> ls -alrt /dev/ttyUSB* showed
>> /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3
>> After that there were some configuration steps to carry out.
>> Doug
> Thanks! I'll give it a try this weekend. It would be awesome
> if this worked out.
> Marc
FYI. These are the details from the crib sheet I used to set 
it up:

as root, run lsusb:
Bus 003 Device 005: ID 19d2:0002 ONDA Communication S.p.A. 

as root, run 'wvdialconf' to create /etc/wvdial.conf, then 
edit wvdial.conf to the following:

[Dialer Defaults]
Modem = /dev/ttyUSB1
Baud = 921600
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","ibox.tim.it",,0,0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = No
Phone = *99#
Username = abcd
Password = 1234

(valid configuration for Alice Mobile: For other operators 
vary the initialization string that contains the Init2 APN - 
I can't help here)

To connect to the internet
run 'wvdial' as root

OR preferably alter 'sudoers' file:
  run 'visudo '
Add line
"dougb hplaptop = NOPASSWD /usr/bin/wvdial"
and then to connect to the internet
run 'sudo wvdial'
I get the following output:

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: AT+CGDCONT=1,"IP","ibox.tim..it",,0,0
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
--> Carrier detected.  Waiting for prompt.
(There's usually a message saying that it's given up waiting 
for a prompt and is going ahead regardless)
then, when the IP addresses are checked, we will .be.. 

Finally close with CRTL+C

<end quote>

(I've now put 'sudo wvdial' in a script and have a Custom 
Application in an icon of a Gnome panel that runs it in a 
terminal. So it's called by a single mouse click).

HTH in getting you started.


More information about the Mageia-discuss mailing list