[SuSE Linux] PPP Questions
Hi people. I finally got ppp-up(thru yast) and masquerading to work. I just have three more things to solve before being HAPPY with it. 1. Right now, only root can start the connection. How can I let ALL users dial out? (the permission stuff, and which files?) 2. How can I define my own set of modem init strings? (which file) 3. Where and how can i set the MTU? Currently set to 1500, but I would like to make it lower. Anybody have suggestions on the best MTU settings for a 56K modem? Thanks a lot in advance. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
John D. Kim wrote:
Hi people.
I finally got ppp-up(thru yast) and masquerading to work. I just have three more things to solve before being HAPPY with it.
1. Right now, only root can start the connection. How can I let ALL users dial out? (the permission stuff, and which files?)
I added my normal user account to the dialout and uucp groups via yast and am able to dialout as a non-root user.
2. How can I define my own set of modem init strings? (which file)
Sorry, I can't help you there. Maybe you can take a look at the individual scripts the /etc/ppp directory. When I set up my connection as directed by the ppp-howto, I created a script that had some modem init values in it, maybe if you check out the howto, it'll point you the the right file
3. Where and how can i set the MTU? Currently set to 1500, but I would like to make it lower. Anybody have suggestions on the best MTU settings for a 56K modem?
I think that MTU and MRU are set in the /etc/ppp/options file. I just checked and that's where you set it. Use mru ### and mtu ### to set the values. I don't know how yast sets up ppp, but the modem init string appears to be in the ppp-on-dialer script from the ppp-howto. There's a line that reads like: OK ATDT$TELEPHONE where ATDT is the init string (I think) and $TELEPHONE is your isp's ph #. Hope this helps -- __ _ Mark Wagnon -o) / / (_)__ __ ____ __ Chula Vista, CA /\\/ /__/ / _ \/ // /\ \/ / <A HREF="mailto:mwagnon@ixpres.com">mailto:mwagnon@ixpres.com</A> _\_v____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
John D. Kim wrote:
Hi people.
I finally got ppp-up(thru yast) and masquerading to work. I just have three more things to solve before being HAPPY with it.
1. Right now, only root can start the connection. How can I let ALL users dial out? (the permission stuff, and which files?)
I recommend you install diald to bring the line up and down for any user according to demand. It's quite easy to install and uses your suseppp settings. Most unwanted dialouts can be avoidd by using its config file to suppress any netbios packets and by running DNS to remove the need to dial out to resolve IP addresses. In case you don't want to do this, and bearing in mind that I _am_ using pppd via diald, my pppd looks like this: -rwsr-xr-- 1 root dialout 83952 Aug 4 22:33 /usr/sbin/pppd and my connect scripts like look like this: -rwx------ 1 root root 3377 Dec 21 00:23 connect -rwxr-xr-x 1 root root 487 Feb 19 1998 ppp-down -rwxr-xr-x 1 root root 504 Dec 13 13:45 ppp-up the shell script 'connect' takes the place of the ppd option "-chat generic.chat" as it's got a few more bells and whistles (mainly to do with putting more detailed information about failed connects into the log file).
2. How can I define my own set of modem init strings? (which file)
The modem init string goes into your /etc/suseppp/whatever.chat at the very beginning of the sequence (mine goes into the connect script above; one of the advanteages of this script, which comes with the diald package but which _can_ be used just with naked pppd, is that it is much more structured and commented and easy to understand where things go. With regard to the values you should use: I am just using the factory-set defaults.on my modem and these seem sensible enough. If you really want to tweak it your best bet is to ask your ISP. If they are any good their technical support department will have a list of the recommended setup strings for the most popular branded modems. If you have an unbranded model look in that list for modems which use the same chipset as yours.
3. Where and how can i set the MTU? Currently set to 1500, but I would like to make it lower. Anybody have suggestions on the best MTU settings for a 56K modem?
MTU and MRU are set explicitly with the command-line options "mtu n" and "mru n" for pppd. However I suggest you don't use these at all as ppps is I believe supposed to autonegotiate these with the host to achieve the most efficient value. I'm using a 56K modem (external Hayes Accura speakerphone) with the V.90 BIOS flashed into it and I am happy to report that when there isn't a host, routing or bandwidth saturation problem between me and the source of the data I'm downloading, I usually get 4 to 5 kilobytes per second and occasionally a little more :-) Ralph -- rclark@virgosolutions.demon.co.uk Ralph Clark, Virgo Solutions Ltd (UK) __ _ / / (_)__ __ ____ __ * Powerful * Flexible * Compatible * Reliable * / /__/ / _ \/ // /\ \/ / *Well Supported * Thousands of New Users Every Day* /____/_/_//_/\_,_/ /_/\_\ The Cost Effective Choice - Linux Means Business! - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
dongkiru@war.OCF.Berkeley.EDU
-
mwagnon@ixpres.com
-
rclark@virgosolutions.demon.co.uk