Linux-Networking Digest #843, Volume #11          Fri, 9 Jul 99 23:13:35 EDT

Contents:
  Re: automatic dialup to ISP (David Efflandt)
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (Darren Winsper)
  Can I share password file in NT with Linux machine? ("general mail")
  Re: Linux modem frame errors (Clifford Kite)
  Re: PPP Configuration Guide/Docs? (Clifford Kite)
  ipforwarding in slackware 2.0.30 kernel (Joel Hatton)
  Re: CHAP script file permissions - confused! (David Efflandt)
  Re: Help Configuring Static IP... (David Efflandt)
  Re: wvdial w/ redhat doesn't like ibm.net (Michel Catudal)
  Linux SMTP Problems (#) novol)
  Re: Redhat 5.2 can't see Netgear FA310TX ("Joe Brouillette")
  Re: cant mount NFS partitions  (Fred Beondo)
  Re: I'm having DNS brainfailure (David Efflandt)
  Re: sqlinit: DBROOT must be set !!! (asrmj)
  Re: PLIP Problems (David Efflandt)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: automatic dialup to ISP
Date: 10 Jul 1999 01:20:32 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 07 Jul 1999 08:54:57 GMT, Andreas Schlager <[EMAIL PROTECTED]> wrote:
>On Wed, 07 Jul 1999 09:44:52 +0200, Flavio Curti <[EMAIL PROTECTED]>
>wrote:
>
>...
>>.. maybe you can give some more hints about your diald.conf? or try
>>diald-top the diald-monitoring and admin tool... are there any in-out
>>going packets ??
>>
>>greetz
>
>Hi Flavio,
>
>tnx for the *FAST* reply!
>Following configuration:

You must have a different diald than I do.  I have /etc/diald.conf,
/etc/diald/connect, /etc/diald/diald.ctl (fifo), /usr/lib/diald.defs and
/usr/lib/diald/standard.filter, but NO 'diald.options'.  Are you running
it as:  diald -f /etc/diald/diald.options
Otherwise this file might  be ignored, which could explain why nothing is
happening.

>/etc/diald/diald.options:
>device /dev/ttyS0
>accounting-log /var/log/diald.log
>fifo /var/run/diald.fifo
>debug 31
>mode ppp
>local 192.6.1.98
>remote 192.6.1.97
>netmask 255.255.255.0
>dynamic
>two-way
>reroute
>defaultroute
>ip-up /etc/diald/ip-up
>connect "/etc/diald/connect"
>disconnect "/etc/ppp/ppp-disconnect"

I don't have quotes on the connect (not sure if it make any difference).
Does /etc/diald/connect have read and execute permission for root?  Are
you running diald as root?  I used one of the sample diald.conf files that
says "diald.conf for anathoth" at the top.

>connect-timeout 90
>dial-fail-limit 2
>died-retry-count 0
>include /etc/diald/standard.filter

'auth' below may cause a problem since in asks the peer to authenticate
itself and an ISP doesn't normally do that.  Usually 'auth' along with
'login' is only used for options related to a dialin.

>/etc/ppp/options:
>asyncmap 0
>auth
>hide-password
>lcp-echo-interval 30
>lcp-echo-failure 4
>noipx
>
>I cannot see *ANY* action from diald, not in diald.log nor in ppp.log.
>
>Regards,
>
>Andreas
>[EMAIL PROTECTED]


-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

------------------------------

From: [EMAIL PROTECTED] (Darren Winsper)
Crossposted-To: 
omp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,comp.os.linux.misc
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark?
Date: 9 Jul 1999 13:21:49 GMT

On 8 Jul 1999 18:06:01 -0700, Jason O'Rourke <[EMAIL PROTECTED]> wrote:
> Darren Winsper <[EMAIL PROTECTED]> wrote:
> >> That has far more to do with the fact that Baseball was invented in the
> >> USA than any sort of national egotism.
> >
> >You have a funny definition of invented.  It looks more like a
> >derivative of rounders to me.
> 
> that's a reach.  It's no different than saying the Brits invented American
> football because it is based on something like rugby and football (what
> was the sequence: football -> rubgy -> american football?).

To my knowledge, rugby actually came into being during of a football
match.  It evolved into what it is today from there.  American
football certainly looks like a derivative of rugby to me.  But then
again, we don't wear so much padding.

-- 
Darren Winsper - http://easyweb.easynet.co.uk/darren.winsper

'"Whaddar we gonna do today Bill?"  "The same thing we do every day,
Balmer...."' - Craig Kelly in comp.os.linux.advocacy

------------------------------

From: "general mail" <[EMAIL PROTECTED]>
Subject: Can I share password file in NT with Linux machine?
Date: Fri, 9 Jul 1999 21:40:53 -0700

I'd like to share the user accounts in NT with Linux machine. 
Is it possible?


------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Linux modem frame errors
Date: 9 Jul 1999 06:54:07 -0500

Rob van der Putten ([EMAIL PROTECTED]) wrote:

: Clifford Kite <kite@NoSpam.%inetport.com> wrote:

: > Try resetting the modem with a factory standard in the chat script before
: > dialing.

: This is not allways a good idea; sometimes the factory defaults are
: perfectly useless.

Most of the time the factory defaults will work though - the manufacturers
know which settings are most likely to be appropriate and they certainly
want the customer to be happy.  Moreover changing these settings to suit
your situation is much easier than starting from scratch.

: It is better to set the modem to something which makes sense, save the
: settings with at&w and then use atz as your init string.

Only if you know just what the AT commands do and which make sense for you.
Someone who does know these things won't need (or heed) any modem setting
advice.  But yes if you know what you're doing then this is the way to go.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* A salute to Inspector Baynes, of the Surry Constabulary, the only
   police Inspector to ever best Mr. Sherlock Holmes at his own game.
   "The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP Configuration Guide/Docs?
Date: 9 Jul 1999 07:35:21 -0500

Kevin Turnquist ([EMAIL PROTECTED]) wrote:
: Clifford Kite <kite@nospam.%inetport.com> wrote:

: > It's been seen many times although usually there are only 10 LCP
: > messages before pppd gives up.   Extending the timeout doesn't do
: > anything to help.  Something's very likely wrong with the chat script.
: > Post the chat script and the chat -v messages from the log file, look
: > for them in the log files defined in /etc/syslog.conf .

:   Here is the ppp-go file, with the call for the chat script and pppd:

We need the chat script, that's the file /etc/ppp/ppp.chatscript you see
below with the chat -f option.  We also need the chat messages from whatever
log file they go to.  Most of what is in ppp-go is useless for debug
except for the actual pppd command.  Scripts generated by other scripts
add a layer of obfuscation to understanding the programs that actually
do the work.

You also need to learn how to get scripts and log messages into a post
without hand-copying them.  Hand-copying is prone to error and sometimes
things are left out that seem unimportant but which actually hold the
key to a problem.

: #!/bin/sh
: #
: if [ "$1" = "" ]; then
: killall -9 pppd 2>/dev/null
: rm -f /var/lock/LCK..* /var/run/ppp*.pid
: rm -f /etc/ppp/report-chat
: (/usr/sbin/pppd connect "/usr/sbin/chat -v -r /etc/ppp/report-chat -f
: /etc/ppp/p
: pp.chatscript") || exit 1

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* 97.3% of all statistics are made up. */

------------------------------

From: Joel Hatton <[EMAIL PROTECTED]>
Subject: ipforwarding in slackware 2.0.30 kernel
Date: Fri, 9 Jul 1999 23:29:12 +1000

do I have to do anything to activate the forwarding in my system?
Naturally I've compiled in all the necessary modules and I think I've
setup all the rules and gateways etc. that should be necessary to allow my
protected network to access the net, but I'm still getting 'Network is
unreachable' when I try to ping anything past the gateway box...

I'll post much more detail if you think it's more likely to be my setup :)



thanks
joel
--          Client Services, ITS, University of Queensland 
  (Disclaimer: opinions expressed here are mine only, not my employer's)
   plaintext/ascii messages only - http://www.uq.edu.au/~uqjhatto/#ftp


------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: CHAP script file permissions - confused!
Date: 10 Jul 1999 01:48:07 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 08 Jul 1999 17:32:13 GMT, Dave Esquer <[EMAIL PROTECTED]> wrote:
>Greetings from a newbie Windoze refuge! (the quotations below are to keep 
>myself organized, I know root is root and not "root")
>
>After much mucking around, I have a technique to log into my MCIWorld CHAP 
>account. They (MCIWorld) said it couldn't be done - really they said we can't 
>help you, go away. Anyway...
>
>I'm trying to let the "user" fire up a ppp script rather than having to be the 
>"root" all the time ( a bad idea, I think) and typing in a long complicated 
>/usr/bin/pppd /dev/tty... command to start my ppp session. Since this is a 
>standalone machine and I am the only person using the machine, I think its OK 
>for "user" to have access to PPP. All the ideas and scripts came from 
>axion.physics.ubc.ca/ppp-linux.html

I think you are going to much more trouble than necessary.  While I have
never done chap, I commonly do pap.  How to set up the connection depends
upon your Linux distribution.

RedHat has the nettool in X or linuxconf in the console that can set up a
ppp connection.  You can check a box to enable normal users to control the
connection.  I am guessing that it is just a matter of setting up a pap
connection and then working out the details of chap-secrets.  I have this
working using pap instead of chap (usernet in X or /sbin/ifup).

For other systems like Slackware it is a matter of making pppd suid
root (chmod 4750 pppd and chgrp users pppd), which 'man pppd' says it is
safe to do.  Then give users (or a particular group) permission to run any
related scripts.  pap-secrets and chap-secrets should only be readable by
root (or I think pppd will not use them).  I have done this in the past
using pap with their ppp-on (modified to use pap instead of login prompts).

>my users: "root" and "dave"
>my scripts: pppon and chatscript (both created as "root" user with emacs)
>
>pppon script has a line: "/usr/sbin/pppd /dev/ttyS1 .... "chat -f 
>$HOME/chatscript"
>and chatscript dials the ISP number and sets init strings to the modem.
>
>Now the confusion, these are the commands (from the axion paper) to let other 
>users (hopefully "dave") access the pppon script:
>
>1. mv pppon /usr/bin           : worked ok, file in /usr/bin   
>2. chmod a+rx /usr/bin/pppon   : worked ok too, permission changed     
>3. chown <user> chatscript     :here I substituted dave for <user>, worked ok
>4. su <user>                   : I did su dave 
>                               : I checked and chatscript
>                               : has the permissions "-rw-r--r-- dave root 
>chatscript"
>5. mv chatscript $HOME : ERROR message
>                               : mv:cannot unlink 'chatscript': permission 
>denied
>                               : mv: cannot remove 'chatscript': permission 
>denied
>6. chmod go-rwx $HOME/chatscript       : never got to this command!
(snip)

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Help Configuring Static IP...
Date: 10 Jul 1999 02:27:01 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 8 Jul 1999 11:40:24 -0700, Peter Cardilla
<[EMAIL PROTECTED]> wrote:
>Hello to all,
>I have a linux box running Red Hat 5.2 and it is set up as a server only. I
>also have a cable modem that up till yesterday was giving me dynamic IP
>addresses. This was no problem I was simply using the dhcp and whatever
>address it gave me, I used.
>Now I have a static IP address but can't get the server to reconize it. It
>still comes up with a dhcp address.
>I did use the netcfg program  and configured the dhcp to the new IP address
>but this didn't work either.
>
>It's probably obvious that this is new to me, but I would truly appreciate
>any help I can get, to get this server on it's own IP address.
>
>What am I missing?

I cannot get to the network tool in X at the moment, but I think it is
just a matter of unchecking something related to dhcp in your ethernet set
up or remove the eth connection and set it up again NOT using dhcp and
fill in your static address.  You will also need to make sure that you
have your ISP's domain and nameserver(s) in /etc/resolv.conf.

So it is not a matter of changing dhcp, it is a matter of not using dhcp
at all.

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

------------------------------

From: Michel Catudal <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.config
Subject: Re: wvdial w/ redhat doesn't like ibm.net
Date: 9 Jul 1999 20:42:53 -0500

Bill Unruh wrote:
> 
> I could notget wvdial towork on my machine. Others find it very helpful.
> I do not know what the difference is.
> Anyway for step by step instructions on connecting with ppp, see
> axion.physics.ubc.ca/ppp-linux.html
> In <7kjj1q$7nd$[EMAIL PROTECTED]> Rim Vilgalys <[EMAIL PROTECTED]> writes:
> 

Check your configuration, check /etc/resolv.conf
run configuration program, check scripts on /etc/ppp
read documentation
check for winmodem
etc ...

-- 
use OS/2 for a crash proof work environment
use Linux for safe and quick internet access
use Winblows to test the latest viruses
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.

------------------------------

From: #) novol <[EMAIL PROTECTED]>
Subject: Linux SMTP Problems
Date: Sat, 10 Jul 1999 02:24:15 GMT

Here is the story:

I have integrated a Linux server into a NT/95/98 network. We will be
using this server as a mail server. I have installed sendmail, and the
pop programs. SMTP works great sending email to the outside world from
the LINUX machine. Going to a windows machine, POP works great, the
windows machine downloads its mail.

However, having the windows machine use the linux server as its smtp
server is different. When I try to send any email from the windows
machine through smtp/linux server to the outside world, it doesnt work.
When I try the same, but sending the mail to an account on the linux
server, it works. The mail program gives me a message along the lines
that it can only send email to local server accounts on the linux box.

How do I go about setting up sendmail/smtp to have it be the smtp
gateway for the LAN no matter what email address they are sending to?

Thanks for your help.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: "Joe Brouillette" <[EMAIL PROTECTED]>
Subject: Re: Redhat 5.2 can't see Netgear FA310TX
Date: Fri, 9 Jul 1999 19:15:37 -0700

Ok, I've figured out that I need to compile the Netgear driver (Netgear says
to use that one rather than the one downloadable from the net).  HOWEVER, I
have no idea how to do it other than using the instructions that came with
the NIC.  Here's what I'm doing:

>  Installation Procedure for Modular Kernel
>  -----------------------------------------
>  1.  Compile tulip.c.
>gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototyp
es -O6 -c tulip.c
>  2.  Copy tulip.o into the latest kernel's modules.
>      cp tulip.o /lib/modules/2.0.XX/net/tulip.o
>  3.  Update kernel's module dependencies.
>      /sbin/depmod -a
>  4.  Add the following in /etc/conf.modules.
>      alias eth0 tulip
>  5.  Reboot the system.


I can't get past step 1.  I get about 2000 error messages flying by, and I
can't pageup far enough to see where the errors are starting.  I've mounted
my Win95 hard drive and tried it from there, and I've tried copying the
tulip.c file to different places in the Linux file system and trying to
compile it but no luck.  Can anyone help me figure out how to compile this
driver?  I've tried the modprobe thing with the stock tulip driver and Linux
just can't see the card.

Thanks for helping me keep what hair I have left,

Joe Brouillette



------------------------------

From: Fred Beondo <[EMAIL PROTECTED]>
Subject: Re: cant mount NFS partitions 
Date: Fri, 09 Jul 1999 18:32:04 -0800

I recently conquered NFS myself. It would be helpful if you
gave the syntax of your mount command, What's in your
/etc/exports and whether or not you ran exportfs -avr after
editting you expots file. You might also run tail -f
/var/log/messages on the NFS server to monitor any errors
that occur when you attempt to mount the NFS share from the
NFS client box.



**** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: I'm having DNS brainfailure
Date: 10 Jul 1999 02:42:32 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 05 Jul 1999 14:11:00 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>I'm running apache on a local network (redhat 5.2 note
>i didn't install the whole thing i have been installing it piece by
>piece so i could learn what is going on.) 
>i'm not going to handle dial up or email on my domain. I'm simply
>going to host some pages. 
>
>My problems is
>i can't type the name of mydomain.com into the browser and get
>anywhere. 
>
>i have read the dns howto plus some other dns stuff from two other
>sources. 

For a simple LAN with just a few domains, forget DNS and just put names
for the IP's in /etc/hosts of Linux and \windows\hosts of the Win boxes.
Samba checks both 'hosts' and 'lmhosts' for names (beside broadcasting).

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

------------------------------

From: asrmj <[EMAIL PROTECTED]>
Crossposted-To: 
comp.infosystems.www.servers.unix,comp.os.linux,comp.os.linux.help,japan.www.server.apache
Subject: Re: sqlinit: DBROOT must be set !!!
Date: Sat, 10 Jul 1999 02:17:35 +0000

Look for the initialization script /sbin/init.d/apache: There you will
see how DBROOT is set. You can use this script to start/stop the server;
for help about this, just execute: /sbin/init.d/apache.

asrmj

"Pletschette Andr=E9" wrote:
> =

> When starting Apache, with httpd I get:
> =

>       sqlinit: DBROOT must be set !!!
> =

> Does anybody know what this means and can anybody help me?
> =

> Thank's
> ______________________
> Pletschette Andr=E9
> http://www.grosbous.lu

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: PLIP Problems
Date: 10 Jul 1999 03:07:21 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 07 Jul 1999 18:31:38 +0200, Jef Van den broeck <[EMAIL PROTECTED]> wrote:
>
>I'm trying to get PLIP running on 2 slackware 3.6 boxes. It runs
>perfectly on box A ( kernel 2.0.35),
>but refuses to work on B (2.2.7). Besides the kernels, the software
>configuration is the same. Both of the boxes use a ECP parport, each
>0x378, irq 7 (told to the kernel via LILO). On A, the plip0 device is
>created like it should, but B refuses to do so. The relevant dmesg info
>from B:
>
>parport0: PC-style at 0x378, irq 7 [SPP,ECP,ECPPS2]             (like on
>the working box)
>
>parport0: unable to get hardware to register
>plip0.                        (NOT like on the working box)
>plip: no devices registered
>
>I tried both compiling PLIP into the kernel, and modularizing it. Both
>had the same effect.
>Can anyone give me any hints or info?

Make sure that parallel printer support (lp) is a module and not compiled
into the kernel.  That way the port is available as long as you are not
printing.

Also some machines use different port or irq than standard.  For example
my NEC computer's first parallel port uses a normal port, but IRQ 5
instead of the usual 7.  Try different combinations of io= and irq= when
loading the plip module.  Although, I think the only symptom of using the
wrong irq is that in connected, but would not pass anything.  But if you
have the wrong port it will not connect.

>Thanks in advance,
>
>Jef Van den broeck
>
>[EMAIL PROTECTED]


-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to