Linux-Networking Digest #854, Volume #10 Wed, 14 Apr 99 12:13:23 EDT
Contents:
Firewall & two web-servers ("Lars A. Christensen")
nslookup: Can't find server name (Keith/Suzanne Barron)
Re: Where do I go? ("Curt")
linux driver wanted for digiboard pc-imac isdn adapter (Karen And Nick Kline)
Re: root shutdown using telnet ? (Robbert Muller)
ppp server no default route ("Andrew G. MacPhee")
NAT (IP Masquerading) vs. Linux Gateway (John Edwards)
Re: Help!! High packet collisions!! (Frank Sweetser)
Masquerade on Red Hat 5.2... ("Jarmo")
Re: ppp server no default route ("Meindert Sprang")
pppd eating up memory after Kernel upgrade (Avishay Dinar)
Re: X-windows HELP!! (Enkidu)
Re: Kernel Compile: Problem with 2.0.34 + RH 5.1 ("Chris Cantwell")
Re: 3 com 3c905b TX network card problems... ("Chris Cantwell")
Printing From Linux to Netware with lpr (Christian)
evaluating a network: HOWTO? ("Daniel G. Hyams")
Re: Mail server for Linux (Luca Filipozzi)
----------------------------------------------------------------------------
From: "Lars A. Christensen" <[EMAIL PROTECTED]>
Subject: Firewall & two web-servers
Date: Wed, 14 Apr 1999 15:05:16 +0200
Reply-To: [EMAIL PROTECTED]
Hi
Sorry if this is a newbie question, but I _am_ a complete newbie. I am
drowning in documentations and howto's but none seems to deal with my
problem.
I have 2 web-server (f.ex. 192.168.17.1 & 192.168.17.2) behind a
firewall.
How do I make them accesible from the outside so that requests to
130.226.6.10 goes to 192.168.17.1 and requests to 130.226.6.20 goes to
192.168.17.2 ?
At the moment there is access to one of the servers through a
ipautofw -A -p tcp 80 192.168.17.1:80
which works fine with only 1 server, but i am going to have 2 servers
accesible now.
Where should I look to find a describtion of howto do it?
Or is there somthing completely wrong in what I am doing?
tia
Lars
--
Lars A. Christensen <[EMAIL PROTECTED]>,
http://hjem.get2net.dk/dittehus/lac/
------------------------------
From: Keith/Suzanne Barron <[EMAIL PROTECTED]>
Subject: nslookup: Can't find server name
Date: Tue, 13 Apr 1999 21:45:42 -0700
Hi all,
Result of nslookup (with or without
any IP address):
Can't find server name for address
206.13.28.12
Can't find server name for address
206.13.31.12
Default servers are not available
I can ping the gateway
(216.102.199.254). I can ping my IP
address (216.102.199.33).
Below are the TCP/IP parameters.
Help!
Here is the /etc/resolv.conf:
search
nameserver 206.13.28.12
nameserver 206.13.31.12
Here is the host.conf:
order hosts,bind
multi on
Here is /etc/hosts:
127.0.0.1 localhost
localhost.localdomain
216.102.199.33
Here is the result of ifconfig:
lo Link encap:Local
Loopback
inet addr:127.0.0.1
Bcast:127.255.255.255
Mask:255.0.0.0
UP BROADCAST LOOPBACK
RUNNING MTU:3584 Metric:1
RX packets:85 errors:0
dropped:0 overruns:0 frame:0
TX packets:85 errors:0
dropped:0 overruns:0 carrier:0
collisions:0
eth0 Link encap:Ethernet
HWaddr C0:00:2D:F0:5D:EC
inet
addr:216.102.199.33
Bcast:216.102.199.255
Mask:255.255.255.0
UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1
errors:0 dropped:0 overruns:0
frame:0
TX packets:67
errors:0 dropped:0 overruns:0
carrier:0
collisions:0
Interrupt:11 Base
address:0xdc00
------------------------------
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Where do I go?
Date: Tue, 13 Apr 1999 23:59:41 -0500
Try this site:
http://www.superant.com/Antmini01.html
Matthew King wrote in message <[EMAIL PROTECTED]>...
>please cc to [EMAIL PROTECTED]
>
>I have RH4.2 and two computers. One has a tiny HD and a different
>graphics card to the other (server) and I probably won't be able to
>install X on the smaller one.
>
>Could you please tell me where to go in the mountains of READMEs and
>HOWTOs to find out about installing linux on a tiny HD with the X server
>elsewhere on the network.
>
>Many Thanks,
>Matthew King,
>[EMAIL PROTECTED]
>
------------------------------
From: [EMAIL PROTECTED] (Karen And Nick Kline)
Crossposted-To: comp.dcom.isdn
Subject: linux driver wanted for digiboard pc-imac isdn adapter
Date: 13 Apr 1999 21:37:06 -0700
I have a digiboard pc-imac isdn adapter. I am currently using it under
windows nt, but I wish I could convert to unix. On win/nt server, I have
installed the remote ras, and use my nt box as a dial on demand router.
I would love to convert to linux, but I can't seem to find a driver for my
card for linux. I'm new to linux but have unix exp.
Where can I get info on what isdn hardware is supported in linux, and
where can I get a driver for my card?
I have found some vague references to use of a linux box as a dial on
demand router type machine. Any good pointers to setup info?
Thanks,
nick kline (klines_at_halcyon.com)
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Karen Kline "Advanced technology is indistinguishable from
Woodinville, WA magic." Arthur C. Clarke
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------
From: Robbert Muller <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: root shutdown using telnet ?
Date: Wed, 14 Apr 1999 11:30:55 +0200
On Wed, 14 Apr 1999, RJHM van den Bergh wrote:
> Hi,
>
> I'm using a RedHat 5.1
> and can't do a shutdown using telnet.
>
> I do su to root.
> But the shutdown process seems to kill its own process.
> The system does return (stops) with the bash prompt.
>
i've had the same problem but if you use ssh ( secure shell ) you kan log
in as root ( it's encrypted so it's save ) and do a "shutdown -r 1 &"
if you log out now you'll have a reboot in 1 minut ( and you've shell
access if the /etc/nologin file is still present )
suc6 with it
--
Robbert Muller
mjrider@writeme dot com | Never let a luser on your console.
uin: 9659330 | Because that means they're in your room.
------------------------------
From: "Andrew G. MacPhee" <[EMAIL PROTECTED]>
Subject: ppp server no default route
Date: Wed, 14 Apr 1999 10:38:46 +0100
I'm trying to use a linux box (redhat 5.2, 2.0.36 kernel) with a modem
and a direct conection to the ethernet (eth0) as a ppp server (pppd
version 2.3p5).
I can dial in and manually set up pppd using minicom from my similar
Linux
box at home as suggested in the PPP HOWTO. When I quit minicom without
closing the
connection, I start pppd locally as per the PPP howto.
I am then able to ping the remote ppp server, but no further. route -n
shows that there is no default route. There is only one entry pointing
to the ppp interface.
The HOWTO more or less runs out at this point, saying I should explore
the system initialisation files.
I have tried to start pppd with proxyarp, defaultroute or both (when
logged into the server via minicom)
I am using mgetty on the server:
so ps auxw on the server includes:
/sbin/mgetty -x 5 -s 115200 -n 2 ttyS3
My "/etc/ppp/options" file on the server:
asyncmap 0
netmask 255.255.255.0
proxyarp
lock
crtscts
modem
I have an options.ttyS3 file with local and remote IP addresses (both
are legal addresses for our network) on the server as well.
What next?
Thank you for your kind interest
Andrew
------------------------------
From: John Edwards <[EMAIL PROTECTED]>
Subject: NAT (IP Masquerading) vs. Linux Gateway
Date: Wed, 14 Apr 1999 08:53:47 -0400
I need to setup a connection between a private LAN and the Internet and
have been monitoring this news group to see whats up. I need the
ability to browse the web and send/receive e-mail. It looks like there
are two ways (maybe more) to accomplish this. One could use network
address translation and port forwarding via Linux ipchains. One could
also setup a cacheing proxy, Squid comes to mind, and mail server, via
sendmail/fetchmail. What I would like to know is what are the pros and
cons of each approach? Some things that I would consider are:
1. Security
2. Configurability
3. Performance
Thanks for any replys!
-- john edwards
[EMAIL PROTECTED]
301.470.4805
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Help!! High packet collisions!!
Date: 14 Apr 1999 10:49:51 -0400
"Almer. S. Tigelaar." <[EMAIL PROTECTED]> writes:
> Hai,
>
> RealTek 8029 clones work fine with me! I have the same Setup as you.
> It's recommended to set both Full Duplex and Flow Control to 'Enabled' with
huh? FD == no hardware flow control. and you *really* don't want to use
FD unless both ends (ie, the NIC and the switch you're plugging into (yes,
switch, as i've yet to see a plain hub supporting FD)) support it and have
it configured.
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
/* And you'll never guess what the dog had */
/* in its mouth... */
-- Larry Wall in stab.c from the perl source code
------------------------------
From: "Jarmo" <[EMAIL PROTECTED]>
Crossposted-To: linux.net.masquerade,comp.os.linux.help
Subject: Masquerade on Red Hat 5.2...
Date: Wed, 14 Apr 1999 12:37:02 +0200
Hello!
I have two windows computers, and i would like to connect them to internet
through a "server" with a modem.
I found a book that seemd to explain it all and no linux or unix experience
required!, so i bought it; Linux Network Toolkit by Paul G. Sery.
Included with this book was a cd that contained Linux 5.0, diald and other
utilities and some firewall scripts.
Nothing in this book seems to work! i have followed the instructions
carefully...
I have printed out and read trough every ppp, firewall, masquerade and
networking howto included with linux.
Nothing works... (they do not seem to be redhat specific, differet
commands, sceens and so)
I have searched on the web and found pages about how to setup "small office
networks", "home networks"...
Nothing works...
I got Red Hat 5.2 with a magazine, so i have installed it with printer
support, smb and network managment workstation, options.
I can share files and printer with samba, so the basic network is
functional.
I configured modem port and ppp from the control-panel in X.
I have also installed diald 0.16.5a and diald-config 0.16.5a.
In diald's connect file i have only changed to phone.filter, modem init and
phone nr, and in diald.conf i modyfied the line with pppd-options to have my
"pap name"
If i try to get out on the net from a windows machine, nothing happens...
If i from the command prompt type, for example, telnet host01.algonet.se
the modem dials up and nothing more happens.
Now i press ctrl-c to get back the command prompt.
If i type ifconfig, i can see that ppp0 has my server IP and have been
assigned a "p-t-p" IP from the ISP.
This has been my starting point for various ipfwadm configurations.
Have i missed something obvious?
Is there other simpler options than masquerade?
Routing? Proxxy? Other?
Hope someone can help, or point me in the right direction...
/Jarmo
[EMAIL PROTECTED]
------------------------------
From: "Meindert Sprang" <[EMAIL PROTECTED]>
Subject: Re: ppp server no default route
Date: 14 Apr 1999 13:59:20 GMT
Andrew G. MacPhee <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> I'm trying to use a linux box (redhat 5.2, 2.0.36 kernel) with a modem
> and a direct conection to the ethernet (eth0) as a ppp server (pppd
> version 2.3p5).
> I can dial in and manually set up pppd using minicom from my similar
> Linux
> box at home as suggested in the PPP HOWTO. When I quit minicom without
> closing the
> connection, I start pppd locally as per the PPP howto.
>
> I am then able to ping the remote ppp server, but no further. route -n
> shows that there is no default route. There is only one entry pointing
> to the ppp interface.
>
A similar problem I ran into: I had ipppd setup to autodial whenever a PC
on the LAN wants to go on the i-net. When ipppd made the connection to my
ISP, the default route disappeared. to solve this, i put 'route add default
ippp0' into the ip-up file.
Meindert
------------------------------
From: Avishay Dinar <[EMAIL PROTECTED]>
Subject: pppd eating up memory after Kernel upgrade
Date: 14 Apr 1999 07:32:11 GMT
I have upgraded the Kernel on my RH5.2 from 2.0.36 to 2.2.5 and now when
I'm bringing up the pppd to connct to my ISP it start eating up memory and
it seem to use lot's of I/O (the disk is running crazy) and at that point I
have no option but to shut it down or less it will exshoust the system
completely.
I have tried recompiling the pppd (2.3.7 with the NT chap patch) as advised
on the newsgroups to no avail. It runs fine with the good old 2.0.36 but it
wont run with the latest kernel. Any idea what's going on?
Thanks,
Avishay.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: Enkidu <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: X-windows HELP!!
Date: Wed, 14 Apr 1999 20:12:03 +1200
Reply-To: [EMAIL PROTECTED]
I imagine the two previous lines were:
>Fatal server error:
>No config file found!
I believe he probably has not configured XF86config.
But as you point out, unless he gives more info, I'm just guessing.
Cliff
Adam Leinss wrote:
>
> Read the error messages. Ahem, "WHEN REPORTING ERROR MESSAGES, PLEASE
> QUOTE ALL OFFENDING LINES, NOT JUST THE LAST THREE LINES! is what it
> should say right above this lines in the output.
--
Cliff Pratt, CAP Consulting
Web build, web design. HTML, Javascript, CGI, ASP, Web Consulting
Email: [EMAIL PROTECTED] Phone: 025 246 7747
------------------------------
From: "Chris Cantwell" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Kernel Compile: Problem with 2.0.34 + RH 5.1
Date: Wed, 14 Apr 1999 10:49:01 -0400
First of all, make an emergency bootdisk for future use. Also, save your
old kernel, and configure lilo to give you the option of booting the old
kernel, as well as any new kernels you have built. Whenever you rebuild the
kernel, rerun lilo as well.
/lib/modules/preferred is a symbolic link to the current modules directory:
ln -s /lib/modules/`uname -v` /lib/modules/preferred
This should done automatically by the init scripts, but you can do it
manually too.
Remember that when you install new compiled modules fort he same version
kernel, you overwrite the old modules in the same directory. When
recompiling the current kernel, it might be a good idea to save the old
/lib/modules/2.0.34 directory as 2.0.34.old.
Chris Cantwell
Don Werve wrote in message <[EMAIL PROTECTED]>...
>Sorry about the crosspost, but this seems to apply to the above
>newsgroups.
>
>I'm running RedHat 5.1, with the [included] 2.0.34 kernel -- I'd like to
>re-compile the kernel to include NE2000 support as well as to optimize
>it for a Pentium, as I've got an AMD K6-2/333MHz system and I've noticed
>that optimized kernels tend to run more quickly than the 'default' i386
>Kernel. I know I should upgrade to the 2.2 series kernel, but I'd like
>to re-compile the kernel included with my distro before I try doing any
>'massive' upgrades -- one step at a time, if you will.
>
>I've tried to compile the kernel before with the following pattern:
>
> make mrproper; make {xconfig | menuconfig}; make dep; make clean;
> make zimage; make modules; make modules_install
>
>I can get the kernel to compile fine, but when I load it, I get an error
>about /lib/modules/preferred when I boot. The system will run, but none
>of the modules will function correctly, such as my vfat support or ppp
>support.
>
>It's irritating as hell, and I had to re-install Linux to re-gain
>functionality for my system. I'd still like to re-compile the kernel,
>and install the NE2000 module, but I want to get this issue resolved
>first.
>
>Thanks in advance for the help! :)
>
>Please address replies to my mailbox.
>
>=====================================================
>Don Werve -- http://www.iveleague.org/hari/index.html
>E-Mail: <[EMAIL PROTECTED]>
>
>"Never take life seriously -- after all, you don't
>get through it alive."
> - Anonymous
------------------------------
From: "Chris Cantwell" <[EMAIL PROTECTED]>
Subject: Re: 3 com 3c905b TX network card problems...
Date: Wed, 14 Apr 1999 10:38:17 -0400
What exactly is the problem? Don't make us guess. Do you get any error
messages at boot time? What is the output of "ifconfig"? Can you ping the
localhost, or any other machines on your network? Do you have a DNS server?
Chris
kctiw wrote in message <7ev127$jog$[EMAIL PROTECTED]>...
>Hi,
>i am a new comer of linux, i have installed redhat 5.2 with kernel ver.
>2.0.36-0.7. Now i have problem with the 3c905b nic. I read thru quite a
>number of the Qs posted in newsgroup, but none of the suggestion or help
are
>understadable to me.
>
>So, to simplify the question, can really this version of linux support for
>3c905b nic?? Or should i upgrade to the latest version of the kernel??
>
>Thanks.
>
>
------------------------------
From: Christian <[EMAIL PROTECTED]>
Subject: Printing From Linux to Netware with lpr
Date: Wed, 14 Apr 1999 15:29:19 GMT
I�m trying to print from a LINUX box ( SuSE 6.0 installed ) to a Postscript
Printer attached to a Novell Server.
When I�m trying to print a file with lpr , i get an Error - Message
" /usr/bin/nprint: Server Unknown when initializing connection " or
" No Server found in ncp_open ".
The local Printerqueue - Entry in /etc/printcap looks like :
lp|lp2|PS_300dpi-a4-auto-mono-300|PS_300dpi a4 auto mono 300:\
:lp=/dev/null:\
:sd=/var/spool/lpd/PS_300dpi-a4-auto-mono-300:\
:lf=/var/spool/lpd/PS_300dpi-a4-auto-mono-300/log:\
:af=/var/spool/lpd/PS_300dpi-a4-auto-mono-300/acct:\
:if=/var/lib/apsfilter/bin/PS_300dpi-a4-auto-mono-300:\
:la@:mx#0:\
:sh:sf:
In /etc/apsfilterrc.<Printername> there�s an entry :
REMOTE_PRINTER="/usr/bin/novell_print -S JB_SERVER -U service -n -q Q_APPLEPS
-"
The commands from the ncpfs - Package ( nprint, slist, pqlist ) executed
directly from a Shell-Prompt, work fine. Printing a Postscript-file from the
Command-Line (Shell-Prompt) with nprint or the Skript /usr/bin/novell_print (
used by Suse�s Yast to print to an Netware-Printer ) works too. Printing from
lpr with a skript and an edited printcap-Entry as described in the
PRINTING-HOWTO (Chapter11.3) fails as mentioned above.
Please Help me, I�m getting mad about this !!
TIA,
--Christian--
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Daniel G. Hyams" <[EMAIL PROTECTED]>
Subject: evaluating a network: HOWTO?
Date: Wed, 14 Apr 1999 09:49:14 -0500
I have a home network setup -- three machines connected
via 100bps Ethernet.
Now, how to do go about evaluating the network speed? It
it as simple as copying large files back and forth between the
boxes, or are there tools and/or procedures to make sure that
the network is performing as it should?
===========================================================
Daniel G. Hyams
email: [EMAIL PROTECTED]
phone: (601) 323-4198
===========================================================
------------------------------
From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: comp.os.linux.misc
Subject: Re: Mail server for Linux
Date: Tue, 13 Apr 1999 16:43:04 -0700
In article <7f0il0$slg$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Ok everyone,
>
> I was asked to install a mail server for my business using Linux. Now, I know
> a few things about Linux, but I have never set up a mail server for Linux. I
> know that the Red Hat distribution comes with sendmail already set up, but
> can I access this through the internet? I mean, can I write to
> [EMAIL PROTECTED] and have it appear in teh mailbox of root? Can I access
> this mailbox from my POP3 client anywhere else on the internet?
>
> What program do I use and can someone point me to a FAQ or something so I can
> learn how to do this?
>
> - Steve
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
sendmail is probably the hardest of the mail servers to set up.
consider smail or qmail
--
Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Networking Digest
******************************