Connecting to Internet using Reliance NetConnect and KPPP in Ubuntu

Hey Friends!!! This post is an add on to the post I posted before about connecting to internet using Reliance Netconnect CDMA 1X modem.

In case you have not seen my previous post about Using Reliance’s ZTE MG 880 USB Modem in Ubuntu please have a look at it as this post is an advanced version of connecting the Reliance ZTE MG 880 USB Modem in ubuntu using a software called KPPP.

As you all know I am using Ubuntu Hardy Heron 8.04 and I lately found out about an application called KPPP from KDE. Now this is a cool software as it can help me connecting to the internet using my Netconnect modem if I configure it properly. Now just follow the steps and guess what, you just need to plug in the modem and press the connect button of KPPP and get connected.

To start with we have to make some changes in /etc/modules as the root user. So open this file and type in usbserial vendor=0×19d2 product=0xfffd
Doing this will make the modem probe as soon as it is plugged in, so no need to actually type in this long command to connect to the internet.

Next comes the configuring of KPPP. If you haven’t installed KPPP then you can do this using Synaptic Package manager or “Add/Remove Application”. After the installation is completed we can configure it.

After starting the application click on the “Configure” command button. This will result in a small window to pop having “Accounts”, “Modems”, “Graph” and “Misc” as the tabs on top of the window. Select “Account” and click on “New” command button. On clicking a window will appear asking for configuring via wizard or Manually. Since I am an Indian and the country name was not present in the wizards I installed manually. Its not at all tough to do so.

So we click on “Manual Setup”.

Under Dial tab. Put a desirable connection name and add the phone number of the Reliance NetConnect by clicking on “Add”. No need to do anything else under this tab, leave the save password checkbox checked. Next comes the IP tab. Make sure the configuration is set to Dynamic IP address. Next tab of “Gateway” make sure Default gateway is selected. Leave DNS tab. Next tab is “Login Script”. In the left side there is is a drop down, select “Password” and type your phone number in the text box adjacent to it and click on insert. Then select “ID” from the same drop down and again type in the phone number in the same text box adjacent to it. There are two more tabs tabs left, we can leave all this and click on OK button.

The old window will still be there and now we have to select “Modems” tab. Under that again click on “New” button. Again a window will appear. Give any name to the modem and select the Modem device as /dev/ttyUSB0 and click OK. In old window again click OK and you are ready to go online.

Just Plug in your device. Open KPPP select your connection name and give your ID and password which is same is your phone number itself and click “connect”

Happy Surfing..

Cheers

Leave comments in case of any problem.


21 Responses

  1. Hello. I have been trying unsuccessfully to install kppp on a Dell Mini with ubuntu. It will not allow me to ‘add/remove’ the KPPP applications. I get the error of ‘KPPP cannot be installed on your computer type (lpia) Either the application requires special hardware features or the vendor decided to not support your computer type.” I had installed kppp via xterm commands, however, it does not stay useable/recognized. Got the Sprint Broadband to work once. Never again. I get “KPPP cannot find /dev/ttyUSB0 Makre sure you have setup your modem device property and/or adjust the location of the modem device on the modem tab of the setup dialog.”

    Can you help?????

    • I kind of understood your problem, LPIA architecture for Dell Mini is the actual problem creator.. Although some forums do tell that we can install ubuntu 8.04.1 and 8.10 in Dell Mini which is actually a low power consuming laptop. So coming to KPPP, I have mentioned about adding a line in /etc/modules which willl automatically detect your USB Modem(Is the modem used by you a USB modem?). If its PCMCIA card then currently I wont be able to help you much.. If you still do not get (and your modem is USB) you can try going to /proc/bus/usb/devices and check out the device name in the list if you find the device name then in the terminal type in

      sudo modprobe usbserial vendor= product=
      The vendor and product ID will be hexadecimal numbers. After this it is sure that KPPP will detect your modem

      IF NOTHING WORKS STILL try GPPP also (may be it doesnt give you more problem than KPPP)

      Do ask if the problem persist

    • Plzzzzzzzzzz…………………………………….
      Can u send me this file
      on this email adress “preetthebest@gmail.com”
      Plzzzzzzzzzzzzzzzzzzzzzzzzzzzz…………………………….
      thank u

  2. sir could you plz tell me in detail how to go to /etc/modules as the root user and open this file and type in usbserial vendor=0×19d2 product=0xfffd? i am very new to ubuntu. thanks in advance

    • I’ll get to u right back
      anyway U can go to the terminal
      type in sudo -i
      it’ll ask you for you password. Type in your password (generally the password is not shown)
      then u’ll get to the root directory. From there we can type in
      $ gedit /etc/modules
      then you can just cut the command i gave and paste it.
      that’ll work..

      thanks for visiting
      more queries you can ask

      P.S: Check if your firefox browser is in “Work Offline” mode under file menu.

  3. i have tried your last method to get the connection of reliance mg880, but i can’t connect to net, my network lan card is athrose 820.11

    • We are not using LAN when we use the modem, we use the USB port.. Is your reliance datacard black in colour CDMA1X??

  4. Yes mine is CDMA 1X black color usb data card. I want to install this on UBUNTU 8+

    I tried with Wine. It is not working. pl give me solutions.

    shrivara

  5. i am using reliance netconnect huawaei modem,wedr i shld paste the same thing in /etc/modules

    • No u should not paste the same thing. . for this thing after plugging in your modem (which I think will be silvery in color) type in
      dmesg command in the terminal.
      then you have to see what is there in /proc/bus/usb/devices for this you can use this command
      less /proc/bus/usb/devices
      This will show the details of all the devices for the system. Its a kind usb devices connected.

      Now search for the modem that you are using. See if its there (should be there). Then you need to take the prodID and Vendor for the same and replace the vendor and prodID that I’ve told to give in /etc/modules

      Tell me if probelm persists. I’ve a friend that uses the same.

    • I checked the Internet to get this
      Vendor=12d1 ProdID=1001
      so u can try this command
      usbserial vendor=0×12d1 product=0×1001

      cheers

  6. This is the error showing in the log when i try to connect through KPPP. what will be the problem, can any 1 please help me.

    ATZ
    OK
    ATM1L1
    OK
    ATDT9379698816
    ERROR

  7. I’m getting this error:
    I’m running Kubuntu 9.04 with latest stable kde 4.3.
    any help will be appreciated. :-)
    thanks in advance.

    ATZ
    OK
    ATM1L1
    OK
    ATDT********** //phone no.
    NO CARRIER

  8. Hi
    i am trying to connect reliance mg880 in ubuntu 9.04.
    I tried all ur steps but my modem was not detected in ubuntu.when i run wvdial,it gives an error “modem not responding” .when in plug my modem and type lsusb modem was not detected.plz help me

  9. Sir thank you for your reply.My Mg880+ modem was not detected in ubuntu 9.04.I tried ur steps.when i give dmesg or
    sudo lsusb -v it shows
    manufacturer =Zte incorporated
    product = USB storage
    I added the product and vendor id in module file,But my modem was not even detected.I also tried modeswitch,it also fails.So please help me

    • Hi Ravi..this is what i get when i use lsusb -v
      Bus 004 Device 006: ID 19d2:fffd
      Device Descriptor:
      bLength 18
      bDescriptorType 1
      bcdUSB 1.01
      bDeviceClass 0 (Defined at Interface level)
      bDeviceSubClass 0
      bDeviceProtocol 0
      bMaxPacketSize0 16
      idVendor 0×19d2
      idProduct 0xfffd
      bcdDevice 0.00
      iManufacturer 1 ZTE, Incorporated
      iProduct 2 ZTE CDMA Tech
      iSerial 3 Serial Number
      bNumConfigurations 1
      Configuration Descriptor:
      bLength 9
      bDescriptorType 2
      wTotalLength 85
      bNumInterfaces 3
      bConfigurationValue 1
      iConfiguration 0
      bmAttributes 0xe0
      Self Powered
      Remote Wakeup
      MaxPower 100mA
      Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 4 Data Interface
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×81 EP 1 IN
      bmAttributes 3
      Transfer Type Interrupt
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0010 1x 16 bytes
      bInterval 128
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×8a EP 10 IN
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0040 1x 64 bytes
      bInterval 0
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×0b EP 11 OUT
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0040 1x 64 bytes
      bInterval 0
      Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 4 Data Interface
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×83 EP 3 IN
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0040 1x 64 bytes
      bInterval 0
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×06 EP 6 OUT
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0040 1x 64 bytes
      bInterval 0
      Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 4 Data Interface
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×82 EP 2 IN
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0040 1x 64 bytes
      bInterval 0
      Endpoint Descriptor:
      bLength 7
      bDescriptorType 5
      bEndpointAddress 0×05 EP 5 OUT
      bmAttributes 2
      Transfer Type Bulk
      Synch Type None
      Usage Type Data
      wMaxPacketSize 0×0040 1x 64 bytes
      bInterval 0
      Device Status: 0×0000
      (Bus Powered)

      Iam not pretty sure what you are getting. Secondly the product id may be different for MG880+ modem.

Leave a Reply