Linux-Networking Digest #18, Volume #12 Mon, 26 Jul 99 22:13:42 EDT
Contents:
NIS Help Please (Ray Caruso)
Static Translations ([EMAIL PROTECTED])
Wyse 185: broken keyboard? ("Daniel Schmolze")
no setup signature found ... (Red Hat 6.0) ("Onbekend")
Re: Yet another IP chains question ("Max")
Re: Linux as Firewall for DYNAMIC IP PPP connection (Dustin Puryear)
Leased Line Problem with Linux ("geofox")
Connecting Windows CE: ppp, serial cable (Mike Patterson)
****ing PPP FIREWALL AGAIN!! (Dan)
'netconfig' in RedHat??? ("Charles Ho")
Re: Help with ethernet card/cable modem (Mark Post)
Re: ****ing PPP FIREWALL AGAIN!! (Coredump)
unable to run proftpd on RH6.0 (Tolety Siva Perraju)
Re: diald -- can I stop it dialling out? (Frank Hahn)
Re: once I installed the second NIC the first stoped working ("Matt")
Re: 'netconfig' in RedHat??? (Coredump)
----------------------------------------------------------------------------
From: Ray Caruso <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup,comp.sys.sun.admin,comp.unix.solaris,comp.sys.hp.hpux
Subject: NIS Help Please
Date: Fri, 23 Jul 1999 10:50:28 -0600
Reply-To: [EMAIL PROTECTED]
This is a multi-part message in MIME format.
==============6CF62347784261A5BBD59236
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello All,
I am having a bear of a time with NIS. Has anyone be able to get Linux
NIS
to work with HP-UX 10.20 or Solaris 2.6? I've tried RedHat 5.2 (2.0
kernel) and Redhat 6.0
(2.2 kernel). I am trying to have large Linux box be the NIS server.
Other Linux boxes can bind
and read user info just fine. However, Solaris can bind, but can't read
user passwords. I am not
using shadow passwords on the Linux NIS server. The HP-UX box can't even
bind to the RH 6.0
box, but can bind to RH 5.2.
Has anyone got this to work? I've seen lots of questions about this
on the net, but not many answers. It seems that a bunch of people are
trying to do something
very similar (Linux as the NIS server), but are having problems with it.
Any help would be great! Please!!
I will post the solution.
Thanx
Rayman
==============6CF62347784261A5BBD59236
Content-Type: text/x-vcard; charset=us-ascii;
name="rayman.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ray Caruso
Content-Disposition: attachment;
filename="rayman.vcf"
begin:vcard
n:Caruso;Ray
tel;fax:970-493-5168
tel;work:800-213-9947
x-mozilla-html:FALSE
url:http://www.powerplay.com
org:Power Play Technologies, INc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant
note:HP OpenView Application and System Integration and Consulting.
adr;quoted-printable:;;1635 Blue Spruce Drive=0D=0ASuite 209;Fort Collins
;Colorado;80526;USA
fn:Ray Caruso
end:vcard
==============6CF62347784261A5BBD59236==
------------------------------
From: [EMAIL PROTECTED]
Subject: Static Translations
Date: 26 Jul 1999 20:39:01 -0500
I want to use ipfwadm to make what I've been told Cisco calls
a "Static Translation" for a firewall. I want to forward all
traffic destined for one IP address (on eth0) to another ip
address (which is routed through eth1).
Does anyone know how to do this?
Please respond via email as I don't read newsgroups often.
------------------------------
From: "Daniel Schmolze" <[EMAIL PROTECTED]>
Subject: Wyse 185: broken keyboard?
Date: Mon, 26 Jul 1999 19:31:12 -0400
I recently aquired an aging Wyse 185 terminal from a friend, and since I
couldn't find a DB9/F -> DB25/F null modem cable, I got a F/M and used a
serial gender changer on the DB25 end. I added an entry in /etc/inittab, but
upon boot, all I get is a beep and a momentary screen flash from the
terminal. Then it displays its usual, un-connected screen.
I can do a "cat > /dev/ttyS1" and get output on the terminal, but cannot
read anything *from* COM2.
My question is this: could this problem be caused by the use of this gender
changer, or is the keyboard broken...or something else? The same things
happen when the terminal is connected to an OpenBSD and a FreeBSD box.
Thanks!
======
Daniel Schmolze http://www.schmolze.com
"It's better to be rich and healthy than poor and sick."
PGP: http://certserver.pgp.com:11371/pks/lookup?op=get&search=0x6DF750C3
------------------------------
From: "Onbekend" <[EMAIL PROTECTED]>
Subject: no setup signature found ... (Red Hat 6.0)
Date: Tue, 27 Jul 1999 03:40:12 +0200
Dear,
I have installed Red Hat 6.0 without any problem. But when I make an new
compilation of the kernel (i.e. for adding NFS support) in the good way
(make dep; make clean; make zImage) (cp
/usr/src/linux/arch/i386/boot/zImage /boot/vmlinuz-2.2.5-15)) (/sbin/lilo)
after rebooting the new compiled kernel the following message appears:
NO SETUP SIGNATURE FOUND....
I have never had this problem with the versions RedHat 5. 0 and Red Hat
5.2.
So, now with the version Red Hat 6.0 I have this problem.
Please help me. Thank you very much
[EMAIL PROTECTED]
------------------------------
From: "Max" <[EMAIL PROTECTED]>
Subject: Re: Yet another IP chains question
Date: Tue, 27 Jul 1999 02:51:56 +0200
Hi,
samba uses the netbios service to access win-clients.
netbios under tcp/ip runns on port 139 ( nuke-port ;) )
Bye
Max
[EMAIL PROTECTED]
TURBO1010 <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
7ninqn$kjk$[EMAIL PROTECTED]
> I need to block out port 67 & 68 UDP on eth0 using ipchains. I also need
to
> block out the samba ports on the same nic, eth0. Don't know the range of
> ports. Thanks for any suggestions.
>
>
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: Linux as Firewall for DYNAMIC IP PPP connection
Date: Tue, 27 Jul 1999 01:04:19 GMT
On Sun, 25 Jul 1999 23:53:31 GMT, [EMAIL PROTECTED] (Dan)
wrote:
>>Well, have fun with the 386 (compilin gmight be hell) but beyond that,
>Might compile it on my pentium 266.....then copy it over.. I mean it
>is an sx 20 I don't think compiling would take less than a couple of
>hours at least...
Been there, done that. I had the smart of idea of using a 486 with 8MB
of RAM for a firewall and recompiled the kernel on the machine. I
ending up coming back the next morning to finish the job.
---
Dustin Puryear
[EMAIL PROTECTED]
------------------------------
From: "geofox" <[EMAIL PROTECTED]>
Subject: Leased Line Problem with Linux
Date: Tue, 27 Jul 1999 09:01:09 +0800
Hi,
my company just installed a leased line.
However, i don't know how to set it up with my Linux box?!
I want to set up a mail server with proxy.
How can i do that?
1) sendmail + proxy or
2) sendmail + proxy + procmail or
3) sendmail + proxy + procmail + dns or
4) anything else?
Any idea is welcome!
Thanks,
geofox.
------------------------------
From: [EMAIL PROTECTED] (Mike Patterson)
Subject: Connecting Windows CE: ppp, serial cable
Date: 27 Jul 1999 00:30:47 GMT
I have a Jornada 680 with Windows CE on it. I also have a machine with
Debian 2.1 installed on it. The two are connected through a serial cable
on /dev/ttyS1.
I execute:
pppd -detach crtscts lock 192.168.0.7:192.168.0.69 /dev/ttyS1 19200 debug
And I see on the palmtop: "Connecting to Host." It goes through four retries,
then fails.
The log on the linux box reads:
Jan 3 09:31:25 gold pppd[403]: pppd 2.3.5 started by mike, uid 0
Jan 3 09:31:26 gold pppd[403]: Using interface ppp0
Jan 3 09:31:26 gold pppd[403]: Connect: ppp0 <--> /dev/ttyS1
Jan 3 09:31:26 gold pppd[403]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap>
<magic 0x4ab91141> <pcomp> <accomp>]
Jan 3 09:31:47 gold last message repeated 7 times
Jan 3 09:31:48 gold pppd[403]: Modem hangup
Jan 3 09:31:48 gold pppd[403]: Connection terminated.
Jan 3 09:31:49 gold pppd[403]: Exit.
Any ideas, anyone?
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
Michael K Patterson, HP Software Engineer
My opinions do not represent those of HP. If they do, it's coincidence.
=============================================================================
------------------------------
From: [EMAIL PROTECTED] (Dan)
Subject: ****ing PPP FIREWALL AGAIN!!
Date: Tue, 27 Jul 1999 01:04:02 GMT
Ok I'm nearly ready to kick the sh** out of this damned computer
Running RH 5.2, with a 2.0.37 kernel.
I have a local network, and want to allow it access to the 'outside
world' via a machine on the network with a ppp connection over modem
I have the rules currently configured so:
ipfwadm -F -f
ipfwadm -I -f
ipfwadm -O -f
ipfwadm -F -p masquerade
ipfwadm -I -p accept
ipfwadm -O -p accept
in order to eliminate any possible bad rules blocking any traffic. (I
realise this is amazingly insecure, it's only this way for initial
testing..)
Kernel has allll firewall options configured, including packet defrag.
Other machines on the local network, when the ppp link is up, can
STILL **not even ping** outside the local network, let alone do DNS, I
have been unable to try anything else.. and they ARE configured to use
the ISP's DNS.
I don't get it, what have I missed??
Help MUCH appreciated at this point, before my hair starts to suffer!
Dan
Facts, my opinions, and sometimes bull***t, are all that I express.
reply to [EMAIL PROTECTED]
remove the NOSPAM-....
------------------------------
From: "Charles Ho" <[EMAIL PROTECTED]>
Subject: 'netconfig' in RedHat???
Date: Mon, 26 Jul 1999 18:04:12 -0800
Hi.,
In Slakware, we have 'netconfig' if we need to change the network
setting. What about RedHat? Do they have something like 'netconfig'?
Please advise.
C.
------------------------------
From: [EMAIL PROTECTED] (Mark Post)
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Re: Help with ethernet card/cable modem
Date: Tue, 27 Jul 1999 01:41:48 GMT
On Sun, 25 Jul 1999 22:39:27 GMT, luke <[EMAIL PROTECTED]> wrote:
>Thanks for your help, but now when i execute the commands i get the
>following errors:
It looks like I gave you an intermediate version of my startup scripts.
Here is my current, working script. Hope this helps some...
#! /bin/sh
#
# rc.inet1 This shell script boots up the base INET system.
#
# Version: @(#)/etc/rc.d/rc.inet1 1.01 05/27/93
#
HOSTNAME=`cat /etc/HOSTNAME`
# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to
# configure the eth0 interface. If you're only using loopback or SLIP,
# don't include the rest of the lines in this file.
# Edit for your setup.
IPADDR="24.114.10.96" # REPLACE with YOUR IP address!
NETMASK="255.255.252.0" # REPLACE with YOUR netmask!
NETWORK="24.114.0.0" # REPLACE with YOUR network address!
BROADCAST="24.114.0.255" # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.
GATEWAY="24.114.8.1" # REPLACE with YOUR gateway address!
# Uncomment the line below to configure your ethernet card.
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
# If the line above is uncommented, the code below can also be uncommented.
# It sees if the ethernet was properly initialized, and gives the admin
# some hints about what to do if it wasn't.
if [ ! $? = 0 ]; then
cat << END
Your ethernet card was not initialized properly. Here are some reasons why
this
may have happened, and the solutions:
1. Your kernel does not contain support for your card. Including all the
network drivers in a Linux kernel can make it too large to even boot,
and sometimes including extra drivers can cause system hangs. To
support your ethernet, either edit /etc/rc.d/rc.modules to load the
support at boottime, or compile and install a kernel that contains
support.
2. You don't have an ethernet card, in which case you should comment out
this section of /etc/rc.d/rc.inet1. (Unless you don't mind seeing this
error...)
END
fi
# Older kernel versions need this to set up the eth0 routing table:
KVERSION=2.2
if [ "$KVERSION" = "1.0" -o "$KVERSION" = "1.1" \
-o "$KVERSION" = "1.2" -o "$KVERSION" = "2.0" -o "$KVERSION" = "" ]; then
/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
fi
# Uncomment this to set up your gateway route:
if [ ! "$GATEWAY" = "" ]; then
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
fi
# End of rc.inet1
To send me email, replace 'nospam' with 'home'.
------------------------------
From: [EMAIL PROTECTED] (Coredump)
Subject: Re: ****ing PPP FIREWALL AGAIN!!
Date: Tue, 27 Jul 1999 01:21:13 GMT
In article <379d044c.231280@localhost>, [EMAIL PROTECTED] (Dan) wrote:
>Ok I'm nearly ready to kick the sh** out of this damned computer
>
>Running RH 5.2, with a 2.0.37 kernel.
>
>I have a local network, and want to allow it access to the 'outside
>world' via a machine on the network with a ppp connection over modem
>
>I have the rules currently configured so:
>
>ipfwadm -F -f
>ipfwadm -I -f
>ipfwadm -O -f
>ipfwadm -F -p masquerade
>ipfwadm -I -p accept
>ipfwadm -O -p accept
>
>in order to eliminate any possible bad rules blocking any traffic. (I
>realise this is amazingly insecure, it's only this way for initial
>testing..)
>
>Kernel has allll firewall options configured, including packet defrag.
>
>Other machines on the local network, when the ppp link is up, can
>STILL **not even ping** outside the local network, let alone do DNS, I
>have been unable to try anything else.. and they ARE configured to use
>the ISP's DNS.
>
>I don't get it, what have I missed??
You still have to set up routing. Find a routing howto. If you have routing
set up, make sure that the other machines are pointing to the firewall machine
as the default router.
Core
--
[EMAIL PROTECTED]
http://www.enteract.com/~coredump
Stuck in the Slow Lane on the Information Superhighway
------------------------------
From: Tolety Siva Perraju <[EMAIL PROTECTED]>
Subject: unable to run proftpd on RH6.0
Date: Mon, 26 Jul 1999 21:47:00 -0400
Reply-To: [EMAIL PROTECTED]
==============083D58BE431E1DFBF518AA07
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I loaded proftpd server ver 1.2 and changed the inetd.conf to start ftp
as the startup
service. I the proftpd.conf file is configured to run the server in the
standalone mode.
When I try to do ftp to the host. I get the message
421, service not available, remote server has closed connection.
I tried to run proftpd daemon from the command mode; I get the following
attempted to bind 0.0.0.0, port 21
bind() failed in inet_create_connection(); Address already in use
Why is it trying to bind to 0.0.0.0, instead of the the IP address of
the host.
The command is
proftpd -n 132.xxx.xx.xxx
This IP address is obtained by dhcp. is there something I am missing in
the configuration of proftpd.
--
Dr Siva Perraju Tolety, Voice: 781-466-4232
GTE Laboratories, MS35, Fax: 781-466-3231
40 Sylvan Road, email: [EMAIL PROTECTED]
Waltham MA 02451-1128 USA
==============083D58BE431E1DFBF518AA07
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I loaded proftpd server ver 1.2 and changed the inetd.conf to start ftp
as the startup
<br>service. I the proftpd.conf file is configured to run the server
in the standalone mode.
<p>When I try to do ftp to the host. I get the message
<p>421, service not available, remote server has closed connection.
<p>I tried to run proftpd daemon from the command mode; I get the following
<p>attempted to bind 0.0.0.0, port 21
<br>bind() failed in inet_create_connection(); Address already in use
<p>Why is it trying to bind to 0.0.0.0, instead of the the IP address of
the host.
<br>The command is
<p>proftpd -n 132.xxx.xx.xxx
<p>This IP address is obtained by dhcp. is there something I am missing
in the configuration of proftpd.
<pre>--
Dr Siva Perraju
Tolety,
Voice: 781-466-4232
GTE Laboratories,
MS35,
Fax: 781-466-3231
40 Sylvan
Road,
email: [EMAIL PROTECTED]
Waltham MA 02451-1128 USA</pre>
</html>
==============083D58BE431E1DFBF518AA07==
------------------------------
From: [EMAIL PROTECTED] (Frank Hahn)
Subject: Re: diald -- can I stop it dialling out?
Date: Tue, 27 Jul 1999 01:04:03 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 25 Jul 1999 21:37:32 -0500, M. Smith <smithm@mvpdotnet> wrote:
>
>Michael McLaughlin <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> I am using diald on RedHat5.2.
>>
>> The basic functionality seems to work OK. But how can I stop it dialling
>> out, seemingly at random.
>> On boot up in particular, it activates the modem. But at other times,
>> even when I am niot using Netscape it rings out!
>
>Do you (or a client machine on your private network) have any programs
>running which either randomly or on a scheduled basis issue an internet
>request?
>
>For example, various mail programs can do this in checking mail on a
>regularly scheduled basis. Norton Utilities for Windows has an "Internet
>Speed" indicator that pings a remote host on a regular basis. ICQ and other
>similar programs can cause this also.
>
>The only thing you can do is go through your system and any other PC's which
>use the Linux box as a connection to see what programs might be asking for a
>connection.
>
If you are starting sendmail when your Linux machine starts, it may
be the culprit. Take a look at what processes are running and see if
anyone of those may be causing a problem.
--
Frank Hahn
The faster we go, the rounder we get.
-- The Grateful Dead
------------------------------
From: "Matt" <[EMAIL PROTECTED]>
Subject: Re: once I installed the second NIC the first stoped working
Date: Tue, 27 Jul 1999 01:15:08 GMT
Well I fixed it. I changed the ISA card with a PCI card that I had on my
other machine(winblows).
later,
-matt
Matt <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> The card that now does not work is ISA. But if I am prety sure they have
> different settings. see below
>
> eth0:
> 3c509B (ISA)
> interrupt: 10
> base address: 0x300
> eth1:
> 3c900B-TPO (PCI)
> interrupt: 11
> base address: 0xfc00
>
> Should I try to re-install the ISA card? Thanks
>
> -Matt
>
>
>
> Artur Swietanowski wrote:
>
> > Matt wrote:
> > >
> > > Ok I tried that, but when I try to add a route it tells me "Network is
> > > down". So I tried a "ifconfig eth0 up" command and a get the message
> > > "SIOCSIFFLAGS: Resource temporarily unavailable".
> > >
> > > Just to make clear, I can't see eth0 when I do a "ifconfig" command,
but
> > > I can see it when I do a "ifconfig eth0" command, and there is a green
light
> > > lit on the NIC.
> >
> > Unfortunately, I don't know how these cards are configured. Is there
> > a chance of a hardware configuration conflict (IRQ and/or IO address
> > overlap)? Maybe there is a conflict between one of the cards and
> > some other device in the computer?
> >
> > If they are both PCI, you probably have little to worry about on
> > this front. But if any one is ISA you may be in trouble there.
> > You probably could get some diagnostic software from 3com. They
> > have it all listed on their web site.
> >
> > Regards,
> > ---------------------------------------------------------------------
> > 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: [EMAIL PROTECTED] (Coredump)
Subject: Re: 'netconfig' in RedHat???
Date: Tue, 27 Jul 1999 01:18:22 GMT
In article <[EMAIL PROTECTED]>, "Charles Ho" <[EMAIL PROTECTED]>
wrote:
>Hi.,
>
>In Slakware, we have 'netconfig' if we need to change the network
>setting. What about RedHat? Do they have something like 'netconfig'?
netconfig is a pretty standard linux utility. Yes, RedHat has it.
John
--
[EMAIL PROTECTED]
http://www.enteract.com/~coredump
Stuck in a traffic jam on the Information Superhighway
------------------------------
** 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
******************************