Linux-Networking Digest #639, Volume #10         Fri, 26 Mar 99 10:14:14 EST

Contents:
  Junkbuster Forwardfile Questions (Eric Wick)
  Re: PPP Connection w/ null modem? (Brian McCauley)
  Re: IP Masquerading and FTP ("Carl R. Friend")
  Dialing into Linux box ("Russell S. DiPesa")
  Re: Apache Web Server / SUSE Linux 5.3 ("David Boyd")
  nis/ypbind won't work (Thor Gjesdal)
  Re: ISA network card problem with RedHat 5.2 ("Jan Johansson")
  Re: 3c589 PCMCIA Adapter wont't work (Johan Uiterwijk Winkel)
  Re: What man pages should I start with? (Bob Tennent)
  Squid Proxy Accounting ("Ilya Kyriakin")
  Re: How to compile Kernel 2.2.2 with redhat 5.2??? ("William Evans")
  PCMCIA TR Card with SUSE Linux ("Rolf Wiest")
  Re: ISA network card problem with RedHat 5.2 ("Curt")
  Dual NICs, only one rx/tmt ([EMAIL PROTECTED])
  Re: Problem trying to start squid 2 in Linux 2.0.36 ("Leopold Toetsch")
  Re: Problem trying to start squid 2 in Linux 2.0.36 (John Edwards)
  Re: What man pages should I start with? ("Curt")
  Re: NIS Problem (Thorsten Kukuk)

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

From: Eric Wick <[EMAIL PROTECTED]>
Subject: Junkbuster Forwardfile Questions
Date: 25 Mar 1999 19:06:06 +0100

Got a question, think it's simple for Experts

On my Gateway-Machine sits the Named as forwarding nameserver, the clients
behind it use the Junkbuster filtering-proxy to browse the web.

The Forwardfile from Junkbuster points at last to the Provider-Proxy, but
so my Named is never used. What should i insert before the global-forward?

What to set in the forwardfile to get contact to the local Swat (Samba-Web
Administration-Tool) ? The following forwardfile dont solve that.

# Format:
# target        forward_to              via_gateway_typ         gateway

# Enable the following entry to use the squid proxy installed on this
# system.
#*              localhost:3128          .                       .
:443            .                       .                       .
:53             localhost:53            .                       .
# Forward fuer Samba Administration Tool
:901            localhost:901           .                       .
# Rest geht zum Proxy des Providers
*               proxy.hanse-net.de:8080 .                       .
$

Any Ideas and Comments?



--
ByeBye
[EMAIL PROTECTED]

This Text was produced without any Microsoft-Product

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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: PPP Connection w/ null modem?
Date: Fri, 26 Mar 1999 08:32:57 +0000

Jeremy Woodburn <[EMAIL PROTECTED]> writes:

> I have a laptop & T1 line at work, and a desktop & 56k modem at home. 
> Both computers have Linux on them.  I bring the laptop home occasionally
> and would like to use a serial null modem cable to swap files loaded
> onto the laptop. The laptop does not have an ethernet connection
> independent of the dock at work, so that isn't an option. 
> 
> The current goal:  Connect the laptop and desktop in the simplest way
> possible to tranfer (largish) files.
> 
> Alternative 1:  Set up PPP connection with each computer having a
> separate IP address, etc.  I haven't seen this discussed anywhere in
> connection w/ the null modem cable, including the LDP.  Any thoughts?

It isn't discussed because there's nothing to discuss.  This is the
most basic mode of operation of pppd, everything else (dial-up,
dial-in etc) is an additional complication on top. 

Just run pppd on the two machines:

pppd {port} {speed} {local-IP} noauth
 
You may have to delete /etc/ppp/options as some distrubutions  put
silly defaults in there.

You don't actually need "noath" on current versions of pppd but may
need it in future versions so it's worth getting into the habit.

You may need the "local" option if your null-modem cable is not a full
null-modem cable.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: "Carl R. Friend" <[EMAIL PROTECTED]>
Subject: Re: IP Masquerading and FTP
Date: Fri, 26 Mar 1999 07:14:27 -0500

PEK wrote:
> 
> Greetings
> 
> I'm running IP Masquerading with a one-way cable modem for about a
> month now [...] but I cannot FTP with an FTP client.  I expect this,
> because the FTP client sends the data port command for the internal
> addresses of my network (10.1.1.x) and obviously the FTP server
> won't send to these addresses.

   One-way cable modem? <shrug>

   Have you compiled a modular kernel and installed the masquerading
helper modules?

   The one you're after is ip_masq_ftp.o and it should be in the
/lib/modules/(kernel-version)/ipv4 directory. Install it with either
modprobe or insmod and you should be off to the races.

   There are other protocol helpers in there, too, such as Real Audio,
IRC, and Quake :-).

-- 
+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:[EMAIL PROTECTED]                |                     |
| http://www.ultranet.com/~crfriend/museum       | ICBM: N42:22 W71:47 |
+------------------------------------------------+---------------------+

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

From: "Russell S. DiPesa" <[EMAIL PROTECTED]>
Subject: Dialing into Linux box
Date: 25 Mar 1999 23:12:03 GMT

To all,
        I have RH5.2 and am trying to dial into the modem that I have connected to
it.  I  have added the necessary line to "inittab" to respawn mgetty for
each new call.  I am able to dial the modem and get a handshake from it. 
But, after attempting to negotiate the username and password, it
disconnects.  I believe I have the proper permissions set for the username
that I am dialing in with.  Any suggestions?

Russ


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

From: "David Boyd" <[EMAIL PROTECTED]>
Subject: Re: Apache Web Server / SUSE Linux 5.3
Date: Fri, 26 Mar 1999 12:08:35 -0000

I've tried setting up the Apache server (suse seems to configured everything
ok).
I've started the httpd, and have no errors in the apache log.

i've not made any changes to the httpd.conf, the impression I get from
reading it, seems to be its all operational,
i think its setup to listen for http info, on all networks cards on port 80.

When I type the ip into my netscape brower though I get nothing, I should
get the apache docs.

I know I'm missing something obvious, but the faqs are not helping me.

Any ideas???

Please email [EMAIL PROTECTED], and reply to newsgroups if possible.



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

From: Thor Gjesdal <[EMAIL PROTECTED]>
Subject: nis/ypbind won't work
Date: Fri, 26 Mar 1999 13:42:24 +0000

Hi,

I've gottwo machines that I want to set up as a mini nis domain. Setting
up the server went ok, but I can't seem to get the client on the other
machine working.

Both machines run RH 5.2 and I followed the HOWTO quite closely as this
is new territory to me.

anyway, after I everything is said and done I start ypbind

[root@thor /etc]# rc.d/init.d/ypbind start
Binding to the NIS domain... ypbind 

# and then we test ...

[root@thor /etc]# ypcat passwd
YPBINDPROC_DOMAIN: Domain not bound
No such map passwd.byname. Reason: Can't bind to server which serves
this domain

according to the man page ypbind stores the binding information in
/var/yp/bindings/* _but there is nothing there_...

If I run ypbind manually I get

[root@thor /etc]# /sbin/ypbind --debug
cleared entry for domain cmr_nis.oslo: server 0.0.0.0, port 0
parsing config file
Trying entry: ypserver osl0

parsed ypserver osl0
bindto_server: domain cmr_nis.oslo, host osl0

portmap works OK 
         
suggestions anyone?

thoR

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

From: "Jan Johansson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: ISA network card problem with RedHat 5.2
Date: Fri, 26 Mar 1999 13:50:15 +0100

>I have a ISA PnP network interface card.  I have disable the PnP function
>within the BIOS of my computer.  I leave the card setting as PnP enable.


Never do that, either keep BOTH bios AND card as PnP or else turn off ALL
pnp.



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

From: Johan Uiterwijk Winkel <[EMAIL PROTECTED]>
Subject: Re: 3c589 PCMCIA Adapter wont't work
Date: Fri, 26 Mar 1999 13:14:20 +0100

Florian Lenz wrote:

Which version of linux are you using. I encountered the same problem
with
S.u.s.e, and that has been solved ;-) But the solution only works for
S.u.s.e, as far as I know.

> Hi there,
>
> is there anyone who knows how to set up a 3C589 pcmcia NIC to work
> correct. I can install the driver. The cardmanager is also active and
> the LED on the adapter is on.  the card should be active.
>
> at the time i want to configure tcp/ip using the ifconfig command the
> LED goes out. I get no error message but the nic is not working.
>
> Thanks for help.
>
> --
> Florian Lenz
> [EMAIL PROTECTED]




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

From: r d t@c s.q u e e n s u.c a (Bob Tennent)
Subject: Re: What man pages should I start with?
Date: 26 Mar 1999 13:03:25 GMT

On 26 Mar 1999 09:39:14 GMT, Gary  Helbig wrote:
 >
 >This is a RFM question, but I need to know which FM's.
 >
 >Going to build a Linux box to replace an existing server, and
 >turn it into a "Not There (tm)" box.
 >
 >The linux box will have two ethernet ports, and needs to be
 >a web server, a proxy server, a mail server, and a firewall.
 >Oh, and it needs to be a DHCP host for the (proxy) served clients.
 >
 >The DNS and NNTP server will be provided by the ISP.
 >
 >I will want to administer the system remotely, preferably
 >with my X server.
 >
 >Pointers, or BTDT stories?  It's a matter of pride to make this
 >go as smoothly/quickly as possible; the current server works,
 >and I'm the only lobbiest for Linux "there".

Don't start with man pages; start with the Networking-Overview-HOWTO,
the NET-3-HOWTO and the Network Administrators Guide, which is part of
the LDP (Linux Documentation Project).  These are all available
from, for example,

ftp://metalab.unc.edu/Linux/docs

Bob T.

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

From: "Ilya Kyriakin" <[EMAIL PROTECTED]>
Subject: Squid Proxy Accounting
Date: Fri, 26 Mar 1999 14:21:18 +0100

Hi,

Does the following conf. sounds familiar to you? I'm running my box with
routing and firewalling capabilities. For accounting puposes I setted up
some accouning rules with "ipfwadm -A" and analyses its output every minute.

This functions pretty well but now I provides my users the proxy SQUID. But
due to  Squid I can't use this to track how much of the bandwith in a
certain time-period a client used.

I doesn't have a clue. What can I do to make Squid list this in a Log. How
to read the Output?

thanks for answers

+++adam+++




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

From: "William Evans" <[EMAIL PROTECTED]>
Subject: Re: How to compile Kernel 2.2.2 with redhat 5.2???
Date: 26 Mar 1999 08:41:31 -0500

>>>>> "bfei" == bfei  <[EMAIL PROTECTED]> writes:

    bfei> hey once you do save the zImage to the boot directory, do you have to do
    bfei> something to lilo so it can boot up with the new configuration?

Once the kernel has been compiled, save it somewhere next to the
existing kernel (for convenience).  However, *don't* delete the old
one.  My kernels are located in /boot/ as
vmlinuz-${version}-${release}.  (If I compiled the kernel myself, the
release ended up something like 0.${compilation-number}, but that
doesn't matter.)

You'll also want to save System.map which should be in /usr/src/linux/
or whereever you put the source.  I copy it, too, to /boot/ as
System.map-${version}-${release}.

>From there, I have symlinks.  /boot/vmlinuz points to the kernel that
I want to be the default; vmlinuz-prev points to the last known good
kernel; System.map points to the System.map corresponding to the
default kernel.

>From here, I have /etc/lilo.conf look like this:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz
        label=linux
        root=/dev/hda7
        read-only
image=/boot/vmlinuz-prev
        label=linux-prev
        root=/dev/hda7
        read-only
other=/dev/hda1
        label=nt
        table=/dev/hda

Pretty simple.  I just changed the symlinks and rerun /sbin/lilo (as
root).  That way, I don't have to modify lilo.conf every time I try a
new kernel.  As long as the symlinks are kept up-to-date, I know that
I always have a working kernel in case the old one crapped out on me.

This is what the relevant files look like in /boot/:

lrwxrwxrwx   1 root     root           20 Mar 22 22:28 System.map -> 
System.map-2.2.4-0.1
-rw-r--r--   1 root     root       174516 Mar 22 22:28 System.map-2.2.3-0.4
-rw-r--r--   1 root     root       182795 Mar 24 13:40 System.map-2.2.4-0.1
-rw-r--r--   1 root     root        10759 Mar 22 22:40 kernel.cfg-2.2.3-0.4
-rw-r--r--   1 root     root        11545 Mar 24 13:40 kernel.cfg-2.2.4-0.1
lrwxrwxrwx   1 root     root           17 Mar 24 13:39 vmlinuz -> vmlinuz-2.2.4-0.1
-rw-r--r--   1 root     root       509790 Mar 22 22:27 vmlinuz-2.2.3-0.4
-rw-r--r--   1 root     root       525648 Mar 24 13:39 vmlinuz-2.2.4-0.1
lrwxrwxrwx   1 root     root           17 Mar 24 13:39 vmlinuz-prev -> 
vmlinuz-2.2.3-0.4

Even when I compile a kernel of the same version, I always save it as
a different name here.  For instance, the next time I compile a 2.2.4
(if I have to, that is), it'll be vmlinuz-2.2.4-0.2 so that I can keep
the 2.2.4-0.1 kernel around if I screw it up.

Redundancy is a good thing when you're talking about booting your
system.  If you mess up the kernel and don't keep a good one around, I
*really* hope you have a boot-disk and/or a friend with a working
kernel for you.

HTH

-bill

-- 
William Evans                 < william . evans @ computer . org >

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

From: "Rolf Wiest" <[EMAIL PROTECTED]>
Subject: PCMCIA TR Card with SUSE Linux
Date: Fri, 26 Mar 1999 14:40:51 +0100

installed are SUSE 6.0 and PCMCIA support and TR driver.
All things are working for a few minutes, than the network going down.
After restart the same thing.
Hardware is a TP760 with Auto TR 16/4.
Is there another driver available ?

regards Rolf



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

From: "Curt" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: ISA network card problem with RedHat 5.2
Date: Fri, 26 Mar 1999 08:45:51 -0500

I assume you mean IO address of 0x2a0, not DMA.

I would suggest setting up the card with a DOS utility that came
with it.  Disable pnp, so it is stays the way you set it.  My guess
is it is changing the interrupt level to something else.

Before you install the card you might want to take a look at
/proc/interrupts
and /proc/ioports.

You may need to add the 'append' statement  to /etc/lilo.conf
Although with 2.0.35 and above this doesn't seem to be needed as often.

image=/boot/vmlinuz-2.0.36
        label=linux
        root=/dev/hda2
        append= "ether=10,2a0,eth0"
        read-only


Jimmy Lee wrote in message <7dfloo$shu$[EMAIL PROTECTED]>...
>Hi, all,
>
>I am a new user to Linux, also this newsgroup.  Actually, I have a problem
>for the above mentioned question.
>
>I have a ISA PnP network interface card.  I have disable the PnP function
>within the BIOS of my computer.  I leave the card setting as PnP enable.
>When I try to install the RedHat 5.2 onto my computer, everything is fine.
>I just need to answer the NIC part as below:
>
>NIC type:  Novell 2000 compatible
>IRQ: 10
>DMA: 0x2A0
>
>And the installation can completed without any error.
>
>However, when I check with the NIC, I found some problems with it.  I can
>ping the NIC by using the loopback IP address (127.0.0.1) and the assigned
>IP (131.107.2.200, for example).  However, I cannot use the ping to connect
>other computer on the same network segment.  In addition, I found the NIC
>card has zero value of TXs and RXs with ifconfig command.  I don't
>understand why this happened.
>
>Could anyone can give me a hint or idea about this?
>
>Thanks.
>
>Big Pen
>
>
>



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

From: [EMAIL PROTECTED]
Subject: Dual NICs, only one rx/tmt
Date: Fri, 26 Mar 1999 12:51:29 GMT

After much reading of postings and HOWTOs, I have been able to configure my
linux machine (kernel 2.0.35, SuSE Linux 5.2) with 2 NICs (one Western
Digital, one 3com 3c509).  Both cards are recognized in ifconfig.  eth0 (the
WD) works fine if it's alone, but when eth1 is installed, only eth1 (3c509)
will receive or transmit packets.  There does not appear to be a conflict
with IRQ or base address.  How can I get both NICs functioning, so I can use
this machine as a firewall?

Thanks for any help you can give - I see that many others have had similar
problems.

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: "Leopold Toetsch" <[EMAIL PROTECTED]>
Subject: Re: Problem trying to start squid 2 in Linux 2.0.36
Date: Fri, 26 Mar 1999 12:58:52 +0100


[EMAIL PROTECTED] wrote in message <7dfiup$9pi$[EMAIL PROTECTED]>...
>
>/usr/sbin/squid -z  /usr/sbin/squid as instructed in the QUICKSTART file in
>the /usr/docs/squid directory.
>But when I enter "squid" the
>system churns and crunches for about 30 sec., and then silence.  It never
>concludes the command. I.e., I am not returned to a prompt

You wrote that you _did_ read the QUICKSTART.

Then you would have read:

<cite>You should NOT get the shell prompt back: squid does not got into the
background by default.</cite>

May be you have a different QUICKSTART :-)

leo


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

From: John Edwards <[EMAIL PROTECTED]>
Subject: Re: Problem trying to start squid 2 in Linux 2.0.36
Date: Fri, 26 Mar 1999 08:05:38 -0500

[EMAIL PROTECTED] wrote:
> 

snip

> Here is my problem.  I am trying to start Squid 2 with the commands:
> /usr/sbin/squid -z  /usr/sbin/squid as instructed in the QUICKSTART file in
> the /usr/docs/squid directory. When I type "squid -z" I get "Creating Swap
> Directories" as a result.  No problems there. But when I enter "squid" the
> system churns and crunches for about 30 sec., and then silence.  It never
> concludes the command.  I.e., I am not returned to a prompt but instead the
> system just sits there staring at me like a mule.  Won't go foreward, won't
> go backward.  Doesn't freeze or die, but doesn't complete the command.  (At
> which point I end up doing a Ctrl-C to exit this dark and quite emptiness).
> 

snip

It sounds like squid is simply running in foreground.  Have you verified
that squid is working by try to use squi from another workstation?  If
it is then put squid in background or put it in your rc.local script.

john edwards
[EMAIL PROTECTED]
301.470.4805

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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: What man pages should I start with?
Date: Fri, 26 Mar 1999 09:14:24 -0500

We did something similar.   We're currently using RH5.2,  I'm sure others
would do just as well.

We did find that when you use 2 ethernet cards it is best to usr 2 different
brands.   It has to do with how linux recgonizes cards.  The may work better
now that when we did it.  We used a
3com509 and an ne2000 clone.

I personally don't like sendmail.  We use qmail:  www.qmail.org   and it
works great, and it was quite simple to setup.  There are some RPMs
available for it now too.   However, you'll find more people that have used
sendmail.   If you go with sendmail, make sure it is at least version 8.9 .

Basic web hosting is very simple with standard apache server that comes with
RH.

The firewall question is more complex.  What do you currently use?   Does it
need to
be a swapout for the NT system your using, with no changes to the clients?
Linux 2.0 has a built in simple NAT firewall which operates at the IP level,
call IP masquarading.
Linux kernel 2.2 has a more capable NAT firewall call IPCHANS. (rather new,
I've not used)
A SOCKS proxy server (with IP forwarding off, or you really don't have a
firewall), operates
at the trasport level.  www.socks.nec.com   We use SOCKS at work, but that
may not be best for you.  I use IP MASQ for my home network.

If you can change the clients setups fairly easily, IP masqurading is the
simplest to setup.

I've never used DHCP.

Obvious advise:  get things working in increments.

http://metalab.unc.edu/LDP/HOWTO/HOWTO-INDEX-3.html#ss3.1

Gary Helbig wrote in message <7dfkk2$519$[EMAIL PROTECTED]>...
>
>This is a RFM question, but I need to know which FM's.
>
>Going to build a Linux box to replace an existing server, and
>turn it into a "Not There (tm)" box.
>
>The linux box will have two ethernet ports, and needs to be
>a web server, a proxy server, a mail server, and a firewall.
>Oh, and it needs to be a DHCP host for the (proxy) served clients.
>
>The DNS and NNTP server will be provided by the ISP.
>
>I will want to administer the system remotely, preferably
>with my X server.
>
>Pointers, or BTDT stories?  It's a matter of pride to make this
>go as smoothly/quickly as possible; the current server works,
>and I'm the only lobbiest for Linux "there".
>
>TIA
>Gary.



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

From: Thorsten Kukuk <[EMAIL PROTECTED]>
Subject: Re: NIS Problem
Date: 26 Mar 1999 14:16:11 GMT

Lists <[EMAIL PROTECTED]> wrote:
> We have NIS set up serving a bunch of machines, and when you try to
> change passwords or do a ypchfn, it gives an error saying: Unable to
> change password.

> When you look at /var/log/messages on the main NIS server, there are
> entries that say:
> rpc.yppasswdd[8197]: update <USERNAME> (uid=<UID>) from host <IP ADDRESS
> OF CLIENT RUNNING YPBIND> rejected.
> rpc.yppasswdd[8197]: chsh not permitted

> What would cause this to happen?  Our best guess was improper
> permissions on ypchsh or yppasswdd, but that didn't seem to be the case.

Please read the manual page to rpc.yppasswdd. For this reason, it was
written:

       -e [chsh|chfn]
              By default, rpc.yppasswdd will not allow  users  to
              change  the  shell  or  GECOS field of their passwd
              entry. Using the -e option, you can  enable  either
              of  these.  Note  that  when  enabling  support for
              ypchsh(1), you have to list all  shells  users  are
              allowed to select in /etc/shells.

-- 
Thorsten Kukuk      http://www.suse.de/~kukuk/        [EMAIL PROTECTED]
SuSE GmbH           Schanzaeckerstr. 10             90443 Nuernberg
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.

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


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