Linux-Setup Digest #745, Volume #20 Sat, 3 Mar 01 19:13:08 EST
Contents:
Re: Disabling Telnet (Travis Casey)
Re: Disabling Telnet (Hal Burgiss)
Re: Disabling Telnet ("Scott T")
Re: Mail Advice (John Beardmore)
Reviving the sound system (Victor S. Miller)
Triple Booting? (=?iso-8859-1?Q?Zilla=A9?=)
Re: Floppy disk probs... pleas help me (Mike Perry)
Re: Do daemons corrupt system security? (Juergen Heinzl)
Re: how to make RAID card work in 2.4.2 after it worked in 2.2? ("Jeff Bracanovich")
Re: [Q] 2.4.2 Kernel error (Martin Petersen)
Re: 1024 cylinder limit (Mark Hahn)
Re: how to setup DDNS? ("Valeres")
Re: Windows and Screens problems (Noble Pepper)
Re: Something to chew on.. (Joern Smock)
Re: Something to chew on.. (Peter Saunders)
Re: 'Grub' won't leave me alone... (Rob Ristroph)
Re: Kernal panic ("Ron Nicholls")
xatitv not working (chris humphrey)
----------------------------------------------------------------------------
From: Travis Casey <[EMAIL PROTECTED]>
Subject: Re: Disabling Telnet
Crossposted-To: comp.os.linux.help,linux.redhat
Date: Sat, 03 Mar 2001 20:17:43 GMT
Mark Bennett wrote:
> I'm just learning how to set up a Linux server and would like to know how
> I
> can disable the telnet services? I run a RedHat 7.0 box, which comes with
> SSH already installed and operating. I would much rather run SSH than
> telnet. Can anyone tell me what I can do to shut telnet off, or at the
> very
> least block access to it from other computers on the Internet? Thanks,
If it's a standard setup, you just need to find the line in /etc/inetd.conf
that has "in.telnetd" in it, and comment it out. Then restart inetd.
(Which can be done by using "kill -1" on inetd's process -- no reboot
needed.)
--
ZZzz |\ _,,,---,,_ Travis S. Casey <[EMAIL PROTECTED]>
/,`.-'`' -. ;-;;,_ No one agrees with me. Not even me.
|,4- ) )-,_..;\ ( `'-'
'---''(_/--' `-'\_)
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: comp.os.linux.help,linux.redhat
Subject: Re: Disabling Telnet
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: 3 Mar 2001 15:22:40 -0500
On Sat, 3 Mar 2001 12:32:47 -0700, Mark Bennett <[EMAIL PROTECTED]> wrote:
>Hi,
>I'm just learning how to set up a Linux server and would like to know
>how I can disable the telnet services? I run a RedHat 7.0 box, which
>comes with SSH already installed and operating. I would much rather
>run SSH than telnet. Can anyone tell me what I can do to shut telnet
>off, or at the very least block access to it from other computers on
>the Internet? Thanks,
As root:
chkconfig telnet off
should do it.
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
------------------------------
From: "Scott T" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: Disabling Telnet
Date: Sat, 3 Mar 2001 20:30:56 -0000
"Mark Bennett" <[EMAIL PROTECTED]> wrote in message
news:rFbo6.2042$[EMAIL PROTECTED]...
> Hi,
> I'm just learning how to set up a Linux server and would like to know how
I
> can disable the telnet services? I run a RedHat 7.0 box, which comes with
> SSH already installed and operating. I would much rather run SSH than
> telnet. Can anyone tell me what I can do to shut telnet off, or at the
very
> least block access to it from other computers on the Internet? Thanks,
edit the file /etc/services, and put a # before the line that starts with
the word telnet. You can disable any other services you don't need in the
same way - ftp for instance. Then either send a SIGUSR2 to the xinetd
process, to disable the service(s) immediately, or you can leave it at that
and they'll be disabled the next time you reboot.
------------------------------
From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: Mail Advice
Date: Sat, 3 Mar 2001 20:25:09 +0000
In article <[EMAIL PROTECTED]>, Peter Nunn
<[EMAIL PROTECTED]> writes
>Hi there,
>
>I'm fairly new at this Linux stuff and am after some advice.
>
>I have a small network setup that uses my Linux box as the net gateway
>and file server and am considering making it a mail server as well.
>
>I have some (limited) experience with Exchange and would like to get
>the Linux box to do something similar.
>
>I have several 2K machines networked to it and will be reading the
>mail on those (atleast at the moment) so want the Linux box to get,
>store and pass on the mail.
>
>Everything is currently working fine with the 2K box's connecting
>directly to the ISP through the Linux box, so I guess I am looking for
>some comments as to whether you all think its worth doing or not.
>
>If it is worth the effort, can I setup sendmail, fetchmail and imap to
>do what I want to do??
I'd like to do the same thing, if only so that I can send email
internally.
But if you don't want to send email internally, what's wrong with what
you have at the moment ?
Cheers, J/.
--
John Beardmore
------------------------------
Subject: Reviving the sound system
From: [EMAIL PROTECTED] (Victor S. Miller)
Date: Sat, 03 Mar 2001 20:41:13 GMT
I'm running RH 7.0 on a Pentium MMX 116Mhz with 64MB memory. Quite
frequently sound stops working on my computer (i.e. I run applications
like plaympeg, xmms, realplay, etc., and they produce no sound, even
though they're not on mute, and the volume control is max, volume on
my speakers is turned up, the cables are in, etc.). If, as a last
resort, I reboot, the sound starts to work again. Is there a way
short of rebooting of reviving the system?
Victor Miller
------------------------------
From: =?iso-8859-1?Q?Zilla=A9?= <[EMAIL PROTECTED]>
Subject: Triple Booting?
Date: Sat, 03 Mar 2001 16:29:12 -0500
I just burnt the ISO of Redmond Linux (a Caldera offshoot), and am ready to give Linux
a
try. I already am dual-booting Win98 and Win2000 on my machine... Will
the install/boot program(s) recognize this, and set up a triple boot
machine? I believe R/L uses GRUB....
Some other possible sources of trouble:
* A7V motherboard w/ Promise ATA-100 controller
* Linux partition (just free space right now) after 1024 cylinder
* disk set up now: C:= Win 98, D:= Win 2000 swap file, E:= Win2000, F:=
Pioneer 16x DVD-ROM drive, G:= Samsung CD-RW drive .... However,
Partition Magic shows the drive mapped out as follows:
|--------------------------------------------------------------|
| | | | | 6 GB |
| 7.8 MB | D: 1 MB | E: 5 GB | C: 16.5 GB | Unallocated |
|unallocated | Swap | Win2000 | Win98 + | to be used |
| | | | most files | by Linux |
|--------------------------------------------------------------|
\ Logical Drives in /
\ Extended Part. /
Might there be any problems here??? All help greatly appreciated!!!
Mark
------------------------------
From: [EMAIL PROTECTED] (Mike Perry)
Subject: Re: Floppy disk probs... pleas help me
Date: Sat, 03 Mar 2001 21:39:55 -0000
On Sun, 25 Feb 2001 21:29:31 GMT, Elliott <[EMAIL PROTECTED]> wrote:
>I rebooted my computer the other day for a dumb reason, and, now I can't
>get the floppy drive to work.
>typing "mount /dev/fd0" yields: "mount: /dev/fd0 already mounted or
>/mnt/floppy busy"
>and, typing "mount /dev/fd0 /mnt/floppy -t ext2" yields:
>"floppy0: Unable to grab IRQ6 for the floppy driver
>mount: /dev/fd0 already mounted or /mnt/floppy busy"
>
>I'm a bit puzzled. I'm running kernel 2.2.12-20 (yeah, I know its old. I
>was going to upgrade it, but I couldn't check a boot disk to see if I
>could use a boot disk if I really messed up on the upgrade). typing df
>doesn't show /dev/fd0 mounted or anything mounted at /mnt/floppy
>and, unmounting /dev/fd0 yields "umount: /dev/fd0: not found"
>
>Any ideas? Thanks
>
It sounds like you ejected and shutdown the system with a floppy drive
mounted in the drive. Nothing to do but reinstall Linux, Im afraid :)
Just kidding there :) Try issuing the command "mount" and see what Linux
thinks you have mounted. If it reports /dev/fd0, try putting a floppy disk
in the drive and umounting /dev/fd0 by typing umount /dev/fd0 or /mnt/floppy
or whatever. At this point, I don't think it really matters what floppy you
put in.
--
Michael Perry
[EMAIL PROTECTED]
==================
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: alt.os.linux,alt.os.linux.suse
Subject: Re: Do daemons corrupt system security?
Date: Sat, 03 Mar 2001 21:44:05 GMT
In article <[EMAIL PROTECTED]>, Erik Leunissen wrote:
>L.S.
>
>I've got some software (which manages licenses for licensed software),
>which consist of two daemons. The documentation of this software
>repeatedly an strongly disencourages to run these daemons as user root
>because - in general - doing so, constitutes a system security risk.
>
>Encouraged by this warning, I've been checking all daemons that are
>launched automatically at system boot by my Linux installation (SuSE
>version 6.4). What do i find: THEY ALL RUN AS USER ROOT!
[-]
The often have to start as root as else it's not possible to bind()
to a privileged port. Often daemons then `drop' down to some other
uid or fork a child process which does that before doing any real
work.
[-]
>Shouldn't I take the licensing software seriously, or should I adjust
>the initialization scripts of all daemon processes that came with the
>SuSE installation, with respect to the users they are run as?
[-]
If it can be run and even started up as someone else, then do so. You
may even add a user account for which their is no shell and no login
possible etc. In general give people and applications the permissions
to do their work and nil beyond that.
Cheers,
Juergen
--
\ Real name : Juergen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: "Jeff Bracanovich" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: how to make RAID card work in 2.4.2 after it worked in 2.2?
Date: Sat, 03 Mar 2001 21:45:51 GMT
"Scott Gardner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Well, I got my linux books yesterday (Running Linux and RH 7.0
> Unleashed),
> and have been playing around. I've managed to upgrade the kernel from
> 2.2
> to 2.4.2, and it seemed to go pretty well. I have two questions, one
> relatively minor and one that's troubling me.
>
>
> Now the buggaboo. When I initially installed RH 7.0, I used the
> "expert
> text" function, and provided a device driver disk for my Promise
> FasTrak IDE
> RAID controller card, which was successfully recognized as /dev/sda
> under
> 2.2. When I compiled 2.4.2, I didn't see any option for providing a
> driver
Scott
If your feeling lucky, you can try the beta FasTrak module I found on the
Promise FTP site.
On the website's Driver dowload page the is a link at the bottom for support
of older product lines. That link take you to the ftp site. Follow the
folders down to the linux driver and there is a folder for the beta module.
A text file of instructions is also there.
I've got a similar problem to yours, except that it's an active fileserver.
I can't afford to try a beta module on it so I'll wait a bit more before I
move to a 2.4.x kernel.
Good luck
Jeff
------------------------------
From: Martin Petersen <[EMAIL PROTECTED]>
Subject: Re: [Q] 2.4.2 Kernel error
Reply-To: [EMAIL PROTECTED]
Date: Sat, 3 Mar 2001 22:50:38 +0100
TurboSnail wrote:
> Hello,
>
> 2.4.2 compiles fine and will boot the resultant bzImage but the USB
> mouse does not work. I've enabled all the mice drivers and recompiled- no
> luck. I've tried with with a generic Microsoft serial mouse. Anyone have a
> guess why?
>
>
>
Read the documentation with the kernel on input in the usb directory, this
should help you..
Regards
Martin Petersen
------------------------------
From: Mark Hahn <[EMAIL PROTECTED]>
Subject: Re: 1024 cylinder limit
Date: 3 Mar 2001 21:50:33 GMT
>> What is the 1024 cylinder limit?
Lilo uses the bios to load the blocks comprising the kernel.
1Kcyl is a bios limit.
> Does that mean anything under 8GB? If
no, it means <1Kcyl. size depends on the heads and sectors-per-track
in the geometry you're using.
>> not, how do you calculate what the 1024 cylinder limit is?
it's just part of the geometry; you don't calculate anything.
> The 1024 cylinder limit is a limitation inherent in the 80x86
> architecture, where the processor has to start in real-mode using
> the real-mode BIOS and all the limitations that entails. Ten
it has nothing to do with 80x86; it's just an old BIOS entry point
that wasn't built for then-unimaginably-large disks.
> became larger, a work-around was developed in which the HD
> controller would lie to the BIOS about the number of cylinders so
it's actually the disk lying about geometry.
> Bottom line: If you have a relatively modern machine that
> supports LBA just keep your bootable partitions below the first
> 8GB of the HD device.
simplest is to just put /boot in a small (5M is usually enough)
partition right at the head of the disk. it's only the kernel and map
that need to be under 1Kcyl.
------------------------------
From: "Valeres" <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: how to setup DDNS?
Date: Sat, 03 Mar 2001 22:16:49 GMT
DDNS is dynamic DNS. Its microsofts way of introducing a WINS type of name
resolution to a multiplatform environment. Dont quote me on this but I think
DDNS is only available on a Win2k Server box.
"THEHACKERS FEST" <[EMAIL PROTECTED] and [EMAIL PROTECTED]> wrote in message
news:97r4tt$pdv$[EMAIL PROTECTED]...
> What is DDNS ;) ?? do you mean DNS by any chance ;)
>
>
> "tin" <[EMAIL PROTECTED]> wrote in message
> news:3aa0098c$[EMAIL PROTECTED]...
> > may i know how to setup DDNS in my office bind server?
> > I using RH 7.0
> >
> > i want to update my win2k and win98 client IP
> >
> > i want to dynamic update from my home computer
> >
> > thx
> >
> >
> >
>
------------------------------
From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: Windows and Screens problems
Date: Sat, 3 Mar 2001 17:28:38 -0600
William B wrote:
> Hi I have this problem with my Red Hat 7 installation. When I open up
> various windows they are bigger than the screen. This is particularly true
> for Netscape. Everything is too big in Netscape and half the screen or
> half the information is to the right of the screen or to the right of the
> Netscape window. This is true inspite of the fact that the scroll bar is
> visible. I tried Xconfigurator but that didn't do it. This is true in both
> KDE and Gnome
>
> Thanks,
> William Claster
> [EMAIL PROTECTED]
>
>
>
Your display setting is at a higher resolution than your monitor settings.
I would assume you monitor settings are right since if your monitor doesn't
reject clock rates out of it's range you can fry it.
You can usually change display res with <ctrl><alt> +/- once you are
running.
To change it permanently you can change your /etc/XF86Config. Look for the
Subsection "Display" in the Section "Screen". Either set the Modes to the
max resolution of your monitor or at least put the one you want first in
the list. I only use one Mode setting so I know that works, but I believe
if there is more than one the first one is what is used at startup.
------------------------------
From: Joern Smock <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.os.linux.mandrake,alt.os.linux.slackware,comp.os.linux.security,comp.unix.bsd.freebsd.misc,comp.unix.bsd.openbsd.misc,linux.debian.publicity,linux.redhat.misc
Subject: Re: Something to chew on..
Date: 3 Mar 2001 22:38:48 GMT
A. van Werven <[EMAIL PROTECTED]> wrote:
>> 4:34pm up 82 days, 6:04, 1 user, load average: 0.00, 0.00, 0.00
> Not a hell of a lot is going on on that box...
maybe. maybe not. 'uptime' don't tell.
> Alphons
Joern
------------------------------
From: Peter Saunders <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.os.linux.mandrake,alt.os.linux.slackware,comp.os.linux.security,comp.unix.bsd.freebsd.misc,comp.unix.bsd.openbsd.misc,linux.debian.publicity,linux.redhat.misc
Subject: Re: Something to chew on..
Date: 03 Mar 2001 23:34:42 +0000
Joern Smock <[EMAIL PROTECTED]> writes:
> A. van Werven <[EMAIL PROTECTED]> wrote:
> >> 4:34pm up 82 days, 6:04, 1 user, load average: 0.00, 0.00, 0.00
>
> > Not a hell of a lot is going on on that box...
>
> maybe. maybe not. 'uptime' don't tell.
He was refering to the fact the load average: 0.00, 0.00, 0.00
which means at the time you did 'uptime' it wasn't doing anything, or
has in the last few mins.
--
Pete
"Money doesn't make you happy, but money
can buy gizmo's and gizmo's make you happy"
------------------------------
From: [EMAIL PROTECTED] (Rob Ristroph)
Subject: Re: 'Grub' won't leave me alone...
Reply-To: [EMAIL PROTECTED]
Date: Sat, 03 Mar 2001 23:24:43 GMT
I presume you are using some dos varient now that you don't have Linux
? In that case the command "fdisk /MBR" rewrites teh master boot
record.
Or, if you are using another version of Linux instead of Mandrake, it
might eb the case that you have to re-run the "lilo" command. Read
the man page on it and look at the file /etc/lilo.conf first.
In general, for whatever OS you are using, use it's provided tool for
re-installing the boot loader.
--Rob
>>>>> "mroczekt" == mroczekt <[EMAIL PROTECTED]> writes:
mroczekt>
mroczekt> I installed Mandrake 7.1 and played with it for awhile. The
mroczekt> fun is over. Did an fdisk and format on the drive to make
mroczekt> everything go away. Lo and behold - there's a 'grub' still
mroczekt> on my drive. How the hell do I get rid of this guy?
mroczekt>
mroczekt>
mroczekt> --
mroczekt> Posted via CNET Help.com
mroczekt> http://www.help.com/
------------------------------
From: "Ron Nicholls" <[EMAIL PROTECTED]>
Subject: Re: Kernal panic
Date: Sun, 4 Mar 2001 11:00:04 +1100
Your new partition has shuffled the partition numbers and
lilo is looking in the wrong partition for the kernel.
You will have to edit lilo.conf to point to the newly numbered partitoin,
( probably one up from the original, eg hda3 instead of hda2).
Suggest you try your boot disk to gain access, when the lilo prompt
appears type "linux single root=/dev/hda3" or whatever number you think it
is. try them in sequence.
When you get in change lilo.conf to reflect the new partition, and don't
forget
to actually run lilo (eg "lilo" ) to read the conf file and implement the
changes.
--
-
-
Regards
RonN
enness <[EMAIL PROTECTED]> wrote in message
news:8E9o6.10632$[EMAIL PROTECTED]...
> I am using LM7.2. I had some free space between my Win95 and linux
> partition. I used "cfdisk" and created a small (20Mb) Logical partition at
> the end of free space. When I rebooted afterwards, Linux wont boot up and
> hangs with a message "Kernal panic: VFS: unable to mount root fs on
03:05".
> Nothing more can be done. The book I refer just mentions that it is a kind
> of emergency landing (??!!), but no more info about how to correct.
>
> I have no data at all so nothing to worry, I am only in trial & error
> learning stage.
>
> Any help is appreciated.
> Thanks
> Sri
>
>
------------------------------
From: chris humphrey <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.hardware,alt.os.linux.mandrake
Subject: xatitv not working
Date: Sat, 03 Mar 2001 16:58:18 -0700
I am trying to get my ATI TV tuner to work in linux, not having much
luck.
I built a new kernel (2.2.17-21) made sure the linux video was on (as a
module).
installed the kernel (I know I installed the right one because it no
longer needs the scsi module, I compiled it into the kernel).
But I get the same message I got before. Which is:
# xatitv
Shared memory segment exists - opening as client
Stale lock on WRITE_BUFFER
Stale lock on OVERLAY
Stale lock on TUNER
GATOS: No ATI PCI/AGP Cards ?
GATOS: gatos_inita(): Invalid argument
xatitv: gatos_init(): Invalid argument
can anyone help me?
my installation is Mandrake 7.2.
Also, whenever I try to run gatos-conf I get a core dump, I did change
the settings in the /etc/gatos.conf file.
not sure where to go now! please help if you can.
-chris
------------------------------
** 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
******************************