Linux - HOWTO (With Stats)

Status
Not open for further replies.
Hey daka,

Thanks for the info and tips - and well done on getting it to work, even under kubuntu :)

I used much of the useful information in this forum to experiment and finally was successful..... Of course if anyone has any suggestions they would be most welcome: Here is how I configured it:

HOW TO Configure the Huawei 220 usb modem in Linux, (IN SPAIN)
__________________________________________________________________

"Spain is different" (..is an advertising slogan they developed years ago to attract tourists to Spain) (Technologically VERY different)

I am a Linux newbie... this is my first "How To".... I tried other advice from various forums without success... by experimenting I came up with this soultion:

I use a Packard Bell EasyNote laptop with Kubuntu kernel 2.6.15-23-386

Disable pin by putting card in a phone and disabling (otherwise the nightmare is much worse..,.although it is possible... I eventually disabled the pin and am much happier.

When the Huawei is identified initially as a CD "Connect_Box", right click it and "eject"

Go to System Settings / Network Settings and disable Ethernet and Wireless as these interfere greatly with the Huawei.

(I read in a few places that the long cable doesn't work but this is NOT my experience... I use the long one with an extension of two metres and my connection then, (only then) has a strong and stable signal)

Open a terminal as root

rmmod usb-storage
modprobe usbserial vendor=0x12d1 product=0x1003

remove the Huawei E220 for a few moments

wait a few seconds, maybe 10-20, and re-insert

optionally, you can enter:
ls -la /dev/ttyU*
and you will probably
find USB0 USB1 and USB2 ..
if not, wait a few more moments and try again...
then...

wvdial hsdpa

You should be connected!

Here is my wvdial file:

/etc/wvdial.conf



[Dialer hsdpa]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","ac.vodafone.es";

_______________________________________________________



This is what my script looks like when I connect

Password:
root@kp-laptop:/home/daka# rmmod usb-storage
root@kp-laptop:/home/daka# modprobe usbserial vendor=0x12d1 product=0x1003
root@kp-laptop:/home/daka# ls -la /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 2006-12-19 14:33 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2006-12-19 14:33 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 2006-12-19 14:33 /dev/ttyUSB2
root@kp-laptop:/home/daka# wvdial hsdpa
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"IP","ac.vodafone.es";
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Dec 19 14:33:56 2006
--> Pid of pppd: 5550
--> Using interface ppp0
--> local IP address 62.87.24.143
--> remote IP address 10.64.64.64
--> primary DNS address 212.73.32.3
--> secondary DNS address 212.73.32.67

Good Luck... (I hope I haven't made any mistakes in this!!)

Daka
 
"Modem not responding"

Hi!
Searching these forums didn't really help. This thread is also a bit big... Here's my problem. Maybe you could help me with some info.

I have a Huawei E220 with Vodafone and I might be the first around here in Romania to try this modem on Linux.
I have openSUSE 10.2 with kernel 2.6.18.2-34-default.

After plugging the device /var/log/messages says:
kernel: usb 2-1: new full speed USB device using uhci_hcd and address 2
kernel: usb 2-1: new device found, idVendor=12d1, idProduct=1003
kernel: usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 2-1: Product: HUAWEI Mobile
kernel: usb 2-1: Manufacturer: HUAWEI Technologies
kernel: usb 2-1: configuration #1 chosen from 1 choice
kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
kernel: Initializing USB Mass Storage driver...
kernel: scsi2 : SCSI emulation for USB Mass Storage devices
kernel: usb-storage: device found at 2
kernel: usb-storage: waiting for device to settle before scanning
kernel: usbcore: registered new driver usb-storage
kernel: USB Mass Storage support registered.
kernel: Vendor: HUAWEI Model: Mass Storage Rev: 2.31
kernel: Type: CD-ROM ANSI SCSI revision: 02
kernel: sr1: scsi-1 drive
kernel: sr 2:0:0:0: Attached scsi CD-ROM sr1
kernel: sr 2:0:0:0: Attached scsi generic sg2 type 5
kernel: usb-storage: device scan complete
kernel: sr1: CDROM (ioctl) error, command: <6>Get configuration 46 00 00 00 00 00 00 00 20 00
kernel: sr: Current: sense key: No Sense
kernel: Additional sense: No additional sense information
kernel: sr1: CDROM (ioctl) error, command: <6>Get configuration 46 00 00 00 00 00 00 00 20 00
kernel: sr: Current: sense key: No Sense
kernel: Additional sense: No additional sense information
kernel: sr1: CDROM (ioctl) error, command: <6>Get configuration 46 00 00 28 00 00 00 00 10 00
kernel: sr: Current: sense key: No Sense
kernel: Additional sense: No additional sense information
kernel: sr1: CDROM (ioctl) error, command: <6>Get configuration 46 00 00 20 00 00 00 00 18 00
kernel: sr: Current: sense key: No Sense
kernel: Additional sense: No additional sense information
kernel: sr1: CDROM (ioctl) error, command: <6>Get configuration 46 00 00 00 00 00 00 00 20 00
kernel: sr: Current: sense key: No Sense
kernel: Additional sense: No additional sense information
kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
kernel: ISOFS: changing to secondary root
hald: mounted /dev/sr1 on behalf of uid 1000

Also:
Code:
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 002: ID 12d1:1003
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000

# ls -al /dev/ttyU*
ls: cannot access /dev/ttyU*: No such file or directory

I unmount it and remove the usb-storage module:
Code:
# umount /dev/sr1
# rmmod usb-storage
/var/log/messages said:
kernel: usbcore: deregistering driver usb-storage

I prepare the modem:
Code:
# modprobe usbserial vendor=0x12d1 product=0x1003
/var/log/messages said:
Dec 28 23:24:00 leptoc kernel: usbcore: registered new driver usbserial
Dec 28 23:24:00 leptoc kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Dec 28 23:24:00 leptoc kernel: usbserial_generic 2-1:1.0: generic converter detected
Dec 28 23:24:00 leptoc kernel: usb 2-1: generic converter now attached to ttyUSB0
Dec 28 23:24:00 leptoc kernel: usbcore: registered new driver usbserial_generic
Dec 28 23:24:00 leptoc kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Code:
# ls -al /dev/ttyU*
crw-rw---- 1 root uucp 188, 0 Dec 28 23:24 /dev/ttyUSB0

This is the config. I've changed the phone number and the domain as I've seen Windows sets them:
Code:
# cat /etc/wvdial.conf
al for Vodacom Data. Created by Tazz_tux
# Version 1.0

# Change Log:
#
# Added support for HSDPA.
# Added Headers and version control.

[Dialer pin]
Init1 = AT+CPIN=1234

[Dialer hsdpa]
Phone = *99***16#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","internet.vodafone.ro";

The dial and the error:
Code:
# wvdial pin hsdpa
--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN=1234
--> Sending: ATQ0
--> Re-Sending: AT+CPIN=1234
--> Modem not responding.

The log:
/var/log/messages said:
Dec 28 23:27:17 leptoc kernel: usb 2-1: USB disconnect, address 2
Dec 28 23:27:17 leptoc kernel: usbserial_generic 2-1:1.0: device disconnected
Dec 28 23:27:17 leptoc kernel: generic ttyUSB0: generic converter now disconnected from ttyUSB0
Dec 28 23:27:30 leptoc kernel: usb 2-1: new full speed USB device using uhci_hcd and address 3
Dec 28 23:27:30 leptoc kernel: usb 2-1: new device found, idVendor=12d1, idProduct=1003
Dec 28 23:27:30 leptoc kernel: usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
Dec 28 23:27:30 leptoc kernel: usb 2-1: Product: HUAWEI Mobile
Dec 28 23:27:30 leptoc kernel: usb 2-1: Manufacturer: HUAWEI Technologies
Dec 28 23:27:30 leptoc kernel: usb 2-1: configuration #1 chosen from 1 choice
Dec 28 23:27:30 leptoc kernel: usbserial_generic 2-1:1.0: generic converter detected
Dec 28 23:27:30 leptoc kernel: usb 2-1: generic converter now attached to ttyUSB0

The modem was connected the whole time. Is this OK? I read somewhere that an active cable/wireless connection can "disturb" the modem.
Any ideas? Advices? Many thanks in advance! ;)
 
Hi!

The modem was connected the whole time. Is this OK? I read somewhere that an active cable/wireless connection can "disturb" the modem.
Any ideas? Advices? Many thanks in advance! ;)

Hi,

I think your problem lies with the fact that suse is trying to re-attach the mass-storage device. See if you can disable the plug and play for a bit.

Laterz !
 
Help!!!!!!!!

They are new of linux, I have acquired smart the Huawei modem e220 I would want to make it to work on my mandriva distribuzuione linux 2007, but I do not succeed to make it. You can help me? I have tried some commandos but decidedly I do not know where to put the hands. You can help with one detailed explanation me of several the passages? They are Italian and I have a limited acquaintance of the English language, excused for eventual problems of translation. A salute to all.
 
Following exactly the passages of the forum, arrived to the commando:

[root@localhost linx99]# wvdial hsdpa
bash: wvdial: command not found




Which thing lacks?
 
It sounds like wvdial is not installed in your Mandriva, a Google search revealed something about a Mandriva Powerpack - I've never used Mandriva so it's best if someone else confirms what you need to do to get wvdial installed & running...
 
Following exactly the passages of the forum, arrived to the commando:

[root@localhost linx99]# wvdial hsdpa
bash: wvdial: command not found




Which thing lacks?
Configure urpmi (adding repositories) and then install wvdial with:
Code:
# urpmi wvdial
You can find an urpmi config tool at easyUrpmi or a configure script here.




Tazz_Tux, if you take a look again you'll see it tries to reattach the usbserial_generic device (not the USB Mass Storage device). I'll boot on a live CD (I have Mandriva One 2007 and Kubuntu 6.06) and try there...
 
Syl in Romania - Huawei E220

Hi Syl

I am not very experienced in Linux. I tried to get the E220 modem running on many distros... no success with Mandriva or Suse....I only had success with Debian based distros like Ubuntu, Knoppix and GNULinex 2006.

Maybe you could make your Suse partition a bit smaller and install one of these distros also to see if it works in Romania. (South Africa and Spain are NOT the same Vodafone techno-worlds). Otherwise I think it might take some time until this modem is configured for all distros.

By far the most compatible distro for me was GNULinex 2006 and you can download it here:

http://www.linex.org/

It is a Spanish Debian-based distro but you can choose English if you like. For more variety in languages maybe Ubuntu is better.

GNU Linex is the only distro that actually recognizes the huawei 220 as a USB Modem (After you eject the intial incorrectly identified "CD Rom" and follow the "HOW TO"). This applies to the downloaded distro only... if you immediately install all the updates to the kernel it will no longer identify the hardware correctly....but it will work...with a bit more effort as with all the other Debian distros.

Right now I have the Huawei working well on Kubuntu and GNULinex 2006 on the same partition.

Good luck

Daka
 
Configure urpmi (adding repositories) and then install wvdial with:
Code:
# urpmi wvdial
You can find an urpmi config tool at easyUrpmi or a configure script here.




Tazz_Tux, if you take a look again you'll see it tries to reattach the usbserial_generic device (not the USB Mass Storage device). I'll boot on a live CD (I have Mandriva One 2007 and Kubuntu 6.06) and try there...

Ok for wvdial, but at command:

[root@localhost linx99]# rmmod usb-storage
[root@localhost linx99]# modprobe usbserial vendor=0x12d1 product=0x1003
[root@localhost linx99]# ls -la /dev/ttyU*
crw-rw---- 1 linx99 tty 188, 0 dic 30 11:16 /dev/ttyUSB0
[root@localhost linx99]# wvdial hsdpa
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
[root@localhost linx99]#
 
LinuxMint + U740 Problem

Hi
Im using LinuxMint 2.1 + Novatel U740
Ive followed the instruction here (i hope) :confused: ... and still fail to connect
after running (all under root):
-- modprobe usbserial vendor=0x1410 product=0x1410
-- wvdial novatel Internet 3gonly 384k

i receive:
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

Ive also tried the
setserial -a /dev/ttyS0 low_latency spd_warp
as suggested, thou it didnt help.

any ideas ?
Thanx in advance
S.


attached:

wvdial.conf
what i get when I insert u740
 
Wow I seem to have missed a lot ! - Linx99 - Please show me what happens in /var/log/messages when you run the first to commands.

Laterz !

Ok for wvdial, but at command:

[root@localhost linx99]# rmmod usb-storage
[root@localhost linx99]# modprobe usbserial vendor=0x12d1 product=0x1003
[root@localhost linx99]# ls -la /dev/ttyU*
crw-rw---- 1 linx99 tty 188, 0 dic 30 11:16 /dev/ttyUSB0
[root@localhost linx99]# wvdial hsdpa
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
[root@localhost linx99]#
 
Hey Syl,

I saw that - but something caused it to "disconnect" - any ideas ? (I thought it might be the plug and play)

Laterz !

Configure urpmi (adding repositories) and then install wvdial with:
Code:
# urpmi wvdial
You can find an urpmi config tool at easyUrpmi or a configure script here.




Tazz_Tux, if you take a look again you'll see it tries to reattach the usbserial_generic device (not the USB Mass Storage device). I'll boot on a live CD (I have Mandriva One 2007 and Kubuntu 6.06) and try there...
 
Hey Guys,

It shouldn't make any diffs where you run the Linux distro, the main thing here boils down to three things - kernel version,usb "tools" version and plug and play.

I would say that that is also in order of priority. I would check for new kernel updates if it doesn't work as mentioned. My Linux runs 2.6.18 which was quite a new one, the on 2.6.19 iirc.

So, maybe check for a couple of updates on the other boxes :)

Laterz !

Hi Syl

I am not very experienced in Linux. I tried to get the E220 modem running on many distros... no success with Mandriva or Suse....I only had success with Debian based distros like Ubuntu, Knoppix and GNULinex 2006.

Maybe you could make your Suse partition a bit smaller and install one of these distros also to see if it works in Romania. (South Africa and Spain are NOT the same Vodafone techno-worlds). Otherwise I think it might take some time until this modem is configured for all distros.

By far the most compatible distro for me was GNULinex 2006 and you can download it here:

http://www.linex.org/

It is a Spanish Debian-based distro but you can choose English if you like. For more variety in languages maybe Ubuntu is better.

GNU Linex is the only distro that actually recognizes the huawei 220 as a USB Modem (After you eject the intial incorrectly identified "CD Rom" and follow the "HOW TO"). This applies to the downloaded distro only... if you immediately install all the updates to the kernel it will no longer identify the hardware correctly....but it will work...with a bit more effort as with all the other Debian distros.

Right now I have the Huawei working well on Kubuntu and GNULinex 2006 on the same partition.

Good luck

Daka
 
Hey Shaykid,

Try using:

wvdial internet 3gonly option

From what I can remember, the novatel registers usb serial ports :)

Laterz !

Hi
Im using LinuxMint 2.1 + Novatel U740
Ive followed the instruction here (i hope) :confused: ... and still fail to connect
after running (all under root):
-- modprobe usbserial vendor=0x1410 product=0x1410
-- wvdial novatel Internet 3gonly 384k

i receive:
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

Ive also tried the
setserial -a /dev/ttyS0 low_latency spd_warp
as suggested, thou it didnt help.

any ideas ?
Thanx in advance
S.


attached:

wvdial.conf
what i get when I insert u740
 
Wow I seem to have missed a lot ! - Linx99 - Please show me what happens in /var/log/messages when you run the first to commands.

Laterz !

when I run the command:
[root@localhost linx99]# tail -f /var/log/messages
Dec 31 11:03:49 localhost printerdrake[4334]: created directory /dev/usb (and parents if necessary)
Dec 31 11:03:49 localhost last message repeated 15 times
Dec 31 11:03:49 localhost printerdrake[4334]: ### Program is exiting ###
Dec 31 11:03:49 localhost printerdrake[4334]: ### Program is exiting ###
Dec 31 11:03:49 localhost autosetupprintqueues[2761]: ### Program is exiting ###
Dec 31 11:03:59 localhost net_applet[4403]: ### Program is starting ###
Dec 31 11:04:00 localhost mdkapplet[4406]: ### Program is starting ###
Dec 31 11:04:07 localhost mdkapplet[4406]: ### Program is exiting ###
Dec 31 11:05:55 localhost kernel: end_request: I/O error, dev fd0, sector 0
Dec 31 11:07:56 localhost last message repeated 2 times

After insert the card ...nothing happen.
 
Getting deeper

Hi Tazz_Tux

Thanx for the replay

when I try what u suggested i get
root@mintale:/home/shaykid# wvdial internet 3gonly option
--> WvDial: Internet dialer version 1.56
--> Cannot open /dev/tts/USB0: No such file or directory
--> Cannot open /dev/tts/USB0: No such file or directory
--> Cannot open /dev/tts/USB0: No such file or directory
since no tts on my machine

so I went to wvdial.conf and changed tts/USB0 to dev/ttyS0

[Dialer option]

#Modem = /dev/tts/USB0
Modem = /dev/ttyS0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

and now I get again:

root@mintale:/home/shaykid# wvdial internet 3gonly option
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

any ideas ? :confused:
Thanx and Happy new year
S.
 
Mandriva 2007 + Huewei E220

Hi!
Searching these forums didn't really help. This thread is also a bit big... Here's my problem. Maybe you could help me with some info.

I have a Huawei E220 with Vodafone and I might be the first around here in Romania to try this modem on Linux.
I have openSUSE 10.2 with kernel 2.6.18.2-34-default.


My E220 now work fine with Mandriva 2007. It is simple. You must run "Activator" utility, which create /dev/ttyUSB0 and 1 because system recognize e220 as cdrom.
This utility is there :
http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo-i386.out
(thanks for bobovsky).
After that simply set for example kppp for connection via /dev/ttyUSB0. It simply works.
One problem is, that speed is only cca 410 kbps with linux and cca 1550 on WinXP !
Somebody know why ?
 
That is simply a limit from the device and AT commands - do a speed test http://speed.vodacom.co.za and confirm HSDPA or 3G or ... :D

Laterz !

My E220 now work fine with Mandriva 2007. It is simple. You must run "Activator" utility, which create /dev/ttyUSB0 and 1 because system recognize e220 as cdrom.
This utility is there :
http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo-i386.out
(thanks for bobovsky).
After that simply set for example kppp for connection via /dev/ttyUSB0. It simply works.
One problem is, that speed is only cca 410 kbps with linux and cca 1550 on WinXP !
Somebody know why ?
 
Hi,
Unfortunately the modem is still not responding here.
I followed daka's tutorial:
I used much of the useful information in this forum to experiment and finally was successful..... Of course if anyone has any suggestions they would be most welcome: Here is how I configured it:

HOW TO Configure the Huawei 220 usb modem in Linux, (IN SPAIN)
__________________________________________________________________

"Spain is different" (..is an advertising slogan they developed years ago to attract tourists to Spain) (Technologically VERY different)

I am a Linux newbie... this is my first "How To".... I tried other advice from various forums without success... by experimenting I came up with this soultion:

I use a Packard Bell EasyNote laptop with Kubuntu kernel 2.6.15-23-386

Disable pin by putting card in a phone and disabling (otherwise the nightmare is much worse..,.although it is possible... I eventually disabled the pin and am much happier.

When the Huawei is identified initially as a CD "Connect_Box", right click it and "eject"

Go to System Settings / Network Settings and disable Ethernet and Wireless as these interfere greatly with the Huawei.

(I read in a few places that the long cable doesn't work but this is NOT my experience... I use the long one with an extension of two metres and my connection then, (only then) has a strong and stable signal)

Open a terminal as root

rmmod usb-storage
modprobe usbserial vendor=0x12d1 product=0x1003

remove the Huawei E220 for a few moments

wait a few seconds, maybe 10-20, and re-insert

optionally, you can enter:
ls -la /dev/ttyU*
and you will probably
find USB0 USB1 and USB2 ..
if not, wait a few more moments and try again...
then...

wvdial hsdpa

You should be connected!

Here is my wvdial file:

/etc/wvdial.conf



[Dialer hsdpa]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","ac.vodafone.es";

_______________________________________________________



This is what my script looks like when I connect

Password:
root@kp-laptop:/home/daka# rmmod usb-storage
root@kp-laptop:/home/daka# modprobe usbserial vendor=0x12d1 product=0x1003
root@kp-laptop:/home/daka# ls -la /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 2006-12-19 14:33 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2006-12-19 14:33 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 2006-12-19 14:33 /dev/ttyUSB2
root@kp-laptop:/home/daka# wvdial hsdpa
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"IP","ac.vodafone.es";
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Dec 19 14:33:56 2006
--> Pid of pppd: 5550
--> Using interface ppp0
--> local IP address 62.87.24.143
--> remote IP address 10.64.64.64
--> primary DNS address 212.73.32.3
--> secondary DNS address 212.73.32.67

Good Luck... (I hope I haven't made any mistakes in this!!)

Daka

Here's my results (I've used the short cable):
I have a Dell Inspiron 6400 with the same distro and kernel as Daka's (running on the LiveCD)
I've disabled the PIN request.
After I plug the modem I get this in /var/log/messages:
Jan 3 11:41:31 ubuntu kernel: [4295093.079000] usb 4-1: new full speed USB device using uhci_hcd and address 2
Jan 3 11:41:38 ubuntu kernel: [4295099.663000] Initializing USB Mass Storage driver...
Jan 3 11:41:38 ubuntu kernel: [4295099.663000] scsi2 : SCSI emulation for USB Mass Storage devices
Jan 3 11:41:38 ubuntu kernel: [4295099.663000] usbcore: registered new driver usb-storage
Jan 3 11:41:38 ubuntu kernel: [4295099.663000] USB Mass Storage support registered.
Jan 3 11:41:43 ubuntu kernel: [4295104.668000] Vendor: HUAWEI Model: Mass Storage Rev: 2.31
Jan 3 11:41:43 ubuntu kernel: [4295104.668000] Type: CD-ROM ANSI SCSI revision: 02
Jan 3 11:41:43 ubuntu kernel: [4295104.700000] sr1: scsi-1 drive
Jan 3 11:41:43 ubuntu kernel: [4295104.700000] sr 2:0:0:0: Attached scsi generic sg2 type 5
Jan 3 11:41:43 ubuntu kernel: [4295104.876000] sr 2:0:0:0: Device not ready.
Jan 3 11:41:52 ubuntu kernel: [4295113.459000] sr 2:0:0:0: SCSI error: return code = 0x8000002
Jan 3 11:41:52 ubuntu kernel: [4295113.459000] sr1: Current: sense key: No Sense
Jan 3 11:41:52 ubuntu kernel: [4295113.459000] Additional sense: No additional sense information
Jan 3 11:41:52 ubuntu kernel: [4295113.500000] sr: Current: sense key: No Sense
Jan 3 11:41:52 ubuntu kernel: [4295113.500000] Additional sense: No additional sense information
Jan 3 11:41:52 ubuntu kernel: [4295113.537000] sr 2:0:0:0: SCSI error: return code = 0x8000002
Jan 3 11:41:52 ubuntu kernel: [4295113.537000] sr1: Current: sense key: No Sense
Jan 3 11:41:52 ubuntu kernel: [4295113.537000] Additional sense: No additional sense information
Jan 3 11:41:52 ubuntu kernel: [4295113.544000] sr 2:0:0:0: SCSI error: return code = 0x8000002
Jan 3 11:41:52 ubuntu kernel: [4295113.544000] sr1: Current: sense key: No Sense
Jan 3 11:41:52 ubuntu kernel: [4295113.544000] Additional sense: No additional sense information
Jan 3 11:41:52 ubuntu kernel: [4295113.551000] sr 2:0:0:0: SCSI error: return code = 0x8000002
The last 3 lines keep repeating.
When KDE asks me what to do with the USB Mass Storage device I select "Do nothing". The "mount" command doesn't show the modem as mounted
I disabled wireless and ethernet connections.

I remove that kernel module:
Code:
sudo rmmod usb-storage
/var/log/messages said:
Jan 3 11:45:17 ubuntu kernel: [4295318.955000] usbcore: deregistering driver usb-storage

I add the other kernel module:
Code:
sudo modprobe usbserial vendor=0x12d1 product=0x1003
/var/log/messages said:
Jan 3 11:45:51 ubuntu kernel: [4295352.702000] usbcore: registered new driver usbserial
Jan 3 11:45:51 ubuntu kernel: [4295352.702000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Jan 3 11:45:51 ubuntu kernel: [4295352.702000] usbserial_generic 4-1:1.0: generic converter detected
Jan 3 11:45:51 ubuntu kernel: [4295352.703000] usb 4-1: generic converter now attached to ttyUSB0
Jan 3 11:45:51 ubuntu kernel: [4295352.703000] usbcore: registered new driver usbserial_generic
Jan 3 11:45:51 ubuntu kernel: [4295352.703000] drivers/usb/serial/usb-serial.c: USB Serial Driver core

I remove the modem for a few seconds and put it back:
/var/log/messages said:
Jan 3 11:46:37 ubuntu kernel: [4295398.623000] usb 4-1: USB disconnect, address 2
Jan 3 11:46:37 ubuntu kernel: [4295398.623000] generic ttyUSB0: generic converter now disconnected from ttyUSB0
Jan 3 11:46:37 ubuntu kernel: [4295398.623000] usbserial_generic 4-1:1.0: device disconnected


Jan 3 11:48:59 ubuntu kernel: [4295541.079000] usb 4-1: new full speed USB device using uhci_hcd and address 3
Jan 3 11:48:59 ubuntu kernel: [4295541.208000] usbserial_generic 4-1:1.0: generic converter detected
Jan 3 11:48:59 ubuntu kernel: [4295541.208000] usb 4-1: generic converter now attached to ttyUSB0
Jan 3 11:49:00 ubuntu kernel: [4295541.299000] Initializing USB Mass Storage driver...
Jan 3 11:49:00 ubuntu kernel: [4295541.299000] usbcore: registered new driver usb-storage
Jan 3 11:49:00 ubuntu kernel: [4295541.300000] USB Mass Storage support registered.
The mass storage device is BACK! Is this OK?

Also, I only have one ttyU* device:
Code:
ls -la /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 2007-01-03 11:49 /dev/ttyUSB0

This is the .conf:
Code:
cat /etc/wvdial.conf
[Dialer hsdpa]
Phone = *99***16#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","internet.vodafone.ro";

And this is the dial sequence:
Code:
sudo wvdial hsdpa
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

Any idea? Daka, do you see anything suspicious here?
I also tried all these after disabling the HAL daemon. Same result...
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter
X