Linux-Misc Digest #311, Volume #27 Thu, 8 Mar 01 04:13:01 EST
Contents:
Partition Table corrupted (Chi Wai Lai)
Re: crontab q? (Rick Miller)
Re: crontab q? (Rick Miller)
Re: strange root passwd problem! (Rick Miller)
Re: I've downloaded the ISO file. Now what do I do with it? I've burned a CD and
it won't boot with it. (John Winters)
Re: help:Could not determine local IP address (David. E. Goble)
Re: How to close OPENED unused sockets? (Villy Kruse)
Re: printer improvement (E J)
Re: mount iso read / write [redhat 7.0] ("Eric")
Re: Help! partitioning woes with RH 6.1 ("Eric")
Re: I've downloaded the ISO file. Now what do I do with it? I've (riceman)
/dev/ ownership and permisions. Change at logon times? (Lowell Alleman)
Re: /dev/ ownership and permisions. Change at logon times? (Michael Heiming)
Re: How to make the computer CD-bootable ? ("muzh")
Re: Netscape on Linux (Michael Heiming)
----------------------------------------------------------------------------
From: Chi Wai Lai <[EMAIL PROTECTED]>
Subject: Partition Table corrupted
Date: Wed, 07 Mar 2001 22:00:18 -0800
Just have some urgent questions to ask: is it at all possible to recover
some of my data if my partition table is lost?
The situation is as follows: I installed win95 long time ago, and
install Linux recently. The partition layout is:
win_c | win_d | swap | Linux | hypernation for laptop |
I have backed up data in the windows partition (c: and d:), and then I
installed win98, change c: and d: to FAT32, and then I decided to install
win95 instead of win98, so I format the c: and d: and reboot the computer
with DOS6.2, and it said the computer is not configured to install DOS 6.2
( I think it's because it's in FAT32 ), so it asked to configure c: to be
able to install DOS 6.2, and then when I reboot the computer, the
partition table is lost. I booted the computer with DOS and try to see the
partition with fdisk and there is only one DOS partition of about 2G. I tried
using the Linux boot disk created by
mkbootdisk but 'kernel panic' appear. I'm just wondering if it's at all
possible
to recover the data in the Linux partition, even if it's a painful way.
Let me know your answer asap,
Thanks,
regards,
Sau
------------------------------
From: Rick Miller <[EMAIL PROTECTED]>
Subject: Re: crontab q?
Date: Thu, 08 Mar 2001 06:21:39 GMT
"Sudhakar R." wrote:
>
> I want to run a script which will look thru all my users directories and
> get rid of their .netscape/cache once everyday.
>
> Can someone please tell me how to do this and if u already havea script so
> mail it to me. I presume this can be done with a crontab file in
> /etc/cron.daily/ .
Here's a script that will do it...I'm somewhat new to shell scripting,
if there's a better way, it would be good to know:
#!/bin/ksh
for ea in `ls /export/home`
do
if [ -d $ea/.netscape/cache ]; then
rm -rf $ea/.netscape/cache/*
fi
done
--Rick
------------------------------
From: Rick Miller <[EMAIL PROTECTED]>
Subject: Re: crontab q?
Date: Thu, 08 Mar 2001 06:22:41 GMT
"Sudhakar R." wrote:
>
> I want to run a script which will look thru all my users directories and
> get rid of their .netscape/cache once everyday.
>
> Can someone please tell me how to do this and if u already havea script so
> mail it to me. I presume this can be done with a crontab file in
> /etc/cron.daily/ .
Correction in the above script...
Most Linux distros, by default (iirc, don't have /bin/ksh
installed...just use /bin/sh
--Rick
------------------------------
From: Rick Miller <[EMAIL PROTECTED]>
Subject: Re: strange root passwd problem!
Date: Thu, 08 Mar 2001 06:24:01 GMT
"Sudhakar R." wrote:
>
> I run a RH 7.0 system and today i noticed something very strange. When I
> telnet to the localhost from an XTerm under a user login and try logging
> in as root I get invalid passwd. But I have no problem logging into the
> system as root from Kdm or the text consoles directly. su from under a
> user shell also works.
>
> So, is this a bug or some kind of safety feature!?
It's a safety feature to keep people from trying to telnet in using the
root account. Since telnet is plain text transmission, it is quite
simple to snoop passwords. In light of this, I would recommend using
ssh rather than telnet.
--Rick
------------------------------
From: [EMAIL PROTECTED] (John Winters)
Crossposted-To:
comp.os.linux.networking,uk.comp.os.linux,alt.os.linux.suse,linux.redhat
Subject: Re: I've downloaded the ISO file. Now what do I do with it? I've burned a
CD and it won't boot with it.
Date: 8 Mar 2001 07:02:31 -0000
In article <986pu7$5h9$[EMAIL PROTECTED]>,
Newbie from Win98 <[EMAIL PROTECTED]> wrote:
>
>"John Winters" <[EMAIL PROTECTED]> wrote in message
>news:985mao$q3l$[EMAIL PROTECTED]...
[snip]
>> Just to clarify a bit - you *must* burn the iso file directly to the CD.
>It's
>> the other way around which won't work. If you've made a CD with a copy of
>the
>> ISO on it (as a file) then it won't work.
>
>That's exactly what I have done. I used Nero 4.0.5.0 Creative. It came
>with a Creative CD-RW drive. I simply chose to make a Data CD and dragged
>the file over to the blank CD area and pressed Burn - there is no setting
>for making a "Boot Image" in this version of Nero.
>
>I can see the ISO file under Windows on the CD. It's just a big single
>file.
That's your problem then. Your CD contains a copy of the ISO file rather
than being produced from the ISO file.
The process of burning a CD involves two stages - first you create
an image of the CD containing all the files you want on it, then you
burn that image to CD. You've done both stages when you really only
wanted to do the second one. The ISO file is a pre-prepared CD image
which just wants burning to CD.
>Something tells me that I need to "work" the ISO as it is being put onto the
>CD. How?
No - you need to prevent your CD burning software from "working" the ISO
as it is written to CD. Look for an option involving pre-prepared images,
(possibly referred to as raw images). If your CD burning software doesn't
have such an option you'll need to get some better software.
HTH
John
--
John Winters. Wallingford, Oxon, England.
The Linux Emporium - the source for Linux CDs in the UK
See http://www.linuxemporium.co.uk/
------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,alt.linux
Subject: Re: help:Could not determine local IP address
Date: Thu, 08 Mar 2001 07:31:12 GMT
Reply-To: goble@gtech
On 6 Mar 2001 11:43:42 +0100, Vincent Zweije <[EMAIL PROTECTED]> wrote:
>
Hi Vincent;
Thanks for your reply. I meant dialin from outside into my own
computer.
>
>You should specify your local IP address in your configuration file.
>
>You want to call the host that's dialing in "rgtech"? That's okay.
>However, there's no hostname for your local PPP address, only for your
>loopback address. Maybe you should have just this:
>
> 127.0.0.1 localhost
> 192.168.0.1 gtech
> 192.168.0.25 rgtech
>
Ok, I have tried this, but now, from the server, I can not access my
web pages from gtech, only from localhost. I also can not telnet into
gtech. When on the server do I have to use localhost instead of gtech?
>
>You have specified the remote IP address for the PPP link as
>"192.168.0.25". Put the local IP address before ":", for instance
>"192.168.0.1:192.168.0.25".
>
Ok, I have changed it. But it did not work (see below)
>
>[Reformatted. Please do not word wrap your logs.]
>
I did not, my newsreader (freeAgent) must have.
>
>What happens in these 3 seconds? Where is your IPCP negotiation?
>
There were and still are none.
Here is the /var/log/ppp
##################################
Mar 8 17:51:18 gtech pppd[778]: pppd 2.3.11 started by ppp, uid 0
Mar 8 17:51:18 gtech pppd[778]: Using interface ppp0
Mar 8 17:51:18 gtech pppd[778]: Connect: ppp0 <--> /dev/ttyS2
Mar 8 17:51:18 gtech pppd[778]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <auth pap> <magic 0x1f40450a> <pcomp> <accomp>]
Mar 8 17:51:18 gtech pppd[778]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <auth pap> <magic 0x1f40450a> <pcomp> <accomp>]
Mar 8 17:51:20 gtech pppd[778]: rcvd [LCP ConfReq id=0x2 <asyncmap
0x0> <magic 0x2a> <pcomp> <accomp>]
Mar 8 17:51:20 gtech pppd[778]: sent [LCP ConfAck id=0x2 <asyncmap
0x0> <magic 0x2a> <pcomp> <accomp>]
Mar 8 17:51:20 gtech pppd[778]: rcvd [PAP AuthReq id=0x3
user="begoble" password=<hidden>]
Mar 8 17:51:21 gtech pppd[778]: user begoble logged in
Mar 8 17:51:21 gtech pppd[778]: Could not determine local IP address
Mar 8 17:51:22 gtech pppd[778]: Connection terminated.
Mar 8 17:51:22 gtech pppd[778]: Connect time 0.1 minutes.
Mar 8 17:51:22 gtech pppd[778]: Sent 288 bytes, received 347 bytes.
Mar 8 17:51:22 gtech pppd[778]: Exit.
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To:
comp.unix.programmer,comp.os.linux.networking,alt.os.linux,comp.dcom.net-management,alt.os.linux.mandrake
Subject: Re: How to close OPENED unused sockets?
Date: 8 Mar 2001 07:34:42 GMT
On Wed, 07 Mar 2001 19:46:09 GMT, Barry Margolin <[EMAIL PROTECTED]> wrote:
>
>When a process terminates, all its file and socket descriptors are
>automatically closed by the OS. The only way netspec could be leaving
>connections in ESTABLISHED state is if it forks background processes and
>leaves them running when it's done. You should use ps to find those
>processes and kill them.
>
Dont forget lsof.
Villy
------------------------------
From: E J <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: Re: printer improvement
Date: Thu, 08 Mar 2001 07:28:52 GMT
Did you try www.linuxprinting.org or see www.hp.com for the latest linux
printer drivers for their laserjet?
Roland Zumkeller wrote:
> Is there a way to improove the printing quality of a HP Laserjet 4L?
>
> I'm using apsfilter, which works. But there are to things that bother me:
>
> 1) Fonts (especially small ones) look bad when printing ps files. It seems
> that antialiasing is turned off. (Is this possible?)
>
> 2) When printing images (or web pages and the like), they appear to be
> dithered or rastered (I'm not sure about the correct English term), that
> is they consist of quite big points, similiar to newspaper.
>
> Any help is appreciated,
> Thanks,
>
> - Roland
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: mount iso read / write [redhat 7.0]
Date: Thu, 8 Mar 2001 08:44:11 +0100
> Is there possibly a 3rd party utility which handles his. Under the mac
> there is a product called, "Toast" which does handle this feature,
> permiting the editing of ISO 9660 files. Not impossible, but difficult
> I'd imagine.
I really wouldn't know. But it would have to do the exact same thing
> The object of my request for info is to keep the bootstrap while
> adding/changing files.
>
What's the problem with copying the CD contents to a normal directory tree,
(cp -a /mnt/cdrom /mnt/cdrom_backup)
changing the file you want to change, and recreate an image?
It's not that difficult, no need for other software for a fairly
simple task like this.
Eric
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Help! partitioning woes with RH 6.1
Date: Thu, 8 Mar 2001 08:52:03 +0100
> I'm seeing strange things:
>
> When I install from a 6.1 install/boot floppy containing a 2.2.14 kernel
> and partition after the following scheme:
>
> /boot /dev/hda1 16 MB
> / /dev/hda7 3.2 GB
> swap /dev/hda5 512 MB
> /data /dev/hda6 35.5 GB (or whatever the rest to 41 GB is - disk is an
> IBM-DTLA-304050 BIOS [Auto] 1024/255/63 CHS=8422 Max LBA 41174 MB
>
> and boot the first time after install my root disk
> jumps to /dev/hda8 and is corrupted. (fsck fails).
What is hda8?
You don't have one, right?
Can you make that partitiontable, using fdisk?
> How can I make sure that I don't install the kernel that is on the
> 6.1 stock CD? That is, I want to make sure to install the
> updated kernel (e.g.2.2.17-14) that I copied (vmlinuz) to the boot
> floppy.
you're running it during install,
after you installed everything, use that floppy again to boot, and
specify "linux root=/dev/hda7" at the lilo prompt.
Then install the new kernel, update lilo.conf, rerun `/sbin/lilo -v`
and reboot, from HDD now, using the new kernel you just installed.
Don't try to boot with the old kernel
> Help! I'm pulling my hairs now. I installed at least 10 times
> from the CD and get this partition table/FS weirdness.
What weirdness, show me the table (fdisk -l /dev/hda)
Eric
------------------------------
From: riceman <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,uk.comp.os.linux,alt.os.linux.suse,linux.redhat,alt.os.linux
Subject: Re: I've downloaded the ISO file. Now what do I do with it? I've
Date: Thu, 08 Mar 2001 07:53:35 GMT
Unfortunately I don't have NERO on this win98 machine, but I'll try to help you
anyways.
Consider the ISO file sorta like a ZIP file ( without compression). The ISO
has all the directories and files needed to install Suse on you computer.
Consider your CD burning software sorta like winzip. However, your Nero
software won't allow you to extract the ISO file to your hard drive, ( at least
not that I know of. IF anyone knows that nero can do this please correct me. )
Nero should however take that ISO file and open it up to your blank cdr or cdrw
disk by burning it to CD. Go into Nero, look in your drop down menu's ( and
possible sub menus ) for an option called "create disk from image file". They
may phrase it differently. Also if I remember Nero correctly ( it's on my office
server but I haven't seen it in months) there's a list or CD making options on
the left column of the screen. There may be an option there to make a cd from an
ISO file. If you can find that option point Nero to your ISO image and click
burn.
I hope this helps somewhat. Unfortunately I won't be at the office anytime
soon or I would try this myself and give you a step by step. Perhaps some in
these news groups that uses Nero could write a mini-How-To?
Good
Luck, Jeremy
Newbie from Win98 wrote:
> An example of a frustrating How To is here. The question asks exactly what
> I want to do, the reply mentions how to do it under Linux and points to an
> out of date, non-Windows way of doing it. Then the person who asked the
> original question writes back saying:
>
> "Jim,
>
> Thanks for your information. And ironically, shortly (next day) after I
> wrote you the email, I did find out what was going wrong and how to fix it.
>
> WinOnCD did have the capability, but it was somewhat a "hidden" feature of
> sorts.
>
> I do appreciate your response, though.
>
> -Lewis"
>
> He didn't even mention how he did it in WinOnCD!!!! ARRggghhh!
>
> Please please please can some one help me to make my ISO file, which took
> hours to download, into a bootable CD so that I can install my first ever
> Linux OS.
>
> And my PC is bootable from CD. I've been able to run YAST2 (setup program
> from SuSE) on a floppy and it can detect my hardware so I am confident the
> install will be okay once it gets going. YAST2 stops when it gets as far as
> asking for the boot CD, I tell it my CDROM and it says that the CD is not a
> valid, please insert CD 1. I also tried out a floppy from SuSE with the
> "bootdisk" file and that also asks for a CD. It must be that the ISO file
> copied onto a CD is not enough.
>
> Basically I've copied the ISO straight to a CD. Should I do something else
> to put it on the CD? Please remember I do not have any Linux on my PC, just
> Windows 98.
>
> "Newbie from Win98" <[EMAIL PROTECTED]> wrote in message
> news:986t5o$ba0$[EMAIL PROTECTED]...
> > Dear All,
> >
> > please can you help me? I've included more information as well as adding
> > another Newsgroup (alt.os.linux) so I am re-posting this. Please see if
> you
> > can help me as I have now spent over 2 days searching the internet and
> > reading everything I can get my hands on but so far it hasn't helped me.
> >
> > I've downloaded the SuSE EVal 7_0 ISO file. Now what do I do with it?
> I've
> > burned a CD and it won't boot with it. Do I need to unzip it or
> something?
> > I can see the ISO file on the CD under Windows 98.
> >
> > I used Nero Burning ROM software v4.0.5.0 that came free with my Creative
> > CD-RW. I can see the ISO file on the CD in Windows. There was a mention
> in
> > the Nero Help File of being able to Burn an Image but this option was not
> > where the help file said it would be so I could not do a "Burn Image".
> > Something tells me this is my downfall.
> >
> > I do not have any copies of Linux on this box and I have not installed
> Linux
> > before. All the HOW-TO's mention making an ISO bootable from within
> Linux,
> > none actually specify how to do this completely under Windows.
> >
> > The filename is: live-evaluation-i386-70.iso
> >
> > It's my first time trying Linux so please be gentle with me, no flames
> > please.
> >
> > Thanks for any help you an give me.
> >
> > Martin.
> >
> >
> >
------------------------------
From: Lowell Alleman <[EMAIL PROTECTED]>
Subject: /dev/ ownership and permisions. Change at logon times?
Crossposted-To: alt.os.linux,comp.os.linux.setup
Reply-To: [EMAIL PROTECTED]
Date: Thu, 08 Mar 2001 08:11:46 GMT
Can someone explain to me how the permissions and ownership of the files
under /dev/ are supposto change as a user logs on? (particularly the
following devices: sound card, zip drive, cdrom, floppy drive..)
I've looked though a couple of books now, but none of them appear to touch
this topic specificly, So I'll appreciate anything you have to say on the
subject!
Thanks in advance!
Lowell C. Alleman
[EMAIL PROTECTED]
------------------------------
Date: Thu, 08 Mar 2001 09:50:31 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: /dev/ ownership and permisions. Change at logon times?
Lowell Alleman wrote:
> Can someone explain to me how the permissions and ownership of the files
> under /dev/ are supposto change as a user logs on? (particularly the
> following devices: sound card, zip drive, cdrom, floppy drive..)
Why should those perms change in case some user logs in, sure you could
write something in /etc/profile that changes those perms in case someone
logs on, but what would be the advantage of doing something like this?
man mount
describes how to enable mounting of a cdrom for users.
grep user /etc/fstab
/dev/cdrom /cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/scd1 /cdrom-b iso9660 ro,noauto,user 0 0
/dev/fd0 /floppy auto noauto,user 0 0
Good luck
Michael Heiming
>
>
> I've looked though a couple of books now, but none of them appear to touch
> this topic specificly, So I'll appreciate anything you have to say on the
> subject!
>
> Thanks in advance!
>
> Lowell C. Alleman
> [EMAIL PROTECTED]
------------------------------
From: "muzh" <[EMAIL PROTECTED]>
Subject: Re: How to make the computer CD-bootable ?
Date: Thu, 08 Mar 2001 21:59:53 +1300
I don't think it would work the way you describe.
Maybe a motherboard BIOS update would be the way to go, or even a new
motherboard -- :)
Recently, the keys of "Arctic Storm"
<[EMAIL PROTECTED]> 's computer randomly danced
and produced <A0Dp6.143$[EMAIL PROTECTED]> :
> I have a computer that's not CD bootable. I would like to install
> something from a CD, and the installation would be much easier if the
> computer were CD bootable. Is there a way to boot from the CD, after
> booting from a Linux floppy, DOS floppy, or something like that,...
> Yes, there's a way to install the software even if the computer is not
> CD bootable, but that would be much more difficult and take more work.
> Thanks.
>
>
--
Never trust a man in a suit
cll
------------------------------
Date: Thu, 08 Mar 2001 10:02:12 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Netscape on Linux
Jean-David Beyer wrote:
> bmeson wrote:
> >
> > Hi, I'm using Redhat 6.2 with 1028x768 resolution monitor. I found the
> > character display in netscape is rather crude and ugly. And I tried various
> > font setting in vain. The IE and Netscape in the Windows dual system on the
> > same machine are fine.
> >
> > Does anyone here have same problem? Any suggestion?
> >
> > Thanks.
>
> I use
> Helvetica (Adobe) 14 point for variable width font and
> Courier (Adobe) 14 point for fixed width font.
> I also tell Netscape to use my default fonts, overriding
> document-specified fonts. This is adequate, though not wonderful.
>
That's the same I do, except I use different fonts, but overriding
document-specific fonts seems to be the best way to actualy read some sites,
where the designers are to dump, to test the pages with something different than
IE.
Sometimes, I write a polite email to the webmaster, telling them that it's
almost
impossible to read their site with NS/Linux, but that gets boring...:-(
Michael Heiming
>
> --
> .~. Jean-David Beyer Registered Linux User 85642.
> /V\ Registered Machine 73926.
> /( )\ Shrewsbury, New Jersey http://counter.li.org
> ^^-^^ 5:25pm up 5 days, 30 min, 3 users, load average: 2.09, 2.12,
> 2.05
------------------------------
** 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.misc.
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
******************************