Linux-Networking Digest #63, Volume #12 Fri, 30 Jul 99 16:13:41 EDT
Contents:
LaserWriter 4/600 ps on linux box??? (Anders Svensson)
Re: POP Mail ("D.Krivitsky")
How to assign diff. hostnames for multi-homed linux (CP)
Need raw network read/write C libs... (Sniggerfardimungus)
Re: binding two NICs ("RAYG")
Re: newbie PPP question (Monte Phillips)
Re: route ? (Bruce Linton)
delaying eth0 initialization (Matt Menze)
Re: route ? (Bruce Linton)
Re: setting up X server to be a "client".. (David Pollack)
Re: can't see network (Bruce Linton)
Re: Intel Ether pro 10 hangs PC ("Michael Wheeler")
FTP proxy ("RdsAdmin")
Re: *Yawn* (Rudolf Potucek)
How do I generate RST on close()? (Stephen Satchell)
Web Server Behind a Firewall ("Sam Fineberg")
Help: PLIP install on laptop ("Steffen W. Mehl")
ethernet can't access DSL, gateway (John Brashier)
Re: ITS WORKING!!!! :) * 1000 ("Jeff")
Re: Linux box as gateway for local network (Bruce Linton)
----------------------------------------------------------------------------
From: Anders Svensson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,redhat.servers.general
Subject: LaserWriter 4/600 ps on linux box???
Date: Fri, 30 Jul 1999 15:30:35 GMT
I have read almost all postings on how to connect to a laserwriter form a
Linux Box ( with the printer connected to an Apple)
My problem is that i have an LaserWriter 4/600 PS connected to a Macintosh
8500 running YellowDogLinux (2.2.6), and would like to share the printer
on a B&W G3.
Since the LaserWriter is using AppleTalk, it must be connected to the Mac
8500. B&W g3 doesn't have serial ports.
How do I share/use this printer connected to linuxbox ??????
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: "D.Krivitsky" <[EMAIL PROTECTED]>
Subject: Re: POP Mail
Date: Fri, 30 Jul 1999 12:01:35 -0400
As far as I understand, he HAS a domain, but his provider sends all mail
for this domain to one local mailbox.
That is, if, for example, his domain is something.com ,
the lowest priority MX record for something.com points to his provider's
relay, and provider's /etc/mailertable contains a line like
something.com local:joeblow
Fetchmail will fetch all this mail. Then, if every message is passed to
sendmail
with -t option, it will be delivered to the right user.
>I may miss something here , but I think it's not going to work that way.
He's
>referring to POP mail. That means that the ISP creates a mailbox for you,
which
>has YOUR name. Mail is fetched by connecting to port 110 (POP3 protocol)
and
>you have to identify yourself with userid/password. So, if multiple users
want
>to use the same connection, you will need multiple POP accounts and most
ISP's
>charge you for that. This differs from the case where you own a domain. In
that
>case, your domain is delegated to you, and you will not use POP mail but
SMTP
>or UUCP. Your users can than pick up mail from your Linux machine, with POP
>mail.
>There are a couple of ways of solving this question:
>1) Ask your ISP to set up multiple POP accounts. Some ISP's do this for
free,
>some charge you for that.
>2) Registrate your own domain. Usually, this is relatively expensive for
what
>you want, unless your "users" are willing to share the costs..
>3) Find a provider which gives a domain for free. In the netherlands and
UK,
>Demon does that. So, if your name is smith, your domain will be
smith.demon.uk
>This enables you to setup as much accounts in the domain as you like
>([EMAIL PROTECTED] for example)
>Hope this helps.
>
>Frank
>
>
>"D.Krivitsky" wrote:
>
>> D.Krivitsky ����� � ��������� <[EMAIL PROTECTED]> ...
>> >>I use Linux as an ip masq solution at home. I'd like to do that for
him,
>> >but
>> >>i've got some questions. He has ONE pop account and his ISP forwards
all
>> >mail
>> >>to his domain to that account. (Example: if his domain is xyz.com,
mail
>> >sent
>> >>to [EMAIL PROTECTED] will go to that one pop account.) Is it possible to
>> >split
>> >>up that one pop email account into several different ones upon reciept
of
>> >the
>> >>email, or is he SOL and will have to get more accounts.
>> >
>> >
>> >You may try fetching all mail by /usr/bin/fetchmail and then process it
by
>> >/usr/bin/formail
>> >to split it.
>>
>> ... or even just pass it to sendmail for further delivery, after
receiving
>> it by fetchmail.
>
------------------------------
From: CP <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.security,comp.os.linux.setup
Subject: How to assign diff. hostnames for multi-homed linux
Date: Fri, 30 Jul 1999 12:59:38 -0500
Please help,
During a system upgrade, I had to combine 3 separate Linux web machines
into one. Thus, in the new Linux machine, I had to multi-home for 3 ip
addressses. I have successfully configured the network and apache to
recognize the 3 web servers. The problem is that each of the 3 old
machines have java server running. When installed in the new machine,
each of the 3 java servers expect 3 different hostnames - but they all
got the same hostname when asked from the system (i.e. gethostname()).
Therefore, for a multi-homed machine, is there a way to assign different
hostname for each ip address (i.e. produce different names when asked
"hostname" from a terminal)?
To further explain (suppose I have setup the ff):
ip-0: primary: foo.bar.com 207.x.x.49
ip-1: apple.bar.com 207.x.x.50
ip-2: pear.bar.com 207.x.x.51
ip-3: peach.bar.com 207.x.x.52
When I telnet to any of the above, and execute "hostname" it will give
me foo.bar.com. How can I force to report the correct hostname???
Thans much for any help.
------------------------------
From: sl3nf.cc@usu@edu (Sniggerfardimungus)
Subject: Need raw network read/write C libs...
Date: 30 Jul 99 10:33:50 MDT
I'm looking for a raw network access library for linux. Berkeley Sockets are
great for most things, but I want to be able to read or write arbitrary
protocols.
thnx
rOn
------------------------------
From: "RAYG" <[EMAIL PROTECTED]>
Subject: Re: binding two NICs
Date: Thu, 29 Jul 1999 23:41:49 -0400
Are you saying that (with teaming) 2 nic cards in a server theoretically
could be attached to the same "hub"? We used to drop mulitiple cards into
servers but they would be attached to different, unconnected segments. The
server in effect became a router or a bridge depending on how you configured
it. This reduced contention because you cut the number of nodes on a
segment.
Cowles, Steve wrote in message ...
Each server was configured to "team" two NIC cards per network >
------------------------------
From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: newbie PPP question
Date: Fri, 30 Jul 1999 17:31:41 GMT
This site has a 5 minute ppp for newbies tutorial. It works
http://www.knowplace.org/ppp.html
g'luk
Kim McHenry <[EMAIL PROTECTED]> wrote:
>I'm running Red Hat 6.0 and trying to get hooked up with my ISP. Modem
>dials up but will not login in correctly. Below is a short section of
>/var/log/messages
>
>chat[637]:CONNECT
>chat[637]:--got it
>chat[637]:send (^M)
>chat[637]:expect (ogin:)
>chat[637]:57600^M
>chat[637]:alarm
>pppd[632]:Connect script failed
>chat[637]: Failed
>pppd[632]: Exit
------------------------------
From: Bruce Linton <[EMAIL PROTECTED]>
Subject: Re: route ?
Date: Fri, 30 Jul 1999 11:34:26 -0700
Marc,
(In Redhat anyway,) I would set up the network entries in the
/etc/sysconfig/network-scripts/ifcfg-eth0 file as such:
DEVICE=eth0
IPADDR=192.1.1.xxx (address of this machine)
NETWORK=192.1.1.0
NETMASK=255.255.255.0
BROADCAST=209.192.1.255
GATEWAY=192.1.1.254
ONBOOT=yes
By the way, the class C reserved private net addresses are 192.168.0.0 -
192.168.255.255. Read the NET-3 HOWTO for details.
Bruce
Marc Schuette wrote:
> i wondering how to make a network config change on our linux
> box. for internal network is 192.1.1.xxx and the entry in the route
> table is as follows:
>
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 192.1.1.0 * 255.255.255.0 0
> 0 0 0 eth0
>
> I would like to change this entry to use 192.1.1.254 as the gateway
> address for the 192.1.1.xxx network. how would i do this? thanks.
>
> --
>
> Marc Schuette - Consolidated Supply Co.
> Voice (503) 684.5904 ext.125
> Fax (503) 598.1086
> Email [EMAIL PROTECTED]
------------------------------
From: Matt Menze <[EMAIL PROTECTED]>
Subject: delaying eth0 initialization
Date: Fri, 30 Jul 1999 11:09:28 -0700
I am trying to install a linux box on a network that consists of some NT
workstations and some Windows95. I am using NetBios for the network,
but I have a DSL line that uses DHCP to connect to all the computers. I
am having serious trouble trying to get my linux box on the network. I
am using RH 6.0 with kernel 2.2.5-15. I have it set up as hostname
"hawk" with dhcp protocol. When I boot linux it tries to initialize
eth0 but fails and says "delaying eth0 initialization". When I run
ifconfig all that I see is the loopback. Does anybody have a words of
wisdom?
------------------------------
From: Bruce Linton <[EMAIL PROTECTED]>
Subject: Re: route ?
Date: Fri, 30 Jul 1999 11:42:45 -0700
Marc,
sorry, got a typo here - broadcast address should be 192.1.1.255
Bruce
Bruce Linton wrote:
> Marc,
>
> (In Redhat anyway,) I would set up the network entries in the
> /etc/sysconfig/network-scripts/ifcfg-eth0 file as such:
>
> DEVICE=eth0
> IPADDR=192.1.1.xxx (address of this machine)
> NETWORK=192.1.1.0
> NETMASK=255.255.255.0
> BROADCAST=209.192.1.255
> GATEWAY=192.1.1.254
> ONBOOT=yes
>
> By the way, the class C reserved private net addresses are 192.168.0.0 -
> 192.168.255.255. Read the NET-3 HOWTO for details.
>
> Bruce
>
> Marc Schuette wrote:
>
> > i wondering how to make a network config change on our linux
> > box. for internal network is 192.1.1.xxx and the entry in the route
> > table is as follows:
> >
> > Destination Gateway Genmask Flags Metric Ref
> > Use Iface
> > 192.1.1.0 * 255.255.255.0 0
> > 0 0 0 eth0
> >
> > I would like to change this entry to use 192.1.1.254 as the gateway
> > address for the 192.1.1.xxx network. how would i do this? thanks.
> >
> > --
> >
> > Marc Schuette - Consolidated Supply Co.
> > Voice (503) 684.5904 ext.125
> > Fax (503) 598.1086
> > Email [EMAIL PROTECTED]
------------------------------
From: David Pollack <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: setting up X server to be a "client"..
Date: Fri, 30 Jul 1999 11:25:11 -0700
Ok, as Mark already know I have two questions.
If I were to use xauth as opposed to xhost would I have to edit the
remote machines startx or the one that I am on. It seems to me like
editing to local one would be the thing to do.
Next, is it possible to display the same program on two different
monitors?
Mark Bestel wrote:
>
> It sounds like you don't have the networks configured correctly. Are you sure
> that both machines have correct IP addresses and routes?
>
> If so, you now have to tell the machine you are on that it can display X
> sessions from other machines by typing "xhost +". This is not very secure as
> it will allow anyone to start an X session on your display.
>
> The more secure way is to type "xhost + HOSTNAME" where HOSTNAME is the
> hostname of the remote machine (or IP address).
>
> xhost can only be run by the user who owns the X server - whoever you logged
> in as.
>
> Mark
>
> Phil wrote:
>
> > You can run an X program on one system and have it display on another using
> > the -display switch. See the X manual pages.
> >
> > Try something like 'xeyes -display hostname:0'.
> >
> > xroach can be fun to start on someone's display.
> >
> > Regards,
> >
> > Phil
> >
> > David Pollack <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > I was wondering hwo to run X as a client so that I could telnet onto one
> > > linux. Then when I run an X program it would run the on linux box that I
> > > am on (with X running of course). I am running redhat 6.0 and XFree
> > > 3.3.3.1 (stock RH6). I always get a "no route to IP" or something like
> > > that. The error looks like _X11transINETConnet_.
> > >
> > > Thanks for the help.
> > >
> > > Things that I have tried
> > >
> > > export DISPLAY=my.computer.ext:0.0
> > > same as above with IP address.
------------------------------
From: Bruce Linton <[EMAIL PROTECTED]>
Subject: Re: can't see network
Date: Fri, 30 Jul 1999 11:18:09 -0700
Steve,
This is an existing public subnet that I am trying to insert the firewall in,
where the isp set up the base, netmask and broadcast addresses. I don't own the
subnet and think I should be able to insert the firewall into the existing
setup. I've read (in net-3 howto) that while the broadcast address is normally
the highest address in the network, occasionally the lowest number is used and
what's important is that all the clients use the same address.
Would that (Samba reporting the wrong broadcast address) stop me from being able
to ping network or internet addresses? The interfaces (eth0 & 1) are set with
the broadcast address the same as the rest of the network. Is there any way to
manually set the broadcast address in Samba? I haven't been able to find any so
far.
Bruce
"Cowles, Steve" wrote:
> The first thing I noticed from your post, is the broadcast address is
> incorrect for the netmask (255.255.255.240) you are using.
>
> The proper broadcast address for network address 209.xxx.xxx.160 is
> 209.xxx.xxx.175 NOT 209.xxx.xxx.160. The .160 address is the NETWORK
> address. In fact, nmblookup properly calculated the broadcast address for
> you, but it could not announce (broadcast) because your output from ifconfig
> shows the broadcast address set to the same IP as the network address.
>
> You might try and fix the above first, then test your network settings.
> Everything else (from your post) looks OK.
>
> Steve Cowles
> SWCowles at gte dot net
>
> Bruce Linton <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hello all,
> >
> > I've inserted a linux box into an existing NT network (public subnet) as
> > a firewall, and, no matter what I try, can't see either the network or
> > the internet from the firewall. I have had this same linux box
> > successfully set up to masquerade my ppp internet access on a different
> > win95 private network, and have tested both nics so I know they work.
> >
> > If someone can point me in a direction to debug this I would surely
> > appreciate it. I've been banging my head for three weeks now...
> >
> > The subnet is 209.xxx.xxx.160/255.255.255.240 Broadcast=209.xxx.xxx.160
> >
> > The network has cable modem internet access with address
> > 209.xxx.xxx.174. Everything works great until I plug in the firewall.
> > The firewall has 2 - 3c515 cards which show activity when I ping, but no
> > response. I can ping the modem (174) and firewall interfaces (172 & 173)
> > but nothing else.
> >
> > eth1 (external interface) is set as 209.xxx.xxx.173 with gateway 174.
> > eth0 (internal interface) is set as 209.xxx.xxx.172 (no gateway - adding
> > a gateway here just seems to screw up my routing table).
> > The network clients have addresses between 161 & 166, with gateway =
> > 172.
> >
> > I have flushed the ipchains rules - they are wide open.
> >
> > I'm running Redhat 5.2, kernel 2.2.5-15.
> > ----------------------------------------------------------------------
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref
> > Use Iface
> > 209.xxx.xxx.172 0.0.0.0 255.255.255.255 UH 0
> > 0 0 eth0
> > 209.xxx.xxx.173 0.0.0.0 255.255.255.255 UH 0
> > 0 0 eth1
> > 127.0.0.1 0.0.0.0 255.255.255.255 UH 0
> > 0 0 lo
> > 209.xxx.xxx.160 0.0.0.0 255.255.255.240 U 0
> > 0 0 eth0
> > 209.xxx.xxx.160 0.0.0.0 255.255.255.240 U 0
> > 0 0 eth1
> > 0.0.0.0 209.xxx.xxx.174 0.0.0.0 UG 1
> > 0 0 eth1
> > ----------------------------------------------------------------------
> > /ifcfg-eth0:
> >
> > DEVICE=eth0
> > IPADDR=209.xxx.xxx.172
> > NETWORK=209.xxx.xxx.160
> > NETMASK=255.255.255.240
> > BROADCAST=209.xxx.xxx.160
> > GATEWAY=
> > ONBOOT=yes
> > ----------------------------------------------------------------------
> > /ifcfg-eth1:
> >
> > DEVICE=eth1
> > IPADDR=209.xxx.xxx.173
> > NETWORK=209.xxx.xxx.160
> > NETMASK=255.255.255.240
> > BROADCAST=209.xxx.xxx.160
> > GATEWAY=209.xxx.xxx.174
> > ONBOOT=yes
> > ----------------------------------------------------------------------
> > /network:
> >
> > NETWORKING=yes
> > FORWARD_IPV4=true
> > HOSTNAME=Linux-FW
> > DOMAINNAME=
> > GATEWAY=0.0.0.0 (it doesn't seemed to matter what I set gateway or
> > gatewaydev to)
> > GATEWAYDEV=eth1
> > ----------------------------------------------------------------------
> > I even configured smb.conf for this network and started nmbd and smbd to
> > see if that would help locating the internal network connections. I
> > can't seem to set the correct broadcast address in Samba, but this is
> > not my main difficulty.
> >
> > Results of nmblookup -d 2 '*':
> >
> > Added interface ip=209.xxx.xxx.172 bcast=209.xxx.xxx.175
> > nmask=255.255.255.240
> > Sending queries to 209.xxx.xxx.175
> > name_query failed to find name *
> > *-------------------------------------------------------
> > eth0 Link encap:Ethernet HWaddr 00:10:4B:D9:49:9B
> > inet addr:209.xxx.xxx.172 Bcast:209.xxx.xxx.160
> > Mask:255.255.255.240
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:8 errors:0 dropped:0 overruns:0 carrier:8
> > collisions:0 txqueuelen:100
> > Interrupt:9 Base address:0x280 DMA chan:6
> >
> > eth1 Link encap:Ethernet HWaddr 00:10:4B:D9:44:B9
> > inet addr:209.xxx.xxx.173 Bcast:209.xxx.xxx.160
> > Mask:255.255.255.240
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:17 errors:0 dropped:0 overruns:0 carrier:17
> > collisions:0 txqueuelen:100
> > Interrupt:10 Base address:0x300 DMA chan:7
> >
> > 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:16 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > *-------------------------------------------------------
------------------------------
From: "Michael Wheeler" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Intel Ether pro 10 hangs PC
Date: Fri, 30 Jul 1999 13:58:38 -0400
I had this same problem with the EE100b cards I have in
a P90 for IP masq'ing. They work great in RH5.2 but not
6.0 so I'm sticking with 5.2 for the time being.
Vidar Andresen <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>, phil bull <[EMAIL PROTECTED]> wrote:
> >I'm running Red Hat 6.0 on an Intel P90 PC box. I have an oldish ISA
> >Intel Ether Pro10 network card. It's a combo card with 10BaseT, BNC and
> >AUI connectors. The chip is marked FA82595TX.
> >
> >The PC hung during Linux installation when it tried to probe the card,
> >so I substituted and old NE2000 card, which worked fine until it
> >suffered hardware failure. So I'm having to try the Intel card again.
> >I've changed the conf.modules file to read:
> >
> > alias eth0 eepro
> > options eepro io=0x230 irq=11
>
> Is that the right values? (setup util/jumpers for/on the nic?)
>
> Any conflict 'cat /proc/interrupts'
> 'cat /proc/ioports'
>
> >which ties in with a response I saw to someone else's posting. However,
> >the PC hangs during boot when it tries to start eth0.
>
> The source (../drivers/net/eepro.c) have a lot of info.
>
> The sizes of the receive and transmit buffers can now be
> changed via lilo or insmod. Lilo uses the appended line
> "ether=io,irq,debug,rx-buffer,eth0" where rx-buffer is in KB
> unit. Modules uses the parameter mem which is also in KB
> unit, for example "insmod io=io-address irq=0 mem=rx-buffer."
> The receive buffer has to be more than 3K or less than 29K.
> Otherwise, it is reset to the default of 24K, and, hence, 8K
> for the trasnmit buffer (transmit-buffer = 32K -
> receive-buffer).
>
> and more..
>
> Mvh Vidar Andresen
------------------------------
From: "RdsAdmin" <[EMAIL PROTECTED]>
Subject: FTP proxy
Date: Fri, 30 Jul 1999 18:31:37 +0200
Hi there!
Is out there anybody who knows a WORKING FTP proxy?? Please do not recommend
vftpd unless you know how to making it working together with the FTP server
of my (any?) provider. It is hard enough too get it building up connection
(doing his actual job as proxy). However, if somebody knows a working
solution for LINUX, please let me know it!
Appreciate your help.
Zsolt
------------------------------
From: [EMAIL PROTECTED] (Rudolf Potucek)
Subject: Re: *Yawn*
Date: 30 Jul 1999 18:24:17 GMT
I actually never checked the logs, but when I switched from shaw to telus,
initially DHCP didn't work either. (I had intermediately installed pppd to
autodial). I do remember I cleared out /etc/dhcpc direcrory (the one with all the
cache files) and removed the pppd. It worked fine after that. Not much help, I
know ...
Rudolf
Nix ([EMAIL PROTECTED]) wrote:
: Thanks for the help, I checked it out and I'm still not getting connected.
: The cable is always on, and the PC light goes on when I attempt to lease an
: IP (run dhcpcd) it turns off after that. (unless I run 'ifconfig eth0 up).
: When I run dhcpcd -d it waits about 30 seconds then I get the error
: displayed, "NO DHCPOFFER". I checked out what I was running, so see if
: perhaps a gateway daemon or something was interfering, didn't see anything
: like that.
: In Windows, I was able to lease an IP address and connect to a DHCP server
: no problem, as well in windows I was able to setup my internet settings as a
: static IP address and it still worked.
: Thanks for some help, narrowing down the problem.
: Any other ideas? Anyone?
: Thanks,
: Nix
------------------------------
Subject: How do I generate RST on close()?
From: [EMAIL PROTECTED] (Stephen Satchell)
Date: Fri, 30 Jul 1999 18:03:58 GMT
I have a server I've written which sets up a virtual connection. There are
a number of different ways that the connection needs to be severed, all
caused by external means. The server is talking to a commercial product
that I have no control over.
Here is the scenerio that is failing:
1) Server senses that the connection needs to be closed due to an external
event.
2) Server issues a setsockopt(2) specifying a linger time of zero. (This
per Stevens.)
3) Server then issues a close(2) for the socket, and waits until zero is
returned by close(2) until continuing.
Looking at tcpdump, I see that the server is sending a FIN packet to the
commercial product, and the commercial product then ACKs the FIN...and
that's it. As far as the commercial product is concerned, the connection
is still open going the other way. I've closed the socket, so if the
client ever sends anything it will get a RST, but in the meantime all the
resources at the client (and that's more than just a single socket, there
is a significant amount of hardware tied up) are just sitting there
converting electron flow to heat.
The vendor of the commercial product points to an HP box and say "that
works; why should we do anything to fix YOUR problem?"
I've looked at the source code for any useful reference to the variable
"linger" and it appears that nothing implements the original API
interpretation that a LINGER structure of {1,0} means RST instead of FIN.
I've tried this with Slackware (2.0.34) and with Red Hat (2.2.5-22).
Suggestions for getting the server to issue a RST packet in this instance?
------------------------------
From: "Sam Fineberg" <[EMAIL PROTECTED]>
Subject: Web Server Behind a Firewall
Date: Fri, 30 Jul 1999 12:16:03 -0700
I have a home network with several systems behind a Linux firewall which is
running IP Masquerading. I was wondering if it is possible to expose a web
server behind the firewall (without exposing its bogus IP address). I.e.,
can I forward traffic to port 80 on the firewall server to port 80 on a
machine with a different IP address behind the firewall?
Thanks,
Sam
------------------------------
From: "Steffen W. Mehl" <[EMAIL PROTECTED]>
Subject: Help: PLIP install on laptop
Date: Fri, 30 Jul 1999 18:41:53 GMT
I got an old 486 laptop that I want to install Linux on.
It only has a floppy drive, so I'm trying to install via
PLIP by connecting to my desktop machine that is also
running Red Hat Linux 4.2, kernel 2.0.30, then doing a NFS
install
I started by recompiling the kernel and adding PLIP support as
a module. I load the module using:
/sbin/insmod plip io=0x278 irq=5
These are the jumper settings for the parallel port.
I then activate plip with:
/sbin/ifconfig plip0 10.0.2.17 pointopoint 10.0.2.21 up
I checked dmesg and I see:
NET3 PLIP version 2.2 [EMAIL PROTECTED]
plip0: Parallel port at 0x278, using assigned IRQ 5.
and when I run /sbin/ifconfig plip0
plip0 Link encap:10Mbps Ethernet HWaddr FC:FC:0A:00:02:11
inet addr:10.0.2.17 P-t-P:10.0.2.21 Mask:255.0.0.0
UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x278
so, it seems to be setup up fine. However, when I boot the laptop
with redhat boot disk and select NFS install -->PLIP, it asks for
the IP address for which I'm using 10.0.2.21
Netmask: 255.0.0.0
Default Gateway (IP): 10.0.2.17
Primary Nameserver: 10.0.2.1
After this, it searches for the desktop machine (10.0.2.17) but never
finds it. I'm not certain about these IP addresses as I'm using the
values given in the "PLIP Tips" on Red Hat's homepage. I did change
my /etc/hosts to 10.0.2.17. I also set the parallel port of the laptop
to
run in ECP & EPP mode.
I'm quite frustrated, so any help would be greatly appreciated. Any
suggestions on how to troubleshoot and figure out how to make the two
machines talk to each other???
Also, I'm open to other suggestions as to how to install Linux on this
laptop (remember, I only have floppy drive).
Thanks in advance for your help!
--
Steffen Mehl
University of Colorado, Boulder
------------------------------
From: John Brashier <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: ethernet can't access DSL, gateway
Date: Thu, 29 Jul 1999 13:34:25 -0700
I have my etherenet cards installed and configured, and I can ping
both of the cards, one with a static IP number ( i have DSL) and the
other with an internal 192.168.x.x number for the LAN I am trying
to create. For some reason, I cannot connect to the internet ,
nor can I ping the gateway address to the internet. What can I
do to fix this?
Thanks,
John
------------------------------
From: "Jeff" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.help
Subject: Re: ITS WORKING!!!! :) * 1000
Date: Fri, 30 Jul 1999 15:06:09 -0400
Thats funny...
I am using the Netgear card you mention with the tulip driver that comes on
both the RH5.2 cd and the updated driver on the RH6.0 cd and I had no
problem
hmmm
John Brashier wrote in message <[EMAIL PROTECTED]>...
>
>
>luke wrote:
>
>> Thanks to all of you that replied! The reason why it didnt work was
>> because of the NIC. The tulip driver that is build into the kernel
>> doesnt work with my NDC NIC, so I had to download the module from the
>> net, and it worked!!
>
>Luke,
>I am experiencing the same problems as you were. I also am using the
>included tulip driver. Where did you get your driver? I am using the
>Netgear FA310TX 10/100 ethernet card
>As you can imagine, I am tearing my hair out. If you can tell me the
>site,
>I would truly appreciate it. The request also goes out to anyone else
>who might have that info.
>
>Thanks,
>John
>
>
------------------------------
From: Bruce Linton <[EMAIL PROTECTED]>
Subject: Re: Linux box as gateway for local network
Date: Fri, 30 Jul 1999 11:53:38 -0700
Arjan,
Did you read the Masquerade mini HOWTO? All the details are here.
Do you need to load the module ip_masq_ftp.o?
The rule "ipchains -A forward -i <interface> -j MASQ" should work.
Bruce
[EMAIL PROTECTED] wrote:
> I have three computers of which one (a Linux 2.2 box with ethernet and
> ISDN) can connect to the Internet through a dial up connection (dynamic
> IP-address). I want to set up my Linux box, so it acts as a gateway for
> the other machines, but somehow I'm not succeeding. From box B
> (localnet) I am able to ping my dynamic IP, assigned by my ISP, but I
> can't ping any other outside IP-addresses. How can I do this? I can't
> seem to figure out IP-masquarading (or it simply doesn't work).
> ipchains -A forward -d 12.0.0.3/32 -d 0.0.0.0/0
> doesn't seem to do the trick (while 12.0.0.3 is the IP-address of the
> localnet machine).
>
> Thanks.
>
> Arjan
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
------------------------------
** 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
******************************