Getting Neotel to work on Ubuntu 9.10 - The easy way

4ss4ssN

Active Member
Joined
Mar 17, 2009
Messages
30
Reaction score
0
Location
Pretoria
After months of struggling I finally got Neotel to work in Ubuntu! This method is dead simple thanks to the new Network Connection Wizard thingy in Ubuntu 9.10

I still regard myself as a Linux noob. Please notify me if this bit of knowledge is already known, as I could not find any similar method.

This was done with the NeoConnect USB modem.

First, connect the modem and open the terminal and type

Code:
lsusb

This should result in a list of connected USB devices

Code:
Bus 003 Device 002: ID 1d09:4000 TechFaith Wireless Technology Limited 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0b38:0003  
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Look for the Neotel Modem. It should be fairly obvious to determine the device if no other devices are connected. In this case it is the "TechFaith Wireless Technology Limited". We are only interested at the "ID 1d09:4000" part of that line.

Next, type

Code:
sudo modprobe usbserial vendor=0x1d09 product=0x4000

Where vendor and product is the "ID 1d09:4000" part of the device preceded by "0x" (zero, not O).

If this is successful, you may close the terminal.

Next, right click on the Network Manager at the top right screen next to the time. Select "Edit Connections..."

Go to the Mobile Broadband tab and click "Add".

On the wizard that appears, Select "Dupont Incorporated Dupont CDMA Technologies MSM" as your device and click "Forward".

Choose "South Africa" as your country and click "Forward".

Next, Select "I can't find my provider and I wish to enter it manually" and name the provider Neotel. Click "Forward" and then "Apply"

On the resulting Editing page, you need to ensure that the number is "#777". You also need to enter your Username and Password. Your Username is your telephone number followed by "@neotel.co.za" e.g. [email protected]. The default password is 1234.

When finished, hit "Apply".

You should now be able to connect by simply left-clicking on the network manager and selecting "Neotel" (or whatever you chose to call the connection). To disconnect, simply left-click again and chose disconnect.

I hope this works and saves a lot of Neotel users the need to use Windows ;)
 
Its nice to see noobs contribute and share their experiences. As a technical user I tend to forget about noobs and leave a lot of the noob detail lines out of my readmes.

Gave the above a try with 9.10 as 9.04 seemed not work and was happy with the results. My download speeds where not bad. If you compile the option driver you up your speed but more important you do not have to power cycle your USB when your line drops.

But this is the beauty about LINUX - the GEEK factor of pricking around and the feeling of accomplishment when you get things to work.
 
Some Notes:

After using this method for a while, it came to my attention that you need to use the "modprobe" command every time you reset your PC. I don't know the technical details about why you need to do it, but it will be the exact same modprobe command every time. My workaround attempt was to create a script that launches on startup, but for some reason it does not work. I have limited knowledge about scripts but will keep on trying until I get it right :D
I am assuming my problem lies with giving the script root privileges, so will look into that when I have some time again. For know, I just open the terminal and press the up key until I find the modprobe command :o

Furthermore, I experience about the same download/upload speeds as I usually do under Windows, so I have no desire (at this time) to compile the drivers myself. But thanks for your input in any case cbrunsdonza :)
 
How would you go about doing this in Kubuntu with the Hauwei Mobile Connect dongle.

It gets detected, but just would not connect.
 
OK, update.

Using KPPP in Kubuntu 9.10 seems to work. Can't really post any detail as it was on my friend's laptop.

I'm now seriously thinking about also going this route, seeing that the speed isn't half bad. If only Neotel would get moving and start covering our area.
 
@Hark3n :)

Last Result:
Download Speed: 1950 kbps (243.8 KB/sec transfer rate)
Upload Speed: 447 kbps (55.9 KB/sec transfer rate)
 
@jeanres did you get those speeds using the method described here? Because it's pretty good (for Neotel at least)!
 
Not Connecting

I followed the steps and it tries to connec tbut does not, why would this be?

Ubuntu 9.10
 
logs

Try 'tail -f /var/log/syslog' and send the last 50 lines or so.
 
Hi

I've also tried the whole procedure and everything is happening as it should (or at least I think so)...when I select the neotel connection from the network manager, it start to show the busy symbol and then it just says "neotel disconnected"...?

I'm not sure why?

Here is the last log that I got just before I tried it:

steinbach@steinbach-laptop:~$ tail -f /var/log/syslog
Mar 22 21:04:43 steinbach-laptop modem-manager: Got failure code 3: No carrier
Mar 22 21:04:43 steinbach-laptop NetworkManager: <WARN> stage1_prepare_done(): CDMA modem connection failed: No carrier
Mar 22 21:04:43 steinbach-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 0)
Mar 22 21:04:43 steinbach-laptop NetworkManager: <info> Marking connection 'Neotel' invalid.
Mar 22 21:04:43 steinbach-laptop NetworkManager: <info> Activation (ttyUSB0) failed.
Mar 22 21:04:43 steinbach-laptop NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Mar 22 21:04:43 steinbach-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Mar 22 21:04:43 steinbach-laptop NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Mar 22 21:04:43 steinbach-laptop NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Mar 22 21:04:43 steinbach-laptop modem-manager: (ttyUSB0) closing serial device.

Any advice? Dont know if Cameronkk came right? If so, what was wrong?

Thanks
Corrie
 
Do an "ls -lh /dev/ttyU*" and you should see

Code:
... /dev/ttyUSB0
... /dev/ttyUSB1

If not, then your drivers are not loaded. Refer to my other posts on the "new" method to get it working with the "option" driver.

BUT if you do see the above and your using the "usbserial" driver, then it means you must powercycle your phone. Unplugg / replugg the USB cable. But continue reading:



This driver is better suited for Neotel and much faster:

As root:

Code:
modprobe -v option
/bin/echo "1d09 4000" > /sys/bus/usb-serial/drivers/option1/new_id

You will now get the ttyUSB devices and also you will not have the problem of having to powercycle your phone each time it disconnects.


* Refer to my other threads on how to automate this.
 
Top
Sign up to the MyBroadband newsletter
X