Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-05-2009, 04:58 PM   #1
Registered: Dec 2008
Location: Norway
Distribution: Debian
Posts: 43

Rep: Reputation: 15
Adding wvdial to start menu/desktop, running wvdial without shell.


Problem: I have to open a shell and write wvdial, then keep the shell up to be able to surf the internet. (This is more an annnoyance than a problem)

Question: I wish to add a line in my Gnome start menu or an icon on the desktop that runs wvdial so i don't have to start a shell and have that shell up while surfing. Also if possible i wish to put an icon or something in lower right corner so i can terminate wvdial when i'm done. Is this possible?

I'm using Backtrack 4 which is Ubuntu 8.04/8.10. Everything is working as it should except for the tiny annoyance from having to open a shell and keep it open to surf the internet.

I have tried using wicd and networkmanager but none of them can handle all three nics/mobiles that i regularly connect to it so i have opted for wicd and wvdial.

Any sugestions on how to solve this annoyance is greatly accepted. Thank you upfront for the help.
Old 08-07-2009, 03:08 AM   #2
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Slackware
Posts: 89

Rep: Reputation: 24
Hi, have you tried starting wvdial from the run dialog of your window manager (alt+f2 in fluxbox/gnome/kde/xfce etc,etc..) ?
You could write a kdialog/zenity driven shellscript (check the manuals on those two if you have them ofc.)
other than that you could try this:
# wvdial start/stop script
if $1='start'; then
exec wvdial

if $1='stop'; then
killall -HUP wvdial
save it as, give it executable permissions (chmod +x and then just ./wvdial start, then wvdial stop. You are not supposed to keep the terminal going if this works.

Note that I am not familiar with wvdial or backtrack, I just want to help. Dunno if I have syntax errors, I'm on a windows box right now and can't check the shellscript, but you could try it, i suppose it won't hurt
Hope this helps/gives you a hint on how to do this.

Last edited by Refractor; 08-07-2009 at 03:10 AM.


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
Get mozilla to start wvdial short101 Programming 5 01-26-2005 11:24 PM
wvdial help Johnsernickle Linux - Networking 1 10-07-2002 05:25 AM
wvdial help Johnsernickle Linux - Newbie 2 10-05-2002 11:49 AM
wvdial pir2 Linux - Networking 2 06-20-2002 08:41 PM
wvdial fonglun Linux - General 1 07-31-2001 04:59 AM

All times are GMT -5. The time now is 05:50 PM.

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