New 3G device manager for Linux!

so let me get this straght, in order for me to use my E220 to connect to the net, I just need to first apt-get some stuff then run the deb?
On which connection would that be?
This 3G thing is seriously driving me nuts.
If I do not get it sorted I am packing in the ubuntu thing, it is just too much trouble.
 
so let me get this straght, in order for me to use my E220 to connect to the net, I just need to first apt-get some stuff then run the deb?
On which connection would that be?
This 3G thing is seriously driving me nuts.
If I do not get it sorted I am packing in the ubuntu thing, it is just too much trouble.

Linux's E220 support can't be considered plug&play yet as you've seen. You can try this if you have a < 2.6.20 kernel, although I haven't tested as my E220 is temporary loaned to a coworker. You'll need internet connection thou. If you have a 2.6.20+ kernel this wont work. We have to find a solution soon as the E220 is quite popular. I'll keep y'all posted.
 
Last edited:
Dude, dont think it really matters what phone you have. I'm on ubuntu 7.04. Got SE phone.

I'm as linux noob as you get, but i worked it out...

Copy/paste this into root terminal

1) sudo wvdialconf /etc/wvdial.conf
( i tihnk this writes some info about your phone to the file)

2) sudo gedit /etc/wvdial.conf
(then u need to edit this file. Add the phone number, make user name/password, blank. You also need to add "Stupid Mode = 1" without quotes.

Then save this file.

Then just make a short cut to your panel, to the termial to run VWdial.. To disconnect from internet press CTRL/C.
 
Linux's E220 support can't be considered plug&play yet as you've seen. You can try this if you have a < 2.6.20 kernel, although I haven't tested as my E220 is temporary loaned to a coworker. You'll need internet connection thou. If you have a 2.6.20+ kernel this wont work. We have to find a solution soon as the E220 is quite popular. I'll keep y'all posted.

Trouble is, I need the modem to connect to the net to set up the modem :rolleyes: which is fun! :)

Boodles, hae been through the tazz tux thing, it does not work for my system for whatever reason, i suspect that the PPC version of feisty is part of the reason.
It is not a phone it is a USB modem.
See other post about help with e220
 
Hi!

@pmarti: thanks for quoting my link! I found your forum after the referrer information.

I just tested the sample config files on Ubuntu 7.04 with kernel 2.6.20-15 generic and it works fine for me. Note: the main purpose of this package is to enable the modem on kernels prior to 2.6.20. It WILL work, however, with kernel >= 2.6.20 aswell, because usb_storage.ko (unusal_devs.h) has a built-in rule to ignore storage from 0x12d1 0x1003, on the other hand usbserial.ko recognizes the device ID and it assigns itself to it . 2.6.20 and more It recognizes /dev/sr0, links it to /dev/srcd0, however it's not causing problems anymore (well, not in my case)

Trouble is, I need the modem to connect to the net to set up the modem :rolleyes: which is fun! :)

Right, but if you were looking for HOWTO's or other instructions on the net you would also need internet access on MacOS/Win or over wired network, right? You can download the huawei.tar.bz2 on a usb-stick/windows partition/floppy etc and then extract it in Linux.

(Just to remind you what link we are talking about, it's
http://oozie.fm.interia.pl/pro/huawei-e220/ I hope you will find it helpful, I'm getting first
responses from Ireland, that it works - if it's not working for you - take a closer look
at the configuration files - it's just a SAMPLE, no pin config, no APN nothing - enough
for 3 Ireland)

Best Regards from Dublin,
OOZIE
 
Hi!

@pmarti: thanks for quoting my link! I found your forum after the referrer information.


(Just to remind you what link we are talking about, it's
http://oozie.fm.interia.pl/pro/huawei-e220/ I hope you will find it helpful, I'm getting first
responses from Ireland, that it works - if it's not working for you - take a closer look
at the configuration files - it's just a SAMPLE, no pin config, no APN nothing - enough
for 3 Ireland)

Best Regards from Dublin,
OOZIE

Hey oozie,

hows tricks? My coworker has just returned the E220, I'll try 2nite if it works for me and will report here.

Last year I was a Dubliner too, I miss the nightlife! Can't say the same about the rain thou ;)
 
Guys I can't connect to fix anything til I get it fixed....
I need an "offline" fix if that makes sense...

I hate this.
 
Guys I can't connect to fix anything til I get it fixed....
I need an "offline" fix if that makes sense...

I hate this.

Well, oozie already said it. You'd be in the same problem if you were on mac or windows as they don't sport the drivers by default. Feisty does thou, I've just tried oozie's script on a Feisty 386 and it works!

Pablo
 
Not quite correct, the modem works on windows out of the box, dude.
You unpack it, you oput the SIM in, you plug it in, you are online...
:D
I am running Feisty, I am beginning to suspect it is a hardware issue - USB ports to be precise. The box claims it will work in USB 1.0 I am not too sure. :)
Edit: yep, it is a hardware issue, another manual says 2.0 only...
Oh well back to the drawing board
 
Last edited:
Not quite correct, the modem works on windows out of the box, dude.
You unpack it, you oput the SIM in, you plug it in, you are online...
:D
I am running Feisty, I am beginning to suspect it is a hardware issue - USB ports to be precise. The box claims it will work in USB 1.0 I am not too sure. :)
Edit: yep, it is a hardware issue, another manual says 2.0 only...
Oh well back to the drawing board

Are you able to run the modem on the same machine in windows?
 
@fuzzybunny: I think my E220 modem works on my USB1.1 OHCI too. Anyway, why don't you install Linux on a PC with Win, try the thing out in windows first, make sure it's none of a hardware problem and then you install Linux and make E220 work there?
You could save the huawei.tar.bz2 file on the windows drive and unpack it later in Linux.

pmarti, thanks for testing. Do the config files work for you too?
BTW: Were you the one who did the Spanish traslation on openSUSE.org?
 
@fuzzybunny: I think my E220 modem works on my

pmarti, thanks for testing. Do the config files work for you too?
BTW: Were you the one who did the Spanish traslation on openSUSE.org?

Hey oozie,

I'm afraid the udev rule doesn't works 100% of the time here :( I should have tested it thoroughly before. I've realised that when the modem gets recognised as a one-serial-port-modem if you perform a "rmmod option" the modem will get recognised properly *always* (Ubuntu Feisty here). I've got a proof of concept working, although is pretty ugly. I'll polish it and I'll post here.

Pablo
 
Hi!

On Feisty, I had to reboot once, but as it worked then I thought everything is ok.
I let myself include another rule here, which is more precise then the current one
in huawei.tar.bz2, I have not tested it yet, as I don't have my modem with me
at the moment.

Code:
##
#
# udev rule for HUAWEI E220 3G HSDPA Modem
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# (c)opyleft    OOZIE < [email protected] >
#
# http://oozie.fm.interia.pl/pro/huawei-e220/
#
# This file prevents the pseudo scsi cdrom device from enabling,
# thus providing a workaround for kernel versions < 2.6.20
#
##

SUBSYSTEM=="block", \
ACTION=="add",\
SYSFS{idVendor}=="12d1", \
SYSFS{idProduct}=="1003", \
IMPORT{program}="huawei-mobile.sh", \
OPTIONS="ignore_device"

I will try to execute this one at the beginning of udev rules (00-huawei.rules) when
I get home.

By one-serial-port-modem you mean there is only /dev/ttyUSB0 and nothing else,
right?
 
Hi!

On Feisty, I had to reboot once, but as it worked then I thought everything is ok.
I let myself include another rule here, which is more precise then the current one
in huawei.tar.bz2, I have not tested it yet, as I don't have my modem with me
at the moment.

By one-serial-port-modem you mean there is only /dev/ttyUSB0 and nothing else,
right?

Yup. So far I've got a udev rule + this and is working for 2.6.20+ kernels, but it wont work with Ubuntu Edgy, same with your package :(

I'd rather have a solution with 100% udev scripts + shell scripts rather than having to compile a .c file, but so far the .c solution is the only one I've seen working 100% of the time.

Pablo
 
Hi!

Yup. So far I've got a udev rule + this and is working for 2.6.20+ kernels, but it wont work with Ubuntu Edgy, same with your package :(

I strongly disagree about that. I have peformed a test on a freshly installed Ubuntu 6.10 (Edgy Eft). The same log file can be found at http://oozie.fm.interia.pl/data/huawei.log. Please take a look. It DOES work for all linux versions listed on my webpage.
Code:
root@ubuntu:~# uname -a
Linux ubuntu 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux
root@ubuntu:~# cat /etc/issue
Ubuntu 6.10 \n \l

root@ubuntu:~# lsusb
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 06f2:0011 Emine Technology Co. 
Bus 002 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 12d1:1003  
Bus 001 Device 001: ID 0000:0000  
root@ubuntu:~# ls -la /dev/ttyU*
ls: /dev/ttyU*: No such file or directory
root@ubuntu:~# wget oozie.fm.interia.pl/data/huawei.tar.bz2
--18:27:30--  http://oozie.fm.interia.pl/data/huawei.tar.bz2
           => `huawei.tar.bz2'
Resolving oozie.fm.interia.pl... 217.74.65.161
Connecting to oozie.fm.interia.pl|217.74.65.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,400 (4.3K) [application/x-tar]

100%[=========================================================>] 4,400          7.33K/s             

18:27:52 (7.33 KB/s) - `huawei.tar.bz2' saved [4400/4400]

root@ubuntu:~# tar xjvf huawei.tar.bz2 
huawei/
huawei/conf/
huawei/conf/huawei-e220
huawei/conf/wvdial-huawei.conf
huawei/conf/huawei-e220.chat
huawei/Makefile
huawei/files/
huawei/files/huawei-mobile.sh
huawei/files/99-huawei.rules
huawei/PROVIDERS
huawei/README
huawei/VERSION
root@ubuntu:~# cd huawei/
root@ubuntu:~/huawei# make install_ubuntu
Installing sample configuration for Linux

cp conf/wvdial-huawei.conf /etc/
mkdir -p /etc/chatscripts/
cp conf/huawei-e220.chat /etc/chatscripts/
cp conf/huawei-e220 /etc/ppp/peers/
cp files/99-huawei.rules /etc/udev/rules.d/
cp files/huawei-mobile.sh /lib/udev/
udevcontrol reload_rules

 Go ahead and replug your HUAWEI modem.

 -> If you are not successful with connecting for the first 
    time, simply reboot.
root@ubuntu:~/huawei# ls -al /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 2007-06-21 18:29 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2007-06-21 18:29 /dev/ttyUSB1
root@ubuntu:~/huawei# pppd call huawei-e220
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
PAP authentication succeeded
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing existing default route via 192.168.1.254
Cannot determine ethernet address for proxy ARP
local  IP address 10.210.254.72
remote IP address 10.64.64.64
primary   DNS address 172.31.140.69
secondary DNS address 172.30.140.69

If it still does not work on your Ubuntu Edgy check the configuration files out. (Maybe you need to put PIN first?)
 
Connected but no network activity?

Hi

Device : E220
OS : Feisty Ubuntu 64bit AMD
Hardware : Asus M2N32 Deluxe

I've finally managed to load the interface but now I cannot ping an ip or hostname on the internet. When I do the diagnostics the log file says cannot contact gateway. But I can ping the ip configured for the ppp0 connection. I'm not sure if this is something to do with the preferred sequence of interfaces to try to get onto the internet. I have two nwc's and a wifi interface which are active.

Can someone help please?

Regards

Ok figured this had to do with routing and read up on it - now fixed.
 
Last edited:
Hello, i'm from Portugal and i installed sucessfull the VMCCL, change the ATN for internet.portugal.pt, change the DNS 1 and DNS 2. I click on connect, and he connects, the blue light in the modem stop blinking, but i can't use any service of internet. Can't open webpages, nothing. I already check the DNS, and they are correct. Should i change the username and password for anything or leave it vodafone?
 
Hi

Maybe related to problem I've had. At your terminal, type in 'route' without the quotes and see what your last line says - the last bit should say ppp0 if not read about routing and route command on google. My problem was that my box was also being serviced by a dhcp server which told my pc to only look at it for outgoing connections.

Hope you come right.

Regards
 
Top
Sign up to the MyBroadband newsletter
X