Linux-Setup Digest #424, Volume #21 Tue, 12 Jun 01 11:13:08 EDT
Contents:
Re: 2 newbie questions ("Eric")
Re: playing video cd's ("David Dorward")
Re: No Cursor in Redhat ("Eric")
Re: NIS problems (Pietro Belotti)
Re: Shift Fx keys in RH Linux (Toby Haynes)
Re: samba and vmware (together?) (Rod Smith)
Re: Lilo-only bootdisk creation (David)
Re: Sound Module Problems (Rand Simberg)
run gettys (Gaston Vervust)
Re: Problem: mount and umount of MO drive ("Eric")
Re: run gettys ([EMAIL PROTECTED])
RH 7.1: piece of garbage? (JZ)
Re: Sound Module Problems (H.Bruijn)
Re: Sound Module Problems (Rand Simberg)
Two Mandrake 8.0 Problems (Yu Di)
Re: Sound Module Problems (H.Bruijn)
----------------------------------------------------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: 2 newbie questions
Date: Tue, 12 Jun 2001 14:12:58 +0200
> I had a spare hard disc and thought I would use it to try out linux. So I
> installed redhat 7.1 on it. I now have two questions:
>
> 1) At start up I get the message: "/contains filesystem with errors" And
> sometihing with Illegal blocks and Inode, also I'm told to run fsck.
Beyond
> logging in as root I'm clueless as to how to proceed, where do I find some
> comprehensive instructions on that.
Where do they come from?
Did you powerdown without an shutdown procedure?
(anyway: e2fsck <partition to check eg. /dev/hda1>)
> 2) I also have a FAT32 hard disc, how do I acces that one? I choose which
> disc to boot in my bios, I do not use lilo for that since I have terrible
> experiences running windows from dual boot.
terrible expieriences?
from a bootloader?
You have got to be joking.
Besides, accesing a partition has nothing to do with LILO.
You may have made the disc temporalily inaccesible, depending on the
physical location of that disc and your BIOS, by messing with BIOS settings.
Just use lilo to dual boot. It's not difficult, and most certainly not
terrifying.
If you need assitance in setting it up, post your current lilo.conf and the
output
of `/sbin/fdisk -l /dev/hd[a-z]`
Eric
------------------------------
From: "David Dorward" <[EMAIL PROTECTED]>
Subject: Re: playing video cd's
Date: Tue, 12 Jun 2001 13:20:27 +0100
It seems that on Tue, 12 Jun 2001 09:03:41 +0100, someone claiming to be
"Riyaz Mansoor" <[EMAIL PROTECTED]> typed this:
> is there any linux utility/app that plays video cd's for download? at
> the moment i have redhat 7.1. if someone can point it out it would be a
> big help.
Lots, but xine is pretty nice. Search on http://www.freshmeat.net/
--
David Dorward http://david.us-lot.org/
The only way to keep your health is to eat what you don't want, drink
what you don't like, and do what you'd rather not. -- Mark Twain
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: No Cursor in Redhat
Date: Tue, 12 Jun 2001 14:45:52 +0200
> > Do not have a cursor/pointer in redhat only a white square that moves
with
> > the mouse. Please help me
>
> In consolle (text) or in graphics? If it's in consolle it's Ok.
if in X add the swcursor(check this first) option to /etc/X11/XF86Config
Eric
------------------------------
From: Pietro Belotti <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: NIS problems
Date: Tue, 12 Jun 2001 15:26:36 +0200
> > [cesare /var/yp] ypbind -d
> > parsing config file
> > Trying entry: domain bartali server 131.175.122.54
> > parsed domain 'bartali' server '131.175.122.54'
> > add_server() domain: bartali, host: 131.175.122.54, nobroadcast, slot: 0
> > [Welcome to ypbind-mt, version 1.7]
> >
> > ping host '131.175.122.54', domain 'bartali'
> > host '131.175.122.54' doesn't answer.
> > Pinging all active server.
> > [...]
> >
> > I'm sure I'm almost there... Maybe some network problems are still
> > bothering, but a ping on the numeric IP addresses works.
>
> Is there a firewall on 131.175.122.54 which might be blocking incoming ypbind
> connections. It seems to me that there is something on the server which is
> blocking the client from being able to talk to it. If you get a chance, try
> to dump the ipchains or iptables rules on the server and see if there are any
> entries in there which might be blocking the NIS requests.
YES! The problem was a #@$%!*& firewall running with different rules on
the client. Bringing down the server's and the client's firewall makes
it. But it's not secure... I'll give a look at some ipchains howto.
Thank you so much,
Pietro
====================================================================
Pietro Belotti - Ph.D. student
DEI, Politecnico di Milano
P.za Leonardo da Vinci 32, I-20133 Milano - Italy
tel. +39 02 2399 3461 [EMAIL PROTECTED]
fax. +39 02 2399 3412 http://www.elet.polimi.it/people/belotti
====================================================================
------------------------------
From: Toby Haynes <[EMAIL PROTECTED]>
Crossposted-To: comp.emacs
Subject: Re: Shift Fx keys in RH Linux
Date: 12 Jun 2001 09:30:18 -0400
On 12 Jun 2001, [EMAIL PROTECTED] wrote:
> What does `xev' say when you hit F1, and what does it say when you hit
> Shift-F1?
>
> What does `xmodmap -pk | grep -w F1' say?
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.
Xfree86 4.0.3, Emacs 20.7 both local (Linux) and remote (AIX).
xev shows that the Shift_L event is registered correctly.
[1:2226]haynes[~]>xmodmap -pk | grep -w F1
67 0xffbe (F1)
[0:2227]haynes[~]>xmodmap -pm
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x73), Alt_R (0x74)
mod2 Num_Lock (0x4d)
mod3
mod4 Meta_L (0x40), Meta_R (0x71)
mod5 Scroll_Lock (0x4e)
I wonder whether this is a clash of xkb and xmodmap causing the problems. Just
to add a little more intruige to the mix, C-S-F1 is correctly received by Emacs
running on AIX through my X server, as is C-F1, A-F1 and M-F1. One final
wrinkle - my local Emacs copes equally well except it doesn't differentiate
between Alt and Meta modifiers (reports both as Meta), whereas the remote AIX
one does.
Cheers,
Toby Haynes
--
Toby Haynes
The views and opinions expressed in this message are my own, and do
not necessarily reflect those of IBM Canada.
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: comp.protocols.smb
Subject: Re: samba and vmware (together?)
Date: Tue, 12 Jun 2001 13:50:46 -0000
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
"Jason" <[EMAIL PROTECTED]> writes:
> Good day,
> Supposedly vmware (2.0.4) comes with Samba (I looked at the version number
> and I got 2.0.6), and I'm trying to configure it to cooperate with the
> Windows 2000 (win2k) guest OS that is residing upon a Redhat 7.1 (kernel
> 2.4.2) based system. I'm not sure where to start, really. I looked
> through vmware's documentation on their website and came up dry. I tried to
> connect to it within the win2k guest OS, but it is giving me an error which
> is not helpful at all. That error is "System error 53 has occured. \n The
> network path was not found." Any ideas? Maybe I'm not even approaching it
> from the right angle?
First, Samba 2.0.6 is sub-optimal for use with Win2K. You may want to
upgrade to the latest (2.2.0 the last I checked), or at least to 2.0.7.
That may or may not clear up the problem you're experiencing. In fact,
IIRC Red Hat 7.1 ships with Samba 2.0.7. I'd definitely recommend using
that rather than a 2.0.6 version that ships with VMware.
Second, you really need to better isolate the problem. I don't know
offhand what a "system error 53" is. Can you ping the Linux host from
Win2K? Can you connect to any other servers your Linux host runs (such
as sendmail or telnet)? If so, the problem is likely Samba-related. If
not, you've got a more fundamental networking problem. If you can do
basic network operations, I'd recommend looking into Samba's password
encryption setting. Be sure that smb.conf has a line that reads "encrypt
passwords = Yes", and that you've defined encrypted passwords for your
users via smbpasswd (e.g., "smbpasswd -a jason").
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: Lilo-only bootdisk creation
Date: Tue, 12 Jun 2001 13:55:26 GMT
Eric wrote:
>
> > I want to make a new bootdisk for my Linux system (Debian 2.2r2). For the
> > moment, I want the system booting from bootdisk only, as I want to leave
> my
> > DOS/Windows bootup untouched for the other users of the computer.
>
> You can set it up so that it would be hardly noticeable
> (just a short LILO at the startup)
>
> > Is it possible to make a bootable disk which will simply load Lilo and get
> > it to boot Linux off my Linux partition? I looked at the howto on making
>
> Yes ofcourse
>
> > bootdisks and rootdisks, but they involved putting a complete compressed
> Linux
> > system on the disk.
>
> boot=/dev/fd0
>
> Eric
Have you tried putting lilo on a floppy by running the following command
as root with a floppy in the drive?
lilo -b /dev/fd0
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.247% of seti users. +/- 0.01%
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Sound Module Problems
Date: Tue, 12 Jun 2001 13:58:18 GMT
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?
>> What now?
>
>Apparently either my sound module is odd because it can do that, or it
>is yours because it can't.
>Can you now play an audio cd, or adjust the volume with mixer
>controls?
I can load the CD player, and it starts playing the CD, according to
the counter, but no sound. When I load the mixer, it says it can't
find one, and to check to see if I have sound support in the kernel.
I've tried sampling wav files from the Gnome sound events
configurator, and the "play" button pushes, but I've never heard a
peep from the speakers.
>My knowledge goes only as far as what I mentioned before, load the sound
>module with the command "modprobe cmpci" and there shall be sound
>support.
>
>To prevent having to load a module manually every single time you
>reboot, add it to /etc/modules.conf (for the quite up-to-date RedHat
>machine I have acces to) in the form of
> alias sound cmpci
Been there, done that.
--
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] (Gaston Vervust)
Subject: run gettys
Date: 12 Jun 2001 13:52:08 GMT
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.
What's the solution. Before everything was working ok during months.
Thanks in advance
Gaston Vervust
--
==============
Gaston Vervust E-mail: [EMAIL PROTECTED]
Faculty of Law Phone: +32-(0)9-2646760
University of Ghent Fax: +32-(0)9-2646999
==============
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Problem: mount and umount of MO drive
Date: Tue, 12 Jun 2001 16:11:16 +0200
> > > The problem that I have is that once I have mounted the drive, it
> > > cannot be umounte until the next reboot. No change of MO disks is
> > > possible.
> >
> > What's the error returned when you ask to umount the drive?
> The error message is in German, saying something like: MO drive busy. Does
this help?
You're still accessing the drive.
Perhaps you're still on the drive when you try to unmount it, or a
filebrowser
is accessing it. Use eg. lsof to find out who is still using it.
Eric
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: run gettys
Date: 12 Jun 2001 14:17:19 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.
Have you checked /etc/inittab ? No strange error messages
in the log file?
> Before everything was working ok during months.
And what happened then?
Davide
------------------------------
From: [EMAIL PROTECTED] (JZ)
Subject: RH 7.1: piece of garbage?
Date: 12 Jun 2001 07:20:49 -0700
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.
Anti-RH
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: Sound Module Problems
Date: 12 Jun 2001 14:28:33 GMT
Reply-To: [EMAIL PROTECTED]
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.
>
>>> What now?
>>
>>Apparently either my sound module is odd because it can do that, or it
>>is yours because it can't.
>>Can you now play an audio cd, or adjust the volume with mixer
>>controls?
>
> I can load the CD player, and it starts playing the CD, according to
> the counter, but no sound. When I load the mixer, it says it can't
> find one, and to check to see if I have sound support in the kernel.
>
> I've tried sampling wav files from the Gnome sound events
> configurator, and the "play" button pushes, but I've never heard a
> peep from the speakers.
Couls it be be (grasping now...) that you don't have the correct
permissions for the audio devices (mixer, midi, dsp, audio etc.)
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn website: http://HermanBruijn.com
The Netherlands
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Sound Module Problems
Date: Tue, 12 Jun 2001 14:30:43 GMT
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:
>On Tue, 12 Jun 2001 04:43:18 GMT, Rand Simberg allegedly wrote:
>>>If /dev/dsp*, /dev/mixer*, /dev/audio* etc. don't exist, they can be
>>>created with the command "/sbin/MAKEDEV audio".
>>
>> Tried it after rebooting, as root. "No such file or directory ..."
>>
>> However, /dev/MAKEDEV audio did work...
>
>Ah, differences between distributions...
What should the owner, group and permissions be on those devices?
--
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] (Yu Di)
Subject: Two Mandrake 8.0 Problems
Date: 12 Jun 2001 07:56:38 -0700
Hi, I just installed Mandrake 8.0 on my system (PII350, 288M memory),
basicly it worked ok, but there were two problems:
(1)Regarding CD-Rom:
During four attempts of installation, the system simply freezed
when it was reading from the installation CD, and I had to reboot and
re-install from the start. I know that my CD-Rom driver has some
problems (sometimes it refuses to pop out, etc.), but I don't know why
it can cause a system freeze.
Finally, it happened to work and I got Mandrake installed. But
then after I rebooted, and tried to use "Software Manager" to install
some more RPMs from the disks, it keeps popping out my CD and saying
that it's not the correct CD.
I "ls"ed /mnt/cdrom, and found that there was nothing there! I
"umount"ed the disk, mounted it again, and there was still nothing. I
tried to "umount" again, and it said "device mounted more than one
time" or something like that.
Finally I issued "supermount -i disable", and re-booted the
system, and mounted the disk again, then it recognized the disk. But
when I tried to install the RPM of gimp from the disk, after the
progress bar goes to the end, the system freezed again! I had to press
"reset", and was asked to do "fsck" by hand. Lucky that fsck finished
successfully.
And, when I finally got into the system again, I found that gimp
was actually successfully installed!
So what could be the problem here?
(2)Regarding time-zone:
I wrongfully set "use GMT in hardware clock" in the installation
process, and as a result my time display was wrong. I then used
"Mandrake Control Center" to change the time-zone settings, but when I
answered "no" to "use GMT" question, it did not change the time
display, and the cursor becomed a clock and remained so ever after
(the control center still responds to mouse/keyboard inputs, it just
never finished the updating of time zone configuration). I had to shut
down X, use linuxconf to change that, and reboot, and adjust the CMOS
time in BIOS, then it worked.
So why was the control center behaving like that?
Thanks!!
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: Sound Module Problems
Date: 12 Jun 2001 15:01:37 GMT
Reply-To: [EMAIL PROTECTED]
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.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn website: http://HermanBruijn.com
The Netherlands
------------------------------
** 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
******************************