Linux-Setup Digest #271, Volume #20 Fri, 22 Dec 00 09:13:06 EST
Contents:
xinetd + hosts.allow/deny ([EMAIL PROTECTED])
Re: BackSpace Keycode trouble (Thomas Dickey)
How do you get the HTTPD daemon started > ?????? ("adrian")
Re: BackSpace Keycode trouble (Thomas Dickey)
Strange Win 2K login problem ([EMAIL PROTECTED])
Re: What file sets the QTDIR environment variable? ("Chris Harris")
Trouble with epson photo 870 ([EMAIL PROTECTED])
Sound does'nt work unless "root" (Noel McLoughlin)
Re: What's System.map ? (benoit mordelet)
Re: What file sets the QTDIR environment variable? ("Peter T. Breuer")
Re: AHHHHHHHHHHHAAAAAAAHHHHHHHHHH Help! (gmc)
Re: How do you get the HTTPD daemon started > ?????? (Dragan Colak)
Re: RedHat Linux 7.0: LILO hangs (gmc)
Re: Trouble with epson photo 870 (Robert Krawitz)
Re: Okay, now that I've got my system finally installed. Build Question. ("Beavis
Christ")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: xinetd + hosts.allow/deny
Date: Fri, 22 Dec 2000 10:57:57 GMT
Hello everybody,
RH 7 comes with xinetd instead of the older inetd. I now wonder how
/etc/hosts.allow/deny coexist with the conf files in /etc/xinetd.d/
directory (with the only_from = ... directive) and xinetd.
I put
ALL:ALL in hosts.deny
and
portmap: 127.0.0.1
sshd: ALL
in hosts.allow
and suddenly nothing worked anymore (except for ssh).
Any ideas??? Thanks a lot and Merry Christmas,
Tobias
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Thomas Dickey <[EMAIL PROTECTED]>
Crossposted-To: comp.windows.x
Subject: Re: BackSpace Keycode trouble
Date: 22 Dec 2000 11:37:02 GMT
In comp.windows.x Ron House <[EMAIL PROTECTED]> wrote:
> Thomas Dickey wrote:
>>
>> In comp.os.linux.setup Ron House <[EMAIL PROTECTED]> wrote:
>> > I have just upgraded my Linux system to RedHat 6.2, using their standard
>> > upgrade program, but unfortunately since then, one key code (BackSpace)
>> > doesn't work properly. (It did before.) I want the backspace key to
>> > delete backwards, and the del key to delete forwards, but both keys are
>> > deleting forwards.
>>
>> see the app-defaults file for XTerm
> A bit vague, but okay... Well, I notice that the new file has a line:
> <Key>Delete: string(0x1b) string("[3~")
yes. That's the immediate problem: the backarrow key (aka BackSpace) will
normally transmit either 8 (BS) or 127 (DEL), depending on resource
settings xor'd with the state of the control-key. The effect of this
resource is to change one of those to \E[3~ (I'm not where I can test,
so I don't recall which).
I noticed this recently when installing a RH6.2 - and restored the
original app-defaults file, since none of Redhat's changes are useful.
> but according to xev, no Delete codes are being sent by the X server.
> Also, both the old and new file contain nothing about the BackSpace key,
some of it's done internal to xterm (see input.c), simply because there's
too much associated state to do it properly with the translations resource.
> so why is that now not working? Finally, xev, as I understand it, is a
> free-standing program, not part of XTerm, so why is that program now
> reporting that both Del and BackSpace return BackSpace codes?
xterm interprets keycodes in conjunction with resource settings - otherwise
you cannot get a usable vt100 keypad, much less a vt220 emulation. (It's
"always" done some interpretation of these, btw, from before I elaborated
that in mid-1996).
--
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
------------------------------
From: "adrian" <[EMAIL PROTECTED]>
Subject: How do you get the HTTPD daemon started > ??????
Date: Fri, 22 Dec 2000 11:34:07 -0000
Hi
My system is storm - based on debian 2.2 I have looked through all the
etc/init.d and the rc folders and cannot find a httpd one. So how do I get
the httpd daemon started and running ?
------------------------------
From: Thomas Dickey <[EMAIL PROTECTED]>
Crossposted-To: comp.windows.x
Subject: Re: BackSpace Keycode trouble
Date: 22 Dec 2000 11:42:02 GMT
In comp.windows.x Ron House <[EMAIL PROTECTED]> wrote:
> but according to xev, no Delete codes are being sent by the X server.
> Also, both the old and new file contain nothing about the BackSpace key,
> so why is that now not working? Finally, xev, as I understand it, is a
> free-standing program, not part of XTerm, so why is that program now
> reporting that both Del and BackSpace return BackSpace codes?
That xmodmap setting equates backspace and delete, iirc. (I believe you can
use a symbol for the '22', btw).
(I don't use it myself because it's not portable, won't mean the same thing on
different keyboards - in fact I've seen 2-3 reports in Redhat's Bugzilla that
indicate they should know that themselves).
--
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
------------------------------
From: [EMAIL PROTECTED]
Subject: Strange Win 2K login problem
Date: Fri, 22 Dec 2000 11:40:39 GMT
Hi,
bit of a strange problem.
Installed a new distribution of linux over a previous distribution
{extended logical /dev/hda6} on the same disk as a win2k installation
{/dev/hda3 primary}.
Lilo was reinstalled but in a different fashion to other distributions
(debian potato install).
On activation of the windows partion the machine boots up perfectly
normally and opens the login window.
The login accepts the Administrator password, startup sound plays and
then message box flashes that personal settings are being loaded. Then
another message box appears saying that personal settings are being
saved and the logout music plays and we go back to the login box.
If I boot off of the win 2k install disk and choose repair option, win2k
boots and allows me to login as administrator in char mode. I can then
have access to the char mode commands no probs.
Anyone ever come across something like this - I guess I could just
reinstall but dont really want to waste the time on all the apps
installs etc etc.
Hope this activates someones memorybone
christmas greetings
saCUL
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Chris Harris" <[EMAIL PROTECTED]>
Subject: Re: What file sets the QTDIR environment variable?
Date: Fri, 22 Dec 2000 09:01:38 -0300
Reply-To: "Chris Harris" <chris.harris(at)cwfi.co.fk>
Once again thanks for your reply.
As I have said before, I have read the manpages, looked in all the files
referenced there, those that you mention. Looked for any $ENV or BASH_ENV
and NONE OF THESE CONTAIN anything that sets QT DIR, except the lines that I
put in myself.
I am only trying to get my head around the operating system. There is
something that you and I are missing, because if I remove my settings from
bashrc the QT environment reverts to the settings of the old version of QT.
Therefore somthing other than bashrc. .profile, or any of the other files so
far discussed, is setting this env variable.
The only problem that I now have is my desire to find out what is going on.
Chris
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Sure. Man bash (if bash is your shell). It tells you very clearly:
>
> A login shell is one whose first character of argument
> zero is a -, or one started with the -login flag.
> An interactive shell is one whose standard input and out-
> put are both connected to terminals (as determined by
> isatty(3)), or one started with the -i option. PS1 is set
> and $- includes i if bash is interactive, allowing a shell
> script or a startup file to test this state.
> Login shells:
> On login (subject to the -noprofile option):
> if /etc/profile exists, source it.
> if ~/.bash_profile exists, source it,
> else if ~/.bash_login exists, source it,
> else if ~/.profile exists, source it.
> On exit:
> if ~/.bash_logout exists, source it.
> Non-login interactive shells:
> On startup (subject to the -norc and -rcfile options):
> if ~/.bashrc exists, source it.
> Non-interactive shells:
> On startup:
> if the environment variable ENV is non-null, expand
> it and source the file it names, as if the command
> if [ "$ENV" ]; then . $ENV; fi
> had been executed, but do not use PATH to search
> for the pathname. When not started in Posix mode, bash
> looks for BASH_ENV before ENV.
> If Bash is invoked as sh, it tries to mimic the behavior
> of sh as closely as possible. For a login shell, it
> .....
>
> and the same sort of thing with tcsh. Now WHAT is your problem? You
> can see that if you used a login shell, you executed
>
> /etc/profile
> ~/.profile
>
> unless you had a .bash_login, which beats out the .profile, unless you
> had a .bash_profile, which beats out a .bash_login.
>
>
> For tcsh and such, the canonical order is
>
> /etc/cshrc
> /etc/login
> ~/.cshrc
> ~/.login
>
> for login shells, according to my memory, and subject to future
> correction by kibitzers here.
>
>
>
>
>
> Peter
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Trouble with epson photo 870
Date: Fri, 22 Dec 2000 12:19:40 GMT
I recently installed Redhat 7.0 and then I went about installing my
Epson Photo 870 printer. I found RPMs on the web for STP driver support
and installed them. I updated glibc on my system as per Redhat errata.
Now, when I do print tests in printtool, I get weird error messages
printed out on my printer.
Unrecoverable error: undefined in .setdevice
Operand stack:
--nostringval--
While the printer prints out these messages, printtool act like
everything is O.K. and says "test page printed to photo870"
Any help is appreciated!
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Noel McLoughlin <[EMAIL PROTECTED]>
Subject: Sound does'nt work unless "root"
Date: Fri, 22 Dec 2000 12:41:48 +0000
This is a multi-part message in MIME format.
==============84D34BF841FE47DBACC34E7A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I have sound (emu10k1 driver) working fine on my SUSE PC when logged in
as root. But if I login as a normal user, Sound does'nt work.
I glanced at permissions on /dev/cdrom, etc and it seems ok. I cannot
remember the settings on /dev/dsp or /dev/dsp2 but I presume this is
fine.
Any ideas why sound does'nt work when logged in as a normal user?
thanks
noel.
==============84D34BF841FE47DBACC34E7A
Content-Type: text/x-vcard; charset=us-ascii;
name="noel.mcloughlin.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Noel McLoughlin
Content-Disposition: attachment;
filename="noel.mcloughlin.vcf"
begin:vcard
n:;Noel
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Noel McLoughlin
end:vcard
==============84D34BF841FE47DBACC34E7A==
------------------------------
From: benoit mordelet <[EMAIL PROTECTED]>
Subject: Re: What's System.map ?
Date: Fri, 22 Dec 2000 13:42:49 +0100
Djails wrote:
>
> Hi,
Hi,
> [...]
> A new directory called 2.4.0-test10 has been created in /lib/module,
> but it's empty... although I chose to build some stuff as modules (in
> make menuconfig) . Well, I
huh... if kernel compiled correctly and you did 'make modules_install'
that directory should contain all your modules sorted by type (video,
fs, net, misc,...).
it seems that you have to try again compilation and module installation.
> forgot one thing: i used make menuconfig instead of make xconfig coz
> xconfig reported some errors (Let's say it because kernel2.4.0 is a beta
> release) .
> So here 's my questions:
> What's that file System.map, what is it used for ?
System.map contains the address (in the kernel file I think) of all
symbols exported by the kernel.
> How does the kernel know that is has to look for modules in that or
> that directory ?
it looks for the modules in /var/lib/<kernel version>
> How to update System.map file after compilation ?
mv /boot/System.map /boot/System.map-old
cp /usr/src/linux/System.map /boot/System.map-new
ln -sf /boot/System.map-new /boot/System.map
> Lastly, what is there to do after make modules_install in order to make
> them work properly after reboot ?
after reboot type
depmod -a
and it should be ok, if the modules where installed correctly of course.
>
> ThanX for your help
hope this helps.
ben
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: What file sets the QTDIR environment variable?
Date: Fri, 22 Dec 2000 13:04:48 GMT
Chris Harris <[EMAIL PROTECTED]> wrote:
> Once again thanks for your reply.
> As I have said before, I have read the manpages, looked in all the files
> referenced there, those that you mention. Looked for any $ENV or BASH_ENV
> and NONE OF THESE CONTAIN anything that sets QT DIR, except the lines that I
> put in myself.
The process is plainly set out below. ENV or BASH_ENV or whatever are
not normally involved! Not unless they've been set up to spite you.
> The only problem that I now have is my desire to find out what is going on.
Then read the scripts. The full explanation is given to you below.
[this is one of the FEW occasions on which I will leave a load of
quotes in the reply, even though I am not commenting on them directly,
as the context is necessary]
Read /etc/profile. See if it sources anything else. It probably does
.. in redhat, they tend to write weird things that source .bash_alias
and .bash_env and so on. So grepping won't get you to where you want to go.
You have to READ.
And even then you aren't done, because the environment could have been
set up prior to bash being invoked for the first time in, for example,
the script that runs your X session. FOr that you'd have to look at the
xdm pages.
> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>>
>> Sure. Man bash (if bash is your shell). It tells you very clearly:
>>
>> A login shell is one whose first character of argument
>> zero is a -, or one started with the -login flag.
>> An interactive shell is one whose standard input and out-
>> put are both connected to terminals (as determined by
>> isatty(3)), or one started with the -i option. PS1 is set
>> and $- includes i if bash is interactive, allowing a shell
>> script or a startup file to test this state.
>> Login shells:
>> On login (subject to the -noprofile option):
>> if /etc/profile exists, source it.
>> if ~/.bash_profile exists, source it,
>> else if ~/.bash_login exists, source it,
>> else if ~/.profile exists, source it.
>> On exit:
>> if ~/.bash_logout exists, source it.
>> Non-login interactive shells:
>> On startup (subject to the -norc and -rcfile options):
>> if ~/.bashrc exists, source it.
>> Non-interactive shells:
>> On startup:
>> if the environment variable ENV is non-null, expand
>> it and source the file it names, as if the command
>> if [ "$ENV" ]; then . $ENV; fi
>> had been executed, but do not use PATH to search
>> for the pathname. When not started in Posix mode, bash
>> looks for BASH_ENV before ENV.
>> If Bash is invoked as sh, it tries to mimic the behavior
>> of sh as closely as possible. For a login shell, it
>> .....
>>
>> and the same sort of thing with tcsh. Now WHAT is your problem? You
>> can see that if you used a login shell, you executed
>>
>> /etc/profile
>> ~/.profile
>>
>> unless you had a .bash_login, which beats out the .profile, unless you
>> had a .bash_profile, which beats out a .bash_login.
>>
>>
>> For tcsh and such, the canonical order is
>>
>> /etc/cshrc
>> /etc/login
>> ~/.cshrc
>> ~/.login
>>
>> for login shells, according to my memory, and subject to future
>> correction by kibitzers here.
>>
>>
------------------------------
From: gmc <gmc+@+home.com>
Subject: Re: AHHHHHHHHHHHAAAAAAAHHHHHHHHHH Help!
Date: Fri, 22 Dec 2000 13:01:53 GMT
Soundman wrote:
> Well I just installed red hat linuz 7.0 with the KDE desktop enviroment. I
> am about ready to throw my monitor out the window as a result. I have
> looked all over the web for basic help such as How to install a program
> geting ar ound the system , etc. I am interested in all the power that linux
> has but I cant seem to do anything. Please help this newbie.
>
> I have had extensive expierence with windows 9x and nt but linux seems to be
> a cryptic maze with no crear directions.
>
>
If memory serves me, winblows was a cryptic maze until I read the manual
and had about a year's experience behind me.
------------------------------
From: Dragan Colak <[EMAIL PROTECTED]>
Subject: Re: How do you get the HTTPD daemon started > ??????
Date: Fri, 22 Dec 2000 14:32:11 +0100
adrian wrote:
> Hi
>
> My system is storm - based on debian 2.2 I have looked through all the
> etc/init.d and the rc folders and cannot find a httpd one. So how do I get
> the httpd daemon started and running ?
>
>
>
>
you can start it by typing "httpd" or by starting the script "apache" which
will start httpd for you
Dragan
------------------------------
From: gmc <gmc+@+home.com>
Subject: Re: RedHat Linux 7.0: LILO hangs
Date: Fri, 22 Dec 2000 13:36:52 GMT
This may be a little late for Eric, but I'll post it anyway for others
who will likely have the same problem.
The Lilo that ships with v 7 is broken. It failed on me with RedHat 7
and the latest Corel distro. I wasted 3 days with
this mess, and there was no help to be found anywhere (I am a linux
newbie). RedHat must know of the problem because it seems to be a FAQ
on the newsgroups. Too bad it's not a Frequently _Answered_ Question.
Here's how I fixed it:
Install RedHat 6.2
Install RedHat 7.0 but DO NOT install this LILO when it asks.
After this, the system will boot, but your modules will not load because
of a kernel version conflict.
You should then run lilo to install the version 7 boot sector.
Everything should work properly now.
Hope I have saved some poor unsuspecting soul from days of misery with
this information.
GMc
Eric wrote:
> Doug Grosso wrote:
>
>> On a system that has successfully handled past full installs (not upgrades)
>> of RedHat Linux 6.0, 6.1, and 6.2, a fresh install of 7.0 always fails at
>> boot time. The "L" in "LILO" appears and then the system hangs. I've
>> reinstalled a few times, no other OS lives on this machine, and it does boot
>> fine (albeit slowly) from a floppy. This is a fairly generic homebuilt
>> Pentium 133, 64MB RAM, 8.5 GB Western Digital IDE drive, but nothing exotic
>> attached. Thoughts?
>
>
> Yes, there appears to be something wrong with the LILO that ships with
> RH7.0
>
> Eric
------------------------------
From: Robert Krawitz <[EMAIL PROTECTED]>
Subject: Re: Trouble with epson photo 870
Date: 22 Dec 2000 08:47:59 -0500
[EMAIL PROTECTED] writes:
> I recently installed Redhat 7.0 and then I went about installing my
> Epson Photo 870 printer. I found RPMs on the web for STP driver support
> and installed them. I updated glibc on my system as per Redhat errata.
> Now, when I do print tests in printtool, I get weird error messages
> printed out on my printer.
>
> Unrecoverable error: undefined in .setdevice
> Operand stack:
> --nostringval--
There's probably more than just this -- can you post the full error
message?
--
Robert Krawitz <[EMAIL PROTECTED]> http://www.tiac.net/users/rlk/
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for The Gimp Print -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
------------------------------
From: "Beavis Christ" <[EMAIL PROTECTED]>
Subject: Re: Okay, now that I've got my system finally installed. Build Question.
Date: Fri, 22 Dec 2000 07:39:46 -0600
You're missing the point.....
I want to BUILD an install so I don't have to monkey with all that other
extra crap that one has to do to get it installed on an ata66 drive.
In other words, I want to stick my CD in the drive, and boot, no fuss, no
muss.
"Sorenson2743" <[EMAIL PROTECTED]> wrote in message
news:Geq%5.149284$[EMAIL PROTECTED]...
> http://www.csie.ntu.edu.tw/~b6506063/hpt366/ may be helpful re the HPT
> controller.
------------------------------
** 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
******************************