Linux-Misc Digest #273, Volume #25 Sat, 29 Jul 00 21:13:02 EDT
Contents:
hard drive hit (Ron Nicholls)
Re: Problem with the SiS Grapic Card (Dances With Crows)
Re: hard drive hit (Dances With Crows)
Re: What distro comes with a boot manager (not LILO) (Michel Catudal)
Re: setting up linux box as a router ("Andrew N. McGuire ")
Re: Script help (Akira Yamanita)
Re: MP3's skip : How I solved it (Gordon Gilbert)
Re: Script help ("David ..")
Re: Script help ("David ..")
Lost communication (Robert Schweikert)
Re: ftp ("Andrew N. McGuire ")
Re: running linux in GUI ("Andrew N. McGuire ")
Console font / resolution ("Jeffrey Hood")
----------------------------------------------------------------------------
From: Ron Nicholls <[EMAIL PROTECTED]>
Subject: hard drive hit
Date: Sun, 30 Jul 2000 09:01:04 -1000
I am runnig redhat 6.2 on a stand alone dial up workstation.
With no apps running and the machine idle, I get a brief hit on the
hard drive approximately every ten seconds.
Is this normal.
Regards RonN
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Problem with the SiS Grapic Card
Date: 29 Jul 2000 23:11:01 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 29 Jul 2000 21:30:05 GMT, Nightshade wrote:
>I have been having troble trying to install my grapic card for linux
>mandrake 6.5.
>Its like just lots of blakc boxes in sted of the text and all the images
>are just black.
>The name of the grapic card is SiS 6326 and the company is SiS.
SiS cards in general seem to have more than their fair share of
problems. The first thing to try is to become root and run the program
"xf86config". This is a text-based program that will ask you a bunch of
questions about your card; answer them. You must use xf86config instead
of XF86Setup or Xconfigurator because the Generic VGA server does not
work with this card according to xfree86.org(!) Restart X by pressing
Ctrl-Alt-Backspace.
Still got the problem? Edit /etc/X11/XF86Config with a text editor
("pico /etc/X11/XF86Config" as root) and look for a line that says
Section "Device"
below that line, add the line
Option "sw_cursor"
and restart X again. If it still doesn't work, re-edit the file, and try
adding the line
Option "noaccel"
If you do this and you're still getting the same problem, it's time to
upgrade your Xfree86. There are directions at:
http://xfree86.org/3.3.6/RELNOTES.html
http://www-personal.umich.edu/~mhgraham/UpgradeXfree.html
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Tyranny is always better organized
http://www.brainbench.com / than freedom.
=============================/ ==Charles Peguy
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: hard drive hit
Date: 29 Jul 2000 23:37:51 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 30 Jul 2000 09:01:04 -1000, Ron Nicholls wrote:
>I am runnig redhat 6.2 on a stand alone dial up workstation.
>With no apps running and the machine idle, I get a brief hit on the
>hard drive approximately every ten seconds.
>Is this normal.
Most likely. However, check the output of "dmesg" and make sure that
the system logger is not spewing out messages every 5 or 6 seconds about
the CD-ROM. If that is happening, turn off the automounter--you can do
this in GNOME; I just forget where since it's been a long time since
I've used RedHat.
If this bothers you, you can modify /etc/inittab to change the
parameters for the update daemon. Change the line that reads
ud::once:/sbin/update
to
ud::once:/sbin/update -s SECONDS -f SECONDS
where SECONDS is a number of seconds. "30" is the default, but you will
probably be safe upping it to about 600 or so. When you do this,
though, the likelihood of filesystem corruption due to a power failure
skyrockets. This is generally not reccommended except as a power-saving
measure on laptops. You have been warned.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Tyranny is always better organized
http://www.brainbench.com / than freedom.
=============================/ ==Charles Peguy
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: What distro comes with a boot manager (not LILO)
Date: 29 Jul 2000 18:39:09 -0500
Andrew Purugganan a �crit :
>
> So they're selling thesePCs that come preloaded with Win98 (personally
> I'd go for the refund and send the OS back in its shrinkwrap :-) and a
> friend of mine wants to be able to dual boot to Linux with it
>
> "You need System Commander that comes with Turbo Linux" Not that I object
> to TurboLinux, but do any of the distros come with boot managers that'd
> work hand-in-hand with Win98?
>
> I know ppl have been having problems doing these dual boot installs
> themselves, but hey the store is doing it for my friend, and I'd like to
> know if any other distro comes with a bm shipped
>
OS/2 has a good boot manager
--
Vous en avez plein l'casse du plantage avec Ti-Mou?
C'est l'temps d'essayer Linux
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: setting up linux box as a router
Date: Sat, 29 Jul 2000 18:42:52 -0500
On Thu, 27 Jul 2000, [EMAIL PROTECTED] quoth:
][ I'm new to networking so could someone please point me to the right
][ place for info. on what I want to do.
][
][ I will be getting an untimed connection to the internet via ISDN and I
][ have the following information from the ISP:
][
][ - Set of 5 (i think?) ip numbers that are static
][ - subnet mask (255.255.255.248)
][ - primary and secondary DNS numbers
][
][ My hope is to connect my ISDN Terminal Adaptor through the serial port
][ to the Linux box. The Linux box will "route" the other ip addresses to
][ two other computers in the same room via 10Base2.
][
][ I will be installing RedHat 6.2 but have questions on how to configure
][ it. In the past (before I had static ip number) I would setup my
][ machine with non-routable ip numbers (192.168.X.X) and used ip
][ masquerading to share the internet. Would I now configure the machine
][ with the ip numbers provided by my isp? Or should I still setup up my
][ machine with non-routable ip?
][
][ Any help or pointers to docs. appreciated.
][
I have never done this myself, although I do have a Linux
router/firewall setup in my house... When I say I have never
done this I mean exactly what you are doing with ISDN.
Take a look at http://www.linuxrouter.org. IIRC, you can set up
a router/firewall on a floppy diskette. Also look at the RFC on
subnetting if you haven't already -> RFC 1878. I see no reason
to configure your machines with RFC 1918 addresses if your ISP has
given you static IP's. A quick point, you can route RFC 1918 addresses,
IP routers are just set up by default not to, so they are not
"non-routable". Your primary and secondary DNS number should be
entered into '/etc/resolv.conf' along with your domain name at a
minimum.
HTH && HAND,
anm
--
/*------------------------------------------------------------------------.
| Andrew N. McGuire |
| [EMAIL PROTECTED] |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Script help
Date: Sat, 29 Jul 2000 23:52:04 GMT
"David .." wrote:
>
> I am trying to compile a directory of rpm files without having to do
> them one at a time. The script below works but only compiles the first
> rpm in the directory. What am I missing to make it continue through all
> the files in the directory.
>
> for i in /path/to/*; do rpm --rebuild $i; done
I think that should work. Try this to see what it's doing.
for i in /path/to/*; do echo $i; rpm --rebuild $i; done
Do you get any errors or does it just seem to stop?
------------------------------
From: Gordon Gilbert <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: MP3's skip : How I solved it
Date: Sat, 29 Jul 2000 20:06:40 -0400
Christopher Browne wrote:
>
> Centuries ago, Nostradamus foresaw a time when Gordon Gilbert would say:
> >Kent Perrier wrote:
> >> Gordon Gilbert <[EMAIL PROTECTED]> writes:
> >> > Yeah, unless it corrupts your system. I've finally gotten my
> >> > machine to work in run level 3 mode again, but runlevel 5 still
> >> > doesn't work for some reason. It just stops when it gets to the
> >> > console prompt instead of starting up the graphical menu. If anyone
> >> > has an idea how I can fix that, let me know.
> >>
> >> Sure. restore from the backup that you made before you started messing
> >> the hdparm settings. You did make a backup, didn't you? You did follow
> >> the recommendations in the hdparm man page (specifically in the BUGS
> >> section)? If you didn't, and you munged your hard drive and file
> >> systems, then you deserve what you got....
> >
> >Backup? Buy me a big enough tape drive and I'll gladly back it up.
> >Otherwise, I hope you get what you deserve for being an asshole.
>
> Children, children. Do you all need a spanking?
>
> Fiddling with hdparm _is_ pretty hairy, and you _do_ "take your
> filesystems in your hands" when you use it, with significant risk of
> loss of data.
I could take his point just fine if it weren't for the "then you
deserve what you got..." part. Not everyone has a backup solution
for their hard drives. I have a CD-RW drive, but I haven't found
any software I've liked yet to use in Linux to back things up with
it. I do back up the RPMS I download by transferring it to a Win
drive and then using Adaptec's software on the Win98 side. I also
try to back up some config stuff but Windoze doesn't like files that
start with a "." I'll have to archive them first or something.
Still, collecting them is a pain to do by hand. And time is time.
In any case, until I can afford to buy a tape backup of sufficient
size or yet another giant hard drive to back up the ones I've got
(it's always more tempting to buy a bigger hard drive than a smaller
one and a backup drive for a given amount of money), I can't back up
entire systems. Not unless I want to use a dozen or more CD-RW
discs. Telling me "I got what I deserved" is not constructive and
is little more than a "ha ha" spit in the face response, IMO. Thus,
my equally constructive response back. :P
> Your use of hdparm on filesystems you didn't have backed up means that
> you _didn't_ use a "scratch monkey," and, like it or not, took on all
> the associated risks.
Was I denying that? My comments were to one, warn others of the
risk and two, to try and get help fixing the KDM login that no
longer works. Someone telling me after the fact that I should have
had a backup and I got what I deserved if I didn't doesn't help in
any way, shape or form.
> If you've corrupted filesystems, and can't recover them, the fact that
> this irritates you, and that "You should have backed it up first" rubs
> salt into the wound _still_ doesn't mean that there is any better answer
> than "Do better backups next time."
Nothing seems corrupted at this point except that KDM isn't working
for some reason unbeknownst to me. All my desktops work. All the
packages I've tried work (and are easily replaced if they don't
since I have those backed up). The only thing I stand to lose are
configuration files. I'll probabably move the important ones onto a
floppy for now. The only thing that doesn't seem to work is KDM.
GDM does work. I replaced the entire KDE packagre with a fresh copy
and it still doesn't work. So there must be something else causing
the problem. I'm guessing KDM uses something from XDM (which also
doesn't work).
> If you can't afford to lose the data, then you can't afford _not_ to
I *CAN* afford to lose it. I only installed Linux as a learning
tool (at first anyways). There are no "mission critical" files on
my Linux drive/partitions. But it's always frustrating to have 5 or
6 window managers configured just so and then think you might have
to wipe them all out and start over.
> back it up, and right away. If you feel you can't afford to back it up,
> then you're left with a dilemma that I don't envy you for; your _only_
> choice is to _try_ to recover things, and take a significant of losing
I am going to look into a tape drive in the future. I hate using
CD-RW discs all the time. I hope they come in 40GB sizes....
Otherwise, it'll be swap the tape just like now it's swap the CD-RW
disc, only maybe not as many.
> If this experience demonstrates, without _too_ much weeping and gnashing
> of teeth, the importance of having good backups, then it is a _valuable_
> lesson that you will not soon forget, and which will permanently improve
> the reliability of all computer systems that you have some control over.
With a system such as this (learning tool and for "play" relatively
speaking), it becomes a question of whether it's worth spending
hours backing things up regularly or hours reconfiguring from
scratch. To me, time is time. And backups and configuring both
take it. Yeah, it's easy to backup documents, some downloaded RPMS,
etc. But picking out all the configuration files is a little more
bothersome. I'd have to archive them before I could even store them
on a windows disc.
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Script help
Date: Sat, 29 Jul 2000 19:24:50 -0500
Akira Yamanita wrote:
>
> "David .." wrote:
> >
> > I am trying to compile a directory of rpm files without having to do
> > them one at a time. The script below works but only compiles the first
> > rpm in the directory. What am I missing to make it continue through all
> > the files in the directory.
> >
> > for i in /path/to/*; do rpm --rebuild $i; done
>
> I think that should work. Try this to see what it's doing.
>
> for i in /path/to/*; do echo $i; rpm --rebuild $i; done
>
> Do you get any errors or does it just seem to stop?
No errors it just compiles the first srpm and then quits. No errors and
the compiled rpm works fine. I'll add the "echo" to it and see what
happens.
Thanks for the reply.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Script help
Date: Sat, 29 Jul 2000 19:30:03 -0500
Many Thanks to all who replied. I found the problem.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: Robert Schweikert <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Lost communication
Date: Sat, 29 Jul 2000 20:41:08 -0400
I am running RH6.2 and compiled the 2.4-test5 kernel. It, for some
strange reason does not pick up my ethernet card, generic NE2000. When
going back to the kernel that used to work 2.2.26-3smp i(installed using
the RH packages) I pick up the ethernet card, but I can't ping the
Windoze NT machine that's hanging on this 2 machine network.
I am not sure what I screwed up but all used to work fine before I tried
to add my new scsi drive, flashed the BIOS, and compiled the new kernel.
Any help is appreciated.
Thanks,
Robert
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
[EMAIL PROTECTED] LINUX
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: ftp
Date: Sat, 29 Jul 2000 19:50:50 -0500
On Sat, 29 Jul 2000, Anna quoth:
][ Hi , My machine is running SUSE 6.3 kernel version is 2.2.14
][ This is what happens when i try to ftp my machine :
][ ---
][ ftp habriel.eng.wayne.edu
][ Connected to habriel.eng.wayne.edu FTP server (Version 6.2/OpenBSD/Linux-0.11)
][ ready
][ Name(habreil.eng.wayne.edu:asu1):amit
][ 331 password:
][ 530 Login incorrect.
][ login failed
][ ---
][ It seems that ftp server is running and the setting for ftp in "inetd.conf"
][ is OK. Do I need to set some permission for ftp users, or there is something
][ else that i am missing.
In the future, proper Usenet etiquette dictates that you reply on the
bottom of what you are replying to. Better to intermix your reply with
the OP. Now, to your point. My guess is that your shell is not in
'/etc/shells' on the server. :-) Assuming you can login via telnet
or better still ssh that is.
HTH && HAND,
anm
--
/*------------------------------------------------------------------------.
| Andrew N. McGuire |
| [EMAIL PROTECTED] |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: running linux in GUI
Date: Sat, 29 Jul 2000 19:56:17 -0500
On Thu, 27 Jul 2000, [EMAIL PROTECTED] quoth:
][
][ Hello again!
][ I tried the "Xconfigurator" and made changes for the monitor,
][ graphics card and resolution but every time I did a test, it would
][ give me an error like this " Could not open default front 'fixed'
][
][ I tried typing "linux 5" at the "LILO boot: prompt" and didnt
][ work.
][
][ When i typed "startx" or "xinit" in the console, I get this error:
][ Error loading keymap /var/tmp/server-0.XKM Could not load XKB keymap,
][ falling back to keymap, pre-XKB Keymap-FontTransSocket UNIXConnet: Can't
][ connect: errno = 111 failed to set default font path 'unix/:-1'
][ Fatal server error:
][ could not open default font 'fixed'
][
][ I would appreciate your help!
Did you install the X11 fonts package? You should be able to do
rpm -qa and grep for 'font' to get an idea if they are installed.
If that is not the case check if the X11 font server is installed,
'ps -ef | grep xfs' might assist with this.
HTH && HAND,
anm
--
/*------------------------------------------------------------------------.
| Andrew N. McGuire |
| [EMAIL PROTECTED] |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/
------------------------------
From: "Jeffrey Hood" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Console font / resolution
Date: Sun, 30 Jul 2000 00:24:16 GMT
I am running a dual boot box with Windows 98 and Redhat 6.0... I can run X
in 800x600, and 1024x768... a friend of mine uses the line:
vga=792
in his lilo.conf file, but I am using loadlin.exe to boot to Linux, and
don't know how to get that command to run...
Is there any way to specify a resolution without using lilo, and are there
any other alternatives... I tried using SVGATextMode, but can't seem to get
it to run any fonts other than the VGA ones... my video card is an ATI, but
the settings for that either don't work, or aren't much of an improvement...
I can't seem to find out what the clock speed should be for my card, and
looking at the /etc/X11/XFConfig file doesn't tell me anything...
Thanks in advance...
JH
------------------------------
** 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
******************************