Linux-Misc Digest #994, Volume #25               Tue, 10 Oct 00 00:13:02 EDT

Contents:
  Re: deleted /var/log/messages and it doesn't reappear (Bill Unruh)
  Re: odd sound problem (Bo Forslund)
  Where could I get SuSe PPC? (Alexandre Binette)
  resizing ext2fs (Neil Zanella)
  Re: How to copy a file to a floppy? (James Silverton)
  Print Quotas (Rafael)
  Re: Sniffer (Dances With Crows)
  Re: How to get ide-scsi to auto-load? (Dances With Crows)
  Re: How to install Linux RH7? (Dances With Crows)
  Re: resizing ext2fs (Dances With Crows)
  Re: How to get ide-scsi to auto-load? (Grant Edwards)
  Re: Odd Mouse Behaviour ("Michael Westerman")
  Re: Hey! Newbie on WinLinux 2000 w/Win Me ("Michael Westerman")
  cdrdao seems slow... (Grant Edwards)
  Re: Mod_Perl on RH7 fails to make test
  Re: kernel warning: ("harry")
  repartitioning question (Neil Zanella)

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: deleted /var/log/messages and it doesn't reappear
Date: 10 Oct 2000 01:14:42 GMT

In <8rt0g7$ahd$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:

]In article <[EMAIL PROTECTED]>,
]  [EMAIL PROTECTED] (Bjoern) wrote:
]> I deleted it, and now it isn't being created anew. I tried creating a
]> file /var/log/messages, but that didn't work either.

]When you remove a file with rm, the visible link to it is removed
](you've "unlinked" it), but you might not have actually removed the
]file. The actual file is not removed until the last program that has it
]open closes it, then it is removed. Until then it lives on w/o a name,
]and any programs writing to it write to this unnamed file, not the new
]one you created.

]> What can I do?

]A reboot is your best (easiest) bet now. In the future when it gets too
]big, instead of deleting it, zero it out by catting /dev/null into it:

Uh, lets not get carried away. 
killall -1 syslogd
should do it.


]cat /dev/null > /var/log/messages

]This will zro out the actual file.


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

From: Bo Forslund <[EMAIL PROTECTED]>
Subject: Re: odd sound problem
Date: Tue, 10 Oct 2000 03:32:36 +0200

Dances With Crows wrote:

>
> Which sound card do you have?  Some cards have a problem with mike
> feedback, which you can overcome by setting the mike volume to 0 with a
> mixer tool.  Also check "dmesg" and look for messages relating to sound
> and DMA errors.  If you have an ISA soundcard, and the DMA is set
> incorrectly, you will hear ticking like that (if you're lucky enough to
> hear any sound at all!).
>

Thanks for the answer. The sound problem isn't a big problem, but... should
work though.

I have a sb 16. It used to work. The strange thing is that with xmms it sounds
perfect if run by root, ticking if run by user. mpg123 is ticking for root and
user. The ticks is short pauses in the sound. I tried different dma settings
and that made the lenght of the ticks ( pauses ) vary from fast and short to
very long.

Thanks
Bo


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

Subject: Where could I get SuSe PPC?
From: Alexandre Binette <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.questions,aus.computers.linux,comp.os.linux.powerpc,alt.uu.comp.os.linux.questions
Date: Tue, 10 Oct 2000 01:49:47 GMT

Hi,
    I'm looking to get for free the SuSE PPC version of Linux. Does anybody
know where to find it?

Thank you very much for your precious help,


Alexandre


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

From: Neil Zanella <[EMAIL PROTECTED]>
Subject: resizing ext2fs
Date: Mon, 9 Oct 2000 23:32:07 -0230


Hello,

I have an ext2fs partition which I would like to split up into two.
I was wondering whether there is some Linux tool that does non
destructive repartitioning on ext2fs the same way FIPS works
with DOS. That is, I would like to shrink the ext2fs partition
to make room for another one without loosing any data contained therein.

Thanks,

Neil


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

From: James Silverton <[EMAIL PROTECTED]>
Subject: Re: How to copy a file to a floppy?
Date: Mon, 09 Oct 2000 22:01:56 -0400

MaryP wrote:
> 
> OK, go figure. I wait 20 hours, come back
> and try again. Everything is fine, the
> Good Linux Fairy did her thing.
> 
> For anyone else who wants to know how to
> format a floppy:
> 
> fdformat /dev/fd0
> 
> To make an ext2 filesystem on that floppy:
> 
> /sbin/mkfs -t ext2 /dev/fd0 1440
> 
> (do not put H1440)
> 
> To mount said floppy, providing the
> /mnt file already exists:
> 
> mount -t ext2 /dev/fd0 /mnt/floppy
> 
> To copy a file to it, first go to the
> directory where that file lives. Then go:
> 
> cp /etc/foo /mnt/floppy

That should work fine and, given the various defaults and the same
assumptions, the commands can be even simpler.

fdformat /dev/fd0
/sbin/mkfs  /dev/fd0 
mount /mnt/floppy
cp /etc/foo /mnt/floppy

At least these work for me under SuSE 6.2

Of course, if you are not concerned with having an ext2 file system on
the floppy, the various commands of mtools can be used: mformat a:, 
mcpy /etc/foo a: etc.

Jim
-- 
James V.  Silverton
Potomac, Maryland.

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

From: Rafael <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.os.linux.networking
Subject: Print Quotas
Date: Mon, 09 Oct 2000 19:38:02 +0200

I need Print Quotas Under Linux for our Institution. Only this that we
do not have ability to count printed pages under Linux keep us using
Microsoft Windows NT. Can anybody help me to find some software or
script to count printed pages by users.
Users use windows 98 and  Windows Workstation, they are connected thruu
Samba to our RedHat Linux Server:
We have two Network Printers: HP LaserJet 5 and Oki printer.


Can anybody help me?
If you can please send me email.

Rafael


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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Sniffer
Date: 10 Oct 2000 02:21:24 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 9 Oct 2000 14:45:41 -0700, Micer wrote:
>Can anyone suggest a good packet sniffer for RedHat Linux. Also, I have a
>3COM 3C509 card. Do I need a different card to do sniffing?
>
>I am testing NAT, Squid proxy, MASQ, IPMASQADM, etc, etc and want to see the
>packets floating about rather than seeing how they were handled in the log
>after the fact.

As the other guy said, use tcpdump.  However, I'd also reccommend
ethereal for seeing the data that tcpdump generates.  You can do a
  tcpdump -w packetlog.raw [tcpdump arguments]
and then open packetlog.raw with ethereal to get a much better visual
representation of the packets you've snarfed.  ethereal can also snarf
packets directly.  You can find it on http://freshmeat.net/ by searching
for "ethereal", naturally.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: How to get ide-scsi to auto-load?
Date: 10 Oct 2000 02:21:25 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 09 Oct 2000 21:16:21 GMT, Grant Edwards wrote:
>I can't figure out how to get the ide-scsi module auto-loaded
>when I try to mount /dev/scd0 [and also the aic7xxx module
>auto-loaded when I try to mount /dev/scd1].
[snipp]
>Any suggestions?

cat >> /etc/rc.d/rc.local
modprobe ide-scsi
modprobe sg
^D

...OK, so it's inelegant, but it'll work.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: How to install Linux RH7?
Date: 10 Oct 2000 02:21:28 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 09 Oct 2000 20:38:31 GMT, Bo Berglund wrote:
>Yes, but what I wanted to find out is how do I fit the system into my
>PC? I had thought that a PC with less resources than used by Windows
>would be OK, so I have started out with a Pentium 166 with 16M RAM (I
>will add more later) and 1500 Mb hdd. I also have 3 pcs 3Com509B NICs.

[install woes re: dependency packages/not enough space snipped]

If you have only a 1.5G drive, RedHat 7 may not be the best choice.
RedHat 6.2 took up about 1.1G for everything I wanted the last time I
installed it.  Most other distributions have a number of default
configurations you can select from, including "minimal", "standard", and
"everything".  The SuSE minimal install is about 200M(!) but lacks an
awful lot of stuff (no X, no gcc, no emacs, no kernel source.)  Slack
and Debian can be pared down even further.  Plus, there are a number of
widely publicized bugs with RedHat 7, including the inability of the
shipped gcc to compile a kernel--check Slashdot for the continuing
argle-bargle on *that*.

If you're running into partition problems, there's a simple (though
unlovely in many respects) fix:  Make only 2 partitions, one swap
partition of about 96-128M and one / partition covering the rest of the
disk.  This will actually give you maximum flexibility, at the expense
of some security considerations you probably don't want to worry about
right now.  (I did exactly this on my laptop, which only has a 2G
drive.)  If your disk reports over 1024 cylinders for geometry, you
should expand this to 3 partitions, one 20M /boot at the very beginning
of the disk, one 96-128M swap, and / covering the rest of the disk.

Add the RAM sooner rather than later.  A P-166 with 16M would be
hideously slow IMHO; upgrading to 32 or 64M would drastically improve
performance in all respects.  When I upgraded my P-150 laptop from 32 to
48M, Netscape started up twice as fast, and kernel compiles took about
18 minutes instead of about 27.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: resizing ext2fs
Date: 10 Oct 2000 02:36:20 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 9 Oct 2000 23:32:07 -0230, Neil Zanella wrote:
>I have an ext2fs partition which I would like to split up into two.
>I was wondering whether there is some Linux tool that does non
>destructive repartitioning on ext2fs the same way FIPS works
>with DOS. That is, I would like to shrink the ext2fs partition
>to make room for another one without loosing any data contained therein.

There's a tool called "gpart" that does ext2 partition shrinking.  Take
a look on http://freshmeat.net/ for it, or look for ext2resize, which
does something very similar.  gpart has the restriction that the start
of the ext2 filesystem can't move, so you can shrink or expand the
partition, but not move it very easily.  Don't know about ext2resize.
HTH!

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: How to get ide-scsi to auto-load?
Date: Tue, 10 Oct 2000 02:54:08 GMT

On 10 Oct 2000 02:21:25 GMT, Dances With Crows <[EMAIL PROTECTED]> wrote:

>>I can't figure out how to get the ide-scsi module auto-loaded
>>when I try to mount /dev/scd0 [and also the aic7xxx module
>>auto-loaded when I try to mount /dev/scd1].

>cat >> /etc/rc.d/rc.local
>modprobe ide-scsi
>modprobe sg

>...OK, so it's inelegant, but it'll work.

Yup, I was hoping I could get it to happen on demand and then
get autocleaned.  I rarely use the CD, and don't really need
the module loaded all the time.

-- 
Grant Edwards                   grante             Yow!  Someone in DAYTON,
                                  at               Ohio is selling USED
                               visi.com            CARPETS to a SERBO-CROATIAN

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

From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: Odd Mouse Behaviour
Date: Tue, 10 Oct 2000 12:56:06 +1000

this used to happen in msdos (years ago...)
when the mouse was auto detected as a pc or ms mouse
but the mouse was set as the other.

the mice used to have a switch to select the right mode.

you may need to set the mouse type in your config.

MDM <[EMAIL PROTECTED]> wrote in message news:8rsrql$6a1$[EMAIL PROTECTED]...
> System is a VTech Platinum NCP Pro Series
> 2 x 200 MMX processors
> 64 Mb RAM
> MS 2 button serial mouse
> 33.6 ext USR modem
> RH6.2
>
> This is a fresh/clean install (not that old either) where once every
> couple of days or so the mouse seems to take on a life of its' own. When
> this happens the mouse pointer does not follow mouse movement (I move
> mouse left pointed goes up/down/right - anywhere but where I move the
> mouse), 'clicks' are performed without the mouse button being depressed,
> and of course it becomes impossible to do anything but hit the reset
> button.
>
> Everything else seems to be working fine, any suggestions would be
> appreciated.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: Hey! Newbie on WinLinux 2000 w/Win Me
Date: Tue, 10 Oct 2000 13:00:16 +1000

www.caldera.com

look in thin clients...
go to drdos.
down load it.
up to 7.xx



<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> what i need is where i can get to download a copy of ms-dos 6.22 or later,
> and make a boot disk for it, if i can boot it, then i can just execute the
> file to run linux.
>
> Oliver Battenfeld wrote:
> >
> > Glitch schrieb:
> > > WinME does not have MSDOS anymore, at least not technically.
> >
> > You probably wanted to say: At least not in the start menu.
> >
> > Win ME is based on MS-DOS just like any of its predecessors. Options to
> > directly boot it have vanished though.
> >
> > > b/c DOS isn't a boot option, the DOS boot files config.sys and
> > > autoexec.bat are no longer used as well.
> >
> > Not true as well.
> >
> > Mykangaroo, do a web search on this, going into detail here is way
> > offtopic. OTOH, my suggestion also is to get a "real" distribution ;-)
> >
> > --
> > Bye,
> > Oliver
>
>
> --
> Posted via CNET Help.com
> http://www.help.com/



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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: cdrdao seems slow...
Date: Tue, 10 Oct 2000 03:09:09 GMT

I've been playing with copying audio CD's on-the-fly with
cdrdao, and can't get it to work at anything faster than 2X.
I've got:

HP 9200          BusLogic BT-950.
TEAC CD-532E-B   ide-scsi.

Should I be able to go faster than 2X?

Reading the TEAC drive seems to be the bottleneck.  I just did
a short test with

 $ cdr read-cd --device 1,0,0 --datafile /dev/null foo.toc

It can barely do 2X.  It copied the first 10 minutes of audio
off the CD in 5:10 minutes.

-- 
Grant Edwards                   grante             Yow!  Can you MAIL a BEAN
                                  at               CAKE?
                               visi.com            

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

From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Mod_Perl on RH7 fails to make test
Date: 10 Oct 2000 02:40:37 GMT

User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i586))

In comp.os.linux.networking Jonas Thorell <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote
>> I am trying to install mod_perl on a RedHat7 2.2.16-22 box, with
>> apache_1.3.12 .
> Why not use those that are shipped with RedHat 7? Apache 1.3.12
> and modperl 1.24.

<RANT>
Why not use the rpms? Because whomever builds the RedHat rpms has
been using too much...something. Ever build a package from scratch?
It USUALLY goes into /usr/local . RedHat like to put their packages
wherever they feel like installing them. Redhat like to makeup their
own rules as they go along, (witness the latest gcc2.96 fiasco).
I used a Redhat rpm for PHP. It didn't include MIME or Postgress hooks.
So I have to build it from scratch. My customers request Redhat so that
is what I install, but there is no need to tie my hands behind my back 
and use their rpms. They suck.
</RANT>
Thankyou.

-- 
Danny Aldham     Providing Certified Internetworking Solutions to Business
www.postino.com  E-Mail, Web Servers, Web Databases, SQL PHP & Perl

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

From: "harry" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: kernel warning:
Date: Tue, 10 Oct 2000 05:05:26 +0200

have a look in /etc/conf.modules and set a comment-mark <#> in front of the
module you do not want to load. but be sure you do not need this module.
this should do it
harry

Christian Wenz wrote in message <[EMAIL PROTECTED]>...
>i get this message since i upgraded to SuSE 7.0:
>
>insmod: /lib/modules/2.2.16/ipv6/ipv6.o: insmod net-pf-10 failed
>
>after booting and if i send mails with elm, this message is loged under
>/var/log/warn. i do not know why the kernel like to load this module. as
>far as i know i didnt compilied it in the kernel. can somebody help me.
>--
>In /dev/null no one can hear you scream



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

From: Neil Zanella <[EMAIL PROTECTED]>
Subject: repartitioning question
Date: Tue, 10 Oct 2000 01:23:46 -0230


Hello,

Here is my current partition table. Since I am running out of space and
I also need DOS so that I can perform a BIOS update and other stuff I
would like to change my /dev/hda7 into a /dev/hda7 (1GB ext2) /dev/hda13
(1.5GB FAT32). But it seems to me that the Linux version of fdisk was not
letting me do this so I rebooted into Win2K and reformatted the whole
/dev/hda7 into a big FAT32. Since I only use /usr/local for my own stuff I
thought that this would be OK. Unfortunately when I rebooted into Linux
and unpacked my backed up /usr/local tarball (which I named local.tar) I 
got the following errors: (i) ownership problems (which were expeceted
but it's not a big deal since I'm the only user on this computer) and (ii)
symlinks could not be created; I didn't know that FAT32 did not support
sym links. Anyway, now I am still wondering if I can still have a 1GB
ext2fs partition for putting /usr/local and a separate FAT32 partiton
to make into my drive E: under Win2K and use as DOS. Any ideas?
(BTW, other than the symlinks having /usr/local as a FAT32 is a great
way to share files (such as mp3s etc...) with Win2K since the partition
is readable (and safely writeable!) from both OSs. See my partition tables
bw

Here is my hard disk before repartitioning:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       109    824008+   7  HPFS/NTFS
/dev/hda2           110       839   5518800    5  Extended
/dev/hda5           110       112     22648+  83  Linux
/dev/hda6           113       432   2419168+  83  Linux
/dev/hda7           433       704   2056288+  83  Linux
/dev/hda8           705       745    309928+  83  Linux
/dev/hda9           746       779    257008+  83  Linux
/dev/hda10          780       807    211648+  83  Linux
/dev/hda11          808       824    128488+  82  Linux swap
/dev/hda12          825       839    113368+  83  Linux

/dev/hda12              109771     57661     46442  55% /
/dev/hda5                21929      7621     13176  37% /boot
/dev/hda1               824008    813524     10484  99% /nt
/dev/hda9               248895     62786    173259  27% /home
/dev/hda10              204951      1102    193267   1% /tmp
/dev/hda6              2381120   2283100         0 100% /usr
/dev/hda8               300137     41987    242654  15% /var
/dev/hda7              2023920         4   1921104   0% /usr/local


Here is my hard disk after repartitioning:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda12              109771     57637     46466  55% /
/dev/hda5                21929      7621     13176  37% /boot
/dev/hda1               824008    813524     10484  99% /nt
/dev/hda9               248895     62787    173258  27% /home
/dev/hda10              204951      1103    193266   1% /tmp
/dev/hda6              2381120   2283100         0 100% /usr
/dev/hda7              2052260    539500   1512760  26% /usr/local
/dev/hda8               300137     42022    242619  15% /var

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       109    824008+   7  HPFS/NTFS
/dev/hda2           110       839   5518800    5  Extended
/dev/hda5           110       112     22648+  83  Linux
/dev/hda6           113       432   2419168+  83  Linux
/dev/hda7           433       704   2056288+   b  Win95 FAT32
/dev/hda8           705       745    309928+  83  Linux
/dev/hda9           746       779    257008+  83  Linux
/dev/hda10          780       807    211648+  83  Linux
/dev/hda11          808       824    128488+  82  Linux swap
/dev/hda12          825       839    113368+  83  Linux



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


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