Linux-Misc Digest #951, Volume #23 Sat, 25 Mar 00 19:13:03 EST
Contents:
Re: I get LILO prompt but not LILO boot: (John in SD)
Re: Dual Boot Problem (John in SD)
Re: httpd: cannot determine the IP address of........ (Paul G)
Re: Netscape printer fonts, page headers & footers (Achim Linder)
Re: keyboard capture: xkeys? (Bjorn Leffler)
Re: prob building kernel (Paul Kimoto)
Re: autofs problem (Ruediger)
pls help: kernel setup (Norman Zhang)
Re: oops (Thomas Zajic)
Re: Where is initial PATH defined? ("Robert L. Klungle")
Re: newbie Q: Auto sending an e-mail (Robie Basak)
Re: Ftape error - read only (Robie Basak)
Re: sound problem (Robie Basak)
Re: Would starting Apache while online make me... (Frederic L. W. Meunier)
Re: how to config resolution (Andrew Purugganan)
set up winmodem for ppp (Jinning He)
Re: pppd non-root access (Joachim Feise)
----------------------------------------------------------------------------
From: John in SD <[EMAIL PROTECTED]>
Subject: Re: I get LILO prompt but not LILO boot:
Reply-To: [EMAIL PROTECTED]
Date: Sat, 25 Mar 2000 20:15:39 GMT
Or add 'prompt' to your lilo.conf file.
On 22 Mar 2000 16:53:26 GMT, [EMAIL PROTECTED] (Bastian) wrote:
>On Wed, 22 Mar 2000 15:25:45 GMT, Lou Hevly wrote:
>>Greetings:
>>
>>I've installed RedHat 6.2 BETA x86 on a partition. My lilo.conf looks
>>like this:
>>----
>> [lilo.conf goes here]
>>----
>>
>>Running lilo -v gives me this:
>>----
>> [lilo output goes here]
>>----
>>
>>When I boot, I only get LILO at the prompt; not LILO boot:
>>Hitting tab does nothing, nor can I type 'linux'.
>>
>>Any help would be greatly appreciated.
>>
>
>Try pressing the Shift-key.
>
>Bastian
>
------------------------------
From: John in SD <[EMAIL PROTECTED]>
Subject: Re: Dual Boot Problem
Reply-To: [EMAIL PROTECTED]
Date: Sat, 25 Mar 2000 20:22:29 GMT
Have you checked your BIOS settings: namely, what drive is assigned to
what device code: 0x80, 0x81, 0x82. LILO uses only BIOS calls to get
the system booted, so with a mixture of IDE and SCSI drives, there may
be some confusion installing the boot loader.
The utility 'disk.com', which you may boot from floppy, may help to
pin down the device codes.
ftp://sd.dynhost.com/pub/linux/lilo
This utility is part of the LILO 2.4.1 release, also. The full
release is mirrored at:
ftp://metalab.unc.edu/pub/Linux/system/boot/lilo
--John Coffman <[EMAIL PROTECTED]>
On Fri, 24 Mar 2000 15:03:03 GMT, [EMAIL PROTECTED] wrote:
>Hello all, recently there was a discussion on this group about someone
>who was attempting to dual-boot with one OS on a SCSI drive and one OS
>on an IDEdrive. lilo was freezing with a message of 'LI'. I am
>experiencing a similar problem with LILO however, I am trying to migrate
>my system from IDE to SCSI. I have tried the disk= and bios=settings
>that were mentioned but I still am experiencing the same problem. Here
>is my situation
>I have server that has been running redhat 6.1 for a while... It runs
>off of 2 ide drives and has an ide cdrom too. The primary harddrive has
>begun failing. So we had another server that was just decomissioned. It
>had an Adaptec 2940UW controller and 2 SCSI HDs. I installed of this
>hardware in my server and booted on the ide drive. Everything installed
>correctly and I transferred over all of the partitions successfully.
>After that I can never get lilo to boot correctly off of the SCSI drive.
>It works fine off of the IDE drive only. I checked BIOS and it has a
>setting "HDD Sequence SCSI/IDE First" with two options of SCSI or IDE. I
>set it to SCSI and Lilo freezes on 'LI' I disconnected the /dev/hda
>(Primary drive) I set it to IDE and I receive a "Not a system disk. Hit
>a key to reboot" message. So I assume that I have the BIOS set
>correctly. I can boot under SCSI fine off of a boot disk...but it fails
>otherwise.
>Here is my lilo.conf:
>boot=/dev/sda
>map=/boot/map
>install=/boot/boot.b
>prompt
>timeout=50
>default=linux
>disk=/dev/sda
>bios=0x80
>image=/boot/vmlinuz-2.2.12-20
>label=linux
>initrd=/boot/initrd-2.2.12-20.img
>read-only
>root=/dev/sda5
>I have changed the bios= line to 0x81 and 0x82 and I receive the same
>problem The only difference is when I run lilo I receive a message:
>"Warning: /dev/sda is not on the first disk" when I try with 0x81 and
>0x82 I have set rdev to sda5 and it checks out fine.... I am at a loss
>as to what else to try...
>One final bit of info... Currently, my system has no /dev/hda connected.
>/dev/hdb is connected and so is /dev/hdc.
>Thanks!
>Christopher Fitch
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: Paul G <[EMAIL PROTECTED]>
Subject: Re: httpd: cannot determine the IP address of........
Date: Sat, 25 Mar 2000 17:22:24 +0000
Today I found the problem, I had Access using Proxy enabled in IE4
options. I actually thought that the Bypass Proxy for Local Addresses
would have overridden this but there you go.
Maybe someone has an idea why I could not locate the Local address (no
matter waht addressing syntax I used) even with the Bypass Proxy
enabled?
>
--
Paul G
------------------------------
From: [EMAIL PROTECTED] (Achim Linder)
Subject: Re: Netscape printer fonts, page headers & footers
Date: Sat, 25 Mar 2000 21:58:56 +0100
On Fri, 24 Mar 2000 06:30:11 GMT, [EMAIL PROTECTED] wrote:
>Thank you very much. Your script worked fine (in Netscape 4.72).
>
>Achim Linder wrote:
>>
>> On Mon, 06 Mar 2000 07:30:07 GMT, [EMAIL PROTECTED] wrote:
>>
>> >How can I have headers and footer print (with the URL,
>> >page number, date, etc.) as in other versions of
>> >Netscape?
>>
>> Go to deja.com and search for:
>>
>> WM_TRANSIENT_FOR&netscape&printing
The URL may be too long or it may contain the characters ")(
This one should be better:
#!/usr/bin/awk -f
BEGIN {
gurl = "A=(`xprop2 WM_TRANSIENT_FOR -name 'Netscape: Print'`); \
xprop2 _MOZILLA_URL -id ${A[4]}"
gurl | getline
close(gurl)
gsub(/\"$/, "")
fline = substr($0, 25, 80)
sline = substr($0, 105)
gsub(/[()]/, "\\\\&", fline)
gsub(/[()]/, "\\\\&", sline)
flag = ""
flagn = "grestore\n"
psco = "\n" \
"gsave\n" \
"0 setgray\n" \
"50 45 moveto\n" \
"/Helvetica findfont 10 scalefont setfont\n" \
"(p "
wline = " "strftime("%a %b %d %Y")" "fline") show\n" \
"50 32 moveto\n" \
"("sline") show\n" \
"grestore"
}
/^%%Page:/ { $0 = flag $0 psco (++pcount) wline; flag = flagn }
{ print $0 }
The 'gurl =' line requires bash, with tcsh you may use the old version
with cut or something like this:
gurl = "set A= ( `xprop2 WM_TRANSIENT_FOR -name 'Netscape: Print'` ); \
xprop2 _MOZILLA_URL -id ${A[5]}"
Achim
------------------------------
Date: Sat, 25 Mar 2000 21:59:59 +0100
From: Bjorn Leffler <[EMAIL PROTECTED]>
Subject: Re: keyboard capture: xkeys?
You'll find it all at http://www.jwz.org/xkeycaps/
Have fun,
Bjorn
Oliver Wahlen wrote:
> On a security related webpage I read something about a program called
> xkeys that is able to capture or lets better say sniff the events of the
> keyboard and give them out in a certain form.
>
> Does anyone know this program?
> Where can I find it?
>
> --
> Oliver Wahlen
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: prob building kernel
Date: 25 Mar 2000 16:36:08 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, David Embree wrote:
> I am attemping to build a kernel for the first time.
> make[2]: Entering directory `/usr/src/linux-2.0.36/arch/i386/lib'
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
> -m386 -DCPU=386 -c -o checksum.o checksum.c
> checksum.c:200: redefinition of `csum_partial_copy'
> checksum.c:105: `csum_partial_copy' previously defined here
> {standard input}: Assembler messages:
> {standard input}:185: Fatal error: Symbol csum_partial_copy already
> defined.
*IF* you are trying to compile a 2.2.* kernel, then it appears you have put
the source code into a directory (/usr/src/linux-2.0.36) that contained
some old kernel source code (presumably 2.0.36). I suggest that this may
be the problem because there is no (ix86) checksum.c file in the 2.2.*
kernels. If that's the case, you could try deleting checksum.c, but it
would be better to delete the directory and start over (from unpacking the
kernel source code).
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Ruediger)
Subject: Re: autofs problem
Date: Sat, 25 Mar 2000 22:11:27 +0200
In article autofs problem,
Eric BRETAUD writes:
> hi,
>
> I'v got a directory /misc/h004 for mount machine:/h004.
> I can mount this filesystem with the simply 'mount' command,
> but if I use 'autofs start' the directory /misc/h004 disappear !
>
It's ok that the directory disappears cause autofs takes over the mount
directory (/misc in this case) at startup. You needn't even to create the
h004 directory because it's created by autofs when you change there e.g.
with 'cd /misc/h004'. It's also possible to make a link to this
'non-existing' directory and change there via this link.
Ruediger
--
Microsoft Windows(tm). A thirty-two bit extension and graphical shell
to a sixteen bit patch to an eight bit operating system originally
coded for a four bit microprocessor which was written by a two-bit
company that can't stand one bit of competition. (Jargon 4.2)
------------------------------
From: Norman Zhang <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: pls help: kernel setup
Date: Sat, 25 Mar 2000 14:53:02 -0800
Hi,
Excuse me if this is a FAQ, but I have looked in the linuxdoc and
couldn't find the appropriate info on how to install the kernel. I have
already compiled my the kernel using "make bzImage". Now, all I need is
some tips on how to setup LILO to boot with the new kernel.
My /etc/linux.conf looks like this.
boot=/dev/hda6
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
image=/boot/vmlinuz-2.2.12.-20
label=linux
initrd=/boot/initrd-2.2.12-20.img
read-only
root=/dev/hda7
other=/dev/hda1
label=dos
I figure I can copy the "bzImage" into "/boot" and change the above
image line to reference /boot/bzImage. But what do I do with
"initrd=/boot/initrd-2.2.12-20.img"? I read in the
/usr/src/linux/Documentation/initrd.img", but couldn't find out what to
do with it. Your expertise is greatly appreciated.
------------------------------
From: [EMAIL PROTECTED] (Thomas Zajic)
Subject: Re: oops
Reply-To: [EMAIL PROTECTED] (Thomas Zajic)
Date: Sat, 25 Mar 2000 22:42:14 GMT
On Sat, 25 Mar 2000 14:47:49 -0500, Patrick Todd Finnegan wrote:
> oops i posted cp4crack.zip to a newsgroup.
[zlatko@sphere]:~$ echo comp.os.linux.misc | grep binaries
[zlatko@sphere]:~$
> "It's for the good of the community."
"The community" doesn't give a flying fuck about your k3w1 t00lZ'n't0yZ
and '1337 4$$ h4xx'N'cr4xx, keep 'em out of here.
Tho "ooops, I said 'flying'" mas
--
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic <[EMAIL PROTECTED]> Linux-2.0.38/slrn-0.9.6.2 -
- "It is not easy to cut through a human head with a hacksaw." (M. C.) -
=-------------------------------------------------------------------------=
------------------------------
From: "Robert L. Klungle" <[EMAIL PROTECTED]>
Subject: Re: Where is initial PATH defined?
Date: Sat, 25 Mar 2000 22:43:36 GMT
Charles Sullivan wrote:
This is from SlackWare 6 (Linux-2.2.6):
linux:/etc/rc.d> grep path *
rc.0: # Set the path.
rc.6: # Set the path.
rc.K: # Set the path.
rc.inet2:# to a host take a different path than packets from that host
to you) or if
linux:/etc/rc.d> grep PATH *
rc.0: PATH=/sbin:/etc:/bin:/usr/bin
rc.6: PATH=/sbin:/etc:/bin:/usr/bin
rc.K: PATH=/sbin:/etc:/bin:/usr/bin
rc.S:PATH=/sbin:/usr/sbin:/bin:/usr/bin
bob
> I have RH 6.0 and can't find where the initial system PATH string
> is defined. /etc/profile just appends /usr/X11R6/bin to the
> existing PATH.
>
> I'm using the bash shell, but /etc/bash_profile just modifies
> the existing PATH also, as do the .bashxxx files in my home
> directory.
>
> Can anyone help?
>
> Regards,
> Charles Sullivan [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: newbie Q: Auto sending an e-mail
Reply-To: [EMAIL PROTECTED]
Date: 26 Mar 2000 06:54:24 GMT
On Sat, 25 Mar 2000 14:36:32 -0500, Jan Schaumann said:
>Neil Blue wrote:
>>
>> Hello,
>>
>> I am using RH6.1 with BASH shell
>>
>> I would like to set my linux box to automaticaly send out an e-
>> mail with the machines ip address when it dials up. I am trying
>> to write a script for mailto, that looks like this at the moment:
>>
>> mailto [EMAIL PROTECTED] -s "dialup"
>>
>> Not so great so far. I can't seem to run mailto as a script
>> without it promting for the message, which I would like to
>> include with a call to 'ifconfig' or 'route' (I guess).
>>
>> The next step is to send the mail when it dials up....
>
>Hmm, i just gave it a shot.
>If you created a small script like the following:
>
>#/bin/bash
>ifconfig eth0 | grep inet | awk '{print $2}' > foo
NOTE: a dialup uses ppp0, not eth0
>mail usernam < foo
>rm -f foo
>
>named get_address, and then had your pppon (or whatever script dials up)
>execute this when it is connected, then this might work...
>
>
>HTH,
>
>-Jan
You can add this to /etc/ppp/ip-up.local (if the file isn't there, create it,
and then run 'chmod 755 /etc/ppp/ip-up.local':
--
#!/bin/bash
IPADDR=`ifconfig|grep inet|awk '{print $2;}'|grep -v '127\.0\.0\.1'|awk \
'BEGIN{FS=":"}{print $2;}'`
echo IP Address: $IPADDR | mail -s "IP Address" [EMAIL PROTECTED]
--
And then you don't need a temporary file.
Robie.
>
>
>
>--
>Jan Schaumann
>http://jschauma-0.dsl.speakeasy.net
>
>Marge: Homer, remember you promised you'd try to limit pork to six
> servings a week?
>
>Homer: Marge, I'm only human.
--
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: Ftape error - read only
Reply-To: [EMAIL PROTECTED]
Date: 26 Mar 2000 06:56:30 GMT
On Sat, 25 Mar 2000 19:30:10 GMT, scott said:
>Whenever I try writing to my Iomega 3200 tape drive, I get an error
>similar to the following;
>
>Cannot open /dev/qft0: Read-only file system
>
>(I have also used /dev/ftape and /dev/nqft0)
>
>I can rewind the tape, forward the tape, and read the contents of the
>tape, but I can't write to it. And no, the write protect thingy on the
>tape isn't "on". But the fact I can move the tape leads me to believe that
Have you checked the permissions of /dev/qft0? Try 'chmod 660 /dev/qft0'.
>at least I installed everything correctly, and the system can see it. I am
>using RedHat 6.0 with a 2.2.14 kernel and ftape-4.x-1999_09_11, which I
>know is unstable, but is the only one that will work with kernel 2.2.14. I
>also installed ftape-tools-1.07.
>
>It doesn't seem like many people answer ftape questions, because I see a
>lot of previously asked questions have gone unanswered, but I am hoping
>someone can help me. I am up to my ears in How-To's and FAQ's. And my boss
>is starting to think I am an idiot.
You could ask the linux-tape mailing list, [EMAIL PROTECTED]
Robie.
>
>
>--
>Posted via CNET Help.com
>http://www.help.com/
--
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: sound problem
Reply-To: [EMAIL PROTECTED]
Date: 26 Mar 2000 06:59:39 GMT
On Sat, 25 Mar 2000 12:44:36 -0600, Jonathan Harm said:
>I still consider myself a newbie to Linux so bear with me...
>Kmpg and mpg123 used to work fine until last night(when I tried to
>access my secondary master ZIP drive by /dev/hdd). when I try to use
>mpg123, the error message says that it cant open /dev/dsp!
Check that /dev/dsp is there; I've sometimes had the '/dev/dsp disappearing for
no apparent reason' recently; yet I have no /dev/hdd.
If not, as root, type:
mknod --mode=662 /dev/dsp c 14 3
or
mknod --mode=666 /dev/dsp c 14 3
if you want everyone to be able to listen :-)
Robie.
>
>Does anybody know what to do do fix it?
>
>thanks in advance.
>
>--
>
>
>
--
------------------------------
From: Frederic L. W. Meunier <[EMAIL PROTECTED]>
Subject: Re: Would starting Apache while online make me...
Date: 25 Mar 2000 23:08:15 GMT
> ...a server just like that?
Hmm, yes and no. Here it's NNTP server.
> Would i be visible to the online world?
Yes, but you may need to configure Apache.
> What about limiting this 'exposure' or access to just me, from my
> work PC? Is there a way to do that?
Use ipchains (or ipfwadm if you're running 2.0 kernel series). But I
REALLY suggest that you remove Apache and install thttpd. It's small,
fast, and with security in mind. No, Apache isn't insecure! If you
don't need any special feature (or module) included in Apache,
install thttpd.
http://www.acme.com/download/thttpd/
--
Fr�d�ric L. W. Meunier [Tel: +55-21-620-7173 - Niter�i-RJ Brasil]
fredlwm@{olympiquedemarseille.org,{marseille.}nitnet.com.br}
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Crossposted-To: comp.os.linux.setup
Subject: Re: how to config resolution
Date: 25 Mar 2000 23:03:35 GMT
Jinning He ([EMAIL PROTECTED]) wrote:
: I just installed RH6.1 on my desktop (coexist with winNT).
: Now the problem is that every window and icon in my screen is so big. I
: believe it's because of the resolution. I would like to know how
: to configure my resolution to make those windows and icons look
: confortable. It's very easy in windoze but seems not that easy in linux.
: I couldn't find any graphical tool. I customized my monitor in the
: installation and choose 1024*768 @80 HZ. And now a single terminal almost
: occupies all the screen.
you could run xf86setup again (I think RH also has a setup command that
allows you to configure X and everything else)
or
be hardcore and fire up vi to edit /etcX11/XF86Config
--
jazz annandy AT dc DOT seflin DOT org
Registered linux user no. 164098-88940
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
Crossposted-To: comp.os.linux.setup
From: Jinning He <[EMAIL PROTECTED]>
Subject: set up winmodem for ppp
Date: Sat, 25 Mar 2000 17:55:38 -0600
Hi,
I have RH6.1 and win98 coexisting on my x86 box.
My modem is LT win modem with LT PnP chip. It works for win98. Now I am
trying to make it work for RH6.1. I know this type of modem is called
(software modem) and needs driver to support. Fortunately someone wrote a
driver for it (compiled on RH6.1). Lucent also has a so called buggy
driver. I downloaded both from http://www.o2.net/~gromitkc/winmodem.html.
But when I tried to install the module, I got an error message saying
init_module: Device or Resource busy
And I can't see my module in the loaded module list. I don't know what's
going on. What is busy here ?
I would like to know if someone has similar experience and could help.
I guess once I have the driver, following steps would be using
setserial/minicom to config serial port and irq, then run pppd.
Is this idea correct ? (I read bunch of docs and those are the steps I
finally come up with) Would kppp be a lot easier ?
PPP is the only way I can get on line. If I can't get internet access,
then linux would mean nothing to me.
-- Jinning
------------------------------
From: Joachim Feise <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: pppd non-root access
Date: Sat, 25 Mar 2000 15:59:32 -0800
Reply-To: [EMAIL PROTECTED]
Ian Smith wrote:
>
> Gary Krupa wrote:
> >
> > ls -l `which pppd`
> > -rwsrw---x 1 root root 109688 Mar 22 10:14 /usr/sbin/pppd*
>
> OK, I concede, that might be OK for slackware so I won't suggest you
> change it. A Slacker might be able to comment though.
On my Slackware 7 install, the access mode is -rwxr-xr-x
The pppd version I have is 2.3.10.
-Joe
--
Today's English Lesson: Oxymorons
"The unstoppable Windows NT"
------------------------------
** 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
******************************