Linux-Networking Digest #302, Volume #11         Thu, 27 May 99 07:13:32 EDT

Contents:
  Re: IP Masquerade/Routing (Athol Marshall)
  Re: Looking for good reliable 100Mb Ethernet card for RH 6.0 (Joel Cohen)
  Re: Using Linux as a Router ("Andrey Smirnov")
  Re: Looking for good reliable 100Mb Ethernet card for RH 6.0 ([EMAIL PROTECTED])
  Re: Looking for good reliable 100Mb Ethernet card for RH 6.0 ("Andrey Smirnov")
  rpc.lockd doesn't work with SMP. Help please ("David Travers")
  Re: ip fowarding (Frank Waarsenburg)
  Re: Using telnet to test inetd services (Villy Kruse)
  Using telnet to test inetd services ([EMAIL PROTECTED])
  Re: Looking for good reliable 100Mb Ethernet card for RH 6.0 (Alexander Penev)
  /dev/virtualcom ... Minor and Major numbers ? ("Jim D.")
  ipchains + masquerading Example (Gunnar Henne)
  Re: more sendmail problems (mist)
  Re: Pinging for behind IP Masq?? (mist)
  netbios over ip-masquerading ("Bernhard Riegel (sdm)")
  Re: Linux: ICMP Redirect, IP Source Routing unterdruecken (Gert Doering)
  Re: Can I access my local machines from the internet through my ppp connection. 
(Norman Holtzhausen)
  Re: Linux: ICMP Redirect, IP Source Routing unterdruecken (Helge Oldach)
  How to setup for Lotus Notes (Tero Niemi)
  Re: Samba als NT-Dom�nenserver f�r NT 4.0 Workstations (Roumen Petrov)
  Re: getty (Alex Zinoviev)
  RH 6.0 + Cable Modem using DHCP - I just want to die... (You Wish)
  Re: TCP/IP to Serial port pipe (Wouter Liefting)

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

From: Athol Marshall <[EMAIL PROTECTED]>
Subject: Re: IP Masquerade/Routing
Date: Thu, 27 May 1999 09:41:40 +0100

Thanks for the tip - I haven't read about ipchains yet. I'll check it out.

Thanks,

Curt wrote:

> I'm afraid you've lost me...
>
>


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

From: Joel Cohen <[EMAIL PROTECTED]>
Subject: Re: Looking for good reliable 100Mb Ethernet card for RH 6.0
Date: Thu, 27 May 1999 00:17:53 -0400

I definitely like the Intel EtherExpress Pro 100. We've got a number
of them at work and they work seemlessly with Linux.

-jc


John Antypas wrote:

> The subject says it all.  I'm looking for the "safe" reliable 100Mb Ethernet
> card for RH 6.0.  Years ago, it would have been the 3Com 3c509, then it was
> the tulip chipset.  Now that many folks are dropping that, what is the solid
> card that (a) doesn't cost $75 per card and (b) works, automatically.


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

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: Using Linux as a Router
Date: Wed, 26 May 1999 20:33:49 -0700

Hello!

Please check Linux HOWTOs and mini_howtos about ip_masquerading at:
http://www.linux.org/help/index.html

Good luck!

DB wrote in message ...
>I want to use Linux to act as a router between a 10BaseT network and a DSL
>connection to the Internet.
>
>Can anyone provide information about how to configure a recommended version
>of Linux as a router or point me to resources where I can research this?
>
>Thank You!
>
>



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

From: [EMAIL PROTECTED]
Subject: Re: Looking for good reliable 100Mb Ethernet card for RH 6.0
Date: Thu, 27 May 1999 04:17:43 GMT

I've had good luck with the $13 ethernet cards I buy at the local
computer stores.  I bot a few NE2000 compatibles.  They're supported by
the pre-built kernels.


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

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

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: Looking for good reliable 100Mb Ethernet card for RH 6.0
Date: Wed, 26 May 1999 21:37:06 -0700

Are those cards 10/100 ?

[EMAIL PROTECTED] wrote in message <7iih16$umo$[EMAIL PROTECTED]>...
>I've had good luck with the $13 ethernet cards I buy at the local
>computer stores.  I bot a few NE2000 compatibles.  They're supported by
>the pre-built kernels.
>
>
>--== Sent via Deja.com http://www.deja.com/ ==--
>---Share what you know. Learn what you don't.---



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

From: "David Travers" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup
Subject: rpc.lockd doesn't work with SMP. Help please
Date: Thu, 27 May 1999 10:12:06 +0100

Hi.

I have a problem with the NFS lock deamon (rpc.lockd).

I had setup a linux box with dual P2's but compiled the kernel only to use
one processor.

When in this configuration the rpc.lockd worked and I could lock files over
the NFS link e.g records in database files.

However when I recompiled the kernel for SMP, the rpc.lockd doesn't work. I
rceompiled rpc.lockd from the source code, but this didn't help.

Questions
==============

1) Can you do NFS file locking in an SMP environment?

2) If so what software do I require, where can I get it , and what
compile/configuration settings should I use to get it to work?

Your help would be most appreciated.



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

From: Frank Waarsenburg <[EMAIL PROTECTED]>
Subject: Re: ip fowarding
Date: Thu, 27 May 1999 11:16:49 +0200

Destination Host unreachable indicates that you did not set the Default
Gateway on your masq'd machine. Either change it in your machine's network
settings, or change it manually by typing
Route add default gateway x.x.x.x
where x.x.x.x is the IP address of the machine connecting to the outside
world.

Frank


[EMAIL PROTECTED] wrote:

> I am having a lot of problems getting ip forwarding to work with COL
> 2.2. I am hoping someone can help. :) Okay, I checked three things. Is
> support built into the kernel? Yes. Is 1 in ip_forward? Yes. Are there
> any chains that would stop access to and from the computer? No. (This
> is a security risk. I am using it only on a test network.) Here are the
> files that are relavent:
>
> [/usr/src/linux/.config:NETWORKING]
> #
> # Networking options
> #
> CONFIG_PACKET=y
> CONFIG_NETLINK=y
> CONFIG_RTNETLINK=y
> CONFIG_NETLINK_DEV=y
> CONFIG_FIREWALL=y
> # CONFIG_FILTER is not set
> CONFIG_UNIX=y
> CONFIG_INET=y
> # CONFIG_IP_MULTICAST is not set
> CONFIG_IP_ADVANCED_ROUTER=y
> CONFIG_RTNETLINK=y
> CONFIG_NETLINK=y
> # CONFIG_IP_MULTIPLE_TABLES is not set
> # CONFIG_IP_ROUTE_MULTIPATH is not set
> # CONFIG_IP_ROUTE_TOS is not set
> CONFIG_IP_ROUTE_VERBOSE=y
> # CONFIG_IP_ROUTE_LARGE_TABLES is not set
> # CONFIG_IP_PNP is not set
> CONFIG_IP_FIREWALL=y
> CONFIG_IP_FIREWALL_NETLINK=y
> CONFIG_NETLINK_DEV=y
> CONFIG_IP_ALWAYS_DEFRAG=y
> CONFIG_IP_TRANSPARENT_PROXY=y
> CONFIG_IP_MASQUERADE=y
> CONFIG_IP_MASQUERADE_ICMP=y
> CONFIG_IP_MASQUERADE_MOD=y
> CONFIG_IP_MASQUERADE_IPAUTOFW=y
> CONFIG_IP_MASQUERADE_IPPORTFW=y
> CONFIG_IP_MASQUERADE_MFW=y
> CONFIG_IP_ROUTER=y
> CONFIG_NET_IPIP=m
> CONFIG_NET_IPGRE=m
> CONFIG_IP_ALIAS=y
> # CONFIG_ARPD is not set
> CONFIG_SYN_COOKIES=y
> CONFIG_INET_RARP=m
> # CONFIG_SKB_LARGE is not set
> # CONFIG_IPV6 is not set
> # CONFIG_IPX is not set
> # CONFIG_ATALK is not set
> # CONFIG_X25 is not set
> # CONFIG_LAPB is not set
> # CONFIG_BRIDGE is not set
> # CONFIG_LLC is not set
> # CONFIG_ECONET is not set
> # CONFIG_WAN_ROUTER is not set
> # CONFIG_NET_FASTROUTE is not set
> # CONFIG_NET_HW_FLOWCONTROL is not set
> # CONFIG_CPU_IS_SLOW is not set
>
> [/proc/sys/net/ipv4/ip_forward]
> 1
>
> [/etc/sysconfig/network]
> NETWORKING=yes
> HOSTNAME=comm.wec.wn.net
> IF_LIST='lo eth tr sl ppp'
> IPFORWARDING=yes
>
> [ipchains]
> [root@comm dustin]# ipchains -L
> Chain input (policy ACCEPT):
> Chain forward (policy ACCEPT):
> Chain output (policy ACCEPT):
>
> Yet, I can't get a computer own the network see anything over the ppp
> link. As you can see, ppp is my default route:
>
> [root@comm dustin]# netstat -r
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window
> irtt Iface
> max4.intersurf. *               255.255.255.255 UH        0 0
> 0 ppp0
> 192.168.1.0     *               255.255.255.0   U         0 0
> 0 eth0
> 127.0.0.0       *               255.0.0.0       U         0 0
> 0 lo
> default         max4.intersurf. 0.0.0.0         UG        0 0
> 0 ppp0
>
> Okay, so I followed the directions in ipmasq-HOWTO for problem
> resolution. Here are the results:
>
> 1. from masq'd machine, ping another machine:
> works
>
> 2. ping self and assigned address (ppp):
> ping localhost works
> ping ppp ip address given by isp works
>
> 3. from masq'd machine, ping gateway
> works
>
> 4. from masq'd machine, ping gateway's ppp assigned address
> doesn't work (i deleted the ip address below)
>
> C:\tmp>ping x.x.x.x
> Pinging x.x.x.x with 32 bytes of data:
>
> Destination host unreachable.
> Destination host unreachable.
> Destination host unreachable.
> Destination host unreachable.
>
> Any clues? Thanks for any help.
>
> ---
> Dustin Puryear
> [EMAIL PROTECTED]
>
> --== Sent via Deja.com http://www.deja.com/ ==--
> ---Share what you know. Learn what you don't.---


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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Using telnet to test inetd services
Date: 27 May 1999 09:34:54 +0200

In article <7iirub$qml$[EMAIL PROTECTED]>,
 <[EMAIL PROTECTED]> wrote:
>
>In /etc/services, I add:
>    hex             10000/tcp       # Hex conversion
>
>In /etc/inetd.conf, I add:
>    hex     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/bin/od -x
>
>Then I SIGHUP inetd, with: killall -HUP inetd
>
>However, testing my new "hex" service with telnet isn't working:
>    % telnet localhost hex
>    Trying 127.0.0.1...
>    Connected to localhost.
>    Escape character is '^]'.
>    hello world
>    ^D
>
>No response at this point. Perhaps telnet isn't up to it, so I try netcat:
>    % nc localhost hex
>    hello world
>    ^D



You can't realy send eof from telnet.  The only eof you can send is when
you terminate the telnet connection (hotkey, close).  If you do this
telnet also closes the reads which means you won't se the output from
the od command that it actually did generate when you closed the telnet
connection.

The control D character is only magic if your telnet program is talking
to a telnetd daemon.

Villy





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

From: [EMAIL PROTECTED]
Subject: Using telnet to test inetd services
Date: 27 May 1999 07:23:55 GMT

I'm wondering if any of the wise network gurus out there could give me a
pointer regarding testing of services launched from inetd. I want to run a
simple service from inetd which reads from a port via stdin, and writes output
back on stdout. Here's a simple example I'm using for testing:

In /etc/services, I add:
    hex             10000/tcp       # Hex conversion

In /etc/inetd.conf, I add:
    hex     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/bin/od -x

Then I SIGHUP inetd, with: killall -HUP inetd

However, testing my new "hex" service with telnet isn't working:
    % telnet localhost hex
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    hello world
    ^D

No response at this point. Perhaps telnet isn't up to it, so I try netcat:
    % nc localhost hex
    hello world
    ^D

Also no response. All I can think is that my CTRL-D isn't being interpreted as
an EOF, and the input buffer to /usr/bin/od isn't ever read. What I was
expecting was the same result as going:
    % /usr/bin/od -x
    hello world
    ^D
    0000000 6568 6c6c 206f 6f77 6c72 0a64
    0000014

Now that's more like it. Can any networking gurus out there set me straight on
what I'm doing wrong here please?

Thanks,
Graham

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

From: Alexander Penev <[EMAIL PROTECTED]>
Subject: Re: Looking for good reliable 100Mb Ethernet card for RH 6.0
Date: Thu, 27 May 1999 11:19:16 +0200

Are your 3c905b's revision A or revision B? If you have any A you can prepair
for many bad surprises

Andrey Smirnov wrote:

> Hello!
>
> I have number of 3Com 10/100 3c905 and 3c905b working fine under Linux and
> FreeBSD, also using 10/100 IntelExpress and have no problems.
>
> Good Luck!
>
> John Antypas wrote in message ...
> >The subject says it all.  I'm looking for the "safe" reliable 100Mb
> Ethernet
> >card for RH 6.0.  Years ago, it would have been the 3Com 3c509, then it was
> >the tulip chipset.  Now that many folks are dropping that, what is the
> solid
> >card that (a) doesn't cost $75 per card and (b) works, automatically.
> >
> >


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

From: "Jim D." <[EMAIL PROTECTED]>
Subject: /dev/virtualcom ... Minor and Major numbers ?
Date: Thu, 27 May 1999 10:24:52 +0200
Reply-To: [EMAIL PROTECTED]

Hi,

I would like to create a virtual device such as /dev/virtualcom, that
can be used by PPPD for example !!!!
A program will transfer data between /dev/modem and /dev/virtualcom,
will observe all the traffic, and will be able to modify this traffic.
For example send +++ string to the modem to interrupt for a moment the
ppp connexion ....

To do this I must use mknod, and use minor and major numbers .... What
are theses numbers, and what numbers should I use for my purpose ??

Thanks

FX


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

From: Gunnar Henne <[EMAIL PROTECTED]>
Subject: ipchains + masquerading Example
Date: Thu, 27 May 1999 10:45:12 +0200
Reply-To: [EMAIL PROTECTED]

Hello,

After updating to RedHat 6.0 my old ipfwadm script for masquerading
doesn't work any longer.
The outgoing/incoming packets should be masqeraded/demasqueraded. The
network adresses for the firewall are 192.168.0.1 internal and
193.25.16.XXX (dynamic) external. The interface to the internet is ippp0
and connected to 193.25.16.164.
It would be very kind of you, if you send me your masqerading-script as
template.

Greetings
Gunnar Henne


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

From: mist <[EMAIL PROTECTED]>
Subject: Re: more sendmail problems
Date: Thu, 27 May 1999 00:36:59 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>

William Schwartz <[EMAIL PROTECTED]> scribed to us that -
>I'm trying to get my machine (bbs.theschwartz.net) totake mail for the domain
>theschwartz.net
>
>If i put theschwartz.net in the sendmail.cw file that seems to work although
>i can't seem to get outgoing mail to be from [EMAIL PROTECTED] (shows
>hostname)
>

That's a feature of masquerading.  Something like -

FEATURE(masquerade_envelope)
MASQUERADE_AS(`theschwartz.net')
MASQUERADE_DOMAIN(`bbs.theschwartz.net')

in the .mc file.
-- 
Mist.

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

From: mist <[EMAIL PROTECTED]>
Subject: Re: Pinging for behind IP Masq??
Date: Thu, 27 May 1999 00:39:53 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>

Stefan <[EMAIL PROTECTED]> scribed to us that -
>Matt Goebel wrote:
>> 
>> Is there a way to ping from a client on a masqueraded connection?
> Whats the Problem? The ICMP Packet is also Masqueraded so you would get
>a reply.

Not unless ICMP masquerading is specifically enabled in the kernel.  If
not, the ICMP messages will not be masqueraded, and ping and traceroute
etc. will not work (across the masqueraded link).  HTH

-- 
Mist.

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

From: "Bernhard Riegel (sdm)" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.networking.tcp-ip
Subject: netbios over ip-masquerading
Date: Thu, 27 May 1999 09:50:13 +0200

did anyone tried to extend the available IP adresses in a winNT domain
using private IP addresses (such as 192.168.0.x) connected to the
official addresses via a linux router and ip-masquerading? (Multiple
winNT clients would appear with the same IP address). If so, how can a
winNT client become member of a winNT domain and be registered at the
PDC?

bernhard

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 Bernhard Riegel                mailto:[EMAIL PROTECTED]

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

Crossposted-To: de.comm.internet.routing
From: [EMAIL PROTECTED] (Gert Doering)
Subject: Re: Linux: ICMP Redirect, IP Source Routing unterdruecken
Date: Thu, 27 May 1999 10:29:08 GMT

Patrick M. Hausen <[EMAIL PROTECTED]> writes:

>In de.comm.internet.routing Bernd Eckenfels <[EMAIL PROTECTED]> wrote:
>> In comp.os.linux.networking Helge Oldach <[EMAIL PROTECTED]> wrote:
>>> Klar. Aber kein Geld: Das verdreifacht gegen�ber einer seri�sen
>>> Konfiguration die Anzahl der Pakete und verlangt ergo nach Fast
>>> Ethernet. Ohne Not, wohlgemerkt.

>> Verdreifacht? Wie kommst du da drauf. Ich denke das sind deutlich weniger
>> Pakete als bei RIP (je nach Struktur der Subnetze). Die ICMP Redirects
>> werden ja gelernt.

>Aber nur von Hosts, nicht von Routern.

An Router werden auch keine ICMP redirects geschickt.

Redirects werden NUR geschickt, wenn der Absender im selben Subnetz
sitzt wie der Router, der das Paket bekommen hat, und der Router, der
es bekommen sollte.

(Woher sollte ein IP-Router bei einem durchlaufenden Paket auch wissen, 
von welchem anderen Router er es bekommen hat?  Rueckgriffe auf L2/MAC-
Adresse des Absenders und Nachsehen im ARP-Cache sind bei ordentlichem 
Layering nicht erlaubt...)

gert
-- 
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             [EMAIL PROTECTED]
fax: +49-89-3243328                         [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Norman Holtzhausen)
Subject: Re: Can I access my local machines from the internet through my ppp 
connection.
Date: Thu, 27 May 1999 07:19:11 GMT

No, IP Masquerading specifically hides all other local machines from
the Internet.  It  is great from a security point of view, but in your
case it doesn't help.

As far as I know the only way to do this is to get 3 static IP address
from your ISP (for which they will probably charge you) and use the
Linux box as the gateway i.e. turn off IP masquerading.

Good luck.

On Mon, 24 May 1999 05:55:25 GMT, Cameron Tabor <[EMAIL PROTECTED]>
wrote:

>Here is my setup. I have a Redhat linux system connecting to my isp
>with a modem.  Then I have two win98 machines connected to the linux
>box with ethernet cards.  All of the networking works fine, I can do
>most anything accept directly access one of my local machines from the
>internet because they obviously don't have their own IP.  Can this be
>done?  I have looked at the various HOWTO's, but it doesn't look like
>masquerading does this.  Thanks in advance.
>
>
>--== Sent via Deja.com http://www.deja.com/ ==--
>---Share what you know. Learn what you don't.---


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

Crossposted-To: de.comm.internet.routing
From: [EMAIL PROTECTED] (Helge Oldach)
Subject: Re: Linux: ICMP Redirect, IP Source Routing unterdruecken
Date: Thu, 27 May 1999 09:59:59 GMT

In <7ihum7$fp7$[EMAIL PROTECTED]> Bernd Eckenfels <[EMAIL PROTECTED]> writes:
| In comp.os.linux.networking Helge Oldach <[EMAIL PROTECTED]> wrote:
| > Klar. Aber kein Geld: Das verdreifacht gegen�ber einer seri�sen
| > Konfiguration die Anzahl der Pakete und verlangt ergo nach Fast
| > Ethernet. Ohne Not, wohlgemerkt.
| Verdreifacht? Wie kommst du da drauf. Ich denke das sind deutlich weniger
| Pakete als bei RIP (je nach Struktur der Subnetze). Die ICMP Redirects
| werden ja gelernt.

Grunds�tzlich *sollte* das so sein.

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

From: Tero Niemi <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: How to setup for Lotus Notes
Date: Thu, 27 May 1999 12:57:13 +0300

I've got little LAN with 4 win-machines, which should be able to use
Lotus Notes on external server.
What should I do in order to get it work? Do I need some specific
ip_masq module? Please help ASAP.





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

From: Roumen Petrov <[EMAIL PROTECTED]>
Subject: Re: Samba als NT-Dom�nenserver f�r NT 4.0 Workstations
Date: Thu, 27 May 1999 10:05:15 GMT

In article <7ihj7r$255$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Schauer Christian) wrote:
> Hallo an alle!
>
> Ich hab ein Problem mit Samba (aus SuSe-Linux 6.1) als
NT-Dom�nenserver f�r
> NT 4.0 (Service-Pack 4) Workstations.
> Ich hab alles probiert, was in den Dokumentationen nachzulesen war,
hab mir
> verschiedenes aus dem Internet geholt; alles umsonst. Es funktioniert
das
> mit dem "Encrypt Password" nicht (auch nicht mit dem
Regestry-Eintrag), aber
> auch ohne dem kann ich mich nicht an der Dom�ne anmelden.
Create a 'machine trust account' on linux box.
Run as root "smbpasswd -m NAME", where NAME is netbios name of NT 4.0
(Service-Pack 4) Workstations.
See .../samba-2xxx/htmldocs/smbpasswd.8.html
> Wer kann mir eine A bis Z Anleitung geben, oder empfehlen?
>
> Gru�
> Christian
>
>


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

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

From: Alex Zinoviev <[EMAIL PROTECTED]>
Subject: Re: getty
Date: Thu, 27 May 1999 15:01:32 +0400

Probably you haven't DNS in your network.
Try to add an entry to Linux's /etc/hosts file.

Alex.

David B. Held wrote:

> Hi,
>
>         I've set up a little Linux Redhat 4.2 server with getty release 2.0.7h,
> as installed by the setup program.  When I log into my server over a LAN
> using a standard Windows telnet program, it takes forever to get a login
> prompt.  What's the deal?  Is there something I can set to speed up
> login times?  Any comments would be appreciated.  Also, it would be
> helpful if you cc'ed responses to [EMAIL PROTECTED]  Thanks.
>
> Dave
>
> --
> David Held, Chief Programmer   "As far as the laws of mathematics refer
> Business Computing Solutions    to reality, they  are not  certain; and
> email: [EMAIL PROTECTED]         as far as they are certain, they do not
> web: www.uswest.net/~dheld      refer to  reality."  -  Albert Einstein




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

From: [EMAIL PROTECTED] (You Wish)
Crossposted-To: linux.redhat.install
Subject: RH 6.0 + Cable Modem using DHCP - I just want to die...
Date: Thu, 27 May 1999 11:13:54 GMT

If anyone could help, you might just save my life :)

Here's the problem: I just installed RH 6.0 but cannot use the Net (that's the
short version).

Now here's the details:

When I boot, the system hangs for over 4-5 minutes on sendmail and another 4-5
minutes on httpd with the following:

...
May 27 05:08:02 gate network: Bringing up interface eth0
...
May 27 05:13:50 gate sendmail: sendmail startup succeeded
...
May 27 05:16:41 gate httpd: httpd: cannot determine local host name.
May 27 05:16:41 gate httpd: Use the ServerName directive to set it manually.
May 27 05:16:41 gate httpd: httpd startup failed
...

When logged in, I can ping my host with both 127.0.0.1 and 24.x.y.z
(my given IP) but I can only ftp to the loopback, trying to ftp to
24.x.y.z gives me a "Connected to server" message but then it hangs...

Trying to ping any other host (using IP addresses because my DNS lookups
hang) fails...

Here's the "setup" I get once booted and logged in:

IP forwarding enabled.

DHCP enabled on eth0.

ifconfig:
====================
eth0      Link encap:Ethernet  HWaddr 00:13:2D:BC:06:2B
          inet addr:24.x.y.z  Bcast:24.x.y.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:170 errors:1 dropped:0 overruns:0 frame:0
          TX packets:1135 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:17 Base address:0x6d00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:572 errors:0 dropped:0 overruns:0 frame:0
          TX packets:572 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
====================


netstat -rn:
====================
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
24.x.y.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         24.x.y.1     0.0.0.0         UG        0 0          0 eth0
====================

route:
====================
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
24.x.y.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

*The "route" command hangs after the previous display...*
====================

Here's some more stuff:

/etc/resolv.conf
====================
domain videotron.ca
nameserver 127.0.0.1
====================

/etc/named.conf
====================
// generated by named-bootconf.pl

options {
        directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
};

// 
// a caching only nameserver config
// 
zone "." {
        type hint;
        file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};
====================

/etc/nsswitch.conf
====================
passwd:     files nisplus nis
shadow:     files nisplus nis
group:      files nisplus nis

#hosts:     db files nisplus nis dns
hosts:      files dns

services:   nisplus [NOTFOUND=return] files
networks:   nisplus [NOTFOUND=return] files
protocols:  nisplus [NOTFOUND=return] files
rpc:        nisplus [NOTFOUND=return] files
ethers:     nisplus [NOTFOUND=return] files
netmasks:   nisplus [NOTFOUND=return] files     
bootparams: nisplus [NOTFOUND=return] files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus
====================

/etc/host.conf
====================
order hosts,bind
multi on
====================

/etc/HOSTNAME
====================
myhost
====================

/etc/hosts
====================
127.0.0.1       localhost
====================

/etc/networks
====================
====================

/etc/hosts.deny
====================
ALL: ALL
====================

/etc/hosts.allow
====================
ALL: LOCAL
====================


I tried to get my Internet access to work all night long and couldn't figure
out what I'm doing wrong...

I installed RH 5.2 a while ago on the same exact machine and it worked right
out of the box... Now I installed 6.0 and it doesn't work anymore...

I'm running NT without problems (so its certainly not hardware).

If someone could help me, I would *really* appreciate it...


Thanks!

Marc

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

From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: TCP/IP to Serial port pipe
Date: Thu, 27 May 1999 13:06:42 +0200

Ben Leibig wrote:

> Ok, this may sound a little bizare, but i basicly need a deamon that will
> run and sit on some high level tcp port, say 4444 and redirect output to a
> serial port.
>
> basiclly I want to be able to telnet mysystem.com 4444
> then type
> atz
> and get an ok back from my modem
>
> does anyone know of any way/software package to do this?

Not specifically, but you might try something with netcat - it�s a Red Hat
RPM. Basically I guess it would be something like:cat /dev/ttyS0 | nc -l 7777
> /dev/ttyS0
or something. I guess.

Hope this helps,

Wouter.

>
>
>         Please email, it is difficult for me to check news.
>
>                 Thanks for your help,
>                         Ben




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


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