Linux-Networking Digest #606, Volume #12         Thu, 16 Sep 99 03:13:46 EDT

Contents:
  Re: Win98 to Linux WWW (Joel Cohen)
  Am I using netmasks incorrectly? (Julien B Beasley)
  Re: How do you configure a second NIC? (Vilmos Soti)
  Newbie:Socks ([EMAIL PROTECTED])
  Re: Anyone using Linksys Fast Ethernet 10/100 Network in a Box ? 
([EMAIL PROTECTED])
  Re: 3c90x: new 3com GPL driver (Jonathan Wilson)
  Re: 3c90x: new 3com GPL driver (Jonathan Wilson)
  SOHOware NIC (tulip.c) on HP Pavilion 6465 - Success! (Coral Sea)
  Win98 - Linux WWW (Joel Cohen)
  Linux Socket API Code Required ([EMAIL PROTECTED])
  Re: 3 Nights with Samba Sorrow ([EMAIL PROTECTED])
  Re: Insight @ home cable modem setup ("D Sherow")
  Re: Newbie Looking for FF.exe Utility for Linux. (Dave Carrigan)
  Re: Finding ppp0 IP (dynamic) in a C program (Leolo)
  Re: Newbie Looking for FF.exe Utility for Linux. (Clifford Kite)
  Re: making my ip masq script wait 10-15 seconds to let pppd finish  (Vilmos Soti)
  second NIC not working,help please! ([EMAIL PROTECTED])
  Re: making my ip masq script wait 10-15 seconds to let pppd finish connecting (Bill 
Unruh)
  Re: DNS, NIS, etc. ([EMAIL PROTECTED])
  NIS problems with Redhat Linux 6.0 ([EMAIL PROTECTED])
  Re: Cant get ethernet to work (Raf Meeusen)
  linux on a RS/6000? ([EMAIL PROTECTED])
  2 IP addresses ("haloha")

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

From: Joel Cohen <[EMAIL PROTECTED]>
Subject: Re: Win98 to Linux WWW
Date: Thu, 16 Sep 1999 10:39:56 -0600

Mikey wrote:

> Joel Cohen wrote:
>
> >I have two machines hooked up with an ethernet LAN. Both are dual-boot
> >machines, with, running Redhat 6 and Win98. When both machines are
> >running Linux, they can talk to each other just fine. When both are
> >running Win98, they can talk to each other as well. This leads me to
> >believe that all the networking hardware is ok
> >
> >However, I can't seem to be able to get the machines talking to each
> >other when one is running Linux (Apache WWW) and the other Win98. In
> >particular, the IP address of the host is 172.16.1.1. The other machine
> >is 172.16.2.1. I can't ping across the network, and, of course, Netscape
> >won't work.
>
> Joel,
> I think what your problem here is that the 2 machines are on different
> networks.
> Try changeing the IP address of the second machine to 172.16.1.2 rather than
> 172.16.2.1
> this may clear your problem. note: you will need to reboot 98. linux will
> accept the change immediately but you may need to reconfigure your routing
> table, or reboot linux for it to be done automatically
>
> Mike

Thanx, but I resolved it by changing the subnet address on the Win98 machine
from 255.255.255.0 to 255.255.0.0
That allowed the Win98 machine to talk to the Linux box. However, I can only do
it by referring to the
172.16.1.1 address directly in Netscape. I edited the hosts.smb file on the
Windoze box, adding the line:

172.16.1.1     joel.linuxhost

to avoid entering the ip address directly (I re-booted the machine to make sure
it "took"). That still didn't work.
Any suggestions?


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

From: Julien B Beasley <[EMAIL PROTECTED]>
Subject: Am I using netmasks incorrectly?
Date: Thu, 16 Sep 1999 03:55:02 GMT



Hello everyone,

I am trying to set up my linux box (smb server) on the local networks.
Some networks can access my computer and some cannot.

My /etc/sysconfig/static-routes file reads

eth0 net 167.76.175.0 netmask 255.255.255.0 gw 167.76.232.1
eth0 net 167.76.196.0 netmask 255.255.255.0 gw 167.76.232.1

Now if I traceroute to a computer on the 167.76.175.0 network, it goes
through the gateway.
However, if I traceroute to the computer 167.76.196.24, it will not go
through the gateway, and will not be able to connect!!
If I add the following line to the static-routes file

eth0 net 167.76.196.24 netmask 255.255.255.255 gw 167.76.232.1

Then I am able to ping the computer 167.76.196.24

Why does the second line of the above configuration not work?

What I would really like to do is tell my computer to go through the
gateway for ALL ip's that do not start with 167.76.232

To accomplish this, I added the line
eth0 net 167.76.0.0 netmask 255.255.0.0 gw 167.76.232.1

However, this does not work. I am having to manually add every single
computer whose ip starts with 167.76 manually.. what I am doing wrong?

I am running red hat 6.0, and my ip is 167.76.232.183, and my netmask
is 255.255.255.0. Any help would be greatly appreciated!

Julien
--
It may take a litte courage to ask your doctor about Erectile
Dysfunction.
But everything worthwhile usually does.
         -Bob Dole


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

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

From: Vilmos Soti <[EMAIL PROTECTED]>
Subject: Re: How do you configure a second NIC?
Date: Thu, 16 Sep 1999 04:37:42 GMT

Jeff wrote:

> I am a newbie to Linux, but I am fairly knowledgeable with other
> networks(NT/98/Cisco).  I am running RH 6.0 with GNU as my window manager.
> I have successfully configured one NIC.  Everything works on it.

:-) There is no such thing as "GNU as my window manager". Check out
http://www.gnu.org about what GNU is. BTW your window manager has
nothing to do with networking.

> I have a second identical NIC installed in my PC.  How do add it to my Linux
> configuration and configure separate settings for it?

You can do this in two ways: Here is a solution if both cards are
compiled right into the kernel. In your /etc/lilo.conf, add this line
(of course after editing it to fit your particular need) to the
appropriate section.

append="ether=10,0x300,eth1 ether=0,0,eth0"

Here, my first NIC (NE2000, ISA) has ioport 0x300 and the interrupt is
10. The second has 0,0 since that is a PCI card. Here is the full
section of /etc/lilo.conf:

image=/boot/rh6-2.2.12
        label=rh6-1
        root=/dev/hda3
        read-only
        append="ether=10,0x300,eth1 ether=0,0,eth0"

If you compile your drivers as modules, then put the following lines
into your /etc/conf.modules or /etc/modules.conf depending your distro:

alias eth0 ne
options ne io=0x300
alias eth1 tulip

Here, I define eth0 as the ne (NE2000 ISA) card's driver. The option I
pass is the ioport. The kernel will figure out the interrupt after it
knows the port. The tulip driver is aliases as eth1. No options are
necessary for this driver. If you compiled your network driver as a
module then you can figure out the name of it by looking at
/lib/modules/2.2.12/net directory. Of course, the 2.2.12 is valid for
the 2.2.12 kernel.

There are different ways to check if the network driver is loaded
correctly. If they are compiled into the kernel, then you should see
some relevant messge about them when the kernel boots up. Here is some
from my machine:

tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED]
eth0: Digital DC21041 Tulip at 0xfc80, 21041 mode, 00 e0 29 11 06 81,
IRQ 9.
eth0:21041 Media information at 30, default media 0800 (Autosense).
eth0:  21041 media #0, 10baseT.
eth0:  21041 media #0, 10baseT.
ne.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED])
NE*000 ethercard probe at 0x300: 00 c0 df 50 49 9a
eth1: NE2000 found at 0x300, using IRQ 10.


Also, /proc/interrupts and /proc/ioports will list that their names
imply. If you have a PCI card, then /proc/pci will list it:

Bus  0, device  13, function  0:
 Ethernet controller: DEC DC21041 (rev 33).
 Medium devsel.  Fast back-to-back capable.  IRQ 9.  Master Capable. 
Latency=96.  
      I/O at 0xfc80 [0xfc81].
      Non-prefetchable 32 bit memory at 0xffbdff80 [0xffbdff80].

Have fun, Vilmos

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

From: [EMAIL PROTECTED]
Subject: Newbie:Socks
Date: Thu, 16 Sep 1999 04:34:33 GMT

I am a student and my institute uses firewall for internet connections
.I downloaded  some clients which asked for socks host to be specified.
I am a newbie to network programming so i'll be grateful if anyone could
help me out with some understanding of socks.
   alduous.


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

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Re: Anyone using Linksys Fast Ethernet 10/100 Network in a Box ?
Date: Thu, 16 Sep 1999 04:54:28 GMT

I had LinkSys cards in all my windows boxes. I tried getting the
linksys cards to work in RedHat6 and Slackware4 and was unsuccessful.
http://www.linksys.com/support/solution/nos/linux_lne100tx.htm

I think the decision is better determined by knowing if you are a linux
newbie or a guru. I am more a newbie so recompiling kernels or modules
seemed over my skills.

I bought 3COM905s for less than $50 at http://www.mwave.com

the 905s have worked in
RedHat 6
Slackware 4
Win2000beta3
BeOS 4.5
FreeBSD 3.2

AND I noticed a considerable speed increase on my game servers with the
3COM cards over the linksys cards (10% - 20%)

hope this info is of use

Andy


In article <MPG.1249ab4151540769989683@DefaultNews>,
  [EMAIL PROTECTED] (Sean Akers) wrote:
> I've just discovered a local PC shop selling the 'Linksys Fast
Ethernet
> 10/100 Network in a Box' product for what seems like a very
reasonable
> price. It says on the box that it is Linux compatible.
>
> Are any of you Linux users out there using one of these ? If so, what
are
> your thoughts ? I am thinking of getting one of these (plus a third
> network card) for my home network which is currently running using
old
> 3Com 3C503 ISA cards. My network consists of one Linux server, one
W98
> machine and one multi-boot W98, NT4, Linux machine.
>
> Cheers,
>
> Sean Akers.
>


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

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

From: Jonathan Wilson <[EMAIL PROTECTED]>
Subject: Re: 3c90x: new 3com GPL driver
Date: Thu, 16 Sep 1999 05:02:09 GMT

[EMAIL PROTECTED] wrote:

I have that exact card (3Com 900 XL combo) and I'm trying to install it
right now (what a coincidence).  So I went to the 3Com web site,
>support>NICs>3c900 but I wasn't sure which thing to download. BTW is
this "driver" a module, or what?

            JW


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

From: Jonathan Wilson <[EMAIL PROTECTED]>
Subject: Re: 3c90x: new 3com GPL driver
Date: Thu, 16 Sep 1999 05:03:09 GMT

Sorry, I forgot to ask the real question: where can I get this new
driver from?

        JW


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

From: Coral Sea <[EMAIL PROTECTED]>
Subject: SOHOware NIC (tulip.c) on HP Pavilion 6465 - Success!
Date: Thu, 16 Sep 1999 05:09:02 GMT

After bashing my head against the wall and going down the wrong paths
several times, I finally got my SOHOware Fast Ethernet NIC to work on my
HP Pavilion 6465 (supposedly has an ASUS MEB-VM mainboard) and got the
HP networked to my other PC running Windows 98 SE and sharing an
Internet connection with it.

The trick was -- as was suggested by others -- to use the latest tulip.c
driver and disable Plug & Play.  However, there's a bit of trick to that
because the HP BIOS doesn't have an obvious way of disabling P & P.  The
way to do it is to select the Operating System as "Other"  by going into
the BIOS setup.  This was mentioned by another HP owner at this
newsgroup.

Many thanks to those who offered suggestions (some good, some...well...)
and especially Chris McDonald for the Linux machine network settings to
use Internet Connection Sharing with Windows 98 SE.

If anyone wants the gory details, let me know.  I'll publish a more
detailed message later (after I'm done celebrating!).


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

From: Joel Cohen <[EMAIL PROTECTED]>
Subject: Win98 - Linux WWW
Date: Thu, 16 Sep 1999 11:07:53 -0600

How can I get around the need to enter the IP address directly into
Netscape (running Win98 connecting to Apache on Linux) I edited the
host.smb file on the Windoze box, adding the line:

172.16.1.1              joel.linuxhost

That didn't work.

Any suggestions?


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

From: [EMAIL PROTECTED]
Subject: Linux Socket API Code Required
Date: Thu, 16 Sep 1999 05:32:58 GMT

Hi,
I badly need the code for Linux Socket APIs. Do tell me where i will be
able to find it. I need the code so that i can modify the APIs to
direct the data over a serial link rather than the network card. Is
this possible?
Thanking you in anticipation


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

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

From: [EMAIL PROTECTED]
Subject: Re: 3 Nights with Samba Sorrow
Date: Thu, 16 Sep 1999 05:01:45 GMT


Yes, I forgot to do 2, after I did 2,  AND create a SAMBA user on
Linux everything worked :-)...

Thanks everyone...


On Wed, 15 Sep 1999 18:11:27 GMT, David Crooke <[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] wrote:
>> 
>> Hi,
>> 
>
>> 
>> Then I type in helena and the password.  The following errors would
>> show up: "The account is not authorized to login from this station".
>> 
>
>You have NT4 SP3 or later, don't you? :-)
>
>The message is misleading. Samba is asking for plaintext password, and
>NT4 is configured by default to refuse to connect in this case. Two
>options:
>
>1. Enable plaintext passowrds in NT (there is a registry import supplied
>with Samba)
>
>2. Configure Samba to do encryption
>
>-- 
>David Crooke, Austin TX, USA. +1 (512) 656 6102
>"Open source software - with no walls and fences, who needs Windows
>and Gates?"


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

From: "D Sherow" <[EMAIL PROTECTED]>
Subject: Re: Insight @ home cable modem setup
Date: Thu, 16 Sep 1999 05:45:42 GMT

I have a compaq laptop running redhat 6 with a linksys pcmcia card connected
to RoadRunner. What worked for me was starting a dhcp client at boot time,
it work for me.

Dave Sherow
http://www.seweb.com

KevinDTimm <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Pat Fenis wrote:
> >
> > Maybe someone could help me out.
> >
> > I am trying to set up my cable modem with linux.
> > My ethernet card was detected when i installed linux.  No problem there.
> > I set up all the information as best i could.  The cable modem is
detected.
> > When I ping my primary dns it returns 56 bytes.  But then nothing else.
> > Any suggestions?
> >
> > I start the browser and I have put in the proxy http://proxy:8080
> > which is what is required for my cable modem.  I type in www.yahoo.com
into
> > URL address.  It begins searching but never finds anything.
> >
> > Anyone seen stuff like this?
> >
> > Thanks
> > Ruel Loehr
>
>
> Ruel,
>
> I found that if you press and hold (for 10+ seconds) the reset switch
> on the back of the cable modem (when your linux box is up), the cable
> modem will then read the MAC on your card and then it will work.
>
> Nothing works before this.
>
> KT



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

From: Dave Carrigan <[EMAIL PROTECTED]>
Subject: Re: Newbie Looking for FF.exe Utility for Linux.
Date: 16 Sep 1999 04:21:56 GMT

>>>>> "Mark" == Mark Thomas <[EMAIL PROTECTED]> writes:

 Mark> I was looking for a utility that would look into a text file for
 Mark> a "textstring" and search multiple subdirectories.  I use grep as
 Mark> much as I can, but I must be missing something.  I havn't figured
 Mark> out how to get it to search subdirectories beyond the directory
 Mark> in which the search was executed.

find /path/to/top -type f -print | xargs grep pattern

If you don't want to see the actual patterns that it finds, use grep -l
instead.

-- 
Dave Carrigan ([EMAIL PROTECTED])                 | Yow! Was my SOY LOAF left
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DHCP-DNS | out in th'RAIN?  It tastes
Seattle, WA, USA                                 | REAL GOOD!!
http://www.rudedog.org/                          | 

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

From: Leolo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux
Subject: Re: Finding ppp0 IP (dynamic) in a C program
Date: Thu, 16 Sep 1999 01:13:07 -0400

An strace on ifconfig shows it does
    socket(PF_INET, SOCK_DGRAM, IPPROTO_IP)    = 6
....
    ioctl(6, SIOCGIFFLAGS, 0xbffff720)      = 0
    ioctl(6, SIOCGIFHWADDR, 0xbffff720)     = 0
    ioctl(6, SIOCGIFMETRIC, 0xbffff720)     = 0
    ioctl(6, SIOCGIFMTU, 0xbffff720)        = 0
    ioctl(6, SIOCGIFMAP, 0xbffff720)        = 0
    ioctl(6, SIOCGIFMAP, 0xbffff720)        = 0
    ioctl(6, 0x8942, 0xbffff720)            = 0
    ioctl(6, SIOCGIFADDR, 0xbffff720)       = 0
    ioctl(6, SIOCGIFDSTADDR, 0xbffff720)    = 0
    ioctl(6, SIOCGIFBRDADDR, 0xbffff720)    = 0
    ioctl(6, SIOCGIFNETMASK, 0xbffff720)    = 0

SIOCGIFADDR seems to be what you want. 

in <bits/ioctls.h>
#define SIOCGIFADDR     0x8915          /* get PA address     */

in /usr/src/linux/net/ipv4/devinet.h
                case SIOCGIFADDR:       /* Get interface address */
                        sin->sin_addr.s_addr = ifa->ifa_local;

What's more, the source code to ifconfig is readily available.  Go dig
in it. :)

-Philip

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Newbie Looking for FF.exe Utility for Linux.
Date: 15 Sep 1999 22:41:12 -0500

Mark Thomas ([EMAIL PROTECTED]) wrote:
> Does anyone know of a utility like "Nortons File Find" that will work under
> a Linux Shell.

> I was looking for a utility that would look into a text file for a
> "textstring" and search multiple subdirectories.
> I use grep as much as I can, but I must be missing something.
> I havn't figured out how to get it to search subdirectories beyond the
> directory in which the search was executed.

Here's a way that works well for me.

find . -type f -name \*.txt -print | xargs grep foo 2> /dev/null

Substitute any directory name for the `.' that you want.  The find program
prints the filenames that match the -name expression which are then
piped to xargs.  The xargs program allows grep to use the filenames to
search for foo.  The 2> /dev/null sends standard error to the bit-bucket,
eliminating "xxx is a directory" errors that otherwise may annoy.

Another way is

find /etc/* -name rc.\* -exec grep setserial {} \; -print 2> /dev/null

but this seems to be limited in the number of files it can handle.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Speak softly and carry a +6 two-handed sword. */

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

From: Vilmos Soti <[EMAIL PROTECTED]>
Subject: Re: making my ip masq script wait 10-15 seconds to let pppd finish 
Date: Thu, 16 Sep 1999 05:24:51 GMT

Sam Hughes wrote:
> 
> I need to find a way to make my ip masq script wait 10-15 seconds so that
> pppd can finish connecting to my isp since my masq script uses the ip
> address that I'm assigned for a few of the rules.   To dial out I use a
> script called bellsouth-up.  This script calls pppd with my chat script.  Is
> there a way to either do a while statement or even just a 10 sec loop in a
> bash script to pause it before it calls the masq script???

sleep 10

Vilmos

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

From: [EMAIL PROTECTED]
Subject: second NIC not working,help please!
Date: Thu, 16 Sep 1999 06:09:39 GMT

Hi,
I really appreciate very much if someone can help me to solve following
problem:
I have a dual P-III machine (server) running Linux Mandrake6.0.
Initially one NIC(ISA, 3COM 3C509) was installed and connected to cable
modem. Everything worked great. Now I add a second NIC (PCI type, CNET
Pro120) to connect with my LAN (via a hub to Windows NT etc.) I used
linuxconf to add this NIC by giving a IP=192.168.1.1, module=tulip.
Kernel successfully detect both cards. ifconfig shows both cards up. I
can ping second NIC's IP (192.168.1.1) OK. Now the problem: the LED link
indicator on hub stays off for second NIC. I can not ping linux machine
from my LAN (NT) at all. Is there some configuration I am missing here?
Please help.

PS. I have dual boots on my server. I verified this problem is gone if I
boot it to NT sever, the second NIC works OK. its LED light on hub is
on. I can ping it from LAN. My understanding is, if the hub's LED light
off for second NIC means there is no connectivity (right ?).


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

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: making my ip masq script wait 10-15 seconds to let pppd finish connecting
Date: 16 Sep 1999 06:31:04 GMT

In <_7_D3.3025$[EMAIL PROTECTED]> "Sam Hughes" <[EMAIL PROTECTED]> writes:

]I need to find a way to make my ip masq script wait 10-15 seconds so that
]pppd can finish connecting to my isp since my masq script uses the ip
]address that I'm assigned for a few of the rules.   To dial out I use a
]script called bellsouth-up.  This script calls pppd with my chat script.  Is
]there a way to either do a while statement or even just a 10 sec loop in a
]bash script to pause it before it calls the masq script???

sleep 10
causes a script to pause for 10 sec.

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

From: [EMAIL PROTECTED]
Subject: Re: DNS, NIS, etc.
Date: Thu, 16 Sep 1999 06:12:43 GMT

Are you only concerned about hosts?  If so then you can run a simple
caching dns server and add the ip of the name server in
/etc/resolv.conf.  The following article is an excellent starting point
on setting up a DNS server....

   http://www.linuxgazette.com/issue44/pollman/dns.html

However...if you also want to be able to control the user accounts,
groups etc... on one central location then you will have to use NIS.
Look through the NIS-HOWTO to get an idea of what needs to be done.  I
warn you however that getting NIS working properly (including plugging
most security holes) is not a trivial task.

If you want to share the files to your windows machines...you will have
to use SAMBA.

S.r.

In article <[EMAIL PROTECTED]>,
  EKK <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I currently run a simple small network and would like to have
> one machine do all the machine name and IP address handling.
>
> My configuration is as follows:
>
>   1 Router Modem, which I currently use by adding a 'nameserver'
>                   line to my /etc/resolv.conf
>
>  10 Unix-based machines (mostly Linux and Irix)
>
>   2 Windows machines (these are obviously not very important.)
>
>   I currently have an /etc/hosts file and a ~/.rhosts file with all
>   the machine names listed on EACH machine.  The LAN is expanding
>   and it is a pain to update entries on each machine.
>
> My questions are:
>
>    I would like to dedicate a Linux box to do all this name look-up
>    stuff.  Is there a tool to easily configure a machine to do this?
>
>    I want to set up this server to look up the DNS on the modem and
>    to propagate NS info to all other machines.  I also want the server
> to
>    handle name look-ups for all machines on my local network.
>
>    Then machines on local network could just have a nameserver entry
>    in the /etc/resolv.conf file that points to the server and just one
>    entry (localhost) in the /etc/hosts file.
>
>    Would my server be the GATEWAY?  i.e. would all local machines have
>    to point to the server as their gateway, or is the name look-up all
>    done within the nameserver entry (DNS)?
>
>    I am not too sure which daemons I need to turn on, etc.
>
>    Which README/HOWTO files would be best to read?
>
> Thank you very much,
>
> AG
> --
>
> Alessandro Giachino,  Software Engineer
>
> EKK Inc.
> 2065 West Maple C309        tel. 248-624-9957
> Walled Lake MI 48390        fax. 248-624-7158
> _____________________________________________
>                         http://www.ekkinc.com
>


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

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

From: [EMAIL PROTECTED]
Subject: NIS problems with Redhat Linux 6.0
Date: Thu, 16 Sep 1999 06:41:47 GMT

Hi,

I am having some problems with trying to get NIS working on my home
network.

Network Configuration)

As a test I am just doing the config amongst two hosts... both running
Redhat 6.0:

   router.srai.org: the NIS server, file server etc...
   test.srai.org:   the NIS client

I built the yp maps and started the ypserver on router.srai.org and also
started ypbind on the NIS client.  I can do a ypcat host, passwd etc...
and get the appropriate entries....

Problem 1)  Cannot login to client as NIS user...

When I telnet into test.srai.org...I get "login incorrect".  Upon
examining /var/log/messages on the client I see:

"Sep 16 02:22:31 test login: FAILED LOGIN 2 FROM localhost FOR srai,
Authentication failure"

I made sure to change all /etc/pam.d/* entries from pam_pawd to
pam_unix_<*>....

When I do ypmatch srai passwd ... I get:
    srai:x:500:500::/home/srai:/bin/bash

My nsswitch.conf on the client reads:

passwd:     compat
shadow:     compat
group:      compat

passwd_compat:  nis
shadow_compat:  nis
group_compat:  nis


I am able to login as a local user on the client machine.

Could you tell me what is wrong here?

Problem 2)  Cannot automount homedir

I installed autofs and set up the appropriate files in router.srai.org
to act as the file server.....

Following are the config files on the server (router.srai.org):

/etc/auto.master  contains
   /home   /etc/auto.home  --timeout 60
/etc/auto.home contains
   srai            -fstype=auto            router.srai.org:/home/srai

On the client (test.srai.org)
   when I do: "ypmatch srai auto.home" I get
  -fstype=auto            router.srai.org:/home/srai

   when I do: "/etc/rc.d/init.d/autofs status" I get
      Configured Mount Points:
      /usr/sbin/automount --timeout 60 /home yp /etc/auto.home

      Active Mount Points:
      /usr/sbin/automount --timeout 60 /home yp /etc/auto.h

As you can see the active mount point shows /home in "/etc/auto.h".  I
don't have a auto.h file or is this just a filename truncation?  When I
try to access /home/srai I get the following message on
/var/log/messages

Sep 16 02:37:34 test automount[689]: attempting to mount entry
/home/srai
Sep 16 02:37:34 test automount[750]: lookup(yp): lookup for srai failed:
No such map in server's domain

I have spent over a day on this and have not been able to get it
working...I looked everywhere but there does not seem to be much in
terms of online documentation regarding NIS on linux.  Any help would be
much much much appreciated.

Thanks,

S.r.

P.s.: my /etc/hosts.allow and /etc/hosts.deny files look the following
(on both machines):

/etc/hosts.allow
ALL              : localhost .srai.org
portmap          : 192.168.1.

/etc/hosts.deny
ALL              : ALL


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

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

From: Raf Meeusen <[EMAIL PROTECTED]>
Subject: Re: Cant get ethernet to work
Date: Thu, 16 Sep 1999 06:48:24 +0000

1) disable pnp
2) set irq and base I/O address manually with DOS config program
3) give I/O address as parameter for modprobe:

in /etc/conf.modules something like:

options ne io=0x280 irq=12

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

From: [EMAIL PROTECTED]
Subject: linux on a RS/6000?
Date: Thu, 16 Sep 1999 00:46:35 -0400

I have an old RS/6000 with 32 megs of RAM, and apparently 2 BNC network
cards (one built into the motherboard and another in an MCA slot).  Will
linux run on this machine? and can BNC netwoking be connected to a
10base-T Network, or should I just switch to 10 base-T?

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

From: "haloha" <[EMAIL PROTECTED]>
Subject: 2 IP addresses
Date: Wed, 15 Sep 1999 23:16:39 -0700

that should be a simple questions to some of you!

I am trying to apply 2 IP address into my RedHat 5.1 2.0.36 kernel machine!
I have followed the HowTos and apply two real ip address to these etho and
eth0:0 interfaces.
I use ifconfig to configure both interface using 255.255.255.240 as the
subnet mask. I know my network number is x.x.x.240. but, I just cannot set
up the route table right! when I do a route, it shows nothing on the routing
table! Of course, I receive an error message "Network is unreachable" when I
do a ifup eth0 or restarting the network daemon.

Can someone suggest me some solutions to me?

Any help will be greatly appreciated?

[EMAIL PROTECTED]




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


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