Skip to content

Instantly share code, notes, and snippets.

@shrikanthkr
Created April 11, 2014 16:44
Show Gist options
  • Save shrikanthkr/10483263 to your computer and use it in GitHub Desktop.
Save shrikanthkr/10483263 to your computer and use it in GitHub Desktop.
How did I connect my reliance net card

#Prerequisite wvdial installed

##Create a rule for your net card lsusb

output may look like Bus 001 Device 023: ID 12d1:ffe9 Random Technologies Co., Ltd.

vendor - 12d1
product - ffe9

to be used in rules.d

##create a file reliance-start.rules in /etc/udev/rules.d

ACTION=="add",SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="12d1",ATTRS{idProduct}=="ffe9",RUN+="/usr/local/startRe.sh"

##create a file wvconf in /etc

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = phone-number
Password = phone-number
CBaud = 460800

As mentioned in the rules file create startRe.sh(Not necessary it should be in usr/local/)

##create a file startRe.sh #! /bin/bash modprobe usbserial vendor=0x19d2 product=0xffe9 logger "Reliance started" wvdial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment