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

--
[EMAIL PROTECTED]        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 [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to