LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-04-2004, 02:31 PM   #1
lsmith
Member
 
Registered: Feb 2004
Posts: 40

Rep: Reputation: 15
How best to make the dialup process friendly?


I have slack 9.1 installed at home, and I have a 56K modem that will be used to connect to the interweb. My significant other will also be using the computer, and while it has a windows installation as well, I would like to introduce her to the world of linux, both to educate her, and to see what issues the average computer user comes across in the linux world.

So first task for me is to make it easy for her to connect to the internet.

Currently, I have run ppp-setup fine, and I can use ppp-go and ppp-stop to connect and disconnect. To allow other users to use these scripts, I currently am using the sudoers file mitigate access.

I want to have an icon on the gnome desktop that will dial my ISP. I have done this with a launcher that launches ppp-go, and one that runs ppp-stop.

But there is no feedback from these scripts. They run in the background and you cant' tell if/when you have connected successfully. What I want is to have an icon for dialling that, when run, provides feedback to the user as it is dialling.

Eg opens a window and shows:

Dialling paradise.net.nz...
Sending username and password....
Connect successful!

And then disappears.

How best can I automate this process? Should I call minicom with a dial script? Kermit? Just download kppp or something? I would rather make use of the low level linux ppp stuff if possible.....

Thanks in advance for advise.

Lindsay
 
Old 03-04-2004, 03:37 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Hi Ismith,

Lots of possibilities Using Kppp would be the easiest, but is rather clunky and best avoided if you want a lean, mean machine. It does have options similar to those found in windows however, such as show log, minimise on connect, show icon in tray (if you're running Kde), etc.

Otherwise, you could install GKrellm and use the ppp section to start and stop the connection - this is what I use. You can set a command, such as <pon> to dial your default ISP when it is first clicked (red initially, then turns green on connect), which then runs <poff> to disconnect when clicked a second time (button turns red once again). You can then also have a transparent Eterm running in a corner somewhere, showing a tail of /var/log/messages - this will show pretty much what is happening as you connect and disconnect.

The <pon> command simply initiates a ppp connection to an ISP, if given without arguments this is that in /etc/ppp/peers/provider. (Otherwise, you can simply give <pon paradise>, if you've set the options under that name).

Best of luck anyway, and let us know how you get on.

Last edited by mjrich; 03-04-2004 at 04:44 PM.
 
Old 03-04-2004, 06:38 PM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
as ur using gnome there is gnome-ppp which is very easy to use
 
Old 06-27-2004, 02:02 PM   #4
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
heema:

>> as ur using gnome there is gnome-ppp which is very easy to use

does it comes with FC2!??
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make httpd a process that runs on startup Belkorin Linux - Software 4 07-09-2004 02:32 PM
Can someone please explain the make process to me? supertechmyers Linux - Newbie 5 11-07-2003 12:42 PM
Let's Make Linux More friendly.... Ricky Linux - General 2 09-29-2003 01:59 PM
How do you make squid coexist with a dialup connection? meldroc Linux - Networking 2 08-06-2003 01:39 AM
Zombie process and dialup pbm Linux - General 2 06-27-2002 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:36 AM.

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