Linux-Networking Digest #437, Volume #10 Tue, 9 Mar 99 15:13:47 EST
Contents:
Re: Perl scripts in NT ("Ron")
Re: Linux Clusters? (Paul Wickham)
Re: how can I print to linux from windows nt use lpd (Huang Kai)
traceroute: Warning: Multiple interfaces found; using XX.YY.ZZ.QQ @ eth0 ??? (id est)
IP chains/Masq. help (GSM)
Great VAR (Chris Emig)
Re: Linux programming jobs? ("Keith Peterson")
Re: tunneling through a campus LAN ? (Rick Onanian)
Re: Linux as a router to replace school NT4 box? (Terrance Zellers)
Using SAMBA in a Netware environment? (Jude Travers-Frazier)
Re: Win95 working by now..... (Swindbert von und zur Waffel)
what are the advantages of IPv6 over IPv4?? (AhYap)
Printer Queues ([EMAIL PROTECTED])
Samba: NET USE problemo (Oliver B. Tupman)
Re: tunneling through a campus LAN ? ("Cameron Spitzer")
upgrading sendmail from 8.8.7 to 8.9.3 (John Mark Emery)
----------------------------------------------------------------------------
From: "Ron" <[EMAIL PROTECTED]>
Subject: Re: Perl scripts in NT
Date: Tue, 9 Mar 1999 20:09:48 +0100
Reply-To: "Ron" <[EMAIL PROTECTED]>
??? I suppose you're running Perl for Win32?
Then what's the prob?
Brent Corbin <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>Can anyone tell me how to get Perl scripts to work on an NT Server?
>
------------------------------
From: [EMAIL PROTECTED] (Paul Wickham)
Subject: Re: Linux Clusters?
Date: 9 Mar 1999 16:01:05 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 02 Mar 1999 18:46:41 GMT,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is it possible to setup linux servers in fault tolerant clusters -- I think
>that's the term I want, meaning two or more servers that mirror each other and
>have the same dns name and ip address, so if one dies, nothing stops?
> This obviously goes far beyond rdist, nis, etc.
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Check out the high availability HOWTO:
http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html
Paul
------------------------------
From: Huang Kai <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin
Subject: Re: how can I print to linux from windows nt use lpd
Date: Wed, 10 Mar 1999 02:37:43 +0800
Hi,
I've already made the smb print ready and running well.
But in my opinion, linux is much powerful than windows 95/nt, so there should
be something to be done to enable windows 95/nt print to linux's lpd port. Do
you think so?
BTW, the following message confused me when I want to telnet the lpd port:
[ftjn000@tjwsmmis04 ftjn000]$ telnet localhost 515
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
lpd: amrclj: Malformed from address
Connection closed by foreign host.
[ftjn000@tjwsmmis04 ftjn000]$
How to do with this error or misconfig?
kevin
Luca Filipozzi wrote:
>
> >
> I would use Samba, instead. Using lpd means making the NT/95 boxen need
> to "talk" unix. Using samba means making the linux box "talk" netbios.
>
> With samba, the linux machine shows up on the network neighbourhood of
> the NT/95 boxen. You can share printers, directories, "home directories",
> etc.
>
> Your distribution should come with some version of samba. You can get the
> latest one from www.samba.org.
>
> Luca
> --
> Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (id est)
Subject: traceroute: Warning: Multiple interfaces found; using XX.YY.ZZ.QQ @ eth0 ???
Reply-To: [EMAIL PROTECTED]
Date: Tue, 09 Mar 1999 19:11:11 GMT
i'm having periodic problems with my home network.
XX.YY.ZZ.WW 192.168.1.1 192.168.1.2
- cable modem -------------- A --------------+---------------- B
|
| 192.168.1.3
+---------------- C
|
.
.
.
A is a redhat 5.2 box (2.0.36) with two ethernet cards, a 3Com 3c905
(eth0) connected to the cable modem, and the other, a NE2000 card (eth1)
connected to the internal network.
B is a redhat 5.2 box (2.0.36 or 2.2.2) with a single NE2000 ethernet
card (eth0). C isn't up and running yet.
A's /etc/sysconfig/network looks like:
FORWARD_IPV4=yes
GATEWAY=
GATEWAYDEV=
HOSTNAME=localhost.localdomain
NETWORKING=yes
A's "/etc/sysconfig/network-scripts/ifcfg-eth0" looks like:
BOOTPROTO=none
DEVICE=eth0
GATEWAY=XX.YY.ZZ.1
IPADDR=XX.YY.ZZ.WW
NETMASK=255.255.255.0
ONBOOT=yes
A's "/etc/sysconfig/network-scripts/ifcfg-eth1" looks like:
BOOTPROTO=none
BROADCAST=192.168.1.255
DEVICE=eth1
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
A's "/etc/hosts" looks like:
127.0.0.1 localhost localhost.localdomain
192.168.1.1 A
192.168.1.2 B
192.168.1.3 C
A's "/etc/sysconfig/network-scripts/static-routes" looks like:
any net 192.168.1.0 netmask 255.255.255.0 gw eth1
B's "/etc/sysconfig/network" looks like:
FORWARD_IPV4=false
GATEWAY=192.168.1.1
GATEWAYDEV=eth0
HOSTNAME=localhost.localdomain
NETWORKING=yes
B's "/etc/sysconfig/network-scripts/ifcfg-eth0" looks like:
BROADCAST=192.168.1.255
DEVICE=eth0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
B's "/etc/hosts" looks the same as A's.
periodically, when i boot both machines, A can't ping B or viceversa.
when this happens, if i do a "traceroute 192.168.1.2" from A, i get:
traceroute: Warning: Multiple interfaces found; using XX.YY.ZZ.WW @ eth0
traceroute to (192.168.1.2), 30 hops max, 48 byte packets
1 *
...
when this happens, the only thing that seems to fix it is to reboot
until it magically starts working again.
does anybody have any idea what's wrong?
--
Congratulations! Generous Linux programmers from around the world
all join forces to help you shoot yourself in the foot for free.
------------------------------
From: GSM <[EMAIL PROTECTED]>
Subject: IP chains/Masq. help
Date: Tue, 09 Mar 1999 19:14:22 GMT
Background:
I am running Suse kernel 2.2.3 and have the requisite config files
in the kernel for ipchains:
CONFIG_EXPERIMENTAL=y
CONFIG_FIREWALL=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_CHAINS=y
CONFIG_FIREWALL=y
CONFIG_IP_FIREWALL=y
I see two NICs with boot (from dmesg : eth0: VIA VT3043 Rhine at
0xd000, 00:80:c8:e6:52:59, IRQ 3. eth0: MII PHY found at address 8,
status 0x782d advertising 05e1 Link 0000. PCI latency timer (CFLT) is
unreasonably low at 32. Setting to 64 clocks. eth1: VIA VT3043 Rhine at
0xb800, 00:80:c8:e6:38:70, IRQ 10. eth1: MII PHY found at address 8,
status 0x7809 advertising 05e1 Link 0000.
Problem: How does one setup IPchains to allow filtering and setting up
of class c reserved names with IPchains ie I want to masquarade the
clients on the internal lan ? I have a static IP for linux box/hub and a
couple of clients on a small baseT LAN.
Therefore can any network gurus out there answer:
1.How to setup private network that is assigned 192.168.1.* addresses,
with myhost being 192.168.1.100, and the firewall's Ethernet interface
being assigned 192.168.1.1.
2. How does one setup the firewall to masquerade any packets coming
from the private network and going to port 80 on an Internet host.
3.Configure Netscape to be connect directly.
4.Setup DNS correctly on the private network.
5. Set the firewall as the default route (aka gateway) for the private
network.
------------------------------
From: Chris Emig <[EMAIL PROTECTED]>
Subject: Great VAR
Date: Tue, 09 Mar 1999 19:16:24 GMT
Check out http://www.qil.com
------------------------------
From: "Keith Peterson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: Linux programming jobs?
Date: Tue, 9 Mar 1999 09:06:09 -0700
>> >I'm currently looking for work, that involves linux/unix programming,
but
>> >can find none. All jobs here require degree and /or 5-10 paid work
>> >experience. I am a little upset now, because local authorities changing
>> >law locally to allow programmer to work for more hours, but I couldn't
>
>Volunteer and contribute to an Open Source project - at least that
>will give you something concrete you can put on your resume. It very well
>might lead to work, as well.
Just bear in mind that a company you apply to might have no knowledge of
open source ("A bunch of people writing free software in their spare time?
What else have you done?") or might simply be uninterested in hiring
somebody with no formal training.
>Consider looking for work as a system administrator - it mught help pay
>the bills, and will give you a perspective valuable to a programmer.
Same comment as above - I wouldn't hire a sysadmin with no paid experience.
Neither will most production environments.
>Set up and write code to interface to a database - MySQL or such - and
>then link your web site to it. You do have a web site, right?
This suggestion is a good one, but make sure your site demonstrates
processing, not merely regurgitation.
>There are a LOT of jobs out there for thoise who can DO - degrees and
>certifications mean little to the smaller companies that just have to make
>things work. Big cushy jobs with with big cushy companies will almost
>always require a degree just to get past the HR department. Seek out the
>smaller companies and you will find things different... but the absolute
>requirement is that you have to have the skills. If you can point to
>stuff you did - paid or not - that's credible, then you have a beginning.
>The rest will come with time.
Credible being the key word. The HR department is, as he noted, a major
roadblock. To get past them, however, often a technical certificate (such as
a -gasp!- MCSE certificate) is often enough, even though it might be
unrelated.
Yes, there are a lot of jobs for those who are proficient. However, until
you can demonstrate your proficiency with a resume of paid experience,
expect to be both underpaid and undervalued.
A friend of mine recently completed a technical degree in programming. He
excitedly told me, "the school says I'll be making over $40,000 (cdn) a year
on my first job!". I just looked at him, and said, "Don't count on it."
Sadly, he's finding me to be correct...
------------------------------
From: Rick Onanian <[EMAIL PROTECTED]>
Subject: Re: tunneling through a campus LAN ?
Date: Tue, 09 Mar 1999 11:09:21 -0500
Holy cow! This is confusing!
If I'm reading you right, you're stuck behind a restrictive firewall,
and you want to be free, free, FREE! You want to fly and run and jump
and ping and ftp and host your own servers and stuff! The closest you
have to freedom is if you telnet out of your firewall into a friendly
host that you have root access on that can do what it wants. You want
slirp.
Slirp was designed to emulate SLIP access when all you've got is shell
access. This was used primarily for people with a cheap $10/month dialup
connection who didn't want to pay $50/month for SLIP (this was back a
few
years..:). It ought to be adaptable to what you want, methinks.
Cameron Spitzer wrote:
>
> Let's say, hypothetically of course, that I have a Sun Solaris machine "marsbase"
> with dedicated ISDN line on a Pipeline 75 "ISDN router."
> Let's call the segment with marsbase and the router "marsnet."
> The other end of the ISDN line is "earthnet."
> The router configuration is frozen and I cannot change it,
> and the only place it can call is earthnet, which is behind a corporate
> campus firewall.
>
> I also have root on a friendly internet-connected Linux machine, outside
> the firewall, "babylonstation."
> And I have a user (not root) account on "earthmole" which is on earthnet.
>
> Marsbase can telnet to earthmole and earthmole can telnet, FTP, and HTTP
> to bablylonstation through a proxy. Other ports are not open
> in the routers, except for DNS.
>
> "Marsbase" cannot telnet to the world because of the firewall,
> and the world cannot telnet into anything behind the firewall.
>
> Now, I want to add a Linux PC "rebelbase" to marsnet, and the users on
> rebelbase want to see the Internet as if they were on babylonstation.
> If they can't have total transparency the rebels will take what they
> can get.
>
> We have:
>
> [marsnet] [earthnet] [Internet]
>
> rebelbase --+-- router ==[ISDN]== router --+-- firewall --+--+--+-- bablylonstation
> | |
> | |
> marsbase earthmole
>
> Can this be done? What do we run, where? Which HOWTOs cover this
> kind of tunneling?
>
> TIA
> Cameron
--
rick - a guy in search of raw (ISO) cd images of SuSE and Slackware
===============
My opinions don't exist, and as such, are not anyone elses. I do not
represent anyone, not even myself, and especially not my employer.
---
Looking for a 1968 Camaro SS convertible, black interior,
beat-up rustbucket that is in need lots of restoration and TLC.
---
To email me, take out the papers and the trash
[EMAIL PROTECTED]
------------------------------
From: Terrance Zellers <[EMAIL PROTECTED]>
Subject: Re: Linux as a router to replace school NT4 box?
Date: Tue, 09 Mar 1999 18:55:45 GMT
Andy <[EMAIL PROTECTED]> wrote:
: Hi,
: We have just configured a NT4 box to route between two subnets on our school
: LAN, however as the current setup with the NT4 box is tying up a machine we
: are wondering if we could run linux on a old 486 or 386 todo the routing.
Very much along similar lines, I have to look at routing among seven
stations my company maintains. The proposals we've gotten look off the
wall to me, both in price and maintainability.
I *know* that what we do should be doable with a linux box at each
location: viz, frame relay and ethernet card with ipx and ip routing
betwixt and between (a fT1 to each station), and eight or sixteen port
serial cards to handle terminals and a couple printers.
Now given time and skull sweat I could definitely puzzle this out
myself to configure in a couple weeks and hardware costs of about 1500-2k
per station. But my boss's problem (and I agree) is that this would make
the company too dependent on relatively specialized knowhow of one person.
My question then is do any of the companies currently doing linux
support do custom configurations and offer support contracts for those
specialized boxes. In our case the support company would have to have
a track record and substantive resources to keep the auditors happy.
Again I know that anyone with sysadmin and linux experience *could*
learn to admin such a setup in short order -- the problem is linux is
a "new" and "untested" thing and the proposals for our networking come
from big boys with big names -- albeit at several times what the linux
solution would cost.
If you have experiences with companies doing such I would appreciate
a reply by email.
-- TWZ
-
+-------------------------------------------------------------------------+
| Copyright 1999 by Terrence W. Zellers. All rights explicitly reserved. |
| email: [EMAIL PROTECTED] www.voicenet.com/~zellert/pub.key |
|-------------------------------------------------------------------------|
| Beware the jabberY2K | (NEW PUBLIC KEY) |
+-------------------------------------------------------------------------+
------------------------------
From: [EMAIL PROTECTED] (Jude Travers-Frazier)
Subject: Using SAMBA in a Netware environment?
Date: Tue, 09 Mar 1999 16:20:57 GMT
Can SAMBA be configured to emulate a netware server?
I have a Netware environment, and am trying to bring a linux server
on-line. I have set it up, but so far, the only way for me to make it
visible in Network Neighborhood on a Win95 machine is to have
installed the Client for Microsoft Networks on all the clients. Then
the linux machine becomes visible to Win95 (the client thinks it is an
NT server).
Is there a way to configure SAMBA so that it becomes visible as a
netware server?
Thanks for any help!
jtf
------------------------------
From: Swindbert von und zur Waffel <[EMAIL PROTECTED]>
Subject: Re: Win95 working by now.....
Date: Tue, 09 Mar 1999 17:25:01 +0100
Well, I decided to change my intranet addresses from 10.0.X.X to
192.168.X.X. I only had to change the IP addresses AND set an additional
route! "route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0" for my
masquerading gateway and it started to work with win98!
But I still don't know what the problem was. The change from 10.0.X.X to
192.168.X.X is not likely to be the cause since it worked before but only
with linux and not with win98!
What might be the cause? Is it possible that win98 does not produce the same
kind of IP-packets as Linux does? Is it at all possible to have some
information more or less stored in IP-packet headers?
It just seemed that the masquerading gateway didn't know where to send the
received packets from the internet back into the intranet to the host that
asked for them! But only when it was win98 asking
Swindbert von und zur Waffel wrote:
> Hi
>
> I have a cable modem and three PCs. One of those is my masquerading box.
> It has one NIC and the IP that I've got from my cable provider.
> Everything is connected to just one hub. I've simply put ipfwadm -F -p
> masquerade since I only have one NIC in the masquerading gateway. Now,
> on my working PC I have installed Linux and Win95. For both OSes I made
> the very same network settings (some intranet IP and the masquerading
> box as gateway). Why does Linux work and why does Win95 NOT work with
> the same settings? Where is the difference? What do I need to change?
>
> Be it Linux or Win95 running my main PC the little network consisting of
> those three PCs and the cable modem is working perfectly alright - as
> long as it does not come to the masquerading issue!
>
> The masquerading box is a 386SX, 8MB with the Linux Router Project
> minidistribution (2.0.36). Don't laugh at that poor old SX - it's doing
> a very good job!
>
> Could please send me a mail too? Best Regards... Thomas!
------------------------------
From: [EMAIL PROTECTED] (AhYap)
Subject: what are the advantages of IPv6 over IPv4??
Date: Tue, 09 Mar 1999 16:23:17 GMT
can anyone tell me what are the advantages using IPv6??
and what is the future of IPv6??
thanx
------------------------------
From: [EMAIL PROTECTED]
Subject: Printer Queues
Date: Tue, 09 Mar 1999 18:23:16 GMT
Hi,
I have RH 5.2 kernel 2.2.2 and samba 2.0.3. The linux box is setup as a print
server for our win95 machines. It is printing to a jetdirect card using lpr.
Everything works great, except I want to setup 2 queues to the jetdirect
card. HP6p and Admin. I have them setup and they work as long as I don't
capture to a printer port on the win95 machines(LPT2:[\\linux\admin]).
Actually it does work, however everything then goes to the HP6p printer
queue. If I capture printer port LPT2 to \\linux\admin it sends it to the
HP6p queue. If I setup the win95 machine to go directly to \\linux\admin it
work fine(goes to the admin queue) This wouldn't be a big issue, but I want
to be able to pause the HP6p queue so we can print invoices to the admin
queue. Our software has to print to the LPT2 port, so just putting
\\linux\admin won't work, it has to be captured to LPT2.
The 2 entries in the /etc/printcap are identical except the sd lines point to
the respective queue directory.
Any thoughts?
Thanks
Chris
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Oliver B. Tupman)
Subject: Samba: NET USE problemo
Date: Tue, 09 Mar 1999 19:57:14 GMT
Hi there,
I posted a message a week ago about how to access Linux drives from a
Win 95 box.
Thanks to all those that suggested that I use Samba - it works, but
I've got a problem when I try and access the \HOME directory.
If you try and access it (through NET USE or mapping it from Win
Explorer) I am asked for my password. Once the password has been
entered once it is okay (I'm assuming that there is a bit of
password-caching going on there).
Have I missed something from my smb.conf file?
Also - the phrase 'Roving Profiles' are mentioned in the Samba
documentation and in the Win 95 Resource Kit thats on the '95 CD-ROM,
but what _does_ it mean. I haven't seen any actual definitions about
it (since I started learning Linux I've discovered that the word
'Glossary' has been left out of a lot of the documentation!).
I know these are probably incredibly simple questions, but take pity
on a Win 95 person who's discovered the wonders of Linux!
Cheers,
Oliver B. Tupman.
------------------------------
From: "Cameron Spitzer" <[EMAIL PROTECTED]>
Subject: Re: tunneling through a campus LAN ?
Date: 9 Mar 1999 16:39:37 GMT
In article <[EMAIL PROTECTED]>,
Duane Smeckert <postmaster@localhost> wrote:
>But say, wouldn't that be unethical?
No. This network was provided for telecommuting.
It is a perquisite of the job that it can be used off hours
provided the employers' network is not disrupted
and sysadmin time is not consumed on it.
(This is a fairly common situation in Silicon Valley,
with bigger, older employers getting desperate to
keep their programmers from leaving for startups.
At the last place I worked, the campus NOC was grateful
to employees who took the time to find new ways to use
the network, and reported the bugs they found along the way.)
>Wouldn't a Sysadmin, finding someone breaching
>his expensive firewall, want to report the rebel
>to the dean (vice president)?
In this case the sysadmin is sympathetic to the need, but
cannot facilitate the implementation.
>Wouldn't this be a bad thing? A kind of computer crime?
It would be at an employer who says "don't use that wire
for personal business." But that is not the case here.
Cameron
------------------------------
From: John Mark Emery <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc,comp.mail.sendmail
Subject: upgrading sendmail from 8.8.7 to 8.9.3
Date: Tue, 09 Mar 1999 08:40:09 -0800
HOwdy,
I'm currently trying to upgrade sendmail version 8.8.7 to version 8.9.3
on my Linux box running kernel version 2.0.36. This is what I've done
so far:
untarred the tar file in /tmp
cd'd to /tmp/sendmail-8.9.3/src
read the README file within src
ran "sh Build"
Once compiled I cd'd into the obj.Linux.2.0.36.i486 sub
directory
ran "chmod 6755 sendmail"
ran "cp /usr/sbin/sendmail /usr/sbin/sendmail.990305"
ran "cp ./sendmail /usr/sbin/sendmail"
Fine. Now the new binary for sendmail is in the proper place (right?).
If I telnet to port 25 on the machine, I notice the version number
hasn't changed. So I modify the version number in the sendmail.cf
file: the line DZ8.8.7 to DZ8.9.3.
Fine. Now the version looks fine if I telnet to port 25...but,
shouldn't there be a new sendmail.cf file included with the new sendmail
distribution?
So, I look around and find a README file within /tmp/sendmail-8.9.3/cf
that talks about a utility called "m4?" used to make the new sendmail.cf
file from a file within ../cf/cf. This file has a .mc file extention.
I find all of the ".mc" files, I'm still not quite sure what to do with
the m4 utility...basically, I'm confused.
The new sendmail binary works fine with the current sendmail.cf file,
but the whole reason for upgrading from my current version to the new
version is to improve security. Something about others using your mail
server for a spam server. Luckily this hasn't happened to me yet.
Without the new .cf file, won't the new features of the new build go
wasted/unused unless I add them in manually?
Another side note, in the ../src/README file, there is a part about the
newer versions of sendmail using /etc/mail to store the sendmial.cf file
and that you shouldn't use /etc anymore? The file doesn't actually say
don't use /etc, it says:
"Up to 8.6, sendmail tried to find the sendmail.cf file in the same
place as the vendors had put it, even when this was obviously stupid.
As of 8.7, sendmail ALWAYS looks for /etc/sendmail.cf. Beginning with
8.10, sendmail will use /etc/mail/sendmail.cf. You can get sendmail to
use the stupid vendor .cf location by adding -DUSE_VENDOR_CF_PATH during
compilation"
Should I worry about this? Does this mean sendmail.cf should be in /etc
or /etc/mail?
Thanks ahead of time for any responses to this post!
--
John Emery
System Administrator
Sue Mills, Inc.
1840 Market Street
San Francisco, CA 94102
415-864-1899 X146
------------------------------
** 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
******************************