Linux-Setup Digest #643, Volume #20 Fri, 16 Feb 01 08:13:09 EST
Contents:
Re: Why can't I telnet to my machine (Michael Heiming)
Re: lilo question ("Eric")
Re: Linux, SHMMAX and Oracle (Nuno Souto)
Re: Boot record fun! (Howard C Johnson)
Problem with "default" file permission (Johannes Bauer)
Re: Boot record fun! ("Sean Gray")
Re: Problem with "default" file permission (Michael Heiming)
Re: Installing Linux onto a second hard drive ("Eric")
Re: Help ("Charles C. Lance")
Re: 3COM 3c509b installation? (benoit mordelet)
Re: To Eric: Thanks for all the help so far, here are the infos U asked me to give
you so you could help me some more...: ("Eric")
ethernet card config ("jim")
Re: defrag new install (moonie;))
Re: redhat7, 3dimage9750 video problem (Walt FLes)
Re: New Mandrake 7.2 cannot be telneted to (moonie;))
Re: Terminal Problem ("Cameron Kerr")
Re: pseudocolor (Hajoma)
Re: PS/2 mouse config under Debian 2.2 ("Cameron Kerr")
Re: help with kernel make ... newer documentation ??? ("Cameron Kerr")
----------------------------------------------------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Why can't I telnet to my machine
Date: Fri, 16 Feb 2001 12:12:43 +0100
"Sandeep M. Yelwatkar" wrote:
> I am not able to telnet my machine which run linux redhat 6.2. I went
> through one of the mails in the newsgroup and found that I need to have
> telnet server running on my machine.
> Now that I have installed telnet-server. On executing
>
> $rpm -qa | grep telnet
> telnet-0.16-6
> telnet-server-0.16-6
>
> $rpm -ql telnet-server
> /usr/man/man5/issue.net.5.gz
> /usr/man/man8/in.telnetd.8.gz
> /usr/man/man8/telnetd.8.gz
> /usr/sbin/in.telnetd
>
> $find / -iname in.telnetd -print
> /usr/sbin/in.telnetd
>
> Can someone tell me what I am missing
> Thanks in advance for any help
>
> Sandeep.
Hello,
trying to login as root?
Disabled for security reasons per default, anyway you should not use
telnet!
It's unsecure as hell and you should have ssh/scp on your machine, if not,
install it.
Of course you can tell me now:
Hey dude this box is only 2 m away from me,
but if it's somehow networked/internet connected that doesn't matter,
it's just a few msec away from anyone in the world. Even if your network
is secured highly,
I wouldn't use it, you never know if there is someone, doing something
nasty on your own network.
Just don't use telnet.
Good luck
Michael Heiming
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: lilo question
Date: Fri, 16 Feb 2001 12:18:02 +0100
> I'm trying to install RedHat 7.0 on to a Dell laptop. I get an "Waring:
> device 0x1603 exceeds 1024 cylinder limit"
Which device???
0x1603 doesn't even exist on my system.
Are you sure it didn't say 0x0316 instead.
> error after RedHat installs.
And? does it fail to boot?
> I found on the net that I need to add lba32 to the options area of
> lilo.conf and lilo -v.
>
> I boot the RedHat CD in rescue mode, mount and edit lilo.conf. When I
> run lilo -v, it starts but gives a "Device /dev/hda not found" error
> (which strange, since I just mount some partitions off of /dev/hda).
Did you really?
Well if it really is looking for device major=16 I'm not surprised anyway.
Are the major numbers of hda correct (ls -l /dev/hda*)
Is lilo.conf correct?
Have you booted in rescue mode and supplied the "root=/dev/hdaXXX" option?
Or did you only supply "linux rescue" to the LILO prompt?
Eric
------------------------------
From: [EMAIL PROTECTED] (Nuno Souto)
Crossposted-To: comp.databases.oracle.server
Subject: Re: Linux, SHMMAX and Oracle
Date: Fri, 16 Feb 2001 11:32:52 GMT
On Fri, 16 Feb 2001 10:27:02 +0000, Bill Buchan
<[EMAIL PROTECTED]> wrote:
>Currently my value is set at 32Mb (0x2000000), and real memory is 1Gb so
>it would seem that I should increase it.
Yes. But not in a hurry.
>
>However the comments in the file /usr/src/linux/include/asm/shmparam.h
>recomment _not_ changing it, as people rely on it.
Weird. Im not aware of any requirement anywhere for a default SHMMAX?
Other than h/w or OS limitations.
>
>Also, I've never recompiled a kernel before (and it frightens me!) so
>I'd rather just put Oracle on and come back and do this later if
>required.
Which you can do. Get heaps of info on the "recompile the kernel
bit", then do it once you are confident.
>
>My question then is, what is the effect of not upping this parameter and
>recompiling?
If you're running on segmented memory architecture (Intel + most of
the RISC chips), you slow down a bit if your SGA is across multiple
segments. Basically, SHMMAX defines the biggest segment of shared
memory that will be allocated. The size of the SGA is divided by this
and that defines the number of allocations needed to create the SGA.
Addressing across segments in this h/w architecture is expensive.
That's all.
>Will I be limiting the maximum size of SGA I can define?
In theory yes. In practice, no. The OS will allocate as many
"chunks" of SHMMAX size up to the number in SHMSEG. Which will be a
larger number than you need.
>People have told me not to worry about it, but I worry about why I
>shouldn't worry about it...
That's a worry.
<G>
Cheers
Nuno Souto
[EMAIL PROTECTED]
http://www.users.bigpond.net.au/the_Den/index.html
------------------------------
From: Howard C Johnson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To:
linux.help,comp.os.linux,comp.os.linux.help,comp.os.linux.questions,alt.os.linux,alt.linux
Subject: Re: Boot record fun!
Date: Fri, 16 Feb 2001 11:33:20 GMT
Hello:
fdisk \mbr
will restore the original dos boot. It BLOWS away the LILO hook.
To get LILO back, use a BACKUP floppy to boot linux, then type lilo.
Lilo will boot what it is told. If / is on the secondary master ( hdbX) it
should
have no problem finding it and booting.
Mr Fu wrote:
> First - is there any way to restore the dos or NT MBR without having
> made a backup, or having either of these OS's installed and bootable?
> Second - Is there any way of getting linux to boot off the secondary
> IDE master?
> Third - no actual third, but any help is gratefully received. Cheers!
--
Howard Johnson
[EMAIL PROTECTED]
------------------------------
From: Johannes Bauer <[EMAIL PROTECTED]>
Subject: Problem with "default" file permission
Date: Fri, 16 Feb 2001 12:43:47 +0100
Hello,
does anybody know how I can change the default file permissions for a
certain user? They usually are 600 (rw_______), but I want them to be
660 (rw_rw____).
Thanks for your help
Joe
------------------------------
Reply-To: "Sean Gray" <[EMAIL PROTECTED]>
From: "Sean Gray" <[EMAIL PROTECTED]>
Crossposted-To:
linux.help,comp.os.linux,comp.os.linux.help,comp.os.linux.questions,alt.os.linux,alt.linux
Subject: Re: Boot record fun!
Date: Fri, 16 Feb 2001 11:48:59 GMT
"Mr Fu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> First - is there any way to restore the dos or NT MBR without having
> made a backup, or having either of these OS's installed and bootable?
> Second - Is there any way of getting linux to boot off the secondary
> IDE master?
> Third - no actual third, but any help is gratefully received. Cheers!
NT writes a second MBR somewhere on the drive during installation, where
exactly I am not sure but I believe it is at the end of the drive.
You can do a little black magic to get your linux to boot from hdb. Try
switching drive assignments in the bios and then you will need to voodoo
windows by adding the following to the windows boot section in
/etc/lilo.conf
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
This will make windows see no changes to drive assignments. Hope this
helps...
Sean
--
Sean Gray
Network Engineer
Linuxgruven.com, Inc
------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Problem with "default" file permission
Date: Fri, 16 Feb 2001 12:55:08 +0100
Johannes Bauer wrote:
> Hello,
>
> does anybody know how I can change the default file permissions for a
> certain user? They usually are 600 (rw_______), but I want them to be
> 660 (rw_rw____).
>
> Thanks for your help
>
> Joe
yes, setting
umask 022
should solve your problem.
Michael Heiming
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Installing Linux onto a second hard drive
Date: Fri, 16 Feb 2001 13:05:00 +0100
> This is probably a really stupid question, but for the life of me, I
> cannot seem to find any instructions anywhere about installing Linux
> on a second hard drive. Everything I read about installing Linux with
> Win (I have WinME if that makes any difference) talks about
> repartitioning the drive so both can co-exist peacefully. Good for
> some people, but I have a second hard drive that I really do not use
> and could afford to install Linux on (lest I totally screw up WinME on
> the main c:\ drive - I'd like to keep them seperate). I've read that
> it *can* be installed on a second drive, but I can find no
> instructions on how to re-format the drive to accept Linux alone,
> etc., etc... if it is any help, the distribution I have is RedHat
> 6.2. This probably sounds truly stupid (hey, what can I say, I've
> always admitted I am) but I honestly cannot find any documentation
> about how to do this. Can anyone help?
> .
Just delete all the partitions on the second drive, and continue with the
install.
There's no difficullty installing linux on a second HDD.
Preferably you would have it connected as hdb
(ie. slave on the first IDE controller)
Eric
------------------------------
From: "Charles C. Lance" <[EMAIL PROTECTED]>
Crossposted-To:
swbell.adsl,ahn.tech.linux,alt.os.linux.mandrake,alt.uu.comp.os.linux.questions
Subject: Re: Help
Date: Fri, 16 Feb 2001 04:18:00 -0800
Reply-To: [EMAIL PROTECTED]
This is a multi-part message in MIME format.
==============F93C788DA43FB49231496815
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Most DSL subscribers more than 6 months old or anyhting other than a basic DSL
paskage should a static ip.
Miles Langham wrote:
> Possibly he meant P.P.P.o.E.??? Which is the protocol we HAVE to use since
> we have dynamic IP on swbell.
> "Craig Kelley" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Draco Ravenloft <[EMAIL PROTECTED]> writes:
> >
> > > I have a DSL service (for the slow people who can't tell by the reply to
> > > addy it's from swbell) and while I can get it to connect and run just
> > > fine under winderz I having difficulty setting it up under linux.
> > >
> > > Ok, first the complaint side. They tell me they support linux, and sent
> > > me to a website to get some ppoe software and then call
> > > back............ I did........ now they say they don't support linux.
> > > Loving this yet?
> > >
> > > Ok, I get the software, install it (I use Mandrake 7 and it was an
> > > rpm... like those are tough). Set it up, and I can only manage to get
> > > "TIMED OUT" and no connection.
> > >
> > > I verified the DNS IPs, I have my username correct, I have my password
> > > correct, I have the newest PPPd, I have kernel 2.2.14 ... so sys reqs
> > > aren't a problem. I've done as the HOW-TOs for the software and made
> > > sure that the ethernet card in question didn't activate at boot time and
> > > had no IP. I've done this both under manual and DHCP for config method.
> > >
> > > Still time out. I've tweaked and retweaked and untweaked everything ai
> > > can think of and still nadda. What gives?
> > >
> > > Any suggestions as to what I'm doing wrong... appreciated. Direct help
> > > on how to make this work.. better.
> >
> > First of all, you usally don't use PPP to connect with a DSL modem (at
> > least the ones I've used). You simply have an ethernet card which is
> > either connected to the modem via a cross-over cable or a hub of some
> > sort. The problem is getting your ethernet card to:
> >
> > o have the correct settings
> >
> > and
> >
> > o become the default route for IP traffic
> >
> > Just go into Windows, write down *all* the tcp/ip properties for your
> > ethernet card. Go back into Linux and duplicate all the settings
> > there.
> >
> > Now, I'm having a major case of deja-vu, so if you have a DSL modem
> > which somehow uses PPP then disregard all my advice. :)
> >
> > --
> > The wheel is turning but the hamster is dead.
> > Craig Kelley -- [EMAIL PROTECTED]
> > http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
> >
==============F93C788DA43FB49231496815
Content-Type: text/x-vcard; charset=us-ascii;
name="clance.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Charles C. Lance
Content-Disposition: attachment;
filename="clance.vcf"
begin:vcard
n:Lance;Charles
tel;work:707-265-6120
x-mozilla-html:FALSE
org:Cadence Design Systems Inc;Napa Operations Center
version:2.1
email;internet:[EMAIL PROTECTED]
title:IT Help Desk Annalist
adr;quoted-printable:;;650 Airpark Rd.=0D=0ASuite B
;Napa;California;94558;U.S.A.
x-mozilla-cpt:;0
fn:Charles Lance
end:vcard
==============F93C788DA43FB49231496815==
------------------------------
From: benoit mordelet <[EMAIL PROTECTED]>
Subject: Re: 3COM 3c509b installation?
Date: Fri, 16 Feb 2001 13:08:17 +0100
Randy Schroeder wrote:
>
> Hello
> I am very new to Linux and am trying to get my 3COM 3c509b ISA working
> on RedHat 6.2 server.
> I uses the DOs utility "pnpdsable" to kill the PnP function on the
> card.
> I added the following lines to the conf.modules file
>
> alias eth0 3c509
> options 3c509 io=0x3e0 irq=11
>
> Still no detection.
> Loopback works but eth0 will not initialize. On boot it says wrong IO
> but I can't figure out what IO to use.
>
> HELP!!!!!
I suppose the dos tool you're talking about is 3c5x9cfg.exe . then this
tool should show you the irq and base port curently being used. also
make sure that you have compiled 3c509 support with your kernel.
>
> Randy Schroeder
>
> Email: [EMAIL PROTECTED]
ben
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: To Eric: Thanks for all the help so far, here are the infos U asked me
to give you so you could help me some more...:
Date: Fri, 16 Feb 2001 13:23:13 +0100
And I complain about multiposting........
Damn Windows.
Eric
------------------------------
From: "jim" <[EMAIL PROTECTED]>
Subject: ethernet card config
Date: Fri, 16 Feb 2001 12:45:59 -0000
Hi there,
A networking/ethernet card config problem:
I have installed Mandrake on a machine which has what Windows called a
"3Com Etherlink 10/100 PCI for Complete Pc Management NIC (3C905C-TX)."
However, on startup Linux identifies it as "3Com 3c905C Tornado" and gives
the error "***INVALID CHECKSUM 002f***".
It identifies the card as being at 0xd800 with IRQ 10, which is what Windows
thought too.
The driver installed is 3c59x.c and the card is installed (term?) as eth0.
When I try to use dhcpc to configure networking, it times out. I take it
this is due to the ethernet card not working - is this correct?
If so, what do I need to do to get it working? Bear in mind that I don't
know anything about Linux - for example, which files control the
configuration of the card.
If this is too involved for a specific answer, where can I find a general
troubleshooting guide for this kind of thing?
Thanks.
------------------------------
From: moonie;) <[EMAIL PROTECTED]>
Subject: Re: defrag new install
Date: Fri, 16 Feb 2001 07:46:06 -0500
On Thu, 15 Feb 2001, PCHservices wrote:
>If i am installing a brand new copy of winME and a brand new copy of
>linux on a brand new haed drive, after I do the install of windows, do I
>need to defrag the drive if I haven't even used windows yet. I have done
>many installs of linux on old win boxes but never had this scenerio
>before. Thanks in advance...peter
Not if you create 2 partitions during the install of winME. If you let ME take
the whole drive then split it, I would run defrag before splitting the drive.
--
moonie ;)
Registered Linux User #175104
(Registered at: http://counter.li.org)
KDE2
Kernel 2.4.0-test5
XFree86 4.0 Nvidia .94 drivers
RAID 0 Striped
Test-Pilots-R-Us ;)
ICQ #83003404
AIM mooniesdl3
MSN [EMAIL PROTECTED]
------------------------------
From: Walt FLes <[EMAIL PROTECTED]>
Subject: Re: redhat7, 3dimage9750 video problem
Date: Fri, 16 Feb 2001 06:40:52 -0600
Richard,
that video card does not work with RH 7. I had the same problem.
So, I replaced it with an 8MB ATI rage pro, and it worked fine.
Sad to tell you, but you will need a new card to use RH7
Walt Fles
flesatlucentdotcom
"R. Giuly" wrote:
>
> With RedHat 6.1's X server, my 3D image 9750 agp trident card is
> detected and works fine. When I try to install redhat 7, the X server it
> uses has a driver that doesn't quite work. It actually leaves sections
> of the screen not updated, i.e. you can move a window and only the outer
> frame moves. Most of the text that should be in a window is written
> right onto the desktop. You would have to see it to believe it. It's not
> a sync problem, because the picture is locked in fine, the graphics
> being drawn are just messed up. Does anyone know what the problem could
> be?
>
> --
> Richard Giuly
>
> (remove animal from email address)
------------------------------
From: moonie;) <[EMAIL PROTECTED]>
Subject: Re: New Mandrake 7.2 cannot be telneted to
Date: Fri, 16 Feb 2001 07:50:01 -0500
On Thu, 15 Feb 2001, Hong Xie wrote:
>Hi,
>
>I have recently installed Mandrake 7.2 on my 386 machine. It turned out
>that I cannot telnet to the machine from other machines. I can telnet
>from this machine to other machines but not the other way.
>
>Initially I choosed the installation option recommended/workstation
>option. I suspected that the workstation option didn't install inet
>superserver.
>(I did try to turn the inet service, but still cann't get the telnet
>to work).
>
>So I reinstall the os with customised/development option, hoping that
>this
>option would install everything. I then turn on inet service and reboot
>the
>machine. This time it still doesn't work - I can telnet to other
>machines
>from this machine, but I can do the other way.
>
>Does anyone know what was the problem and how to rectify it.
>
>Many thanks,
>
>Hong
For some reason 7.2 doesn't install the telnet-server, install it from the CD
and all should be fine.
--
moonie ;)
Registered Linux User #175104
(Registered at: http://counter.li.org)
KDE2
Kernel 2.4.0-test5
XFree86 4.0 Nvidia .94 drivers
RAID 0 Striped
Test-Pilots-R-Us ;)
ICQ #83003404
AIM mooniesdl3
MSN [EMAIL PROTECTED]
------------------------------
From: "Cameron Kerr" <[EMAIL PROTECTED]>
Subject: Re: Terminal Problem
Date: Sat, 17 Feb 2001 01:54:59 +1300
In article <96g1kv$79r$[EMAIL PROTECTED]>, "Allan Van Zyl"
<[EMAIL PROTECTED]> wrote:
> After Adding append="mem=256M" to my lilo.conf I am getting errors if I
> run
>
> Joe Error: Sorry, your terminal can't do absolute cursor positioning.
>
> Pine Error: Your terminal, of type "dumb", is lacking functions needed
> to run pine.
>
> Allan.
What kind of terminal are you using? This seems more like an ncurses
problem. Just to be sure, try these
1)set the TERM environment variable to something respectible, like vt100
2)start up a ncurses program, such as joe or pine, or vim, or whatever.
3)Try the same from the console of the computer.
4)Still no luck, report back to us.
HIH -- Cameron Kerr
------------------------------
From: [EMAIL PROTECTED] (Hajoma)
Subject: Re: pseudocolor
Date: 16 Feb 2001 12:52:35 GMT
On Thu, 15 Feb 2001 15:01:05 -0800, Duane Healing <[EMAIL PROTECTED]> wrote:
> Pseudocolor is an X visual class. Practically this means having to run
> 8bpp. In your /etc/X11/XF86Config (or wherever Red Hat hides that file)
> you'll probably have a line that reads DefaultColorDepth <some number>
> change that to DefaultColorDepth 8.
Or you could start the X server thus (if not using xdm) to avoid changing your
config:
startx -- -bpp 8
--
Harry Mason
=====BEGIN GEEK CODE BLOCK=====
Version: 3.12
GCS d- s+:++(+)>+: a--- C+++@ UL+++>++++ P+++>++++ L+++>++++ E--- W+(-)
N++ o+ K++ w--@ O? M? V? PS+ PE- Y+ PGP- t+ 5? X- R+>++ !tv b+++
DI+ D+>++++$ G+++ e(*)>++++ h>++ !r y
======END GEEK CODE BLOCK======
------------------------------
From: "Cameron Kerr" <[EMAIL PROTECTED]>
Subject: Re: PS/2 mouse config under Debian 2.2
Date: Sat, 17 Feb 2001 01:59:20 +1300
In article <96g08n$p0i$[EMAIL PROTECTED]>, "James Smagala"
<[EMAIL PROTECTED]> wrote:
> Hey
>
> I am trying to get a PS/2 mouse to work under X on a Debian 2.2 system.
> The config program for the X server has an option to support PS/2
> mouses. I do have some movement of the mouse, though it is sporadic and
> only left/right.
If you get no movement, then its probably the wrong device.
If you get sporadic movement, then its probably the wrong protocol.
> The only other obvious variable is what device I specify as the mouse
> input. Currently its just /dev/mouse. What other devices might be a
> mouse interface? Any other suggestions as to ways to get it working?
/dev/mouse is a symbolic link to the real mouse device, such as
/dev/psaux or /dev/ttyS0, or /dev/usb/somthing
>
> Thanks - J
Your Welcome -- Cameron Kerr
------------------------------
From: "Cameron Kerr" <[EMAIL PROTECTED]>
Subject: Re: help with kernel make ... newer documentation ???
Date: Sat, 17 Feb 2001 02:02:50 +1300
In article <7ZJi6.478$[EMAIL PROTECTED]>, "colossal crab"
<[EMAIL PROTECTED]> wrote:
> Hello, I have compiled a new kernel on redhat 7 and received the same
> results I have in the past ... a kernel that wont boot. I compiled the
> 2.4.0 kernel source procured from kernel.org on a BP6 mobo
> (dual processor) 96 megs ram.
> I read and followed the steps in the README file. I did this:
> 1. make mrproper / make menuconfig / make dep / make bzImage / make
> modules
> / make modules_install
> 2. copied the image from ../linux/arch/i386/boot/bzImage to
> /boot/erns-bzImage
You are aware that "make install" runs lilo, aren't you? So what are you
doing the steps 2 and 3?
> 3. edited /etc/lilo.conf ... yanked 4 lines and modified them ... ran
> lilo
> ... it added the image w/ no complaints ...
> 4. rebooted and selected that image ... It uncompresses the kernel image
> then ............... just hangs.
Also, I think for Redhat, you need to run initrd with some arguments.
> Would someone be so kind as to point out mistakes or point me in the
> direction of some good documentation?
>
> Thanks in advance, Ernest [EMAIL PROTECTED]
HIH -- Cameron Kerr
------------------------------
** 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
******************************