This is from my /etc/network.conf, maybe this will help troubleshoot. Again,
I do not have an /etc/POSIXness.conf file.

Running E2B with PPPoP from Ken H, 2.2.16 Kernel, 2 floppy boot.

Thanks for any help, my box does not support CDRom boot to migrate to the
new version.

[SNIP]
############################################################################
###
# General Settings
############################################################################
###

VERBOSE=YES
MAX_LOOP=10

IPFWDING_KERNEL=FILTER_ON

IPALWAYSDEFRAG_KERNEL=YES

CONFIG_HOSTNAME=YES

CONFIG_HOSTSFILE=YES

CONFIG_DNS=YES

[SNIP]
############################################################################
###
# Hosts file (Static domainname entires)        Requires:
CONFIG_HOSTSFILE=YES
############################################################################
###
#       IP              FQDN                            hostname alias1
alias2..

HOSTS0="$eth0_IPADDR    $HOSTNAME.private.network       $HOSTNAME mr rtr"
#HOSTS1="192.168.1.22   host2.private.network           host2 h2"

############################################################################
###
# Domain Search Order and Name Servers          Requires: CONFIG_DNS=YES
############################################################################
###

DOMAINS="TEST"

DNS0=192.168.1.254
DNS1=205.152.0.20
DNS2=205.152.0.5

[SNIP}

This is from the /etc/resolve.conf file

# This file was generated by /etc/rcS.d/S39network. It may be overwritten!
search          TEST
nameserver      192.168.1.254
nameserver      205.152.0.20
nameserver      205.152.0.5
nameserver      127.0.0.1

-----Original Message-----
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 25, 2001 5:05 PM
To: Kevin; [EMAIL PROTECTED]; Robert Williams; Paul
Rimmer; Brock Nanson
Subject: Re: [Leaf-user] The script to send log files


> still no luck on e-mailing the logs. No error report this morning via
> weblet, however when I issue the mail script from the putty console, I
still
> get unknown hostname after changing the dns name to the actual server IP
in
> lrp.conf.

This is likely one of two potential problems.  Either you're using the
broken busybox hostname command (ie "hostname -f" does NOT return the
systems FQDN) or your local hostname is not set correctly (check
/etc/resolv.conf).  If you need to override the local FQDN (ie you want your
firewall to be firewall.my.domain, but your mail-server requires
firewall.isp.domain), use the settings in /etc/POSIXness.conf to override
the local hostname.

> After rebooting the system, I tried the 'mail -s "logs"
[EMAIL PROTECTED]
> </var/log/messages' command from the prompt.  It worked.  Then I tried it
> again (command queue - no typos!) and it DIDN'T!!  Instead I get an
'error:
> Unknown response'.  Looking in the sendmail logs I see:
>
> Nov 24 21:46:24 web sendmail[30817]: NOQUEUE: [192.168.1.254] did not
issue
> MAIL/EXPN/VRFY/ETRN during connection to Daemon0
>
> So it looks like sendmail doesn't like the mail command from my LRP.  I
> suspect this is the problem the others are having - but don't have the
> luxury of looking in the SMTP server logs!
>
> Why it worked the first time after boot is beyond me... I'm using Eiger if
> that's informational.

This version of the mail script would work intermittently, so your results
arn't too suprising.  While the mail script on my website generally works
much better than the Eiger version, the Dachstein version (available on the
CD or via CVS...I don't know off-hand if the floppy-rc2 has the latest
version) is generally much better, and the 'preffered' script if you're
actually planning on using the mail function.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)




_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to