[Mageia-discuss] Wish List
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
>> My dongle wasn't recognised as such by the MDV 2009.1
>> kernel either.
>> I had to install
>> usb-modeswitch (from rpmfind.net)
>> (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.
>> ls -alrt /dev/ttyUSB* showed
>> /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3
>> After that there were some configuration steps to carry out.
> Thanks! I'll give it a try this weekend. It would be awesome
> if this worked out.
FYI. These are the details from the crib sheet I used to set
as root, run lsusb:
Bus 003 Device 005: ID 19d2:0002 ONDA Communication S.p.A.
ET502HS/MT505UP ZTE MF632
as root, run 'wvdialconf' to create /etc/wvdial.conf, then
edit wvdial.conf to the following:
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 '
"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
(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