Jump to content

Creating a launcher of wvdial to run in the background


Steve Scrimpshire
 Share

Recommended Posts

This tutorial is for Gnome/Sawfish, but can be adapted to work in any environment.

 

Assuming you have wvdial installed and working properly, you should open a terminal and run these commands (as root):

chmod +s /usr/bin/wvdial

chmod +x /usr/sbin/pppd

chmod +s /usr/sbin/pppd

chmod 0755 /etc/ppp/peers/wvdial 

chmod +s /etc/ppp/peers/wvdial

 

The first three lines are compliments of bvc.

 

Then right click your taskbar and select Panel>Applets>Network>Modem Lights

(I use the modem_lights applet)

 

Then right click on the modem lights applet icon and select 'Properties'

Connect command would be:

 

wvdial &

 

That opens wvdial in the background (that's what the '&' is for).

 

The disconnect command would be:

 

killall wvdial

 

You may also have to check and see what the name of the LCK..tty* file is that is created when your modem is opened (the existence of this file is what tells modem_lights you are connected) under the advanced tab. Mine, for example is:

 

/var/lock/LCK..ttySHCF0

 

and verify that the device name is correct. Mine is ppp0.

 

I hope this helps someone.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...