Linux-Networking Digest #103, Volume #10          Wed, 3 Feb 99 22:13:39 EST

Contents:
  Help with ethernet card! (Ben May)
  Re: ???:Odd Masqu "Problem"??? (Douglas E. Mitton)
  Re: routing with two ethernets ([EMAIL PROTECTED])
  Talking with modem (Chiyu Wang)
  Re: Cable Modems and Optimum Online ([EMAIL PROTECTED])
  Networking tools (Carsten Doh)
  Re: masq packet loss (Malware)
  Re: linux as console for cisco router ("Jens-U. Mozdzen")
  Re: ipfwadm questions (Yan Seiner)
  Re: Talking with modem (Wolfgang Reissnegger)
  Re: Help with simple manual network configuration (Ed Jones)
  Re: Strange dhcpcd with Linux 2.2.0 (Bob)
  Re: How do I determine ppp dialup connect speed? (Majinski)
  Re: DHCP the correct way. (Bob)
  Re: how do i let people see my .plan in RH5.2? (Ray Willis)
  HEY>>>POST # 2 ([EMAIL PROTECTED])
  Re: UDP fwding in 2.0.36 for battlenet (Dan Kegel)
  Re: LINUX 2.2 KERNEL PROBLEM!!!! (Ray Willis)
  Re: Specialix (Vorname Nachname)
  Re: Remote Access with root by telnet? ("Robert Barnette")
  How to setup 2 NICs in RH5.2 (wlo)
  trouble with Linksys ethernet card (Paul Greene)
  Re: Will Linux work with a Cable Modem??? (Rick Onanian)
  Re: Help with simple manual network configuration (Luca Filipozzi)
  Suggestions for a small network (Jack Ryan)
  Re: Newbie Q: Linux Box as Router, Server, Gateway? (Stuart Lynne)

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

From: [EMAIL PROTECTED] (Ben May)
Subject: Help with ethernet card!
Date: 3 Feb 1999 19:09:02 -0600


        I just installed Redhat 5.2 and linux doesn't see my ethernet
card. It's an Intel Pro/100 PCI, but the problem is that I don't know
what I/O range the card is using. I know it's using IRQ 9, but linux
wants both an I/O and an IRQ. Is there some kind of linux driver
specific to this type fo card?! Any help appreciated, thanks!

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

From: [EMAIL PROTECTED] (Douglas E. Mitton)
Subject: Re: ???:Odd Masqu "Problem"???
Reply-To: [EMAIL PROTECTED]
Date: Thu, 04 Feb 1999 01:11:20 GMT


THANK YOU!  This post solved 75% of the problem I was having ... even
if I still don't understand why it works through a "normal" connection
and just not through a MASQ connection.  I just changed the IMG tags
to FQDN (absolute) references instead of the indirect (?) ones I was
using.

Now, just the large graphic ("The Kids") doesn't work.  It is a FQDN
reference, I really don't see anything wrong with it BUT it still just
loads the top 5% (about) then just sits ther ... stalled I guess.  It
just never finishes.

The proxy server seems rather extreme ... I hope there are some other
solutions.  One which addresses the "indirect" image reference would
make me feel better.

The web page in question is in my signature.

Thanks again for the post!

Jim Harper <[EMAIL PROTECTED]>
wrote:

>"Douglas E. Mitton" wrote:
>> 
>> I am experiencing an odd "problem" in my IP Masq operation ... it
>> happened with V2.0.36 and ipfwadm and is still occuring with V2.2.1
>> and ipchains.
>> 
>> The problem is that when I access a web page with graphics (?) on the
>> same subnet as me and my ISP and only from the PC behind my "firewall"
>> some graphic images refuse to complete loading.
>
>I get the same thing on my Win95 machine which is behind a firewall.
>
>If your situation is like mine, my ISP has local "members only" pages
>that reference http://www/somepage.html. The problem stems from the fact
>that when your browser sees a request for a page on the host "www", DNS
>assumes that it is on the local network (198.168.x.x in my case) behind
>the firewall. Of course if you don't have a local host on your local lan
>named www, you'll never get the page. 
>
>In my situation, I'm able to get the pages by typing in the FDQN (Fully
>Qualified Domain Name) as www.myprovider.com/somepage.html, or by using
>the ip address. However, like your situation, I don't see any graphics
>due to the way in which the page HTML was written.
>
>If they enter an IMG tag like:
>
><IMG SRC="http://www/graphics/some.gif">
>
>Then once again your browser will not be able to find the host "www" on
>which the image is located.
>
>Running a proxy server to retrieve the pages would probably solve the
>problem. That way the ISP side of your firewall would make the request
>for the page and forward it to your local host.
>
>I don't have much experience with proxy servers, so I you'd have to dig
>for more information on them than I can provide.
>
>Anyone else have a solution to this problem?
>
>-Jim
>
>Remove the obvious portion of my address to respond


================================================
  Doug Mitton - Brockville, Ontario, Canada
                'City of the Thousand Islands'
  Amateur Radio: VE3DMZ      ([EMAIL PROTECTED])
          EMail: [EMAIL PROTECTED]
           http://www.cybertap.com/dmitton
  SPAM Reduction: Remove "x." from my domain.
================================================

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

From: [EMAIL PROTECTED]
Subject: Re: routing with two ethernets
Date: Wed, 03 Feb 1999 20:09:26 GMT


Linux Network Administrator's Guide by Olaf Kirsch
big book but clear, comprehensive, and helpful
 
In html--

http://metalab.unc.edu/mdw/LDP/nag/nag.html

Or text--

ftp://metalab.unc.edu/pub/Linux/docs/linux-doc-project/network-guide/

Look at chapter 5.



Si lo prefiere en espanol, prueba

http://metalab.unc.edu/mdw/links.html#!english

Buen suerte.



"toni" <[EMAIL PROTECTED]> wrote:

>MIQUEL
>
>I have two ethernets on one machine, and I have problems to configure the
>router.
>Please can someone help me.
>thanks.
>
>
>


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

From: Chiyu Wang <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Talking with modem
Date: Wed, 03 Feb 1999 11:55:04 -0600

Hello,

Is there any tool like HyperTerminal in Windows, so I can directly
communicate with the modem in my linux box? In other words, how can I
issue AT command to a modem and know response from the modem?

Thanks,

Chiyu

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

From: [EMAIL PROTECTED]
Subject: Re: Cable Modems and Optimum Online
Date: Thu, 04 Feb 1999 01:24:39 GMT


> Linux with Long Island, NY's Optimum Online

As is common, they only support Windoze for the install, but it works 
w/o problem after that.  Go for it.  It is a consistantly faster 
connection than the T1 at work.


rick





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

From: Carsten Doh <[EMAIL PROTECTED]>
Subject: Networking tools
Date: Wed, 03 Feb 1999 21:00:42 +0100

Does anyone have tips for me where i can find networking tools for
Linux. I'm specially looking for:
- mib browser
- packet capturing and decoding tool.

Thanks in advance from germany.
Carsten




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

From: Malware <[EMAIL PROTECTED]>
Subject: Re: masq packet loss
Date: Wed, 03 Feb 1999 20:53:53 +0100

Hi Patrick,

you wrote:
> BUT: when the isdn-line is down and  I try to reach an internethost it does
> not work.. when I cancel the "not established" connection and retry it.. it
> works...

You probably get assigned a IP number dynamicly by dial-up. If you run
kernel 2.0.36 just do:

echo 7 >/proc/sys/net/ipv4/ip_dynaddr 

If you run a kernel version below but from 2.0.31 this should work too
but there is less functionality.

For kernels of the 2.1 or 2.2 series you can get a patch from

http://www-users.rwth-aachen.de/Michael.Mueller4/dynip.hmtl

which does introduce the same features as for 2.0.36 there. The features
supported from 2.0.31-35 should be allready integrated into later 2.1
kernels and all 2.2 ones.

In all cases you might want to read
/usr/src/linux/Documentation/networking/ip_dynaddr.txt (note for 2.1+
this will be modified with the patch).


Malware

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

Date: Wed, 03 Feb 1999 20:35:58 +0100
From: "Jens-U. Mozdzen" <[EMAIL PROTECTED]>
Subject: Re: linux as console for cisco router

Mike,
please check if your distribution comes with MiniCom (invoked as
minicom).
I've used that to connect to all sort of Ciscos and a few Bay Network
hubs.

Regards,
Jens

SysAdmin wrote:
> 
> Hi all, I need to use my Linux Laptop as a console for a couple of Cisco
> 2501 routers for initial configuration.  Since these are done on a remote
> site the laptop would be perfect rather than a terminal. I believe "cu" is
> the program I should use but in testing, I have had no luck with it. Does
> anyone have a sample command line to use or maybe a better program to do
> this with. I am going from the serial port on the laptop to the console port
> on the router.
> 
> Thanks in advance,
> Mike
> [EMAIL PROTECTED]

-- 
Jens-U. Mozdzen, Netzdesign und -entwicklung  | email [EMAIL PROTECTED]
Schleswiger Damm 200                          | phone & fax
++49-40-5595175
D-22457 Hamburg, Germany                      |

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

From: Yan Seiner <[EMAIL PROTECTED]>
Subject: Re: ipfwadm questions
Date: Wed, 03 Feb 1999 14:19:53 -0500
Reply-To: [EMAIL PROTECTED]

1.  Make sure the default gateway does not exist (let pppd create this
for you).

2.  Make sure that the "other machines" have the linux box as the
gateway.

This can be tough to ferret out in both Linux and Windows, so you have
to be persistent.

Yan

"Fulton B. Gonzalez" wrote:
> 
> I've managed to enable packet forwarding via the command /sbin/ipfwadm -F -a m
> -S 192.168.1.0/24 -D 0.0.0.0/0; this enables me to telnet and do email from any
> of the machines in my network to the outside world.  However, I can't seem to
> get netscape to work!  Every time I try to access a web site, I get an error
> message to the effect that my request has been rejected.  I thought that I had
> configured everything correctly, based on the ip forwarding docs which I had
> read.
> 
> Are there any ipfwadm switches or parameters that I missed which would enable
> me to forward www packets?
> 
> Fulton B. Gonzalez
> Department of Mathematics
> Tufts University

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

From: [EMAIL PROTECTED] (Wolfgang Reissnegger)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Talking with modem
Date: 3 Feb 1999 22:55:54 GMT
Reply-To: [EMAIL PROTECTED]

Try minicom, should do the job.

Wolfgang

On Wed, 03 Feb 1999 11:55:04 -0600, Chiyu Wang <[EMAIL PROTECTED]> wrote:
>Hello,
>
>Is there any tool like HyperTerminal in Windows, so I can directly
>communicate with the modem in my linux box? In other words, how can I
>issue AT command to a modem and know response from the modem?
>
>Thanks,
>
>Chiyu


-- 
 Wolfgang Reissnegger
 NEC USA, Inc.                Phone: +1 (609) 951-2489
 C&C Research Laboratories    Fax:   +1 (609) 951-2499
 4 Independence Way           email: [EMAIL PROTECTED]
 Princeton, NJ 08540

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

From: Ed Jones <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: Help with simple manual network configuration
Date: Thu, 04 Feb 1999 01:37:43 +0000

Robert Montgomery wrote:
> 
> When I do a netstat -nr I get this:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> 24.65.228.0     0.0.0.0         255.255.255.0   U      1500 0          0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
> 0.0.0.0         24.65.228.1     0.0.0.0         UG     1500 0          0
> eth0
> 
> Also, I noticed that I can ping my own IP, but not the gateway or either
> nameservers, so I'm not even getting out at all...  Should I see the
> nameservers listed with a netstat -nr?  If so how do I add them?
> 
> Another thing I noticed is that when my system attempts to do a network
> reload (/etc/rc.d/rc5.d/s10network),   I get an error saying "netmask
> doesnt match route address".  Does this make any sense?

There is something strange here.. the ip assigned to your computer is
24.65.228.0, correct?

That is usually wrong.. The .0 ip is normally not assigned since it
designates a subnet not an individual computer.

I believe the ip on your computer should be 24.65.228.x where x is not 0
or 1.  Also, then the netmask assigned to your computer's ip above is
255.255.255.0.. this is a subnet netmask.. if should be 255.255.255.255
for your particular ip.

So check your file /etc/sysconfig/network .  In there you'll find your
gateway ip and your your hostname or host ip.  Also check the file
/etc/hosts.  In there you might also find your host ip.

Maybe you've done this already..

Ed

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

From: Bob <[EMAIL PROTECTED]>
Subject: Re: Strange dhcpcd with Linux 2.2.0
Date: Wed, 03 Feb 1999 21:29:25 -0500

[EMAIL PROTECTED] wrote:

> Ok, here's a good one for somebody to help me with.  I upgraded to Linux
> 2.2.0, also getting the latest dhcpcd.
>
> system:
> Slackware 3.4 (very modified, of course)
> K6-266
> 32MB
> Linux2.2.0
> dhcpcd-1.3.17-pl2  (new version)
> dhcpcd-unknown_version (old)
>
> --
> Dale Osowski
> [EMAIL PROTECTED]

#! /bin/sh
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
# for some cable modems--
#OPT_USER_ID="-h recbo"
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo
if dhcpcd $OPT_USER_ID -d eth0 ; then

# then some other stuff I need, so hostname -i will work:

  # assume my machine name is on the third line of /etc/hosts.sed, which is a
copy of /etc/hosts
  echo 3 c '\' > /tmp/sed.tmp
  echo $( echo -n $( grep "^IPADDR=" /etc/dhcpc/dhcpcd-eth0.info ) | cut -d= -f2
) here.famlan.net >> /tmp/sed.tmp
  sed -f /tmp/sed.tmp /etc/hosts.sed | cat - > /etc/hosts
  rm /tmp/sed.tmp
  echo -n "DHCP succeeded..."
  logger  "DHCP succeeded..."
fi


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

From: [EMAIL PROTECTED] (Majinski)
Subject: Re: How do I determine ppp dialup connect speed?
Date: Wed, 03 Feb 1999 14:50:08 -0500

In article <[EMAIL PROTECTED]>, Ed Jones
<[EMAIL PROTECTED]> wrote:

> Tom Gordon wrote:
> > 
> > Hi,
> > 
> > On windows when you connect using a ppp dialup account, it tells you the
> > connect speed for the session.  How can I determine that on Linux?  I
> > know about pppstats, but it doesn't tell you that info, only the current
> > throughput.
> > 
> > Thanks,
> > Tom Gordon
> 
> Good question, I'm not sure what the best approach is, I just look at
> the log file /var/log/messages .  I have debug turned on in the ppp
> options file with logs the ppp connect replies from the host.  Maybe
> there is a better way.
> 

There's a cool WindowMaker app called wmppp which can probe the ppp device
somehow and tell you its connect speed.  It needs glibc/libc6 to compile. 
Alternatively, chat can return the connect speed/options if you use REPORT
"CONNECT" in its script.

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

From: Bob <[EMAIL PROTECTED]>
Subject: Re: DHCP the correct way.
Date: Wed, 03 Feb 1999 21:46:50 -0500

Marius Bezuidenhout wrote:

> What is the correct way to setup dhcp?
>
> Currently I have a default route that looks like this:
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 255.255.255.255 *               255.255.255.255 U     0      0        4
> eth0

#! /bin/sh
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
# for some cable modems--
#OPT_USER_ID="-h recbo"
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo
if dhcpcd $OPT_USER_ID -d eth0 ; then

# that's it


  # assume my machine name is on the third line of /etc/hosts.sed, which
is a copy of /etc/hosts
  echo 3 c '\' > /tmp/sed.tmp
  echo $( echo -n $( grep "^IPADDR=" /etc/dhcpc/dhcpcd-eth0.info ) | cut
-d= -f2 ) here.famlan.net >> /tmp/sed.tmp
  sed -f /tmp/sed.tmp /etc/hosts.sed | cat - > /etc/hosts
  rm /tmp/sed.tmp
  echo -n "DHCP succeeded..."
  logger  "DHCP succeeded..."
fi


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

From: Ray Willis <[EMAIL PROTECTED]>
Subject: Re: how do i let people see my .plan in RH5.2?
Date: Wed, 03 Feb 1999 20:23:46 -0600

one more question who cares what your .plan file says.

this .plan #$%^ is getting to be poserish

later,
RayW

Johann Kappacher wrote:

> Mark Hilgart wrote:
> >
> > I have Red Hat 5.2 installed, and when I finger myself, I see my user
> > information and my .plan.  When other users on my machine, or anyone remotely,
> > fingers me, all they get is my user information and a message saying I have no
> > .plan.  Can anyone help?  Do I need to write my own fingerd?
>
> A silly, stupid and foolish question:
> Do you have checked the file permission bits of .plan?
>
> -- jk
> | Johann S. Kappacher       +--------+      http://surf.to/Kappacher |
> | Gellertgasse 21/4/19      | Hannes |      voice: +43-1-6066763     |
> | A-1100 Wien/Vienna        +--------+      GSM:   +43-676-3743268   |
> +------------ PGP - registered at http://pgp5.ai.mit.edu ------------+


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

From: [EMAIL PROTECTED]
Subject: HEY>>>POST # 2
Date: Wed, 03 Feb 1999 07:30:34 -0800

How can I disable particular users from having telnet access?

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

From: Dan Kegel <[EMAIL PROTECTED]>
Subject: Re: UDP fwding in 2.0.36 for battlenet
Date: Wed, 03 Feb 1999 07:39:54 -0800

Mark schrieb:
> > ipautofw -A -r tcp 6112 6112 -h <IP address of local machine>
> > ipautofw -A -r udp 6112 6112 -h <ditto>
> I got that and tried it. Didn't work. <sigh>
> 
> Well, I dl'd the 2.2.1 kernel last night and will try installing
> that and see what happens.

I hear that Starcraft works out-of-the-box with 2.2's masq.
- Dan
-- 
Speaking only for myself, not for my employer

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

From: Ray Willis <[EMAIL PROTECTED]>
Subject: Re: LINUX 2.2 KERNEL PROBLEM!!!!
Date: Wed, 03 Feb 1999 20:28:31 -0600

Dam he got to it before me :)  You need to assign your netmask to the
subnet that your using for you configuration i.e.ip: 192.168.1.1 netmask
255.255.255.248 = broadcast 255.255.255.6

Jerry Guy wrote:

> Malay Shah wrote:
>
> > Actually, i would like to setup a tunnel between to internal networks
> > via the internet, and i can't seem to add a route or to remove the
> > original route that this autoroute creates.  Whenever I try to remove
> > the route, it says
> > SIOCDELRT: No such process
> > Is there anyway that I can fix this or go around it.  Thanks again.
> >
> >
> >
> > "M.C. van den Bovenkamp" wrote:
> >
> >> Malay Shah wrote:
> >>
> >> > Hi.  I'm having a problem with the 2.2.1 Kernel, everytime I
> >> configure a
> >> > network device with ifconfig, it automatically assigns a route for
> >> it,
> >> > how would I go about disabling this "feature"?  Thanks in advance
> >>
> >> That's not a bug, it's a feature :-). Seriously, it's designed to
> >> happen
> >> that way with the 2.2 kernel. Why wouldn't you want it to do that? I
> >> see
> >> no reason to offhand. You could of course always delete them by hand
> >>
> >> probably with the 'route' command if you insisted, but I don't think
> >>
> >> there is a way to return to the old (pre-2.2) behaviour.
> >>
> >>                 Regards,
> >>
> >> --
> >>                         Marco van den Bovenkamp.
> >>
> >>         CIO EMEA Network Design Engineer,
> >>
> >>         Lucent Technologies Nederland.
> >>         Room: HVS BZK 32
> >>         Tel.: (+31-35-687)2724
> >>         Mail: [EMAIL PROTECTED]
> >
> try explicitly assigning the ip mask, i.e.
> route add -net  xxx.xxx.xxx.xxx netmask 255.255.255.0 eth0
>
> Jerry


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

From: Vorname Nachname <[EMAIL PROTECTED]>
Subject: Re: Specialix
Date: 3 Feb 1999 16:00:37 GMT
Reply-To: [EMAIL PROTECTED]

The Linux 2.0.x-kernel has support for the Specialix IO8+ card.
I think it will make the Specialix ports appear as "normal" serial
devices, so you can just start getty-processes on them to handle
the attached terminals.
- Roy

G.H. Associates Ltd, Manchester, UK wrote:
> 
> Hi,
> 
> Does anybody know of any linux software allowing you to use a Specialix card
> and block, thus allowing you to attach terminals to a machine?
> 
> Help would be much appreciated!
> 
> Cheers,
> 
> -Rick-

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

From: "Robert Barnette" <[EMAIL PROTECTED]>
Subject: Re: Remote Access with root by telnet?
Date: 3 Feb 1999 16:08:41 GMT

Look at the "securetty" file in the /etc/ directory and either remove or
comment out the lines that list the secure TTY locations.  Those are listed
as places where root can't telnet in from.  When you remove them, root can
come in from anywhere.

Later,
Robert

Bruno Camara <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> 
> I would like to know how to allow a host receive telnets (or rlogins) 
> with root. I'm using RH5.0.
> 
> ----------------------------
> Bruno Camara
> Insituto Superior Tecnico
> [EMAIL PROTECTED]
> ---------------------------
> 
> 
> 

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

Subject: How to setup 2 NICs in RH5.2
From: [EMAIL PROTECTED] (wlo)
Date: Thu, 04 Feb 1999 02:28:38 GMT

Hi all, I am trying to setup the second NIC card inside my linux for IP 
masqurading.  However, Linux can only see one card.  Is there any specical 
procedures that need to be done in the OS in order to do this ?  The two cards 
are SMC 8216 I/O: 300 IRQ :10, and SMC 8416 I/O 320 IRQ:15 running on AMD 486 
133mhz.  I have done the following:

1. From DOS, I can run EZsetup (Diag tool) .  Both cards can be detected 
properly.

2. Linux only see eth0  SMC 8216 and assigned with IP add.  If I take out  the 
8216 and leave the 8416 inside, reboot linux , it will see the 8416 card as 
eth0.  eth1 is just never want to show up. 

3. Replaced SMC 8416 NIC with 3COM 3C509, same situation.  It can be 
individually regconized by Linux but eth1 will never not show up.

Is there anything that I need to do in order to get them coexist together ?   

Please help ...  Many thanks in advance...


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

From: [EMAIL PROTECTED] (Paul Greene)
Subject: trouble with Linksys ethernet card
Reply-To: [EMAIL PROTECTED]
Date: Wed, 03 Feb 1999 21:39:21 GMT


I have a system (Slackware with a 2.0.34 kernel) that is having
trouble recognizing a Linksys 16 bit ethernet card (an NE2000
compatible).

The card is set to use IRQ 5, and i/o address 0x300 through it's own
setup program. When I do a "cat /proc/interrupts", the IRQ listing
shows that IRQ 5 is not being used so there shouldn't be a conflict
problem.

In the file "rcd.modules" the line for NE2000 compatible is
uncommented; this is what I've got:

 i/o=0x300 irq=5  # I added the irq=5 argument; is that the correct
way to add the IRQ number?

When booting, the system gives an error message that the "card is not
being detected by the system, so either add a line for it in
rcd.modules or comment it out completely in <some other file>" (this
is paraphrased, obviously; I'm going from memory, the linux system is
at home and I'm writing from my office computer).

On the chance that the card is defective, is there some kind of test
that can be done to check the card itself?

Any suggestions?

Thanks in advance.

Paul Greene



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

From: Rick Onanian <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux,comp.os.linux
Subject: Re: Will Linux work with a Cable Modem???
Date: Wed, 03 Feb 1999 11:40:25 -0500

Father QAA wrote:

> My family is getting Comcast @ home cable modem service. I believe that
> the cable modem is actually a router that is accessed through a network

Pretty much, it's easier just to think of it as a regular modem with a weird
connection..:)

> I was also wondering, and am pretty sure that Windows 95 computers can
> network to the modem via a hub to the linux server via TCP/IP???? I am

It's not quite THAT easy.  What you have to do is to set up the Linux box to
run IP Masquerading - that will allow you to set up your own in-home
network, and use only one real internet IP - @home only gives you one.
Check out the CableModem, Multiple-Ethernet, Ethernet, and IP Masquerading
HowTos - http://www.linux-howto.com is a good place to start. erver, so any
tips

> on that would be appreciated too. Can I also sell off bandwith by having
> friends dial in to my cable modem access? I might want to become my own
> ISP  =)

Check the contract with @home for legal problems with that. Otherwise, you
can use the same IP masquerading for that as you set up for your home PCs.

> Security for the website is also a thing. How do you setup linux to only
> let web surfers access certain directories and not others??? Just
> wondering...

Most distributions are already set up that way - I have debian and the only
tree users can www to is under /var/www - if they try any other directory,
they get Access Denied.

> Oh and thanks for anybody who helped me on PPPD, It was a real pain, but
> I think I got it.
> Mike Tin
> Please Respond via Email at [EMAIL PROTECTED]

I responded both email and to the group.

  rick
BTW, this is a very common setup.  I have the same setup running now, as do
many others, ever since cable-modems came out..:)


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

From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: linux.redhat.install,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: Help with simple manual network configuration
Date: Wed, 3 Feb 1999 18:32:34 -0800

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> Robert Montgomery wrote:
> > 
> > When I do a netstat -nr I get this:
> > 
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags   MSS Window  irtt
> > Iface
> > 24.65.228.0     0.0.0.0         255.255.255.0   U      1500 0          0
> > eth0
> > 127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
> > 0.0.0.0         24.65.228.1     0.0.0.0         UG     1500 0          0
> > eth0
> > 
> > Also, I noticed that I can ping my own IP, but not the gateway or either
> > nameservers, so I'm not even getting out at all...  Should I see the
> > nameservers listed with a netstat -nr?  If so how do I add them?
> > 
> > Another thing I noticed is that when my system attempts to do a network
> > reload (/etc/rc.d/rc5.d/s10network),   I get an error saying "netmask
> > doesnt match route address".  Does this make any sense?
Which means that there is a route declaration that isn't correct. You may 
not be on a full class-C network (255.255.255.0) but on a subnet (like 
255.255.128.0 or something).
> 
> There is something strange here.. the ip assigned to your computer is
> 24.65.228.0, correct?

I think you have misinterpreted the output of netstat. "netstat -nr" 
shows the routing table without name resolution and in this case it's 
showing that:
1) LAN 24.65.228.0 is connected to eth0
2) LAN 127.0.0.0 is connected to lo
3) the default route is to 24.65.228.1 via eth0
This all makes sense to me, provided that the ISP is using a full class-C 
network.

So, I suggest checking the output of ifconfig. It should say that your ip 
address is 24.65.228.x with netmask 255.255.255.0 and broadcast 
24.65.228.255 if you are on a full class-C. If it's different, then your 
routing table doesn't match the interface's settings or vice versa.

Hope this helps,

Luca
-- 
Luca Filipozzi <[EMAIL PROTECTED]>

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

From: Jack Ryan <[EMAIL PROTECTED]>
Subject: Suggestions for a small network
Date: Wed, 03 Feb 1999 21:34:10 -0500

I'm a Linux neophyte and need suggestions on my small 3 machine network.

I currently have a Win 98 and NT 4 server networked. When I try to
configure my RH 5.2 box, I cannot even ping the NT server. I changed the
default gateway to the NT server IP address because it is the DNS
server. I noticed on the IFCONFIG that packets were TX but errors on RX.

What should the settings be for a non-routed network? I simply used
three different IP addresses for each machine and made the apporpiate
entries in the hosts file.
Should I let the RH box do the DNS?
I'm struggling to learn this linux, but anything is better than NT.
Thank God for a K/V/M switch.
Assistance appreciated.


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

Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Newbie Q: Linux Box as Router, Server, Gateway?
From: [EMAIL PROTECTED] (Stuart Lynne)
Date: Thu, 04 Feb 1999 02:33:06 GMT

In article <790f12$eri$[EMAIL PROTECTED]>,
Cyrus Mehta  <[EMAIL PROTECTED]> wrote:
>I  Looked at edge.firplug.net and it seems good, but does it allow me to run a full 
>LInux server too
>for Samba, hylafax, etc.  It seems like just a simple router solution for an old box.

Yes, exactly. I far prefer to keep Samba on a machine inside the firewall. It 
is safer. Also simpler to configure and upgrade if the two functions are on 
separate servers.

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

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


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