Linux-Setup Digest #133, Volume #21 Mon, 30 Apr 01 00:13:07 EDT
Contents:
Re: lynx mouse support ([EMAIL PROTECTED])
Re: Is it possible to dual boot without a bootloader? (Cyber-Wizard)
launcher not working after updating to RH7.1 ("Erhanfadli Azrai")
Re: PPP at the command can't be put in the background? (Tony)
Re: lynx mouse support (Thomas Dickey)
HELP: (Please) Mitsumi CD-ROM Driver (mcd.h) Assistance (meebzorp)
Re: Linux, streams and the standard library (John Beardmore)
Re: 2.2.19 Kernel and Printing ?? (Dances With Crows)
Re: Writing a little script (help with sed) ("bowman")
NFS Mount of a CDROM ([EMAIL PROTECTED])
Re: Mandrake 8.0 install hang iso (Juan)
Re: PPP at the command can't be put in the background? ("Glitch")
Re: Mandrake Install Problem ("Glitch")
Re: ipchains test with nmap and iptables logging (HateLinux)
Re: Upgraded kernel and /boot/System.map errors ("Bobby D. Bryant")
Re: Mandrake 8.0 install hang iso (Dave Uhring)
where is a lilo rpm (Farrell Farahbod)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: lynx mouse support
Date: Sun, 29 Apr 2001 23:01:48 GMT
> Re: lynx mouse support
>
> From: Thomas Dickey <[EMAIL PROTECTED]>
> Reply to: Thomas Dickey
> Date: 29 Apr 2001 16:34:42 GMT
> Organization: RadixNet Internet Services
> Newsgroups:
> comp.os.linux.setup
> Followup to: newsgroup
> References:
> <9bvg88$8i9$[EMAIL PROTECTED]>
> <ASIG6.1339$[EMAIL PROTECTED]>
>
>ldd would show what libraries are linked in a given application (I'm not
>sure which ones you might have: though mc can be built with ncurses, it's
>usually done with slang, while linuxconfig is usually ncurses - but I don't
>keep track of those particular programs closely).
>
>--
>Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>http://dickey.his.com
>ftp://dickey.his.com
Thanks for the ldd hint. I don't understand much of what it told me, but
it's looking like lynx was built with slang & mc & linuxconfig were built
with ncurses.
I'd prevously downloaded the lynx source & compiled it as Raju Mathur had
suggested would get the gpm mouse working.
http://reality.sgi.com/raju/lynx.txt
When I run ldd on this version looks like ldd's telling me lynx was built
with an older version of ncurses. The mouse doesn't work when I run this
version. I didn't really know how to do this or select any basic options
let along choose a paticular version of ncurses to build in. I used
./configure and then make from the direcotory I'd uncompressed the source
into.
here are some outputs from ldd
ldd lynx (default debian version)
libz.so.1 => /usr/lib/libz.so.1 (0x40019000)
libslang.so.1 => /lib/libslang.so.1 (0x40029000)
libm.so.6 => /lib/libm.so.6 (0x40087000)
libc.so.6 => /lib/libc.so.6 (0x400a4000)
libdl.so.2 => /lib/libdl.so.2 (0x40181000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
ldd mc
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40019000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40020000)
libext2fs.so.2 => /lib/libext2fs.so.2 (0x40042000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x40053000)
libc.so.6 => /lib/libc.so.6 (0x40056000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40133000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
ldd linuxconf
libncurses.so.5 => /lib/libncurses.so.5 (0x40019000)
libdl.so.2 => /lib/libdl.so.2 (0x40058000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4005c000)
libgd.so.1 => /usr/lib/libgd.so.1 (0x40089000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x400b8000)
libz.so.1 => /usr/lib/libz.so.1 (0x400df000)
libstdc++-libc6.1-2.so.3 => /usr/lib/libstdc++-libc6.1-2.so.3 (0x400ee000)
libm.so.6 => /lib/libm.so.6 (0x40134000)
libc.so.6 => /lib/libc.so.6 (0x40151000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libttf.so.2 => /usr/lib/libttf.so.2 (0x4022e000)
ldd lynx (which I was trying to build with libgpm)
libncurses.so.4 => /lib/libncurses.so.4 (0x40019000)
libc.so.6 => /lib/libc.so.6 (0x40059000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
ldd libncurses.so.4
libc.so.6 => /lib/libc.so.6 (0x40044000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
ldd libncurses.so.5
libc.so.6 => /lib/libc.so.6 (0x40043000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
ldd libslang.so.1
libm.so.6 => /lib/libm.so.6 (0x40063000)
libc.so.6 => /lib/libc.so.6 (0x40081000)
libdl.so.2 => /lib/libdl.so.2 (0x4015e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
------------------------------
From: Cyber-Wizard <[EMAIL PROTECTED]>
Subject: Re: Is it possible to dual boot without a bootloader?
Date: Mon, 30 Apr 2001 00:01:04 GMT
I am very, very new to Linux, please bear with me. Am I correct in
assuming that Mandrake has automatically installed the bootloader on
to HDA? I can find no trace of GRUB anywhere on my Win drive. In fact
I can find no trace of anything that would invoke a bootloader at all.
This is what baffles me so. I will happily accept any enlightenment
(no pun intended) that anyone may be able to offer.
Kevin Davison
On Sun, 29 Apr 2001 17:25:18 -0500, Jan Eric Andersson
<[EMAIL PROTECTED]> wrote:
>Cyber-Wizard wrote:
>
>> I have a 12Gb drive running Win2K and decided to learn about Linux to
>> get out from under the M$ thumb. I have installed Mandrake on a 1.7Gb
>> drive in a removable hard drive bay. I need this bay for other
>> purposes and would like to simply select hda3 in the BIOS for booting
>> into Linux when I want it. My problem is this, now that Linux is
>> installed, GRUB is loading at boot no matter which drive I am booting
>> from. If I remove the 1.7Gb Linux drive from the drive bay the PC will
>> not boot at all. Does anyone know how I might go about being able to
>> boot into Linux by manual HDD BIOS selection?
>
>Install the bootloader on the removable drive instead of hda.
>
>Jan Eric
>
------------------------------
From: "Erhanfadli Azrai" <[EMAIL PROTECTED]>
Subject: launcher not working after updating to RH7.1
Date: Sun, 29 Apr 2001 20:26:27 -0400
after updating to RH 7.1
half of the launchers menu are not working. eventho the exe. files are there
in /usr/bin
any idea?
------------------------------
From: [EMAIL PROTECTED] (Tony)
Subject: Re: PPP at the command can't be put in the background?
Date: Mon, 30 Apr 2001 00:25:45 GMT
I thought I might keep a pppd.log so I tried:
pppd call MyISP >> /tmp/pppd.log &
which appears to work, except I get
[1] Exit 5 pppd call MyISP >>/tmp/pppd.log
when I kill the pppd process, even from another shell,
might this output interfere with a shell script I might run in the
same xterm where I started pppd?
I also tried
pppd call MyISP 2>> /tmp/pppd.log &
but that didn't seem to work, at least as far as the regular output is
concerned - I don't believe there were any error messages to be had.
In a prior linux distribution "pppd call MyISP" would by default
give me back the shell prompt, no screen clutter thereafter. I might
try a prior pppd version but I think I'm almost there with this
redirection business.
Thanks,
-Tony
By the way, what would be a good test to see if there's a network
connection in a script, something like:
if PPP-Connection
then echo "You're on line"
else echo "You're not on Line"
fi
>> How does one start ppp on the command line without the terminal being
>> compromised. I normally call ppp on the command line as follows:
>>
>> pppd call my-isp
>>
>> but when I do this the terminal is in use until the ppp session
>> is broken. The alternative to append a "&" at the end works
>> works somewhat but I still get output to the screen:
>>
>> # Serial connection established.
>> Using interface ppp0
>> Connect: ppp0 <--> /device/modem
>> ...
>>
>> Is there a way to start ppp and have out of one's hair completely.
>
>pppd call your-isp 2> /dev/null &
>should do the trick
>2> is to reroute errors (> is to reroute regular output, which may be
>needed)
>and /dev/null is a black hole for bits: what goes in, never comes out
>again
------------------------------
From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: lynx mouse support
Date: 30 Apr 2001 00:34:08 GMT
[EMAIL PROTECTED] wrote:
> Thanks for the ldd hint. I don't understand much of what it told me, but
> it's looking like lynx was built with slang & mc & linuxconfig were built
> with ncurses.
> I'd prevously downloaded the lynx source & compiled it as Raju Mathur had
> suggested would get the gpm mouse working.
> http://reality.sgi.com/raju/lynx.txt
> When I run ldd on this version looks like ldd's telling me lynx was built
> with an older version of ncurses. The mouse doesn't work when I run this
not exactly - Redhat bungled their packages for ncurses 5.0, changing the
version to 4.0, so it's possible your /usr/lib/libncurses.so points to
that version. You can have different shared library versions existing
on the same machine, the symbolic link is used to tell the linker where
the default version is. (When I install handbuilt libraries on top of
rpm-stuff, I leave the actual shared libraries alone and replace the
symbolic links - that works fine except when the shared library major
version conflicts, then I use static libraries).
> version. I didn't really know how to do this or select any basic options
> let along choose a paticular version of ncurses to build in. I used
> ./configure and then make from the direcotory I'd uncompressed the source
> into.
> here are some outputs from ldd
> ldd mc
> libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40019000)
...and libgpm probably has linked-in a copy of wgetch (a longstanding bug
that no one owns up to).
To disentangle things, you need a copy of libgpm without that (which can be
done with its configure script). There aren't any (useful) applications which
use that - ignoring the occasional broken makefile that lists -lgpm before
-lncurses. Recompiling libgpm won't break anything.
I'd reinstall libgpm (use 'nm' to check for the wgetch), then build ncurses
static libraries in a separate location (e.g., --prefix=/usr/local/ncurses
--with-gpm), and configure lynx against the static libraries (set $LIBS to
-L/usr/local/ncurses/lib, and $CFLAGS to -I/usr/local/ncurses/include).
--
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
------------------------------
From: meebzorp <[EMAIL PROTECTED]>
Subject: HELP: (Please) Mitsumi CD-ROM Driver (mcd.h) Assistance
Date: Mon, 30 Apr 2001 00:35:21 GMT
So I figured out that I need to compile a kernel using the MCD Mitsumi
CD-ROM driver so I can complete the install of Redhat 7.0 on my old
Gateway computer. But how? It's a Catch-22 as I need to install to
build the kernel, but I can't install without the CD-ROM operational.
I need I/O port 300, IRQ 10.
Is it possible to have someone build this for me so I can do the
install? Or is this not possible?
Thanks for any assistance...
Stumped in San Diego
Larry
------------------------------
From: John Beardmore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.alpha
Subject: Re: Linux, streams and the standard library
Date: Mon, 30 Apr 2001 01:44:12 +0100
In article <[EMAIL PROTECTED]>, Neil Butterworth
<[EMAIL PROTECTED]> writes
>"John Beardmore" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> >> So - a couple of questions:
>> >>
>> >> 1) is there a way to get ostringstream to work ?
>> >
>> >Yes - use STLport. You can download it from www.stlport.org.
OK, I'll try that when a get 2.95.3 running.
>> >> 2) is the Standard C++ library ready for prime time under Linux ?
>> >> Isn't its
>> >> use utterly routine these days ? Or am I trying to be too modern
>?
>> >
>> >No, I've been using it for quite some time with absolutely no problems.
>Not
>> >under RedHat though - I run SuSE.
>>
>> What compiler version are you using ?
>
>gcc 2.95.2
OK, pretty recent then !
Cheers, J/.
--
John Beardmore
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.hardware
Subject: Re: 2.2.19 Kernel and Printing ??
Reply-To: [EMAIL PROTECTED]
Date: 30 Apr 2001 00:52:37 GMT
On Sun, 29 Apr 2001 20:22:27 GMT, ET1Mac staggered into the Black Sun
and said:
>But when I rebuilt the kernel I somehow lost my ability to print.
Did you make sure to say "M" or "Y" to all of the following?:
Parallel Port Support->Parallel Port Support
Parallel Port Support->PC-Style Hardware
Character Devices->Parallel Printer Support
>When booting with the new kernel (1st time) kudzu recognized my printer
>I then went to printtool to check everything but this is what I found:
>
>No printer was installed; when trying to add a printer there was no
>detection of and devices (dev/lp0, dev/lp1, dev/lp2). So I inserted
>the proper device (lp0 as from the original install) but received the
>following error when trying to print a test page:
>
>Error reason: lpr: connect: Connection refused, jobs queued, but cannot
>start daemon.
>
>I confirmed lpd was running and retried with same results. Its
>something I forgot to include in the kernel configuration, but I
>rechecked and keep coming up with the same results. What could I have
>left out.
lsmod should show several modules present: parport , parport_pc , and
lp. If they're not there, load them. If they don't exist within
/lib/modules/2.2.19/ , compile them. If your /etc/modules.conf is set
up correctly, attempting to access /dev/lp0 should load all 3 of those
modules in the proper order. HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: "bowman" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: Re: Writing a little script (help with sed)
Date: Sun, 29 Apr 2001 19:10:57 -0600
"Michael Pye" <[EMAIL PROTECTED]> wrote in message
news:QkVG6.4891$[EMAIL PROTECTED]...
> OK, I have a problem with a machine which likes to remember the year as
1994
> when I turn it on. I am looking for a way to automate the change from 94
to
> 2001.
don't suppose you'd just want to rdate from some host who can tell time?
------------------------------
From: [EMAIL PROTECTED]
Subject: NFS Mount of a CDROM
Date: Mon, 30 Apr 2001 03:24:38 GMT
I have followed the how-to's and have been able to mount various parts
of a file system on a networked machine, but as soon as I put the cd-rom
into the /etc/exports file every thing stops dead. If any on can tell me
what to do from here I would be greatly appreciative.
------------------------------
From: Juan <[EMAIL PROTECTED]>
Subject: Re: Mandrake 8.0 install hang iso
Date: Mon, 30 Apr 2001 03:30:07 -0000
Bit Twister wrote:
>
>
> During my install it indicated it could not create the ram disk.
> Also could not write the partition table after partition and formating.
> Posted my hardware on the net and other pople had no problems.
>
> Re-downloaded ISOs, did the, md5sum iso_name_here, they verifed,
> burned new cds and had no problems installing.
>
> Have you md5sum your_isos_name_here ?
>
my isos arent corrupt, ive checked em with http://www.etree.org/md5com.html
0de166745f40bba5cd9c4f051d9cdccf Mandrake80-ext.iso
043ea0b220833fa209920ac0d2d0bd41 Mandrake80-inst.iso
can be the whole iso file not corrupt and a file be corrupt?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: PPP at the command can't be put in the background?
Date: Sun, 29 Apr 2001 23:50:13 -0400
In article <[EMAIL PROTECTED]>, "Tony"
<[EMAIL PROTECTED]> wrote:
> I thought I might keep a pppd.log so I tried:
>
> pppd call MyISP >> /tmp/pppd.log &
>
> which appears to work, except I get
> [1] Exit 5 pppd call MyISP >>/tmp/pppd.log
> when I kill the pppd process, even from another shell, might this output
> interfere with a shell script I might run in the same xterm where I
> started pppd?
> I also tried
>
> pppd call MyISP 2>> /tmp/pppd.log &
>
try pppd call MyISP 2 >>&1 /tmp/pppd.log &
man bash explains the '1' and '2'. They represent stdout and stderr, i
forget which is which though. That command may do what u want then.
> but that didn't seem to work, at least as far as the regular output is
> concerned - I don't believe there were any error messages to be had.
> In a prior linux distribution "pppd call MyISP" would by default
> give me back the shell prompt, no screen clutter thereafter. I might try
> a prior pppd version but I think I'm almost there with this redirection
> business.
>
> Thanks,
>
> -Tony
>
> By the way, what would be a good test to see if there's a network
> connection in a script, something like:
>
> if PPP-Connection
> then echo "You're on line"
> else echo "You're not on Line"
> fi
>
>
>>> How does one start ppp on the command line without the terminal being
>>> compromised. I normally call ppp on the command line as follows:
>>>
>>> pppd call my-isp
>>>
>>> but when I do this the terminal is in use until the ppp session is
>>> broken. The alternative to append a "&" at the end works works
>>> somewhat but I still get output to the screen:
>>>
>>> # Serial connection established.
>>> Using interface ppp0
>>> Connect: ppp0 <--> /device/modem
>>> ...
>>>
>>> Is there a way to start ppp and have out of one's hair completely.
>>
>>pppd call your-isp 2> /dev/null &
>>should do the trick
>>2> is to reroute errors (> is to reroute regular output, which may be
>>needed)
>>and /dev/null is a black hole for bits: what goes in, never comes out
>>again
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: Mandrake Install Problem
Date: Sun, 29 Apr 2001 23:52:36 -0400
In article <9chpnt$3dp$[EMAIL PROTECTED]>, "Unknown"
<[EMAIL PROTECTED]> wrote:
> After Mandrake 8.0 (Stable) is installed and when I try to boot it, I
> get this error:
>
>
> VS: Cannot open root device
> "2103" or 21:03
> Please append a correct
> "root:" boot option
> kernel panic: VFS: Unable to mount root fs on 21:03
>
>
it tells you what the problem is. Boot with a rescue disk and see what
your lilo.conf file looks like,particularly the 'root=' line since that
is what is mentioned in the error message. It should be equal to the
partition where your /boot directory is located.
------------------------------
From: 2b@home (HateLinux)
Crossposted-To: comp.os.linux.security
Subject: Re: ipchains test with nmap and iptables logging
Date: Mon, 30 Apr 2001 03:13:18 GMT
On Sun, 29 Apr 2001 09:16:35 GMT, Manfred Bartz <[EMAIL PROTECTED]>
wrote:
>2b@home (HateLinux) writes:
>
>> I then went to www.hackerwacker.com , and they said my services were
>> closed. (only auth open, which is what I intended). Why do I get
>> different results from nmapping myself through my ISP, and letting
>> hackerwacker nmap me ?
>
>Because when you nmap yourself everything goes through the loopback
>interface. The kernel knows from the routing table which interfaces
>belong to it and chooses the most efficient route. This is not Linux
>specific, windoze f.e. works like that too.
No way around that I suppose ?
BTW, nice site you have....
------------------------------
From: "Bobby D. Bryant" <[EMAIL PROTECTED]>
Subject: Re: Upgraded kernel and /boot/System.map errors
Date: Sun, 29 Apr 2001 21:48:26 +0600
[EMAIL PROTECTED] wrote:
> I unzipped the source into my root account home directory, (the
> README for 2.4.0 explicitly states you should not unpack the source in
> the /usr/scr/linux directory, as libraries include some files here and
> this action may mess the libraries up). then:
>
> cd linux
> make mrproper
> make xconfig
> (configure kernel)
> make dep
> make bzImage
>
> then I copy the image to /boot/bzImage
Unless your .config turns off every one of the modules, you also need to do:
make modules
make modules_install
> I added an image= entry into my lilo.conf file so I can boot the new
> kernel as well as my old kernel (which is located in /boot as well.)
> then I run /sbin/lilo
>
> I reboot, choose the new kernel image I just compiled, and I get the
> /boot/System.map contains wrong version warning message.
In addition to copying bzImage to /boot, you need to copy the new System.map
out of the directory where you did the make into /boot. However, make sure
you don't overload another one with the same name, i.e, copy it as
System.map-2.4.0 or something like that.
> Incidentially, when the APM daemon is being loaded, I get this error:
> /lib/modules/2.4.0/module.dep not located
> or something similar. I did not choose the module option for any of
> the kernel config choices, unless one was m by default and I missed
> it, which I don't think is the case.
Presumably the "make modules" and "make modules_install" will take care of
this.
Good luck,
Bobby Bryant
Austin, Texas
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Mandrake 8.0 install hang iso
Date: Sun, 29 Apr 2001 22:55:23 -0500
Juan wrote:
>
> Bit Twister wrote:
>>
>>
>> During my install it indicated it could not create the ram disk.
>> Also could not write the partition table after partition and formating.
>> Posted my hardware on the net and other pople had no problems.
>>
>> Re-downloaded ISOs, did the, md5sum iso_name_here, they verifed,
>> burned new cds and had no problems installing.
>>
>> Have you md5sum your_isos_name_here ?
>>
>
> my isos arent corrupt, ive checked em with
> http://www.etree.org/md5com.html
> 0de166745f40bba5cd9c4f051d9cdccf Mandrake80-ext.iso
> 043ea0b220833fa209920ac0d2d0bd41 Mandrake80-inst.iso
>
> can be the whole iso file not corrupt and a file be corrupt?
If the md5sums are OK, then it's time to take a look at your BIOS. Set
"optimized defaults" if available, otherwise, "defaults". Make sure that
PnP OS = NO.
------------------------------
From: Farrell Farahbod <[EMAIL PROTECTED]>
Subject: where is a lilo rpm
Date: Sun, 29 Apr 2001 21:06:04 -0700
does anyone here know where i can download an rpm for the newest stable
lilo version. im too new/afraid (i dont have any means to backup other
than floppies) to learn how to compile, but if someone coulds give me a
link on how to compile, i would appriciate it. i will use the rpm (in
root unless otherwise specified) under rh7.0, because me current version
doesnt suppost my hdd because it has more than 1024 cylenders. thank you
all so much,
farrell
------------------------------
** 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
******************************