Linux - HOWTO (With Stats)

Status
Not open for further replies.
Hi Heakzer,

I'm using the Huawai E630 with gentoo. One of my last steps to get thet card to work was the right kernel module for the usb controller: ohci_hcd Probably you need that to. But I'm not sure cause your modem is a usb modem (right?) and mine is a pcmcia (internaly the hsdpa modem is connected via usb)

probably this helps?

chris...

modprobe should solve things like this - run modprobe -n to show what modules it will autoload :)
 
I'm using Debian 3.1 kernel-2.6.20, compiled by
Code:
# make menuconfig
# make all
# make install
# make modules_isntall
# mkinitrd -o /boot/initrd.img-2.6.20 2.6.20
# emacs /boot/grub/menu.lst

But my kernel don't even create "/dev/ttyUSB0" and when I create it manualy by
Code:
# mknod /dev/ttyUSB0 c 188 0
# mknod /dev/ttyUSB1 c 188 1
# mknod /dev/ttyUSB2 c 188 2

It doesn't work :((

You shouldn't need to create the dev files - it should be done already (as soon as the module detects the card) - make sure that you do the right modprobe usbserial command :)
 
Just thought I'd contribute an answer to this, even though it's a bit late... or at least I hope it's an answer.

To me it looks like what happens when you haven't supplied the card with its PIN yet. Look through the init strings mentioned in this thread (all 52 pages of it by now!) for where you send the PIN to the card.

I find it very frustrating having the card require a PIN because there's just no easy way to send the PIN to the card automatically under Linux in my setup. AND you can't just set it up to send the PIN every time you try to connect because after you've sent the PIN, any subsequent attempt to do so (before power-cycling the card) returns an ERROR! So wvdial aborts :mad:

So I just turn off the PIN request for the SIM :p (which you can do by putting the SIM into a phone and setting the PIN request off, or using the Vodafone Windows software for the data card).

Or - you could do this:
Code:
wvdial pin && sleep 1 && wvdial bla bla bla

:)
 
Has anyone found the init command for the Huawei E620 card that tells it to use 3g only?

If I try to use
AT+COPS=0,0,"Vodacom-SA",2
as directed in parts of this thread (when referring to other cards like Novatal etc.) then the card just returns an error. If I leave off the last argument (the ",2") then it works, but that last argument is the one that is supposed to tell it to use 3g only! If I use a different value (like 0 to signify 2g only) it also doesn't work.

I've been fine leaving the card to its default for a while (I assume it's in "3g preferred" mode then)... but recently 3g/hsdpa has kinda died here and it falls down to gprs all the time - I can tell by the light on the card going green, instead of being blue or blue-green or 3g or hsdpa respectively. (plus the throughput goes to hell - worse than dialup!)

It would be nice to force it to 3g-only for testing. Anyone figured it out?

Download load my wvdial.conf from the 1st post - iirc I added the command in there - re-post if it's not :) (I just have to reply to all these post...)
 
It does give a reading of the signal strength, but I'm not sure how to interpret the numbers :p

0 < -113 dBm
1 -111 dBm
2 -109 dBm
3 -107 dBm
4 -105 dBm
5 -103 dBm
6 -101 dBm
7 -99 dBm
8 -97 dBm
9 -95 dBm
10 -93 dBm
11 -91 dBm
12 -89 dBm
13 -87 dBm
14 -85 dBm
15 -83 dBm
16 -81 dBm
17 -79 dBm
18 -77 dBm
19 -75 dBm
20 -73 dBm
21 -71 dBm
22 -69 dBm
23 -67 dBm
24 -65 dBm
25 -63 dBm
26 -61 dBm
27 -59 dBm
28 -57 dBm
29 -55 dBm
30 -53 dBm
31 > -51 dBm
 
Missing build folder or file

Hi

I have been following Tazz-Tux's guidelines (MyASDL forum) for setting up my 3G card (Huawei E620) on the Ubuntu distribution. Everything went well until I tried to compile the driver by running the commands

make clean && make

This went OK until I got this message:
make: *** /lib/modules/2.6.15-23-386/build: No such file or directory. Stop.

When I look under /lib/modules/2.6.15-23-386/ there is no 'build'

Please can someone help me out here.

Thanks
 
Hey skywatcher,

You can post a request now in the sub forum :) But anyways - see if you have a package called kernel-devel or something along those lines to install :)

Laterz !

Hi

I have been following Tazz-Tux's guidelines (MyASDL forum) for setting up my 3G card (Huawei E620) on the Ubuntu distribution. Everything went well until I tried to compile the driver by running the commands

make clean && make

This went OK until I got this message:
make: *** /lib/modules/2.6.15-23-386/build: No such file or directory. Stop.

When I look under /lib/modules/2.6.15-23-386/ there is no 'build'

Please can someone help me out here.

Thanks
 
Mine is working 100% - re-compile or try gentoo-sources :)

The module uses TTY_FLAT... or whatever and in "my" sources it's placed in linux/linux_back_up/tty.h instead of linux/tty.h :confused: and I'm a bit confused of what the hack does this mean...
 
Suse 10.2

Hi,

I've managed to get the Huawei E220 working on Suse 10.2 (kernel=2.6.18.2-34-default) with a bit of irritation. The modprobes etc here work but if you don't have it plugged in when you actually boot, no amount of unplugging and plugging back in makes it work. After i discovered that then it was a simple matter of writing a script that handles the modules and calls wvdial.

cheers
Simon
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter