Linux-Networking Digest #161, Volume #12 Mon, 9 Aug 99 12:13:27 EDT
Contents:
Re: Sendmail Delivery Options ("G. Roderick Singleton")
Re: Any recommended Linux networking books ("pg")
Samba, Network Browsing (Sachin Doshisa)
Re: Setting up service behind a ("Eduard")
Lot's of TIME_WAIT .. (Martin Svensson)
Re: How to reach my Server from the Internet? ("Eduard")
Re: NFS problems under linux yet again (Karl Heyes)
knfsd: problems exporting links ([EMAIL PROTECTED])
Re: Installing 3C509 Card - Debian 2.1 - Problem (Leon Harris)
Re: IMAP (Jeff Brubaker)
Re: @Home with static ip ([EMAIL PROTECTED])
Re: dd Command ("Kooter")
using tcpdump to monitor local packets (Sapan J Bhatia)
Re: Routing for more than 1 nic? (Artur Swietanowski)
Help needed (David Erdmann)
Help needed (David Erdmann)
Help needed (David Erdmann)
----------------------------------------------------------------------------
From: "G. Roderick Singleton" <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail,demon.ip.support.unix,demon.tech.unix
Subject: Re: Sendmail Delivery Options
Date: Mon, 09 Aug 1999 11:40:49 GMT
Peter McDermott wrote:
>
> In demon.ip.support.unix stefan the exiled <[EMAIL PROTECTED]> wrote:
> >>>>>> "Andrew" == Andrew Taylor <[EMAIL PROTECTED]> wrote:
>
> > Andrew> I have a 99% working sendmail config on a Mandrake 6
> > Andrew> box. What makes Sendmail queue it's external mail until my
> > Andrew> ppp connection is up but deliver internal mail imediatley?
>
> > The default setup AFAIK. If the ppp connection isn't up sendmail
> > should simply queue external mail anyway because it can't look them up
> > in DNS or connect to the host.
>
> > The only thing you might want to do is ensure sendmail isn't running
> > the queue every 15 minutes, or whatever, by making sure it starts as
> > just `sendmail -bd' rather than `sendmail -bd -q15', and then just run
> > the queue when you connect with `sendmail -q' in /etc/ppp/ip-up.
>
> I've got a question here. Two questions, in fact. One a sendmail
> question, one a suck question.
>
> I configured my current set-up using the very helpful guides
> on www.hopf.demon.co.uk, and it works rather well, but for two
> things.
>
> At the moment, I'm using kppp to initiate a ppp connection. When
> I initially connect, none of the mail can get through, because
> I've got sendmail set to check the mail domains resolve properly,
> but the punts seem to attempt delivery before access to demon's
> dns servers kicks in. So sendmail just keeps refusing to deliver,
> offering up continuous 'cannot resolve' messages in the mail log.
>
> I kill the sendmail demon, and then re-launch it, and everything
> is fine. So, my question is, is there some way I can stop the
> punts from attempting to deliver immediately, or does anyone have
> any other clues what I should do to fix this?
>
The the tip at http://www.harker.com/sendmail/smtpdemanddial.html
You may have to tweak for 8.9.x but the idea is sound.
> Question number two, is my suck question. For some reason,
> I can't seem to run suck from within a script. I've tried to
> call it from withing ip-up, I've tried it from a script of
> it's own. Nada. I'm probably missing something completely
> obvious, but I've no idea what it might be. It runs fine if
> I just type the same command by hand.
>
> Clues please?
I think you've been caught by insufficient configuration. The following
section of the FAQ should get you on track:
http://www.sendmail.org/faq/section3.html#3.11
--
________________________________________________________________________________
G. Roderick Singleton, <[EMAIL PROTECTED]> PATH tech,
71 Underhill Drive, Unit 159, Toronto, ON M3A 2J8
Voice : 416-452-4583 Fax: 416-452-0036
________________________________________________________________________________
------------------------------
From: "pg" <[EMAIL PROTECTED]>
Subject: Re: Any recommended Linux networking books
Date: Mon, 09 Aug 1999 12:02:08 GMT
Stone <"stone96 "@ hotmail .com> wrote in message
news:kLor3.1936$[EMAIL PROTECTED]...
> The company I work for has multiple Linux servers and will be putting
> many more to run VPN with the outlying offices. I am fairly new to
> Linux (3 months) and need something that will be a good reference for
> configuring and maintaining these boxes. The areas I am looking at
> are.....
>
> Networking
> Setting up and changing users
> maintaining security
> IP Masquerading
> Squid
> Samba
> VPN
>
> Anyone have a suggestion for such a book?
>
> Thanks
> Stone
>
>
========================
Try: " Linux Networking Toolkit" by Paul Sery (IDG books)
and...
try "Teach yourself SAMBA" by Carter & Sharpe (SAMS)
I've found both to be loaded with useful information.
pg
------------------------------
From: [EMAIL PROTECTED] (Sachin Doshisa)
Subject: Samba, Network Browsing
Date: 9 Aug 1999 22:10:33 +1000
There are no domain controllers or WINS servers on my campus network. Do I have to set
myself up as browse master in order to get a list of names on the neighbourhood?
What is the samba equivalent of "net view" to view all computers on the same subnet
mask?
Everything else is working fine, can mount/connect to other computers with know names
and/or IP address with LinNeighourhood. But since network is running via DHCP, it's
important to get the list of names.
Please post here and email me with any hints.
Any help would be much appreciated..
Sachin
------------------------------
From: "Eduard" <[EMAIL PROTECTED]>
Subject: Re: Setting up service behind a
Date: Mon, 9 Aug 1999 14:17:26 +0200
Reply-To: "Eduard" <[EMAIL PROTECTED]>
I'm looking for the same solution..... I use SuSe 6.0 with the latest kernel
compiled. What is the correct syntax for ipchains to redirect all packages
from port 8000 to my web server?
Rgds,
Edwin
<From: Question Exchange>; Inc. <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]...
> Upgrade the kernel on the gateway box
>
> to version 2.2.10, and compile in
> the IP Masquerading stuff. Be sure
> to check 'Prompt for developement
> and/or incomplete code/drivers' and
> compile in the optional portforwarding
> stuff.
>
> Then, get a version of ipmasqadm for
> your distribution. You didn't mention
> which one it is, so I can't help you
> too much there.
>
> Once you've done that, use something
> like
> 'ipmasqadm portfw -a -P tcp -L 192.168.1.1 80 -R 192.168.1.2 80' to
> add an entry to forward all requests
> on port 80 (HTTP) from 192.168.1.1 to
> 192.168.1.2. You can do the same thing
> with FTP (port 21) and any other server.
>
>
> This answer is courtesy of QuestionExchange.com
>
> For other answers and comments visit:
>
>
http://www.questionexchange.com/servlet1/showUsenetGuest?ans_id=2196&cus_id=
USENET&qtn_id=1421
>
------------------------------
From: Martin Svensson <[EMAIL PROTECTED]>
Subject: Lot's of TIME_WAIT ..
Date: Mon, 09 Aug 1999 14:31:28 +0200
Hi Everyone..
I have a box running Linux 2.2.6 acting as a proxy. I'm seeing alot of
TIME_WAIT's.
We can have up to 200 TIME_WAIT's, right now we have 142 of them.
Some clients have 25 simultaneous TIME_WAIT connections.
Is this normal? I feels like the box is slowing down sometimes since it
takes quite long time to connect to it (in netscape etc).
We have 65-100 FIN_WAIT2 states .. But I will lower it from the default
of 180sec's to 120 and see if it helps.
I could really use some help .. please reply via email.
Thanks ..
--
Martin Svensson
Dep. of Technology (AFI)
University Hospital of Malmoe
Email: [EMAIL PROTECTED]
------------------------------
From: "Eduard" <[EMAIL PROTECTED]>
Subject: Re: How to reach my Server from the Internet?
Date: Mon, 9 Aug 1999 14:34:15 +0200
Reply-To: "Eduard" <[EMAIL PROTECTED]>
Is this the solution? I have the same problem (linux firewall and an NT
server), but also think that I have to use ipchains. I just can't get the
right syntax. Who can help us out?
Edwin
Alex Yung <[EMAIL PROTECTED]> wrote in message
news:7ocv49$[EMAIL PROTECTED]...
> Paskal van Lomm ([EMAIL PROTECTED]) wrote:
> : I've a 486 running Slackware and a PII Running Redhat 5.2 and Apache
> : I want to reach my Apache server from the Internet using the 486 as
firewall
> : (Internet -> 486 -> PII/Apache)
>
> : I know this should probably be done using IPCHAINS/IPMASQADM.....
> : I've been reading a lot of Howto's etc., but I can't get it running :-(
>
> : The other way around PII -> 486 -> Internet works fine!
>
> : Could you please help me?
>
> Install "rinetd" or "redir" in your 486!
------------------------------
From: Karl Heyes <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.nfs,linux.debian.user,uk.comp.os.linux
Subject: Re: NFS problems under linux yet again
Date: Mon, 09 Aug 1999 13:29:17 +0100
Pat wrote:
> Well, I'm afraid I'm back and still having problems with NFS.
> machine 1 is Redhat 6 running linux 2.2.10-ac12, knfs 1.4.6
> machine 2 is Debian 2.1 running linux 2.2.10, knfs 1.4.6
> machine 3 is Redhat 5.2 running linux 2.2.6
>
>
make sure with showmount -e and exportfs
karl.
------------------------------
From: [EMAIL PROTECTED]
Subject: knfsd: problems exporting links
Date: Mon, 09 Aug 1999 12:44:14 GMT
Hi,I'm upgrading my linux server to RedHat 6.0 and kernel 2.2.9. I want to
use it as an NFS server using the new kernel-based nfsd. I've got it to work,
but with one problem: If I export a directory that happens to be a link, it
works, but using the original path instead of the link. That is, if I export
"/Users" and "/users" is a link to "/mnt/datadisk/Users", the export entry
ends up being named "/mnt/datadisk/Users", and any attempt to mount "/Users"
from another machine fails.In fact, my setup looks something like this:
/Users -> /home/Users /home/Users -> /mnt/datadisk/homeI like this setup
because it allows me to differentiate "phisical" and "logical" disk layouts.
Besides, it worked well with RedHat 4.2, kernel 2.0.35 and user-space
nfsd.Now, the question: Is there any option that I can use to regain the old
behaviour with the new nfsd. That is, is there any way of forcing nfsd to
keep the link name when exporting. If not, is there any way of changing the
"public name" of an nfs-exported volume.For complex reasons, I need that the
volume is named exactly "/Users" as I cannot change anything in the client
side.Thanks in advance. Best regardsJosep Egea
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Mon, 09 Aug 1999 05:49:34 +0800
From: Leon Harris <[EMAIL PROTECTED]>
Subject: Re: Installing 3C509 Card - Debian 2.1 - Problem
Hi.
I found using io=0x300 works for me. I read somewhere that the 300h
style of specifying hex doesn't work, but I am too lazy to check it out
for you.
:)
Cheers,
Leon
ps just put the line eth0 3c509 at the top of /etc/conf.modules, and it
should detect for you (does for me).
------------------------------
From: Jeff Brubaker <[EMAIL PROTECTED]>
Crossposted-To: athome.users-unix
Subject: Re: IMAP
Date: 9 Aug 1999 13:35:01 GMT
I have this set up on my machine, though not with @home. It doesn't
really matter what your ISP is, the server runs independantly.
You have to find the imap-*.i386.rpm package on your CD-ROM and install
it. Something like rpm -Uvh /mnt/cdrom/RedHat/RPMS/imap-*.i386.rpm
and then make sure that it is enabled in your /etc/inetd.conf file. After
that, every time you boot it will be initialized. To get it to run without
rebooting, do a /etc/rc.d/init.d/inet restart
That's it. You'll also want to add the machines on your network to the
/etc/sendmail.cw file so that they are allowed to send mail back through
that server, if that's waht you're looking for.
Jeff
haze <[EMAIL PROTECTED]> wrote:
: does anybody know how to setup an imap server for rdht 6.0 using @home.
: basically want to store them on my linux box and have access to them on any of
: my networked machines any info would be greatly appreciated.
: HAZE
: Yousuf Khan wrote:
: > I've configured Samba on my Linux NAT box so that I can use it to share
: > resources with Win95 boxes running behind it.
: >
: > It seems to be working, because I can see the Linux box on Network
: > Neighbourhood. I've configured it with a [public] section in the smb.conf to
: > give it a public directory to allow Win95 boxes to attach drives off of it.
: > But everytime I try to access anything off of the Linux box, I get a
: > password prompt. I don't know what that password would be, I've tried the
: > root password, I'm tried my own user password from Windows, and my own user
: > password from Linux, as well as the smbuser user password (currently left
: > blank). None of them are working.
: >
: > Does anybody know what password it's looking for?
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: @Home with static ip
Date: Mon, 09 Aug 1999 14:59:21 GMT
Success, I was finally able to configure redhat 6.0 to work on my
@home connection. I was unable to ping my gateway after entering the
"correct" route settings. It seems that the problem was not even
there at all. I used a different machine with identical settings and
I'm able to use it just fine.
After double checking everything, the network settings of the two
machines were indeed identical. My problem all along was the donated
3C509b 3COM card. It was not defective, but it was misconfigured.
It's a PnP card. After playing around w/ pnpdump and isapnp, I was
able to properly configure all PnP devices on my machine... or so I
thought. Apparently, the device was not functional despite what
ifconfig says. So you may want to double check your PnP settings or
disable them completely as described in previous threads.
I am now facing a different problem that I will write about elsewhere.
Good luck.
>Gentlemen,
>
>I have the @Home service and ran into a simular problem when trying to get
>my Redhat box configured. The solution for me was to use the same network
>card, as this was the MAC address that @Home was looking for to verify my IP
>address.
>
>Hope this helps.
>
>--
>In His Service,
>chadman <Romans 10:9-10>
>
><[EMAIL PROTECTED]> wrote in message >
>> I'm experiencing the same problem with Rogers @Home cablemodem system.
>> I was told to power cycle the cablemodem because of its temporary
>> internal cache but it's not true. I switch the ethernet cable back
>> and forth between two '95 machines and it works instantly. In Linux
>> (Redhat 6), I am still unable to ping my gateway after configuring it
>> exactly as you did. I'll play around with it some more.
>>
>> >I just got a cable modem from @Home in San Leandro CA. To my surprise,
>> >they actually gave me a choice between DHCP and a static IP. I chose
>> >the static IP.
>> >
>> >I got Windows working with this cable modem. Now I need to move it to
>> >my Linux box. I can't seem to get it working though. I configured
>> >the ethernet card with
>> >
>> >% ifconfig eth0 my.new.ip.addr netmask 255.255.255.0 up
>> >% route add -host my.gateway.ip.addr eth0
>> >% route add default gw my.gateway.ip.addr metric 1
>> >
>> >I also changed the hostname to the computer name that @Home assigned
>> >me. Apparently that's how they authenticate the connection. :P
>> >
>> >It doesn't work though. If I try to ping the gateway:
>> >
>> >% ping my.gateway.ip.addr
>> >
>> >...no packets come back. What should I check to make sure that this is
>> >set up correctly?
>>
>
>
------------------------------
From: "Kooter" <[EMAIL PROTECTED]>
Subject: Re: dd Command
Date: Mon, 9 Aug 1999 10:28:37 -0400
After some tinkering the NT loader works perfectly here.
Steven Micallef <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.4.04.9908090909520.2805-100000@steve...
>
> You might be better off adding Windows NT to the LILO boot loader, as NT
> can be difficult to multi-boot unless you plan on using 3rd party
> software.
>
> I suggest you read the man page for lilo and read the NT-Linux HOWTO.
>
> On Sun, 8 Aug 1999, KYLui wrote:
>
> > How to add linux to the boot list of Window NT??
> > use dd command ??
> >
> > thx..
> >
> >
> >
> >
>
> --
> Steven Micallef
> AuNIC: SM936-AU
>
------------------------------
From: Sapan J Bhatia <[EMAIL PROTECTED]>
Subject: using tcpdump to monitor local packets
Date: Mon, 09 Aug 1999 06:48:12 -0800
When I run tcpdump on my Redhat Linux 6.0 system, it
says "cannot find suitable device." However, when I connect
to the net, it monitors packets on /dev/ppp0.
I've been using tcpdump for a long time to debug and
analyze network utilities. It stopped working all of a
sudden since I upgraded to RH6.0.
Since I HAVE used it in the past, it means I'm making some
mistake (I'd it to dump headers even when I telnet to
localhost). Does anybody have any ideas?
TIA
Regards
Sapan
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
------------------------------
From: Artur Swietanowski <[EMAIL PROTECTED]>
Subject: Re: Routing for more than 1 nic?
Date: Mon, 09 Aug 1999 17:47:13 +0200
Jim Connery wrote:
> 3 pc's , one of these is my firewall/masq connection to the outside
> world. In it i have 3 nics, one for my connect to outside via ADSL
> with dynamic IP, the other 2 go to the other 2 pc's.
> What should my route table look like?
Just one possibility -- the way I have it.
The card that reches the outside world should have the dynamically
assigned IP. The other two cards may share one IP from the
restricted range, like 192.168.1.254. The other PC'S will then
have some other addresses in the 192.168.1.0 network, e.g. 1 and 2.
Now, the "master" PC (firewall) will have the following routing
table (some comments added):
Destination Gateway Genmask Flags Iface
# Host routes to the other two PC's
192.168.1.1 * 255.255.255.255 UH eth1
192.168.1.2 * 255.255.255.255 UH eth2
# Host routes to itself over all 3 NIC's
<master> * 255.255.255.255 UH eth0
192.168.1.254 * 255.255.255.255 UH eth2
192.168.1.254 * 255.255.255.255 UH eth1
# Network route for your ADSL domain (optional, probably not
# needed in your case)
<ext. network> * 255.255.255.0 U eth0
# Network route for the loopback interface
127.0.0.0 * 255.0.0.0 U lo
# The default route for evey other destination
default <Your ISP's gate> 0.0.0.0 UG eth0
The "slaves" will have the IP's 192.168.1.1 and 192.168.1.2. They
will use 192.168.1.254 (your master's alter ego on the local net)
as their default (and only) gateway.
Finally, the masquerading needs to be set up. In some startup script
on the master, add the following (with your local values):
# Make sure masquerading is enabled
/bin/cat 1 > /proc/sys/net/ipv4/ip_forward
/sbin/modprobe ip_masq_ftp
# MASQ timeouts
# 2 hrs timeout for TCP session timeouts
# 10 sec timeout for traffic after the TCP/IP "FIN" packet
# is received
# 60 sec timeout for UDP traffic (MASQ'ed ICQ users must enable
# a 30sec firewall timeout in ICQ itself)
ipchains -M -S 7200 10 60
# By default deny forwards
ipchains -P forward DENY
# Allow forwards to the cluster computers
ipchains -A forward \
-s 192.168.1.0/192.168.1.255 \
-j MASQ
HTH,
=====================================================================
Artur Swietanowski mailto:[EMAIL PROTECTED]
Institut f�r Statistik, Operations Research und Computerverfahren,
Universit�t Wien, Universit�tsstr. 5, A-1010 Wien, Austria
tel. +43 (1) 427 738 620 fax +43 (1) 427 738 629
=====================================================================
------------------------------
From: David Erdmann <[EMAIL PROTECTED]>
Subject: Help needed
Date: Mon, 09 Aug 1999 23:04:18 +1000
I'm new to Linux and have a problem installing a network card. its an
ACTON EN1660, the system did not recognise the card first up and I have
no idea how to reinstall it, can some one help please.
Do I need the driver for Linux for this card? is there one available?
Thanks
David.
------------------------------
From: David Erdmann <[EMAIL PROTECTED]>
Subject: Help needed
Date: Mon, 09 Aug 1999 23:03:05 +1000
I'm new to Linux and have a problem installing a network card. its an
ACTON EN1660, the system did not recognise the card first up and I have
no idea how to reinstall it, can some one help please.
Do I need the driver for Linux for this card? is there one available?
Thanks
David.
------------------------------
From: David Erdmann <[EMAIL PROTECTED]>
Subject: Help needed
Date: Mon, 09 Aug 1999 23:06:30 +1000
I'm new to Linux and have a problem installing a network card. its an
ACTON EN1660, the system did not recognise the card first up and I have
no idea how to reinstall it, can some one help please.
Do I need the driver for Linux for this card? is there one available?
Thanks
David.
------------------------------
** 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
******************************