Linux-Setup Digest #425, Volume #21 Tue, 12 Jun 01 13:13:10 EDT
Contents:
Re: Sound Module Problems (Rand Simberg)
Re: Sound Module Problems (Rand Simberg)
HELP!! Problem with LILO ("MEX")
Re: Reference on security ("Tarkan Erimer")
Mail server on Linux (Guohong Cao)
Re: Sound Module Problems (Rand Simberg)
Re: HELP!! Problem with LILO ("Nils")
Re: Sound Module Problems (Rand Simberg)
Re: Problems using RH 7.1 with SiS 530 Graphics Card (Chris Nappin)
Re: RH 7.1: piece of garbage? ("ne...")
Now I've Lost My Network Card! (was: re: Sound Module Problems) (Rand Simberg)
Re: Shift Fx keys in RH Linux (Kai =?iso-8859-1?q?Gro=DFjohann?=)
lilo & serial console setup on Compaq proliant (James)
Re: run gettys (John Todd)
Re: RH 7.1: piece of garbage? ("John Pickett")
Re: No Web Access for Linuxconf ("Eric J. Klooster")
environment inheritence problem - please help! (Zsolt)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Sound Module Problems
Date: Tue, 12 Jun 2001 15:07:11 GMT
On 12 Jun 2001 14:28:33 GMT, in a place far, far away,
[EMAIL PROTECTED] (H.Bruijn) made the phosphor on my
monitor glow in such a way as to indicate that:
>On Tue, 12 Jun 2001 13:58:18 GMT, Rand Simberg allegedly wrote:
>> On 12 Jun 2001 08:43:13 GMT, in a place far, far away,
>> [EMAIL PROTECTED] (H.Bruijn) made the phosphor on my
>> monitor glow in such a way as to indicate that:
>>
>>>Ah, differences between distributions...
>>
>> Yes, I also have a problem in that, when I run sndconfig, it says it
>> sees the card, and tries to configure it, but then I get the famous
>> message about /etc/conf.modules being depreciated, and that modutils
>> wants me to remove it as soon as possible, but that's where sndconfig
>> insists on putting stuff, so it dies. Is this related to my problem?
>
>Might be. /etc/conf.modules is being depreciated in favour of
>/etc/modules.conf, so simply copy one to the other.
Well, I added the necessary lines.
>Couls it be be (grasping now...) that you don't have the correct
>permissions for the audio devices (mixer, midi, dsp, audio etc.)
I don't know. I'm (slightly) ahead of you on that--see my other post.
RIght now the I own the devices as a user, not root, the group is
system, and the permissions are crw-------
Is that right?
I've made some progress, sort of. I finally got sndconfig to work,
but when it said about to test, and that I should hear a sound, I
didn't hear a sound. In fact, the machine was frozen again.
After rebooting and fscking (auto worked this time), when I tried to
load the mixer this time, instead of complaining that I didn't have
kernel support, it locked up again...
--
simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
interglobal space lines * 307 733-1715 (Fax) http://www.interglobal.org
"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.
Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Sound Module Problems
Date: Tue, 12 Jun 2001 15:25:49 GMT
On 12 Jun 2001 15:01:37 GMT, in a place far, far away,
[EMAIL PROTECTED] (H.Bruijn) made the phosphor on my
monitor glow in such a way as to indicate that:
>On Tue, 12 Jun 2001 14:30:43 GMT, Rand Simberg allegedly wrote:
>>
>> What should the owner, group and permissions be on those devices?
>>
>crw-rw---- 1 root audio 14, 4 Jan 4 2000 audio
>crw-rw---- 1 root audio 14, 20 Jan 4 2000 audio1
>crw-rw---- 1 root audio 14, 36 Jan 4 2000 audio2
>crw-rw---- 1 root audio 14, 52 Jan 4 2000 audio3
>crw-rw---- 1 root audio 14, 3 Jan 4 2000 dsp
>crw-rw---- 1 root audio 14, 19 Jan 4 2000 dsp1
>crw-rw---- 1 root audio 14, 35 Jan 4 2000 dsp2
>crw-rw---- 1 root audio 14, 51 Jan 4 2000 dsp3
>crw-rw---- 1 root audio 14, 2 Jan 4 2000 midi00
>crw-rw---- 1 root audio 14, 18 Jan 4 2000 midi01
>crw-rw---- 1 root audio 14, 34 Jan 4 2000 midi02
>crw-rw---- 1 root audio 14, 50 Jan 4 2000 midi03
>crw-rw---- 1 root audio 14, 0 Jan 4 2000 mixer
>crw-rw---- 1 root audio 14, 16 Jan 4 2000 mixer1
>crw-rw---- 1 root audio 14, 32 Jan 4 2000 mixer2
>crw-rw---- 1 root audio 14, 48 Jan 4 2000 mixer3
>crw-rw---- 1 root audio 14, 1 Jan 4 2000 sequencer
>crw-rw---- 1 root audio 14, 6 Jan 4 2000 sndstat
>
>Where only the members of the group audio can access the audio devices.
>This will prevent jokers from logging on remotely to wake the dead by
>playing mp3s at max volume.
OK, I went back and reran 'MAKEDEV audio' as root (apparently I did it
as a user the last time). Now my permissions look like the above,
except that the group is system, not audio. I don't have an audio
group. Should it work with group system? It still doesn't, though at
least it's not locking up any more...
When I run 'esd' it says there's no /dev/dsp. But when I 'ls
/dev/dsp' it says there is.
??
--
simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
interglobal space lines * 307 733-1715 (Fax) http://www.interglobal.org
"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.
Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: "MEX" <[EMAIL PROTECTED]>
Subject: HELP!! Problem with LILO
Date: Tue, 12 Jun 2001 17:21:38 +0200
Hi all. I'm writing because I've a big problem with Lilo when I trying to
boot W98.
My configuration is:
Athlon 1200
Abit KT7A-Raid
Quantum FireballP LCT20 (on the 1� master hpt370 ch.) hde
Ibm 13.5 ata66 (on the 2� master hpt370 ch.) hdg
Raid hardware is NOT active.
I've installed Linux on the 2� master disk (hdg) with a boot partition
(/boot) and W98 is installed on the 1� master disk (hde). I've installed
Lilo on the mbr (w98 disk) with this configuration:
boot=/dev/hde
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/it-latin1.klt
lba32
prompt
timeout=50
disk=/dev/hde bios=0x80
message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.4.3-20mdk
label=linux
root=/dev/md0
initrd=/boot/initrd.img
read-only
image=/boot/vmlinuz-2.4.3-20mdk
label=failsafe
root=/dev/md0
initrd=/boot/initrd.img
append=" failsafe"
read-only
other=/dev/hde1
label=windows
table=/dev/hde
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label=floppy
unsafe
image=/boot/vmlinuz-2.4.5
label=linux-2.4.5
root=/dev/md0
initrd=/boot/initrd-2.4.3-20mdk.img
read-only
With this conf. Linux starts without problem while when I try to load W98 I
can see 'Loading Windows...' but nothing happens.
Could someone hep meplease? I don't know what I have to do.
Thanx
------------------------------
From: "Tarkan Erimer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.mandrake
Subject: Re: Reference on security
Date: Tue, 12 Jun 2001 18:39:30 +0300
Most Unices (exclude IRIX) only have single user and group accesses on files
or directories.
But still, it is not so frustrated..If you want multi user/group accesses,
you need acl (access control list)
support. At this point you have 2 choices:
1-> You must convert all your file system to XFS, which have acl support
built-in. And this
method is a bit painful. You can find XFS itself and all the
documentation you will need,
is at that URL: http://oss.sgi.com/projects/xfs/
2-> You can add acl support to ext2 file system via patches. You can find
more info and also
all the patches you need, at this URL: http://acl.bestbits.at/
My advice is to convert your file system to XFS .. XFS is a journalled file
system. So, it has many
advantages compared to ext2.. I hope, this helps you.
Good Luck!
Greg Hains <[EMAIL PROTECTED]> wrote in message
news:7q8V6.6$[EMAIL PROTECTED]...
> Hi,
>
> I have dealt extensively with numerous operating systems (mainly NT and
> Netware), and for some reason am unable to 'get the hang' of Linux
security.
> There just seems to me to be something missing (I know there isnt) in
> regards to setting up file/directory security.
>
> My problem isn't with the actual commands, it's more with the allocation
of
> rights to a file/directory for groups and users. I am used to systems
> whereby a file/directory can be accessed by one or more users and one or
> more groups - easy. I don't see how this can be done in Linux where only
one
> user/group can own and access the same.
>
> I dont expect anybody to take the time to explain it to a newbie, but if
> somebody could point me to a good HOWTO site where security and examples
are
> laid out I would be very grateful.
>
> Thanks,
> Greg
>
>
------------------------------
From: Guohong Cao <[EMAIL PROTECTED]>
Subject: Mail server on Linux
Date: Tue, 12 Jun 2001 11:46:39 -0400
Does anyone know how to run a mail server on Linux? The mail server should
support POP3 so that I can download mail from the server when I travel
outside.
Thanks,
--Guohong
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Sound Module Problems
Date: Tue, 12 Jun 2001 15:50:18 GMT
On Tue, 12 Jun 2001 15:25:49 GMT, in a place far, far away,
[EMAIL PROTECTED] (Rand Simberg) made the phosphor on my
monitor glow in such a way as to indicate that:
>When I run 'esd' it says there's no /dev/dsp. But when I 'ls
>/dev/dsp' it says there is.
>
>??
OK, I've tried a couple more things. I think that I was getting the
no device message because I wasn't running modprobe first. Also, the
card was in my fourth PCI slot with the third one empty, so I moved it
to number 3, just in case it cared, but I don't think that had any
effect.
Now when I run modprobe cmpci, it runs all right (except it warns me
that my modules.conf file is more recent than modules.dep--is that a
problem?).
And after I run modprobe, I can load the mixer, and twiddle the knobs
on it.
But now when I run esd, the system locks. Anything that I do to try
to actually use a sound device locks the system.
--
simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
interglobal space lines * 307 733-1715 (Fax) http://www.interglobal.org
"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.
Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: "Nils" <[EMAIL PROTECTED]>
Subject: Re: HELP!! Problem with LILO
Date: Tue, 12 Jun 2001 18:18:31 +0200
the map-drive option change the hdd from
bios but if you use a raid it won't work
Nils
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Sound Module Problems
Date: Tue, 12 Jun 2001 16:21:48 GMT
On Tue, 12 Jun 2001 15:50:18 GMT, in a place far, far away,
[EMAIL PROTECTED] (Rand Simberg) made the phosphor on my
monitor glow in such a way as to indicate that:
>But now when I run esd, the system locks. Anything that I do to try
>to actually use a sound device locks the system.
Just to make sure, I took the card and put it in my Win2K machine. It
installed fine, and I'm listening to the CD now...
So it's not a bad sound card--it just doesn't get along with Linux, or
at least my Linux configuration.
--
simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
interglobal space lines * 307 733-1715 (Fax) http://www.interglobal.org
"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.
Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Chris Nappin)
Crossposted-To:
comp.os.linux.redhat,comp.os.linux.x,comp.os.linux.questions,comp.os.linux.misc
Subject: Re: Problems using RH 7.1 with SiS 530 Graphics Card
Date: 12 Jun 2001 09:26:23 -0700
James Richard Tyrer <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Have you tried running the command: "xf86config" on the console as root?
>
Yes, I've tried Xconfigurator and xf86config, plus also editing my
/etc/X11/XF86Config-4 file manually. I've tried turning off
acceleration - I don't think any of the other options are applicable
(it's a basic card using system memory).
Looking through the XFree86 mailing list archives, I'm not the only
one having this problem.
------------------------------
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: RH 7.1: piece of garbage?
Date: Tue, 12 Jun 2001 16:41:39 GMT
On Jun 12, 2001 at 07:20, JZ eloquently wrote:
>I just installed RH 7.1 in my laptop, looks cool initially. But bad
>things happen:
>
>1. I instaalled FTP package in my laptop, but why 'ftp localhost'
>doesn't work? Maybe security setting? I couldn't find any related
>info, neither from RH web site. BTW, the 'firewall-config' from
>'program->system' has nothing inside.
>
>2. Try to use my laptop's interface to install Oracle into another
>Linux machine. Since Oracle installation requires X, so I do 'xhost +'
>as root in both machines. But I still get the 'connection refused'
>error. Of course it works when I try the same thing in another RH6.2
>laptop.
>
>3. DON'T USE RH 7.1!!! RH 7.1 just messed up lots of stuff. Stick with
>6.2 or slackware, of course you have to apply necessary patches.
>
>I just cannot find any docs about RH 7.1. No wonder RHAT drops like a
>champ, it will be down to under $1.
......or maybe you just don't know what to do and
don't know how to ask politely for help. Then again
the docs are there and they do detail how to do stuff.
--
Registered Linux User # 125653 (http://counter.li.org)
Freedom's just another word for nothing left to lose.
-- Kris Kristofferson, "Me and Bobby McGee"
12:40pm up 1 day, 14:05, 8 users, load average: 0.17, 0.05, 0.01
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Now I've Lost My Network Card! (was: re: Sound Module Problems)
Date: Tue, 12 Jun 2001 16:48:21 GMT
After I removed the PCI sound card that I couldn't get to work, and
rebooted, my Unicom card won't come up.
When I do modprobe winbond-840, I get the message "device or resource
busy."
I didn't do anything to the NIC. I just turned the machine off to
check again, and the card is in tight.
Did Kudzu do something when it woke up and found the sound card
missing?
Any ideas?
--
simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
interglobal space lines * 307 733-1715 (Fax) http://www.interglobal.org
"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.
Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Crossposted-To: comp.emacs
Subject: Re: Shift Fx keys in RH Linux
Date: 12 Jun 2001 18:41:26 +0200
On 12 Jun 2001, Toby Haynes wrote:
> Interesting. My Emacs suffers exactly the same problem - it
> interprets S-F1 as F1. If I bind S-F1 to my window manager, it
> (correctly) steals this key binding and Emacs doesn't see
> anything. Reverting the key to the unbound state in my shows that
> Emacs receives F1 for S-F1.
Maybe Emacs is lying: it wants most keybindings to work even if you
have ShiftLock turned on, so when Emacs receives S-<X> and sees that
this is unbound, then it behaves as if you typed <X>. (With <X> any
normal or function key, optionally even with modifiers.)
So maybe you type C-h c S-<f2> and see that Emacs thinks you have hit
<f2> without Shift. But then you do (global-set-key (kbd "S-<f2>")
'compile) and then do C-h c S-<f2> again and Emacs suddenly sees the
Shift modifier!
Is this the problem?
kai
--
~/.signature: No such file or directory
------------------------------
From: [EMAIL PROTECTED] (James)
Subject: lilo & serial console setup on Compaq proliant
Date: 12 Jun 2001 09:50:29 -0700
Hi All,
Having a bit of an issue talking to lilo on bootup. I've added the
following lines to lilo.conf:
serial=0,9600n8
and for the kernel section:
append="console=tty0 console=ttyS0,9600n8"
inittab contains:
s0:2345:respawn:/sbin/getty ttyS0 DT9600 vt100
So, I can see the console messages fine, login fine, but I can't
interact with lilo at the lilo prompt. Hitting shift (or most of
the keyboard!) doesn't seem to interact with lilo at all. Also, I
can see the lilo prompt being displayed.
I've seen various mails that suggest pulling the video card but
that's attached to the motherboard :(
Any ideas at all???
Cheers,
James.
------------------------------
From: [EMAIL PROTECTED] (John Todd)
Subject: Re: run gettys
Date: 12 Jun 2001 15:54:21 GMT
On 12 Jun 2001 13:52:08 GMT, Gaston Vervust
<[EMAIL PROTECTED]> wrote:
>hello
>
>On RedHat 7.0, the processes
>/sbin/mingetty tty1... tty6
>are not started in mode 2 or 3.
>I can start in single mode and than run
>/etc/rc.d/rc 3
>without any problem, but no processes tty1... tty6
>That means no telnet or ftp to the server.
The tty1-tty6 mingettys are for consoles; if your server
is "headless" they wont be running, I think. They
are started in /etc/inittab.
--
John E. Todd [EMAIL PROTECTED]
_______________________________
possibly posted on $5 XT clone.
Internet for All!
------------------------------
From: "John Pickett" <[EMAIL PROTECTED]>
Subject: Re: RH 7.1: piece of garbage?
Date: Tue, 12 Jun 2001 10:55:38 -0600
Umm, ftp server works fine for me... You just have to configure it
correctly...
--
My 2 �
John Pickett
http://www.bvstudios.com/
------------------------------
Date: Tue, 12 Jun 2001 12:55:18 -0400
From: "Eric J. Klooster" <[EMAIL PROTECTED]>
Subject: Re: No Web Access for Linuxconf
"H.Bruijn" wrote:
>
> On Wed, 23 May 2001 11:29:04 -0400, Eric J. Klooster allegedly wrote:
> > I have recently setup my RH7.0 linux box as a gateway for my home
> > network. I would like to store it away and have remote administration
> > through linuxconf's Web access option. I have set up my gateway as
> > described in the Home-Networking Mini-Howto (IP Chains and Hosts.allow
> > and Hosts.deny being possible problems). From my win98 box, I can ping
> > both the inside and outside ethernet IPs of the linux box. I can access
> > the linux box though telnet, ftp, and the web server. I can browse the
> > web just fine. but when I try to go to port 98 of my linux box, nothing
> > happens (it just times out). I have enabled web access to linux conf,
> > and added the IP of my Win98 box to the linuxconf web access list. I
> > even went to the xinetd.d/linuxconf-web script and removed the
> > DISABLED=YES line, and reran xinetd. Still nothing. I downloaded and
> > installed the latest version of linuxconf (including an install of
> > libxml). I imagine it may have something to do with my ipchains setup,
> > but I'm not sure. Any ideas?
>
> Are you going to the right portnumber, and are you suing the https://
> ssl-link instead of of the unencrypted http:// link?
>
> I think the default is https://www.yourwebserver:10000/
Just for completeness (and others that may have this problem):
I searched the linuxconf site and found that the xinetd that ships with
RedHat 7.0 doesn't support the web interface correctly. I plan on
updating the RPM this evening and trying again.
The updated RPM is here:
ftp://updates.redhat.com/7.0/en/os/i386/xinetd-2.1.8.9pre11-1.i386.rpm
-- Eric J. Klooster
------------------------------
From: Zsolt <[EMAIL PROTECTED]>
Subject: environment inheritence problem - please help!
Date: Tue, 12 Jun 2001 17:01:45 GMT
Hi,
I have a very strange (not consistently occuring) problem with bash function
inheritence:
A bash-function called "makes" is defined in my .bashrc file. This does some extra work
before calling the normal make command. This works fine in the shell and subshells as
well.
Under Mandrake 7.2, it also used to work fine inside xemacs, i.e. when the 'compile
command'
is set to "makes" instead of make, it wrked fine executed what was defined in the bash
function.
On one machine I recently installed Mandrake 8.0 - with no change to the user file
(/home kept).
The same old "makes" function stil works from the shell, BUT it does not work from
xemacs.
It gives an error, like: "/bin/bash: cannot find file/command makes". Same error
comes up
if xemacs is started from the KDE menu instead of a terminal window command line.
What makes it really weird is, that if I do an "su" to change to any other user, then
start up
xemacs it works again (even for the same user !).
So the question is:
What is the difference in the environment (particularly bash-function) inheritence
between a
terminal window on the desktop and the environment provided by an "su" login.
How could I get around it, what do I need to change ?
Thanks in advance for any tips!
Zsolt
------------------------------
** 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 by posting to comp.os.linux.setup.
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
******************************