Has anyone tried to connect Reliance NetConnect in Ubuntu ?

link|improve this question
feedback

migrated from stackoverflow.com May 18 '10 at 14:31

This question came from our site for professional and enthusiast programmers.

2 Answers

From twincling:

  • Firstly we will have to find out modem vendor id and product id. Use the following command to find it. sudo lsusb -v

You can see output like this

Bus 005 Device 007: ID 19d2:fffd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.01
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
MaxPacketSize0 16

idVendor 0x19d2

idProduct 0xfffd

bcdDevice 0.00
iManufacturer 1 ZTE, Incorporated
iProduct 2 ZTE CDMA Tech
iSerial 3 Serial Number

Note down id Vendor and id Product some where.

  • Loading kernel module with vendor id and product id.

    sudo gedit /boot/grub/grub.cfg --->> for Ubuntu 9.04

In the grub.cfg file add the following lines at the end of kernel line (Not in the next line)

usbserial.vendor=0x19d2 usbserial.product=0xfffd

(Replace the the values with your's)

### BEGIN /etc/grub.d/10_linux ### set root=(hd0,3)
search --fs-uuid --set 126317bd-2dd9-4016-8e65-df85fda33a34
menuentry "Ubuntu, linux 2.6.28-11-generic" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=126317bd-2dd9-4016-8e65-df85fda33a34 ro quiet splash usbserial.vendor=0x19d2 usbserial.product=0xfffd
initrd /boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=126317bd-2dd9-4016-8e65-df85fda33a34 ro single
initrd /boot/initrd.img-2.6.28-11-generic
}
  • Reboot/Restart your computer.

  • Close all terminal. Open new terminal and type sudo pppconfig

in the new (below) window select Create and give ok...

Type provider name (say reliance) and give ok

Select Dynamic and give ok

Select PAP and give ok

Enter your Reliance Number and give ok

Password is same as your Reliance Number, enter it and give ok

Do not change Modem Speed

Select Tone and give ok

Enter #777 and give ok

Enter yes

Select Manual and give ok

Give your modem port. In my (most of the) case it is /dev/ttyUSB0

Now all set. Ensure Everything is fine. Select Finished then ok

Finally in the last wind select Quit and give ok

Now you have configured your modem successfully and all set to connect.

  • To establish internet connection type the following command in terminal...

sudo pon reliance

  • Ensuring connection is established use this command...

ifconfig Now you should see entry like this...

ppp0 Link encap:Point-to-Point Protocol
inet addr:123.239.41.80 P-t-P:220.224.134.12 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3429 errors:23 dropped:0 overruns:0 frame:0
TX packets:3683 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2309338 (2.3 MB) TX bytes:731534 (731.5 KB)

Once the connection is established you can close the terminal. - To disconnect...

sudo poff reliance

Extra In case if you want to monitor internet speed then install pppstatus package (sudo apt-get install pppstatus) and type sudo pppstatus in the terminal.

link|improve this answer
feedback

This worked for me on Lucid Lynx

Source/credits : http://freedomyug.wordpress.com/2010/05/08/how-to-configure-reliance-huawei-modem-with-ubuntu-10-4-lts-lucid-lynx/

We need to install

usb-modswitch usb-modswitch-data Two ways to do it,

Automatic from package manager, (Recommended) Paste this to terminal (Applications=> Accessories=> Terminal)

sudo apt-get install -yq usb-modeswitch usb-modeswitch-data

Manual 1. Open a Terminal from Applications=> Accessories=> Terminal

  1. Download and install usb-modeswitch-data for both 32bit and 64bit,

wget -c http://mirrors.kernel.org/ubuntu/pool/universe/u/usb-modeswitch-data/usb-modeswitch-data_20100127-1_all.deb

dpkg -i usb-modeswitch-data_20100127-1_all.deb

  1. Download and install usb-modswitch

For 64 bit :

wget -c http://mirrors.kernel.org/ubuntu/pool/universe/u/usb-modeswitch/usb-modeswitch_1.1.0-2_amd64.deb

dpkg -i usb-modeswitch_1.1.0-2_amd64.deb

For 32 bit

wget -c http://mirrors.kernel.org/ubuntu/pool/universe/u/usb-modeswitch/usb-modeswitch_1.1.0-2_i386.deb

dpkg -i usb-modeswitch_1.1.0-2_i386.deb

Once you install both packages, you should have the modem detected and then use networkmanager to configure it.

What does usb-modswitch do and why is it necessary?

USB devices, specially high speed wireless WAN dongles such as the Huawei Modem that comes with Reliance NEtconect Broadband+ is only detected as USB storage device by Ubuntu and not as a Serial Modem in order for it to function as one. usb mode switch does the work of switching the mode to modem from the storage only modem and make it awailable to be used as a internet modem device.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown