Linux-Misc Digest #31, Volume #25                 Mon, 3 Jul 00 10:13:02 EDT

Contents:
  Re: Sun Sparc faster then intel pentium: is this true???? (Heiko Klein)
  Re: AIDE ("jmoen")
  Re: PMFirewall and ip-up (Ron Zoscak)
  Re: Windows Media Player for Linux??? (Richard Steiner)
  Re: Linux Server Security (Stephen Cornell)
  Re: linux programming doubt (Charles H. Chapman)
  Re: Student learning Java (2Funky)
  Re: tape backup with dd (Christian Eriksson)
  Re: Linux & Windows Coexist? ("Stephen Houfflyn")
  Re: Wrong major/minor number (Steve Emmett)
  Making Netscape Run ([EMAIL PROTECTED])
  Making Netscape Run ([EMAIL PROTECTED])
  Re: Wrong major/minor number (Steve Emmett)
  umounting a drive on shutdown (Andrew Williams)
  Re: umounting a drive on shutdown (Jesper Krogh)
  Re: Build symlinks error (David Kirkpatrick)
  LTWinmodem work with Linux? ([EMAIL PROTECTED])
  Re: ipchains/masq question (blimpy)
  Re: newsreader for Linux? (Roger Blake)

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

From: Heiko Klein <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.sun.hardware,comp.sys.sun.misc
Subject: Re: Sun Sparc faster then intel pentium: is this true????
Date: 03 Jul 2000 13:11:46 +0200

[EMAIL PROTECTED] writes:

> 
> In article <[EMAIL PROTECTED]>,
> > The useful period for a Sun is much longer, if you have a
> > hierarchy: The first three years a machine is used as server, then
> > another three or four years as workstation or low-level server and
> > then another three years as X-terminal for the secretary or a
> > student.

I wouldn't expect our E4000 (4years old) to be an X-terminal within 2
years! Maybe this was true in the SparcStation time, but today, the
servers are much to big. This decreases the lifespan to 2 stations:
High-end -> low-end server;
Workstation -> X-terminal

> > And don't forget that Suns, even the Workstations, usually haven't
> > been powered down for the first few years of their lives. PC's are
> > usually shut down every night.
> >
> > The real question is: are Suns so much better that you pay four or
> > five times the amount that a comparable PC would cost?
> 
>         The Suns equipment tends to be more reliable, and more
> expensive, because of the quality of the parts.  And, at the
> operating system level, the qualtiy of the device drivers.  The
> only time I've had non-fixable crashing problems with Suns is if
> they had cheap 3rd party hardware and kernel drivers.  Often 3rd
> party driver testing is way behind on the latest revisions of the
> OS.
> 

Four years ago, we bought a SparcStation 5 as graphics-workstation,
and a 2 procs Pentium-Pro. Both have been about the same price
(~5000$).

The Intel Box has it's 3rd power-supply, the 3 boot disk
(overheating in housing), several new coolers, ...
The SparcStation had today it's first real crash! Somethings wrong
with the ID-Prom (overheating too? after some hours of power off time,
it works again) 

It's not statistic, but I think, that's the difference. Nowadays, the
Intel-Boxes are more stable (Think of the 4 procs IBM or HP
servers. But they are about the same price as the E450)

On the 1 procs level, the sun's are less stable (The U5 or U10 aren't
as reliable as the SparcStations). But the aren't much more expensive
as an PC. The "You get what you pay for" becomes more and more true. 

Heiko

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

From: "jmoen" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security
Subject: Re: AIDE
Date: Mon, 3 Jul 2000 13:09:43 +0200

Thank you, that did the trick ;o)

jm

"Ralph Angenendt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> jmoen <[EMAIL PROTECTED]> wrote:
>
> >The command itself is not a problem (it's aide -u or --update if you
> >like) but the database don't update. I think it's a rather simple
> >solution to this, but i can't seem to figure it out.
>
> Yep, there is. Aide has a working database (line database in
> aide.conf), which it uses to check, if something was altered on the
> system. You'll find another option called database_out, which is the
> database aide writes its output to (with aide -u).
>
> After updating, you must manually move the new database to the old
> one, so that aide operates on the new database. It doesn't do so
> automatically.
>
> Ralph



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

From: [EMAIL PROTECTED] (Ron Zoscak)
Crossposted-To: uk.comp.os.linux
Subject: Re: PMFirewall and ip-up
Date: Mon, 03 Jul 2000 12:15:55 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Randall Lee Mackie wrote:
>Randall Lee Mackie wrote:
>> 
>> This is my ip-up.local script, which works with PMFirewall:
>> 
>> #!/bin/sh
>> #
>> # start pmfirewall
>> #
>> sh /usr/local/pmfirewall/pmfirewall start
>
>
>Also make sure ip-up.local is executable by root.

If I start pmfirewall in this manner, it prevents ANY traffic flowing over
the ppp connection!  If I start it manually, however, after the ppp
connection is established, it works fine.

I'm using SuSE 6.4, with wvdial set up for demand dialing.

Ron Zoscak<[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Richard Steiner)
Subject: Re: Windows Media Player for Linux???
Reply-To: [EMAIL PROTECTED]
Date: Mon, 03 Jul 2000 07:23:53 -0500

Here in comp.os.linux.misc, Erik de Castro Lopo <[EMAIL PROTECTED]>
spake unto us, saying:

>Richard Steiner wrote:
> 
>> I thought Microsoft had gone so far as to patent the data format and
>> actively discourage other developers from writing compatible software.
>
>This patent does not protect the format outside of the US.

Not directly, no.  Hopefully those outside the US who decide to write
such software will be allowed to do so, but such projects have been
interfered with before.

-- 
   -Rich Steiner  >>>--->  [EMAIL PROTECTED]  >>>--->  Bloomington, MN
      OS/2 + BeOS + Linux + Solaris + Win95 + WinNT4 + FreeBSD + DOS
       + VMWare + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
      Sex is not the answer; Sex is the question.  "Yes" is the answer.

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

From: Stephen Cornell <[EMAIL PROTECTED]>
Subject: Re: Linux Server Security
Date: 03 Jul 2000 13:48:38 +0100



> On Sat, 01 Jul 2000 08:30:06 GMT, Scippie <[EMAIL PROTECTED]> wrote:
> 
> >Now my question is... can anyone that has my IP number hack the machine ?
> >(please don't prove it, you probably already know my IP number), and what
> >can he mess up ?

[EMAIL PROTECTED] (David M. Cook) writes:

> Make sure you stay on top of security updates.  Red Hat has a mailing list
> you can subscribe to to get update reports.

In particular, you should be aware that there is a remote root exploit
for the WU FTP daemon that ships with RH 6.2. Have a look at

http://www.redhat.com/support/errata/index.html

--
Stephen Cornell          [EMAIL PROTECTED]         Tel/fax +44-1223-336644
University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ

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

From: Charles H. Chapman <[EMAIL PROTECTED]>
Subject: Re: linux programming doubt
Date: Mon, 3 Jul 2000 08:39:48 -0400
Reply-To: [EMAIL PROTECTED]

Bjoern Frantzen wrote:
> Felipe de Alvarenga Leite <[EMAIL PROTECTED]> wrote:
> >I need to know how i can find the name of a file if all i have is the
> >inode of that file... Im trying to do a lseek, but i dont have the file
> >descriptor, only the inode...
> 
> As far as I know, there is no way to do what you want without traversing the
> whole filesystem.

Find will do that for you:

find /* -inum some_inode_number

Chuck

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

From: 2Funky <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.java.programmer
Subject: Re: Student learning Java
Date: Mon, 03 Jul 2000 21:02:59 +0800

Thank all for your replies.....i'll definitely give your suggestions a go.

Regards
Nicholas


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

From: Christian Eriksson <[EMAIL PROTECTED]>
Subject: Re: tape backup with dd
Date: Mon, 03 Jul 2000 15:05:07 +0200

> Juergen Pfann wrote:
> >
> > Christian Eriksson wrote:
> >
> > I've failed in writing a backup back to disk from tape with dd.
> > ...............................
> > First I wanted to backup my primary slave drive. From linux I did
> >
> > # dd if=/dev/hdb of=/dev/npt0
> > 2504880+0 records in
> > 2504880+0 records out
> > ...............................
> > # dd if=/dev/pt0 of=/dev/hdb
> > 0+0 records in
> > 0+0 records out
> > ...............................
> Well, I wouldn't say it failed...
> If you issued the 2nd command without any tape movement between writing
> and reading again, dd's behaviour is *correct* :
> .................................

OK, I should have used the /dev/pt0 device when backing up if I was
going to do the restore imediately. I admit that but I have tried the
restore several times after that with the same result. (Does it matter
if the target drive is partitioned or not?)

> ....................
> and the "mt" command to skip the first archive ('mt -f /dev/npt0 fsf 1'
> .................... 

The problem is that the mt command isn't implemented by the PARIDE
subsystem (  ), except for the 'mt -f /dev/pt0 rewind' option. Does
anybody know about some other paralell port subsystem for linux
compatible with HP Colorado tape drives that supports mt better?

/Christian

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

From: "Stephen Houfflyn" <[EMAIL PROTECTED]>
Subject: Re: Linux & Windows Coexist?
Date: Mon, 03 Jul 2000 13:11:16 GMT


"Brian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Can I duel boot Linux on the same physical drive as Win 98......Or even
> better can I boot to Linux on a seperate physical drive using a boot disk?

Win98 boots perfect with lilo

> What Linux OS should I use? What's the diff. from Red Hat to Mandrake?
>

Mandrake is based on Redhat, and is better for newbies i think.
I have always used redhat.



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

From: Steve Emmett <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Wrong major/minor number
Date: Mon, 03 Jul 2000 08:18:03 -0500



"Andrew E. Schulman" wrote:

> > Just tried it and am still getting the major/minor number error.
> >
> > If you have any trouble shooting suggestions, I'd appreciate hearing.
> >
> > Thanks
> >
> > "Andrew E. Schulman" wrote:
> >
> > > > when I execute
> > > >
> > > > mount /dev/fd0 /mnt/floppy
> > > >
> > > > i received the error
> > > >
> > > > mount:  /dev/fd0 has wrong major or minor number.
> > > >
> > > > I'm assuming I've munged the floppy device and have to use MAKEDEV to
> > > > reconstruct it.  The question is how do I go about doing just that?
> > >
> > > rm /dev/fd0
> > > MAKEDEV fd0
>
> Hm, so maybe the problem isn't really the major/minor device numbers.
> On my system /dev/fd0 is major 2, minor 0.  Check this by 'ls -l
> /dev/fd0'.  You should get something like
>
> brw-rw----  root      root     2,    0  /dev/fd0

Yup, I'm major 2, minor 0

> So if that's correct, then try Equinox' suggestion for making sure the
> modules are loaded.
>
> If that fails, then there are probably other things to try, but what's
> worked for me in the past is to rebuild the kernel.  I had a floppy
> drive that worked fine under Windows but never did work under Linux
> (drive light came on, but I never could mount anything).  Finally I
> rebuilt my kernel and the problem disappeared.

The floppy has been nice to me till yesterday.  I obviously did something to
screw it, but can't recall what that might have been.

Thanks for the help Andrew


> Good luck,
> Andrew.

--

Steve

=========================================
              Steve Emmett
=========================================
"A mind that is stretched to a new idea
 never returns to its original dimension"
=========================================



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

From: [EMAIL PROTECTED]
Subject: Making Netscape Run
Date: Mon, 03 Jul 2000 13:13:01 GMT

Hi All,

I just installed Red Hat Linux 6.2 a few weeks ago. I am new to linux.
At the beginning, Netcape was working fine, but now it cannot access
the internet. Says check your server or check $SOCK_NS. I don't
understand how to configure Netscape to work again.

I have tried pinging and it works, its the accessing of the Internet
thats not working. We have a LAN with a gateway, through which we can
access the Internet.

Please help.

thanks in advance.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Making Netscape Run
Date: Mon, 03 Jul 2000 13:13:06 GMT

Hi All,

I just installed Red Hat Linux 6.2 a few weeks ago. I am new to linux.
At the beginning, Netcape was working fine, but now it cannot access
the internet. Says check your server or check $SOCK_NS. I don't
understand how to configure Netscape to work again.

I have tried pinging and it works, its the accessing of the Internet
thats not working. We have a LAN with a gateway, through which we can
access the Internet.

Please help.

thanks in advance.

-AA


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Steve Emmett <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Wrong major/minor number
Date: Mon, 03 Jul 2000 08:20:29 -0500



Equinox wrote:

> On Sun, 02 Jul 2000 14:06:01 -0500, Steve Emmett
> <[EMAIL PROTECTED]> wrote:
>
> > when I execute
> >
> > mount /dev/fd0 /mnt/floppy
> >
> > i received the error
> >
> > mount:  /dev/fd0 has wrong major or minor number.
> >
> > I'm assuming I've munged the floppy device and have to use MAKEDEV to
> > reconstruct it.  The question is how do I go about doing just that?
>
> That would be the obvious conclusion.  Though, I've also seen this
> error when the drivers for the floppy drive and/or filesystem are
> compiled as modules, and are not loaded.  Try this:
>
>    modprobe floppy.o

Ah ha!  the probe can't find the module.  Let me go back and see whats
happened because I DID rebuild the kernel a couple of days ago

>   modprobe <your-filesystem-here>.o
>    mount /dev/fd0 /mnt/floppy
>
> where <your-filesystem-here> would probably be one of:
> ext2
> minix
> vfat
> umsdos
> msdos
>
> Messy, I know, but it might get things working for now.  You can make
> pretty later.
>
> --Russell
>
> ------------------------
> email (spam-disabled):
> rdh *at* dibbs *dot* net

--

Steve

=========================================
              Steve Emmett
=========================================
"A mind that is stretched to a new idea
 never returns to its original dimension"
=========================================



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

From: Andrew Williams <[email protected]>
Subject: umounting a drive on shutdown
Date: Mon, 03 Jul 2000 14:42:32 +0000

Hello - can anyone help with this? It's getting on my fscking nerves!

I've bought a new hard disk and mounted the /usr directory on it. I stuck the mount 
command in one of the rc.d files so that it's there when I log in. However, when I try 
and umount it, even if it's the first command I type after logging in it says the 
device is in use. I don't like rebooting with it still mounted - does anyone have any 
ideas??

         Thanks very much,

               Andrew


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

From: [EMAIL PROTECTED] (Jesper Krogh)
Subject: Re: umounting a drive on shutdown
Date: Mon, 03 Jul 2000 13:46:56 GMT

> I've bought a new hard disk and mounted the /usr directory on it. I stuck 
> the mount command in one of the rc.d files so that it's there when I log 
> iin. However, when I try and umount it, even if it's the first command I 
> type after logging in it says the device is in use. I don't like rebooting 
> with it still mounted - does anyone have any ideas??

Uhh, that was an awful long line !!!
Try to put it in your /etc/fstab file. Something like
/dev/hda5           /usr             ext2    defaults        1 1

And remove the other line from the rc.local.

-- 
/Jesper Krogh
Student at DTU Denmark.
See the future ... Choose Linux.


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

From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: Build symlinks error
Date: Mon, 03 Jul 2000 13:48:41 GMT

found it.  After untarring my linux kernel a few times for VPN -
trying to get it installed - the kernel would not build.  The
/usr/src/linux/include/asm dir has hard files from asm-386.  rm -f in
Makefile was failing as it saw these files.  I removed the files and
put in a link from /include/asm to include/asm-i386.

David Kirkpatrick wrote:

> Hi,
>    I had been building in the past and had this problem before
> but forget how I go rid of it.  I set some links but can remember
> where.
> The error I get from /usr/src/linux with make xconfig is
> "rm -f include/asm
> rm: include/asm: is a directory
> make: *** [symlinks] error 1"
>
> I looked at ELF-HOWTO and there is a mention of: loosing links
> when you move /usr/include.  I did not do that but I did re-apply
> the kernel source.  What are the links I need?
> Thanks David Kirkpatrick
>
> --
> [EMAIL PROTECTED]

--
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED]
Subject: LTWinmodem work with Linux?
Date: Mon, 03 Jul 2000 13:45:54 GMT

 Has anybody ever gotten an LTWinmodem to work with Linux?
(Mandrake 6-point-something). Looks like I'm SOL
--
Don't e-mail your response
Post it right here, but if you must, I'm also at
annandy AT dc DOT seflin DOT org


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: blimpy <[EMAIL PROTECTED]>
Subject: Re: ipchains/masq question
Date: Mon, 03 Jul 2000 14:02:41 +0000

Greg wrote:
> 
> Hi,  I was wondering if you can help me with a solution to
> this........   I have a cable modem with 2 working static IP's .
> 
> I'm running a linux rh6.1 box with 3 working nic cards as follows.
> 
> 1. eth0 internal 192.168.1.1
> 2  eth1 @home cable modem 24.x.x.1
> 3  eth2 @home cable modem 24.x.x.2    (not on the same subnets)
> 
> I have 4 windows 98 pc's attached to the network all working fine.
> 192.168.1.2...... 3....... 4...... 5........
> Currently only giving internet acecess from eth1(cable) to all the pc's
> on the network.
> I would like to route traffic  from eth2 to one or more of the windows
> pc's
> I'm currently using ipchains w/masq.  Basic setup.
> Can you tell me how to route the second cable IP eth2 to another
> internal IP address on my lan.
> Any help would be appreciated.

maybe

http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html

is of any help

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

From: [EMAIL PROTECTED] (Roger Blake)
Subject: Re: newsreader for Linux?
Date: Mon, 03 Jul 2000 14:03:06 GMT

On Sun, 02 Jul 2000 12:42:13 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Is there a newsreader available for Linux? I get the news files via UUCP
>would like to read them in Linux instead of DOS. Thanks.

There are many of them. Choice is a matter of personal preference and
the feature set you're looking for.  (I highly recommend "slrn" which
probably came with your distribution.  Others might prefer something else.)

-- 
  Roger Blake
  (remove second "g" and second "m" from address for email)

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


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

Reply via email to