Professional Documents
Culture Documents
Reliance Setup - SH
Reliance Setup - SH
This program does not come with any warranty whatsoever. Please use it at your own risk. # Detect Modem echo "Modem Detected: $(lsusb grep -i huawei cut -d" " -f7-)"
# Get Connection Number from User echo "Enter Your Reliance Data Card Connection Number : " read connection echo "Setting up connection with $connection" #Install Gnome PPP Package echo "Installing Required Packages.." sudo apt-get install -y -q gnome-ppp wvdial #Add entries to /etc/ppp/ppp-secrets and /etc/ppp/chap-secrets echo "I:Modifying necessary system files to allow dialing with Gnome PPP..." sudo chmod 666 /etc/ppp/pap-secrets /etc/ppp/chap-secrets echo "$connection * $connection" >> /etc/ppp/pap-secrets echo "$connection * $connection" >> /etc/ppp/chap-secrets sudo chmod 600 /etc/ppp/pap-secrets/etc/ppp/chap-secrets #Start Gnome PPP echo "We are all set.... " echo "Starting Dialer..." gnome-ppp & exit 0