Linux-Networking Digest #429, Volume #11          Sun, 6 Jun 99 14:13:29 EDT

Contents:
  DHCP problem (Heikki Levanto)
  Sendmail configuration (FreeLorn)
  Re: sendmail forwarding... (Ed Allen)
  Re: Samba (Monte Phillips)
  Re: mount: my server not responding: RPC_PROG_NOT_REGISTERED (Alfred)
  Re: postgresql starting problem (Manuel Guesdon)
  Linux vs. 3CON Etherlink III ("Jhumur")
  sample of /etc/hosts.lpd file (Ted Potter)
  Re: Laptop and tulip driver.... (Rod Smith)
  Re: Help: 3com 3c509B etherlink III: Driver loads but ???? (Tom Bascom)
  Re: Dip problem... (Clifford Kite)
  mount: my server not responding: RPC_PROG_NOT_REGISTERED (Alfred)
  Help with RedHat 5.2 LAN problem ([EMAIL PROTECTED])
  NFS config in kernel compiling (Feng Ming Dong)
  Re: Ethernet is gone after compiling 2.2.9 (TurboTex)

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

From: [EMAIL PROTECTED] (Heikki Levanto)
Subject: DHCP problem
Date: 6 Jun 1999 13:31:41 GMT

Oh ye gurus,
I have got stuck with this problem and need some fresh eyes to look at it
and to see the obvious.

I am trying to set up a dhcpd on my RedHat 5.2 machine. The server starts up
without problems, but when my laptop connects, I get the following in
/var/log/messages:
Jun  3 18:01:43 bug dhcpd: DHCPDISCOVER from 00:00:e8:5e:a7:32 via eth1
Jun  3 18:01:44 bug dhcpd: DHCPOFFER on 10.0.0.100 to 00:00:e8:5e:a7:32 via eth1
Jun  3 18:01:44 bug dhcpd: sendpkt: Network is unreachable


My dhcpd.conf is like this:

option domain-name "lsd.dk";
option domain-name-servers 10.0.0.1;
option routers 10.0.0.1;
subnet 10.0.0.0 netmask 255.0.0.0 {
        range 10.0.0.100 10.0.0.200;
#       host lab {
#               hardware ethernet 00:00:e8:5e:a7:32;
#               fixed-address lab.lsd.dk;
#       }
}



I can happily ping other machines through eth1:

PING 10.0.0.2 (10.0.0.2): 56 data bytes
64 bytes from 10.0.0.2: icmp_seq=0 ttl=128 time=1.0 ms
64 bytes from 10.0.0.2: icmp_seq=1 ttl=128 time=0.7 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=128 time=0.7 ms


Ifconfig says:

eth1      Link encap:Ethernet  HWaddr 00:20:18:29:2E:8E
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80800 errors:0 dropped:0 overruns:0 frame:0
          TX packets:93252 errors:0 dropped:0 overruns:0 carrier:0
          collisions:168
          Interrupt:9 Base address:0xff00

I am running an almost plain-vanilla RedHat 5.2, with two net cards (cable
modem and local net), ip masq, etc. Pentium 133 (if I remember right), 64MB
RAM, enough free disk:

Linux version 2.0.36 ([EMAIL PROTECTED]) 
(gcc version 2.7.2.3) #7 Thu Apr 8 16:46:51 CEST 1999

I have made one change in /etc/rc.d/init.d/dhcpd: I start dhcpd only on
eth1. 

Any ideas would be appreciated, even just a confirmation that this message
has reached "the world", as my news system is not quite done yet...

Thank you in advance

        Heikki Levanto

 

--
Heikki Levanto  LSD - Levanto Software Development   <[EMAIL PROTECTED]>




--
Heikki Levanto  LSD - Levanto Software Development   <[EMAIL PROTECTED]>


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

From: FreeLorn <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Sendmail configuration
Date: Sun, 06 Jun 1999 12:48:38 +0000

I'm not sure if it is a problem at my end or at the other end, but
occasionally when I send an email to someone, I get a bounce reply of
551 <[EMAIL PROTECTED]> ...we do not relay.

The top of my sendmail.cf is as follows:

##################
#   local info   #
##################

Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/sendmail.cw

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM


CP.

# "Smart" relay host (may be null)
DSpost.demon.co.uk

# place to which unknown users should be forwarded
#Kuser user -m -a<>
#DLname_of_luser_relay

# operators that cannot be in local usernames (i.e., network indicators)

CO @ % !

# a class with just dot (for identifying canonical names)
C..

# a class with just a left bracket (for identifying domain literals)
C[[

# who I send unqualified names to (null means deliver locally)
DR

# who gets all local email traffic ($R has precedence for unqualified
names)
DH

# dequoting map
Kdequote dequote

# class E: names that should be exposed as from this host, even if we
masquerade
# class L: names that should be delivered locally, even if we have a
relay
# class M: domains that should be converted to $M
#CL root
CE root

# who I masquerade as (null for no masquerading) (see also $=M)
DMarlen.demon.co.uk


My sendmail.cw is as follows:

# sendmail.cw - include all aliases for your machine here.
steldin.shadows.org
arlen.demon.co.uk

Where steldin is a machine that connects to the net via my linux box and
arlen.demon.co.uk is the external hostname of my linux box and
brightwood is the internal name.

Could anyone point me in the right direction as to solving this problem?

Rob


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

Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Re: sendmail forwarding...
From: [EMAIL PROTECTED] (Ed Allen)
Date: Sun, 6 Jun 1999 02:52:40 -0500

In article <[EMAIL PROTECTED]>,
Matt Templeton  <[EMAIL PROTECTED]> wrote:
>I have a small network with a linux box doing masquerading. I need to
>forward all incoming mail to MS Exchange running on an NT server behind
>the linux. I want to use sendmail on the linux box to forward all mail
>to the server, but every time I try, I get an Email back stating that
>forwarding has been denied. How can I configure sendmail to forward
>every thing it receives to the exchange server???
>
Your Domain Name System should have an MX (Mail eXchange) record.  You
can see it with 'nslookup -q=mx your.domain.com'

Each MX record has a number associated with it.

SMTP protocol specifies that MX records should be tried from lowest
to highest number.

If you give the Exchange server a lower number, sites trying to send email
to your domain will try to connect to its IP address and fail, it is
behind the Linux box after all.  Then they will try the Linux box and
succeed.

The Linux box will accept the message and then notice that a lower numbered
MX record exists.  It will connect to the NT box internally and deliver
the message to Exchange.

>
>Thanks! My O'reilly Sendmail book is on order but will not get here in
>time...
>
>
Great, you will need it.  Maybe you should concider their book
on firewalls as well or at least check here:

<a href="http://www.linuxhq.com/HOWTO/Firewall-HOWTO.html">Firewalling and Proxy 
Server HOWTO</a>

href="http://www.ssc.com/lj/issue24/1212.html">LJ #24, April 1996: Building a Linux 
Firewall

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

From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: Samba
Date: Sun, 06 Jun 1999 13:18:38 GMT

Well you don't really, if I understand your question correctly.   YOu
set up Windows groups and users with same same groups and users as you
did linux, using windows own configuration tools.   Then when windows
logs into linux it passes the current windows user name and password
to linux.  Linux looks in its files and if the user and group exist
then all is well.  

Usually the problem people seem to run into is not matching the
password encryption. Windows is default encrypted and samba is default
plain text passwording.   Reset one or the other.

>I hav a problem with SAMB.
>How can I get Usernames and Groups from my linux-server for Windows95/98 ?
>Pleas E-Mail: [EMAIL PROTECTED]
>


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

From: Alfred <[EMAIL PROTECTED]>
Subject: Re: mount: my server not responding: RPC_PROG_NOT_REGISTERED
Date: Sun, 06 Jun 1999 15:07:05 GMT

Alfred wrote:
> 
> What did I miss or made wrong?
> - - - - - -
> MfG, Alfred
> - - - - - -
Sorry for disturbing you, I found the solution myselfe:
My client was blocked out from access the server by an entry in
/etc/host.deny
Now ist is working.
- - - - - -
MfG, Alfred
- - - - - -

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

From: [EMAIL PROTECTED] (Manuel Guesdon)
Subject: Re: postgresql starting problem
Date: 6 Jun 1999 14:35:38 GMT
Reply-To: [EMAIL PROTECTED] (Manuel Guesdon)

In article <[EMAIL PROTECTED]>, on 06 Jun,
        [EMAIL PROTECTED] (Philippe L�) writes:
> I automaticaly installes the postgresql program. I want to try out
> this
> database but I can't connect to it as explained in the doc file, I get
> a
> message "Missing or mis-configured pg_hba.conf file", this file
> doesn't exist
> on my computer.

My pg_hba.conf is in:
/var/lib/pgsql/

in /etc/rc.d/init.d/postgresql, postmaster is launched with this -D 
option:
-D/var/lib/pgsql

Be carefull, /var/lib/pgsql/ should be owned by postgresql user and 
postmaster must be launched by postgresql user

Bon dimanche !

Manuel
-- 

____________________________________________________________________
Manuel GUESDON  -  SOFTWARE BUILDERS        <[EMAIL PROTECTED]>
http://www.sbuilders.com
                   LINUX : http://www.linux.org !

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

Reply-To: "Jhumur" <[EMAIL PROTECTED]>
From: "Jhumur" <[EMAIL PROTECTED]>
Subject: Linux vs. 3CON Etherlink III
Date: Sun, 06 Jun 1999 15:16:58 GMT

The OS desn't seem to recognize my 3COM NIC (3C509B-TPO). During boot it
hangs for 15-20 secs while "bringing up interface eth0", and then fails.
What's my solution?



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

Date: Sun, 06 Jun 1999 14:57:06 +0000
From: Ted Potter <[EMAIL PROTECTED]>
Subject: sample of /etc/hosts.lpd file

Greetings,

Would some kind soul provide a sample of this file ? I keep getting a
perm denied message trying to print
from one linux box to another. Email direct to me as well as the ng is
apprecitated.

Thank you


--
Ted Potter
[EMAIL PROTECTED]
Linux: because a PC is a terrible thing to waste




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

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Laptop and tulip driver....
Date: Sun, 06 Jun 1999 14:21:46 GMT
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <f3j63.8499$[EMAIL PROTECTED]>,
        "Otto" <[EMAIL PROTECTED]> writes:
> Hello,
> 
>    I have a Hitachi VisionBook Pro 7755, with built-in network card. The
> card shows up as HITACHI HIAE-80/100 PCI 10/100 Ethernet and works fine
> under NT. I installed Redhat 6.0 and setup incorrectly detects the card as
> DEC 21040 and uses the "tulip" driver. I tried different drivers for the
> actual chip set, which is DEC 21143, and it didn't work. I can ping the card
> and it does respond, but pinging out doesn't work.
> I searched the web, but couldn't find any other drivers. Does anyone know
> where might be one?

The "tulip" driver IS the correct one.  You might need something more
up-to-date than what comes with standard Linux kernels, though.  Try this
URL for an updated tulip.c file:

http://cesdis.gsfc.nasa.gov/linux/drivers/tulip-devel.html

Take the tulip.c file, drop it into your Linux kernel tree, and recompile
the kernel and/or modules.

It's also possible that you're having problems with your Linux networking
configuration rather than with the driver itself.  For instance, have you
set up a gateway machine?  Assigned an address to the computer itself? 
Check the Linux networking HOWTOs for information on setting this up.

-- 
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me

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

From: [EMAIL PROTECTED] (Tom Bascom)
Subject: Re: Help: 3com 3c509B etherlink III: Driver loads but ????
Date: Sun, 6 Jun 1999 10:20:37 -0400

In article <7j2s8d$qad$[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> I have a dual-boot computer with win3.11 and linux.
> During bootup with slackware 3.3 (linux kernel 2.0.30), the driver correctly
> finds the ISA NIC. But the machine is not reachable and cannot ping other
> machines on the network, although it can ping it's own assigned IP address
> but nothing else. The computer works well under win3.11.
> Any ideas?

I had this problem just last week.  There were 2 issues 1) plug 'n pray 
was enabled and 2) there was an IRQ conflict after I disabled pnp.

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Dip problem...
Date: 6 Jun 1999 08:31:23 -0500

John Hong ([EMAIL PROTECTED]) wrote:
:       Just a slight one...  I have the dip script that I needed for my
: ISP.  One minor problem.  When I try executing "dip -i", it says I have no
: access to dip.  Thing is, I in my root account.  Any pointers?

If "try executing" means from the command line then it's doubtful that
it'll work even if root is in /etc/diphosts.  Judging from what you said,
you aren't trying to set up an ISP anyway.  The interactive dip mode
is "dip -t".  If this doesn't make sense to you then try "man dip".  Or
better "man pppd" - unless you need SLIP.  Dip uses pppd for it's PPP
connections anyway.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* The signal-to-noise ratio is too low in many [news] groups to make
 * them good candidates for archiving.
 *    --- Mike Moraes, Answers to FAQs about Usenet */

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

From: Alfred <[EMAIL PROTECTED]>
Subject: mount: my server not responding: RPC_PROG_NOT_REGISTERED
Date: Sun, 06 Jun 1999 14:54:00 GMT

What did I miss or made wrong?
- - - - - -
MfG, Alfred
- - - - - -

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

From: [EMAIL PROTECTED]
Subject: Help with RedHat 5.2 LAN problem
Date: Sun, 06 Jun 1999 13:14:07 GMT

I have installed RedHat 5.2 Secure-Server Edition on an old 486 box
installed as a server. I have an SMC ISA card (EZ Card 10) installed.
This is connected to a D-Link hub set to 10BaseT setting (it's a dual
speed). The two other computers on the network are running Win98 with
NetBEUI and TCP/IP protocols. PROBLEM: I can't ping the Linux box from
the Win 98 boxes and I cannot telnet into the Linux box.

ifconfig reads:


Link encap:Ethernet  HWaddr 00:E0:29:35:EE:F4
inet addr: 192.168.1.1  Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0
Interrupt:10 Base address:0x300


netstat -nr reads:

Kernel IP routing table
Destination  Gateway       Genmask       Flags MSS   Window  irtt  iface
192.168.1.0  0.0.0.0       255.255.255.0  U     1500  0       0     eth0
127.0.0.0    0.0.0.0       255.0.0.0      U     3584  0       0     lo
0.0.0.0      192.168.1.254 0.0.0.0        UG    1500  0       0     eth0

Any ideas of why I can't ping the Linux box would be appreciated.

Russ


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

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

Date: Sun, 6 Jun 1999 23:04:26 +0800 
From: Feng Ming Dong <[EMAIL PROTECTED]>
Subject: NFS config in kernel compiling

Hi,

I would like to get advice on compiling the Linux kernel with
kernel NFS modules.  I am using RedHat 6.0.  The installation comes
with the kernel version 2.2.5, and I can run NFS server and client.
However, when I compile the kernel version 2.2.7 source, the resulted
kernel fails to start up NFS daemon.  The error message is:

       nfssvc: Function not implemented

I included the RedHat source package knfsd-1.2.2-4.src.rpm, which
contains knfsd-1.2.2.tar.gz, and applies all patches to the source.  I
also compiled the knfsd-1.2.2 package, and got various
tools/utils/libraries.  Running the "utils/nfsd/nfsd" gives me the
error message the same as the above.  I checked the source code, and
found that the system call in "support/nfs/nfsctl.c" line 21:

      syscall (__NR_nfsctl, cmd, argp, resp);

returns the above error.

I am grateful if anyone can enlighten me how to fix this problem?  Thanks
in advance.


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

From: TurboTex <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: Ethernet is gone after compiling 2.2.9
Date: Sun, 06 Jun 1999 11:16:48 -0500

        Going from 36 to 2.2.* brings in some issues.  Is /etc/conf.modules
correct?
That is the main thing.  once it is seen you should be able to figure
out the rest.

alias etho 3c90   

Or something similar off the top of my head.  and maybe irqs and dmas..

Linuxchild wrote:
> 
> Ok, i thought i had everything right but i must have strayed from the
> path somewhere.
> 
> I have 3c90x pci card that was working fine uner 2.0.36-0.7 and -3 but
> then again -3 is done with rpms so its really a no brainer.
> 
> Even if i go to configure it with the network configurator in X11 it sees
> that it is there, active, and all my numbers are right but nothin.
> 
> Everything appears to be working fine except for the fact that my card
> doesnt work.
> 
> error is(at boot): eth0 unknown interface
> 
> hopefully this isnt too vague but then again it is 140 in the mornig.
> 
> thanks for any ideas or help

-- 
                     ----

       M.H. Collins             < LINUX: The Official OS >
         ******                 < for the New Millennium >        
 Powered by TurboLinux 3.4       http://www.linuxlink.com
     Driven by XFCE2             http://www.austinlug.org

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


** 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