Linux-Setup Digest #414, Volume #19 Wed, 16 Aug 00 20:13:10 EDT
Contents:
setserial and /proc/interrups ([EMAIL PROTECTED])
Re: can I create root equivalent users? (Kent Perrier)
Re: X TROUBLES - NEWBIE ("Chris")
Re: X TROUBLES - NEWBIE ("Chris")
Re: Linux boot sequence (Juha Laiho)
RH 6.2 installation hangs (Gey-Hong Gweon)
Re: Gnome or KDE (Gareth Williams)
Re: ??perl scripts for Unix system administration (Eisen Chao)
Re: MACH64, VESA, Quake (James Alan Brown)
Re: e2fsck shows errors but hdb works OK (Jim Goodwin)
help: run out of memory and the linux crashes ("John Z. Li")
Re: Enabling Module support in RedHat (James)
SuSE 6.4 YaST2 Install Video Problem ("Don Stevens")
Re: Enabling Module support in RedHat (James)
Re: Linux boot sequence (C Schulz)
VPN Oddities?? Please Help ("John Mravunac")
Re: MACH64, VESA, Quake (J Bland)
Re: XTerm vs. Gnome (Colin Watson)
Re: Linux boot sequence (Colin Watson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: setserial and /proc/interrups
Date: Wed, 16 Aug 2000 21:08:25 GMT
I'm setting up a plug-n-play modem on a dual boot P100 w/ plug-n-play BIOS
running RH 6.1. I go into Windose to get IO addresst, IRQ, and serial port
(0x03e8, 11, and COM3/dev/ttyS0 I believe). In /etc/rd.d/rc.serial I have
(to the best of my recollection...I am at work and the machine is at home):
setserial /dev/ttyS2 port 0x03e8 irq 11 spd_vhi
I can successfully use the modem using minicom and ppp. After this, I cat
/proc/interrups and I axpect to see an entry for 11 but do not. I something
going on here? Shouldn't the modem activity generated interrup requests on
IRQ 11 that would show up here?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Kent Perrier <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Re: can I create root equivalent users?
Date: 16 Aug 2000 16:27:02 -0500
"Michael" <[EMAIL PROTECTED]> writes:
> On the same/similar topic...How about renaming the root account to
> another name..still only having one "root" account. Is this possible,
> or not?
No. I have found (from experience) that if the first line in the passwd
file is not root's account, no one can log in (at least on Sun and AIX).
Kent
--
You think your Commodore 64 is really neato
What kinda chip you got in there, a Dorito?
Weird Al -- All about the Pentiums
------------------------------
From: "Chris" <[EMAIL PROTECTED]>
Subject: Re: X TROUBLES - NEWBIE
Date: 16 Aug 2000 21:43:31 GMT
THANKS a giziilion!
I will try it out
Craig Kelley <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Chris" <[EMAIL PROTECTED]> writes:
>
> > I did a rpm -qa | grep XFre86
> >
> > XFREE86-libs-3.3.5-3
> > XFREE86-xfs-3.3.5-3
> > XFREE86-75dpi-fonts-3.3.-3
>
> You don't have any servers installed.
>
> Here is a simple way to get it on your system:
>
> mount your CD and change over to the RPMS directory (usually
> /mnt/cdrom/RedHat/RPMS, but it will be different if you're using SuSE
> or something else). Do an "rpm -Uvh XFree86*" to get all the XFree86
> packages installed. If you have it, install Xconfigurator as well and
> then run Xconfigurator as the root user and follow directions. If you
> do not have Xconfigurator, then run xf86config and use that method.
>
> --
> The wheel is turning but the hamster is dead.
> Craig Kelley -- [EMAIL PROTECTED]
> http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: "Chris" <[EMAIL PROTECTED]>
Subject: Re: X TROUBLES - NEWBIE
Date: 16 Aug 2000 21:58:58 GMT
If all I want to do is run XWIN32 remotely, do I need to put servers on the
LINUX box? The linux box usuallly has no screen, just sits on the floor
like a good linux boxx should
Craig Kelley <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Chris" <[EMAIL PROTECTED]> writes:
>
> > I did a rpm -qa | grep XFre86
> >
> > XFREE86-libs-3.3.5-3
> > XFREE86-xfs-3.3.5-3
> > XFREE86-75dpi-fonts-3.3.-3
>
> You don't have any servers installed.
>
> Here is a simple way to get it on your system:
>
> mount your CD and change over to the RPMS directory (usually
> /mnt/cdrom/RedHat/RPMS, but it will be different if you're using SuSE
> or something else). Do an "rpm -Uvh XFree86*" to get all the XFree86
> packages installed. If you have it, install Xconfigurator as well and
> then run Xconfigurator as the root user and follow directions. If you
> do not have Xconfigurator, then run xf86config and use that method.
>
> --
> The wheel is turning but the hamster is dead.
> Craig Kelley -- [EMAIL PROTECTED]
> http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: Juha Laiho <[EMAIL PROTECTED]>
Subject: Re: Linux boot sequence
Date: 16 Aug 2000 23:31:29 +0300
[EMAIL PROTECTED] (gfarris) said:
>I've been running RH6.1 for some time now, and was wondering if a good
>reference exists on the Linux boot process.
Don't know about that, but I think I can help in your actual problem.
>What I'm looking for is which files are loaded and what order in which
>they are loaded.
Here I'll go perhaps a bit deeper than you hoped for.. but your problem
is addresses close to the end.
I'll skip what happens on the hardware level before the on-disk boot
loader loads in your OS kernel image. So, "first", the kernel image
is loaded from the disk and set to run (with quite a lot of magic..).
Then, when the kernel gets itself straightened out, it will do internal
things, like initialize the compiled-in device drivers and mount the
root filesystem (either compiled-in, or using information given by the
boot loader). An interesting sidetrack is that the kernel image itself
doesn't need to reside on the root fs; it's loaded from the disk using
just disk block addresses.
Then comes the time to start up the first process external to the kernel.
In a normal system that is /sbin/init (which always has process id 1),
due to being started first and due to being unkillable. After this, init
will handle things as configured in /etc/inittab.
/etc/inittab in my RH6.1. contains information of the default runlevel
(here 3). This means that init will run lines si, and l3, and then
goes on to start the virtual console logins. 'si' line will run
/etc/rc.d/rc.sysinit and 'l3' will run "/etc/rc.d/rc 3", which basically
runs all the scripts in /etc/rc3.d. The scripts named 'K*' will be run
with argument 'stop' and the scripts named 'S*' with argument 'start'.
Looking closer, the items in the /etc/rc[0-9].d/ are just symlinks to
real files in /etc/rc.d/init.d/, and things can be changing by adding
or removing these symlinks. So, f.ex. to prevent the hardware detection
from happening when booting up, check your default runlevel from the
/etc/inittab 'initdefault' line, and remove the S???kudzu link from
the relevant /etc/rc[0-9].d/ directory (relevant: number in the
directory path matches your default runlevel).
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a- C++ UH++++$ UL++++ P+@ L+++ E(-) W+$@ N++ !K w !O
!M V PS(+) PE Y+ PGP(+) t- 5? !X R tv--- b+ DI? D G e+ h--- r+++ y+
"...cancel my subscription to the resurrection!" (Jim Morrison)
------------------------------
From: Gey-Hong Gweon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,linux.redhat
Subject: RH 6.2 installation hangs
Date: Wed, 16 Aug 2000 18:07:53 -0400
Hi, I have a brand-new Gateway E-5400 system and my first try to install
the RedHat 6.2 failed because the installation program hangs after the
message:
PCI: PCI BIOS Revision 2.10 entry at 0xfdb91
PCI: Using configuration type 1
PCI: Probing PCI hardware
I wonder if anybody can shed some light on this problem. System
configuration is roughly:
Ultra 100 Bios Version 2.00
Dual Intel 800MHz Pentium III
128 Mb PC600 ECC RDRAM
Win2000 Promise Ultra 100 IDE Controller
Two 20Gb 7200 RPM Quantrum ATA66 Hard drives
etc ...
Gey-Hong.
------------------------------
From: Gareth Williams <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.x,comp.os.linux.advocacy
Subject: Re: Gnome or KDE
Date: Wed, 16 Aug 2000 23:19:18 +0100
"Donal K. Fellows" wrote:
>
> In article <[EMAIL PROTECTED]>,
> The Ghost In The Machine <[EMAIL PROTECTED]> wrote:
> [...]
> >>>> You had ones? All we had was zeros.
> >>> You were lucky.
> >>> We had to bang two rocks together to get the zeros...
> >> I had to walk 10 miles, uphill, in the snow just to get the rocks!
>
> You young whippersnappers had it easy! We had to quarry the rocks out
> of the ground at the bottom of a frozen swamp using only our noses.
> In the middle of a blizzard. And we were glad of it! You've never
> had it so good...
>
> > Both ways? :-)
>
> All three of them!
>
> Donal.
> --
> Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ [EMAIL PROTECTED]
> -- Actually, come to think of it, I don't think your opponent, your audience,
> or the metropolitan Tokyo area would be in much better shape.
> -- Jeff Huo <[EMAIL PROTECTED]>
Hmmm - obviously written in Python ;-)
--
Greetings from Queen Maud Land
Gareth Williams, Penguophile
------------------------------
From: [EMAIL PROTECTED] (Eisen Chao)
Crossposted-To: comp.os.linux.powerpc,comp.unix.admin
Subject: Re: ??perl scripts for Unix system administration
Date: Wed, 16 Aug 2000 22:30:30 GMT
Reply-To: [EMAIL PROTECTED]
O'Reilly just came out with the Perl book for UNIX admins.
Chapters are broken up into most common tasks admins
encounter. Big section of LOG files which apparently
differ from system to system.
Check it out at www.ora.com.
What kind of stuff are you doing ? I think they
divide books into regular UNIX tasks and UNIX tasks
on Web Servers.
!! Tonnere de Brest ([EMAIL PROTECTED]) wrote:
: Are there any good web sites or ftp sites where I can find perl scripts that do
: things like create new user accounts etc. (I would like eventually to be able
: to make them accessible via a cgi script). Is that feasible and how safe it
: is?
:
: Thank you very much.
: If you have any questions, please don't hesitate to contact me.
: Thanks, Ghaouar Camij Toschian,
------------------------------
From: James Alan Brown <[EMAIL PROTECTED]>
Subject: Re: MACH64, VESA, Quake
Date: Wed, 16 Aug 2000 22:29:41 GMT
J Bland wrote:
>
>
> 'ello,
>
> I have a laptop with an ATI Rage LT Pro (ie a 4MB Mach64). In X it's a
> lovely little thing (and almost does 3D without going up the sticks every
5
> minutes ;) but on the console I'm still having bother getting any decent
> resolution out of it.
>
> It can run VCs in 80x60 which is plenty but when it comes to games I
can't
> get much decent out of it. For example, running squake on the console it
> only gives the standard ModeX modes (max of 360x480). VESA should give
> higher and I'm sure mach64 supports VESA. So, anyone know how to get the
> console going better (this is on SuSE 6.4)?
>
> Frinky
>
> --
> John Bland MPhys(Hons) GradInstP Webmaster and Sys Admin.
> http://ringtail.cmp.liv.ac.uk/ Condensed Matter Group
> Email: j.bland at liv.ac.uk Liverpool University
> "And it can suck a monkey through 30ft of garden hose!!"
What version of XF86 are you running and are you using the latest MACH 64
drivers (check out SuSE download under "Xservers)"
Can give you plenty of good free help on the SuSE Destro if you need it!
Regards,
James
JAB Computers Bristol UK
http://www.jabcomp.force9.co.uk/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Jim Goodwin <[EMAIL PROTECTED]>
Subject: Re: e2fsck shows errors but hdb works OK
Date: Wed, 16 Aug 2000 15:44:24 -0700
Colin,
Thanks for your help. I was able to chk the drive OK. Sorry 'bout the vcard
-should have left it off.
Jim
>
------------------------------
From: "John Z. Li" <[EMAIL PROTECTED]>
Subject: help: run out of memory and the linux crashes
Date: Wed, 16 Aug 2000 17:28:53 -0500
Dear linux gurus,
I have a question for you and would appreciate your help.
I have been using Linux for a very long time. I found that the only way
to crash a linux machine is to load many many applications so that all
the RAMs+Swap disc are full. Then Linux box would sit there helplessly.
Recently I experienced this with Acrobat 4.05 and attempted to read a
box. It took away all memory and swap file system and the machine just
refuse to respond.
Any way to fix this? Is there any kernel parameters you can tweak with
to fix this?
Thanks
John
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (James)
Subject: Re: Enabling Module support in RedHat
Date: Wed, 16 Aug 2000 23:16:09 GMT
Delighted to see your response. I see that I have some studying to
do.
Thanks.
On Tue, 15 Aug 2000 11:04:59 GMT, [EMAIL PROTECTED] (Davide Bianchi)
wrote:
>On Tue, 15 Aug 2000 10:37:20 GMT, [EMAIL PROTECTED] (James) wrote:
>
>>On my RedHat 2.2 system, I'm trying to install Video for Linux 2 so I
>>can use my Winnov video and audio capture card. This requires me to
>>configure Video for Linux 2 as a module, and to rebuild the kernel if
>>necessary.
>>Instructions ask me to give the following command:
>>make module; make modules-install
>>When I give this command, I get the following error message:
>>The present kernel configuration has modules disabled. Type 'make
>>config' and enable module support. Then build a kernel with module
>>support enabled.
>
>Try use make menuconfig. Is the same (in the end), but uses a
>menu-driven way that is quite simple to follow. Basically you have
>to tell the kernel to use "MODULES", then you can define WHAT you
>want to be "modularized". You can build whataver you want as a
>modules.
>When you have defined your configuration (Drivers, FileSystem
>support ect. etc.), you can use make dep and make zImage to create
>a new kernel with the desired configuration. Then the make
>modules and make modules_install to install the modules.
>
>Read also the Kernel-HOWTO documentation in the /usr/src/linux
>directory for other information.
>
>Remember to install the new kernel after the recompile, leave the
>old kernel intact and install the new one as a "new" kernel, this
>is particularly usefull expecially if the new kernel does not work!
>
>Davide
------------------------------
From: "Don Stevens" <[EMAIL PROTECTED]>
Subject: SuSE 6.4 YaST2 Install Video Problem
Date: Wed, 16 Aug 2000 17:15:43 -0600
After the first installation reboot, the graphical SuSE 6.4 YaST2 comes up
in a video mode that does not allow access to the entire screen or required
menu selections.
I've been trying to do an install of SuSE 6.4 on a dual-processor, Windows
NT PC. I used Disk Administrator to made 6GB of free space at the end of
the drive and I follow the HOWTO to use NT Boot Manager (which I have
successfully done on another machine). I boot using CD 1 and make the
installation selections just fine using the graphical SuSE YaST2 setup tool.
After the kernal is installed, the installation requires a reboot. When I
reboot the system, regardless of whether I have put LILO on the Linux boot
partition (and continue the install using the original boot disk to boot the
installed system) or on a boot floppy, the YaST2 graphical interface (that
worked just fine for the beginning of the installation) comes up in a mode
where I can only see the top left 20% or so of the screen. The mouse works
fine within the confines of the physical screen, but I cannot move out of
the top left corner of the virtual screen. Moving the mouse to the edge of
the screen doesn't scroll. Ctrl-Alt-+/- or Ctrl-Shift-+/- and other
combinations that change video resolution in a fully installed system do not
work. The "Insert CD 2, 3, etc." messages come up in the middle of the
physical screen, but when the installation gets to the screen to select and
test the video mode, the buttons to select and test cannot be seen to select
and test.
Suggestions, please.
Don
--
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (James)
Subject: Re: Enabling Module support in RedHat
Date: Wed, 16 Aug 2000 23:21:50 GMT
Hello Colinet,
Thank you for responding so quickly. Will study what your suggestion
implies and then give it a try.
Thanks again.
James
On Tue, 15 Aug 2000 14:09:44 +0200, Colinet Remy
<[EMAIL PROTECTED]> wrote:
>James a �crit :
>
>> On my RedHat 2.2 system, I'm trying to install Video for Linux 2 so I
>> can use my Winnov video and audio capture card. This requires me to
>> configure Video for Linux 2 as a module, and to rebuild the kernel if
>> necessary.
>> Instructions ask me to give the following command:
>> make module; make modules-install
>> When I give this command, I get the following error message:
>> The present kernel configuration has modules disabled. Type 'make
>> config' and enable module support. Then build a kernel with module
>> support enabled.
>> Needless to say, this seems to be a big order for someone just
>> getting started. When I typed 'make config' I was given so many
>> choices that I knew that I was in over my head. Anyone able to help
>> me get started?
>
>Hello,
>
>If you need to configure your pseudo device card as a module, you have
>to enable module support which
>means that the static part of the kernel has to be able to load the
>modules which are dynamic parts of the kernel.
>
>To enable the loadable module, do the following :
>
>cd /usr/src/linux
>make xconfig
>Select "Loadable module support" and push the button for "Enable module
>support".
>
>Then , it should be ok ...
>
>
------------------------------
From: C Schulz <[EMAIL PROTECTED]>
Subject: Re: Linux boot sequence
Date: Thu, 17 Aug 2000 00:33:34 +0100
gfarris wrote:
>
> Hello,
>
> I've been running RH6.1 for some time now, and was wondering if a good
> reference exists on the Linux boot process.
>
> What I'm looking for is which files are loaded and what order in which
> they are loaded.
>
> I know that much of the action is in the /etc/rc.d and in the
> /etc/rc.d/init.d directories, but haven't been able to make complete
> sense out of it all.
>
> For example, when I boot my machine, there is a process that is
> "detecting new hardware" that I would like to comment out since it
> takes a while to finish. I'm sure it is a script running kudzu or
> something, and I'll bet the script is somewhere in the /etc/rc.d tree,
> or called by a process in that tree, but I just can't seem to find it.
> Could somebody give me a pointer?
>
> Thanks,
> Greg
Greg,
although the other posts explaining the startup procedure and the
symbolic links correctly, you should try to avoid removing or renaming
the links manually.
There is a system utility called chkconfig which does the job for you
and allows you to easily turn scripts on or off, even depending on the
run level.
In your case you would use the command
chkconfig kudzu off
The command
chkconfig --list
will show you which scripts are started in which run level.
This way you can create your own scripts in /etc/rc.d/init.d. Have a
look how these scripts are built, it's quite straight forward.
Christian
------------------------------
Reply-To: "John Mravunac" <[EMAIL PROTECTED]>
From: "John Mravunac" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: VPN Oddities?? Please Help
Date: Thu, 17 Aug 2000 09:51:46 +1000
Hi,
I've got two networks connected in a VPN using FreeSwan IPSec. One of the
networks which I will call .11 (as in 192.168.11.0) has a edge machine A and
the other .1 (as in 192.168.11.0) which has an edge machine B.
Firstly, I can't ping from A into the .11 network and from B I can't ping
into .1 - Is this a limitation of IPSec? But from inside .11 I can easily
ping machines inside the .1 network.
The A machine also runs Squid and DNS which are causing problems...If people
on the .11 network need to access the internet through squid, then all is
fine...but if they want to access a site within the VPN in the .1
network...then the site becomes unreachable...unless squid is bypassed.
There is also difficulties in loading zone files across the VPN.
With IPSec, is it necessary to run edge machines that are dedicated to
running the VPN?
The machines are PIIIs and run RH6.1
Any help that can be offered would be greatly appreciated!
Thanks in advance.
John Mravunac :^)
[EMAIL PROTECTED]
Remove NOSPAM from the email address if replying via mail.
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: MACH64, VESA, Quake
Date: 16 Aug 2000 23:51:58 GMT
>What version of XF86 are you running and are you using the latest MACH 64
>drivers (check out SuSE download under "Xservers)"
XFree86 3.3.6, Utah-GLX with Mesa 3.2, if you must know (XFree86 4.0.1
doesn't yet support Mach64) with all the latest updates for X for SuSE's
rpms.
>Can give you plenty of good free help on the SuSE Destro if you need it!
Distro
My X server is running fine, ta. It's SVGAlib and VESA support on Mach64
that I'm wondering about.
Frinky
--
John Bland MPhys(Hons) GradInstP Webmaster and Sys Admin.
http://ringtail.cmp.liv.ac.uk/ Condensed Matter Group
Email: j.bland at liv.ac.uk Liverpool University
"And it can suck a monkey through 30ft of garden hose!!"
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: XTerm vs. Gnome
Date: 16 Aug 2000 23:54:21 GMT
Michael <[EMAIL PROTECTED]> wrote:
>Thanks to all that helped when I thought I was using KDE...turns out I was
>actually using XTerm. So...I want gnome to come up when I log on...I've
>tried putting "exec gnome-session" in my .xinitrc, and I've tried putting in
>"PREFERRED=gnome session" in my Xclients file...but it still comes up with
>Xterm.
I haven't seen your previous messages [1], but if you're using a display
manager like xdm, gdm, or wdm (you'll know because you get a graphical
login screen instead of having to use startx) then you'll have to put
'exec gnome-session' at the end of your .xsession rather than your
.xinitrc.
In situations where I might want to use either of xdm or startx, I often
make $HOME/.xinitrc a symbolic link to .xsession, as in my experience
it's rare that they need to be different.
[1] Yet ... c.o.l.s is quite a big newsgroup to try to keep up with ;))
--
Colin Watson [[EMAIL PROTECTED]]
"Microsoft deprived consumers of software innovation that they very
well may have found valuable." - USA vs. MS findings, para. 410
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: Linux boot sequence
Date: 17 Aug 2000 00:03:14 GMT
gfarris <[EMAIL PROTECTED]> wrote:
>I've been running RH6.1 for some time now, and was wondering if a good
>reference exists on the Linux boot process.
There's probably about as much information as you could want in the
Linux System Administrator's Guide, at:
http://www.iki.fi/viu/linux/sag/
(Other Guides can be found at
<URL:http://www.linuxdoc.org/guides.html>.)
--
Colin Watson [[EMAIL PROTECTED]]
"Everyone, please welcome our new friend Stef. He's here with us
because he thinks he's a penguin." - http://www.userfriendly.org/
------------------------------
** 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.setup) 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-Setup Digest
******************************