Linux-Networking Digest #597, Volume #11         Sun, 20 Jun 99 11:14:15 EDT

Contents:
  Re: MultiIP topology question (Nun Kirdnoom)
  NT Workstations network with Linux server? ("Ola Abrahamsson")
  Re: rh 6.0 and netcfg (Ty)
  PPP question ("Steve Willis")
  Re: SAMBA (Orange)
  multiple DNames per 1 ip address (Liselotte)
  Re: ISDN Adapter problems (Michael Wilson)
  10/100 pcmcia performance under Linux (Ariel Biener)
  Re: IP Masquerade vs proxy (Daniel Wilson)
  Re: Help setting up Transparent Proxy/Firewall (Daniel Wilson)
  Re: PPP again, and again, and... (Daniel Wilson)
  Re: initab trick ! ("Greg")
  Routing problem with 5 NIC's ! (Andre Cesari de Oliveira Minelli)
  error: received bad configure nak/rej 12 00 00 00 ("John Vasago")
  IPX-Routing (Sven Holz)
  Dial-up Networking ("boomer")
  Re: IPS in Pittsburgh Area (Dante D'Elia)
  Re: BNC Cable Limit in a peer  to peer n/w ("Timothy Clarke")
  Re: PAP: Password Authentication Protocol (Joseph DeGraw)
  Re: Please! just plain email???? ("Anders Gulden Olstad")

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

From: Nun Kirdnoom <[EMAIL PROTECTED]>
Subject: Re: MultiIP topology question
Date: Sun, 20 Jun 1999 08:02:56 GMT

You can get by with just one real IP address.  Here is my notes.

IP Masquerade/Routing and DHCP

This is my version of howto setup the hardware.  I have two identical NICs
that are Linux friendly.  It will save you time later.  I used Mandrake 5.3
instead of Red Hat 5.2.  Red Hat has no problem seeing my 3C905B but it only
run at 10mb.   Seem like it probe for the card, found it and try at lower
speed first and it stopped instead of try it for 100mb.  Mandrake will set
the card to 100mbit and will operate at that speed.

I had both of the card on the machine.  Make sure that there is no IRQ and
I/O address conflict on your hardware before you start to install Linux.  It
would be nice to have video card that Linux friendly.  I used X to config
the networking part later and I don't know how to do it without X.  Once the
hardware is in place you can proceed the Linux installation.  I usually tell
it to install everything and peel off what I don't need later.  Make sure
that you label your network cable so you know which cable is internet and
which is local.  The installation will only config one of the NIC.  I
connect this NIC (eth0) to the internet.  I used static IP for my internet
address. Let say I have a real address and it is 206.81.194.33.   Input your
information for this NIC (hostname, IP address DNS and etc.).   After it's
all done you should be able to ping or www to the sites on the net.

Start X and run /usr/bin/netcfg and click on the "Interface" button.  You
should see the lo, eth0 and eth1.  Highlight eth1 and click on "Edit".  I
setup my internal IP to 192.168.1.1, mask 255.255.255.0, check on "Activate
interface at boot time" and "Interface configuration protocol" = none.
Click on "Done" and save the configuration.   Then click on the "Routing"
button.  Check on "Network Packet Forwarding" and click on "Save" button.

Add the following lines to /etc/rc.d/rc.local.
>    echo "Start IP Masquerate and Routing"
>    ipfwadm -F -p deny
>    ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

Next step is to setup a DHCP server on the local side so you can plug a
machine on this side without having to deal with reconfig the client
machine.  Create a file
/etc/dhcpd.conf with the content below.

# Change acme.com to your domain name and change your IP address to fit your
environment.
server-identifier 192.168.1.1;
server-identifier 206.81.194.33;

option domain-name "acme.com";
option domain-name-servers acme.com;

subnet 206.81.194.0 netmask 255.255.255.0 { }

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.50 192.168.1.100;
option domain-name "acme.com";
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
default-lease-time 3600;
max-lease-time 7200;
}



Add the following lines to /etc/rc.d/rc.local.
>    echo "Start DHCP setup"
>    /usr/sbin/dhcpd -cf /etc/dhcpd.conf
>    /sbin/route add -host 255.255.255.255 dev eth1

Then create a blank file /etc/dhcpd.leases.  This will setup a DHCP server
on the local side.  If you want to set up DHCP on the internet side you need
to add more info inside the {} for subnet 206.81.194.0 netmask 255.255.255.0
{} side.   Reboot your machine and hopfully it should work.

Now you can test your setup by plug a machine on the local side (eth1).  You
can have a DHCP server running on the 192.168.1.0 network as described above
so you don't have to hard code the test machine.  Or you have to assign a
static IP.  I set the default gateway on the test machine to 192.168.1.1
(this is important) and the IP address of the test machine to 192.168.1.2
(if you do not have DHCP setup).  Hopfully your test machine can see the
internet.  Email me if you run into any problem or have some good idea.


Kevin Deane-Freeman wrote:

> I have three PC's, two of which are connected to @Home.  The third PC
> runs Linux for an internal network server.  I would like to have all
> three PC's connected internally with 192.168.0.x IPs and the two @home
> connections remain on the two PC's.  Question is...can this be done with
> only one Hub and one NIC in each PC or does it require 2NICs/Hubs?  So
> far, I seem to be having limited success with just the one NIC in each,
> but it's soo close, I'm not sure whether the config. is not right or the
> hardware.
>
> Any advice would be greatly appreciated.
> cheers,
> Kevin
>
> Config:
> PC1
> K6-2 350
> Tulip PCI NIC
> Win98
> @home & Internal node
>
> PC2
> K6-266
> Tulip PCI NIC
> Win98
> @home & Internal Node
>
> PC3
> P166 MMX
> Tulip NIC
> Redhat 6
> Internal Server Only


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

From: "Ola Abrahamsson" <[EMAIL PROTECTED]>
Subject: NT Workstations network with Linux server?
Date: Sun, 20 Jun 1999 13:02:05 +0200

Please can someone give me some tips about or where I can find good "HOW TO"
to make a network with five Microsoft NT 4.0 workstations with a Linux
server for file and print.
I like step by step instructions

Regard
Ola A.
[EMAIL PROTECTED]





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

From: Ty <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: rh 6.0 and netcfg
Date: Wed, 16 Jun 1999 14:06:28 -0500

Anthony Ewell wrote:

> Hi,
>
> I can not get netcfg to run under red hat 6.0.  I get the following
> error:
>
>       File "/usr/lib/rhs/netcfg/netcfg.py", line 29, in ?
>             from rhentry import *
>                 EOFError: EOF read where object expected
>
> anyone have any ideas?
>
> Many thanks,
> --Tony
> [EMAIL PROTECTED]

Do you have python installed, I think the py extension indicates a
python file.  I'm new and learning too, but I think python is a
scripting language like perl and is used program dialog boxes and uses
other widget things (whatever the heck they are).

I'd start with selecting to install python from the rh distro.

Tyrone



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

From: "Steve Willis" <[EMAIL PROTECTED]>
Subject: PPP question
Date: Sun, 20 Jun 1999 04:59:25 -0700

I am a new user to Linux, using Redhat 5.2.  I followed the instructions at
http://www.ftrend.com.my/linux based on an answer to an earlier question to
this newsgroup (thank you!).

I can use Minicom to dial my ISP.  However, when I execute my ppp-on script,
nothing happens (I don't hear the modem "click" on).  The following appears
in my /var/log/messages:

Jun 20 04:41:55 localhost kernel: PPP line discipline registered.
Jun 20 04:41:55 localhost kernel: registered device ppp0
Jun 20 04:41:55 localhost pppd[774]: pppd 2.3.5 started by root, uid 0
Jun 20 04:41:56 localhost pppd[774]: Serial connection established.
Jun 20 04:41:57 localhost pppd[774]: Using interface ppp0
Jun 20 04:41:57 localhost pppd[774]: Connect: ppp0 <--> /dev/modem
Jun 20 04:41:57 localhost pppd[774]: Serial line is looped back.
Jun 20 04:41:57 localhost pppd[774]: Connection terminated.

Does this point to anything?  What does "Serial line is looped back" mean?
If anyone has an answer, please let me know in *simple* terms (this is my
fifth day with Linux).

Thank you!

Steve Willis
[EMAIL PROTECTED]




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

From: Orange <[EMAIL PROTECTED]>
Subject: Re: SAMBA
Date: Sun, 20 Jun 1999 20:01:40 +0800

Hello,

Tiger wrote:
> 
> when I click on my account in the network neighborhood icon I get a prompt
> to enter a password. when I enter the password it dos not recognize it? any
> help would be appreciate it.
> 
> I have set Samba with password encryption in the smb.conf also Linux as the
> master server to yes.

Just setting the 'Password Encryption' to 'yes' isn't enough. Have you
make the smbpasswd hash ?

Orange

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

Date: Sun, 20 Jun 1999 05:13:05 -0700
From: Liselotte <[EMAIL PROTECTED]>
Subject: multiple DNames per 1 ip address

Hello, I am in a dilemma,

I've been promoting linux as perfect solution for local .orgs etc. and
now am "given" an IP address with server to prove it's ability.  Need
help finding answers to following question ASAP:

Where can I find out how to set-up DNS for multiple domains (such as
domain1.org, domain2.org et cetera) going to one ip number?

Machine is running RH 6.0+updates.

Is the configuration in Bind, or Apache? Or do I add a CGI/Perl routine
or?  Is there a specific phrase that refers to this process?

I know how to set-up dns master for one d-name per ip address-number,
and have read O'reilly's DNS + BIND etc., but still unclear about procedure/protocol...

Your help is greatly appreciated.

Lise

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

From: Michael Wilson <[EMAIL PROTECTED]>
Subject: Re: ISDN Adapter problems
Date: Sun, 20 Jun 1999 13:17:21 +0000

Martin Hearn wrote:
> 
> Hi there
> Has anyone managed to get an Elsa Quickstep 1000 Pro PCI (ISDN) card working
> under Red Hat 5.2  or Linux Kernel 2.0.36
> Thanks
> Martin

apparently you can't get it to work unless you install isapnptools....
if you jump to the 2.2.x kernels you will find that the kernel supports
the elsa quicksetp 1000 pci (I have one )...

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

From: Ariel Biener <[EMAIL PROTECTED]>
Subject: 10/100 pcmcia performance under Linux
Date: Sun, 20 Jun 1999 11:38:56 GMT

  Hello,



    I am looking for a 10/100 pcmcia card for Linux that is capable of
>=45Mbit/s full duplex thruput.

    We're sending someone to the US, with a Laptop (Dell Latitude),
where he'll be testing a T3 satellite link. We need solid performance
from the pcmcia 10/100 card, in order to be able to creat streams of at
least 45Mbit/s (both ways).

    Does anyone have good experience with such a pcmcia card, and did
you test the card under such conditions ?


--Ariel


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Daniel Wilson <[EMAIL PROTECTED]>
Subject: Re: IP Masquerade vs proxy
Date: Sun, 20 Jun 1999 13:32:29 +0100

Joe O'Connell wrote:
> 
> I've used a proxy server in a Windows LAN, and I've recently installed a
> Linux file server for this Windows LAN (about 15 nodes).  I don't understand
> the difference between a proxy server and IP masquerade.  Are they the same
> thing?  I've set up and maintained WinProxy, which is a program that
> provides Internet service to the LAN using a single IP address.  Isn't this
> the same concept as IP masquerade with only a different name?


I'm not sure but I think your WinProxy software might use a form of
resource sharing called SOCKS, which is different from IP-masquerading.
I know that the Wingate software uses SOCKS.

*******
Dan

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

From: Daniel Wilson <[EMAIL PROTECTED]>
Subject: Re: Help setting up Transparent Proxy/Firewall
Date: Sun, 20 Jun 1999 13:34:44 +0100

Mike wrote:
> 
> If the windows boxes are on the same subnet as the internal interface
> of the linux box,  you'll need to set the default gateway for the
> windows boxes to the address of the internal interface of the linux
> box. (was that redundant? redundant?) anyway, that way all packets not
> destined for the local LAN will be sent to the linux box which will
> then forward them. I'm not real sure about the proxying capabilities
> of linux yet, but if it's possible to run an http proxy on linux, you
> could set the browser on the windows boxes to use the linux box as a
> proxy.
> HTH
> mike
> 

AFAIK you can use ipfw to do transparent proxying my redirecting all
out-bound connections on port 80 to the localhost on your proxy-server's
port.  I haven't tried this tho...

************
Dan

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

From: Daniel Wilson <[EMAIL PROTECTED]>
Subject: Re: PPP again, and again, and...
Date: Sun, 20 Jun 1999 13:42:27 +0100

Ken Farmer wrote:
> 
> From the posts, I see that setting up PPP is a problem that most newbies
> seem to stumble over.  Anybody got any ideas on the subject.


perhaps you are not specifying the defaultroute option when you run pppd
?

if you specify this option then pppd will make the default route thru
the ppp interface it just set up. 

worth trying...

**********
Dan

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

From: "Greg" <[EMAIL PROTECTED]>
Subject: Re: initab trick !
Date: Sun, 20 Jun 1999 08:51:50 -0400

Thanks Frank this is the one I was looking for : )

I guess this falls under forget what we know
and know what we forgot :)

Greg.

Frank Haynes <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In comp.os.linux.networking you write:
> >I'm running RedHat 5.1 here is it possible to stop and start
> >the /etc/initab file with out rebooting..? I need to test a program
> >and want to be able to stop it from respawning while I do the
> >edits and be able to restart it from the /etc/initab.
>
> How 'bout "telinit q"
>
> --Frank
>


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

From: [EMAIL PROTECTED] (Andre Cesari de Oliveira Minelli)
Subject: Routing problem with 5 NIC's !
Date: 20 Jun 1999 13:35:00 GMT

  Hi,
  Let me explain from the beginning:
  I have a Linux box with 4 PCI NIC acting like a router to 4 sub-nets
(say 192.168.23.0, 192.168.24.0, 192.168.26.0 and 192.168.27.0). Below you
can see how it's working now (I cut out 192.168 part to abreviate):
 ISP
Router ------------------------ hub ------
(26.254)      optical fiber              |
                                         | (26.1)
                        Linux (Slack 3.7 / Kernel 2.0.36)
                (23.254)|       (24.1)|         (27.254)|
                        |             |                 |
                      hub            hub               hub

  I think will be better if I add one more NIC connected directly to the
optical fiber and put the 26.1 card working only like a gateway to 26.0
subnet (isolating this subnet of traffic generated from the others 3
subnets going out across optical fiber link). Well, a tried to do that,
but since I don't have any empty PCI slot I put a ISA NIC. I had no
problemas recognizing and setting up this 5 cards (loading ne2k-pci
module first and then loading ne module). Then I setup the routes:
route add -net 192.168.23.0 broadcast 255.255.255.0 eth0 (23.254 card)
route add -net 192.168.24.0 broadcast 255.255.255.0 eth1 (24.1 card)
route add -net 192.168.26.0 broadcast 255.255.255.0 eth2 (26.1 card)
route add -net 192.168.27.0 broadcast 255.255.255.0 eth3 (27.254 card)

the very same routes in the previous setting. eth4 (ip # 26.5) got the
fiber and I replace the previous default route by the following 2 routes:
route add -host 192.168.26.254 eth4
route add default gw 150.164.26.254 metric 1

Sounds good, doesn't ? Once logged into the Linux box I can ping any
machine in any subnet ( including 26.254 ) and from there I had normal
access to Internet. BUT, from any machine in any subnet ( to say the
truth, I really don't tried all machines, but one in each subnet ...), I
cannot get out to Internet. However, any of this machines receive response 
when pinging the 26.5 card... Any clues ? To me the only reason could be
the mixing of PCI and ISA cards. Before you ask, all PCI cards are Realtek
8029 and the ISA I really cannot remember now :)

  Thanks,

Andre Minelli


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

From: "John Vasago" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.network,comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.setup
Subject: error: received bad configure nak/rej 12 00 00 00
Date: Sun, 20 Jun 1999 15:06:55 +0200

Dear,

I'm a newcomer to linux and tried to connect to the internet

After setting up my PPP without the PAP authentication I connected
with ifup ppp0 (redhat 5.2 distribution).

I got connected but then I received a message in the /var/log/messages file
that said

received bad configure-nak/rej 12 00 00 00 ??

The ?? is another number I can't recall.

I couldn't connect with netscap to the internet. Ping didn't do it either

Anybody an idea how to solve this


Regards

John Vasago.







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

From: Sven Holz <[EMAIL PROTECTED]>
Subject: IPX-Routing
Date: Sun, 20 Jun 1999 16:16:32 +0200

Need some help with ipx routing, some details what kind of frames and
how to configure the clients, i do not have many infos about ipx so i
would be happy about every kind of help

thanx

sven holz

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

From: "boomer" <[EMAIL PROTECTED]>
Subject: Dial-up Networking
Date: Sun, 20 Jun 1999 23:50:23 +1000

Hi,
    Im looking for info on setting up dialup networking from
windows(95/98/nt) to work with linux.
Eg: open up the dialup networking connection window and hit connect, and
when I want to disconnect hit disconnect.

I dont know if this can be done, but im surprised I havent seen some
drivers/programs for this yet. I dont want dial on demand as it doesnt suite
my needs.

Any info on this would be appreciated.

    Ian




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

From: [EMAIL PROTECTED] (Dante D'Elia)
Crossposted-To: alt.os.linux.redhat,linux.admin.isp,linux.redhat.ppp
Subject: Re: IPS in Pittsburgh Area
Date: Sun, 20 Jun 1999 14:16:00 GMT
Reply-To: [EMAIL PROTECTED]

I use Earthlink from Pittsburgh (over the years, found it to be the
most reliable and fastest connection, although the local ISPs might be
better now than when I was using them).

If you're having trouble connecting to earthlink thru linux, check the
earthlink unix hangout newsgroup.   There's a current thread that
helped me get my dialup to earthlink going pretty easily.  



On Fri, 18 Jun 1999 22:01:35 -0000, "Lilley Kathy"
<[EMAIL PROTECTED]> wrote:

>Am moveing to the Pittsbugh area(New Castle) and I am looking for an ISP the
>supports Linux. I am Dumping current ISP(Earthlink), they have been less the
>helpful.
>
>Thanx
>
>
>



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

From: "Timothy Clarke" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: BNC Cable Limit in a peer  to peer n/w
Date: Mon, 21 Jun 1999 02:35:13 +1200


Leslie Mikesell <[EMAIL PROTECTED]> wrote in message
news:7kh5fj$1hf9$[EMAIL PROTECTED]...
> In article <7khuhj$29i$[EMAIL PROTECTED]>,
> Manohar Singh <[EMAIL PROTECTED]> wrote:
> >hi there,
> >    I use a small office LAN comprising of 4nodes running on a Linux
> >server.I now need to connect another computer into this LAN which is
about
> >25 mtrs away from  the server. I cannot afford to use repeaters or
expensive
> >hardware and so can i use a BNC cable to induct this computer into the
peer
> >to peer thingy? I use the  LAN in a cyber cafe setup to surf the net
through
> >a 56 kbps dial up line
>
> You can have up to 30 attachments and a total of 185 meters on thinnet
> coax.  Note that a 10BaseT hub is actually a repeater. They are
> not all that expensive and some include coax connectors if you want to
> keep your existing segments.  Coax should handle your situation but
> 10Bt tends to isolate problems and it is easy to add and disconnect
> stations without disturbing the others.
>
> >    Secondly : what is the maximum distance that  a Hub-NIC-BNC cable
peer
> >to peer network can sustain at 10base 100 Ethernet LAN ?
>
> Hubs are typically simple repeaters.  An all-10Meg hub allows the
> full 185 meters on the coax, 100 meters on each 10BaseT. If it also allows
> 100Meg, it is acting as a switch although it may combine all of
> each speed and only act as a switch between the two.  There are
> differences between brands in respect to the way the different
> speed connections are handled.  The 100Bt length is also 100 meters
> (each) but the cable must be rated at cat 5.
>
>   Les Mikesell
>     [EMAIL PROTECTED]

I thought that  the total length of thinnet (coax) was 500m (hence the
reason it is used for longer runs)
A twisted pair can only be 100m between hub and computer (90m cat 5 + 10m
patch)
With Thicknet (AUI) having a total length of 1500m and fibers are something
like 20km without a repeater

Tim



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

From: Joseph DeGraw <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.help
Subject: Re: PAP: Password Authentication Protocol
Date: Sun, 20 Jun 1999 09:03:13 -0400

Bill Unruh wrote:.In <Bp9a3.7633$[EMAIL PROTECTED]> "Rob Duff"
<[EMAIL PROTECTED]> writes:

>
> >PS - please reply by email and post if possible...
> >PPS - remove the NO SPAM from my email address to reply to me...
>
> Lets see. You ask for help, you then tell people they should write to
> you but that they should jump through a few hoops before they do so as
> well. Do you also charge people for the priviledge of helping you as well?

Bill,

If changing an address is "Jumping thru Hoops" then might I suggest windows instead of 
Linux for
you.

Still having problems? Let me help you out bill: [EMAIL PROTECTED]

He asked a straight forward question and you couldnt even give a decent reply.  Why 
then did you
even bother replying to the post??

robnjo: Im sorry, I dont know the answer. But, You might look for a howto or faq on it 
maybe. I
only use pap on my dialup connection to isp.

coffee



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

From: "Anders Gulden Olstad" <[EMAIL PROTECTED]>
Subject: Re: Please! just plain email????
Date: Sun, 20 Jun 1999 13:27:53 GMT

Mark Orr <[EMAIL PROTECTED]> wrote:
> I can't get MSN to give me my mail while running a Linux. Please... I've spent 
>months. Help me find a free email service that works well with Linux. I just want to 
>read messages in the terminal... not even turn on the browser. Would be nice to also 
>download attachments... but sheesh... anything would help. Tanks
> MSO 

Doesn't hotmail support pop3 connections? If so, you could have a solution,
running fetchmail to get your pop mail (delivered to your local mailserver) 
and your console mailclient of choice to read it.

I use this against my ISP.
-- 
Anders Gulden Olstad @ Brinkley | * * * * * * * * * * * * * * * * * * * * 
RedHat 6.0 Linux kernel 2.2.5   | "Penguins are generally nice creatures"

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


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