Re: Auto invoke browser upon wvdial successful Internet connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Barry Yu wrote:

Many thanks for another alternative to invoke the browser, but if you don't mind, please be a little more specifig how to use the "modem lights" applet to panel, and connect or disconnect from a GUI, sounds like that is the way kppp is using, but would like to use this on wvdial, I want to do this is just for further explore the variation of using wvdial - and I like wvdial.


modem lights is a GNOME Panel Applet. If you are using KDE, then I believe that kppp would be more correct.

Bear with me, because I don't dial-in [I have an always-on connection], but I have set up modem lights/wvdial before.

If I understand it correctly, you already have wvdial set up to connect to your ISP. Presumably, you enable/activate this connection by typing the following as a non-root user [note, if it works as root, but not as anyone else, add the entry USERCTL=yes to the /etc/sysconfig/network-scripts/ifcfg-ppp0 file]:
/sbin/ifup ppp0


This should invoke wvdial, make the connection to your ISP, and start pppd. If this is correct, then setting up the modem lights applet is easy. If not, then hopefully someone else can guide you into setting up ppp in the first place. Assuming that ifup ppp0 will activate your internet connection, and that you are using the GNOME desktop, you can do the following:

On the GNOME panel, right click [in a blank portion of the panel]. A menu should pop up, with the top menu item being "Add to Panel". Under "Add to Panel" should be a submenu item called "Internet", which should contain several applications, one of which should be modem lights. Click on this entry, and modem lights should be added to your panel.

To configure the modem lights applet, right click on the modem lights applet, and click "Preferences" in the popup menu that shows up. You shouldn't need to change any of the settings, as the defaults should work. You should see that the connection command is /sbin/ifup ppp0, while the disconnect command is /sbin/ifdown ppp0. To actually start up your connection, click the rectangular bar with the single dark green circle on the modem lights applet. You will be presented with a dialog asking you to connect. To disconnect, simply click the same [now brighter green] circle.

HTH.

--
Keven Ring               | "Oh no,  Not Again..."
The MITRE Corporation    |   Bowl of Petunias -
7515 Colshire Drive      |   The Hitchhikers Guide to the Galaxy
McLean VA 22102-7508     |
PH: (703)883-7026        |





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux