Ubuntu 9.10 + Reliance NetConnect Broadband Modem (Huawei EC1260) + NetworkManager = Works Out Of The Box
Note: This article will help you to “Dial” your USB CDMA modem with Network Manager in Ubuntu, Assuming it’s already working fine with wvdial. If you are modem is not detected or working by wvdial, then it’s problem with Modem Detection in Ubuntu, if this is the case, then this solution is not for you.
Update: If you are on Ubuntu 10.04 LTS (Lycid Lynx) Beta – 1, please test ModemManager [1] and submit your response here [2], your feedback would help us to push this package to final build.
[1] http://launchpadlibrarian.net/43125454/modemmanager_0.3.git.20100404%7Etest_i386.deb
[2] https://bugs.launchpad.net/network-manager/+bug/461096
Update: If you are on Ubuntu 10.04 LTS (Lucid Lynx), here is new version for Modem Manager with fix (Very Very hackish way)
[1] https://launchpad.net/~hardik-dalwadi/+archive/ppa/+packages?field.name_filter=modemmanager&field.status_filter=published&field.series_filter=lucid
Since Ubuntu 9.10 release lot of people has complained about NetworkManager + Reliance NetConnect Broadband+ (Huawei EC1260) is not working out of the box, which was working fine with Ubuntu 9.04. This was happening due to bug in modem manager. I have just now uploaded patched version of modem manager which has solved the problem. So, No more gnome-ppp or wvdial, Here we GO:
Step – 1:
Get access of CLI and please make sure that Ubuntu 9.10 with uninterrupted Internet and make it up-to-date with latest udpates to be at safer side.
#sudo apt-get update
#sudo apt-get upgrade
Step – 2:
Please add my PPA to get patched version of Modem Manager. From here [1] you can find the detail about patched version of Modem Manager
[1] https://launchpad.net/~hardik-dalwadi/+archive/ppa
#sudo add-apt-repository ppa:hardik-dalwadi/ppa
+++ Snapshot From Live System +++
person@CANONICAL-DESK:~$ sudo add-apt-repository ppa:hardik-dalwadi/ppa
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –keyserver keyserver.ubuntu.com –recv FD83D0063425A382E82DE40D0887AA4AA27ED519
gpg: requesting key A27ED519 from hkp server keyserver.ubuntu.com
gpg: key A27ED519: “Launchpad PPA for Hardik Dalwadi” not changed
gpg: Total number processed: 1
gpg: unchanged: 1
person@CANONICAL-DESK:~$+++ END +++
Step – 3:
Now, check the current version of your Modem Manager (FYI). And again update the system to get header of patched Modem Manager from my PPA.
#dpkg -l | grep modemmanager
#sudo apg-get update
+++ Snapshot From Live System +++
person@CANONICAL-DESK:~$ dpkg -l | grep modemmanager
ii modemmanager 0.2.git.20091014t233208.16f3e00-0ubuntu1 D-Bus service for managing modems
person@CANONICAL-DESK:~$+++ END +++
Step – 4:
Now install Modem Manager from my PPA which is higher patched version from current version, after successful installation reboot the system.
#sudo apt-get install modemmanager
#sudo reboot
Step – 5:
Now after successful reboot, You should get the New CDMA Broadband option under Network Manager. I am assuming you have already inserted Reliance NetConnect Broadband+ Modem, if not please do that.Please follow the Images for more information on How to connect in GUI Mode.
Note: We have also tested with Tata Photon+ service with Huwei EC 1260 and Haier CE100 Modem. It’s working out of box. Please also test modems from BSNL / TATA / Reliance with NetworkManger and let us know in comment, whether it’s working or not. Your help would be much appreciated.
Please select New Connection, since Reliance NetConnect Broadband+ requires Mobile Number as Username / Password, You have to enter it manually. In case o Tata Photon+, You can select it from list.
I think it’s BUG with NM, it has not ask for Username / Password in manual selection of provider, we have to edit it again. It may not be the case in your scenario. So in my case i am editing settings again.
Since Network Manager is giving prirority to WiFi / Ethernet connect, you have to disconnect them to swithc over to your Reliance NetConnect Broadband+ Connection.
I am neither good developer nor good debuger, But since 9.10 upgradation / installation in my lab, i could not find the usb/devices file in default path, which is:
/proc/bus/usb/devices
And, it’s default path if you are on kernel 2.6.31 and usbfs is mounted by Init. Now, Ubuntu 9.10 is using upstart instead of init. It was working fine in Ubuntu 9.04. So it brought me in big world of usbfs. From Scott’s post usbfs: deprecate and hide option for !embedded. usbfs was enabled #417748 and disabled#488274 in Karmic Koala Released and Proposed version.
Ok, Ping back to original query, Ubuntu 9.10 is mounting debugfs instead of usbfs, regardless of usbfs in enabled / disabled in Kernel. So you will fine usb/devices file under /sys/kernel/debug directory, check below output:
person@CANONICAL-DESK:/proc/bus$ mount
/dev/sda6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)….
person@CANONICAL-DESK:/proc/bus$person@CANONICAL-DESK:/proc/bus$
person@CANONICAL-DESK:/proc/bus$ uname -a
Linux CANONICAL-DESK 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686 GNU/Linux
person@CANONICAL-DESK:/proc/bus$ cat /sys/kernel/debug/usb/devices…
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=046d ProdID=0a12 Rev= 1.00
S: Manufacturer=Logitech
S: Product=Logitech Wireless Headset
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E: Ad=01(O) Atr=09(Isoc) MxPS= 288 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E: Ad=82(I) Atr=05(Isoc) MxPS= 32 Ivl=1ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=10ms…
person@CANONICAL-DESK:/proc/bus$
Currently i am testing this on Ubuntu 10.04 (Lucid Lynx) Alpha 3, and behavior is almost same. But it contains new version of usbutils, which has new shell script called “usb-devices”. It will give you connected USB buses with machine, regardless of where your usb/devices file is! and output is almost same. check below output
hardik@hardik-desktop:~$ uname -a
Linux hardik-desktop 2.6.32-16-generic-pae #25-Ubuntu SMP Tue Mar 9 18:03:39 UTC 2010 i686 GNU/Linux
hardik@hardik-desktop:~$ usb-devices
…
T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c52e Rev=15.00
S: Manufacturer=Logitech
S: Product=USB Receiver
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
…
This question was asked by my friend Mr. Sunil and it turns in to blog
. That’s it for now…
If you are frequent visitors of this site, you would have remembered that, some time ago i have written blog about Desktop PC with Pre-installed Ubuntu.
Now time for Netbook. India based MNC Simmtronics Semiconductors has launched SimmBook with Pre-installed Ubuntu.
Also, SimmBook will come with Pre-installed Ubuntu + IBM Client For Smart Work On Ubuntu. This includes Lotus Symphony office productivity software which is made available at no charge to SimmBook customers.
Please find this news bulletin for more information.
Also Canonical offers dedicated support program for Lotus Symphony, the core component of IBM Client for Smart Work on Ubuntu. Here is another news bulletin for more information.
Complete Press release of Canonical + IBM + Simmtronics Semicondutors offerings on IBM Site. The best thing about this combination is that it will help Enterprise Customers to lower down their TCO.
Since Reliance NetConnect Broadband+ modem is not working with Network Manager, Ubuntu 9.10. I am using it with gnome-ppp. But great workaround omes with great bugs
. Now my Empathy is not working, which is one of best feature of Ubuntu 9.10 release. As i am frequent user of GTALK / Desktop Sharing facility, it’s legitimate to say this statment
In simple word, if you are on ppp connection (Say Reliance NetConnect Broadband+), empathy would not connect. It will give connection error. Here is quick workaround:
Launch Gnome Configuration Editor (gconf Editor) :: ALT + F2 -> gconf-editor
Search for “Empathy” :: Ctrl + F -> “Empathy”
In List of search result, look for “/apps/empathy”
In List of keys, look for “use_conn”
Uncheck checkbox of “use_conn” value and close it
Now connect Empathy over your ppp connection. Now i can say great workaround comes with another great workaround
Hi,
Just now, Hardik has realized that he has joined Canonical 1 year back on 5th January, 2009. That means, He had completed one year!!! Hurray!!! He told me that he could define this one year journey in just one word AWESOME!!!.
Wow!!! That’s great. Continue… I am wishing him great and exciting new year, Many More To Come…. Here is quote from Hardik on this occasion…
“It’s great to be part of this very unique company. I am still learning. Everyday is coming with new challenges and excitement. Working from home is very unique experience i learned from this company. Proud to be part of Canonical
”
































