Getting Reliance (Huawei) USB Data Card to work in Ubuntu 9.04 (Jaunty)

In order to get Reliance USB Data Card to work in Ubuntu, follow these steps: 1. Make sure wvdial is installed 3. Add the device configuration to your /etc/wvdial.conf Replace with your 10 digit Re...

1 min read
Historical Content: This post was published more than 3 years ago and has been preserved for historical reference. Some information may be outdated, and it reflects my understanding of the technology at the time of writing.

In order to get Reliance USB Data Card to work in Ubuntu, follow these steps:

  1. Make sure wvdial is installed sudo apt-get install wvdial

  2. Add the device configuration to your /etc/wvdial.conf

    Replace <phone-number> with your 10 digit Reliance connection number.

    [Dialer Defaults]
    Phone =
    Username =
    Password =
    New PPPD = yes
    
    [Modem0]
    Modem = /dev/ttyUSB0
    Baud = 115200
    SetVolume = 0
    Dial Command = ATDT
    Init1 = ATZ
    FlowControl = Hardware (CRTSCTS)
    
    [Dialer cdma]
    Username = <phone-number>
    Password = <phone-number>
    Phone = #777
    Stupid Mode = 1
    Inherits = Modem0
    
  3. Run wvdial

sudo wvdial cdma

You will see some output like this:

~$ sudo wvdial cdma
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 230400
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Jul 11 22:56:19 2009
--> Pid of pppd: 4299
--> Using interface ppp0
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> local IP address <IP>
--> pppd: ????[18][18]m X[19]m
--> remote IP address <IP>
--> pppd: ????[18][18]m X[19]m
--> primary DNS address <IP>
--> pppd: ????[18][18]m X[19]m
--> secondary DNS address <IP>
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m

That’s it! You must now be able to browse the Internet. In order to disconnect press Ctrl+C.