Linux-Misc Digest #98, Volume #27 Tue, 13 Feb 01 00:13:01 EST
Contents:
Re: A Beginner Asks About Linux ("Peter T. Breuer")
Re: Indrema fan site ("Joel Barnett")
Re: dlopen problem (Oliver Wiegand)
Re: The "which" command ("Thread")
Re: netcrap locks me up (The Real Bev)
Re: Ethernet Help! (J Sloan)
Re: Copying from Gnome Terminal w. PS2 mouse? ("jujubeesRULE")
Getting my sound card to work... (Rajesh Radhakrishnan)
extracting tar.Z (wksl)
Re: O'Reilly: SSH book published (Mark Post)
Re: uudecoder ("jujubeesRULE")
Re: su command while in a program? (*Rotten_168*)
Re: Linux Sucks... well not really (*Rotten_168*)
Re: extracting tar.Z ("D. Stimits")
help: setting up ips for dialing in (David. E. Goble)
Re: Indrema fan site (Aaron Kulkis)
----------------------------------------------------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: A Beginner Asks About Linux
Date: Tue, 13 Feb 2001 03:13:23 +0100
Vladimir Florinski <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" wrote:
>>
>> > And how, pray, do I tell which version of libc6 some piece of software was
>> > compiled with?
>>
>> It'll tell you - use ldd on it.
>>
>> barney:/usr/oboe/ptb% ldd /usr/bin/which
>> libc.so.6 => /lib/libc.so.6 (0x4001a000)
>> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>>
>> so it thinks version 6 is what it wants.
> Basically, you are saying that you don't know. The question was, how do I tell,
Please don't cut what I say when it's relevant. I went on to discuss
this aspect.
> if a program was linked with 2.1.3 or 2.1.2 or 2.0.5, etc. There's probably no
> way to tell this.
And no reason why you should (yes, you can nearly always know, but you
don't want to).
>> one of those is a release version. The others are internal
>> development versions by the developers.
> This is not true. All three were officially released.
I agree that it is not as clear as it ought to be. The fact that redhat
published a development version (2.0.7?) and that the 2.2.* development
version has been available for alpha/beta testing as usual doesn't make
2.1.* anything but the current official release. I wish they'd include
the second portion of the version in the soname.
Peter
------------------------------
From: "Joel Barnett" <[EMAIL PROTECTED]>
Subject: Re: Indrema fan site
Date: Mon, 12 Feb 2001 18:40:14 -0800
"Peter K�hlmann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> William Kendrick wrote:
> > I've created a fan site dedicated to the upcoming
> > "Indrema Entertainment System," a Linux-based game console with many
> > home entertainment features (DVD player, MP3 support, TiVo-like
features).
> >
>
> Fine, so you are already a fan of something which does not even exist.
> What should this tell us
> Mind you, I am a linux user.
> Do you really think such stuff will help ANY cause?
Why does it need to help a cause ?
What's wrong with the guy creating a website for a Linux related product and
posting an announcement here ?
> Or isn`t it that anyone else will just laugh his/her ass off at those
> juvenile geeks?
bad day ?
> >
>
> Peter
>
>
>
> --
> "The PROPER way to handle HTML postings is to cancel the article, then
> hire a hitman to kill the poster, his wife and kids, and fuck his dog and
> smash his computer into little bits. Anything more is just extremism."
>
jbarntt
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: dlopen problem
Date: Tue, 13 Feb 2001 03:52:45 +0100
Reply-To: [EMAIL PROTECTED]
"D. Stimits" wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > In article <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] wrote:
> > > [EMAIL PROTECTED] wrote:
> > > >
> > > > Does anyone know why I get a segmentation fault
> > > > on this code?
> > > > void* handle = NULL;
> > > > char name[64]="/home/data/build/ilImagedata.so\0....garbage";
> > > > if ((handle = dlopen(name, RTLD_LAZY)) ==NULL)
> > > >
> > > > name isn't really defined like that, but for the purpose of this
> > problem
> > > > it's addequate.
> > > > If anyone could make a suggestion, I'd really really appreciate it.
> > > >
> > > > Sent via Deja.com
> > > > http://www.deja.com/
> > >
> > > There isn't enough code here to know. However, let's say for the
> > moment
> > > that in case of failure, you run dlerror, or in the case of success,
> > > something else. If you have success/failure reversed in your test, it
> > > will do this. Running dlerror after success is a problem, as well as
> > > running some other related functions if it really failed. I think the
> > > key is in what happens immediately after the "if((handle..." stuff,
> > > within the branches of the "if".
> > >
> > > D. Stimits, [EMAIL PROTECTED]
> > >
> > I tried getting rid of the if statement altogether
> > and just running dlopen. I get the same
> > Segmentation fault error.
> > This is the code executed if the handle ==NULL
> > fprintf(stderr, "Couldn't load %s: %s\n",
> > direntp->d_name,dlerror());
> > continue;
>
> Try temporarily commenting out the dlopen() related functions (other
> than dlopen itself), e.g., dlerror(). There is a chance that those are
> the functions actually causing a problem.
>
> >
> > Sent via Deja.com
> > http://www.deja.com/
I think,the "/home/data/build/ilImagedata.so" or whatever you open
causes the segfault.
I compiled the program and I tried opening "./a.out" for test (just
something with an valid elf header ?), which is the program itself:
caused segfault.
Greetings Oli
------------------------------
From: "Thread" <[EMAIL PROTECTED]>
Subject: Re: The "which" command
Date: Mon, 12 Feb 2001 16:54:37 -0500
Yikes! Don't sweat the which command. I don't know what a which rpm will
have in it, but you can just make a little bash script that looks like this:
#!/bin/sh
type -path $1
chmod +x it, put it in yer path (say, /usr/bin), and you'll be all set.
Thread
<[EMAIL PROTECTED]> wrote in message
news:964mfp$h26$[EMAIL PROTECTED]...
>
>
> What package contains the "which" command? I did a Linux From
> Scratch install, and it wasn't included. And I can't do a web search for
> it because Google rejects the word "which" because it's so common. Very
> frustrating.
------------------------------
From: The Real Bev <[EMAIL PROTECTED]>
Subject: Re: netcrap locks me up
Date: Mon, 12 Feb 2001 19:12:46 -0800
Chris Webster wrote:
>
> john connolly wrote:
> >
> > Occasionally, when using netscape 4.7x on a slackware7.0 (xfree 3.6xx)
> > system and kde2.?? my cpu (celeron 400) usage goes up to nearly 100% and
> > stays there and the only way to recover is to kill netscape. This has
> > happened any number of times in navigator when visiting web sites and
> > once in a while in communicator using the local road runner news server.
> > Any ideas about this?
>
> Happens to me 3-6 times a day, along with 3-6 crashes a day. A while
> back I'd heard something about Java problems.
Yup. Sometimes it happens when I'm just reading my email, too.
Occasionally it will kill X. Some of us are lazier than others and use
something like this...
alias killnet='rm -f /root/.netscape/lock;killall -9 netscape'
--
Cheers,
Bev
***********************************************
"A complete lack of evidence is the surest sign
that the conspiracy is working." -- Tanuki
------------------------------
From: J Sloan <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking
Subject: Re: Ethernet Help!
Date: Tue, 13 Feb 2001 03:20:24 GMT
ntbluez wrote:
> How did you get the network card to be recognzied in linux 7...?
> I just installed linux 7 with a smc 1211tx ethernet card but linux
> doesnt recognize it and i have no idea how to load the rtl8139.c sourc
> code for it..... i need help as well.
For realtek 8139, just add the line
alias eth0 rtl8139
to /etc/modules.conf
then type "modprobe eth0" and then "dmesg"
to see the kernel message.
"netcfg" could be used for the above as well.
jjs
------------------------------
From: "jujubeesRULE" <[EMAIL PROTECTED]>
Subject: Re: Copying from Gnome Terminal w. PS2 mouse?
Date: Tue, 13 Feb 2001 04:03:20 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> I'm running RH6.2 with a Helix Gnome update from a few months back.
> Occasionally I wish to copy stuff from the Gnome Terminal to a text
> editor (usually Gedit or whatever). I can highlight a line with the
> mouse (left button), but obviously I can't use Ctrl-C to put it in the
> copy buffer (that being a different terminal command in itself) and
> paste it to the editor with Ctrl-V.
>
> The docs say that the left button will automatically place anything
> highlighted with the left-button into the copy buffer to be pasted, but
> only with a standard 3-button mouse. Is there any workaround for a
> 2-button PS2 mouse for this? Thanks.
I used to copy-n-paste with a 2-button mouse successfully with the emulate
3 button option in XF86Config.
------------------------------
From: Rajesh Radhakrishnan <[EMAIL PROTECTED]>
Subject: Getting my sound card to work...
Date: Mon, 12 Feb 2001 23:15:53 -0500
Hi,
I ran 'sndconfig' and here is the error I get,
The following error occurred running the modprobe program:
x
x /lib/modules/2.2.16-22/misc/sb.o: init_module: Device or x
x resource busy x
x /lib/modules/2.2.16-22/misc/sb.o: insmod x
x /lib/modules/2.2.16-22/misc/sb.o failed x
x /lib/modules/2.2.16-22/misc/sb.o: insmod sound-slot-0 failed x
When I ran insmod I got these following messages,
insmod sb.o
sb.o: unresolved symbol midi_synth_send_sysex_Rfddcbfb3
sb.o: unresolved symbol probe_uart401_R6467f99b
sb.o: unresolved symbol DMAbuf_inputintr_Reb315d99
sb.o: unresolved symbol sound_free_dma_R394cb088
My /dev/audio is always reported to be busy,
crw-rw-rw- 1 avi sys 14, 4 Aug 24 05:00 /dev/audio
My Sound Blaster card was working fine until last week. The problem
started after I had listened to some Realplayer files from the web and
the player hung while playing one of the files.
I rebooted the machine but the problem persists.
Any suggestions.
Thanks
Rajesh
------------------------------
From: wksl <[EMAIL PROTECTED]>
Subject: extracting tar.Z
Date: Tue, 13 Feb 2001 04:30:08 -0000
How can I extracting tar.Z file for my RedHat 7.0? What is the command
should I used to extract tar.Z file?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Mark Post)
Crossposted-To: comp.security.ssh
Subject: Re: O'Reilly: SSH book published
Date: Tue, 13 Feb 2001 04:30:37 GMT
On 12 Feb 2001 19:22:58 GMT, [EMAIL PROTECTED] (Dustin Puryear) wrote:
>"Richard E. Silverman" wrote:
>>
>> >>>>> "Dustin" == Dustin Puryear <[EMAIL PROTECTED]> writes:
>>
>> Dustin> I don't normally do this, but..
>> Dustin> Product announcements are WAY off-topic in comp.os.linux.misc.
>>
>> Announcing the release of a technical book on a piece of software shipped
>> with most Linux distributions seems relevant enough to me. Thanks for
>> your opinion, though. To date, you are the only person who has expressed
>> this to us.
>
>So it would be all right for O'Reilly, Prima, SAMS, and others to post new
>releases to comp.os.linux.misc? I don't think so. Take it to
>comp.os.linux.announce, not comp.os.linux.misc. Now, if your book is free
>and available on the web that is another matter.
Since Mr. Silverman seems to think that numbers matter, then I'll add my
voice to Dustin's. Please don't spam Usenet with commercial announcements
of new book publications. That is what comp.os.linux.announce is for. Does
that make you feel better now that it's more than one person? I'll even
echo his sentiment about freely available on-line stuff. That is acceptable
to me also, for announcement in something other than c.o.l.announce.
Mark Post
Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.
------------------------------
From: "jujubeesRULE" <[EMAIL PROTECTED]>
Subject: Re: uudecoder
Date: Tue, 13 Feb 2001 04:36:23 GMT
In article <[EMAIL PROTECTED]>, "Mladen Gavrilovic"
<[EMAIL PROTECTED]> wrote:
> Hi all, I'm trying to decode some binaries that I downloaded from a
> newsgroup.
>
> They are UUencoded and named 1262216.uue to 1262401.uue, with numbers in
> between missing (i.e. the names don't go 1262216.uue, 1262217.uue,
> 1262218.uue, but 1262216.uue1262219.uue, 1262223.uue, etc.).
>
> There are 66 files in all, and they should make a rar archive (.r11) in
> the end. The program that would normally decode them (NewsShark in
> Windows) couldn't do it because they were posted under individual
> headers, not as one header with 66 parts.
>
> I've tried making a tar file of the files and then uudecoding that with
> uudecode, which gave me an .r11? because there was "no end line". If I
> rename the file to .r11 and run a check on it, it has a CRC error (it's
> about 60K bigger than all the other volumes). The same thing happens if
> I try to paste the files together with cat.
>
> Does anyone have any ideas on how I might decode these?
>
> Regards, Mladen
You should be able to just cat them together and then remove the
superfluous lines, then uudecode the resulting file.
Below is a _REALLY SLOPPY_ script that I have used. It tries to read the
(01/XX) to (XX/XX) sections in the headers, and cats them in order, not
by filename order, removing the extras, writing a uudecode-ready file
(hopefully).
You can try it if you wish, but no guarantees, I just know it worked for
me, and I do know its a mess. If you do want to use it, copy it to a file
(I called it assemble.sh but call it pieceofcrap if you want),
make it executable, copy all the messages for the section into thier own
directory(I would make sure to copy them, and not try it immediately on
the originals), and run the script from that directory using the number of
segments as the only argument "./assemble.sh 66" in your case if there are
66 segments. You should then be able to uudecode the "decodeme" file it
writes, and hopefully get a proper file.
(the sed statement at the end of the script {which is the sloppiest of the
bunch} should all be on one line)
===============8<=============================
#!/bin/bash
if [ -z $1 ]; then
echo
echo "Usage: assemble.sh NUM"
echo "where NUM = the number of segments in the file"
echo
exit 1
fi
if [ -e assembled ]; then
echo "assembled exists, remove it first if you want to run this again"
echo "Aborting"
exit 1
fi
if [ -e decodeme ]; then
echo "decodeme exists, remove it first if you want to run this again"
echo "Aborting"
exit 1
fi
totalsegs=$1
current=1
echo "current = $current \n totalsegs = $totalsegs"
while [ $current -le $totalsegs ]
do
if [ $current -lt 10 ]
then
file=$( grep -l \(0${current}/$totalsegs\) * )
echo "0${current}/$totalsegs is in $file"
cat $file >> assembled
echo "catting $file"
else
file=$( grep -l \(${current}/$totalsegs\) * )
echo "${current}/$totalsegs is in $file"
cat $file >> assembled
echo "catting $file"
fi
current=$(($current+1))
done
sed -e "/^$/d" -e "/^S/d" -e "/^Message/d" -e "/^Pa/d" -e "/^F/d" -e "/^X/d" -e
"/^N/d" -e "/^R/d" -e "/^O/d" -e "/^L/d" -e "/^D/d" < assembled > decodeme
------------------------------
From: *Rotten_168* <[EMAIL PROTECTED]>
Subject: Re: su command while in a program?
Date: Tue, 13 Feb 2001 04:45:29 GMT
Richard James Panturis Giuly wrote:
>
> Is there some way to change to a different user (like su) so that you
> suddenly gain that users access priveledges while you are still in a
> program. I mean you try to access a file in a program, and it fails, so
> you just change users and you have access, without exiting the program.
>
> --
> Richard Giuly
>
> (remove animal from email address)
Could you run the program in the background, ch user, and then start the
program again?
--
Rotten168
=============================
http://rotten168.home.att.net
=============================
ICQ# 51265871
------------------------------
From: *Rotten_168* <[EMAIL PROTECTED]>
Subject: Re: Linux Sucks... well not really
Date: Tue, 13 Feb 2001 04:47:46 GMT
Oliver Battenfeld wrote:
>
> > mozilla is just big and slow... when it shoudl be small and fast...
>
> Yeah, they�re gonna learn it the hard way :-)
>
> > so i find myself with asking why is our OS
> > handicapped when it comes to browsers...
>
> Got KDE installed ? Konqueror is an excellent alternative.
>
> And btw, Opera is out now for Linux and this thing is definitely on par
> with the fat babes. Only disturbing thing is (for some at least), it�s
> not open source.
>
> --
> Ciao,
> Oliver
It's also missing certain features like the ability to print.
--
Rotten168
=============================
http://rotten168.home.att.net
=============================
ICQ# 51265871
------------------------------
Date: Mon, 12 Feb 2001 22:00:18 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: extracting tar.Z
wksl wrote:
>
> How can I extracting tar.Z file for my RedHat 7.0? What is the command
> should I used to extract tar.Z file?
>
> --
> Posted via CNET Help.com
> http://www.help.com/
.Z is an old compression from the earliest of UNIX days. For that,
"uncompress". tar is just the archive mechanism to pack multiple files
into a single file. You could use uncompress first, and end up with just
a .tar file, then untar. Or you can pipe and keep the original
compressed. There are also command line switches to tar to do it
on-the-fly. The more indirect means that leaves the original compressed
to save spaced:
uncompress < filename.tar.Z | tar xvf -
------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,alt.linux
Subject: help: setting up ips for dialing in
Date: Tue, 13 Feb 2001 05:04:13 GMT
Reply-To: goble@gtech
Hi all;
Iam running RedHat 6.2 and trying to set it up as a server.
Not sure how to setup the ip numbers. It will accept a call and allow
login, but comes up "Could not determine local IP address".
Also should the remote computer have any ness..y settings, like in
their hosts...?
I do not have any NICs, should the server have more than 127.0.0.1?
Below are some of the files; ppp.log, hosts, options, options.srv,
login.config, mgetty.config, resolv.conf, pap-secrets.
############ /var/log/ppp ##
Feb 13 14:57:29 gtech pppd[732]: pppd 2.3.11 started by ppp, uid 0
Feb 13 14:57:29 gtech pppd[732]: Using interface ppp0
Feb 13 14:57:29 gtech pppd[732]: Connect: ppp0 <--> /dev/ttyS2
Feb 13 14:57:29 gtech pppd[732]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <auth pap> <magic 0x22901335> <pcomp> <accomp>]
Feb 13 14:57:30 gtech pppd[732]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <auth pap> <magic 0x22901335> <pcomp> <accomp>]
Feb 13 14:57:31 gtech pppd[732]: rcvd [LCP ConfReq id=0x2 <asyncmap
0x0> <magic 0x2a> <pcomp> <accomp>]
Feb 13 14:57:31 gtech pppd[732]: sent [LCP ConfAck id=0x2 <asyncmap
0x0> <magic 0x2a> <pcomp> <accomp>]
Feb 13 14:57:31 gtech pppd[732]: rcvd [PAP AuthReq id=0x3
user="begoble" password=<hidden>]
Feb 13 14:57:32 gtech pppd[732]: user begoble logged in
Feb 13 14:57:32 gtech pppd[732]: Could not determine local IP address
Feb 13 14:57:32 gtech pppd[732]: Connection terminated.
Feb 13 14:57:32 gtech pppd[732]: Connect time 0.1 minutes.
Feb 13 14:57:32 gtech pppd[732]: Sent 288 bytes, received 347 bytes.
Feb 13 14:57:32 gtech pppd[732]: Exit.
############ hosts #########
127.0.0.1 gtech localhost.localdomain localhost
############ options #######
lock
crtscts
defaultroute
noipdefault
############ options.srv #######
auth
-chap
+pap
login
asyncmap 0
:192.168.0.25
debug
modem
crtscts
proxyarp
############login.config #########
/AutoPPP/ - ppp /usr/sbin/pppd file /etc/ppp/options.srv
* - - /bin/login @
############# mgetty.config ###########
debug 4
fax-id 61 08 8553 2829
speed 115200
port-owner uucp
port-group pppusers
port-mode 0664
fax-group uucp
fax-mode 0640
fax-owner root
fax-group uucp
fax-mode 0640
port ttyS2
direct n
term vt100
debug 5
speed 115200
login-prompt @ \P login:
############### resolv.conf ############
nameserver 203.48.5.1
############### pap-secrets ############
user1 * ""
user2 * ""
------------------------------
From: Aaron Kulkis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Indrema fan site
Date: Tue, 13 Feb 2001 00:07:12 -0500
William Kendrick wrote:
>
> I've created a fan site dedicated to the upcoming
> "Indrema Entertainment System," a Linux-based game console with many
> home entertainment features (DVD player, MP3 support, TiVo-like features).
>
> Currently the site contains links to news articles about the Indrema
> (more news than the Indrema itself has links to!), a collection of
> notable mailing list comments from the Indrema staff (a useful addition
> to the Indrema website's FAQs), and links to other
> Indrema-related websites.
>
> Bill Kendrick's Indrema Site
> http://www.newbreedsoftware.com/bill/indrema/
>
> Enjoy!
>
> -bill!
> [EMAIL PROTECTED]
> http://www.newbreedsoftware.com/bill/
Get a life.
--
Aaron R. Kulkis
Unix Systems Engineer
DNRC Minister of all I survey
ICQ # 3056642
H: "Having found not one single carbon monoxide leak on the entire
premises, it is my belief, and Willard concurs, that the reason
you folks feel listless and disoriented is simply because
you are lazy, stupid people"
I: Loren Petrich's 2-week stubborn refusal to respond to the
challenge to describe even one philosophical difference
between himself and the communists demonstrates that, in fact,
Loren Petrich is a COMMUNIST ***hole
J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
also known as old hags who've hit the wall....
A: The wise man is mocked by fools.
B: Jet Silverman plays the fool and spews out nonsense as a
method of sidetracking discussions which are headed in a
direction that she doesn't like.
C: Jet Silverman claims to have killfiled me.
D: Jet Silverman now follows me from newgroup to newsgroup
...despite (C) above.
E: Jet is not worthy of the time to compose a response until
her behavior improves.
F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
adultery while concurrently committing adultery with Tammy Hahn.
G: Knackos...you're a retard.
------------------------------
** 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.misc.
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
******************************