LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   Auto dialup and open mozilla. (https://www.linuxquestions.org/questions/puppy-71/auto-dialup-and-open-mozilla-572574/)

Uxq 07-26-2007 06:51 PM

Auto dialup and open mozilla.
 
I have my external dialup serial modem online with gkdial in Puppy 2.16 frugal install and would like to:

1. Have it automatically dial at startup
2. Present my home page in seamonkey

instead of using the desktop icons as I do at present.

blackhole54 08-05-2007 08:27 AM

I am probably not the best person to advise you, since I haven't used Puppy Linux. But since your post is some days old and there are no replies, I'll try to give you some pointers. But you will have to do some of the work of filling in the blanks yourself. Search engines such as Google will probably be quite helpful for this.

There is probably some script that gets executed at startup time where you can place custom commands. The more standard distros frequently have a script called rc.local for this purpose. Damn Small Linux calls their's bootlocal.sh. So the first thing is to see if Puppy has such a script.

Then you need to find a way to tell your system to dial the modem. After googling a little, I am not convinced that gkdial can be used for this purpose. But there might be other commands that Puppy provides which can be used, like pon or wvdial. So do some poking around, and maybe Internet searching to see if there is a command line command which will do the dialing & connection you want. If so you, just need to place it in the script you have hopefully already identified.

To get the browser to pop up with your home page, you probably just need to give the command seamonkey followed by the URL of your home page, followed by the "&" symbol to run the command in the background. (If you already have seamonkey configured to start off displaying your home page, you shouldn't need the URL on the command line.) The complication is, you probably want the browser running as a non-privileged user. (The script I asked you to identify will be running as root.) The best solution (if it exists) is to put this command in the non-privileged user's .bash_profile file if such a file exists, rather than the other script. Note that .bash_profile is a "hidden file", so you won't see it with the ls command unless you use either the -a or -A option, or you specifically name the file. If .bash_profile does not exist, you can try placing the command in the startup script you have hopefully found, but use the su command to make it run as the non-privileged user. There may be some additional work involving the "magic cookie" to get this to work.

I am sorry I have been so vague, but I am not sure what files you have to work with and what they are called. If you find the answer to some of these questions but can't quite put it all together, post back and I will try to help you. Or maybe somebody with more knowledge of Puppy will lend a hand.


All times are GMT -5. The time now is 04:52 PM.