Linux-Setup Digest #957, Volume #20 Sat, 31 Mar 01 11:13:10 EST
Contents:
TIGERMAN_2 ("Ron Nicholls")
Re: Booting up ("Ron Nicholls")
Re: Why won't RH7 boot with L1/L2 cache enabled? ("Ron Nicholls")
Re: Dual boot win2000/linux - 1024 matters ("Eric en Jolanda")
file association ("Ron Nicholls")
backgound image ("Ron Nicholls")
Re: X windows and Remote display problem ("Duane Healing")
network gateway ("Greg Gailer")
Re: network gateway (Dean Thompson)
Re: Kernel too big (Steve Martin)
Re: Booting up (Steve Martin)
Re: NT machine ping-able by name but not same machine under linux :( (Steve Martin)
Re: Recovering from a boot RAID failure ("Eric en Jolanda")
determining keycodes (John Prokopek)
Re: ReiserFS for / (Rod Smith)
Re: determining keycodes ([EMAIL PROTECTED])
Questions on installation of Linux through NFS ("Cedric Chausson")
----------------------------------------------------------------------------
From: "Ron Nicholls" <[EMAIL PROTECTED]>
Subject: TIGERMAN_2
Date: Sat, 31 Mar 2001 17:57:04 +1000
Further reading indicates that "xtt"
is for oriental fonts.
Change to Load "freetype" instead.
Still seems to work.
--
-
-
Regards
RonN
------------------------------
From: "Ron Nicholls" <[EMAIL PROTECTED]>
Subject: Re: Booting up
Date: Sat, 31 Mar 2001 18:07:45 +1000
Are you remebering to actually run lilo
to read any changes made to lilo.conf.
I can't remember precisely the lilo.conf
entries but you should have a section listing
your win partition location eg -/dev/hda1 or something, and
a label or default line indicating which to boot
as default
--
-
-
Regards
RonN
Eric Lai <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> How do you get Windows NT to boot from Lilo or Linux from NT Bootloader
>
> I've tried doing what the mini-faq or faq says, but i can't seem to get
> it to work.
> Can someone help me?
> I'm currently 3 booting wiht lilo booting into Nt bootloader for windows
> nt/98
>
------------------------------
From: "Ron Nicholls" <[EMAIL PROTECTED]>
Subject: Re: Why won't RH7 boot with L1/L2 cache enabled?
Date: Sat, 31 Mar 2001 18:00:13 +1000
This used to be a problem with OS/2
and usually meant defective cache. External
caches only though.
Have you tried slowing down ram cycles in
the BIOS.
--
-
-
Regards
RonN
Jim Reynolds <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I just installed Redhat 7.0 on my old P-166 but it hangs in the very early
> stages of booting (loading linux or uncompressing kernal).
>
> I discovered that disabling the internal and external caches in the BIOS
> solves this problem, but I'm not sure why. Obviously I'd like to have
> caching enabled and I haven't found any other workarounds.
>
> I suspect it's a problem with lilo's configuration or some other
> initialization not happening, but that's just a guess. Can someone shed
> some light here? FWIW, Mandrake 7.2 worked fine on the same partitions
> (but it wasn't using lilo).
>
> Thanks.
>
> Jim.
>
> System specifics: P-166/32MB. HDD1 for win98 and HDD2 for linux.
>
> /dev/hda - Windoze 98
>
> Disk /dev/hdb: 255 heads, 63 sectors, 784 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb1 * 1 784 6297448+ 5 Extended
> /dev/hdb5 1 63 505984+ 83 Linux
> /dev/hdb6 64 94 248976 82 Linux swap
> /dev/hdb7 95 380 2297263+ 83 Linux
> /dev/hdb8 381 634 2040223+ 83 Linux
> /dev/hdb9 635 784 1204843+ 83 Linux
>
> /etc/lilo.conf:
>
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> message=/boot/message
> #linear (tried w/ and w/o linear mode, and yes I did run /sbin/lilo)
> default=redhat7
> verbose=5
> vga=normal
>
> image=/boot/vmlinuz-2.2.16-22
> label=redhat7
> read-only
> root=/dev/hdb5
>
> other=/dev/hda1
> label=win98
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: Dual boot win2000/linux - 1024 matters
Date: Sat, 31 Mar 2001 10:12:34 +0200
> Newbie, so I had some problems - thanks are due to all and any that
helped,
> especially Eric on this issue.
> My contribution on all this - SIZE DOES COUNT.
> Configuration:
> Toshiba 4600 laptop, came as 4Gig Win200, rest of 20Gig (well 18.5
actually)
> unformatted. Added a 2 Gig VFAT shared drive, and the rest to Linux except
> for 512Meg Linux swap.
> RH 7 (plus patches), so LILO is supposed not to have an issue with drives
> bigger than 1024 - however, debate continues to rage.
> With this config I was unable to get Linux to boot using the Win2000
loader.
> Boot from floppy is fine, but isn't what I brought the machine for. Don't
> know the layout of the disk (sectors, tracks), but decided that I must be
> having an issue with the Linux partition being beyond the 1024 cylinder
> limit.
> Using partition commander (latest version knows all the formats, and is
half
> the price of Partition magic here in Aus), I reduced the shared partition
by
> a gig, and moved the Linux partition down.
> Just for interest tried a boot of Linux from the hard disk. Got "LI "
and
> nothing else. Starting to look promising.
> Ran a /sbin/lilo again and DD the boot sector across again.
> Lo and behold, it all came up as desired.
> I have seen a recommendation that your Linux boot shouldn't be any further
> than 8 Gig from the start of the disk. With bigger disks and different
> formats coming all the time, this will need some more thought. 6 Gig was
too
> big for me, but 5 was o.k.
your linux fdisk could have told you immediately if the 1024th cylinder
boundary
is crossed. How much that is in Giga-Bytes, depends on your setup.
Calculate it for yourself: (Heads*Sectors-per-track)/2048 is the boundary in
GB
As you can use a maximum of 255 heads, and a maximum of 63
sectors-per-track,
that upper limit is 8GB. If you have not chosen for the maximum numbers of
heads/
or maximum number of sector-per-track, that limit may well be at 5G.
The fact is, that the lilo that ships with rh7 is new enough to support
booting from beyond cylinder 1024. There is one big catch though. Your BIOS
must also support this. The only way you can boot from beyond cylinder 1024
is
through the extended interrupt 13 BIOS calls. If your BIOS doesn't support
them,
no bootloader can help you. Therefor it always wise to make /boot below
cylinder
1024, no matter what.
Eric
------------------------------
From: "Ron Nicholls" <[EMAIL PROTECTED]>
Subject: file association
Date: Sat, 31 Mar 2001 18:12:02 +1000
RH 7.0 enlightenment and gnome
I have installed Acrobat and need to associate pdf
files with the reader.
I've tried the mime thing in control centre and entered the
acrobat path in "open, view and edit" to no avail.
Any takers :-)
--
-
-
Regards
RonN
------------------------------
From: "Ron Nicholls" <[EMAIL PROTECTED]>
Subject: backgound image
Date: Sat, 31 Mar 2001 19:16:09 +1000
RH 7.0 enlightenment and gnome.
During futzing around I seem to have lost
the ability to keep my background pix image.
It disappears when I switch back to the desktop to
be replaced by the dreary olive drab.
Seems to be a conflict between the desktop and WM.
Any suggestions will be gleefully tried.
--
-
-
Regards
RonN
------------------------------
From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: X windows and Remote display problem
Reply-To: [EMAIL PROTECTED]
Date: Sat, 31 Mar 2001 02:26:54 -0800
On machine that will do the displaying (kwesi in your case):
$ xhost +somehost
--
-Duane
-DNAware SoftLabs
In article <9a3nl7$632$[EMAIL PROTECTED]>, "Reboot"
<[EMAIL PROTECTED]> wrote:
> I have two linux boxes, one has a very cruddy trident video and the
> other one has a good card. I want to send my x displlay from the shitty
> display to the one with the better display but i get connection refused
> by server. Here is the exact error:
> Xlib: connection to "kwesi:0.0" refused by server Xlib: Client is not
> authorized to connect to Server Error: Can't open display: kwesi:0
> Is there a config somewhere I need to set???
------------------------------
From: "Greg Gailer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: network gateway
Date: Sat, 31 Mar 2001 20:41:23 +1000
Greetings All
I have a home network that I want to set up to dial the net on demand, but I
would like a separate computer to
do the dialling and monitoring with the snort NIDS program. The way I would
like to do it is as follows:
Home Network --- eth0[server computer]eth1 --- eth0[dialling
computer]ppp0 --- Internet
I have set up diald on the dialling computer and it seems to work well. How
do I go about setting up
both computers so that any computer on the home network can dial the
Internet? Is it best to have a
whole separate subnet address for the dialling computer or the same as the
home network? How do I
configure the routing and gateways? I know this is an involved question but
I haven't found any texts
that help a great deal. I look forward to any responses.
Greg Gailer
[EMAIL PROTECTED]
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: network gateway
Date: Sat, 31 Mar 2001 21:30:35 +1000
Hi Greg,
> I have a home network that I want to set up to dial the net on demand, but
> I would like a separate computer to do the dialling and monitoring with the
> snort NIDS program. The way I would like to do it is as follows:
>
> Home Network --- eth0[server computer]eth1 --- eth0[dialling
> computer]ppp0 --- Internet
>
> I have set up diald on the dialling computer and it seems to work well. How
> do I go about setting up both computers so that any computer on the home
> network can dial the Internet?
Okay, well I would put everything on the same subnet. On the machine which is
doing the dialing to the internet you need to add a line called "demand" to
your options file in /etc/ppp/options. Take a look at the URL:
http://www.nic.com/~cannon/Linux/#dod for the Dial On Demand Stuff.
As for the other parts of the network, I would establish a default route on
your home network to your server computer then configure the default route out
from the server to the dialing computer. It should be possible to keep
everything on the same subnet. The trick is just setting up the routes so
that the traffic goes where you want to go.
Once once of the machines wants to access the internet the packets should
arrive at the dialing computer and it will the ISP for you and form the
connection. You just need to make sure that you have turned on IP forwarding
on the dialing machine and also to put in the appropriate ipchains command to
forward all the packets out the ppp interface.
If you get stuck, either mail me or post to the newsgroup the different IP
address you are using and we can then show you what the routing tables would
look like. Just make sure that both your eth0 server computer and your
dialing machine have IP forwarding on and that they pass the packets from one
interface to another.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Re: Kernel too big
Date: Sat, 31 Mar 2001 07:04:34 -0500
Tomaz Cedilnik wrote:
> Is there any difference in efficiency between a compiled-in driver and a
> module driver?
Not really. One might argue that there is a tiny bit of overhead
in loading the module on demand, but that would happen even if
the driver was compiled in; it would just happen at boot time
rather than at runtime.
> I personally prefer to compile in all drivers that I need unless I need
> a bit more dynamic driver set.
If there is a driver that I know I'll need frequently (PPP or ext2fs
are good examples in my case), I go ahead and compile them in. However,
for things like Macintosh fs (which I need once in a blue moon),
compiling as a module makes good sense.
> If you set up eg. a SB driver (something that needs more options) as a
> module, do you specify the port and other info at compile time?
No, these things get specified in modules.conf for modules. (If the
particular device is an ISA Plug & Pray device, then you also would need
to specify this info in the isapnp.conf file.)
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Booting up
Date: Sat, 31 Mar 2001 07:16:55 -0500
Ron Nicholls wrote:
> > How do you get Windows NT to boot from Lilo or Linux from NT Bootloader
> I can't remember precisely the lilo.conf
> entries but you should have a section listing
> your win partition location eg -/dev/hda1 or something, and
> a label or default line indicating which to boot
> as default
Here's a snippet from my lilo.conf file. I'm triple-booting
NT, 95, and Red Hat here, with no trouble. First hard drive
has Linux and NT, second hard drive has 95 (plus my /usr
partition).
Hope this helps.
================================================================
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
image=/vmlinuz
label=Linux
read-only
root=/dev/hda1
append="mem=256M"
other=/dev/hdb1
label=Win95
alias=w
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
table=/dev/hdb
other=/dev/hda2
label=WinNT4.0
table=/dev/hda
alias=n
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: NT machine ping-able by name but not same machine under linux :(
Date: Sat, 31 Mar 2001 07:34:52 -0500
Tony wrote:
>
> I can ping by name to an NT machine but not to the SAME machine (dual
> boot) when booted under linux. The numerical address works fine in all
> cases though.
If the numerical IP address allows you to ping, then that says the
networking layers are working and it's probably a resolution issue.
That also eliminates hardware issues.
> Perhaps linux is not identifying itself to be the same machine as the
> NT machine even though they run the same hardware, but how to get it
> to do that?
Under TCP/IP, a machine doesn't "identify itself" on a network other
than responding to it's IP address. You indicated that the Linux
system responds to a numerical ping, so that's already working.
It's up to the other machine to come up with the target machine's
IP address.
> A more general question, where is it decided what each machine in a
> LAN is to be named?
Name-to-IP resolution comes from the Domain Name System or from local
name tables. Take a look at
http://www.linuxdoc.org/LDP/nag2/x-087-2-issues.resolving.html
Hope this helps.
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux.redhat,comp.os.linux,linux.redhat,linux.redhat.install
Subject: Re: Recovering from a boot RAID failure
Date: Sat, 31 Mar 2001 16:23:06 +0200
> I have a system running RedHat 7.0. It's set up with boot RAID (RAID 1
for
> /boot and /). My disk 0 just died and I'm trying to figure out how to
> recover from it. I've installed a new disk and booted with the RedHat CD
> and entered rescue mode, however I'm unable to locate any hard drives.
/dev
> doesn't show any drives whatsoever. The system has an Adaptec controller
> and it looked like the AICxxx driver loaded when linux was booting up.
> Unfortunately I never created my own rescue disk either.... What do I
need
> to do to recover from this mini disaster? Any help would be greatly
> appreciated!
Been there, (with IDE discs, no raid, but the problem is the same)
It's really annoying that it was left out from the rescue system:
use mknod to create the /dev entries you need.
Unfortunately I'm not on windows right now, so I cannot give you the exact
command, but creating the dev entries, will make them accesible.
Eric
------------------------------
From: John Prokopek <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.development.system
Subject: determining keycodes
Date: Sat, 31 Mar 2001 10:04:42 -0500
can someone tell me how to verify keycodes?
I am trying to map keys in a program by their keycodes and it doesn't
seem to be working.
I have tried using showkey but it doesn't seem to work.
An example is the multiply key on the key pad. The keycode should
be 0x37. When I use showkey it just displays a '*' and does not return
a value.
any help would be greatly appreciated.
--
John D. Prokopek
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: comp.os.linux,comp.os.linux.admin,comp.os.linux.questions
Subject: Re: ReiserFS for /
Date: Sat, 31 Mar 2001 15:11:03 -0000
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <MPG.152ef743b3b7a48a989687@news>,
Blue System <[EMAIL PROTECTED]> writes:
> Hi,
>
> I'm planning to install Linux and have all partitions as type Reiser.
> However, I'm not sure if making / as ReiserFS is good decision. Any
> input will be greatly appreciated.
The general consensus is that ReiserFS is very good, but it's still
not quite at ext2fs's level of reliability, and there may still be
occasional glitches. My impression from the posts and mailing lists is
that the remaining problems are small, though, and that matches my own
experience. The worst problem for me is that VMware 1.1.2 can't get a
lock on its virtual disk files. (This doesn't prevent it from running,
but it keeps complaining whenever I start it unless I tell it not to.)
I'm currently using ReiserFS on about half my Linux filesystems on two
computers, and its not caused any corruption or the like, despite even
several instances where I've not properly unmounted the partitions.
As to the root filesystem proper, that need not be a problem. I believe
some older versions of ReiserFS had issues with the kernel under some
circumstances. IIRC, it wasn't safe to boot the kernel with LILO from a
ReiserFS partition unless it was formatted with certain options. I'm not
sure if that's still an issue. In case it is, you might want to create a
separate ext2fs /boot partition and put the kernel and LILO on it. That
should work around kernel-related problems. I'm not currently running
any systems with the root partition on ReiserFS, but I've done so in the
past with no problems.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.development.system
Subject: Re: determining keycodes
Date: Sat, 31 Mar 2001 15:47:00 -0000
In comp.os.linux.development.system John Prokopek <[EMAIL PROTECTED]> wrote:
| can someone tell me how to verify keycodes?
| I am trying to map keys in a program by their keycodes and it doesn't
| seem to be working.
| I have tried using showkey but it doesn't seem to work.
| An example is the multiply key on the key pad. The keycode should
| be 0x37. When I use showkey it just displays a '*' and does not return
| a value.
Your showkey is broken or doesn't match your kernel.
You should be getting something like:
=============================================================================
root@pollux:/root 48> showkey
kb mode was XLATE
press any key (program terminates 10s after last keypress)...
keycode 28 release
keycode 55 press
keycode 55 release
root@pollux:/root 49>
=============================================================================
And just to make sure, showkey is for virtual console, not X.
--
=================================================================
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
=================================================================
------------------------------
From: "Cedric Chausson" <[EMAIL PROTECTED](halteauspam)>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: Questions on installation of Linux through NFS
Date: Sat, 31 Mar 2001 18:05:55 +0200
Hello all,
I want to install RH 6.2 on a machine that has no CD-ROM drive but has a
Ethernet card. I have two questions :
First Question :
The machine has a 3Com 3C509A Ethernet Card. This card is not listed in
the list that appears when you choose NFS Image installation. I tried
going through by choosing others 3Com choices (like 3C501) but it did not
work. How can I get my card to work for the installation ?
Second question :
Supposing I get the first problem fixed (I'm being optimistic :-)) I
wonder about something. The machine I will be using to offer the NFS
share currently connects to the Internet through a cable modem and DCHP.
So I wonder if I can just unplug it from the cable and into the
destination machine for the installation to work. Won't there be some
configuration to do like maybe specifying an adress for the host machine
?
Thanks in advance for your answers
------------------------------
** 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.setup.
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
******************************