Linux-Misc Digest #36, Volume #25                 Tue, 4 Jul 00 00:13:02 EDT

Contents:
  Re: Printing with Netscape by command line ? (LinuxBoy)
  Re: I used "make install" instead of "make bzImage" is this bad? (Robert Heller)
  Re: umounting a drive on shutdown (Robert Heller)
  Re: Problems with fsck on new disk (Robert Heller)
  Re: 64 MB RAM shown instead of 128 (LinuxBoy)
  Re: Help:Problem Installing RH6.2 from Harddisk (Dex)
  Re: Corel PhotoPaint (Mike Frisch)
  debian ftp install problems ("Griebelske")
  going online (jason)
  Re: newsreader for Linux? (William Wueppelmann)
  fonts problem in Netscape ([EMAIL PROTECTED])
  Apache ("Darren")
  Re: fonts problem in Netscape ("Andrew E. Schulman")
  Re: fonts problem in Netscape (Bit Twister)
  Shell Script (Clif J. Smith)
  Re: NC or Midnight Commander: which came first? ("Jeff Malka")

----------------------------------------------------------------------------

Date: Mon, 03 Jul 2000 20:20:48 -0600
From: LinuxBoy <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Printing with Netscape by command line ?

I dont think so.  If you want to print a page in netscape use the
following command.

"lpr -P printername"   where printername is the name of your printer.

Sorry that I could not be of much help.

LinuxBoy

NDQ wrote:

> Hi,
> It's possible to print with Netscape by command line ?
>
> I mean something like :
>
> $ netscape -print -o toto.ps http://toto.com/page.html
>
> Thanks,
> --
> Nguy�n-�ai Qu�


------------------------------

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: I used "make install" instead of "make bzImage" is this bad?
Date: Tue, 04 Jul 2000 02:17:05 GMT

  "max barwell" <[EMAIL PROTECTED]>,
  In a message on Tue, 04 Jul 2000 03:47:08 +1200, wrote :

"b> I recently compiled my first kernel, I did not read the kernel how to
"b> thoroughly, but I did do
"b> 
"b> make mrproper, make xconfig, make dep, make modules, make modules_install 
"b> 
"b> *BUT* I didnt do "make bzImage", I just did "make install", Is this bad?
"b> It placed new versions of system map and vmlinuz, and links to these new 
"b> versions for my new kernel in my /boot partition. I ran lilo and booted
"b> up, everything seems great, but now Im worried Ive done it wrong. please
"b> explain if you are in the know.

You did nothing really wrong, but you did something 'dangerous' -- if
the kernel you built had not been properly configured or had some problem,
you would have somewhat screwed, unless you had a good boot floppy made
from before the kernel re-build.

Normally, the *safe* thing to do is to either do a make bzImage and
*manually* copy the new image to /boot under a *different* name
(vmlinuz-2.2.12-test or something), make an extra entry in
/etc/lilo.conf for this kernel and re-run lilo.  That way if the new
kernel is broken, you can boot with the old (known working) kernel and
fix things.  Once you are  totally sure that the new kernel is good, you
can rename the old kernel to vmlinuz-2.2.12-old and your test kernel to
vmlinuz-2.2.12, edit /etc/lilo.conf again and re-run lilo.

(Note I am randomly assuming you built a 2.2.12 kernel -- you should
adjust things to match the actual kernel you built.)

"b> 
"b> max
"b> 
"b>                                                                                    
             






 
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

------------------------------

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: umounting a drive on shutdown
Date: Tue, 04 Jul 2000 02:17:04 GMT

  Andrew Williams <[email protected]>,
  In a message on Mon, 03 Jul 2000 14:42:32 +0000, wrote :

AW> Hello - can anyone help with this? It's getting on my fscking nerves!
AW> 
AW> I've bought a new hard disk and mounted the /usr directory on it. I stuck the 
mount command in one of the rc.d files so that it's there when I log in. However, when 
I try and umount it, even if it's the first command I type after logging in it says 
the device is in use. I don't like rebooting with it still mounted - does anyone have 
any ideas??
AW> 
AW>          Thanks very much,

The shutdown process *should* unmount all mounted file systems.

You really should *not* put mount commands in a file under /etc/rc.d/. 
You should put file systems that are 'permanently' mounted in
/etc/fstab.  The system will then automagically fsck & mount (on bootup), and
unmount (on shutdown) these file systems.

Also:  Please hit the 'Enter' key about once ever 70-80 characters.  It
makes your posts easier to read.

AW> 
AW>                Andrew
AW> 
AW>                                                                           






                                                       
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

------------------------------

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Problems with fsck on new disk
Date: Tue, 04 Jul 2000 02:17:05 GMT

  [EMAIL PROTECTED],
  In a message on Mon, 03 Jul 2000 23:47:26 GMT, wrote :

t> I am having problems adding a new harddrive to my system. It was working
t> fine in Windows. It is a Western Digital Caviar 34000
t> specs:
t> 7752 Cylinders
t> 16 heads
t> 63 spt
t> 4000.7 megabytes
t> 
t> I tried to fdisk it. It runs fine, but When I ran an fsck it complained
t> about not being able to find the superblock. I tried iterations of the
t> superblock backup. No luck. I finally ended up doing a mk2efs /dev/hdb
t> 
t> Now I can run fsck on it. I fdisk deleted all partitions. I then ran
t> fsck on it. If I run an "fsck -y /dev/hdb" it runs clean.

/dev/hdb is the *whole* disk.  You need to make at least one partition
on with with fdisk, typically this will be /dev/hdb1, which you then
need to make a file system on with "mk2efs /dev/hdb1", now you can mount
it with "mkdir mount -v -t ext2 /dev/hdb1 /mnt". 
If this works, unmount the disk ("umount -v /mnt"), create a permanent
mount point someplace (maybe /disk2) with mkdir ("mkdir /disk2"), and
edit /etc/fstab to add a line like: "/dev/hdb1 /disk2 ext2 defaults 1 2", 
then mount the disk ("mount -v /disk2").  (It will be automatically
fsck'ed and mounted everytime you boot.)

t> 
t> If I run a "fsck -y -c /dev/hdb" it fails. I get a ton of errors.
t> Here is what I see (small sample):
t> 
t> [root@sunflower ~]# fsck -c -y /dev/hdb
t> Parallelizing fsck version 1.17 (26-Oct-1999)
t> e2fsck 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09
t> Checking for bad blocks (read-only test): done
t> Pass 1: Checking inodes, blocks, and sizes
t> Duplicate blocks found... invoking duplicate block passes.
t> Pass 1B: Rescan for duplicate/bad blocks
t> Illegal block number passed to ext2fs_test_block_bitmap #545972770 for
t> multiply claimed block map
t> 
t> (many of these... and then...)
t> 
t> fsck.ext2: Illegal triply indirect block found while calling
t> ext2fs_block_iterate in pass1b
t> fsck.ext2: Ext2 file too big while calling ext2fs_block_iterate in
t> pass1b
t> fsck.ext2: Ext2 file too big while calling ext2fs_block_iterate in
t> pass1b
t> Duplicate/bad block(s) in inode 29537: 1260
t> 
t> (many of these... and then...)
t> 
t> clone_file: Ext2 directory block not found returned from
t> clone_file_block
t> File /lost+found/#29537 (inode #29537, mod time Wed Jun 27 14:58:48
t> 1906)
t>   has 1 duplicate block(s), shared with 1 file(s):
t>         <filesystem metadata>
t> Duplicated blocks already reassigned or cloned.
t> 
t> Pass 2: Checking directory structure
t> Pass 3: Checking directory connectivity
t> Pass 4: Checking reference counts
t> Pass 5: Checking group summary information
t> 
t> /dev/hdb: ***** FILE SYSTEM WAS MODIFIED *****
t> /dev/hdb: 209402/488640 files (0.2% non-contiguous), 18846/976752 blocks
t> Warning... fsck.ext2 for device /dev/hdb exited with signal 11.
t> 
t> 
t> 
t> 
t> I then end up with a core file in the directory where I ran fsck from. I
t> run gdb on it and it is from fsck. I have rebooted a couple times
t> inbetween.
t> 
t> Do I need to worry about this? The regular fsck runs clean, it's just
t> when I use the -c flag that I get errors, but I would assume I'd want it
t> to run completely clean, yes?
t> 
t> Please help :)
t> 
t> I dont care about anything on the drive, as far as I am concerned, I
t> have wiped it out, but obviously not good enough.
t> 
t> Thank you in advance!!!
t> 
t> -Mike-
t> 
t> 
t> Sent via Deja.com http://www.deja.com/
t> Before you buy.
t>     






                                                                                       
                                   
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

------------------------------

Date: Mon, 03 Jul 2000 20:27:24 -0600
From: LinuxBoy <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: 64 MB RAM shown instead of 128

I have had this same problem with Mandrake.  It uses grub as the boot
loader instead of lilo.  I had to reinstall Mandrake and do a
"expert/custom" install.  this will let you use choose lilo instead of
grub.  It fixed my problem.

LinuxBoy

[EMAIL PROTECTED] wrote:

> When I try the free command, the memory shown is only 64 MB whereas I
> have 128 MB. I am running kernel version 2.2.14 Linux Mandrake 7.0.
> Is there anything I can do about it.?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


------------------------------

From: Dex <[EMAIL PROTECTED]>
Subject: Re: Help:Problem Installing RH6.2 from Harddisk
Date: Mon, 03 Jul 2000 22:19:09 -0400

Homer Jay wrote:

> In article <[EMAIL PROTECTED]>,
>   Dex <[EMAIL PROTECTED]> wrote:
> > Homer Jay wrote:
> >
> > > > I spend much time downloading the entire
> > > > RPMS and base directory of RedHat6.2.
> > > > I am sure the directory structure is correct
> > > > as what RedHat demands. The boot disk
> > > > does work, and I encountered the problem
> > > > when the setup program was gonna reading
> > > > the package informations, it got a signal 11
> > > > and aborted. It  does not give any more
> > > > information. I would like to know what
> > > > can this problem be caused by.
> > >
> > > The sig11 can indicate bad ram or, far less often, a bad motherboard.
> > > You can download memtest86 to thoroughly test your RAM. If it is good
> > > then something else is happening. If the motherboard is bad I would
> > > guess you'd get other problems as well and I hear that this is very
> > > rarely the cause anyway. I suggest two things:
> > > 1) Verify all the files are the correct size. FTP was not designed
> > > to download multiple files. Strangely, we _all_ use it for that
> > > anyway. (You'd think we'd have come up with a better way, but nooooo.)
> > > 2) Check you ram with memtest86.
> > > You will want to write a shell script or download a utiltiy to check
> > > the file sizes for you. Doing this yourself would just take way too
> > > long. You might also try turning off your cache memory. I.e., from
> > > GCC-HOWTO:
> > >
> > > In short, it's the pickiest RAM tester
> > >   commonly available.  If you can't duplicate the bug --- if it doesn't
> > >   stop in the same place when you restart the compilation --- it's
> > >   almost certainly a problem with your hardware (CPU, memory,
> > >   motherboard or cache).
> > >
> > > You could try pulling some of your memory to see if it works then,
> > > but the memtest86 should detect any problems and make that unecessary
> > > (unless a prolem _is_ found). You might try checking redhat's
> > > bugzilla archive. I located a problem with installation that way
> > > once. I hope it works out for you.
>
> > Aren't there better answers to these questions? Many users  have installed
> > other OS's w/o a bad ram problem. I know those systems are kluding, but to
> > tell someone that the OS isn't smart enough to come up with a workaround
> > ins't a very good solution to his problem.
>
> Then put your money where your *mouth* is and provide one. The
> original post asked:
>    > > > information. I would like to know what__________________________
>    > > > can this problem be caused by.__________________________________
> I answered that question. You, on the other hand, have done _nothing_
> to help, unless making uniformed smartass remarks counts as "helping".
>
> As for "Many users have installed other OS's w/o a bad ram problem",
> so what? How does that apply here? If Microcrap Windoze allows an
> install when the RAM is bad, what do you think's going to happen
> down the road at importune moments? Ker-rash! Linux by its nature
> makes a far more intensive use of the hardware, and at least it gives
> _some_ indication as to what the problem might be, unlike M$. (Unless
> you consider a Windows blue screen informative.)
>
> BTW, it's "kludgy", not "kluding" and "OS's" show posession, not the
> plural. "Aren't there better answers to these questions", you asked.
> Well, aren't there better things for you to do junior? Like head to
> the library? See especially Pope, Alexander: "A little learning is a
> dangerous thing; Drink deep, or taste not the Pierian spring."
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

You are absolutely right, of course Homer. I typed that after coming in from a
pretty wild night out. I am going to print up your reply though. My grandkids
will love to see someone calling me junior, lol.


------------------------------

From: [EMAIL PROTECTED] (Mike Frisch)
Subject: Re: Corel PhotoPaint
Date: Tue, 04 Jul 2000 02:24:10 GMT

On 3 Jul 2000 20:33:43 -0500, Dave Brown <[EMAIL PROTECTED]> wrote:
>I downloaded it from their ftp server, but it took several tries (used 
>FileRunner, which does "resume FTPs").  
>
>You didn't mention how you tried to download it, or from where.  Corel's 
>server seemed to by a typical "anonymous ftp" server.

Now tell me: did you get the application to run?  If so, what Linux
dist?  It doesn't seem to run on my relatively stock RH 6.2 setup.

Thanks,

Mike.


------------------------------

From: "Griebelske" <[EMAIL PROTECTED]>
Subject: debian ftp install problems
Date: Tue, 4 Jul 2000 04:24:05 +0200

Hi :)

I am completely unknown to Debian, but i'm trying to install it through FTP.
Someone i know had just installed Debian succesfully so i thought i wouldn't
be that hard :) When he installed it Debian autoprbed his NIC correctly and
he was able to select FTP as installing media.The first problem i
encountered was that it didn't autoprobe my networkcard (RTL1839) correctly
and it gave a 'eth0 : PCI Bus error 2900007' error. This error went away
when i installed the card with the 'irq=11' parameter.
But still i couldn't install via ftp so i choose http, this worked. But
after the reboot and start up it was needed to get some more files through
http. But suddenly it doesn't seem able to resolve the urls :(
Trying to ping the gateway or outside my domain results in 'network
unreachable'. I don't understand why at first it has no trouble installing
via http (altho not being able to install via ftp) and after the reboot it
can't even ping the gateway...

if anyone has any advice it's very welcome :)




------------------------------

From: jason <[EMAIL PROTECTED]>
Subject: going online
Date: Tue, 04 Jul 2000 02:30:06 GMT

hi, i have 2 computers at the moment. the new one is using windows 98 and 
cable modem to connect to the internet and there's no internet connection 
for the old one. the old computer has windows 98 and slackware 7.0 
installed. what can i do to let these 2 operating systems on the old 
computer to get on to the internet by connecting to the new computer? 
thanks for your help!

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: [EMAIL PROTECTED] (William Wueppelmann)
Subject: Re: newsreader for Linux?
Date: Tue, 04 Jul 2000 03:06:30 GMT

In our last episode (Mon, 3 Jul 2000 15:50:23 GMT),
the artist formerly known as John Hasler said:
>William Wueppelmann writes:
>> Everyone knows that mail is the ultimate MUA,...
>
>I had to drag my wife kicking and screaming away from mail to mutt.  After
>about six months she is beginning to grudgingly admit that it might have a
>few desireable features.  I also had to drag her away from rn for news.
>She still hates trn, but I refused to maintain rn anymore.
>
>> ...if you can't happily read news using sed and more,...
>
>Sed?  Wrong tool.

Sorry, I was thinking about a mail file.  You should be able to use sed
to select and print an individual mail message.  I suppose that, for
a news spool, grep and more should instead be used.

(Not that any of this is meant to be serious, of course.)


-- 
It is pitch black.
You are likely to be spammed by a grue.

------------------------------

From: [EMAIL PROTECTED]
Subject: fonts problem in Netscape
Date: Tue, 04 Jul 2000 03:13:30 GMT

The fonts in the Netscape browser are messed up. They are either very
small or don't display the correct fonts. How can I rectify this? If I
need to install the proper fonts, what are they and how to get them?

Please help.


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: "Darren" <[EMAIL PROTECTED]>
Subject: Apache
Date: Mon, 3 Jul 2000 10:41:32 -0500

I had Apache running the other day.  I turned off my computer and when I
came back to it today, I couldn't get Apache to load.  I tried using the
"/usr/local/apache/bin/apachectl start" script.  I don't get any errors, but
when I use "/usr/local/apache/bin/apachectl status", it shows that it is not
running (I forget the exact message).  What could have changed?  I am using
php4 and mysql if that helps or makes a difference.  BTW, I also tried
executing the httpd file.  Again, no errors echo to screen, it just doesn't
run.

TIA,

Darren



------------------------------

From: "Andrew E. Schulman" <[EMAIL PROTECTED]>
Subject: Re: fonts problem in Netscape
Date: Mon, 03 Jul 2000 23:53:16 -0400

> The fonts in the Netscape browser are messed up. They are either very
> small or don't display the correct fonts. How can I rectify this? If I
> need to install the proper fonts, what are they and how to get them?

See the Font De-Uglification HOWTO!

------------------------------

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: fonts problem in Netscape
Reply-To: This_news_group.invalid
Date: Tue, 04 Jul 2000 03:59:58 GMT

http://www.mandrakeuser.org/xwin/xfont.html
http://www.linuxdoc.org/HOWTO/mini/FDU.html

On Tue, 04 Jul 2000 03:13:30 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>The fonts in the Netscape browser are messed up. They are either very
>small or don't display the correct fonts. How can I rectify this? If I
>need to install the proper fonts, what are they and how to get them?

------------------------------

From: Clif J. Smith <[EMAIL PROTECTED]>
Subject: Shell Script
Date: Tue, 04 Jul 2000 03:50:35 GMT

I'm trying to do the following:

I've got a file with systems listed down a column.  I want to perform
an action for each system, one after another.  For example, with
the following file contents:

system1;miscdata
system2;miscdata
system3;miscdata
system4;miscdata

I want to use the system in each line to perform a number of functions,
then move to the next system.  I've done this before, I think using a
combination of cuts and a while, but can't remember how.


Any help or insight is appreciated.

Thanks, Clif


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: "Jeff Malka" <[EMAIL PROTECTED]>
Subject: Re: NC or Midnight Commander: which came first?
Date: Mon, 3 Jul 2000 22:43:17 -0400

M-? is new to me.  I was used to the Alt menu keys of which Alt F7 is find
files, etc.  You must have had a very old version of NC.

--
Jeff Malka <[EMAIL PROTECTED]>
PoD <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Jeff Malka wrote:
> >
> > I thought so but since I am new to the Unix world I was not sure.  It
does
> > not have all the capabilities of NC though.  Things like Alt F7 to
search,
> > etc.
> >
>
> MC has all the features that I remember NC having ( M-? to find files F7
> to search in a file) and much more, like opening archives as virtual
> directories, FTP, etc.
>
> PoD.



------------------------------


** 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
******************************

Reply via email to