Can dialup start automatically with browser or mail?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can dialup start automatically with browser or mail?
I can access the internet through my external modem by using KPPP. However, then I have to start a browser or mail client program. How can I do like Windows does and just click on the browser or mail and start dialup?
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Since you are writing that you use an external modem with KPPP I tentatively deduce that you use KDE (with SuSE?).
If so, in the tool bar at the lower margin of your screen at the right side is a symbol like a powerplug-connector. If you click on that one, your system connects you automatically (if you configured your modem permanently, that is).
You can test the symbol mentioned above by briefly moving the mouse-cursor over it, it will display a yellow text/information.
I appreciate everyone's help but I am generally having problems with this issue. I just got my external modem yesterday so this is all new to me.
I am using Mandrake 9.1. When I go to the Mandrake Control Center and select "Setup internet and network", I am taken to drakconnect. Using the wizard my internet connection is configured and it finally asks me if I want to connect to the internet. I click yes and everything works fine. I start up my browser and mail and they function as they should. However, once I leave the wizard and click in Control Center on "Apply", then whenever I go to KPPP the modem will log onto to isp but none of my applications will find the connection. Also I wonder if I have 2 versions of KPPP. The KPPP that I access within Control Center will contain the information entered when I used the wizard. However, the KPPP that is accessed from the icon on my desktop, does not have that information. However, if I use setup I can enter the same info, but it still does the same thing - logs onto the isp but will not let my applications see the connection.
I'm going to take a wild guess. So if it doesn't work, you were duly warned beforehand
I believe that KPPP is like the MS dialer in that it temporarily stores your ISP nameservers in /etc/resolv.conf. If this file isn't writable with your user permissions, then when KPPP dials up to the net, it's unable to write the IP addresses to the file, and hence, it's unable to resolve URL's into IP numbers. A good way to test this is if when you go online through the KPPP link on your desktop, are you able to ping an IP address? If you are, but you're still not able to use URLs, then it's very likely a nameserver issue.
I also seem to remember that any Mandrake setup tool requires you to input the root password. Hence, when the dialup is done, it's done with root permissions and therefore able to temporarily store the nameserver IPs in /etc/resolv.conf.
If this is the problem, grab the IP numbers from your ISP's web site or take them from /etc/resolv.conf when you are able to access websites.
Bob, what I do is this: put an icon on the taskbar for kppp. (right click, menu,add button,application,internet,kppp (or similar). Then click on your new icon, and edit the settings. In the execute tab you can put mozzilla or whatever. Then when you click on this icon, you connect and your browser fires up.
Actually I run a script from the execute tab, which does a few things when I connect, but you may wish to start with a simple setup first.
Still problems. I believe that member: Obi Perrin in the post above may have the solution about this being a nameserver problem. I have tried to log in as root and change the write permissions on /etc/resolve.conf. The first time I did this I was able to start using KPPP on the desktop and several times I was able to log onto ISP and run browser. Then after I rebooted the computer it no longer worked again and now I cannot keep the permission changes on the /etc/resolve.conf file. Everytime I try to use KPPP and go back to the permissions on the file they have changed back to read only. What can I do?
If you can get online at all, go to your ISPs site and look for their nameserver IP addresses. They should have them somewhere on the site. Alternatively, get their technical support number and call them up to ask them. Changing the permissions on /etc/resolv.conf is a sub-optimal solution, and I'm willing to bet that the change of permissions back again is part of Mandrake's "newbie-friendly" approach.
Open up a console, type 'su' and enter your root password. Now type 'kwrite /etc/resolv.conf'. Enter your ISP's nameservers to this file. Here's how mine looks to give you an example:
nameserver 195.92.195.94
nameserver 195.92.195.95
Save the file and exit the 'su' mode. Now try dialing up from your user account desktop link. What happens?
I did exactly as suggested above. I tried logging in as root, opening kwrite, listing my ISP nameserver addresses and saving. However, when I tried to "save", it said that I did not have the necessary permission to make modifications to the file. So it would not save it.
Any thing else I can try?
Bob
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
try a different editor,
try opening a terminal,
typing
su
entering the root password,
then
pico /etc/resolv.conf
or
nano /etc/resolv.conf
do it before you open kppp
this is what a /etc/ppp/options
could look like for demand dialing.
demand dialing means for dialing the internet
access provider when an app needs it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.