Linux-Setup Digest #842, Volume #20 Fri, 16 Mar 01 13:13:17 EST
Contents:
Re: Windows size (Michael Heiming)
Re: Dual booting (Michael Heiming)
Re: How to make a new bootdisk and a new rootdisk in redhat? ("Yuval Yogev")
Re: shell scripts and cron (Keith O'Connell)
insmod doesnt work at 2.4.2 ("Yuval Yogev")
Re: dual boot-startup disk-linux+win98 (Aranwen)
mkinitrd -> loopbacks in use? ("drw")
Re: insmod doesnt work at 2.4.2 ([EMAIL PROTECTED])
Upgrade RH6.2 w/Software RAID 5 to New kernel problem
Module sequence in autoloading ("Jens Groth")
Re: RedHat 6.2 can do IP forward as default ? (Wayne Pollock)
Re: help with Linux FreeS/Wan VPN installation
samba server can't print japanese w/ hp lj2100 ("sam")
Re: Advice Needed - Partitioning New HD For Linux ("Peter S. Saly")
Re: Is it really worth it ? (Julian T. J. Midgley)
PCNFSD starts, but BWNFSD has an ERROR ("Nail A.")
Help needed with New Lilo 21.6 (Andy Collinson)
Re: A Better Web Browser...PLEASE! (Rick Baartman)
----------------------------------------------------------------------------
Date: Fri, 16 Mar 2001 16:10:12 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Windows size
The_saint wrote:
>
> Hi NG,
> How do I set all windows size to fit into the desktop?
> I've only a poor 800x600 TFT display and many times the button are beyond
> the screen size, so when I move the pointer I get the KDE taskbar popping
> up.
if I understand right, your virtual screen resolution is different from
the resolution
of the initial video mod?
You can adjust this in /etc/XFConfig (may be this file is somewhere
else, depending on your X version).
man 5 XF86Config (has more info)
Don't forget to restart your X server after you made changes (make a
backup of this file, before
you make any changes), no need to reboot...
Good luck
Michael Heiming
------------------------------
Date: Fri, 16 Mar 2001 16:16:28 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Dual booting
The_saint wrote:
>
> Hi NG,
> I'd like to set a dual booting from the M$dos for Linux and WinME.
>
> How to write the autoexec.bat?
> What should I copy onto c:\ (windows) drive?
>
> Thanks in advance
Ther are many howtos/docs about setting up dual booting online
or/and your distro, whichever you use, should have info about this.
Use your prefered search engine and check your distros manual.
Decide at first which one you want to use, loadlin/LILO/grub/others are
available.
I would use LILO, as it's very well documented.
Good luck
Michael Heiming
------------------------------
From: "Yuval Yogev" <[EMAIL PROTECTED]>
Subject: Re: How to make a new bootdisk and a new rootdisk in redhat?
Date: Fri, 16 Mar 2001 17:34:27 +0200
use /sbin/mkbootdisk
"Tai-Lin Chin" <[EMAIL PROTECTED]> wrote in message
news:98hi1d$bqe$[EMAIL PROTECTED]...
> [ This is a repost of the following
]
> [ From: Tai-Lin Chin
]
> [ Subject: How to make a new bootdisk and a new rootdisk in
]
> [ Newsgroups:
]
> [ Message-ID:
c.edu> ]
>
> We want to install redhat in a standalone 486 PC board (PC-104).
> Since the vendor requires the kernel be patched with certain
> routines, we need to create our new boot/root disks from
> the kernel source to boot up our card.
>
> Now the question is, in the source we obtained from the
> redhat linux distribution, the README only explains how
> to create a boot disk without a root disk. It seems to
> assume a hard drive is existing and the root will be mounted
> on the hard drive. However, this solution does not work
> for us since we have only floppy drive in the card and we
> need to boot with the floppy.
>
> We need to mount the root on floppy drive. Thus we need
> to create a root disk for the purpose. Is there any pointers
> for this procedure, or can we get some suggestions regarding
> this matter?
------------------------------
From: Keith O'Connell <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: shell scripts and cron
Date: Fri, 16 Mar 2001 15:23:00 GMT
Michael
> I would suggest using something like:
>
> #!/bin/bash
> DATE=`date +%y%m%d`
> tar -cvIpf test_$DATE.tar.bz2 /etc /home /root > tar.log 2>&1
I am now truly confused - when I do as you outline it works perfectly,
but when I run it without the "> tar.log 2>&1" logging you suggested,
it fails again. I know the logging is not mandatory, so what is
happening here?
I also know that a cron job such as this shoud sen me mail. it doesn't,
not to me as the user or to the root account. This is annoying also!
Suggestions as to what is going on?
Keith
--
========================================================================
[EMAIL PROTECTED] (Keith O'Connell)
========================================================================
------------------------------
From: "Yuval Yogev" <[EMAIL PROTECTED]>
Subject: insmod doesnt work at 2.4.2
Date: Fri, 16 Mar 2001 17:36:44 +0200
when i try to insmod (some iptables modules which does exist ..)
i get the note :
couldn't find the kernel version the module was compiled for
------------------------------
From: Aranwen <[EMAIL PROTECTED]>
Subject: Re: dual boot-startup disk-linux+win98
Date: Fri, 16 Mar 2001 15:30:07 -0000
I'm sorry about that..
The first lines i get when doing the lilo -v thing are:
Lilo version 21.4-4 Copyright 1992-1998 (someguy)
lba32 extensions Copyright 1999-2000 (some other guy)
There is no <linear> in my lilo.conf as i had already disselected it from
the lilo configuration program found on the gnome desktop.
Here is my lilo.conf file..maybe you can find some mistakes in it.
boot = /dev/hda1
timeout = 50
compact
prompt
message = /boot/message
default = linux
vga = normal
read-only
map=/boot/map
install=/boot/boot.b
image=/boot.vmlinuz-2.2.16-22
label = linux
root = /dev/hda5
other = /dev/hda1
label = windows
table = /dev/hda
My linux boot partition is hda2, my windows partition is hda1 and my linux
root partition is hda5.
I guess you know where each of them should be in the lilo.conf .
I placed the label and table entries in the end..I found the info on the
internet somewhere.. it was supposed to help but it didn't.
Please please please let me know if there are mistakes in it.
As for the cylinder thing and the older bios versions...my system is only
4 months old..
I appreciate your help very much.
I'm sorry if i'm asking too many questions :)
Thank you.
-Lady Aranwen
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "drw" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: mkinitrd -> loopbacks in use?
Date: Fri, 16 Mar 2001 07:32:25 -0800
When I go to mkinitrd, I get an error telling me all loopback devices are in
use. What is this?
darren welson
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: insmod doesnt work at 2.4.2
Date: Fri, 16 Mar 2001 15:37:39 +0000
Reply-To: no_replyto@oursite
This message has been posted by: [EMAIL PROTECTED] (Dave Ewart)
On Fri, 16 Mar 2001 17:36:44 +0200, Yuval Yogev <[EMAIL PROTECTED]>
wrote:
>when i try to insmod (some iptables modules which does exist ..) i get
>the note :
>couldn't find the kernel version the module was compiled for
Did you upgrade your modutils when upgrading to kernel 2.4.x ?
Dave.
--
P.S. Apologies for the spam-trapped headers - they are added by my
outgoing news server and I have no control over them.
--
Dave Ewart
[EMAIL PROTECTED]
Computing Manager
ICRF Cancer Epidemiology Unit, Oxford UK
------------------------------
From: <�ѤU�L��>
Subject: Upgrade RH6.2 w/Software RAID 5 to New kernel problem
Date: Sat, 17 Mar 2001 00:23:38 +0800
I've tried to upgrade my linux box to newer kernel (either 2.2.18 or 2.4.2),
although both new kernel can boot after compilation, but cannot mount
/dev/md0 (3 SCSI-2 disks) and cause panic. and I've receive a message
something like 'Error on device /dev/md0'.
Are there any extra steps I need to do on kernel upgrade with RAID support?
Ronald
------------------------------
From: "Jens Groth" <[EMAIL PROTECTED]>
Subject: Module sequence in autoloading
Date: Fri, 16 Mar 2001 17:18:47 +0100
Hello,
I have the following problem:
I would like to autoload the modules, which are required for certain
application.
All modules are placed in /lib/modules/2.4.0/misc. Manual loading of the
modules
with insmod works. But when I start the application the modules are loading
in the
wrong sequence. This causes the system to hang up, so not all modules were
loaded.
I have done a depmod -a. I believe the problem is, that there are modules
that are
indepent from each other i.e. there are no direct reference between them,
but the sequence
of loading this modules is important.
So is there a way to configure the sequence for autoloading modules?
Cu
Jens
------------------------------
From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: RedHat 6.2 can do IP forward as default ?
Date: Fri, 16 Mar 2001 11:31:33 -0500
You need to have the kernal support forwarding, and you have done that.
Next is to setup your NIC(s) with two IP addresses, or forwarding
is moot. Now setup some firewall rules using ipchains (ip tables
is not part of RH6.2). This may include some NAT functionality.
You then need to add some routes so the machine will know what to
do with the packets that arrive on one interface destined for
another. (You may need to configure dynamic routing such as
RIP, see "gated".) Finally you need to turn on forwarding by:
echo 1 > /proc/sys/net/ip_forward
Hope this helps!
-Wayne Pollock
Craig Kelley wrote:
>
> "Bill Zhao" <[EMAIL PROTECTED]> writes:
>
> > Some good guy can tell me if RH6.2 can IP forward on ethernet as
> > default. I have seen the content of /etc/sysconfig/network. it has
> > the line say " FORWARD_IPV4=YES " but I not sure this is the switsch
> > to control the IP foward function. Please clear me. Thank in
> > advance
>
> Yes, that will make the kernel capable of forwarding -- it still won't
> do it until you explicitly setup what you want to do.
>
> --
> It won't be long before the CPU is a card in a slot on your ATX videoboard
> Craig Kelley -- [EMAIL PROTECTED]
> http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: <�ѤU�L��>
Subject: Re: help with Linux FreeS/Wan VPN installation
Date: Sat, 17 Mar 2001 00:44:55 +0800
1) Simply download kernel 2.2.18 from kernel.org
2) patch it and then make config; make dep; make clean; make bzImage... (Re:
Kernel-HOWTO)
Hung Ngoc Lai <[EMAIL PROTECTED]> wrote in message
news:98rqjm$[EMAIL PROTECTED]...
> hi everyone,
>
> Has anyone had any success with FreeS/Wan for Linux (i.e.
> VPN gateway, IPSec tunnel) on Redhat Linux 7.0 with
> kernel 2.4.2. I downloaded freeswan-1.8.tar.gz and performed
> the following operations:
>
> gunzip freeswan-1.8.tar.gz
> tar -xvpf freeswan-1.8.tar
>
> I go to /usr/src/freeswan-1.8 perform this operation:
> make ogo
>
> It gives me an error that the kernel can NOT be patched.
> I read that at the moment, only RedHat 6.2 with kernel 2.2.17
> is supported. Does it mean I have to reinstall my box
> from scratch. Anyone know a workaround for this
> problem? Please help me...
>
> Thanks.
> Hung
> [EMAIL PROTECTED]
------------------------------
From: "sam" <[EMAIL PROTECTED]>
Subject: samba server can't print japanese w/ hp lj2100
Date: Sat, 17 Mar 2001 00:24:03 +0800
Hi,
Please help me how to make a redhat 7.0 server with samba running and
connected with 1 HP LJ2100 & HP DJ720C. We can print Eng,Chinese & Japanese
at DJ720C, but print out strange char at LJ2100. What can I do? Please
inform me at [EMAIL PROTECTED]
Thanks,
Sam
------------------------------
From: "Peter S. Saly" <[EMAIL PROTECTED]>
Subject: Re: Advice Needed - Partitioning New HD For Linux
Date: Fri, 16 Mar 2001 10:53:34 -0600
"John Sage" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Peter S. Saly wrote:
>
> > "Stanislaw Flatto" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >
> > Question from a newbie
> >
> > Having just started looking at this.
> > I have a question
> >
> > What is the purpose of having separate partitionsbeginning with /
> > Why would you not just create 1 partition and use subdirectories in that
> > partition..
>
> The general idea with separate partitions is that something bad happening
> on one cannot overflow onto another, very simply put...
>
> If you where to get some bizarre situation going on in /tmp that could
> fill up /tmp, but that's the end of it.
>
> > Also where can I read up on a logical explanation of the meaning of
> > partitions such as
> > /
> > /boot
> > /build
> > /usr
> > /home
> > /opt
> > /src
> >
> > I am planning to install on a backup Win2k machine.
> > It is a Pentium 166 with 80 meg of memory
> > It has a 20 gig drive that I am dedicating to system use
> > Of this 7 gig is used for Win2k
> > Giving me 13gig for linux
> >
> > I am not deeply interested in the mechanics of Linux.
>
> Well.. bad news.
>
> You are going to *have* to get "..interested in the mechanics of Linux.."
> if, as *you* say:
>
> > I am interested in getting away from Windows to get better
performance
> > on some of my pet software projects
> > These will be coded in Java and ultimately be providing a
value-added
> > service through my onw web-server.
>
> There's no way you're going to be able to do that without learning quite
> a bit about Linux.
>
> What's so bad about learning something, anyway?
>
> > Until the project is viable and can be farmed out, I need to run it on
my
> > own intranet for testing, and on the web for revenue generation.
> > Possibly there will be a need to emulate Windows on some of the
> > applications...
> >
> > I got an inkling of the purpose of all these partitions from the other
posts
> > in this thread, but additional clarification and suggestions as to my
setup
> > would be appreciated...
>
> At the very least, a root /, a /boot, a /usr, a /home, a /tmp, a /var, a
swap..
>
> I dunno: it becomes a religious issue..
There is an issue of time available to get into Linux deeply...
Other things are of higher priority and greater interest..
Thank you for the suggested partition list
What about relative or absolute suggestd sizes for let's say 10 gig
total space ?
------------------------------
Subject: Re: Is it really worth it ?
From: [EMAIL PROTECTED] (Julian T. J. Midgley)
Date: Fri, 16 Mar 2001 17:00:02 GMT
In article <[EMAIL PROTECTED]>, cedric <[EMAIL PROTECTED]> wrote:
>How many virus programs are there for Linux?
>None. You can't give Linux a virus unless you go out on the
>net as root.
Oh dear, oh dear, oh dear. Rampant naivety.
Ever heard of the Ramen worm, or vulnerabilities in setuid binaries?
It's really not very difficult to write a worm/virus which exploits the
latter and spreads either by a Ramen like attack on network services
with known exploits (Bind, wu-ftpd, proftpd...) or with user assistance.
It's true that it's harder for Linux viruses to propagate as
explosively as your average Outlook macro virus (the absence of
widespread mail tools with built-in macro support is one hindrance),
but your claim above is absolutely false.
>Why do most hackers run Linux boxes?
>It's very difficult to hack a Linux box.
*snort*
Suggest you browse rootshell.org and subscribe to the bugtraq mailing
list.
Julian
--
Julian T. J. Midgley http://www.xenoclast.org
------------------------------
From: "Nail A." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: PCNFSD starts, but BWNFSD has an ERROR
Date: Fri, 16 Mar 2001 18:10:21 +0100
Hi,
i got a problem with my bwnfsd / pcnfsd on a SuSE Box 7.1, Kernel 2.4
The nkita is installed, the exports is OK (contains /var/spool/lpd & the
partitions to be exported). "showmount -e" shows them.
If i start the both processes by hand, everything seems to be OK. If a
NT-Client tries to mount the exported partitions, it crashes with a
blue-screen.
If the LINUX-Box is rebooted, the bwnfsd doesnt start & i got the
following error:
Starting PCNFS daemon done
Starting BWNFS daemon clntudp_create: RPC: Program not registered
startproc: exit status of /usr/sbin/rpc.bwnfsd: 255
failed
The portmapper runs correct.
Please does anyone has a suggestion where the error could be ?
Thanks in advance.
regards
Nail
------------------------------
From: Andy Collinson <[EMAIL PROTECTED]>
Subject: Help needed with New Lilo 21.6
Date: Fri, 16 Mar 2001 17:48:51 +0000
Sorry for long message. I have installed the new lilo and dual boot win98
and linux. I have a /boot partition and lilo is installed in the MBR (i
think). Lilo boots linux, but when i choose windows i get the message:-
Disk I/O error
Replace Disk, then press any key.
If I didnt know any better I would guess lilo is trying to boot a non-dos
partition or something. From a windows boot disk windows will load, also
DOS Fdisk partotion info looks like this:-
Type Mbytes System
1 Non-DOS 16
2 Ext-DOS 14645
C: 3 A Pri DOS 14653 FAT32
I am using SuSe linux 7 kernal 2-2-16 here is my partition table:-
Device Boot Start End Blocks Id System
> /dev/hde1 1 1868 15004678+ c Win95 FAT32 (LBA)
> /dev/hde2 * 1869 1870 16065 83 Linux
> /dev/hde3 1871 3737 14996677+ 5 Extended
> /dev/hde5 1871 1903 265041 82 Linux swap
> /dev/hde6 1904 2668 6144831 83 Linux
> /dev/hde7 2669 3051 3076416 83 Linux
> /dev/hde8 3052 3313 2104483+ 83 Linux
> /dev/hde9 3314 3737 3405748+ 83 Linux
Here is the output from my lilo.conf :-
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
initrd=/boot/initrd
boot=/dev/hde
#compact # faster, but won't work on all systems.
lba32
vga=normal
message=/boot/message
read-only
prompt
timeout=30
# End LILO global Section
#
image = /boot/vmlinuz
root = /dev/hde6
label = linux
#
image = /boot/vmlinuz.suse
root = /dev/hde6
label = suse
#
other = /dev/hde
label = windows
I have read the lilo maual with command "man lilo" it descibes the
commands, but I could do with learning more about the lilo booting
"mechanism" any recommendations.
I have also tried altering windows partition to =/dev/hde1 but this had
same results. I only use windows because my TRust USB 19200 scanner is not
yet recognised by linux. Can anyone help with this lilo problem?
Many thanks in advance.
Andy Collinson
------------------------------
From: Rick Baartman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking
Subject: Re: A Better Web Browser...PLEASE!
Date: 16 Mar 2001 09:53:31 -0800
Try galeon http://galeon.sourceforge.net/
>From the web page:
"Galeon is a GNOME Web browser based on gecko (the mozilla rendering
engine). It's fast, it has a light interface, and it is fully
standards-compliant. You can download it but first take a look at some
screenshots and read additional documentation (installation...).
It requires Gnome and MOZILLA."
--
rick
------------------------------
** 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
******************************