Re: [newbie] kppp questions
Well, I solved the login on startup problem with a simple workaround - changed from kppp to wvdial. In case anyone's interested, here's a mini-howto. 1. Become root 2. Install wvdial $ urpmi wvdial 3. Generate the configuration file $ cd /etc $ wvdialconf wvdial.conf (note there is a dot in the second one, not the first) 4. Make wvdial.conf writable (they don't tell you this in the man pages!) 5. Edit wvdial.conf, filling in your username, password and the number you dial into. If you want any other options, see man wvdial.conf. 6. If your ISP requires that you specify the IP number of its nameserver, edit /etc/sysconfig/network-scripts/net_resolv.default to include the line: nameserver 139.179.10.13 (changing the number, of course) Note: do not edit /etc/resolv.conf, as this gets overwritten at boot time. 7. If you want automatic login at boot time, add a line to /etc/inittab like mine:2345:respawn:/usr/bin/wvdial (there's probably a more elegant way to do this by making wvdial a service and putting it in one of the rc files) 8. Don't do any of the above if you have a pay-by-the-minute connection ;-) Sir Robin -- "A Perl script is "correct" if it gets the job done before your boss fires you." - Larry Wall Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] kppp questions
John Rye wrote: On Mon, 02 Jun 2003 01:55:27 +0100 Robin Turner <[EMAIL PROTECTED]> wrote: I've been playing around with kppp. Two questions: 1. Are my frequent Mozilla crashes anything to do with the fact that I now have it opening on connect rather than manually? Are these 'crashes' or disconnects? If disconnects edit your /etc/ppp/options as follows (man pppd for details): lock# prevents other connects to the modem noauth# prevents authentication requests defaultroute# sets the current route to the IP lcp-max-configure 25 # this one helps with slow logon handshakes ipcp-accept-local # accepts local ip address as set by ISP ipcp-accept-remote # as above for remote address idle 600 # time in seconds before automatic hangup debug# Can't remember this one , bugger:-)) They're crashes; Moz dies but the ppp connection stays up. Thanks for the info, anyway. Sir Robin -- "A Perl script is "correct" if it gets the job done before your boss fires you." - Larry Wall Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] kppp questions
On Mon, 02 Jun 2003 01:55:27 +0100 Robin Turner <[EMAIL PROTECTED]> wrote: > I've been playing around with kppp. Two questions: > > 1. Are my frequent Mozilla crashes anything to do with the fact that I > now have it opening on connect rather than manually? Are these 'crashes' or disconnects? If disconnects edit your /etc/ppp/options as follows (man pppd for details): lock# prevents other connects to the modem noauth# prevents authentication requests defaultroute# sets the current route to the IP lcp-max-configure 25 # this one helps with slow logon handshakes ipcp-accept-local # accepts local ip address as set by ISP ipcp-accept-remote # as above for remote address idle 600 # time in seconds before automatic hangup debug# Can't remember this one , bugger:-)) > > 2. Is there a way to get kppp to connect on startup? Not sure - I prefer to run it when I need it. John nz Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] kppp questions
ed tharp wrote: On Tue, 2003-06-03 at 17:31, Robin Turner wrote: Brian Parish wrote: On Mon, 2003-06-02 at 00:55, Robin Turner wrote: I've been playing around with kppp. Two questions: 1. Are my frequent Mozilla crashes anything to do with the fact that I now have it opening on connect rather than manually? 2. Is there a way to get kppp to connect on startup? Sir Robin Regarding point 2, just put a: ifup ppp0 in an appropriate /etc/init.d file. Doing this will cause it to automatically redial if the link dies. Is that what you wanted? I now use DSL, but back in the dial-up days, I used a script controlled by a simple flag file mechanism to enable anyone on my home LAN to put the link up or down. You are welcome to that if the solution above is too inflexible. I'm not sure if your script is what I'm looking for, but I'd like to see it (it would also be useful to post it here for the benefit of the masses!). And a word to KDE developers - the user-friendly graphic help pages are very nice, but please write man pages in the normal format. A Linux/Unix app without a man page is like a Perl script without perldoc. Sir Robin man pppd is your freind, as is /etc/ppp/options a file to confige such options as demand and idle settings Aha! I'd tried "man ppp" - forgot to dial D for daemon, though. Should be plain sailing from here. Sir Robin -- "A Perl script is "correct" if it gets the job done before your boss fires you." - Larry Wall Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] kppp questions
On Tue, 2003-06-03 at 17:31, Robin Turner wrote: > Brian Parish wrote: > > On Mon, 2003-06-02 at 00:55, Robin Turner wrote: > > > >>I've been playing around with kppp. Two questions: > >> > >>1. Are my frequent Mozilla crashes anything to do with the fact that I > >>now have it opening on connect rather than manually? > >> > >>2. Is there a way to get kppp to connect on startup? > >> > >>Sir Robin > > > > > > Regarding point 2, just put a: > > > > ifup ppp0 > > > > in an appropriate /etc/init.d file. Doing this will cause it to > > automatically redial if the link dies. Is that what you wanted? > > > > I now use DSL, but back in the dial-up days, I used a script controlled > > by a simple flag file mechanism to enable anyone on my home LAN to put > > the link up or down. You are welcome to that if the solution above is > > too inflexible. > > I'm not sure if your script is what I'm looking for, but I'd like to see > it (it would also be useful to post it here for the benefit of the masses!). > > And a word to KDE developers - the user-friendly graphic help pages are > very nice, but please write man pages in the normal format. A Linux/Unix > app without a man page is like a Perl script without perldoc. > > Sir Robin > man pppd is your freind, as is /etc/ppp/options a file to confige such options as demand and idle settings Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] kppp questions
Brian Parish wrote: On Mon, 2003-06-02 at 00:55, Robin Turner wrote: I've been playing around with kppp. Two questions: 1. Are my frequent Mozilla crashes anything to do with the fact that I now have it opening on connect rather than manually? 2. Is there a way to get kppp to connect on startup? Sir Robin Regarding point 2, just put a: ifup ppp0 in an appropriate /etc/init.d file. Doing this will cause it to automatically redial if the link dies. Is that what you wanted? I now use DSL, but back in the dial-up days, I used a script controlled by a simple flag file mechanism to enable anyone on my home LAN to put the link up or down. You are welcome to that if the solution above is too inflexible. I'm not sure if your script is what I'm looking for, but I'd like to see it (it would also be useful to post it here for the benefit of the masses!). And a word to KDE developers - the user-friendly graphic help pages are very nice, but please write man pages in the normal format. A Linux/Unix app without a man page is like a Perl script without perldoc. Sir Robin -- "A Perl script is "correct" if it gets the job done before your boss fires you." - Larry Wall Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] kppp questions
On Mon, 2003-06-02 at 00:55, Robin Turner wrote: > I've been playing around with kppp. Two questions: > > 1. Are my frequent Mozilla crashes anything to do with the fact that I > now have it opening on connect rather than manually? > > 2. Is there a way to get kppp to connect on startup? > > Sir Robin Regarding point 2, just put a: ifup ppp0 in an appropriate /etc/init.d file. Doing this will cause it to automatically redial if the link dies. Is that what you wanted? I now use DSL, but back in the dial-up days, I used a script controlled by a simple flag file mechanism to enable anyone on my home LAN to put the link up or down. You are welcome to that if the solution above is too inflexible. cheers Brian HTH Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] kppp questions
I've been playing around with kppp. Two questions: 1. Are my frequent Mozilla crashes anything to do with the fact that I now have it opening on connect rather than manually? 2. Is there a way to get kppp to connect on startup? Sir Robin -- "A Perl script is "correct" if it gets the job done before your boss fires you." - Larry Wall Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com