Linux-Misc Digest #918, Volume #23 Tue, 21 Mar 00 19:13:05 EST
Contents:
cannot login as root on pts/x... ("Sylvain Drapeau")
Strange disk problem (Edward L. Hepler)
Re: Do you hate vi? ("Jens M. Felderhoff")
Re: TurboLinux Discussion Forum (Colin Watson)
Can't Download Tar Files (Binyomin Kaplan)
sed and substitute newline--how? (Ron)
Printing with DeskJet PLUS ([EMAIL PROTECTED])
Re: Help with Linux advocacy (John Loukidelis)
block-major modules (Yan Seiner)
Re: Resolution ("Philip Lee")
Re: Strange disk problem ("John Arnott - PDbS, Inc.")
Re: Unmounting Harddrive to check copy?? ("Peter T. Breuer")
Re: CD-RW troubles ([EMAIL PROTECTED])
Re: Huge? Tiny? on xterm ([EMAIL PROTECTED])
Re: Win2000 trashed Lilo, of course. I GIVE UP!!! ([EMAIL PROTECTED])
Solved: Problems logging in at ISP (=?iso-8859-1?Q?Dani=EBl=20H=F6rchner?=)
----------------------------------------------------------------------------
From: "Sylvain Drapeau" <[EMAIL PROTECTED]>
Subject: cannot login as root on pts/x...
Date: Tue, 21 Mar 2000 17:08:20 -0500
Hello!
I'm pretty sure it should be pretty obvious but I can't seem to find how to
log as root on a pseudo console. I can however log as a common user and then
su... I'm running RH6.1 with only the text interface.
I added "pts/0" in the /etc/securetty file but it won't do anything.
I handled quite a few things since last week (first installation) but that
problem will kill me before the weekend...
Thanks a lot!
Sylvain Drapeau
Solutions Informatiques SIGMA Inc.
------------------------------
From: [EMAIL PROTECTED] (Edward L. Hepler)
Crossposted-To: comp.os.linux.hardware
Subject: Strange disk problem
Date: 21 Mar 2000 16:48:51 -0500
I just purchased a Dell Dimension T desktop and have a strange problem
with the the disk...
I purchased the machine with the ATA66 controller and soon found that
Red Hat 6.1 did not support this yet.... So I moved the disk cable from
the Promise Ultra66 controller to the primary IDE controller on the
motherboard... The disk is a Maxtor 54098U8 (40Gbyte)...
I loaded RH6.1 onto the drive, partitioning it with /, /boot, swap, and
/home partitions. The /home partition was specified as one huge partition
having a requested size of 1Mbyte, but was to expand to the end of the
disk)... It ended up being about 34 Gbytes. (This is because earlier,
I had unsucessfyly tried to make more, smaller partitions and the
RH installer couldn't seem to find the last couple!) Druid assigned
/home to hda6.
After loading, I booted and started to configure other things, then noticed
that the system didn't seem to be operating properly... I did a shutdown,
and reboot...
The system came up but reported multiple errors on /dev/hda6 (the BIG /home
partition)... Thinking that perhaps I had forgotten to tell the RH installer
to format /home, I did a "mkfs" on /dev/hda6... Then I rebooted...
The system booted... I made a few changes... Then decided to reboot to see
that everything was OK... When the system came up again, /dev/hda6 was
reported as having errors again... The boot dropped into root mode so that
I could manually run fsck... I instructed fsck to fix all the problems that
it reported... Then ran fsck a second time... It reported a clean /dev/hda6.
The machine rebooted after exiting root mode... I verified that I could
get into X-windows, etc., then asked for a shutdown -r... The system rebooted,
again reporting a corrupted /dev/hda6...
Runing fsck cleans things up again, but takes longer (more problems)... and
my empty home directory and even [lost+found] are now gone!
I have tried removing the ATA66 card, thinking that perhaps it is somehow
interfering with the onboard transfers (how I don't know, but I grasping
for straws...)...
I also looked at the setup screen and it seems to be correctly recognizing
the drive, etc.
I also thought that perhaps there was some sort of size limit on the
paritions that I was violating... I went back to the RH installer and
it couldn't find the hard drive (I believe it couldn't find the partition
table)... I also tried cfdisk and asked it for the partition table
and it found all zeros! sfdisk got a read error trying to read sector
71633835, but reported a parition table that looks sort of reasonable,
although it also reports the wrong number of cylinders, and heads.
fdisk seems to think that the disk has 4982 cylinders, although it also
says that it can not read /dev/hda... The info on the Maxtor page of
Dell's web site says that it has 79,406 cylinders, 8 heads, 63 sectors per
track, 512 bytes/sector...
Could the parition table have been trashed by Linux???
Should I try to use one of the [ ,c,s]fdisk programs to reset the
drive geometry?
Is the disk bad? Is there anything in an IDE controller to go bad? Why
is only /dev/hda6 affected by this?
Any assistance or ideas would be greatly appreciated!
Thanks,
Ed Hepler
[EMAIL PROTECTED]
or
[EMAIL PROTECTED]
------------------------------
From: "Jens M. Felderhoff" <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Do you hate vi?
Date: 21 Mar 2000 22:29:03 +0100
[EMAIL PROTECTED] () writes:
> Despite starting on a Mac and falling in love with BBEdit, (the *one*
> thing I miss about Macs,) I now use vi (not vim) exclusively, and when
> I sit down at a Mac, moving the cursor by mouse is almost unbelievably
> uncomfortable. I'm torn: ultra-slick GUI or ultra-powerfull keystrokes.
There's a vim port around for Macs.
Check http://www.vim.org.
Cheers
Jens
--
Jens M. Felderhoff
home : [EMAIL PROTECTED]
office: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Crossposted-To:
comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.powerpc,comp.os.linux.security,comp.os.linux.setup,comp.os.linux.x
Subject: Re: TurboLinux Discussion Forum
Date: 21 Mar 2000 22:28:47 GMT
Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
>Chris Hills wrote:
>> New discussion and chat forum at http://www.astimsit.com.au/forum.html for
>> TurboLinux and general Linux related issues and discussions.
>
>If you are proposing this web based forum as an alternative to Usenet
>you are nuts.
Quite. Try alt.os.linux.turbolinux instead.
[follow-ups set there]
--
Colin Watson [[EMAIL PROTECTED]]
"Is this legal?"
"That question is OFF-TOPIC here." - alt.binaries.cracks FAQ
------------------------------
From: Binyomin Kaplan <[EMAIL PROTECTED]>
Subject: Can't Download Tar Files
Date: Tue, 21 Mar 2000 16:21:54 -0600
Can anyone think of a reason why an http download of a tar
file on a computer running windows would change it in some way,
making it unusable? I have a computer without a modem running
linux. Sometimes I download files for it on the windows computer,
and it doesn't seem that it was ever a problem to then
use the files on my linux computer, but now I don't seem to be
able to untar the files. Winzip doesn't seem to be able to do anything
with them under Windows either.
TIA,
Binyomin
------------------------------
From: Ron <[EMAIL PROTECTED]>
Subject: sed and substitute newline--how?
Date: Tue, 21 Mar 2000 17:31:15 -0500
How do you put in a newline character in a sed substitution? I'm doing
something subtly wrong, and haven't figured it out from the man/info
pages.
Here's one of the many ways I've tried:
sed s/this/"\n"/ <input.txt >output.txt
Thanks in advance!
Ron from Michigan
------------------------------
From: [EMAIL PROTECTED]
Subject: Printing with DeskJet PLUS
Date: Tue, 21 Mar 2000 22:31:22 GMT
Hello!
I have a basic printing question with Linux. I am running Slackware 7.0
and am trying to set up a DeskJet PLUS. I have read all the
tutorials/HOWTOs, but they describe how to get lpr working. I am
wondering how I can get /dev/lp0 to work.
I have read on other postings that you should be able to do "cat
file.txt > /dev/lp0" and it prints something. I can't even get response
to it.
This isn't a problem with the printcap or with lpr, but I'm wondering
about how to set up /dev/lp0 and parallel ports in general.
I did read through the parport howto, and got some response by loading
some of the parport modules, but that is a bit over my head, and was
wondering if someone could help explain some of this to me. (:
Thanks in advance,
Luke
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (John Loukidelis)
Subject: Re: Help with Linux advocacy
Date: Tue, 21 Mar 2000 22:44:52 GMT
On Mon, 20 Mar 2000 01:55:38 GMT, Jon Davis
<[EMAIL PROTECTED]> wrote:
If you're interested in getting work done, maybe a Pentium III is
overkill. Having that power might appeal to some users, but most
users in, say, a law office -- where email and word processing define
80% of what is done with a desktop -- just don't need it (and in my
experience wouldn't want it because they don't know the difference).
As for not being able to load MS Word 2000 docs correctly: well,
that's a problem faced by all IT departments who choose not to use M$
software, regardless of whether they force terminals on their users.
>I couldn't help but chime in and note that your users might save money by
>skimping on the computers, but at the cost of feeling micromanaged, in a
>sense, by their IT guy. The concept of using X Windows or Windows NT
>Terminal Server is quite popular *in theory* among IT admins, but it is
>understandably unpopular in practice because, frankly, people want to use
>nice, new Pentium III computers of their own, and will not stop short of
>making all kinds of political noise if they have to use terminal nodes to a
>shared server that won't even load Microsoft Word 2000 documents correctly.
>
>Jon
------------------------------
From: Yan Seiner <[EMAIL PROTECTED]>
Subject: block-major modules
Date: Tue, 21 Mar 2000 17:06:58 -0500
Reply-To: [EMAIL PROTECTED]
What are these? And where can I find a comprehensive list of what these
are?
Mar 21 16:24:05 aphrodite modprobe: can't locate module block-major-8
Mar 21 16:24:06 aphrodite modprobe: can't locate module block-major-72
Mar 21 16:24:21 aphrodite modprobe: can't locate module block-major-22
Thanks,
--Yan
--
Think different
ride a recumbent
use Linux.
------------------------------
From: "Philip Lee" <[EMAIL PROTECTED]>
Subject: Re: Resolution
Date: Tue, 21 Mar 2000 18:00:13 -0500
> I recently set up Peanut Linux, and went through the XF86Setup, I chose
> high resolution for my Viper V770 vid card, but when I started startx
> the resolution was so low the icons were massive and I couldn't see even
> half of most windows, any suggestions on how to fix this?
Try pressing Ctrl-Alt-(Keypad - or +). Also, run the SF86Setup once again.
Make sure you only select ONE resolution or it can screw things up.
Philip
------------------------------
From: "John Arnott - PDbS, Inc." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Strange disk problem
Date: Tue, 21 Mar 2000 23:00:01 GMT
I am curious about this. It is similar to a problem I am experiencing. I
added a drive to hdb1. It is a 40GB maxtor. It is reported as 39389776 1k
pages. I got past all of the errors, but now the drive does not allow
writing. Everytime I attempt to create a directory or copy a file I
receive:
mkdir: cannot make directory `testdir': No such file or directory
Please include me on any replies to this thread.
I am running RH 6.1
Best Regards,
John Arnott
[EMAIL PROTECTED]
Edward L. Hepler <[EMAIL PROTECTED]> wrote in message
news:8b8qo3$[EMAIL PROTECTED]...
>
> I just purchased a Dell Dimension T desktop and have a strange problem
> with the the disk...
>
> I purchased the machine with the ATA66 controller and soon found that
> Red Hat 6.1 did not support this yet.... So I moved the disk cable from
> the Promise Ultra66 controller to the primary IDE controller on the
> motherboard... The disk is a Maxtor 54098U8 (40Gbyte)...
>
> I loaded RH6.1 onto the drive, partitioning it with /, /boot, swap, and
> /home partitions. The /home partition was specified as one huge partition
> having a requested size of 1Mbyte, but was to expand to the end of the
> disk)... It ended up being about 34 Gbytes. (This is because earlier,
> I had unsucessfyly tried to make more, smaller partitions and the
> RH installer couldn't seem to find the last couple!) Druid assigned
> /home to hda6.
>
> After loading, I booted and started to configure other things, then
noticed
> that the system didn't seem to be operating properly... I did a shutdown,
> and reboot...
>
> The system came up but reported multiple errors on /dev/hda6 (the BIG
/home
> partition)... Thinking that perhaps I had forgotten to tell the RH
installer
> to format /home, I did a "mkfs" on /dev/hda6... Then I rebooted...
>
> The system booted... I made a few changes... Then decided to reboot to
see
> that everything was OK... When the system came up again, /dev/hda6 was
> reported as having errors again... The boot dropped into root mode so
that
> I could manually run fsck... I instructed fsck to fix all the problems
that
> it reported... Then ran fsck a second time... It reported a clean
/dev/hda6.
>
> The machine rebooted after exiting root mode... I verified that I could
> get into X-windows, etc., then asked for a shutdown -r... The system
rebooted,
> again reporting a corrupted /dev/hda6...
>
> Runing fsck cleans things up again, but takes longer (more problems)...
and
> my empty home directory and even [lost+found] are now gone!
>
> I have tried removing the ATA66 card, thinking that perhaps it is somehow
> interfering with the onboard transfers (how I don't know, but I grasping
> for straws...)...
>
> I also looked at the setup screen and it seems to be correctly recognizing
> the drive, etc.
>
> I also thought that perhaps there was some sort of size limit on the
> paritions that I was violating... I went back to the RH installer and
> it couldn't find the hard drive (I believe it couldn't find the partition
> table)... I also tried cfdisk and asked it for the partition table
> and it found all zeros! sfdisk got a read error trying to read sector
> 71633835, but reported a parition table that looks sort of reasonable,
> although it also reports the wrong number of cylinders, and heads.
> fdisk seems to think that the disk has 4982 cylinders, although it also
> says that it can not read /dev/hda... The info on the Maxtor page of
> Dell's web site says that it has 79,406 cylinders, 8 heads, 63 sectors per
> track, 512 bytes/sector...
>
> Could the parition table have been trashed by Linux???
>
> Should I try to use one of the [ ,c,s]fdisk programs to reset the
> drive geometry?
>
> Is the disk bad? Is there anything in an IDE controller to go bad? Why
> is only /dev/hda6 affected by this?
>
>
> Any assistance or ideas would be greatly appreciated!
>
> Thanks,
>
> Ed Hepler
>
> [EMAIL PROTECTED]
> or
> [EMAIL PROTECTED]
>
>
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Unmounting Harddrive to check copy??
Date: 21 Mar 2000 23:14:54 GMT
[EMAIL PROTECTED] wrote:
: I should be able to do this by unmounting the old drive right??
: So when i attempt to do this: "umount /dev/hda3" i get message:
: "specified device is busy"
Find the process that is currently sitting somewhere on the mounted
fs and kill it.
Man fuser.
: So i am now assuming i must kill the drive from the network to free it
: so i can unmount it so i can check the copied website.
:-). Uh, I haven't the faintest idea what you mean here, but I suspect
you really shouldn't be thinking of whatever it is you are thinking of!
: 2. What else can i do to make absolutly certain the site is copied.
? Do you want to checksum? Man rsync.
: 3. Once I'm certain of copy, how do i safely delete the old one.
With rm. What do you mean by "safely" in this context? A delete is a
delete.
: the new drive was mounted and site copied using:
: "mount /dev/hdb2 /mnt"
: "cp -a /home/webmaster/* /mnt/"
Peter
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: CD-RW troubles
Date: 21 Mar 2000 17:26:15 -0500
>Linux recognizes my Sony CD-RW when it boots up but i cannot mount my
>CD-ROM drive i get the message, using the command ,
>mount -t iso9660 /dev/cdrom /mnt/cdrom:
> mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> or too many mounted file systems
>And i know i am do not have to many file systems because i have mounted
>a ZIP drive after that statement. The fs type i used was ISO9660. I
>was wondering if any Linux gurus could tell me the boneheaded thing i
>am doing. Please e-mail the response to my e-mail address ,
>[EMAIL PROTECTED]
>Thanks in advance for the help
Read the end of /var/log/dmesg and you might find that the drive is
switched to being a SCSI drive. Or at least that what's done to IDE CD-RW
drives so that you can properly RW them. For example, my CDR is on /dev/hdc
and it's switched to /dev/sr0 (Mandrake 7 did it automagically, probably RH
6.1 too) so in /etc/fstab I had to put in
/dev/sr0 /mnt/cdrom iso9660 rw,noauto,user 0 0
-John
ps. I'm unsure about sr0, since that machine is at home...
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Huge? Tiny? on xterm
Date: 21 Mar 2000 17:28:59 -0500
>There's a shell utility that changes the size of the xterm font, but I
>can't remember what it's called.
>
>A couple of the arguments I do remember are "huge" (banner sized) and
>"tiny" (so small you can't see it.)
>
>Any help much appreciated.
>
>Potter
Try CTRL-Right Mouse Button to get the font menu, it might be easier.
-John
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Win2000 trashed Lilo, of course. I GIVE UP!!!
Date: Tue, 21 Mar 2000 23:25:35 GMT
And verily, didst Bernhard Mogens Ege hastily scribble thusly:
> You (spike1) give up quite easily, dont you.
I'm on a pristine, clean, uncorrupted machine.
Not a bit of M$ in sight. (No DOS partition or Windows partitions have
existed on this machine since its drive was formatted when I acquired it)
:)
I was just saying what I'd heard.
--
______________________________________________________________________________
| [EMAIL PROTECTED],uk | "Are you pondering what I'm pondering Pinky?" |
| Andrew Halliwell BSc | |
| in | "I think so brain, but this time, you control |
| Computer Science | the Encounter suit, and I'll do the voice..." |
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+ w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!| Space for hire |
==============================================================================
------------------------------
From: =?iso-8859-1?Q?Dani=EBl=20H=F6rchner?= <[EMAIL PROTECTED]>
Crossposted-To:
nl.comp.os.linux.overig,comp.os.linux.setup,alt.os.linux,alt.os.linux.dial-up,linux.redhat.misc
Subject: Solved: Problems logging in at ISP
Date: Wed, 22 Mar 2000 00:44:22 +0100
Hello all,
I posted a message about having problems with logging in at my Internet
Service Provider (ISP) last sunday. I found the cause for the problem:
setting a nameserver address to 0.0.0.0 to indicate a dynamically
assigned DNS IP address doesn't work with my ISP. I emailed the helpdesk
of my ISP and they replied that I should use the IP addresses they gave
me (in their email), because 0.0.0.0 doesn't work.
Thank you all for your replies.
Kind regards,
Daniel Horchner
PS. Setting a nameserver address to 0.0.0.0 is something I read in a
book that was bundled with my copy of Red Hat Linux 6.0. This should be
the equivalent of Win9x's My computer -> "External access" (translation
from dutch) -> <account icon> -> Properties -> Server types -> TCP/IP
settings -> Server assigned nameserver address.
------------------------------
** 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.misc) 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-Misc Digest
******************************