Ubuntu-tz HUAWEI ETS2288 Fixed Wireless Terminal Modem
Gromobir
gromobir at web.de
Wed Sep 17 10:50:00 BST 2008
Hallo Ubuntu Team,
@Bill: Thank you very much for your help but unfortunately I had to do a
lot more stuff to get this ******* Modem to work. ;-)
Now it's working and finally I can send this message to you by using my
Ubuntu Laptop.
Many Greetings
Lukas Brausch (a.k.a Gromobir)
P.S: I attach the HowTo for this modem and hope it is fine for our
needs. Please have a look at it and tell me if any mortal man is able to
understand it. If so, I will upload it to our HowTo section.
P.S2: @Atanas: Welcome on board. :-)
-------------- next part --------------
= How to use HUAWEI Fixed wireless terminal ETS2288 modem with Ubuntu 8.04 =
As this Modem is pretty widespread in Tansania and many people use it, this is a small guide how to set up the HUAWEI Fixed wireless terminal ETS2288 modem with Ubuntu 8.04. It may work out of the box with Ubuntu 8.10 and versions coming after this but at the publishing time of this How to there were no newer Ubuntu versions.
== Step 1: Installing the Kernel 2.6.25==
First of all you can't stick with the default Kernel 2.6.24 for Ubuntu 8.04 as this Kernel doesn't support the modem. For me it worked with the Kernel 2.6.25, which you can install by activating the "universe" repository. You can do so by adding the following line to your /etc/apt/sources.list:
''deb http://tz.archive.ubuntu.com/ubuntu intrepid main universe''
After this you just need to run the following command to update your APT sources list:
''sudo apt-get update''
If this command shows no errors you can go on with installing the new Kernel:
''sudo apt-get install linux-image-2.6.25-1-386''
== Step 2: Editing some udev-rules==
After booting the new Kernel we can check if the modem is fully regocnized by our system. Therefore we run the command ''dmesg -c'' after pluggin in the Modem to see what the system tells us. Most likely we will see a message that the modem is [b]not[/b] regocnized, which looks like this:
''ti_usb_3410_5052 1-1:1.0: TI USB 3410 1 port adapter converter detected
ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5
''
But don't worry, we can change this. We just have to add a new udev-rules file in our udev folder by typing the following:
''sudo touch /etc/udev/rules.d/026_ti_usb_3410.rules''
No we can edit this file with our favourite text editor and add this content to it:
''#TI USB 3410
SUBSYSTEM==?usb_device? ACTION==?add? SYSFS{idVendor}==?0451?,SYSFS{idProduct}==?3410? \
SYSFS{bNumConfigurations}==?2? \
SYSFS{bConfigurationValue}==?1? \
RUN+=?/bin/sh -c ?echo 2 > /sys%p/device/bConfigurationValue??
''
If we plug the modem on and off again we should recieve something like the following by typing ''dmesg -c'':
''
[ 150.752279] hub 3-0:1.0: unable to enumerate USB device on port 4
[ 150.992278] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 151.185668] usb 2-2: configuration #1 chosen from 1 choice
[ 151.375847] usbcore: registered new interface driver usbserial
[ 151.376581] /build/buildd/linux-ports-2.6.25/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 151.377622] usbcore: registered new interface driver usbserial_generic
[ 151.377627] /build/buildd/linux-ports-2.6.25/drivers/usb/seria/etc/udev/rules.d/026_ti_usb_3410.rulesl/usb-serial.c: USB Serial Driver core
[ 151.382826] /build/buildd/linux-ports-2.6.25/drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB 3410 1 port adapter
[ 151.384064] /build/buildd/linux-ports-2.6.25/drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB 5052 2 port adapter
[ 151.385227] ti_usb_3410_5052 2-2:1.0: TI USB 3410 1 port adapter converter detected
[ 152.024345] usb 2-2: reset full speed USB device using uhci_hcd and address 2
[ 152.166531] usb 2-2: device firmware changed
[ 152.166567] usb 2-2: USB disconnect, address 2
[ 152.166792] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5
[ 152.280361] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 152.500805] usb 2-2: configuration #1 chosen from 2 choices
[ 152.504762] ti_usb_3410_5052 2-2:1.0: TI USB 3410 1 port adapter converter detected
[ 152.504784] ti_usb_3410_5052: probe of 2-2:1.0 failed with error -5
[ 152.504816] usbcore: registered new interface driver ti_usb_3410_5052
[ 152.504824] /build/buildd/linux-ports-2.6.25/drivers/usb/serial/ti_usb_3410_5052.c: TI USB 3410/5052 Serial Driver v0.9
[ 152.604585] ti_usb_3410_5052 2-2:2.0: TI USB 3410 1 port adapter converter detected
[ 152.607216] usb 2-2: TI USB 3410 1 port adapter converter now attached to ttyUSB0
''
If so we should now have a new entry called ''/dev/ttyUSB0''
== Step 3: Configure the internet connection ==
Once again we need your favourite text editor. Now we want to edit the file "/etc/wvdial.conf" and add this content to it:
''
[Dialer Name_of_your_Provider]
Modem = /dev/ttyUSB0
Baud = 230400
Phone = #777
Init1 = ATZ
Stupid Mode = 1
Dial Command = ATDT
Username = ?Add_your_username_here?
Password = ?Add_your_password_here?
PPPD Options = lock noauth refuse-eap refuse-chap refuse-mschap nobsdcomp nodeflate
''
The line ''Phone = #777'' can differ from Provider to Provider. With TTCL it is #777.
== Step 4: Starting your internet connection ==
Now we are ready to use our new gained internect connection. Therefore we just have to enter the following command:
''sudo wvdial Name_of_your_Provider''
If the connection shows no problems but you are not able to resolve any URLs you may have to edit the file "/etc/resolv.conf" and add some DNS-Servers there.
== Step 5: Troubleshooting ==
You followed all the steps in this HowTo but it still does not work?
Now problem, the Ubuntu Tanzania Team will be pleased to help you solving your problems. Just join our community and don't be shy. We all will try to help you.
More information about the Ubuntu-tz
mailing list