Linux-Setup Digest #168, Volume #20 Tue, 5 Dec 00 22:13:10 EST
Contents:
Dial-up problems ("Grim Reaper")
another newbie, trouble getting started ("Mark")
Re: why can't one boot from /dev/hdb? ("Dan Jacobson")
Re: ipchains (Black Dragon)
help....setup of xinetd.d for talk command ([EMAIL PROTECTED])
Req help-----Caldera desktop2.4 freezes after a while ? Tried 3x reinstsalls.
(Holdfaster)
Re: talkd & MDK7.2 (Moe Koenig)
Christmas Virus Warning (Nigel)
Re: unstalling - unistalling packages ("Peter T. Breuer")
I'm screwed!!! Gnome menu fonts GONE! (Adam J Boyle)
Re: Init.d stops after a given number of started services (Bill Unruh)
Re: Multiple kernels on Separate partitions (Moonshiner)
Re: disabling ftp/rlogin/telnet to use SSH (Bill Unruh)
Re: Cannot mount all Linux partitions (Moonshiner)
Re: Kernel won't mount raid0 (solved) (Stephan A Suerken)
Re: How to fix bad sectors on HD? (Jc)
----------------------------------------------------------------------------
From: "Grim Reaper" <[EMAIL PROTECTED]>
Subject: Dial-up problems
Date: Tue, 5 Dec 2000 23:17:42 -0000
I am having some problems with my ppp setup, I am using zipslack. I have
entered all the information (found out from my ISP) but when I give the
ppp-go command it says 'Connect script failed'.
I would be very gratefull to anyone who can tell me what could cause this
error.
Thanks
Peter Roberts
------------------------------
From: "Mark" <[EMAIL PROTECTED]>
Subject: another newbie, trouble getting started
Date: Tue, 5 Dec 2000 15:29:05 -0800
I downloaded the two RH7.0 iso images off of a redhat mirror. I burned the
first one to CD using EasyCD creator 4.0... i was under the impression that
it was a bootable. That .iso file is the only thing on the cd, however no
system will boot off the CD. If I put my Win2K Pro CD in, those systems
boot fine off the CD.
What did I miss?
------------------------------
From: "Dan Jacobson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,gnu.utils.help
Subject: Re: why can't one boot from /dev/hdb?
Date: Wed, 6 Dec 2000 07:34:06 +0800
"Eric" <[EMAIL PROTECTED]> ????? news:[EMAIL PROTECTED]...
> > Why can't one boot from /dev/hdb? [grub, or lilo]
> > My bios (01/22/98 Award Modular BIOS v4.51PG SiS-5598-<SP97_V>C-00)
> > gives my choices of boot drives "A: C: D: E: F:, cdrom, zip" etc. (meaning
fd0,
> > hda, hdb...)
>
> You can very well.
>
> Damnit Dan, you keep on posting, but I hardly ever see a reply from you
> telling us if it failed or worked.
err, sorry, I just thought I might reduce the noise pollution. Thanks for
caring.
Mainly my discovories are [which might be hints for newbie helping docs]:
A boot disk has two types:
one that just contains the MBR
one that has more --- a rescue disk
one that has even more: a linux complete on a floppy... ok 3rd type.
also I never expected it to be true that one could just
edit menu.lst and not even run a command and it would affect things---true
in some cases. This is diffrerent than lilo it seems. one still needs to run
lilo.
All these newbie things aren't really mentioned often.
A question I have is "installing lilo/grub on windows hda or hda1"
there are apparantly seveal degrees to such an installation.
one would be just writing to the MBR of hda.
another degree would entail more space on hda or hda1, but is there
such space waiting or will a windows thingy get ruined in the process.
I'm thinking the best thing would be if the boot process would not invold both
hda hdb abd floppy. i.e., revove the windows disk and still can boot linux,
remove linux disk and still boot windows----all with the minimal amount of
reconfiguration.
> (Appearantly it failed, but maybe you didn't try?)
>
> You have a different problem, and I mentioned this before.
> YOU HAVE A GEOMETRY PROBLEM!
>
> boot from this floppy, and enter "linux hdb=C,H,S", where CHS are the
> values used by the BIOS!
> Now make the lilo.conf file on hdb look like this:
erm, I still am analyzing the problem, I can boot from floppy now.
though I had to take out the 81-80-80-81 crossmap stuff to get into windows...
this is a clue to me as I mentioned in a more recient missive. ok thanks.
> > boot=/dev/hda
> > map=/boot/map
> > install=/boot/boot.b
> > vga=normal
> > default=linux
> > keytable=/boot/us.klt
> > prompt
> > timeout=50
> > message=/boot/message
> >
> > image=/boot/vmlinuz
> > label=linux
> > root=/dev/hdb1
> > initrd=/boot/initrd.img
> > append=" hdc=ide-scsi"
> > read-only
> >
> > other=/dev/hda1
> > label=windows
> > table=/dev/hda
>
> rerun /sbin/lilo and reboot.
> Now set your BIOS to boot from the first HDD
>
> Eric
indeed, i'm sure if I finally give in and overwrite MBR of hda, all will be
simple...
I just thought I could get away with overwriting MBR of hdb for the same
effect..
--
www.geocities.com/jidanni E-mail: restore ".com." ???
Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
------------------------------
From: [EMAIL PROTECTED] (Black Dragon)
Subject: Re: ipchains
Date: Tue, 05 Dec 2000 23:32:25 GMT
On Sun, 3 Dec 2000 19:36:09 +0000 in comp.os.linux.setup,
<[EMAIL PROTECTED]> `Robert Spangler' said:
: I looking to use ipchains to secure my system. Because ipchains can be
: confusing, I'm wondering if there is a script out there to help with the
: setup of ipchains?
Good primer & strong firewall scripts can be found here:
http://www.ecst.csuchico.edu/~dranch/LINUX/TrinityOS/cHTML/TrinityOS-101500c-10
.html
( url/link is broken due to line wrapping )
When done reading about tcp/ip and fire-walls, back up and read the whole
TrinityOS site. Lots of *excellent* information there.
--
Black Dragon
Sign The Linux Driver Petition:
http://www.libralinux.com/petition.english.html
------------------------------
From: [EMAIL PROTECTED]
Subject: help....setup of xinetd.d for talk command
Date: Tue, 05 Dec 2000 23:43:10 GMT
Hello,
I am trying to run the talk command but I get the message that
the connection is refused. I changed the disable = yes to no for the
talk file in the /etc/xinet.d/talk but still get the error. Am I
missing some other config file? I could not find any usefull
documention on the configuration of this. Any help would be much
appreciated. Thanks in advance.
John
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Holdfaster <[EMAIL PROTECTED]>
Subject: Req help-----Caldera desktop2.4 freezes after a while ? Tried 3x reinstsalls.
Date: Wed, 06 Dec 2000 00:12:16 GMT
------------------------------
From: [EMAIL PROTECTED] (Moe Koenig)
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.misc
Subject: Re: talkd & MDK7.2
Date: Wed, 06 Dec 2000 00:27:07 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 05 Dec 2000 23:32:08 +0100, Maik Schwandt
<[EMAIL PROTECTED]> wrote:
>H!
>I want to have a talk daemon running on my MDK7.2 system. Therefore i
>[...]
>the file /etc/xinetd.d looks like this:
>
>service talk
>{
> socket_type = dgram
> protocol = tcp
> wait = yes
> user = root
> server = /usr/sbin/in.talkd
> disable = no
>}
>
>but whenever i try to "talk" to somebody my talk client shows the
>following error message:
>error on read from talk daemon : verbindungsaufbau abgelehnt (111)
hello,
talk is a rpc service and therefor needs the rpc-portmapper running.
you dont really want this stuff on your box tho since the whole
rpc-crap is wellknown for a long, dark history of bugs, slips and
remotely exploitable security holes.
the portmapper also is required for the unfamous
ugly-but-still-hardly-avoidable nfs service.
so if you export nfs-shares you may as well run talkd, just be sure to
read up on and _understand_ the potential security problems nfs/rpc
usually introduce.
i would recommend to rather set up an ircd or instant messenger
service if you need external<->internal live communication, the
talk/rpc stuff is broken by design and should - imo - be avoided
whenever possible.
i will very soon release a console/ncurses-based multiuser splitscreen
chat utility (very similar to talk) on freshmeat. i wrote it up
because i wanted to offer the users on the boxes i admin a simple,
secure way to communicate w/ each other.
the daemon as well as the client both run w/o root-privilegs and
should be rather bulletproof against any kind of attack.
keep an eye on freshmeat.net for "partyline" or if you cant wait drop
me a line and i'll send you a beta-tarball.. :)
the whole thing is almost done, just still got to make it customizable
(config-file), write some documentation and finish off/tidy up the
code...
regards, m.k.
--
PGP fingerprint: 78F1 B792 07F2 4070 D40D F147 43E5 2717 B98A CD1C
Please sign the LDP at: http://www.libranet.com/petition.html
------------------------------
From: Nigel <[EMAIL PROTECTED]>
Subject: Christmas Virus Warning
Date: Wed, 06 Dec 2000 00:15:41 GMT
Our IT dept. have received a Virus warning this morning.The virus
appears as a file attachment called Navidad which is part of an
e-christmas card.
If you receive such an e-mail please do not
open it!
--
Worker
Disk Drive Computer Books
http://disk.vstorecomputers.com
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: unstalling - unistalling packages
Date: Wed, 6 Dec 2000 01:22:17 +0100
Peter Tselios <[EMAIL PROTECTED]> wrote:
> a) How can I unistall a tar.gz package? For example, I have istalled
> apach 1.3.9 + mod_ssl and I want to upgrade it. The obvious solution is to
> install the new package in the same directory as the old one. But, I want to
> make a "clean" installation.
Well, remove the files you installed. Get the list from the tar.gz (I
don't know of anyoe that distributes binaries that way. DOn't you mean
.tgz?).
Peter
------------------------------
From: Adam J Boyle <[EMAIL PROTECTED]>
Subject: I'm screwed!!! Gnome menu fonts GONE!
Date: Tue, 05 Dec 2000 18:08:37 -0700
hi all,
I desperately need some help. This morning when I booted X the gnome
main menu was very skinny and only showed the icons but no fonts! Same
thing with the menus when I right-click on the desktop, etc. Also, with
the Control Center I am missing many fonts in that dialog as well. I've
restarted, reinstalled helix-gnome, rebooted, etc. but to no avail.
But note that all of my fonts in Netscape (I'm writing this from the
same machine right now) and the gnome-terminal windows show up fine
(except for the menu at the top of the gnome-terminal window).
I am running the following:
RH 6.2
Helix Gnome (yes, I reinstalled the whole thing again today after I had
this problem, but it didn't help!)
256 MB memory
PIII 733
Has anyone seen or heard of this before? I have exhausted almost every
possible option, but nothing seems to help.
Thanks in advance.
ajboyle
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Init.d stops after a given number of started services
Date: 6 Dec 2000 01:29:35 GMT
In <7qdX5.5944$Ig.31009@news1-hme0> "Pierre-Philippe Ravier" <[EMAIL PROTECTED]>
writes:
]I don't need DNS in fact, because my network only relies on the /etc/hosts
]file in my case. How can I deactivate the use of DNS ?
Well, you do need DNS to hook up to anything else on the net. You just do not want
your system to use it if it is not hooked up to the net.
]I need to be a SMB client as well in order to print to a Windows NT machine,
]but I don't need to be a SMB server. Therefore the smb daemon is probably
]useless in my case, can you confirm that ?
Sorry, I do not know or use smb. But right now you want to get a decent boot up.
a) let it go for a half hour. See if what ever is hanging the boot times out.
b) remove smb and see if that fixes it. Right now you want to narrow down the
problem. You can later add in what you need.
c) Put both the nickname and the fully qualified names for the various hosts into
/etc/hosts.
------------------------------
From: Moonshiner <[EMAIL PROTECTED]>
Subject: Re: Multiple kernels on Separate partitions
Date: Wed, 06 Dec 2000 01:20:21 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> > Disk /dev/hda: 255 heads, 63 sectors, 790 cylinders
> > Units = cylinders of 16065 * 512 bytes
> >
> > Device Boot Begin Start End Blocks Id System
> > /dev/hda1 * 1 1 131 1052226 6 DOS 16-bit >=32M
> > /dev/hda2 132 132 329 1590435 5 Extended
> > /dev/hda3 * 330 330 560 1855507+ 83 Linux native
> > /dev/hda4 * 561 561 790 1847475 83 Linux native
> > /dev/hda5 132 132 191 481918+ 6 DOS 16-bit >=32M
> > /dev/hda6 192 192 329 1108453+ 6 DOS 16-bit >=32M
> >
>
> You should not have more than 1 active partition!
Does the above mean boot(active) partition?
>
> > Disk /dev/hdb: 255 heads, 63 sectors, 1024 cylinders
> > Units = cylinders of 16065 * 512 bytes
> >
> > Device Boot Begin Start End Blocks Id System
> > /dev/hdb1 1 1 256 2056288+ 83 Linux native
> > /dev/hdb2 257 257 512 2056320 5 Extended
> > /dev/hdb3 513 513 769 2064352+ 83 Linux native
> > /dev/hdb4 770 770 1027 2072385 83 Linux native
> > Partition 4 has different physical/logical endings:
> > phys=(1023, 254, 63) logical=(1026, 254, 63)
> > /dev/hdb5 513 513 766 2040223+ 83 Linux native
> > /dev/hdb6 767 767 769 24066 82 Linux swap
> >
> > I have not noticed any problems from the Partition 4 mistake.
> >
>
> EEEKS!
>
> What is wrong with this disc!
> Does it even function?
>
Works fine. Has been this way for quite awhile.
> Or did you make a c'n'p error
Looks like that is what I did hdb3 is the extended
(boy I better work on my c'n'p. I made the same mistake on another
post. I did not realize I had not set up the cording of the two buttons
for the middle button. Went an redid it a few minutes ago.
Sorry about confusing the situation.)
>
> hdb5 and hdb6 are inside hdb3 instead of hdb2!
> backup as much as you can from this disc, and reinstall.
> I can hardly believe that you didn't get data corruption on this disc
> already.
> make the extended partition a type 85 (linux extended) as you don't
have
> any windows partitions in it anyway. It will remove the non-existing
> drive letter from windows too.
>
> Eric
>
I never noticed the Linux extended type when I set the hd up(probably
selective seeing).
If I change the System to Linux extended on hdb3, will I need to do
anything to hdb4? Hdb1 and hdb2 should be okay, right?
I will back it all up anyway and redo the drive in the next couple of
days.
Noble Pepper, I was having trouble seeing hda from hdb, therefore could
not put the kernel on hda3. Fixed that problem but used your advice
about the image parameter. I missed the perfect example on the MAN
page. (More of that selective seeing!)
Appreciate your help Noble Pepper and Eric.
--
Moonshiner
NASCAR Fan Go MW #15
Linux User because MS is a bother.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: disabling ftp/rlogin/telnet to use SSH
Date: 6 Dec 2000 01:32:13 GMT
>On 05 Dec 2000 11:13:23 -0500 in comp.os.linux.setup,
><[EMAIL PROTECTED]> `Greg Trafton' said:
>: Hi, All. I do not want others to be able to login to my system by
>: using rlogin or telnet or ftp or (are there others?) and instead use
>: SSH to login. but I'd like to be able to stil have access to rlogin ,
>: telnet, and ftp. what's the best way to do this?
You cannot. What you can do so can others. YOu can limit the logon to coming from
some specific host or group of hosts (ie if you only ever intend to log in from
111.222.333.222, then put that into /etc/hosts.allow
By the way, since ssh can do everything those programs can do, why do want to be
able to use them?
------------------------------
From: Moonshiner <[EMAIL PROTECTED]>
Subject: Re: Cannot mount all Linux partitions
Date: Wed, 06 Dec 2000 01:46:01 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Moonshiner wrote:
>
> > when the system boots and trys to mount the partitions; all
partitions
> > except /dev/hda3 mount properly. (/dev/hda4 is blank at this time)
> .....
> > loaded the new distro to /dev/hda3. I was able to format /dev/hda3
> > using fdisk.
>
> You can't format a partition with fdisk, all you can do is create or
> delete them. You use mke2fs to format the partition as a Linux-native
> (second-extended) partition *after* you create the partition with
fdisk.
Steve,
Thanks for your help.
I do not know why I said fdisk. I realize it is for partitioning the
hard drive not for formatting. I allowed the setup from the disk to
format the partition. There must be something wrong with it or the way
I used it. The reason I say this is because I ran mke2fs on the
/dev/hda3 partition and reloaded Slack7.1. Everything went fine. Ran
LILO from my original distro, rebooted and was able to get to /dev/hda3.
I also had the same problem after installing Slack7.1 on /hdb2. This
made me think about running mke2fs on both ( after reading your post of
course). By the by, the partitions were created at least a year ago in
preparation for checking out different distros of Linux.
Again, Thank you for your help.
--
Moonshiner
NASCAR Fan Go MW #15
Linux User because MS is a bother.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Stephan A Suerken <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Kernel won't mount raid0 (solved)
Date: 06 Dec 2000 03:02:37 +0100
"Peter T. Breuer" <[EMAIL PROTECTED]> writes:
> Yes, I know. However, very few people are doing so, and I doubt if
> anyone is doing so on a pre-release kernel. Go back and try it on some
> other kernels.
(..)
> And whether or not it's been messed up in the pre-release you are
> looking at.
I don't think there are only very few people doing it, as it's a good
thing (tm)!
As for the kernels: 2.2.17pre6 is the default kernel in Debian 2.2 r0
(as 2.2.16 is even more broken). [ Btw, in 2.2 r2, 2.2.18pre21 is the
default kernel for an analog reasons ;) ]
I needed 2.2.18(prewhatever) as I needed USB. That just to
explain. Basically, its not the kernel causing the "failure" here. I
actually tested it with 2.2.17 stable AND 2.4.0-test<something> as
well.
> That block is very far upstream for a root device! Your root is at
> least 60MB in size. Well, I suppose that's OK.
Actually, the problems were on two raid0s, one 12 G, the other about 5 G.
> Well, did you say you chunked at 16? 1KB chunks would be normal if the
> device file system has 1KB blocksize.
>
> > the kernel via boot options. The second imho most likely thing is that
> > I give the wrong chunk size factor. Kernel's md.txt isn't really clear
> > about that.
>
> It shouldn't matter, provided your whole device size is a multiple, of
> course.
Still not finding any info about how to exactly specify the "chunk size"
in the kernel parms, I made a exhaustive test. The results for
my two raid0s are:
mdtab : /dev/md0 raid0,16k,0,802eab69 /dev/hda3 /dev/hdc2
kernel args: md=0,0,2,0,/dev/hda3,/dev/hdc2
^--"chunk size": 2 works
mdtab : /dev/md0 raid0,8k,0,08716985 /dev/sda3 /dev/sdb1 /dev/sdc1
kernel args: md=0,0,1,0,/dev/sda3,/dev/sdb1,/dev/sdc1
^--"chunk size": 1 works
Other values for the chunk size (factor) (tested 1-16) do NOT
work. Obviously, "mdtab-value == kargs-value x 8k" must be met. This
really should be in kernel's md.txt, imho.
> Why are you striping root? I can't think of an advantage. Root is
> essentially only read once for daemons and libs and stays in memory
> thereafter, so you don't get a speed up. There would be an advantage
> (robustness) in having a mirrored root.
My normal disk / fs layout is to only have a small /boot partition on
a bios-secure place and some swap space partition. All the rest is
root-raid. This obviously has two advantages:
1. Speed (striping).
2. No fixed space mounted partitions (which is REALLY annoying).
I don't have a clean "old-style" root partition any more to boot
from. I get security by other means. Previously, I had that, using the
raid via symlinks, but that solution has some disadvantages, besides
the fact that it is ugly !
MfG,
Stephan
--
s-Stephan A Suerken <[EMAIL PROTECTED]>
s-WWW http://www.fh-worms.de/~inf222
s-Debian-related mail: <[EMAIL PROTECTED]>
------------------------------
From: Jc <[EMAIL PROTECTED]>
Subject: Re: How to fix bad sectors on HD?
Date: Wed, 06 Dec 2000 11:21:54 +0900
I need a fix, not a replacement drive. I'm doing this for someone else who can't
afford to go and buy another drive.
Jc
Keith wrote:
> On Tue, 05 Dec 2000 15:34:24 +0900, Jc <[EMAIL PROTECTED]> wrote:
> > I currently have RH 6.2 installed and recently I have been getting some
> > problems and these seem to be caused by bad sectors on my HD since I
> > keep getting read errors poping up on my console ...
> >
> > How to I go about cchecking my HD for bad sectors, fixing them and then
> > marking the sectors as bad?
> >
>
> Go ahead a buy another HD, once a HD starts having bad sectors it is
> better to replace it then risking everything on it.
>
> --
>
> Best Regards,
>
> Keith (Use Reply-to for email)
> Avertir ce page Web est ill�gal pour visualiser en France.
> --
> Where do you discover free software for Windows? Strongsignals DOT COM is a
> great place to start: http://Strongsignals.com "Where would Christianity be
> if Jesus got eight to fifteen years with time off for good behavior?" NY
> State Senator James Donovan, speaking in support of capital punishment.
------------------------------
** 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
******************************