Linux-Setup Digest #80, Volume #19 Wed, 5 Jul 00 05:13:08 EDT
Contents:
Re: How to reset root password (slackware) ("Quiney, Philip [HAL02:HH00:EXCH]")
Re: ATI Rage 128 ([EMAIL PROTECTED])
Re: Can't install Win98 after I've installed Linux. Help. (Eric)
Re: Xfree86-4.0 and TrueType fonts (Eric)
Re: No 'rescue root' disk in Slackware 7.1? (Eric)
Corel Linux Install (Cliff)
Xterm Keyboard Problem on HP Terminal (NorbertSchmidt)
Re: Problems with fsck on new disk (Villy Kruse)
ATTN: Promise Ultra66 owners (root)
Mounting an ATAPI CD-RW (Gareth Howell)
low level drive errors (Ron Ross)
Re: How to install with no CD-ROM (Stanislaw Flatto)
Using Ipchains ("Peter")
----------------------------------------------------------------------------
From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Subject: Re: How to reset root password (slackware)
Date: Wed, 05 Jul 2000 08:03:34 +0100
"C.J." wrote:
>
> Try this... and I'd love to hear if it works:
Yes it does work...
>
> At lilo prompt, add "single" after your choice to boot linux. ie: if you type
> linux, you would use:
>
> linux single
>
> Change root's password.
> passwd root
No need to specify 'root' you are root anyway
>
> reboot
>
Just type 'exit' & the system will switch to its default runlevel,
alternatively you can specify a runlevel with init (say init 3 or init
5) depending on whether or not you want the graphical login.
Regards
Phil Q
--
Phil Quiney CSIP Demonstrator
[EMAIL PROTECTED] Nortel Networks,
Telephone: +44 (1279) 402363 London Rd, Harlow,
Fax: +44 (1279) 402885 Essex CM17 9NA,
United Kingdom.
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.x
Subject: Re: ATI Rage 128
Date: Wed, 05 Jul 2000 07:20:09 GMT
> > > > > > I'm having a strange problem with my ATI Rage 128 (XPERT
2000)
> > > > > >
> > > > > > I installed Redhat 6.2 (xfree86 3.3.6) and it found and
configured
> > > > > > the card properly. I get video that appears ok, but whenever
I move
> > > > > > a window I see a lot of strange video noise appearing as
vertical bands
> > > > > > running from the top to the bottom of the screen. They are
relatively
> > > > > > evenly spaced.
> > > > > >
> > > > > > Anybody else seen this problem? Is the card ok?
> > > > > >
I've had the same problem with SuSE 6.4 and XFree86 3.3.6. In 8bit
mode it was better, but not completely fixed.
So I tried XFree86 4.0 with the same effect.
But, with the XFree86 4.0.1 which I have compiled by myself two
days ago, all the noise is gone. No distortion when moving the mouse
or a window.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Can't install Win98 after I've installed Linux. Help.
Date: Wed, 5 Jul 2000 06:47:43 GMT
Reply-To: [EMAIL PROTECTED]
C.J. wrote:
>
> I would go with this choice. From the top of my head, here are the steps
> you'll probably need to take. (If anyone who is reallly comfortable with this
> stuff knows better, PLEASE look over the advice I'm about to give.) Now,
> Vincent, before that scares you too much, I want you to know that I think the
> worst that is likely to happen is that you have to swap the drives back since
> we don't actually change anything unless it boots up ok.
>
> First, lets make a lilo boot diskette.. put in a floppy and as root do:
>
> /sbin/lilo -c -b /dev/fd0 -d 1000
> (install lilo on /dev/fd0 and wait 10seconds at prompt before starting)
>
> Next we'll confirm what drives are where...
>
> /sbin/sfdisk -l
> (that's a lowercase L, not a one)
>
> If you have one IDE drive on each IDE port, you should see some references to
> /dev/hda and to /dev/hdc. Note what the device name of your new drive is
> since it will be the Linux boot/root drive after you swap drives around.
>
> Now go ahead and swap the drives.
>
> Leave the LILO boot floppy in and start up the system. At the LILO prompt,
> type the keyword you chose to select linux followed by root=/dev/hdc1
> (assuming your linux drive is now /dev/hdc.)
> The keyword is likely "linux" but if you are unsure, press TAB at the prompt.
> An example of what to type at the prompt is:
>
> linux root=/dev/hdc1
I'm not convinced this will work, but it's safe enough to try.
Make sure to change the /etc/fstab too !!!!!!!!!!!!!!!!
That file is the exact reason why I doubt it'll work, it tells the
system where all the files are located and needs to be changed defore
you can boot from HDD again.
You can always remove hda before installing win98 (Make a boot disk as
C.J. wrote just to make sure, though you probably won't need it)
Install win98 on hdb (which is for as far as win98 is concerned your C:
drive)
When your done, plug hda back in and boot linux. change /etc/lilo.conf
and add an entry for win98. The new part will look like
other=/dev/hdb1
label=win98
map-drive = 0x81
to = 0x80
map-drive = 0x80
to = 0x81
table = /dev/hdb
now re-run lilo (DO NOT FORGET THIS!!!)
and reboot
Eric
> I am pretty sure you should now boot more or less normally. After you log in,
> edit /etc/lilo.conf and change the drive to the correct device names and run
> /sbin/lilo again. NOTE, don't change the boot=/dev/hda line since you want
> lilo to be on the correct location for booting as your system starts.
>
> Remove the floppy and reboot to confirm it works ok.
>
> Log in as root again, insert your floppy again, and make a new LILO floppy
> with:
> /sbin/lilo -c -b /dev/fd0
> (We're doing this since your Win98 install is most likely going to trash lilo
> on the drive you're installing it to. This will give you an easy way to boot
> Linux again afterwards.)
>
> Install Win98 and whatever else you are going to do to that drive.
>
> Boot into Linux again
> log in as root
> edit lilo.conf again and add something like the following:
> #Win98 boot
> other=/dev/sda1
> label=Win98
> table=/dev/sda
>
> Run /sbin/lilo once more (hopefully the final) time.
>
> In article <[EMAIL PROTECTED]>, Vincent Dang <[EMAIL PROTECTED]>
> wrote:
> >Is it possible to simply swap the physical connections of my two drives
> >so that my Linux drive is now my secondary drive?
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Xfree86-4.0 and TrueType fonts
Date: Wed, 5 Jul 2000 06:56:48 GMT
Reply-To: [EMAIL PROTECTED]
Krzysztof Sulejczak wrote:
>
> Hi
>
> >Section "Files"
> > FontPath "/home/moorse/ttfonts_from_win98"
> >EndSection
> you must have standard fot path in the Files section. It should look like
> this:
>
> Section "Files"
> FontPath "/usr/X11R6/lib/fonts/misc"
> FontPath "/usr/X11R6/lib/fonts/75dpi"
> FontPath "/usr/X11R6/lib/fonts/100dpi"
> FontPath "/home/moorse/ttfonts_from_win98"
> EndSection
>
> The most important is first path. There is alias to fixed font.
>
> cheers
> ks
Thanks Krzysztof,
this indeed was the key to adding new fonts for me.
All is working now.
Thanks to all who responded
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: No 'rescue root' disk in Slackware 7.1?
Date: Wed, 5 Jul 2000 06:32:51 GMT
Reply-To: [EMAIL PROTECTED]
ljb wrote:
>
> I think Slackware 4.0 was the last one with a Rescue Root disk, which you
> could use with a boot floppy to recover a system from various problems. Did
> this go away with Slackware 7.0, a casualty of the upgrade to glibc? It
> seems to be missing at Slackware 7.1 too. This was really useful - is there
> any alternative to use to fix problems on a server which cannot reliably
> boot from CD?
Check the Slackware site, they still have the boot/root flop combi's
there
Eric
------------------------------
From: Cliff <[EMAIL PROTECTED]>
Subject: Corel Linux Install
Date: Wed, 05 Jul 2000 07:30:03 GMT
I used System Commander 2000 to partion my WD20.5 Gig Hard drive and
inserted 3.5 Linux OS Boot Disk and restarted computer. I get the Corel
Linux Screen, then Loading Corel Linux, then Starting orel Linix, then
pause until I insert Corel Linux Installation CD, then adetecting hardware
message, then a blank screen and then a message starting Graphics
Installation, then next line Corel#, then a grey plaid sort of screen with
an X in Middle, then the Corel screen with the User agreement and my
computer is dead, keyboard willnot function CD will not eject, and only
solution is to restart. Can anyone give a newbie a hint as to where to
start? Many Thanks for any help!
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: NorbertSchmidt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,alt.os.linux.suse
Subject: Xterm Keyboard Problem on HP Terminal
Date: Wed, 05 Jul 2000 09:44:19 +0200
Reply-To: [EMAIL PROTECTED]
Hi everybody,
I've got a used HP Entria X-Terminal, which I want to use as a Terminal
for a SUSE 6.4 Server.
The Problem is:
I set up the Hardware to use a German Keyboard. It works fine. I've got
the @ and | signs on the right keys where they belong to. On the KDE
Desktop everything is ok except for the xterm and all programs in xterm.
I can't get the AltGr-Q to give me an @ or AltGr-< to give me an |.
It looks to me that it is a terminfo or termcap problem beacause when I
type in tset -s -q I get:
xterm-hp
TERM=xterm-hp
But when I type in set I get TERM=xterm.
When I try to change any of the configurations, I can get no foot on the
ground because I can't find the place where to change the TERM setting
for my terminal nor the place where to change the settings for my
specific Host IP Number, so that I can define what happens when a
certain IP Adress connects to the Server with an xterm. All
configuration I found was userspecific and would misconfigure an access
with the same user ID from a differnt Terminal.
Any help appreciated....
--
Norbert Schmidt
Optische und elektronische Geraete Juelich
Rheingasse 8-10
53113 Bonn
Germany
Tel: +49 228 9838625
Fax: +49 228 631339
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.os.linux.misc,alt.os.linux,alt.linux
Subject: Re: Problems with fsck on new disk
Date: 5 Jul 2000 07:56:16 GMT
On Tue, 04 Jul 2000 10:30:53 +0000, Bob Martin <[EMAIL PROTECTED]> wrote:
>
>You run fsck on a filesystem, not a device. until you run mke2fs there
>is no filesystem, so no superblock
>--
>
>Bob Martin
Another thing. If you have disk with a valid file system, delete the
partition and create a new one, the partition will appear to have a
valid file system. This file system is invalid, because its size
would be inconsistent with the size of the partition. Therefore you
need to create a new file system (of format a partition if you like)
to create a file system that matches the partition.
This can happen with linux file systems as well as vfat file systems.
Villy
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: ATTN: Promise Ultra66 owners
Date: Wed, 05 Jul 2000 09:38:44 +0100
With RH6.1 there was a custom bootdisk supplied by Promise for
installing onto
Ultra66 contolled HD's.
This bootdisk will not work with RH6.2, as I painfully discovered.
For those of you in a similar predicament, while we wait endlessly for
Promise
to deliver a new driver ( how hard can it be ? - for God's sake ), there
is a
"quick fix" solution.
Boot your RH6/6.1 as per normal, if you haven't got that far yet, then
see
www.promise.com for the linux drivers and bootdisk.
Log on and type the following
cat /proc/pci
The output will list the Promise U66 card .
Take a note of the I/O values.
E.g. on my system :
I/O at 0xefe0
I/O at 0xefac
etc ....
For port0 - the one your boot drive is probably on, you want
the first two numbers - ie - the two above. ( Your I/O values
may be different - don't just copy mine )
Reboot to Windoze and prepare the RH6.2 bootdisk from the CD.
Boot from your new floppy bootdisk, and at the LILO prompt type
linux ide2=0xefe0,0xefae
(this is an example from my system only):
What you will actually type depends on the output from cat /proc/ide.
If we call the first hex number after the "=" (a)
And the second number after the "," (b)
Then the formula is
linux ide2=a,b+2
So (b) was originally 0xefac from the cat output, I added 2 to give
0xefae
Now you can instal RH6.2 no problem.
During the install you will be asked how you wish to configure LILO
Add extra parameter here to ensure you can continue to boot straight
from the HD - ie - linux ide2=a,b+2 ( remember to replace a and b+2
with the correct values )
Thats it, but I further recommend adding the "idebus=66" switch as
well.
Of course all this is not really a proper substitute for real drivers -
come
on Promise.
Oh, and I have a question.
If there are only two ide ports on the card, why are there 5 I/O
addresses ?
Whats the 5th one for ?
Keith G. Robertson-Turner
[EMAIL PROTECTED]
------------------------------
From: Gareth Howell <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Mounting an ATAPI CD-RW
Date: Wed, 05 Jul 2000 10:40:37 +0200
Hi !
I've managed to get my IDE ATAPI CD-RW working .. well, sortof.
I followed the HOW-TO (recompiled kernel with generic SCSI support etc
etc), and I'm
now able to burn CD's to my heart's content.
I can't seem to mount CD's though.
I've tried mounting /dev/scd0 and I get something like "Wrong major or
minor number"
Please help !
Thanks
Gareth
------------------------------
From: Ron Ross <[EMAIL PROTECTED]>
Subject: low level drive errors
Date: 05 Jul 2000 04:50:42 -0400
Hi,
I am getting several hard drive related errors. This is with PhatLinux,
a Mandrake-based loopback setup, which I'm using to test new hardware
(PIII, Chaintech m\b (Via Apolo 133)). I have two hard drives, the main
12.7 gb as master, and an older 1.08 gb as slave, on ide0. There are two
FAT32 partitions on the master drive: about 3.5 gb on hda1(C:) and 1.5
gb on hda5(E:). Phat is installed on E:. The rest of the space on the
big drive is unused (and unpartitioned, except as an empty segment of
the extended partition - waiting for a "real" Linux install, of course:),
and I don't bother mounting the second drive (D: or hdb1) in PhatLinux.
dmesg gives me the following at the end of the boot process:
Partition check:
hda: hda1 hda2 < hda5 >
hdb: hdb1
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
[MS-DOS FS Rel. 12,FAT 32,check=r,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0x0,cs=0,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=0,rc=0,fc=4294967295]
Transaction block size = 512
VFS: Can't find a valid MSDOS filesystem on dev 03:02.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0x0,cs=0,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=0,rc=0,fc=4294967295]
Transaction block size = 512
VFS: Can't find a valid MSDOS filesystem on dev 03:02.
attempt to access beyond end of device
03:03: rw=0, want=1, limit=0
dev 03:03 blksize=1024 blocknr=0 sector=0 size=1024 count=1
FAT bread failed
attempt to access beyond end of device
03:03: rw=0, want=1, limit=0
dev 03:03 blksize=1024 blocknr=0 sector=0 size=1024 count=1
FAT bread failed
attempt to access beyond end of device
03:04: rw=0, want=1, limit=0
dev 03:04 blksize=1024 blocknr=0 sector=0 size=1024 count=1
FAT bread failed
attempt to access beyond end of device
03:04: rw=0, want=1, limit=0
dev 03:04 blksize=1024 blocknr=0 sector=0 size=1024 count=1
FAT bread failed
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=2
Freeing unused kernel memory: 48k freed
Adding Swap: 32764k swap-space (priority -1)
What does this mean? What device does 'dev 03:02/3/4' refer to.
(I've run e2fsck with now errors and to no effect.)
Also, hdparm gives the following for /dev/hda
/dev/hda:
Model=QUANTUM FIREBALL EX12.7A, FwRev=A0A.0D00, SerialNo=372904073684
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=418kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=24901632
WARNING 8387568 ORPHANED SECTORS :: KERNEL REPORTING ERROR
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 *mode2
Drive Supports : ATA/ATAPI-4 T13 1153D revision 15 : ATA-1 ATA-2 ATA-3 ATA-4
Is Linux (the kernel) bothered by the unused space on /dev/hda, or is
there something else?
hdparm reports the following settings:
/dev/hda:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 1550/255/63, sectors = 24901632, start = 0
I wonder if there is a problem with DMA settings, as I've also found the
following error messages in the /var/log/ directory (sorry about the
long post -- this is the last of it):
inetd[4512]: execv /usr/sbin/in.identd: No such file or directory
-- MARK --
kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
-- MARK --
-- MARK --
kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
inetd[5087]: execv /usr/sbin/in.identd: No such file or directory
inetd[5088]: execv /usr/sbin/in.identd: No such file or directory
Note, I can still boot and run the system. However I went through a
bumpy process of compiling a new Kernel: three failed attempt at
compiling 2.3.99pre9, interspersed with utility and library upgrages,
finally was successful with the second attempt at compiling 2.2.16 (all
this to try to get drivers for the Via 82c686a sound card working).
These problems became especially visible after the recompilation.
These messages seem to point to low level problems with the hardware...
but the system runs, both in Linux (save glitches in KDE subsequent to
library upgrades) and in Windows (98SE, surprisingly stable so far).
Thanks in advance,
Ron
------------------------------
From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: How to install with no CD-ROM
Date: Wed, 05 Jul 2000 08:47:04 GMT
Scott Watson wrote:
>
> Okay, now I have done it. I told my girlfriend's father that he should
> install linux as his mailserver as it would run on a 486. Me and my big
> mouth! He gave me the PC and it doesn't even have a CD 486 33. (I have a
> used 5 1/4 if anyone is interested) anyway, this is what I was thinking for
> a workaround.
>
> Use my pc and rawwrite the rootdisk and bootdisk image onto a floppy drive.
> From there I should at least be able to boot his old klunker. Now my
> problem is how do I access the cd rom on my other pc using my internal
> network. My question is how do I access my cdrom on either my linux box or
> win 98 from his freshly booted pc.
>
> Clear as mud!
>
> Thanks,
> Scott
Hello!
Have been in this movie not so long ago.
After intensive scratching and RTFM'ing, took No2 Philips screwdriver,
pulled the CD from my "normal" box, connected it to the 486 HD
controller board as slave and installed Slak 7.0 on it. If the
Neanderthal has less than 8M RAM then use some magic, can be done but
things will be sloooowwww. And forget about GUI.
Have fun...
--
******* Stanislaw ********
Monolog - one person talking to himself,
dialog - two people talking to themselves.
-Shaike Ofir-
------------------------------
From: "Peter" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,linux.help,linux.redhat
Subject: Using Ipchains
Date: Wed, 05 Jul 2000 09:01:45 GMT
Hi
I am using Ipchains (in Linux) to test TCP/IP protocol. I want to add a
certain amount of delay between each packet and drop a certain amount of
packet transmitted between two hosts.
I am using the command (ipchains -A input -s 192.168.0.0/255.255.255.0 -j
DENY ), it will drop all packets, and I cant send any packet any more
unless I restart my computer. And I don�t know if it is possible to add
delay between each packet using Ipchain or not.
I will be very happy if some one could tell me :
What ipchains command will add some delay between packet send from a host?
What ipchains command will only drop some certain amount of packets?
What ipchains command will make the connection back as normal without
restarting the PC?
------------------------------
** 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
******************************