Linux-Misc Digest #593, Volume #18 Wed, 13 Jan 99 03:13:31 EST
Contents:
Re: NEWBIE: Best Distribution (Larry)
Re: Newbie To Linux..Questions. (Larry)
Re: editing lilo.conf and making the change stick (Rob Mahurin)
Re: make zImage => goes wrong , make dep clean => goes alright (Kenyon Ralph)
HELP - I need recommendation on Screen Saver (matt)
Re: .. or Newbie Needs Linux Help ... ("Omni�")
Mailserver on lan problem (Adam Finkelstein)
Control Panel will not load ??? (Kevin Stoops)
Re: does the Diamond SupraExpress 56i Modem do linux? (Matt)
how to use libc5 to compile peograms in redhat 5.2 (Chetan Ahuja)
Q: Semiblocking SOCK_STREAM (Goran Allerbo)
Re: Colours (Rob Mahurin)
Re: things I'd pay to have developed for Linux... (Phil Howard)
ISO characters in the console (Michael Powe)
Re: Linux should not support non-free modules (Rex Riley)
How can I use vesablank to shut off my monitor from X? (Rob Mahurin)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Larry)
Subject: Re: NEWBIE: Best Distribution
Date: 12 Jan 1999 20:29:56 GMT
On Tue, 12 Jan 1999 13:20:11 +1300, Cleavage <[EMAIL PROTECTED]> wrote:
>Hi All:
>I am going to University later this year, and I am studying a computing
>degree which user entireley the linux operating system, esp. for programming
>c/c++.
>I have been running slackware 3.4 for some time now, though I have not yet
>really learned how to use it. I was thinking I should upgrade to the latest
>version of linux, but I am not sure whether to get the latest release of
>slackware or whether to get another distribution eg. rh or debian.
WARNING: Opinion stuff follows.
Stay with Slackware. Once you have learned how to use Slackware, you will
pretty much know Linux. The app installations are not as simple and the
installation of Slackware is not as simple. But since you already have it
installed, that part pretty much doesn't matter now.
I started off with Slackware and though it was a little tough to learn, it
was well worth the effort. I decide where applications are installed and
because I have a definate place and directory structure for all
installations, I always know where the files for each app are located.
If you are going to be using Linux in a learning environment, Slackware
would be the choice because it is definately the hackers distribution.
Using Slackware takes you into the guts of Linux like no other dist can.
I would upgrade to the latest release of Slackware.
END: Of opinion...
------------------------------
From: [EMAIL PROTECTED] (Larry)
Subject: Re: Newbie To Linux..Questions.
Reply-To: [EMAIL PROTECTED]
Date: 12 Jan 1999 20:29:58 GMT
On 12 Jan 1999 13:28:43 GMT, Rage Matrix <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I installed RedHat 5.2 a few weeks ago on a spare 4.5Gb HD. It all seems
>to work okay, althought X-Windows is a bit shakey. However, growing up on
>MS-DOS and Windows 95, I have a few questions.
>
>1. Is there any way to mount the floppy drive without being root user? It
>is a little annoying to have to be super user to access the floppy drive.
put the flopppy in /etc/fstab something like this:
/dev/fd0 /A msdos -user 1 1
/A is the directory you make in the root ( / ) directory for mounting the
drive on.
-user tells it to let anybody mount the disk.
that way all you have to do to mount the floppy is type mount /A
(warning: read the mount man page for more info.. type: man mount)
>
>2. What is Linux native file format and how to I use it? At the moment, I
>have been saving files to floppy using mount -t msdos /dev/fd0
>/mnt/floppy.
see above: for mounting floppy.
native format is e2fs but you are better off leaving the floppy
in dos format and using mtools. Do: 'man mtools' to learn
about mtools. It uses virtually the same commands as dos with an m in the
front like mcopy, mdir, mdel and so-on. If you don't have mtools I would
suggest getting it and installing it, though it comes standard with the
Slackware distribution.
Also, if you use mtools I don't think you have to mount the floppy...
let me see..
nope, you just type the commands and mtools does the work for you.
>Is Linux native file format accessible by Win95 so I can
>share files between drives?
Sorry don't know anything about winnders.
>
>3. Has anyone else had problems using a Microsoft mouse with X-Windows? I
>had to write a script (mouseconfig --kickstart --device cua0) to fix it.
>However, I have to do it each time before I load X-Windows. Can I put it
>in a startup script so it will load every time I load X? Also, mouseconfig
>is a root file. How can I run this script as a user?
Setup your mouse in XF86Config. I use microsoft compatible with no
problems. In XF86Config I have:
########################################################
# pointer section
########################################################
section "Pointer"
Protocol "microsoft"
Device "/dev/mouse"
Emulate3Buttons
Emulate3Timeout 50
EndSection
>
>4. I have had some problems running X-Windows in a resolution greater than
>640 x 480. I have a S3 ViRGE 4mb graphics card.
I have the same card, no problems.
>However, when I specify a
>greater resolution using XConfigurator, X crashes out with error 111.
I don't know what Xconfigurator is, I setup X using xf86config. It asks a
bunch of questions, you answer them and it builds the XF86Config file.
You may have to do a little tweeking to the XF86Config file after it's built
but with that card you generally get a pretty close configuration.
You will have to know what your Horizontal and Vertical sync rates are
for your monitor but you can pick low values for these if you don't
have your manual and go to tweaking with Xvidtune. There after you change
video resolutions from within X with ctrl_alt_+ (the + on the keypad)
to increase the resolution and ctrl_alt_- (minus on the keypad) to decrease
resolution.
>Could this be because I have a 3DFX Diamond Monster 3D as a secondary
>graphics card? If so, how do I fix it?
>
I don't know what problems this may create.
>5. Where can I get the Linux Doom WAD? I downloaded the GZIP file only to
>be told in the readme that I didn't have the WAD required to play the
>game.
If you have the dos version of doom, that wad works. If not you will have to
download the dos version from one of the many ftp sites and get the wad file
from it.
>Sorry for the large amount of questions. Any help answering any or all of
>the above would be great. I really like Linux so far, but am feeling a
>little out of my depth, so if any of the above is stupidly obvious to
>anyone, please don't flame me...I scare easily :)
>
>Replies by e-mail would be nice, but since I observe netiquette, I do not
>insist.
>
>Thank you.
>
yer welcome
------------------------------
From: Rob Mahurin <[EMAIL PROTECTED]>
Subject: Re: editing lilo.conf and making the change stick
Date: Wed, 13 Jan 1999 06:28:34 +0000
Reply-To: robmATmad.scientist.com
Chris wrote:
>
> What's the command for making any changes to lilo.conf stay? If you
> edit the file and do not run this command, they don't take. Any help
> would be cool...thx...
>
> Chris
lilo.conf is not normally writeable by normal users:
01:11 $ ls -l /etc/lilo.conf
-rw-r--r-- 1 root root 209 Jan 10 12:51 /etc/lilo.conf
so if you're not root or don't use sudo to edit it, the changes won't be
activated because you don't have permission to do them. Use su or sudo.
Rob
--
For good, return good.
For evil, return justice.
------------------------------
From: [EMAIL PROTECTED] (Kenyon Ralph)
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.alpha,linux.dev.kernel,linux.redhat.misc,nl.comp.os.linux,uk.comp.os.linux,redhat.kernel.general,redhat.general,linux.redhat
Subject: Re: make zImage => goes wrong , make dep clean => goes alright
Date: Wed, 13 Jan 1999 06:54:33 GMT
On Wed, 13 Jan 1999 03:57:44 GMT, Loose Nut wrote:
> command? Is this ok to do? I usually do...
>
> make config
> make dep
> make clean
> make zImage
>
> in that order. Let me know if I'm just confused here.
This is exactly what I do. It works perfectly every time. Then just copy
the zImage and System.map to /boot, and run lilo.
--
Kenyon Ralph | [EMAIL PROTECTED] | http://kenyon.ddns.org
------------------------------
From: matt <[EMAIL PROTECTED]>
Subject: HELP - I need recommendation on Screen Saver
Date: Wed, 13 Jan 1999 00:14:58 -0500
Hi,
I am looking around the net for a good Screen Saver for Linux but I
can't seem to find one. If anyone knows where to get a good screen saver
for Linux, please let me know. Thanks.
Bill
------------------------------
From: "Omni�" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.setup
Subject: Re: .. or Newbie Needs Linux Help ...
Date: Mon, 11 Jan 1999 14:33:52 +1100
yeah right
2600 is a cart
nuff said
cya
Eric wrote in message <77bo6t$[EMAIL PROTECTED]>...
>>why's that
>>you selling yours?
>
>>how old are you kid?
>>I get replies like that on alt.2600.newbies
>
>oh, how cute. old enough to know how to mount /dev/cdrom /mnt
>yeah, i had a 2600 when i was your age, but i knew how to put the cart
>in a turn on the power.
------------------------------
From: [EMAIL PROTECTED] (Adam Finkelstein)
Crossposted-To: comp.mail.smail
Subject: Mailserver on lan problem
Date: 12 Jan 1999 20:32:38 GMT
Hello. I am having an exasperating problem and I have the docs and
resources to pour over, but I thought I'd query Usenet and see if anyone
has a quick answer for me.
Here's my problem: I have a linux machine with 2.0.* compiled with etho and
am set up on a lan. I am able to telnet from this machine to other hosts
and use a web browser. I can use mutt to pop my mail from a remote pop
server. I cannot get my mail from the server that resides on the lan. I
have smail up and running. I have tried the ip addresses of the mail
machine that work on the lan in Windoze95, and have even tried to pop to it
using the pop name/ip address. Nothing. I cannot send mail out either.
What am I missing here? Since the mail server is on the lan, is there
something I need to set in the /etc/smail/config file?
Here's the ip address of the mail server that works, via netscape, on a
win95 machine: 10.10.254.13
The same serve outside the firewall is 159.189.39.19 Does anyone have an
idea why I cannot connect to send mail out? What do I need to tweak in
smail?
thanks,
Adam
--
Adam Finkelstein
[EMAIL PROTECTED]
http://metalab.unc.edu/bees/adamf
------------------------------
From: Kevin Stoops <[EMAIL PROTECTED]>
Subject: Control Panel will not load ???
Date: Tue, 12 Jan 1999 13:53:38 -0600
The control panel will not load in RH5.2.
I get the error: unable to find a usable depth, Aborted
......................Any Idea what this means???
Thanks
Kevin
------------------------------
From: Matt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,linux.redhat.install
Subject: Re: does the Diamond SupraExpress 56i Modem do linux?
Date: Wed, 13 Jan 1999 05:30:59 +0000
The, get ready, SupraExpress 56i v.90 Sp model-2480, does work with Linux.
Originally a tech at Redhat told me it didnt. But a tech at Diamond told me
different. I know the model 2480 works, thats what I've got. No software is
needed, and its got jumpers.
This links to a list of modems, compatible and incompatible..
http://www.o2.net/~gromitkc/winmodem.html
thanks to Bill Bannan for the link.
matt
------------------------------
From: [EMAIL PROTECTED] (Chetan Ahuja)
Crossposted-To: comp.os.linux.development.apps
Subject: how to use libc5 to compile peograms in redhat 5.2
Date: 12 Jan 1999 19:33:30 GMT
Hi,
The subject says it all... I am reading the glibc2 how-to and
as far as I can make out, this how-to is saying that I need
to tell gcc to change the include files path to change the libc
that I am using ( in addition to changing various options to the
linker) Redhat 5.3 distribution has thoughtfully placed the old
libc.so files in a separate folder but seem to have forgotten to
also place the old header files somewhere obvious... can I get
download just the header files from somewhere.... I really
don't want to have to download the entire source distro just
to get the header files.....
Or is it all wrong and I can just let gcc use the regular header
files...
Thanks
Chetan
--
------------------------------
From: Goran Allerbo <[EMAIL PROTECTED]>
Subject: Q: Semiblocking SOCK_STREAM
Date: Wed, 13 Jan 1999 07:30:16 +0100
Hi!
I have a realtimedata-serversystem, with an HTTP-ifc, written in Python
that I try to port to SuSE5.3 with LinuxThreads 0.5(?).
The server currently runs with no problem on Solaris 2.5 and
FreeBSD 2.2.7 ( I think it is.. ). The Python I use is 1.5.1 on all
platforms.
The server contains a number of processes, each with internal
threads. These processes (within the machine) communicates using UF_UNIX
+ SOCK_STREAM.
Now my problem:
Suppose we have a process 'A' with a thread 'a'. This process (thread)
tries to 'send()' string-oriented (cPickled) data into process 'B'
thats 'recv()' data in its thread 'b'.
If 'A.a' sends a 27 bytes message, 'B.b' wont react at all (won't leave
its blocking 'sock.rcv(10000)').
When 'A.a' sends another 100 bytes 'B.b' now reads 127 bytes as two
messages....
I suspect that perhaps:
>> from socket import *
>> sock.setsockopt(SOL_SOCKET, SO_RCVLOWAT, 1)
could help but I can't 'compile' this as SO_RCVLOWAT is unknown to
Python(!?),
anyway this value should by default be set to 1 I guess (hope..)?
Any hints or help is appreciated.
TIA
/ga
--
Mr Goran Allerbo [EMAIL PROTECTED]
Carmenta AB Tel +46 (0)31 7755700
Box 31121 Fax +46 (0)31 246379
S-40032 Goteborg, Sweden http://www.carmenta.se/
------------------------------
From: Rob Mahurin <[EMAIL PROTECTED]>
Subject: Re: Colours
Date: Wed, 13 Jan 1999 05:59:09 +0000
Reply-To: robmATmad.scientist.com
Matt Cobley wrote:
>
> Hi,
> I used to run a Debian system (which someone else set up for me),
> but now I've got RedHat 5.2 that I set up myself. There was a lovely
> little feature in my Debian setup which made different filetypes appear
> in different colours, can anyone tell me how to do this under RedHat?
>
> Thanks,
>
> Matt
ls --color
man ls
Rob
--
For good, return good.
For evil, return justice.
------------------------------
From: [EMAIL PROTECTED] (Phil Howard)
Subject: Re: things I'd pay to have developed for Linux...
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Date: Wed, 13 Jan 1999 06:57:09 GMT
On 11 Jan 1999 07:27:34 -0600 Peter Samuelson ([EMAIL PROTECTED]) wrote:
| - Disks are recognized not by SCSI ID's or whatever but by a VG
| signature. LV's contain a certain amount of metadata as well, so
| /etc/fstab is not really needed to figure out what partitions mean
| what.
A hack I've used is to create a symlink called "MOUNT" in the root
directory of each partition. My "smart mounter" goes through all the
partitions, first mounting read/only to take a peek at "MOUNT" and
then mounts the partition as specified. Thus if the partitions get
moved around due to SCSI ID to device name relationship shifting, it
won't affect what data shows up where.
While Linux's MD feature can merge multiple partitions into one filesystem,
it would be nice if a filesystem were smart enough to understand each of
the partitions it is using and know how to add it in, or even remove it.
Even an LVM for Linux is going to require changes in a filesystem so that
the filesystem knows there are more blocks available to allocate, and has
the allocation maps grow somewhere. Will there be more superblocks? I'd
tend to think so.
| Anyway as I said, an LVM is being developed for Linux. Current release
| is 0.4 and is available at ftp.msede.com:/pub/linux/lvm/ . It was
| released back at kernel version 2.1.103 or so; don't know how much has
| changed since then that would involve the kernel patch portion.
I'd be curious about how many layers of complexity it has. But I don't
have time to go investigate, since so many things are complex that time
is still precious (though I still end up wasting some on usenet).
--
-- *-----------------------------* Phil Howard KA9WGN * --
-- | Inturnet, Inc. | Director of Internet Services | --
-- | Business Internet Solutions | eng at intur.net | --
-- *-----------------------------* philh at intur.net * --
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Subject: ISO characters in the console
Date: 12 Jan 1999 22:16:40 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
I'm having an ongoing problem with the newest kernels. I have the ISO
support enabled in the kernel. This does not, however, seem to give
me "default" display of the characters. I can set the console so that
it correctly displays ISO-8859-1 characters. I run setfont
(iso01.f16) and loadunimap (iso01.uni) and I get the correct displays.
However, after using the system for a while, I seem to lose the
settings. The character displays become corrupted so that I see
other, usually bizarre, characters instead of the standard chars
(umlaut, cedilla &c). If I go back to the shell and reinvoke setfont
& loadunimap, I get the correct characters back.
The characters display fine in X without any meddling. But I don't
use X that much and really want my console to behave itself. I'm
presently using v2.2.0-pre6 but I first noticed the problem in -pre4.
Any suggestions?
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE2nDoS755rgEMD+T8RAiGVAKCauNRiajDBOGlEEF3QLTmT6nWYxwCdHyPB
MltFus+ei+hfNtS0pCxe/r4=
=YbtU
=====END PGP SIGNATURE=====
------------------------------
From: Rex Riley <[EMAIL PROTECTED]>
Reply-To: rr6013.yahoo.com
Crossposted-To: comp.os.linux.development.system,comp.os.linux.advocacy
Subject: Re: Linux should not support non-free modules
Date: Wed, 13 Jan 1999 07:13:38 GMT
MalkContent wrote:
> :
> : It's the power of a hardware giant like Intel behind UDI that provides
> : the chance that MS will run into problems when trying to ignore it.
> :
>
> [snip observations]
> Are any of us willing to give up our personal tinkered systems for what may
> one
> day become another windoze?
>
> Just a thought.
>
> Malkcontent.
It's refreshing to find a willing challenger to the MS grip on mindshare. You
have obviously chosen to educate your mind and decide for yourself what windoze
are right for you.
And if you further the day when Linux becomes another windoze, you'll have
participated in at least one more choice than existed.
Malkcontents, afterall, founded a new nation 200+ years ago...
-r
------------------------------
From: Rob Mahurin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: How can I use vesablank to shut off my monitor from X?
Date: Tue, 12 Jan 1999 21:43:50 +0000
Reply-To: robmATmad.scientist.com
How can I use the VESA blanking program (defined in
/usr/src/linux/drivers/char/vesa_blank.c) that successfully powers down
my monitor from the console from X?
Trying to use "xset +dpms" doesn't work; apparently that uses a
different protocol. "xset dpms force standby|suspend|off" all blank my
screen, but make a rather frightening intermittent buzz somewhere in the
innards of my monitor.
Here are some other things that didn't work (from xterm /dev/ttyp0):
16:18 $ setterm -powersave powerdown
cannot (un)set powersave mode
16:20 $ setterm -powerdown 5
# no error message, but doesn't do anything
16:27 $ setterm -blank 1
# ditto
16:29 $ setvesablank ON
setvesablank: TIOCLINUX: Operation not permitted
16:30 $ setvesablank on
setvesablank: TIOCLINUX: Operation not permitted
16:30 $ setvesablank off
setvesablank: TIOCLINUX: Operation not permitted
I thought this might have something to do with the fact that ttyp*
aren't really consoles, so I edited
/usr/src/linux/drivers/char/vesa_blank.c to make powering down the
default behavior; no luck. What I'm going for in the end is to get
everything to get my monitor to go to sleep after I've ignored xdm's
login screen for more than a few minutes. Can anybody help me out?
Thanks a lot,
Rob
16:32 $ uname -a
Linux rhct093 2.0.34 #1 Sun Jan 10 11:32:52 CST 1999 i586 unknown
Running Debian 2.0
XFree86[tm] 3.3.2
window manager Fvwm Version 2.0.46 (should that matter?)
------------------------------
** 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
******************************