Linux-Networking Digest #751, Volume #9           Sat, 2 Jan 99 06:14:47 EST

Contents:
  Re: How do I prevent a group from telnetting? (Miguel Cruz)
  Re: Q:Configuring 2 local subnets (Jim Small)
  Re: Setting up a proxy server to distribute a cable modem signal ("KJT")
  Re: 3c509b driver (Duncan Simpson)
  Re: /dev/modem Serial Port PPP? (Daniel Taylor)
  Re: Problem setting up homenetwork with 3c509b. ("Dana J. Laude")
  Mongo network/setup problems. take these piecewise! (Michael Schwager)
  Help: linux on Hitachi Visionbook Pro 7630 (Guowei Sun)
  Re: Compaq Netelligent NIC (Kazin)
  Baldurs Gate and IPMasq help (Jeffery Jones)

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

From: [EMAIL PROTECTED] (Miguel Cruz)
Crossposted-To: alt.os.linux
Subject: Re: How do I prevent a group from telnetting?
Date: Sat, 02 Jan 1999 06:50:18 GMT

Miguel Cruz <[EMAIL PROTECTED]> wrote:
>Stuart MacDonald  <[EMAIL PROTECTED]> wrote:
>> Do "man chmod" and learn about file permissions. Then turn off
>> executable permissions for others and group on the telnet command.
>
>Then they will just ftp their own telnet binary in. Or email it to
>themselves. Or whatever.

If you have an extra machine, here's another solution.

Set it up as a firewall for the first machine, to not allow outbound telnets
at all to pass through. Then set up the trusted users with shell /bin/telnet
on that machine.

miguel

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

From: Jim Small <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.sco.misc,comp.linux.networking,comp.unix.admin
Subject: Re: Q:Configuring 2 local subnets
Date: Sat, 02 Jan 1999 06:50:35 GMT

If you want to subnets to have different network addresses (1.1.1 and
2.2.2 in your example) then you need a router for them to communicate.
Each hub would have to be plugged in to a port on the router.  The router
can either be hardware based (eg cisco) or software based (use your UNIX
server).

If you use your UNIX server, you will need to configure routing and have
2 NICs in the server, one to talk to each hub.

<> Jim


Lucio Biondi wrote:

> Hello guys, I've got a configuration trouble (maybe a silly one but I
> can't work it out:( with a Unix net.
>
> The situation is:
>
> I've got two subnets here in my office (lets say 1.1.1.x and 2.2.2.x)
>
> Each one has got its own hub.
>
> What I want to do is to connect the two hubs so that the subnets can
> talk each other. It would be nice not to use any extra HW.
>
> Is this possible???
>

--
Jim Small                                             Try not.
(Remove ".thwartjunk" to send me E-mail)              Do, or do not.
Systems Administrator                                 There is no try.
Weathervane Window, Inc.
Brighton, MI                                            - Yoda
www.wvwindow.com



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

From: "KJT" <[EMAIL PROTECTED]>
Subject: Re: Setting up a proxy server to distribute a cable modem signal
Date: Sat, 02 Jan 1999 09:27:47 GMT

>[EMAIL PROTECTED] wrote in message
><[EMAIL PROTECTED]>...
>>     I have a cable modem signal coming into my house, and have
>>decided to set up a network to split the signal into 2 seperate IP
>>addresses so my roommate and I can both use the connection
>>simultaneously.  I was told linux would handle this best, so I picked
>>up Red Hat v5.2 to throw on an old 486 I have sitting around to use as
>>the proxy server.  I'm in the middle of the installation, and it
>>struck me that I have very little idea as to how to exactly go about
>>doing this.

I am attempting to do the same thing.  I have setup a server with RH v5.2.
I used the default server installation.  I think what you would want to do
is put two network cards in your server and setup the server as a firewall
and add the proxy server after you get the firewall to work.  I just checked
the HowTo's at the www.linux.org site.  The HowTo's you want are the
Ethernet, Net-3, Firewalling and Proxy Server and the Cable Modem Mini
HowTo.  I have the cable modem up and working, I just have the firewall and
proxy server to do.  The Firewall and Proxy server howto suggest that you
use a Proxy Server called TIS.  It's free and you can get it at www.tis.com.

Kevin J. Thompson
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: 3c509b driver
Date: Sat, 02 Jan 1999 06:40:38 GMT

In <[EMAIL PROTECTED]> Dan Kegel <[EMAIL PROTECTED]> writes:

>Mark Spiteri schrieb:
>>     I am using RedHat 4.1 and I cannot find the driver for my 3com 3c509b

>I may be out of line here, but why not just upgrade to 
>Red Hat 5.2?  It is compatible with the 3c509b, and
>I have had no trouble with that combination.
>- Dan

Sadly the 2.0.36 chnages to 3c509.c seem to totally break actually
detecting one of these cards. RH 5.2 uses 2.0.36 and does not detect
these cards.

RH deserves special priase for either missing a depency on mount or
creating rc.sysinit capable of toally breaking some systems. Removing a
couple of mount commands and changing the last one fixed it...however
I could have donee without that making my day.

I have posted detials opf a case including the H/w address. Hopefully
someone will get back to me or a newsgroup with a fix. 2.0.32
works. Hopefully 2.2.0 will have the fix applied as well.

Duncan (-:



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

From: [EMAIL PROTECTED] (Daniel Taylor)
Subject: Re: /dev/modem Serial Port PPP?
Date: Sat, 02 Jan 1999 06:40:41 GMT

noname <[EMAIL PROTECTED]> wrote:
>On 13 Dec 1998 08:56:31 -0600, [EMAIL PROTECTED] (Clifford
>Kite) wrote:
>
>>noname ([EMAIL PROTECTED]) wrote:
>>
>
>>: and/or ttyS1 to proper place for the modem to point to? Do I need to
>>: edit something in /etc/rc.d/rc.serial? What? I sense I am close but
>>: not quite there yet.
>>
>>The serial device node configuration is set in /etc/rc.d/rc.serial,
>>in your case with something like
>>
>>${SETSERIAL} /dev/cua1 uart 16550A port 0x2F8 irq 4 spd_vhi
>>
>>where SETSERIAL="/bin/setserial -b".  This assumes no PnP is being used.
>>You can get more information about setserial by "man setserial".
>>
>>Note that com2 usually is assigned IRQ3 so be sure that IRQ4 is right
>>for you or the modem will be *very* slow.
>
>
>Ok, great, making progress. I got the modem pointing at the right cua1
>ok. that turned out to be from guessing wrong (on my part) during the
>setup. /dev/modem is correct now. I've still got an error message in
>/var/log/messages about failing the ppp thing that says something
>about ttyS0 so I'm still missing a config mod somewheres. com2 is
>irq3, I was remembering that wrong also.
>

When in doubt, specify. 
Try running pppd from the command line, being _very_ specific
about all the details you know (you can generally leave off IP
addresses or use ":").  Tell it to use ttyS1 (same as cua1, but 
it will kill pppd when the modem hangs up).

I had to cut-and-paste from the man page to get mine working
the first time. (too long ago)

-- 
Daniel Taylor      Digi International 
[EMAIL PROTECTED]   (612)912-3456

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

From: "Dana J. Laude" <[EMAIL PROTECTED]>
Subject: Re: Problem setting up homenetwork with 3c509b.
Date: Fri, 01 Jan 1999 20:40:36 -0600

E.M. Janssen wrote:
> 
> Hello Robert and everybody else who's interested in this sleepless nights
> creating problem grrrr#!!#### (sorry about that)

It's not unheard of to get bad cards from 3com, I've ran into this
about a year ago.  We purchased 20 or so for a client, and 8 were
dead on arrivial. Just a thought.  Btw, happy new year! ;)
--
[EMAIL PROTECTED]       Dana J. Laude, Fluid Computer Designs Ltd (US)

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

From: Michael Schwager <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Mongo network/setup problems. take these piecewise!
Date: Sat, 02 Jan 1999 06:42:17 GMT

I am attempting the following setup with RH 5.1, winnt4.0 and win95.

                    DSL Modem
                        |
                        |
                        |
         Redhat 5.1 gateway, (eventually firewall)
  3c905b-tx ethernet connected to modem = eth1, dhcp configured
    netgear ea201c connected to hub = eth0, ip=10.10.10.10
                        |
                        |
                        |
                       HUB
                       | |
                   ----- ------
                   |          |  
                   |          |
                 Winnt4.0    Win95 
             ip=10.10.10.11  ip=10.10.10.12

I am having the following successes:
1. I can get the internal-only network (10.10.10.xx) to work if I type
in the ifconfig and route command manually (i.e., not using netcfg).  So
i know the netgear card and the hub works.  Netgear card works both
compiled-into the kernel and as a module.

2. Independently, I can get the netgear card to work with dhcp, and get
out to the internet over the modem that way, but I have to use netcfg
for dhcp because I don't know how to do it manually.


I am having the following problems:
1.  Compiling both (updated) drivers into the kernel, only the 3com
ethernet card shows up in the init screen, however, ifconfig only seems
to recognize the netgear card.  I am booting from a power-off state, and
I haven't run win95 with this card, so i'm not having that problem
everyone's talking about with these 3com cards.  Question: is there
something special to do to make the kernel see both??  These are both
PCI cards, so no pnp or irq settings should be required.

2.  Compiling them into loadable modules, and loading them up manually
(insmod), ifconfig sees both of them, and they both have valid hardware
addresses.  However, eth1 (the 3com card) seems to have different
default settings.  I can set it with ifconfig to 10.10.10.10 netmask
255.255.255.0, but I have to specify broadcast 10.10.10.255 -pointopoint
or route says network is unreachable (aparently without specifying the
broadcast address and -pointopoint, it gives me the bcast:0.0.0.0 and
p-t-p).  

However, it works fine with the netgear card without specifying the
bcast and the ptp.  The only major difference that I notice with
ifconfig between the netgear and the 3com cards is that the 3comd card
says p-t-p:0.0.0.0 instead of bcast 255.255.255.255.

So since eth0 will connect with dhcp to the isp, I tried switching the
above diagram so eth0 goes to the modem, and eth1 goes to the internal
network.  With this I was able to get ifconfig to sorta work.

After route add -net 10.10.10.0 (with eth1, the 3com card), I still
can't ping my other computers on the net.  The routing table now looks
like this:

dest:           gateweay:       genmask:        flags:  If:
127.0.0.1       0.0.0.0         255.255.255.255 UH      lo
10.10.10.0      0.0.0.0         255.255.255.255 UH      eth1
208.164.98.0    0.0.0.0         255.255.255.0   U       eth0 (this is dhcp)
0.0.0.0         208.164.98.1    0.0.0.0         G       eth0 (this is dhcp)

So questions:
1. Why can't I get the dhcp to work with the 3com card?
2. After switching the two, with netgear on dhcp, why still can't I ping
my other pc's on the internal network?  Is the routing table correct for
this?  The other pc's also can't ping in to here.
3. How to I set this whole thing up with netcfg, instead of having to do
it manually?  The last panel in netcfg is the most confusing.

Thanks in advance for any and all help.
michael

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

From: Guowei Sun <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Help: linux on Hitachi Visionbook Pro 7630
Date: Sat, 02 Jan 1999 06:42:48 GMT

 I have intalled Linux (RH 5.0) on my Hitachi Visionbook Pro 7630 ,  but
  I can not get the network and
X Window working (Modem & Sound card may not work either, I have not
test it).  I appreciate it very
much if anybody can tell successful experience and information about it.

Please email me a copy when you reply. Thank you very much!

--
Guowei




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

From: Kazin <[EMAIL PROTECTED]>
Subject: Re: Compaq Netelligent NIC
Date: Sat, 02 Jan 1999 06:43:01 GMT

Leon Hutto wrote:
> 
> Has anyone been able to make Redhat (4.2)
> recognize a Compaq Netellignet 10/100 PCI NIC in a
> Deskpro 6000?  From looking at the NIC, I can see
> it has a TI chipset.  However, the TLAN driver
> included in 4.2 still didn't recognize the NIC.

        I tried a few times, since I got my hands on a bunch of those cards. 
Never got them working in Linux, and they were a pain in the arse to
deal with in Windoze as well.  I eventually just tossed them aside and
went to Token-Ring anyways.
        One thing to note is that those cards use a LOT of CPU time, a good
friend of mine was working for Compaq recently, and did a lot of network
testing.  He concluded that those cards sucked.  Compaq has stopped
making/buying them, and has switched to Intel EtherExpress based on the
test results.  Just FYI.


=======================================================================
  Mike Stella                             Software / Systems Engineer
  http://www.sector13.org/kazin            Thirteen Technologies, LLC
=======================================================================

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

From: [EMAIL PROTECTED] (Jeffery Jones)
Subject: Baldurs Gate and IPMasq help
Reply-To: [EMAIL PROTECTED]
Date: Sat, 02 Jan 1999 03:00:12 GMT

        I'm going bananas trying to get Baldur's Gate to work through
my RH 5.2 masq/firewall. I've changed default permissions to allow all
traffic both ways just to see if that worked -- to no avail. Alas I
think some port forwarding is called for. I did a tcpdump to take a
few shots at it myself but I'm too much of a rookie. If anyone has had
success with this or can offer some helpful advice I would appreciate
it. I have already checked out
http://dijon.nais.com/~nevo/masq/games.html but BG is not there yet.

Thanks for reading...

Regards,
Jeff

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


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