Linux-Misc Digest #978, Volume #24               Wed, 28 Jun 00 18:13:03 EDT

Contents:
  Re: Routing problem: eth0 vs ppp0 (Akira Yamanita)
  Re: Display of pages in Netscape 4.72 w/ RH6.2 ([EMAIL PROTECTED])
  Re: Linux freeze when processing huge files (Dances With Crows)
  Re: Starting Linux without LILO (Leonard Evens)
  kernel 2.2.16 questions ([EMAIL PROTECTED])
  Re: Linux Crashes (Leonard Evens)
  Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'? 
([EMAIL PROTECTED])
  Re: kernel 2.2.16 questions (Vincent Fox)
  Re: Need a small C program (Chance Harris)
  Re: Need a small C program ("Kipz")
  Re: Using CDRW as tar-like device (Jim McDonald)
  Re: Gnome vs KDE (Cihl)
  Re: insmod failed? ([EMAIL PROTECTED])

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

From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Routing problem: eth0 vs ppp0
Date: Wed, 28 Jun 2000 20:56:13 GMT

Carl Benson wrote:
> 
> I have a user with a laptop running RH6.1.
> 
> At work, he connects through eth0, and has a fixed IP address,
> say 159.107.106.24.
> 
> At home, he connects to an ISP through a modem card using PPP.
> The ISP gives him another fixed IP address, say 287.181.165.101.
> 
> Problem: from home, he can reach all the hosts at work on
> 159.107.*.*  *except*  those on 159.107.106.*. Why? because his
> routing table routes any packets bound for 159.107.106.* through
> eth0, not ppp0. And at home, eth0 isn't connected.
> 
> I've been told that his laptop is in fact functioning as a
> router. I don't understand all the implications of that. Anyhow,
> 
> Seems to me that at home, he could use the route command to
> explicitly delete 159.107.106.0 as a route, then any traffic to
> 159.107.106.* would take the default route through the ISP
> gateway.
> 
> Can someone tell me if this is so?
> 
> And, is there some way to set up his network configuration so
> it "does the right thing" when boots up at home, vs at work?
> 
> --
> Carl Benson

Yeah, sounds OK. You could try using a configuation profile
so it doesn't bring up eth0 in the first place. ifdown eth0
should work too.

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

From: [EMAIL PROTECTED]
Subject: Re: Display of pages in Netscape 4.72 w/ RH6.2
Date: Wed, 28 Jun 2000 20:48:54 GMT

This brings up the whole FONT issue with linux and the X server.  X does
not support TrueType fonts natively (not the one that comes with redhat
6.2).  Redhat 6.2 comes with a truetype font server, called xfs, which
renders the truetype fonts for X programs.

X is picking huge fonts to give to the dropdown list boxes and it ends
up making the whole thing look stupid.

It would help to give additional fonts to xfs, the font server.  If you
have a windows machine you can copy windows' default fonts from, that
would help.

There is a how-to available called "Font deuglification".  Last time I
looked at the linux documentation project's how-to list, it was not
included, so you may have to search for it.  It will have instructions
on how to add some fonts to the font server, and your display will
render more-correctly, although still not perfectly.  Netscape 4.72 its
self doesn't handle fonts very will IMO.

You can also tinker with the new Netscape 6.  Go to www.netscape.com and
pick downloads from their "other downloads directory", and grab
netscape6.  My first impressions are that it will render the fonts more
friendly-like.

In article <8jdmjn$s6u$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Hello.  I am new to Linux and am running Redhat 6.2.  I have a clean
> install and have not modified anything.  When I go to pages (espn.com,
> for example), the buttons and dropdown lists appear huge and cover up
> text on the page.  I would appreciate any suggestions on how to change
> this.  Thank you.
>
> Matthew
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


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

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Linux freeze when processing huge files
Date: 28 Jun 2000 17:04:32 EDT
Reply-To: [EMAIL PROTECTED]

On Wed, 28 Jun 2000 20:27:26 GMT, Jean-François Beaumont 
<<[EMAIL PROTECTED]>> 
shouted forth into the ether:
>Okay. Thank you! This fix the problem of my huge files. DMA was
>effectively disable. Now, the second problem i mentionned:
>
>" When a program is executed, it takes 99% of the cpu (when it is alone)
>and when the program  require more than physical memory, swap partion
>is used and the program slow down to 3% of the cpu time. "
>still there and performance of heavy programs (450 megs of RAM and
>more) will run like this for ever because they run too slow.
>Do you have an idea?

Buy more RAM?  Seriously, if a program malloc()s 256M and you only have
192M, you're going to hit the swap partition no matter what you do unless
you buy more RAM.  WTF are you running, anyway, that requires 450M?  Not
even Netscape+VMWare+Oracle Lite requires that much.

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Starting Linux without LILO
Date: Wed, 28 Jun 2000 15:46:01 -0500

Kurt Anneborg wrote:
> 
> Hello!
> Is it possible to start Linux in Linux/NT computer without
> using LILO thus i.e. set starting conditions in MBR from NT.
> 
> [EMAIL PROTECTED]

If you want to boot Linux from your hard drive, you pretty much
have to use lilo.  But that is not really what your problem is.
You don't want to put the lilo boot loader in the MBR because
that gives NT indigestion.

The standard way to set up a dual boot Linux+NT system is 
described in the Linux+NT-loader (mini) HOWTO, which should
be available as part of any Linux distribution.  It can also
be found at the Linux Documentation Project web page.
That method uses the NT loader as the primary boot loader and
by an artifice lets it find the lilo boot loader as a secondary
loader for the purpose of booting Linux from the hard disk.
See the HOWTO for details.

There is another way to set up a Linux+NT system which uses
lilo but does not change the MBR.   The point is to put the
lilo boot loader in some other partition, not in the MBR,
and then using the Linux fdisk make that the active partition
on the disk.  (This assumes you have one disk.  This method
won't work if you can't put lilo somewhere on the first disk
if you have more than one disk.)  With some effort all this
can be done during installation, but it is easier to boot
Linux from the boot floppy made during the installation
and take care of the details afterwards.

Here is an example of what the partitioning might look like
for a system with one IDE hard drive.

/dev/hda1       NT
/dev/hda2*      Linux primary partition marked active
/dev/hda3       Extended partition
/dev/hda5       Linux logical partition
/dev/hda6       Linux logical partition
/dev/hda7       Linux swap partition

And /etc/lilo.conf would look like

boot=/dev/hda2   #This would normally be /dev/hda for the MBR
. 
. 
. 
. 
image=/boot/vmlinuz...
        label=linux
. 
. 
. 
other=/dev/hda1
        label=nt
        table=/dev/hda

The dots represent other usual lilo.conf entries.

You can't normally put the lilo boot loader in a logical
partition such as /dev/hda5, but you could put it in the
extended partition containing it, in this case /dev/hda3.

Where the dots represent normal lilo.conf entries

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: [EMAIL PROTECTED]
Subject: kernel 2.2.16 questions
Date: Wed, 28 Jun 2000 21:04:03 GMT

I have a quick question about rebuilding my kernel to the latest stable
(currently 2.2.16).

I noticed quite a few changes in the menu options.  I also noticed that
many common options are not even defaulted as modules. such as network
devices like PPP, generic sound support, etc.  All of these are modules
that came with my redhat 6.2 distro.

Is this normal, and should I go through every option to decide if the
device I want should be a module or built-in?  I'm a bit new at the
kernel-building :-).

And I noticed that when I pass vga=ask to the kernel via lilo, it
ignores that option unlike the 2.2.14 kernel that comes with RH 6.2.  Is
there any way to get the smaller text mode?

Aaron


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

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Linux Crashes
Date: Wed, 28 Jun 2000 15:48:41 -0500

Richard Goldberg wrote:
> 
> Hi all,
> 
> I've been running linux for years on several different machines. My
> current machine at work is a PII400 with 196 Mb ram running VA Linux's
> version of Red Hat. The only interesting piece of software I'm running is
> VMWare 2.0.1 (with winnt as a virtual machine).
> 
> After a year or so of almost perfect performance, in the past 1-2
> months I've had 10-12 "crashes". Some of these crashes have been something
> strange happening in KDE (like I can no longer interact with any
> windows), so I try to logout and it just hands on me. I switch to a
> virtual terminal and try to shutdown (either log in as root and issue a
> shutdown/reboot command, or do a ctrl-alt-delete) and it gives me some
> error about unable to go to init state *.
> 
> The other type of crashes I'm having are much more troubling. I'll be
> working away (running pine or tin or vi or just in a konsole) and all of
> the sudden the computer reboots.
> 
> In either case there is nothing useful in the logs.
> 
> Around the time that this started, I did a couple things.
>         1. Upgrade from VA linux 6.1 or 6.2
>         2. Upgrade from VMWare 1.x ro 2.x
>         3. Replace my motherboard (clamp on a ram slot was busted)
> 
> I have no explanation for what could be causing the first type of crash,
> and my only guess about the second is a HW problem (maybe the MB isn't
> grounded right...).
> 
> If anyone have any ideas on what might be causing these problems, and/or
> how to resolve them, please share your wisdom.
> 
> Thanks in advance

I don't really know what your problem is, but I would bet it is
a hardware problem.  

If you bought your machine from VALinux, you might consult them,
even if it is past warranty.  In the past I've found them
reasonably helpful.

> 
> ***************************** **************************************
> *Rick Goldberg              * *                                    *
> *Graduate Student           * * "I never wanted to be average,     *
> *Computer Science Dept      * *   because when you are average you *
> *York University            * *   are just as far from the top as  *
> *Toronto, Canada            * *   you are from the bottom."        *
> *[EMAIL PROTECTED]             * *              -Stan Cottrell-       *
> *www.cs.yorku.ca/~rickg     * *                                    *
> ***************************** **************************************
>      "If you don't invest very much, the defeat doesn't hurt,
>              But winning isn't very exciting."

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: [EMAIL PROTECTED]
Crossposted-To: microsoft.public.windowsnt.misc,linux.redhat.misc
Subject: Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'?
Date: Wed, 28 Jun 2000 21:10:49 GMT

Hi all,

The following program is valid for MSDOS6.2 or older.

C:\>debug
-a
0AD7:0100 movax,201
0AD7:0103 movbx,7c00
0AD7:0106 movcx,1
0AD7:0109 movdx,80
0AD7:010C int13
0AD7:010E int3
0AD7:010F
-g
-d7c00 7dff
You can see the Master Boot Record now.

-d7dbe 7dfd
You can see the partition table (4 entries) now.

-f7dbe 7dfd 0
Clear the partition table.

-a
0AD7:010F movax,301
0AD7:0112
-g=100
Write the MBR back to hard disk.
You should have deleted all partitions in this hard disk, and you can
repartition it now.

I have used this simple technique to remove NT & Win2000 partitions for
times.

If you have enabled the anti virus function in BIOS, the computer will
show a small box to warn you when you try to write back the MBR.

As I know, BIOS load MBR to 0:7c00, then jumt to this address. Magic
begins from this point.

-u100
You can see the MBR code, or a MBR virus code maybe. :)
It usually move itself to other place, then load the activated
partition's boot sector to 0:7c00.

Tom Wang


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

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

From: [EMAIL PROTECTED] (Vincent Fox)
Subject: Re: kernel 2.2.16 questions
Date: 28 Jun 2000 21:23:38 GMT

In <8jdp7l$uie$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:

>I have a quick question about rebuilding my kernel to the latest stable
>(currently 2.2.16).

>I noticed quite a few changes in the menu options.  I also noticed that
>many common options are not even defaulted as modules. such as network
>devices like PPP, generic sound support, etc.  All of these are modules
>that came with my redhat 6.2 distro.

>Is this normal, and should I go through every option to decide if the
>device I want should be a module or built-in?  I'm a bit new at the
>kernel-building :-).

What I would do, go into your old kernel, make menuconfig.
>From there, go to the bottom, save out your kernel config as 
a file somewhere accessible to all kernels like /usr/src/
Now go into the new kernel tree, make menuconfig, and read
in this kernel config file. Done. I'm sure someone else will
have a better simpler faster way.

--
        "Who needs horror movies when we have Microsoft"?
         -- Christine Comaford, PC Week, 27/9/95

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

From: Chance Harris <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.help,comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Need a small C program
Date: 28 Jun 2000 21:33:47 GMT

In comp.os.linux.development.apps Gerald J. Puhl <[EMAIL PROTECTED]> wrote:
: To any who can help:

: I am in need of a C program Windows 95/NT4.0 that will simply open
: socket and connect to another machine on a port number.  I am an
: experienced C programmer on Linux, but I am having trouble learning
: Borland C++ (just don't have the time).  This app will be executed to
: initiate my Linux server to do some file system tasks via inetd.  I can
: fill in the machine name and port number needed.  BTW I am using Borland
: 5.02 C/C++.  I feel stupid since I can't get a simple program like this
: together, but, I don't have much experience with Windows machines.  If
: you can help please email me direct.

Use perl. At least on the windows side. Their sockets kick ass, and
don't require you to read any MS documentation.

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

From: "Kipz" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.help,comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Need a small C program
Date: Wed, 28 Jun 2000 21:32:25 GMT

Try using some propietry windows c++ builder thingy. I used one once for
exactly that purpse, and it was very easy. Visual C++ or Borland C++ builder
will allow you to drag and drop network stuff. Using borland c++ will
definately be problematic for windows programming.
kipz.

Nate Eldredge <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Gerald J. Puhl" <[EMAIL PROTECTED]> writes:
>
> > To any who can help:
> >
> > I am in need of a C program Windows 95/NT4.0 that will simply open
> > socket and connect to another machine on a port number.  I am an
> > experienced C programmer on Linux, but I am having trouble learning
> > Borland C++ (just don't have the time).  This app will be executed to
> > initiate my Linux server to do some file system tasks via inetd.  I can
> > fill in the machine name and port number needed.  BTW I am using Borland
> > 5.02 C/C++.  I feel stupid since I can't get a simple program like this
> > together, but, I don't have much experience with Windows machines.  If
> > you can help please email me direct.
>
> If you don't have to use Borland, you could compile your app with
> Cygwin (http://sourceware.cygnus.com/cygwin/).  It has a library that
> is highly Unix compatible, including sockets.
>
> --
>
> Nate Eldredge
> [EMAIL PROTECTED]
>



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

From: Jim McDonald <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Using CDRW as tar-like device
Date: Wed, 28 Jun 2000 14:35:44 -0700



Christopher Wong wrote:
> 
> I wonder if it is possible to use a CD RW driver without the
> make-a-whole-file-system step. I would like to append stuff onto a
> recordable CD, but cdrecord does not seem to make this easy. Why can't
> I just use "tar" or something similar and dump it onto a CD? There
> does not seem to be an easy way to get "low-level" type of access. As
> I understand it, one can only add some 40 or so sessions on a
> multisession CD due to the overhead involved. There is also no
> documentation that I can find on using cdrecord's packet writing mode.
> 
> Can anyone help? Thanks in advance.
> 

cdrecord has a packet writing mode?
See http://sourceforge.net/project/?group_id=7091, but I'm pretty sure
packet writing is only supported in late 2.3 and 2.4-test kernels.

-- 
Jim McDonald
htttp://www.stanford.edu/~mcduck

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

From: Cihl <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Gnome vs KDE
Date: Wed, 28 Jun 2000 22:02:35 GMT

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Should I spend time getting used to KDE or Gnome? I tried both and I
> can't say I developed definite preference. Which desktop most people
> use? I've heard KDE is considered to be more promising (with KDE2 to be
> released soon). How come Gnome is RedHat's default desktop?
> 
> Thanks
> 
> Wroot
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

I suggest you use both of them for a while and then make a choice
about which one suits your needs and taste best.

KDE is more businesslike, cornery and robust-looking, and the
soon-to-be-released KDE2 includes a complete MS-Office-like set of
packages and a very advanced web-browser. KDE is the GUI to be used in
business-environments. Because of the businesslike look KDE shares
some resemblance to Windows and Apple GUI's.

Gnome, on the other hand, is more playful and softer to look at, with
as few as possible sharp edges and lines. It keeps a little more true
to the original Unix-GUI standards. Gnome is more friendly towards
casual home users. Gnome is also much more faithful to the
GPL-standards (all open source) and therefore often preferred by the
more experienced Linux-users.

I'm talking about the standard Windowmanagers that come with these
GUI-systems, of course. Windowmanagers can always be replaced by more
appropriate ones as necessary.

-- 
¨I live!¨
¨I hunger!¨
¨Run, coward!¨
               -- The Sinistar

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

From: [EMAIL PROTECTED]
Subject: Re: insmod failed?
Date: 28 Jun 2000 18:04:56 -0400

[EMAIL PROTECTED] wrote:

> Isn't there an "after" and "before" directive one can use in
>  modules.conf
> (I am completely new to Unix, so am not sure of the name)? You may
>  want to
> force one of the drivers to wait until the other driver has installed
>  by
> using that.

That should be "post-intall" and "pre-install" to force an insmod to wait
until another required module is first installed. See "man modules.conf".

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


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