Linux-Misc Digest #878, Volume #19 Sat, 17 Apr 99 16:13:15 EDT
Contents:
Re: Linux+samba as a trusted domain (Craig Kelley)
Re: Which moron thought up the /opt directory? ([EMAIL PROTECTED])
Re: problem with executable file (Stefan Hetzl)
Re: VMware sell-out to Microsoft??? (Joseph T. Adams)
Re: LINUX 2 UNIX (Bruce Richardson)
Re: Posting to Newsgroups / Sending Email (jik-)
Getting NDC 10/100 PCI ethernet card to work (Joel Cohen)
Re: Which moron thought up the /opt directory? (Frank Sweetser)
Sorry, Off-Topic post, but any opinion about web hosts? ([EMAIL PROTECTED])
Re: kernel: SMBFS: need mount version 6 (Richenel)
Re: do you have a bjc600 or bjc620 ? (jik-)
Re: How to do secure X11: NT Workstation SP4 (SecureCRT v2.4, Exceed v6.1), Redhat
Linux 5.9.7 [Starbuck]: SSHD v1.2.26 ("Alan J. Flavell")
HELP me fine ipautofw (Nick Farley)
Re: Kernel freeze switching Netscape windows (Jimmy Navarro)
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Linux+samba as a trusted domain
From: Craig Kelley <[EMAIL PROTECTED]>
Date: 08 Apr 1999 08:58:17 -0600
Martin Svensson <[EMAIL PROTECTED]> writes:
> I've looked through the documentation for Samba 2.0.3 but haven't found
> the following.
>
> I want my Samba PDC to establish a trust relationship with another PDC
> running NT Server 4.0 SP3. Is this possible?
No. Read the FAQ:
http://us1.samba.org/samba/docs/ntdom_faq/samba_ntdom_faq.html
--
The wheel is turning but the hamster is dead.
Craig Kelley -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
Subject: Re: Which moron thought up the /opt directory?
From: [EMAIL PROTECTED]
Date: Sat, 17 Apr 1999 16:43:59 GMT
According to Bruce Richardson <[EMAIL PROTECTED]>:
> Every other day on the Red Hat mailing list there's a message from a
> newbie who wonders why his root partition is full. It always turns out
> they've installed KDE or some other app that installs to /opt. Since
> they haven't created a partition called /opt (and why should they?)
> their root partition overflows.
I believe this is part of the Linux File System Standard (FSST or
something like that.) Do a net search on that and read up, I believe
it should explains things for you.
I don't remember all the official details, but it goes something like this:
/ is for stuff you need to boot. I think it is supposed to be
mounted read-only in multi-user mode.
/var is for stuff that changes frequently
/usr is for packages associated with your distribution. Strictly
speaking, it should be able to be mounted read-only to avoid
the need to fsck it
/home is for home directories
/opt is for third-party packages, those not part of the distro.
I don't remember it's mount status.
/tmp is for temporary files
This makes a lot of sense if you are running a large multi-user
machine where the installed software base doesn't change too often.
Mounting as many filesystems as read-only as possible reduces the
chances of disaster from a power hit and can really speed up boot
time.
For a small or single user machine, it is a bit of overkill.
Personally, I run with just two partitions, not counting swap. /
contains everything but usr, and /home and /opt are symlinks to
/usr/home and /usr/opt.
I don't like keeping tmp on the root partition, but it is the lesser
of many evils when running on a machine w/o a lot of extra disk space.
> I can see the rational for a place to put non-essential user-oriented
> apps, but wouldn't /usr/opt have made more sense? That way, people
> would have had a _choice_ - keep it as part of the /usr partition or
> create a separate partition for /usr/opt. The way it is, it just forces
> people to work round it if they don't want an /opt partition.
Personally, I don't think it is a big deal, although I will admit that
it does cause a lot of problems. The problem really isn't with the
concept of /opt, but that most distro installers don't warn you of the
problem. They should probably automatically create a symlink from
/opt into /usr if opt isn't created as a partition, or at least pop up
a dialog warning you.
-p.
------------------------------
From: Stefan Hetzl <[EMAIL PROTECTED]>
Subject: Re: problem with executable file
Date: Sat, 17 Apr 1999 17:26:23 GMT
nturdali wrote:
>
> Hi,
>
> I am new to the Linux world.
> Today I needed to run a C program. Compilation seems to work OK.
> But I cannot use executable file.
> After commands:
> # gcc -o myprog myprog.c
> # myprog
>
> the system responds:
> "dash:myprog: command not found".
>
> Why? What should I do?
>
> nturdali
In Linux - different to the DOS/Windows world - the working directory is
not in the path. That means that if you want to start a program in the
working directory (the current directory) you have to explicitly specify
the directory using "./myprog".
Stefan
------------------------------
From: [EMAIL PROTECTED] (Joseph T. Adams)
Crossposted-To: comp.os.ms-windows.advocacy
Subject: Re: VMware sell-out to Microsoft???
Date: 17 Apr 1999 18:19:08 GMT
Bill Frisbee ([EMAIL PROTECTED]) wrote:
:
: Joseph T. Adams <[EMAIL PROTECTED]> wrote in message
: news:7f5c59$iv4$[EMAIL PROTECTED]...
:
: > Not really. There's only one right now and it's mostly for the two
: > Windows-only software packages I use at work and therefore need at
: > home as well. I now do almost everything else in Linux.
:
: How quaint. I however like the newest and best hardware... neither of which
: Linux supports (read this as the Voodoo3 AGP, the SoundBlaster Live, USB
: mice, keyboards and joysticks, dual monitors on two video cards, DVD MPEG
: harware playback and last but not least 2 RAID cards. Till linux supports
: ALL of these, it is useless to me, plus I cannot play X-Wing Alliance,
: Half-Life, Baldur's Gate, European Air War, WW2 Fighters, SDOE, or Combat
: Flight Sim on linux...
Then don't use it. You obviously have lots of time to do stuff other
than work. Some of us do need to get work done, and we will use
systems that do the job for us (whether NT, which doesn't support any
more hardware than does Linux, or Linux, or another free *nix, or a
commercial Unix).
: > No, these folks (or their parents, roommates, etc.) actually tend to
: > have very nice hardware, often their parents' 450MHz Dells or Gateways
: > that they've set up to dual-boot Windows for their parents and Linux
: > for themselves, and/or nice Solaris or *BSD workstations at school. I
: > would love to have some of the stuff these kids use nowadays!
:
: How very true, however only 5% of those students are using Linux.
No, about two thirds are from my admittedly anecdotal and possibly
non-representative experience. Almost all the rest use some form of
Unix. Many use other unrelated OSs such as Amiga or MacOS also.
Almost all have some exposure to Windows, but hate it.
: > As for compromise, yeah, 90% of them will learn to sell out someday,
: > and do things they know are wrong in order to make a living, just like
: > you and me and 90% of the other people in this completely fucked-up
: > industry.
: >
: > But thank God for the other 10%.
:
: See above, and those students are mostly using Linux as a server not as a
: workstation or desktop.
I was referring specifically to workstation/desktop applications.
Everyone who uses the net uses Linux as a server, at least indirectly.
What do you think processes the bulk of mail and news traffic?
: > As for home users, much of what they do consists of (a) Web surfing,
: > e-mail etc., (b) word processing, and (c) games. Few games support
: > Linux yet, but they will, and in the other areas, the Linux offerings
: > are already much more numerous and varied than the Windows
: > alternatives.
:
: Hmm... last time I checked I only know of 3 office suites 2 of which are
: available for Windows. I don't want to do everything in EMACS or VI. Sorry I
: need to be a LOT more productive than that.
That statement speaks volumes about your knowledge of platforms other
than Windows. I don't think you're qualified to participate in this
discussion.
: > That will change. It's already changed enough that Linux is my
: > primary platform. That wouldn't have been possible even a year ago.
:
: Thats nice if you don't want to run many applications that mean something,
: or if you want to keep using yesterday's technology.
If I wanted 20 year old technology I'd just use a DOS extender such as
Windows 98. :)
Linux is state of the art in most respects (not all, but most).
: > And as was always true of the Mac, for instance, there are just as
: > many *good* apps available for either platform. There are more titles
: > available for Windows, sure, but most of them frankly are of low
: > quality. Windows itself is hacked-together crap, which mutates
: > constantly and tends to break older programs. There is no need for
: > Windows software to be more robust than the very buggy OS on which it
: > runs, and furthermore, Windows programs tend to have short life cycles
: > since "system upgrades" tend to break them. Thus, there is very
: > little incentive for Windows developers to maximize quality. Users of
: > Windows simply don't expect it. If they did, they woudln't be using
: > Windows in the first place.
:
: Blagh... sure man... and I bet you support OSS too...
Yes, I support free software. That is nothing to be ashamed of. I do
prefer open-source to closed-software as well, even if it is not free.
You can certainly use proprietary, bloated and unstable/unreliable
garbage if you like, but I prefer not to.
Joe
------------------------------
From: Bruce Richardson <[EMAIL PROTECTED]>
Subject: Re: LINUX 2 UNIX
Date: Sat, 17 Apr 1999 16:58:02 +0100
John J. Straumann wrote:
>
> Hey all:
>
> Will C programs compiled under LINUX run under UNIX? I am asking because
> I am developing some CGIs, and I am getting some strange errors when I
> transfer them to my Web Server (they run fine under Linux when I access
> the Linux server via my internal network). Before I go through a bunch
> of dead ends I thought I better find out if the compiled code is
> compatible...
>
> TIA.
>
> John.
No, but the SOURCE will probably compile with a few tweaks. For
example, I often use the AfterStep wm and the source for than compiles
on Solaris just as well as on Linux.
------------------------------
Date: Sat, 17 Apr 1999 11:20:21 -0700
From: jik- <[EMAIL PROTECTED]>
Subject: Re: Posting to Newsgroups / Sending Email
> will be peachy.
>
> I'm having much the same problems with my web pages. I can't upload them
> to Earthlink or Geocities (not the best choices, I know!) without the
> reciever's ftp client locking up. I've got a weird K56 modem, but I also
> get this with my old 14.4 plugged in, too. And yeah, rts/cts handshaking
> is enabled in my /user/local/bin/ppp-on script:
Yeah, Earthlink's server is fuckered up. Neither I, nor the guy who
gets paid to admister a Linux system, could send anything to their
server,...it just hangs. Their nntp also did it for a very long time,
would recieve the message and never complete the transaction (according
to netscape anyway) and my message never showed up on the server. Their
smtp as well, and pop3 often locked on download and I had to telnet into
them and delete by hand to get the rest of my mail. Course what I was
deleting I will never know, which is the main reason I switched to
someone else.
I *DO* have the modem keyword and ctrscts or whatever in
/etc/ppp/options so that ain't it. Earthlink servers are the only ones
I had this problem with, though I never tried any geocities servers.
Just get a different ISP and stop using geocities because they suck...I
had to turn off JavaScript just to avoid their crap if I happen to hit
one of their websites.
irqtune helped somewhat, but the upgrade to kernel 2.2.1 killed it.
------------------------------
From: Joel Cohen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Getting NDC 10/100 PCI ethernet card to work
Date: Sat, 17 Apr 1999 14:20:38 -0400
Hi all,
I'm having trouble getting my SOHO 10/100 PCI ethernet card to work with
in Redhat 5.2 with kernel 2.0.36. It uses the tulip (NDC) driver, and no
matter what I've done I can't get the card to work. Anyone with specific
info as to what needs to be done (rebuild kernel?) - please respond help
me if you can.
Thanks!
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: Which moron thought up the /opt directory?
Date: 17 Apr 1999 14:04:38 -0400
Bruce Richardson <[EMAIL PROTECTED]> writes:
> Frank Sweetser wrote:
> their root partition overflows.
> >
> > the whole /opt bit is very common in the commercial unix world. me, i just
> > symlink /opt to /usr/local
>
> Oh, I know how to fix it - but I tend to avoid using software that wants
> to go to /opt and relocate it somewhere else if I do. Apart from
> anything else, rpm overwrites the symlink with a directory every time
> you install another package.
?? i've installed several rpm's that go in /opt, and it's left the symlink
alone. if you can verify it's rpm that's doing it, you should see about
reporting it as a bug.
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
I knew I'd hate COBOL the moment I saw they'd used "perform" instead of
"do".
-- Larry Wall on a not-so-popular programming language
------------------------------
From: [EMAIL PROTECTED]
Subject: Sorry, Off-Topic post, but any opinion about web hosts?
Date: Sat, 17 Apr 1999 14:26:14 GMT
Hi,
OK, I know it ain't all that cool to post off-topic, but at least I put it
right it the subject..
Almost everything I found in the appropriate groups or web pages was a bit too
untrustworthy... Anyhoo, most folks I've seen in the Linux groups have been
pretty friendly and I tend to feel more comfortable trusting them, so I put it
to you:
I'm looking for opinions & experiences regarding which company to have host a
web site.
I'd be using the site for 2 main purposes:
-First, for my wife's page. She's a freelance writer, so it'll probably be a
pretty straight forward 'resume' type page.
-Second, as my vehicle to teach myself about web design (esp. with perl, so I
definitely need a CGI friendly host).
We want to have it hosted independently of our ISP because we'll be moving a
fair amount in the future and want to maintain a single location (and also
email addresses).
Some of the things I think I'm looking for (any advice is welcome though):
-most of these are pretty standard it seems, but I'll put list 'em anyway.
-UNIX/LINUX host. (Newbie Question: can host's allow you access to NT/FP
also?) - At some point, I might want to try my hand a creating a site that
gets a lot of hits & getting banner revenue, so I'd like a host that doesn't
kill you for volume. -10 mb (at least), with incremental increases that
aren't too pricy) -Cheap- $20/mo -ish -support - not babying stuff, but it
should be adequate. -We live in the northeast. Does/should this affect
choosing? -Multiple POP accounts, hopefully that I can manage (meaning
create/rename etc) -CGI's & SSI's. ?SSL? -autoresponders, redirects -FTP
access (I've seen a couple of posts that talked about how long it took for
the host to put up new content, which process seems very bizarre to me. I'm
used to developing online, so I need to just ftp new content and having it up
instantly. I think this is standard, but...)
Again, sorry to post off topic.
And thanks in advance for *anything* you might care to share with me.
:-)
Ben
[EMAIL PROTECTED]
--
my first attempt at scripting someone's site: http://www.tiac.net/users/joshr/
my page: http://tinpan.fortunecity.com/blondie/453/ It's got skydiving pics,
ozzy, chicks, a big fat penguin, and much much more (nothing else)
--
my page:
http://tinpan.fortunecity.com/blondie/453/
it's got skydiving pics, ozzy, chicks, a big fat
penguin, and much much more (nothing else)
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Richenel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: kernel: SMBFS: need mount version 6
Date: Sat, 17 Apr 1999 20:16:41 +0200
Richenel <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Moe Koenig) wrote:
>>when trying to load the smbfs module (modprobe smbfs) my kernel writes
>>to syslog:=20
>>
>>kernel: SMBFS: need mount version 6
>>
>>how do i fix that?
>>
>>i already searched for a newer mount-command but all i found was v2.8a
>>on freshmeat.net so i doubt there is a version 6 around anywhere..
>>
>>any help is highly appreciated!
>>
>>--=20
>>Moritz Koenig [email:[EMAIL PROTECTED] fax:089-666-1718-659]
>>[ Wir programmieren Ihren Erfolg! @ http://www.holoplex.de ]
>
>You need I guess a newer smbmount util for samba 2.0 or if you are using=
kernel
>2.2.
>If you are using any rpm based system you need to download samba 2.2 at =
redhat
>updates ftp or compile samba 2.2 yourself.
------------------------------
Date: Sat, 17 Apr 1999 11:35:53 -0700
From: jik- <[EMAIL PROTECTED]>
Subject: Re: do you have a bjc600 or bjc620 ?
Sverre Andreas Larssen wrote:
>
> I don't think the control-panel of RH5.1 is setting up my printer
> correctly.
Then stop using it. RH "lazy" apps suck....worthless. Get a text
editor and edit the configuration files yourself. This is why I never
recomend RedHat for a newbie...newbie needs to understand what the
system needs because the "lazy" apps are *going* to fail somewere,
someday.
> Could anyone send me the
>
> /etc/printcap
Wouldn't do you an ounce of good if I did.
>
> and all the files in :
> /var/spool/lpd/lp/*
These directories should be empty until you create printer entries in
/etc/printcap or lpr a document for printing.
man lpr
man lpd
man printcap
You will probably need a filter so get majicfilter, it is what I use for
my bjc4200 which uses the bjc600 device.
------------------------------
From: "Alan J. Flavell" <[EMAIL PROTECTED]>
Crossposted-To:
comp.security.ssh,linux.redhat.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: How to do secure X11: NT Workstation SP4 (SecureCRT v2.4, Exceed v6.1),
Redhat Linux 5.9.7 [Starbuck]: SSHD v1.2.26
Date: Sat, 17 Apr 1999 20:16:04 +0200
On Fri, 16 Apr 1999, tester wrote:
(in stereo)
> Topic sums up the configuration..
> I SSH (3DES encryption) into the Linux box with SecureCRT 2.4b1, and export
> DISPLAY to my NT Workstation.
>
> Now do I make X11 *secure*?
What do you mean by "export DISPLAY to the NT Workstation"?
If you mean that you set the environment variable DISPLAY to something
like a.b.c.d:0.0 , where a.b.c.d is the IP address of the workstation,
then you have just thrown away the benefit of X forwarding.
I'm using the latest TTSSH (i.e with X forwarding), but your situation
should be analogous if it supports X forwarding via ssh protocol.
You should find on your linux system that the DISPLAY variable gets
set to something like w.x.y.z:13.0 , where w.x.y.z is the address of
your linux system. This is how the X forwarding is diverted into the
ssh tunnel; it will emerge on your Win/xx system and look as if it is
coming from the Win/xx system itself.
So, I have exceed configured for access control by host, and the only
host that it has in its list is 127.0.0.1 i.e itself. Thus, any unix
session to which I connect via ssh and with X forwarding enabled, can
throw windows onto the Win/xx box. Other sessions (even different
sessions on the same hosts) are rejected. And the network transactions
are secure (and optionally compressed, which can be beneficial on some
links).
hth
[f'ups narrowed]
------------------------------
From: Nick Farley <[EMAIL PROTECTED]>
Subject: HELP me fine ipautofw
Date: Sat, 17 Apr 1999 03:15:00 GMT
I've finally found a solution to a problem I have. But to fix it I need
to use ipautofw. I looked and looked and looked but didn't find it.
I'm running Mandrake Linux 5.3 (Red Hat 5.2). Please let me know where
I can get ipautofw.
colin
------------------------------
From: Jimmy Navarro <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Kernel freeze switching Netscape windows
Date: Sat, 17 Apr 1999 08:30:38 -0700
Hi Kelsey,
I installed WindowMaker 0.52 including WindowMaker-extra-0.1.tar.gz and
libPropList-0.8.3.tar.gz. My Netscape Communicator 4.07that came with RH 5.2
haven't crashed yet, nor experienced web browser going minimize from time to
time. You might consider giving a try to this latest WindowMaker...?
--
P.S.: To reply me direct, remove extra.
Kelsey Jordahl wrote:
> I've had this problem occuring intermittently for a while now (perhaps
> once a week), but I have only managed to reproduce it today.
>
> The problem is that sometimes, while using Netscape, the whole machine
> will seize up completely, leaving nothing to do but reboot. I know
> that the kernel itself has come to a grinding halt, because I am
> unable to log in remotely to my machine, and I have compiled in SysRq
> key support, but it doesn't work during one of these crashes. Right
> now I suspect the window manager, since it happens while switching
> windows (as I'll describe in a second). I'm using FVWM2, through
> RedHat's AnotherLevel. I will eventually try setting up FVWM2 from
> scratch, but first I'd like to hear if anyone has any good ideas or
> has seen this before, as I don't particularly want to redo all of my
> configuration.
>
> The crash has occured doing various things, and I haven't been able to
> reproduce it on demand until now. These are the circumstances which
> duplicate the crash: I had two Netscape widows open in a single
> virtual desktop. In the back one, I was composing a post to Slashdot.
> In the front one, I started loading www.npr.org. Just as the NPR page
> started loading, I clicked on the top of the Slashdot window to bring
> it to the front, and it froze completely. The cursor froze as a solid
> circle, indicating it is in the process of bringing the window
> forward. The timing is important: I have to click the back window
> just as the page is beginning to load. Although I don't know the
> circumstances as specificly for previous crashes, it seems to me I was
> often doing somthing with the window manager: changing windows, or
> virtual desktops. This is why I suspect FVWM2, although maybe it is
> triggering an XFree86 bug or a hardware problem.
>
> My software configuration:
> RedHat 5.1 with 2.2.1 kernel
> XFree86 3.3.2 (XFCom_NeoMagic-2.0.0)
> Netscape 4.5 glibc version (though crashes also occured with libc5
> versions of 4.01 and 4.5)
>
> hardware:
> Fujitsu 656tx
> video card: Neomagic MagicGraph 128ZV with chipset NM2093 and 1152k
>
> Any insights would be appreciated.
>
> Kelsey
>
> --
> Kelsey Jordahl email: [EMAIL PROTECTED]
> Universite de Bretagne Occidentale Tel: (33) 2 98 49 87 09
> Institut Universitaire Europeen de la Mer Fax: (33) 2 98 49 87 60
> Technopole Brest-Iroise
> Place Nicolas Copernic (to send me mail, remove the "NOSPAM." above)
> 29280 Plouzane
> France
------------------------------
** 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.misc) 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-Misc Digest
******************************