Linux-Misc Digest #896, Volume #26 Tue, 23 Jan 01 07:13:01 EST
Contents:
Re: virtual screen (Lew Pitcher)
Re: instrumentation displays (question) (Steve Allen)
Re: nfs-utils kernel dependency (Christoph Kukulies)
mounting extended partition ([EMAIL PROTECTED])
apsfilter question, I think ([EMAIL PROTECTED])
Telnet problems ("Nils M. Lunde")
Re: instrumentation displays (question) (H.Bruijn)
Newbie forgotten advice, need a refresher (Nicholas)
Re: Telnet problems ("Nils M. Lunde")
Re: Newbie forgotten advice, need a refresher (H.Bruijn)
Re: mounting extended partition (Svend Olaf Mikkelsen)
Re: Protect yourself! I got hacked by the Ramen worm (Stephen Cornell)
Re: Is Debian RPM compatible ? ("Peter T. Breuer")
Re: Booting with no console ("Peter T. Breuer")
Re: How can I search file at midnight commander? (Marc D. Williams)
Re: ssh connection (Stephen Cornell)
Re: Newbie forgotten advice, need a refresher (Nicholas)
Recommendation for firewire under linux? (Bala)
Re: How can I search file at midnight commander? (Manni Heumann)
----------------------------------------------------------------------------
From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: virtual screen
Date: Sun, 21 Jan 2001 00:02:49 -0500
Andrew Purugganan wrote:
>
> Sudhakar R. ([EMAIL PROTECTED]) wrote:
> [ everytime i boot up in Rh 7.0 I have to do ctrl+alt+- to get the vitrual
> [ screen to fit in the monitor screen.
>
> [ How do I get this to work by default.
>
> edit your xf86config file (some have it in /etc/X11/)
>
> and eliminate all references to desktops that are larger than your
> preferred resolution e.g. if you prefer 800x600 then i'd get rid of all
> references to 1024x768 or whatever
Or at least edit the desktop references to place your preferred
resolution first in the list. I.e.
1024x768 800x600
> you might want to make a backup copy first
>
> --
> jazz
> Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
> Doesn't it bother you, that we have to search for intelligent life
> --- OUT THERE??
--
Lew Pitcher
Master Codewright and JOAT-in-training
Registered Linux User #112576
------------------------------
Crossposted-To:
comp.os.linux.networking,comp.os.linux.security,comp.os.linux.setup,comp.os.linux.x
From: [EMAIL PROTECTED] (Steve Allen)
Subject: Re: instrumentation displays (question)
Reply-To: [EMAIL PROTECTED]
Date: Mon, 22 Jan 2001 15:45:53 GMT
In article <[EMAIL PROTECTED]>,
James Knott <[EMAIL PROTECTED]> writes:
> Steve Allen wrote:
>> What I want is to have the display be presented on the RH systems without
>> having to log in to them. What do I need to do to accomplish this? In
>
> You could try rexec.
Wouldn't work for us. We have a single system generating four displays,
which will be going to the RH boxes. SGI has in their Xlogin script a
thing like this:
============
# visuallogin: on: clogin; off: plain xdm login
# also, "-f" in clogin means grab input focus
# to allow remote login to execute commands ( use displays ) on this machine
# when no one is logged in, delete the $1 at the end if the clogin command exec
if /etc/chkconfig visuallogin ; then
if [ -x /usr/Cadmin/bin/clogin ] ; then
# exec /usr/Cadmin/bin/clogin -f $1
exec /usr/Cadmin/bin/clogin -f
fi
fi
============
What I'm looking for is a similar construct in the Linux world, and was
hoping that someone would know offhand what it is. (I've already spent
many hours looking at FAQs and examining code; it'd be nice if someone
knows the answer and could save me some time. :-)
~Steve
--
Steven R. Allen - SGI Admin Weenie
http://www.eskimo.com/~wormey/
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
------------------------------
From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: nfs-utils kernel dependency
Date: 23 Jan 2001 08:21:12 GMT
Mark Post <[EMAIL PROTECTED]> wrote:
: On 22 Jan 2001 07:23:57 GMT, Christoph Kukulies
: <[EMAIL PROTECTED]> wrote:
:>I was trying to rpm -Uvh nfs-utils-0.1.9.1-1.i386.rpm
:>and get
:>error: failed dependencies:
:> kernel >= 2.2.14 is needed by nfs-utils-0.1.9.1-1
:>but:
:>uname -a
:>Linux mymachine 2.2.14 #2 Fri May 19 09:26:33 CEST 2000 i686 unknown
: ______
: Apparently, you didn't install the 2.2.14 kernel using rpm. If you don't
: use rpm, it can't tell if it is installed, and will give you a failed
: dependency.
Ah, yes, I compiled the kernel. Is there a way to 'cheat'?
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.help
Subject: mounting extended partition
Date: Tue, 23 Jan 2001 08:24:18 GMT
Can somebody tell me if it is possible to mount
an extended FAT32 partition in linux(RH6.1) ?
I get the following error when I try to mount:
[root@my-pc /root]# mount -t vfat /dev/hda8 /ddrive
mount: wrong fs type, bad option, bad superblock on /dev/hda8,
or too many mounted file systems
Is there any way to get around with this problem ?
thanks,
csk
PS: I am giving the partition information:
Disk /dev/hda: 255 heads, 63 sectors, 2490 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 498 4000153+ b Win95 FAT32
/dev/hda2 499 881 3076447+ 83 Linux
/dev/hda3 882 2490 12924292+ 5 Extended
/dev/hda5 882 1391 4096543+ 83 Linux
/dev/hda6 1392 1442 409626 83 Linux
/dev/hda7 1443 1481 313236 82 Linux swap
/dev/hda8 1482 2490 8104761 b Win95 FAT32
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: apsfilter question, I think
Date: Tue, 23 Jan 2001 08:35:38 GMT
I have a PS printer hooked up to my Linux machine. When windows
machines print to my printer via SAMBA, the jobs come out perfectly!
However, when I print from my own machine, I only get a line of code
at the top of the page and then nothing else. This happens when I print
ascii, PS, or basically anything from my machine. Any suggestions on
how to remedy this, or on what to look for? Printing used to work
flawlessly!
SUSE Linux Pro 7.0
Apple LaserWriter 16/600 PS
Thanks,
Ken
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Nils M. Lunde" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Telnet problems
Date: Tue, 23 Jan 2001 10:16:26 +0100
I've just installed Telnet on my embedded linux system.
The inetd daemon starts without any problems, but when I try to telnet
to the computer, I get the following message:
telnetd: All network ports in use
I've installed the following files:
/etc/services
/etc/hosts
/etc/inetd.conf
/etc/init.d/inetd (The script which starts the daemon)
/usr/sbin/inetd
/usr/sbin/telnetd
What could be wrong?
Thanks!
-Nils Magne Lunde
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To:
comp.os.linux.networking,comp.os.linux.security,comp.os.linux.setup,comp.os.linux.x
Subject: Re: instrumentation displays (question)
Date: 23 Jan 2001 09:22:46 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 19 Jan 2001 18:23:54 GMT, Steve Allen allegedly wrote:
>Hi.
>
>This is a question that is the reverse of the usual -- how do I *decrease*
>the XWindow security?
>
>I have a half-dozen machines with RH6.2/GNOME installed, and set to boot
>to an XWindow login. A separate system runs a program that is to put a
>display up on these machines.
>
>What I want is to have the display be presented on the RH systems without
>having to log in to them. What do I need to do to accomplish this? In
>the same vein, what is the best way to turn off the screensaver for these
>systems? (While the app is running would be best, but an all-the-time
>shutoff would be acceptable; we can just turn the displays off.)
I wouldn't use xdm but rather do the following:
Use ssh for secure connections to the remote machine running the app
(get sshd and ssh clients) and for X forwarding. This may add a little extra
overhead, but the encryption offered by ssh also functions as a compressiontool.
The priciple is simple :
ssh implements the RSA authentication protocol automatically. The user
creates his/her RSA key pair by running ssh-keygen(1). This store the
private key in $HOME/.ssh/identity and the public key in
$HOME/.ssh/identity.pub in the user's home directory. The user should
then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home
directory on the remote machine (the authorized_keys file corresponds to
the conventional $HOME/.rhosts file, and has one key per line, though the
lines can be very long). After this, the user can log in without giving
the password. RSA authentication is much more secure than rhosts authen-
tication.
(1) do not secure the RSA key with a passphrase, as then you still
need to
First setup a user account, never know when one if the users tries to be
funny and do rm -rf.
Then edit the file /etc/inittab. What you'll do is make it automagically
boot into the user account. Modify the first two entries concerning the
console. They should currently look like this :
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
1:12345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
into :
1:2345:respawn:/bin/su - user
2:12345:respawn:/sbin/mingetty tty2
Now the machine will boot into the user account without entering any
passwords. The account itself can still be password protected, as we
don't want accounts without passwords accessible from the outside.
Then create or copy from a sample account the proper settings fi .login,
.bashrc files, bookmarks etc.
To make sure you'll boot directly into X with your programmes, add startx to
the /home/user/.login file. And edit the /home/user/.xinitrc file to
something like:
#!/bin/sh
#
#simple .xinitrc
# set a clock in the background:
xclock -digital -geometry +8 +150 &
# set background image:
xv -root -quit -max ~/.Background/company_logo.jpg &
# start the programmes that need to be running:
/usr/bin/X11/netscape http://www.boeing.com &
/usr/loacl/bin/flight_navigator &
/usr/bin/ssh -X [EMAIL PROTECTED] /path/to/programme &
# start the window manager, not in the background, X will stop
# when we close the window manager. wmaker, fvwm etc.
/usr/bin/X11/wmaker
make /home/user/.xinitrc execuatble and your done.
Rebooting the machine now should confirm these settings. (or make init
reread the configurationfiles by doing "/sbin/telinit q").
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: Nicholas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Newbie forgotten advice, need a refresher
Date: Tue, 23 Jan 2001 18:12:35 +0800
I got a problem previously, i couldn't mount my floppy disk due to some
misconfiguration. Someone advise me to ls -al /dev/fd0, told me that my
/dev/fd0 was wrong and taught me how rm it and recreate it again.
But i forgotten the command to recreate it....could anyone advise me again!
Thanks!
Regards,
Forgetful newbie
------------------------------
From: "Nils M. Lunde" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Telnet problems
Date: Tue, 23 Jan 2001 11:12:28 +0100
Never mind!
I fixed the problem myself.
"Nils M. Lunde" <[EMAIL PROTECTED]> wrote in message
news:94ji5u$mvr$[EMAIL PROTECTED]...
> I've just installed Telnet on my embedded linux system.
> The inetd daemon starts without any problems, but when I try to telnet
> to the computer, I get the following message:
>
> telnetd: All network ports in use
>
> I've installed the following files:
>
> /etc/services
> /etc/hosts
> /etc/inetd.conf
> /etc/init.d/inetd (The script which starts the daemon)
> /usr/sbin/inetd
> /usr/sbin/telnetd
>
> What could be wrong?
>
>
> Thanks!
>
> -Nils Magne Lunde
>
>
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To: comp.os.linux.setup
Subject: Re: Newbie forgotten advice, need a refresher
Date: 23 Jan 2001 10:48:10 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 23 Jan 2001 18:12:35 +0800, Nicholas allegedly wrote:
>I got a problem previously, i couldn't mount my floppy disk due to some
>misconfiguration. Someone advise me to ls -al /dev/fd0, told me that my
>/dev/fd0 was wrong and taught me how rm it and recreate it again.
>
>But i forgotten the command to recreate it....could anyone advise me again!
either "/dev/MAKEDEV floppy" or "/sbin/MAKEDEV floppy" or
"/dev/MAKEDEV fd0" or "/sbin/MAKEDEV fd0" but all of these are just
scripts which do :
/sbin/mknod /dev/fd0 b 2 0 -m 660
chown root.floppy /dev/fd0
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Crossposted-To: comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.help
Subject: Re: mounting extended partition
Date: Tue, 23 Jan 2001 10:50:30 GMT
[EMAIL PROTECTED] wrote:
>Can somebody tell me if it is possible to mount
>an extended FAT32 partition in linux(RH6.1) ?
>I get the following error when I try to mount:
>
>[root@my-pc /root]# mount -t vfat /dev/hda8 /ddrive
>mount: wrong fs type, bad option, bad superblock on /dev/hda8,
> or too many mounted file systems
>
>Is there any way to get around with this problem ?
>
>thanks,
>csk
>
>PS: I am giving the partition information:
>
>
>Disk /dev/hda: 255 heads, 63 sectors, 2490 cylinders
>Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
>/dev/hda1 * 1 498 4000153+ b Win95 FAT32
>/dev/hda2 499 881 3076447+ 83 Linux
>/dev/hda3 882 2490 12924292+ 5 Extended
>/dev/hda5 882 1391 4096543+ 83 Linux
>/dev/hda6 1392 1442 409626 83 Linux
>/dev/hda7 1443 1481 313236 82 Linux swap
>/dev/hda8 1482 2490 8104761 b Win95 FAT32
My guess is that the logical FAT32 partition is formatted beginning
inside the primary FAT32 partition. If important data is on the disk,
you should not write to the disk until the problem is examined. The
cause is a wrong partition type (ID) of the extended partition. It
should be 0F. If this is corrected, you however will lose access to
the data in the partition, since DOS/Window will stop looking the
wrong place.
--
Svend Olaf
------------------------------
From: Stephen Cornell <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,comp.os.linux.setup,linux.redhat.misc,alt.os.linux
Subject: Re: Protect yourself! I got hacked by the Ramen worm
Date: 23 Jan 2001 11:40:36 +0000
"tonygroff" <[EMAIL PROTECTED]> writes:
> "Jan Johansson" <[EMAIL PROTECTED]> wrote in message
>
> <smart ass comment>
>
> Um... if you have to connect to the Internet to check for security
> updates... how are you supposed check for security updates before
> connecting to the Internet? :)
>
> </smart ass comment>
You use another machine, if possible. If you have to do it from the
newly installed machine, you can minimise risk by first turning off
ALL networking services (including inetd, lpd and rpc stuff) so that
netstat shows no open ports... and you do it with javascript switched
off in your browser!
> Sorry folks, it's late and I'm a little punchy :)
His comment was somewhat redundant - I should have thought that you've
learnt your lesson.
--
Stephen Cornell [EMAIL PROTECTED] Tel/fax +44-1223-336644
University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Is Debian RPM compatible ?
Date: Tue, 23 Jan 2001 07:31:40 +0100
Arctic Storm <[EMAIL PROTECTED]> wrote:
> I read somewhere that certain Linux distributions are RPM compatible while
> others aren't.
None are and none aren't. Rpm is a format. Every distro can read it with
the appropriate tools, just like they can read tar files.
That says nothing about whether they're compatible with the CONTENT of
the rpm.
> Does RPM stand for "RehHat Package Manager" or "RPM Package Manager?
Guess.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware
Subject: Re: Booting with no console
Date: Tue, 23 Jan 2001 07:27:02 +0100
In comp.os.linux.misc Harry <[EMAIL PROTECTED]> wrote:
> Anyway - I can set the hardware up not to stall in the absence of a
> keyboard and mouse, but what file edits must I make to stop the
> operating system from complaining that they're not there on boot?
None. The operating system doesn't care.
(unless you run X, when you may have to dummy for the mouse, but
then running X on a server and without a monitor is doubly pointless)
Peter
------------------------------
From: [EMAIL PROTECTED] (Marc D. Williams)
Subject: Re: How can I search file at midnight commander?
Date: Tue, 23 Jan 2001 11:45:42 -0000
Reply-To: [EMAIL PROTECTED]
On Tue, 16 Jan 2001 18:42:20 +0800, Carfield Yim wrote:
>When I using Windows with Windows Commander, I can search file with
>[alt] + [letter]; I find that I can't do the same work with mc in linux.
>I think that there should be similar thing at midnight commander, can
>anyone tell me? And where can I find document of midnight commander? I
>don't understand the manual of midnight commander because there are many
>command like M-v, C-v, but I don't know how to type it.
The [alt]+[letter] thing works fine for me.
What you might want to do is test your keys. I'm assuming you're
using the console version of MC.
F9-->Options-->learn Keys
That probably has nothing to do with the alt+letter thing but...
Far as documentation goes, the F1 key will give you enough information
to get going.
--
>>ANIME SENSHI<<
Marc D. Williams
[EMAIL PROTECTED]
http://www.oldskool.org/~tvdog/ -- DOS Internet & Tandy 1000
http://www.geocities.com/SiliconValley/Platform/8269/ -- Win3.x Makeover
------------------------------
From: Stephen Cornell <[EMAIL PROTECTED]>
Subject: Re: ssh connection
Date: 23 Jan 2001 11:48:08 +0000
"Chris" <[EMAIL PROTECTED]> writes:
> Anyone have any ideas on what I should look at when trying to determine why
> at some times, it takes forever to connect via ssh to my linux box, which
> resides on my local land, in fact its on the box that is under my winbox.
ssh -v
--
Stephen Cornell [EMAIL PROTECTED] Tel/fax +44-1223-336644
University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ
------------------------------
From: Nicholas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Newbie forgotten advice, need a refresher
Date: Tue, 23 Jan 2001 19:43:12 +0800
Thanks...kind of silly of me ;-)
H.Bruijn wrote:
> On Tue, 23 Jan 2001 18:12:35 +0800, Nicholas allegedly wrote:
>
>> I got a problem previously, i couldn't mount my floppy disk due to some
>> misconfiguration. Someone advise me to ls -al /dev/fd0, told me that my
>> /dev/fd0 was wrong and taught me how rm it and recreate it again.
>>
>> But i forgotten the command to recreate it....could anyone advise me again!
>
>
> either "/dev/MAKEDEV floppy" or "/sbin/MAKEDEV floppy" or
> "/dev/MAKEDEV fd0" or "/sbin/MAKEDEV fd0" but all of these are just
> scripts which do :
>
> /sbin/mknod /dev/fd0 b 2 0 -m 660
> chown root.floppy /dev/fd0
------------------------------
From: Bala <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Recommendation for firewire under linux?
Date: 23 Jan 2001 11:39:33 GMT
**** Note: please remove prepending ZZZ from my e-mail address
Hi, I would like to grab some video sequences from my Sony video camera. Can
anyone recommend me a firewire card that will work with linux - and if
possible where I can buy it in the UK? I am running Mandrake 7.2, kernel
2.2.17.
Also, what is the general experience when using firewire with linux?
Thanks.
-Bala
------------------------------
From: [EMAIL PROTECTED] (Manni Heumann)
Subject: Re: How can I search file at midnight commander?
Date: 23 Jan 2001 11:58:37 GMT
[EMAIL PROTECTED] (Marc D. Williams) wrote on 23 Jan 2001:
>The [alt]+[letter] thing works fine for me.
>What you might want to do is test your keys. I'm assuming
>you're using the console version of MC.
>
Alt-letter works for you? I have tor press Alt-S first.
Manni
------------------------------
** 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.misc.
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
******************************