Linux-Networking Digest #64, Volume #10          Sun, 31 Jan 99 06:13:44 EST

Contents:
  os2 - client (Natanael Copa)
  Re: Newbie Q: Linux Box as Router, Server, Gateway? (Owen Lloyd)
  Re: Networking/Cable Modem (Stuart Lynne)
  Re: PPP Dial up connection - How hard can it get? (Gordon Still)
  Masquerading and Netmeeting (Brian Watson)
  Re: where can i download 'isode-8.0' (Ronald O. Gilcher)
  DNS Zone on a Dial-Up-Machine (Nigel Moore)
  Re: 3c509 (Dale Lakes)
  Re: dhcpd.leases ("Andrew Tatton")
  Re: Cable modems, Dual NICs, and Newbies (Brian Watson)
  POP3 and Lexmark CJ 7000 on SuSE 6.0 ("Michael")
  PPP (Ryan Parker)
  Re: Hack attack? (Christian Kratzer)
  a samba what if question (Pete)

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

From: Natanael Copa <[EMAIL PROTECTED]>
Subject: os2 - client
Date: Sun, 31 Jan 1999 00:23:20 -0500

Hi all!

I am running a small LAN with my roomates.
We had a Novell server but have now taken it down and installed Linux to
try it out.  We are using it as a file server.

The win clients runs fine under samba but I have some problems with my
os2 pc. I have tcp/ip from the Internet Access Kit and I can log on the
ftpserver. But I dont know how to allow users to write to the different
directorys that are shared. Where can I find info on that?

I dont have warp connect, but is there any other way to use the linux as
file server? I would like to "map" drive letters just like in Novell.

My novell client coulndt find the mars_nwe server.  dont know why.

Where can I find info about theese subject? I just want to share files
on the linux pc!
Any FAQ's?

Nat



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

From: Owen Lloyd <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Newbie Q: Linux Box as Router, Server, Gateway?
Date: Sat, 30 Jan 1999 21:37:11 +0000

Cyrus Mehta wrote:
> 
> Hi,
> 
> I have tried to lurk to find the answer, but here goes:
> 
> I want(hope??) to build a Linux Box for a home network connected to the net by
> Cable Modem with IP masquerading with a possiblity of web hosting.

Be aware that web hsoting obviously requires connections to iniated by
the client browsers - does your "cable-modem" internet connection allow
this?  Ie is it a permananent connection with no restrictions of
incoming conections?


> 
> I intend to have  a number of WinNT/9X PCs connected by Samba to the Linux Box which 
>has the
> cable modem connected to it.  I know Samba does the file/print sharing for 
>Linux/Windows.
> 
> The Win PCs will have NICs, but do I need a hub to connect to a NIC on the LInux Box?
> Or can I add more NICs to the LInux BOX to become a router, with direct wire 
>connections
> from the other NICs.  Can (and intend to) use 10/100 NICs all around, hoping for 100.
> 
> And if the above is possible, obviously I am limited by the # of NICs I can put in a 
>Linux
> box, can I then add a small 4 port hub with one port to the Linux Server.
> 
> Yes, it sounds like a lot of work just to eliminate one piece of hardware, but with 
>a small
> home network and access to cheap NICs, this seems like a legit question to me.
> 


Thats an er interesting solution, but you could only get so many network
cards in your server!.  Why not just put all the machines on a network,
using either cheap coax cable (which will limit you to 10Mb/s) or just
buy a cheap hub - you can get them for 40 UKP which I think is about $65
?  (for a 5 port device)

If you *did* want to install a network card in the server for every
client, well all those extra cards would cost more than a hub I reckon,
and you would have to obtain or make some cables with crossed over
connections at one end.  

> If the above is possible, what software components do I need, I know I will need the 
>following:
> 
> Recent Linux Distribution with all Relevant Hardware Drivers (DUH)
> Samba 2.0
> IP Masquerading
> Apache
> 

Sounds about right.  But as I said at the top, I think you might want
make sure your internet connection allows connections to be made from
the "rest of the world" side of the link to machines on your local net.

-- 
================================================
[MN] - ICQ - #13276665
================================================
[EMAIL PROTECTED] 
                              Powered by Linux 2  
================================================
http://www.barrysworld.com/mn

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

Crossposted-To: alt.solaris.x86,comp.dcom.modems.cable,sdnet.cablemodems
Subject: Re: Networking/Cable Modem
From: [EMAIL PROTECTED] (Stuart Lynne)
Date: Sun, 31 Jan 1999 07:17:42 GMT

In article <q%Rs2.256$[EMAIL PROTECTED]>,
Steven D. Nakhla <[EMAIL PROTECTED]> wrote:
>I am interested in getting a cable modem internet connection through the
>local cable provider here in Baltimore, Comcast.  However, there is more
>than one computer in the house, and if we want all of them to be wired to
>the cable modem, we need to setup a network.  Here is my question:  What all
>is involved in that?  I'm a computer science major, so I've got a pretty
>decent understanding of the concpets, and all, but I've never setup a
>network.   Here is what I *think* is involved, please tell me if I'm right
>or way off:
>
>We buy a hub which hooks into the cable modem.  The modem acts sort of as a
>"server", to which each of the computers is connected as clients.  Network
>cards (ethernet I believe) run into the hub connecting each of the
>computers.

Not quite. The cable modem is a fairly unintelligent piece of hardware. It
merely passes data from one computer with one IP address to and from the 
internet via your cable connection.

What you need to do is hook all of your computers into a hub to create your
internal network. Then you add a second ethernet card to one of your computers 
and make it a masquerading firewall router. It's job is to do three things:

        1. route packets to and from the internet via your cable modem
        2. act as a firewall to slow down the black hats 
        3. masquerade all the other computers connections so that all
           of their requests appear to be coming from the router

Optionally there are a few other things it can do:

        4. act as a DHCP server for systems inside your network, handing out
           non-routable (e.g. 192.168.X.X) addresses

        5. implement various proxy services for applications and protocols that
           do not like running behind a masqueraded connection

Something like:

        |
        |
        cable modem
        |
        |
        router
        |
        |
        --hub-------------
        |       |       |
        |       |       |
        pc      pc      pc


There are various ways to implement the router. You can buy commercial
hardware solutions (cisco for example) or commercial software that will
run under Windows (Wingate). You can use a Linux box and roll your own.

I have a single floppy disk ThinLinux router that you can use as is or as an 
example of how to roll your own using ipchains and various proxy servers 
such as socks. See:

        http://edge.fireplug.net

Its basic requirements are:

        486
        16MB RAM
        3.5" floppy drive
        any two ethernet cards supported by linux 2.1.132

You'll probably want video card, monitor and keyboard during setup, but they
are not required for operation (if your PC BIOS will support booting without
them).


-- 
Stuart Lynne <[EMAIL PROTECTED]>      604-461-7532      <http://edge.fireplug.net>
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00  88 EC A3 EE 2D 1C 15 68

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

From: Gordon Still <[EMAIL PROTECTED]>
Subject: Re: PPP Dial up connection - How hard can it get?
Date: Sat, 30 Jan 1999 17:07:52 -0600

Have a look in a Slackware distribution (the n disk set).  There is a program
called pppsetup.  This worked 100% for me.
It created ppp-go and ppp-off scripts.  I was then able to use this to setup
demand dialing using diald.

Bert Bulder wrote:

> >>What can I do to manually "answer back" to the ISP sending me the
> scrambled
> >>output?
> >
> >Once you see the junk output, you need to exit minicom without
> >resetting the modem (Ctl-A Q I think), and run pppd, with parameters I
> >can't remember right now (I'm not on a linux box at the mo!), but they
> >are in the PPP HOWTO document.
>
> pppd -d -detach /dev/ttySx 38400 &
>
> worked!!
>
> I'm on the internet for the first time after a week long trying desperately.
>
> Now I'll have to see how to automate this.
>
> Bert Bulder
> [EMAIL PROTECTED]


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

Date: Sun, 31 Jan 1999 01:09:52 -0600
From: Brian Watson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Masquerading and Netmeeting

I just got a linux server set up to deal with my internal household
network (2 machines). The only fault I can find, which I know is
microsofts, is that netmeeting will not receive any audio or video. I
know this is something to do with internal packet structures for
netmeeting but there is a loadable module for cuseeme, is there anything
equivalent for netmeeting?

What other solutions are there? Can I make the linux server essentially
act as a router to one machine temporarily while I use netmeeting?

--
=================================
ICQ UIN #804161
Web Page http://home.austin.rr.com/biscuitshouse
=================================



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

From: [EMAIL PROTECTED] (Ronald O. Gilcher)
Crossposted-To: comp.protocols.snmp
Subject: Re: where can i download 'isode-8.0'
Date: 28 Jan 1999 16:21:02 GMT

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>Hi Everybody,
>
>Can someone tell me where can I download the linux version of ISODE 8.0 ?
>
>Regards,
>


Don't think you can.  I couldn't find the port for isode-8.0 either.
I tried for a few hours this evening with no success in near sight.

ronald


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

From: Nigel Moore <[EMAIL PROTECTED]>
Subject: DNS Zone on a Dial-Up-Machine
Date: Sun, 31 Jan 1999 19:08:13 +1100

Hi,
I have a dial-up-account to the internet with a static domain name
(enigma.nlc.net.au) (203.24.133.247) that is assigned to me everyttime
I login...

enigma.nlc.net.au is an A record...

I would like to know if I am able to use a zone file for
enigma.nlc.net.au on my dial-up machine so that I can add CNAME's etc
etc in the zone?

if so? how am I able to setup the primary/secondary name servers??

I can get these hosted free, but I would like the zone file on my
computer as part of my DNS...

Please respond in E-Mail aswell as the newsgroup...

Cheers.

Nigel


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

From: Dale Lakes <[EMAIL PROTECTED]>
Subject: Re: 3c509
Date: Sun, 31 Jan 1999 00:19:53 GMT

When you say "ping the Linux box" or "ping another machine" are you using
hostnames or IPs?

DL

Don Stafford wrote:

> I have just installed Linux 5.2 (redhat).
> I have a 3c509 card. The install detected the card, and I can ping the
> card's IP address from the # prompt.
> I cannot, however, ping the Linux box from another machine on the network,
> nor can I ping another machine on the network from the Linux box.
>
> IP: 172.16.1.10
> SN: 255.255.0.0
>
> All machines use the same subnet, and all are at 172.16.1.x
>
> I would GREATLY appreciate any help....
>
> -----------------------------------------------------------
> Don Stafford, Director of Information Technologies
> UAV Entertainment Corporation
> 2200 Carolina Place
> Fort Mill, SC  29715           Charlotte Phone:
> 803-548-1056  x159             704-940-1056 x159
> 803-548-2493 - Fax
> [EMAIL PROTECTED]
> http://www.uavco.com/
> ICQ: 8371791

--
"The best defense against logic is ignorance."




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

From: "Andrew Tatton" <[EMAIL PROTECTED]>
Subject: Re: dhcpd.leases
Date: Sun, 31 Jan 1999 09:23:17 -0000
Reply-To: "Andrew Tatton" <[EMAIL PROTECTED]>

I'm pretty new to linux so I might be wrong.  But as afar as I know the
dhcpd.leases file is created automatically by the dhcp daemon.  All
configuration should be done in /etc/dhcpd.conf.

Andy

Jon Horner wrote in message <[EMAIL PROTECTED]>...
>Can someone send me the format for the /etc/dhcpd.leases file?  I am
>trying to set up a backup dhcp server on my linux box and I don't have
>one of the above files and I need one.
>
>Thanks.
>
>Jon
>



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

Date: Sun, 31 Jan 1999 01:23:23 -0600
From: Brian Watson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Cable modems, Dual NICs, and Newbies


==============52B698D80F956ECCAC3059B6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I just did exactly the same thing. The changes I made are as follows:

lilo.conf:
append="ether=0,0,eth0 ether=0,0,eth1 ether=0,0,eth2" as the first line.

rc.inet1 contains the following:

GATEWAY=""      # REPLACE with YOUR gateway address! (---- this is the
existing line)

# Uncomment the line below to configure your ethernet card.
echo Starting rrdhcpcd....
/usr/sbin/rrdhcpcd
echo Logging in to RoadRunner network....
/usr/sbin/rrlogind -u biscuit /etc/rrpasswd logon-server

echo Configuring interfaces...
/sbin/ifconfig eth1 10.0.1.1 broadcast 10.0.1.255 netmask 255.255.255.0
/sbin/ifconfig eth2 10.0.2.1 broadcast 10.0.2.255 netmask 255.255.255.0
echo Adding routing table entries
/sbin/route add -net 10.0.1.0 netmask 255.255.255.0 eth1
/sbin/route add -net 10.0.2.0 netmask 255.255.255.0 eth2
echo Starting rrdhcpcd...
/usr/sbin/rrdhcpcd
echo Logging in to the RoadRunner network...
/usr/sbin/rrlogind -u <username> /etc/rrpasswd logon-server
echo Configuring IP Forwarding
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -b -S 10.0.1.0/24 -D 0.0.0.0/0
/sbin/ipfwadm -F -a m -b -S 10.0.2.0/24 -D 0.0.0.0/0

That was it. I have two internal networks set up for 2 net cards going
off to seperate machines (I got the cards for free so it's cheaper than
buying a router). My machine is configured as 10.0.1.2 and another
machine is 10.0.2.2, each of them should have their gateways set to
10.0.1.1 and 10.0.2.1 respectively.

Hope this helps.
Michael Benedict wrote:

>
>
>>
>> 1) How to configure dual NICs.
>
> I don't know of anything per say, but that shouldn't be too hard, I
> don't think (just make sure your route table looks good)
>
>>
>> 2) How to use IP masquerading with this configuration.
>
> http://www.howto.linuxberg.org!  I know there is a decent ip
> masqurading how-to.
>
>     -Michael Benedict
>     [EMAIL PROTECTED]

--
=================================
ICQ UIN #804161
Web Page http://home.austin.rr.com/biscuitshouse
=================================


==============52B698D80F956ECCAC3059B6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I just did exactly the same thing. The changes I made are as follows:
<p>lilo.conf:
<br>append="ether=0,0,eth0 ether=0,0,eth1 ether=0,0,eth2" as the first
line.
<p>rc.inet1 contains the following:
<p>GATEWAY=""&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # REPLACE with YOUR gateway
address! (---- this is the existing line)
<p># Uncomment the line below to configure your ethernet card.
<br>echo Starting rrdhcpcd....
<br>/usr/sbin/rrdhcpcd
<br>echo Logging in to RoadRunner network....
<br>/usr/sbin/rrlogind -u biscuit /etc/rrpasswd logon-server
<p>echo Configuring interfaces...
<br>/sbin/ifconfig eth1 10.0.1.1 broadcast 10.0.1.255 netmask 255.255.255.0
<br>/sbin/ifconfig eth2 10.0.2.1 broadcast 10.0.2.255 netmask 255.255.255.0
<br>echo Adding routing table entries
<br>/sbin/route add -net 10.0.1.0 netmask 255.255.255.0 eth1
<br>/sbin/route add -net 10.0.2.0 netmask 255.255.255.0 eth2
<br>echo Starting rrdhcpcd...
<br>/usr/sbin/rrdhcpcd
<br>echo Logging in to the RoadRunner network...
<br>/usr/sbin/rrlogind -u &lt;username> /etc/rrpasswd logon-server
<br>echo Configuring IP Forwarding
<br>/sbin/ipfwadm -F -p deny
<br>/sbin/ipfwadm -F -a m -b -S 10.0.1.0/24 -D 0.0.0.0/0
<br>/sbin/ipfwadm -F -a m -b -S 10.0.2.0/24 -D 0.0.0.0/0
<p>That was it. I have two internal networks set up for 2 net cards going
off to seperate machines (I got the cards for free so it's cheaper than
buying a router). My machine is configured as 10.0.1.2 and another machine
is 10.0.2.2, each of them should have their gateways set to 10.0.1.1 and
10.0.2.1 respectively.
<p>Hope this helps.
<br>Michael Benedict wrote:
<blockquote TYPE=CITE>&nbsp;
<blockquote TYPE=CITE>&nbsp;
<br>1) How to configure dual NICs.</blockquote>
I don't know of anything per say, but that shouldn't be too hard, I don't
think (just make sure your route table looks good)
<blockquote TYPE=CITE>&nbsp;
<br>2) How to use IP masquerading with this configuration.</blockquote>
<a href="http://www.howto.linuxberg.org">http://www.howto.linuxberg.org</a>!&nbsp;
I <i>know</i> there is a decent ip masqurading how-to.
<p>&nbsp;&nbsp;&nbsp; -Michael Benedict
<br>&nbsp;&nbsp;&nbsp; [EMAIL PROTECTED]</blockquote>

<p>--
<br>---------------------------------
<br>ICQ UIN #804161
<br>Web Page <A 
HREF="http://home.austin.rr.com/biscuitshouse">http://home.austin.rr.com/biscuitshouse</A>
<br>---------------------------------
<br>&nbsp;</html>

==============52B698D80F956ECCAC3059B6==


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

From: "Michael" <[EMAIL PROTECTED]>
Subject: POP3 and Lexmark CJ 7000 on SuSE 6.0
Date: Sat, 30 Jan 1999 14:30:01 +0100

How should I config SuSE 6.0 to use it as a POP3 Mail-Server?
I have also webmin installed!

How should I config the printcap and ghostscript to use my Lexmark CJ 7000
on SuSE 6.0?

Thanks for your answers


Michael




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

From: Ryan Parker <[EMAIL PROTECTED]>
Subject: PPP
Date: 31 Jan 1999 07:14:25 GMT

Hello Everyone,

        I have made a Perl Script that configures all of the files needed to
connect to the internet w/ PPP.  It is really easy to use.  You can get it
at http://www.panthersfootball.com/ppp/linuxinst.tar.gz.  If you have any
questions/comments, e-mail me @ [EMAIL PROTECTED]

Ryan Parker
([EMAIL PROTECTED])

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

From: Christian Kratzer <[EMAIL PROTECTED]>
Subject: Re: Hack attack?
Date: 31 Jan 1999 10:39:27 GMT


Hi,

> fyi, there's really not much you can do with a port scan besides slow down
> your connection a touch.  it's used to determine which services you're
> running (usually to see if there are any that can be compromised)...if
> you're not running any lame services like that (old versions of sendmail,
> ssh, etc.) then you really don't have much to worry about from a port-scan

in what way is ssh a lame service ??  

There was and is no real security hole in ssh itself.  There was only a
potential hole in the kerberos support whch configure only adds if you
explicitly specify so.

pop3, imap and named are the currently mostly affected protocols
with security holes in many major implemantations.  You should be very
carefull about running these.

We take port scans extremely seriously and try to contact the isp's
of each such offender we notice.  We terminate accounts without notice
if one of our customers does hacking.

Greetings
Christian

-- 
TopLink Internet Services GmbH                  [EMAIL PROTECTED]
Christian Kratzer                               http://noc.toplink.net/
Phone:  +49 7032 2701-0
Fax:    +49 7032 2701-19        FreeBSD spoken here!

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

From: [EMAIL PROTECTED] (Pete)
Crossposted-To: comp.os.linux.misc
Subject: a samba what if question
Date: 31 Jan 1999 09:47:41 GMT

hello all,

what if question:
   just suppose my ethernet connection works and samba is configured and
   running correctly.

   how do i browse the win95 file system?  presumably, browsing linux from
   95 is done via 'network neighborhood'.   how do i browse windows
   from linux?

  do i have to somehow mount a new file system?
pete

--
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-
  Do you hate spam?   Join the Coalition Against UCE at http://www.cauce.org
     Check out my homepage: http://landau.ucdavis.edu/psalzman/index.html
  I  BOYCOTT  ANY  COMPANY  THAT  USES  MASS  ADVERTISING  ON  THE  INTERNET

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


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