Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-06-2006, 10:09 AM   #1
Registered: Jul 2005
Posts: 335

Rep: Reputation: Disabled
Need Shell Script to allow user to connect to net through terminal

I'd like a shell script for bash that would let me connect to the net via terminal. I run a dial-up net (don't go on about upgrading. anything else around here cost an butt load. Cable it $70.00 a month, no joke), which is also run through a US robotics 56k modem which will soon be replaced because it sucks and kicks me off every so often. I'd also like a reconnect part to the script to try and keep the disconnect from cause too much trouble. I've looked through a book or two (all I have atm), and the script the suggest doesn't work. Wvdial doesn't seem to work, as it says modem doesn't respond.

Need any more info, ask and I'll provide it as needed if I can.

Also, if you don't mind, just so I could learn something, explain the script as well so that maybe I won't have to ask for this again if something happens?
Old 05-07-2006, 09:31 AM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Can't give a specfic script but you can setup wvdial and use that to connect with. Been a while since I setup this type of dial-up so can't remember exactly. Check the link on it.

You can also search here for wvdial and will see many examples of the /etc/wvdial.conf file.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
executing shell script in terminal directly with a double click kushalkoolwal Programming 15 11-26-2012 02:32 PM
Simple shell script to open up terminal and ssh to another machine deadseasquirrel Programming 1 02-02-2006 05:25 AM
problem with the terminal and a shell script LinuxPadawan Linux - General 1 05-17-2005 10:29 PM
Shell script that changes user davholla Linux - General 2 03-23-2004 09:18 PM
shell script user not ok slam Linux - General 4 07-24-2003 06:40 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration