Linux-Setup Digest #99, Volume #19 Thu, 6 Jul 00 20:13:11 EDT
Contents:
Re: share disk with NT,W98 (C.J.)
Re: This may be a stupid question, but are there Linux viruses (virii?)? (Edward A.
Falk)
Re: Wrong major/minor number (Edward A. Falk)
Re: NT-linux dual boot (Bone Head)
Re: Search via permissions??? (C.J.)
Re: HP 8100i CDRW not working.... (Scott Alfter)
Re: How could I share resources in Linux ? (Edward A. Falk)
Re: Getting a working libg++ on Linux (Nix)
Re: Creating Desktop Icons? ("D F")
Re: NT-linux dual boot ("Michael E. Shultz")
Re: No 'rescue root' disk in Slackware 7.1? (Equinox)
Re: after i add memory do i need to increase swap space. (sandrews)
Re: Screen Savers, Locking Screen (Tony Curtis)
ppp related (ajam)
SMC EZNET-ISA install info (Glen G. Walker)
Re: fetchmail problems (Tom Hoffmann)
Re: Eth0 delaying intializtion (Todd Johnston)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (C.J.)
Subject: Re: share disk with NT,W98
Date: Thu, 06 Jul 2000 21:05:23 GMT
In article <[EMAIL PROTECTED]>, D G
<[EMAIL PROTECTED]> wrote:
>Eric wrote:
>> Why not using the fat filesystem? All OS's you mention support that.
>> (although i heard that NT only supports FAT16, dunno if it's true ?)
>
>That's true. You can find drivers that allow NT to access FAT32
>partitions, but I don't think Microsoft makes them (which means they
>probably work!).
It also probably means that if you ever call MS tech support (perhaps you're a
masochist) you are likely to get a "Sorry, we don't support that
configuration."
------------------------------
From: [EMAIL PROTECTED] (Edward A. Falk)
Subject: Re: This may be a stupid question, but are there Linux viruses (virii?)?
Date: 6 Jul 2000 22:10:34 GMT
Here's one:
Subject: VIRUS for LINUX/UNIX/MAC!
Attention Linux/Unix/OS2/MAC Users:
This virus operates on the honor system. Please mail this message
to every email address on your system and randomly delete a
number of files from your hard drive.
Thank you.
OK, serious answer. There are a number of security features in
Unix/Linux that make it hard for viruses to propagate. However,
I think the main reason unix viruses are so rare is that the virus
writers are mainly targeting windoze boxes due to their popularity.
--
-ed falk, [EMAIL PROTECTED] See *********************#*************#*
http://www.rahul.net/falk/whatToDo.html #**************F******!******!*!!****
and read 12 Simple Things You Can Do ******!***************************#**
to Save the Internet **#******#*********!**WW*W**WW****
------------------------------
From: [EMAIL PROTECTED] (Edward A. Falk)
Crossposted-To: comp.os.linux.misc
Subject: Re: Wrong major/minor number
Date: 6 Jul 2000 22:16:04 GMT
In article <[EMAIL PROTECTED]>,
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?
Try rebuilding your kernel, and make the floppy driver compiled-in
instead of a module. That's how I fixed a similar problem.
Let us know if it works.
--
-ed falk, [EMAIL PROTECTED] See *********************#*************#*
http://www.rahul.net/falk/whatToDo.html #**************F******!******!*!!****
and read 12 Simple Things You Can Do ******!***************************#**
to Save the Internet **#******#*********!**WW*W**WW****
------------------------------
From: Bone Head <[EMAIL PROTECTED]>
Subject: Re: NT-linux dual boot
Date: Fri, 07 Jul 2000 08:18:05 +1000
Alex,
I suggest you double check the NT boot.ini file to ensure that
"default=multi(...." line (and the corresponding lines) point to the
correct disc drive and partition.
Windoze often gets all confuzzled about which partition is which.
In fdisk under Linux, partition numbers are usually pretty straight
forward - the first partition is partition 1, the second is partition 2,
........
However, Windoze doesn't always see it that way. Reason: Who the f#@%
knows?
Might be worthwhile booting the machine with your NT CD and have a look
at which partition it believes is C: drive etc.
Failing that you could try experimental editing of the boot.ini file to
change the partition number (I'm assuming you have only 1 HDD).
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
This number here ^
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windoze NT Workstation
Version 4.00"
and this number here ^
If you have more than 1 HDD you may need to adjust the "disk(0)" and/or
"rdisk(0)" parameters depending whether they are IDE or SCSI HDD.
Good luck and best wishes ......
Alex MacPherson wrote:
>
> Quick question:
>
> As recommended (O'Reilly's Running Linux), I am booting lilo from the NT
> loader. I included it using the dos utility bootpart.exe. This works
> fine.
>
> One problem however, the NT boot loader can no longer find ntoskrnl.exe
> and therefore NT does not boot.
>
> Has anyone else seen a similar problem?
> --
> Alex MacPherson
------------------------------
From: [EMAIL PROTECTED] (C.J.)
Subject: Re: Search via permissions???
Date: Thu, 06 Jul 2000 21:23:09 GMT
try this
find / -perm -0007 -print
That would find and list all files which have full rights rwx for all users.
There is also a -uid option for find that will only disply files if they are
owned by a certain user, and a -gid that does the same thing for a specific
group.
So if you had a user (baduser) with an id of 505, you could do something like:
find / -perm -0300 -uid 505
To find all files they owned which were set to both executable and writable
for the file's owner.
There are other ways to specify the permissions parameter (without the -, or
with a + instead of the - that mean different things to find.)
For more details, take a look at: man 1 find
In article <8k2vcq$qji$[EMAIL PROTECTED]>, "alex" <[EMAIL PROTECTED]> wrote:
>I'm trying to search by permissions... ie- read/write/etc
>
>Any one know how?
>
>
>
>
>alex
>[EMAIL PROTECTED]
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Scott Alfter)
Crossposted-To: comp.os.linux.hardware
Subject: Re: HP 8100i CDRW not working....
Date: Thu, 06 Jul 2000 22:25:54 GMT
In article <[EMAIL PROTECTED]>,
Steve Martin <[EMAIL PROTECTED]> wrote:
>It would surely make life easier for us who have IDE CD burners, but it
>might be a bit of a pain for those with SCSI drives. I've no experience
>using a computer with IDE and SCSI drives, and I don't know how well
>a "real" SCSI driver would coexist with SCSI emulation.
In addition to SCSI emulation for my CD burner, I have an Adaptec AVA-1502
installed for my scanner. Everything coexists just fine...the 1502 shows up
as SCSI bus 0 and IDE SCSI emulation shows up as SCSI bus 1. I've also had
hard drives temporarily hooked up to the 1502, and they've worked fine.
_/_
/ v \
(IIGS( Scott Alfter (remove Voyager's hull number for email address)
\_^_/ http://salfter.dyndns.org
------------------------------
From: [EMAIL PROTECTED] (Edward A. Falk)
Subject: Re: How could I share resources in Linux ?
Date: 6 Jul 2000 22:31:21 GMT
In article <3960b60c$0$8302$[EMAIL PROTECTED]>,
C.J. <[EMAIL PROTECTED]> wrote:
> ...
>
>Since you are talking about just 2 systems, I'd configure the addresses by
>hand and avoid setting up a DNS server. Pick a couple of names for your
>systems and then edit the /etc/hosts file on each to add a line for each
>system.
>
>The format is
>ipaddress systemname
>
>So if you picked nascar and daytona as your system names, you might end up
>adding something like:
>192.168.1.1 nascar
>192.168.1.2 daytona
A couple more things you need to do:
(Note: the netcfg program can do a lot of this for you.)
* Each system needs to know its own name. Under Redhat, you
edit /etc/sysconfig/network and add this line:
HOSTNAME=nascar
* The "localhost" host should also be defined. You can
add this line to /etc/hosts:
127.0.0.1 localhost
* If you want a domain name (don't know if you need it), the
line in /etc/hosts should look like:
192.168.1.1 nascar.mydomain nascar
Note: last I checked, Redhat's netcfg program was broken with
respect to domain names. The correct way to do it is to hand-edit
/etc/hosts.
* You need to configure the ethernet interface. Netcfg can handle
all of this for you. Set the netmask to 255.255.255.0.
--
-ed falk, [EMAIL PROTECTED] See *********************#*************#*
http://www.rahul.net/falk/whatToDo.html #**************F******!******!*!!****
and read 12 Simple Things You Can Do ******!***************************#**
to Save the Internet **#******#*********!**WW*W**WW****
------------------------------
From: Nix <$}xinix{[email protected]>
Crossposted-To: uk.comp.os.linux,gnu.g++.help
Subject: Re: Getting a working libg++ on Linux
Date: 06 Jul 2000 23:40:13 +0100
[EMAIL PROTECTED] (Nick Kew) writes:
> I have a good deal of (older) software that relies on libg++.
Now that's *rare*.
> Now, the software works fine on older Linux, and on other systems with
> a clean gcc2.6.x or 2.7.x installation.
Yep. But it's not valid ISO C++, so it doesn't work on new g++'s.
> On recent linux, the libg++ README hints darkly at the problems I have
> been suffering. It also refers the reader to a URL at sunsite for
> a Linux-specific libg++, but that URL doesn't exist!
You don't want it, anyway; there is a new-GCC-specific libg++.
> I've spent most of today experimenting with different gcc/libstdc++/libg++
> combos, without reaching a satisfactory result.
>
> Is there a gcc/libstdc++/libg++ combination that *should* work?
Yes. On gcc.gnu.org and its mirrors, there is
/pub/gcc/infrastructure/libg++-2.8.1.3-20000419.tar.gz
which should work with gcc-2.95.* and above. It certainly works with the
latest GCC snapshots; I use it as an additional G++ testbed when
bootstrapping GCC snapshots after I've been hacking at them. It should
work with older GCCs too, but I'm not sure how far back it'll work; it's
probably not been tested with <2.95 for ages.
--
`I can guarantee it's no problem in my network, and if I don't get some
sleep soon, I'll guarantee it will become a problem in your network.'
--- Chris `Saundo' Saunderson deals with a late-night phone call
------------------------------
From: "D F" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Creating Desktop Icons?
Date: Thu, 6 Jul 2000 18:51:55 -0400
David Stackis wrote in message
<396501e5$[EMAIL PROTECTED]>...
>We all know how simple it is to create icon shortcuts on
the desktop in
>WindowsXX....
>
>How in the world does one do this in Linux?
>I just installed Redhat 5.2, and it seems to be fine....I
have the gui up
>and running, and I can switch to AfterStep...
>
>But how do I create icons for my application, and then
place them on my
>desktop?
>
>TIA
>
>David Stackis
>Linux Newbie
>
David,
I'm not sure about RH5.2 but on my RH6.1 installation,
there's a folder on the desktop called 'Templates'. You only
need copy the appropriate icon from that folder to your
desktop and edit the settings under 'Properties' (right
click the mouse on it). You can change the icon on the last
tab.
Dave Fluri
North Bay, Ontario Canada
------------------------------
Reply-To: "Michael E. Shultz" <[EMAIL PROTECTED]>
From: "Michael E. Shultz" <[EMAIL PROTECTED]>
Subject: Re: NT-linux dual boot
Date: Thu, 6 Jul 2000 19:07:57 -0400
Alex:
I think that you need to edit boot.ini and increase the partition number for
NT by the amount of partitions that Linux created. In the case of Corel
Linux, I have to change my partition number from 3 to 5 because it created 2
partitions. The fact that these partitions are located after the NT
partition does not matter. NT counts them before counting the extended
partition when figuring where to look for NT.
Michael E. Shultz
[EMAIL PROTECTED]
"Alex MacPherson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Quick question:
>
> As recommended (O'Reilly's Running Linux), I am booting lilo from the NT
> loader. I included it using the dos utility bootpart.exe. This works
> fine.
>
> One problem however, the NT boot loader can no longer find ntoskrnl.exe
> and therefore NT does not boot.
>
> Has anyone else seen a similar problem?
> --
> Alex MacPherson
------------------------------
From: [EMAIL PROTECTED] (Equinox)
Subject: Re: No 'rescue root' disk in Slackware 7.1?
Date: 6 Jul 2000 23:15:27 GMT
On Wed, 05 Jul 2000 01:08:30 GMT, [EMAIL PROTECTED]
() wrote:
> On 5 Jul 2000 01:06:44 GMT, ljb <[EMAIL PROTECTED]> wrote:
> >I think Slackware 4.0 was the last one with a Rescue Root disk, which you
> >could use with a boot floppy to recover a system from various problems. Did
> >this go away with Slackware 7.0, a casualty of the upgrade to glibc? It
> >seems to be missing at Slackware 7.1 too. This was really useful - is there
> >any alternative to use to fix problems on a server which cannot reliably
> >boot from CD?
>
> If you can't boot from CD then you should fix your crap hardware.
>
> Or get something newer than a 386.
Old hardware can be quite useful. Lots of old systems are "recycled"
into things like masquerading firewall/gateways, intranet web/mail
servers, or even simple file servers (for MP3's, or even recipes).
Still other old systems have been in service since they were
cutting-edge, and have done their jobs well all this time. If it
ain't broke, don't fix it.
You, on the other hand, appear to be broken. For a fix, I recommend
dropping the AOL-esque d1g1tZ from your login name. Maybe you'll lose
the abrasive attitude, and grow a few IQ points.
Schmuck.
--Russell
========================
email (spam-disabled):
rdh *at* dibbs *dot* net
------------------------------
Date: Thu, 06 Jul 2000 19:15:25 -0400
From: sandrews <[EMAIL PROTECTED]>
Subject: Re: after i add memory do i need to increase swap space.
"Edward A. Falk" wrote:
>
> In article <[EMAIL PROTECTED]>,
> J Bland <[EMAIL PROTECTED]> wrote:
> >> I have Mandrake 6.5 running on my m/c (400Mhz 686) and i have 32M of
> >>
> >>RAM.
> >> I have ordered another 128M because KDE + Netscape just don't work
> >>well in 32M RAM space.
> >>
> >> During initial setup i had 64M swap space reserved. So now do i have
> >>
> >>to add 320M (2 X RAM)
> >> as swap space and if yes how do i accomplish this. or how much
> >>should i have.
> >
> >The old rule of thumb of 2XRAM is just that, a rule of thumb.
> >
> >With 196MB of RAM, unless you're really hammering the system, you'll only
> >use a meg or two of swap space.
>
> With that much RAM, do you even *need* swap? Last week, I discovered
> that my 32M Vaio laptop had been running with swapping turned off and
> I'd never even noticed.
>
Probally not I have 256MB ram and I have yet to get it into swap. I
still
configured 128MB of swap, just in-case.
------------------------------
From: Tony Curtis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Screen Savers, Locking Screen
Date: 06 Jul 2000 18:25:31 -0500
>> On Thu, 6 Jul 2000 14:58:27 -0700,
>> "David Stackis" <[EMAIL PROTECTED]> said:
> I never tried running xlock or xscreensaver from the
> command line in a terminal window..... Will doing that
> initiate the xscreensaver, xlock install?
If only :-)
no, it will just let you see whether the prograsms are
there, or on your PATH so you can run them. Clicking
things usually means that error messages aren't visible
(they'll probably be on the console though) on the
desktop. Doing it from the command line means you'll see
any error messages in that terminal window.
hth
t
--
"With $10,000, we'd be millionaires!"
Homer Simpson
------------------------------
From: ajam <[EMAIL PROTECTED]>
Subject: ppp related
Date: Thu, 06 Jul 2000 18:30:38 -0400
I was wondering how many people have had this problem, and what are some
of the suggestions for solving it. To connect to my ISP, I use a simple
ppp/chat script that I wrote. It used to work fine until I upgraded to
Mandrake 7.0. The script still works fine connection-wise, but I
getting the remote ISP IP as the local IP in machine's routing table.
There does not seem to be any errata with regards to this on the
Mandrake site. I already defined the local IP on the ppp part of the
script, which did not do anything. So everytime that I connect I have
to use route and reset my ppp0 IP in order to use the connection. Any
comments will be appreciated! Thanks!
Cheers, ajam
------------------------------
From: [EMAIL PROTECTED] (Glen G. Walker)
Crossposted-To: comp.os.linux.hardware
Subject: SMC EZNET-ISA install info
Date: 6 Jul 2000 23:51:29 GMT
OK, so I saw that somebody else had this same card and also could not get
it recognized by RedHat...
Here is how I got it to work:
I made a DOS floppy and booted up the linux box with that, then stuck
in the install diskette that SMC had bundled. I ran the configuration EXE
(SMCINSTALL.exe or something like that...) and used "custom setup" to turn
plug and play off. Then I began to reinstall RedHat 5.2...
Although the website said that you can use the SMC Ultra driver, it still
would not recognize until for no apparent reason I tried using the NE2000
driver... jackpot. it took and set up just fine.
Now I just have to configure TCP/IP...
Glen
------------------------------
From: [EMAIL PROTECTED] (Tom Hoffmann)
Subject: Re: fetchmail problems
Reply-To: [EMAIL PROTECTED]
Date: Thu, 06 Jul 2000 23:59:34 GMT
On Thu, 6 Jul 2000 23:24:28 +0200, Alex Fitterling <[EMAIL PROTECTED]> wrote:
>Hello,
>I have Problems using fetchmail... I'm configured
>it to poll mail from my POP3-Host to specified local users
>on my host... but something's going wrong... I thought about
>that initiating fetchmail will fetch all mail to my
>local spool acount.... but instead of doing this so
>it's telling me that there's mail to fetch, but can't
>transfer it to my local users... An error occurs...
>
>My .fetchmailrc is looking like such below....
>
># Configuration
>set postmaster "alex"
>set bouncemail
>set properties ""
>poll public.uni-hamburg.de with proto POP3
> user "xxxxx" there with password "xxxxx" is ....
>... alex root khayam here warnings 3600
> antispam 571 550 501 554
>
>why isn't it working... and how do I get sendmail
>involved if it would be necessary...
>
>
>I was thinking about to setup my MTAs using
>fetchmail and sendmail in /etc/cron and probably mutt as
>MUA... Any hints on how I could proceed to reach that goal ?
What is the specific message you are getting? Your .fetchmailrc looks
good to me. I compared it with mine, and other than your multiple
users, it was virtually identical. And my mail goes to
/var/spool/mail/<user>.
As for your ultimate goal, it is what I use ... mutt, fetchmail, sendmail.
Fetchmail handles incoming, sendmail handles outgoing (SMARTHOST), mutt
handles reading/composing. It's a relatively stright-forward setup ...
once you get by your fetchmail peculiarity.
------------------------------
From: Todd Johnston <[EMAIL PROTECTED]>
Subject: Re: Eth0 delaying intializtion
Date: Fri, 07 Jul 2000 00:06:29 GMT
If I log in as root and type /etc/rc.d/init.d/network start I get:
Bringing up interface eth0 Delaying eth0 initialization [FAILED]
I have tried removing the irq and when I accept changes, it just goes back to
irq 11
The I/O port is always blank.
Still lost.
------------------------------
** 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.setup) 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-Setup Digest
******************************