Re: [gentoo-user] KDE Sound

2003-08-30 Thread Makurin Roman
USE=oss emerge alsa-driver

 Hello.
 
 I have a problem with sounds and KDE.
 
 I have ALSA compiled in as per instructions, and sound works perfectly
 from XMMS and ogg123... However, on KDE startup, I get the following
 message:
 
 
 Sound server informational message:
 Error while initializing the sound driver
 device /dev/dsp can't be opened (no such file or directory)
 The sound server will continue to use the null output device
 
 
 However, as reported earlier, if I start XMMS music works fine.
 
 There is no file/directory called /dev/dsp
 
 
 
 Machine details:
 Linux io 2.4.22 #1 Thu Aug 28 12:47:55 NZST 2003 i686 AMD Athlon(tm) XP 1800+ 
 AuthenticAMD GNU/Linux
 Gentoo Base System version 1.4.3.10
 
 kde-3.1.3
 
 alsa-lib-0.9.6
 alsa-oss-0.9.6
 alsa-driver-0.9.6
 alsa-utils-0.9.6-r1
 
 xmms-1.2.7-r25
 alsa-xmms-0.9.12
 
 /bin/ls: /dev/dsp: No such file or directory
 
 
 
 Any help in getting sound working in KDE would be very much appreciated.
 
 
 
 TIA
 Ash
 
-- 
Makurin Roman [EMAIL PROTECTED]
lostFPRL


signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?==?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?==?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?==?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?==?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=


Re: [gentoo-user] how to allow dialin via isdn?

2003-08-30 Thread Timothy Grant
On Friday 29 August 2003 07:29 am, a_k_b wrote:
 is there a way to allow a user to dialin via isdn, so he is part of my lan?
 with windows i did this to play lan games over a wan connection, such as
 vpn. but i cant really use vpn, since the other user is restricted to
 direct dialin instead of using the internet (its faster and doesnt cost any
 cent to use the normal isdn line, but internet costs).

It's been years since I configured ISDN on a Linux box and I've only ever done 
it with external devices, but the last time I did it, I configured it just 
like any other modem. I know we had some issues getting the settings just 
right, but once the two machines started talking connect times were almost 
instantaneous. It was quite nice.

-- 
Stand Fast,
tjg.

Timothy Grant
www.craigelachie.org


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: KDE Sound

2003-08-30 Thread Ash Varma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Aug 30 03:00, Makurin Roman wrote:
 USE=oss emerge alsa-driver
 
Thanks heaps.

That worked perfectly.

Ash


- -- 

Ash Varma
[EMAIL PROTECTED]

Culture is the habit of being pleased with the best and knowing why.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3rc1 (GNU/Linux)

iD8DBQE/T+qFf87sHu8EAxURArTwAJ9pqhLONoXVN1PM1/mgrnLwd+/SLQCePIDs
CnioT8t6ClT+y/5q7m72XeA=
=H1P5
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how to allow dialin via isdn?

2003-08-30 Thread Alex Schuster
Arne writes:

 is there a way to allow a user to dialin via isdn, so he is part of my
 lan?

Sure. This is how I do it:


DEVICE=ippp5
MSN=123456  # own number
NUMBERS=012345678 # List of remote numbers to dial

isdnctrl addif $DEVICE
isdnctrl eaz $DEVICE $MSN
isdnctrl addphone $DEVICE in *
isdnctrl addphone $DEVICE out $NUMBERS
isdnctrl dialmode $DEVICE manual
isdnctrl huptimeout $DEVICE 600
isdnctrl l2_prot $DEVICE hdlc
isdnctrl l3_prot $DEVICE trans
isdnctrl encap $DEVICE syncppp
isdnctrl ihup $DEVICE off

ifconfig $DEVICE here pointopoint there netmask 255.255.255.0
#route add ppp-atv $DEVICE # seems to be set automatically now

ipppd file /etc/ppp/options.$DEVICE


The /etc/ppp/options.ippp5 file looks like this:

/dev/ippp5
debug
user papusername
here:there
netmask 255.255.255.0
-vj
-vjccomp
-ac
-pc
-bsdcomp
mru 1524
mtu 1500


In /etc/hosts I have an entry like this o define the hosts:

here192.168.10.1
there   192.168.10.2


Finally, in /etc/ppp/pap-secrets, this is used for the simple  
unencrypted PAP authentication:

papusername   *   pappassword



Use isdnctrl dial ipp5 to call the remote host, or just wait to be
called by him. isdnctrl hangup ippp5 to hangup.


Alex
-- 
  Alex Schuster [EMAIL PROTECTED] PGP Key available
[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (not SOLVED)

2003-08-30 Thread Jason Stubbs
On Saturday 30 August 2003 06:37, Spider wrote:
 begin  quote
 On Fri, 29 Aug 2003 23:25:03 +0900

 Jason Stubbs [EMAIL PROTECTED] wrote:
  On Friday 29 August 2003 22:50, Jason Stubbs wrote:
   However, *any* mail that goes through it comes out blank! Whether it
   is spam or not! The script works fine from the shell so it's got to
   be something wrong with how I'm using procmail. I can't see where
   the error is though. I checked the $TMP files and both come out
   blank, so it seems that procmail is not piping the mail through the
   filter. Either way, it doesn't explain why spam is being corrupted
   as well. Can anyone help? Pretty please??
 
  To add some further information, I've found the following in
  /var/log/mail/current:
 
  Aug 29 23:20:30 [procmail] Suspicious rcfile /home/jason/.procmailrc
 
 
  My /etc/procmailrc, btw, is as follows:
 
  DEFAULT=/var/spool/mail/$LOGNAME
 
  :0fw
 
  *  256000
 
  | /usr/bin/spamc -f
 
  INCLUDERC=$HOME/.procmailrc
 
 
  Byte for byte matching Spider's recommendations.

 oh wait, I think I have it..
 I Read The Fine Manual:

 Suspicious rcfile x

 The owner of the rcfile was not the recipient or
 root, the file was world writable, or the direc-
 tory that contained it was  world  writable,  or
 this  was the default rcfile ($HOME/.procmailrc)
 and either it was group writable or the directo-
 ry that contained it was group writable (the
 rc-file was not used).

The file was group writable. Thanks! I wasn't looking at the procmail man page 
at all - only procmailrc and procmailex.

Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-30 Thread Jason Stubbs
On Saturday 30 August 2003 03:02, Marshal Newrock wrote:
 It's been a little while since I've done something like this, but I think
 I've got it.  'cat /dev/stdin' is the wrong way to read input to a
 command.  Also, I'd just save everything in a variable, and avoid disk
 access.  And make sure you're only sending the header.  I believe there's
 an 'h' flag for procmail to do this.  Scanning every line of a 5MB email
 will be a bit of a performance loss.

 #!/bin/bash
 notify_msg=
 while read header_line
 do
 if `echo $header_line | egrep -q '^(From|Date|Subject)'`
 then
 notify_msg=${notify_msg}${header_line}\n
 fi
 done
 echo -e $notify_msg | mail -s Mail Notification $1


This script is beautiful! Is helping me on my way to becoming more than a 
mediocre bash 'programmer'. Thanks very much.

 If you don't understand the grep line, read the entire grep man page top
 to bottom.  It will be one of the more useful things you do.

The grep line is fairly easy to understand. I've got to learn regular 
expressions, though. They seem too useful!

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] S3 Savage and OpenGL?

2003-08-30 Thread donnie berkholz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 29 August 2003 17:44, Nathaniel McCallum wrote:
 Is there a way to get opengl to work with a S3 Savage?  Thanks!

The S3 driver with accelerated 3D only works on xfree-4.2.0 with a few 
modifications. There was a Mesa upgrade from xfree 4.2 to 4.3, and the driver 
is being ported to 4.3 by the DRI project at dri.sf.net.

Check the savage mailing list archives at Tim Roberts' site on www.probo.com 
for some hints on building/using the driver on 4.2.

Here's the driver:
http://www.linux.org.uk/~alan/S3.zip
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/T/YUXVaO67S1rtsRAj1gAJ9Q0VhNGoLXRq+qpo1G6dBhcX/7UgCdG1ZF
hGX24ojwXCQoRKGmhTNrgrA=
=UhWr
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Spider
begin  quote
On Sat, 30 Aug 2003 09:54:19 +0900
Jason Stubbs [EMAIL PROTECTED] wrote:

 On Saturday 30 August 2003 00:07, Christopher Fisk wrote:
  I've answered this on the forums at
  http://forums.gentoo.org/viewtopic.php?t=23703postdays=0postorder=ascsta
 rt=6
 
  The perl script would be edited to have the proper phone number, but
  that should do what you are looking for.
 
 Thanks for the link. I read it, well at least up until it went into
 what is procmail?, but I will go with the bash script. Have the
 reason I'm trying to set this up is for the learning and I haven't
 even started with Perl yet. That is to say, I can read Perl and
 understand it but have never written anything and so the learning
 curve is too much for a relatively simple project such as this.
 
 I did get some useful information, though. That being using procmail's
 'c' flag to create a copy of the message, rather than having to ensure
 that the output matches the input with 'f'. Thanks for that too!
 
 
 To all:
 
 Last problem is that it I'm getting 2 mail notifications for each
 message. My results are as follows:


try something like
 :0
* ^X-Spam-Status: No
{
:0 c
| my-bash-script

:0
storage
}




 0:c   original message delivered and 2 notifications
 0;f   original message not deleviered and 1 notification
 
 I tried duplicating the input onto the output using echo with 0:f but
 still did not get the original message. Any pointers?
 
 Thanks for everybody's help.
 
 Regards,
 Jason
 
 --
 [EMAIL PROTECTED] mailing list
 


-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-30 Thread Marshal Newrock
On Sat, 30 Aug 2003, Jason Stubbs wrote:

 The grep line is fairly easy to understand. I've got to learn regular
 expressions, though. They seem too useful!

That's what I meant.  'man 7 regex' and 'man pcre' for regular regular
expressions and perl compatible regular expressions, respectively.  In
fact, 'apropos pcre' reveals 'pcregrep' which I had not previously known
about.  Also 'man perlre' for using regular expressions in a perl script.
But regardless of what tool you use (grep, sed, perl, etc), learning
regular expressions is definately something you want to do.  But also
learn perl or another scripting language of your choice.  Bash is good for
simple tasks, but sooner or later you'll hit some limitations.

-- 
Caution: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge failure

2003-08-30 Thread Jason Rogers
I am fairly new to Gentoo (love it! by the way) and to Linux.  I have
searched the archives an not found an answer so I am resorting to sending
an email to the list.

I am trying to update 'world' but when I do get the following error
trying to build gnome-spell.  The line in question in the build script
says 'emake || die ...'

snip
mv -f .libs/spell-factory.lo spell-factory.lo
sed -e s|[EMAIL PROTECTED]@|/usr/lib/gnome-spell|g \
-e s|[EMAIL PROTECTED]@|0.3|g \
-e s|[EMAIL PROTECTED]@|1.0.4|g GNOME_Spell.server.in.in 
GNOME_Spell.server.in
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -pipe -g -g -g
-L/usr/lib  -o libgnome-spell-idl.la   Spell-common.lo Spell-skels.lo
Spell-stubs.lo  -laspell
grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file
or directory
sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No
such file or directory
libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is
not a valid libtool archive
make[2]: *** [libgnome-spell-idl.la] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
`/var/tmp/portage/gnome-spell-1.0.4/work/gnome-spell-1.0.4/gnome-spell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-spell-1.0.4/work/gnome-spell-1.0.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-text/gnome-spell-1.0.4 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
/snip

I am not a C guy, so I don't even know where to begin to find out why
this is failing, thus my email.  Can someone enlighten me about how to
begin to diagnose my build problem?  I can of course offer more of the
output of the build if needed.  Do I need to update something else first?
 Am I missing some lib?

Thanks.
=jason
-- 
  Jason Rogers
  [EMAIL PROTECTED]
  [:everyQuestion | ^ Jesus]

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
  love email again

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-30 Thread Chris I
On 2003.08.29 14:15, Norberto BENSA wrote:
Jorge Almeida wrote:
  On Fri, 29 Aug 2003, bob bob wrote:
  How long is this protest going to go on for? its really irritating
for
  those of us not in europe that want to find information on the
web...

 How is one supposed to know what you're talking about? Telepathy?
Go around. Check slashdot. Personally, I think this protest only hurts
people
using OSS. The pretest is absolutely pointless.
It does mainly hurt people using OSS, but hopefully those people will 
get up and write their representatives, stage a rally, riot, or 
something to tell the government that this isnt okay.

--

Chris I

BOFH Excuse #59:

failed trials, system needs redesigned

pgp0.pgp
Description: PGP signature


Re: [gentoo-user] protest?

2003-08-30 Thread Norberto BENSA
Chris I wrote:
 On 2003.08.29 14:15, Norberto BENSA wrote:
  Personally, I think this protest only hurts
  people
  using OSS. The pretest is absolutely pointless.

 It does mainly hurt people using OSS, but hopefully those people will
 get up and write their representatives, stage a rally, riot, or
 something to tell the government that this isnt okay.

I hope you're right and the goverments do something ASAP.

Regards,
Norberto


pgp0.pgp
Description: signature


[gentoo-user] kde compile error

2003-08-30 Thread Larry Wright
Some time ago, I did an emerge -u world and gcc was updated to the current 
version - 3.2.3-r1. Since then, I have compiled and emerged many things, but 
I cannot compile anything kde-ish. I haved tried kdevelop from CVS, which I 
had compiled previously, and got an error. I tried today to do an emerge -u 
world, and it failed attempting to compile an updated version of kdelibs. The 
message I get is this:

libtool: link: cannot find the library 
`/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'


Any thoughts?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to and from Dvorak keymap?

2003-08-30 Thread Andrew Farmer
At 29 August, 2003 Adam Scriven wrote:
 Hey all.
 
 I've been thinking recently about the Dvorak keyboard layout, and I thought
 I'd set it up to test on my system.
 
 I'm not sure, however, to go about doing that exactly.  Are there any FM's I
 should R?  I'd prefer, at least for now, if it was just a per-user thing,
 and switchable at that, so I can switch back to Sholes (I think that's how
 it's spellt, QWERTY basically) if I don't want to use it anymore.

Well, as long as you use X for most of your work, you could look into
doing it with xmodmap. A good tool for editing your layout -- although I
would assume there's already a Dvorak layout out there -- is xkeycaps
(in portage). The syntax is pretty straightforward. After you've got the
file prepared, you can load it in your .xinitrc, or, if you use GNOME
(as I do), you can set it as a manual startup item (as I do). I still
use QWERTY, but I remap some keys, like CapsLock (which I turn into a
fifth modifier used for diacritical characters.) If anyone's interested
in my .xmodmap, I can send that out for your perusal.

If you like your console too, then you'd probably have to mess around
with consolekeys. However, I think there's already a Dvorak layout
available for that -- though I don't know how you'd set that to load at
login and unload on logout. Loading at login could be done with your
.${SHELL}rc, but I don't know how you'd go about resetting it.

I would imagine that typing your name/password in QWERTY and everything
else in Dvorak would be confusing, though. If so, you probably want to
look at the keyboard stuff in /etc/rc.conf and set the console to always
use it there. Making xdm (gdm, kdm, ...) use a custom xmodmap is left as
an exercise to the reader ;-)

-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-30 Thread Yorkshire Dave
On Fri, 2003-08-29 at 16:18, Christopher Fisk wrote:
 On Fri, 29 Aug 2003, Andrew Gaffney wrote:
 
 Nick Van Vlaenderen wrote:
You Might Be A Programmer If ... Before you move into a new house or
  apartment, the most important thing to you is the type and amount of 
  wiring with which it is equipped.
 
 That's me! :)
 
 My most important thing about when I buy a house will be if there is high 
 speed access available.  I can run the wireing myself, or even use 
 wireless, but dialup just isn't an option anymore.

In 2001 I moved house 3 miles to get within range of cablemodem.
Everyone still thinks I'm nuts, they just don't understand :)

-- 
Yorkshire Dave
Custom rule generator for SpamAssassin.
http://www.wot.no-ip.com/cgi-bin/detoken.pl
top-posters will be tarred and feathered!


-- 
Scanned by MailScanner at wot.no-ip.com


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-30 Thread Yorkshire Dave
On Fri, 2003-08-29 at 14:50, Jason Stubbs wrote:
 Hmmm
 
 I've called the script notify and changed it as follows:
 
 #!/bin/sh
 
This is probably a silly question but why not just script it straight
into ~/.procmailrc? 

Oh, and it makes sense to use formail to extract the relevant fields,
that's what it's for.
FROM=`formail -xFrom:`
SUBJ=`formail -xSubject:`
DATE=`formail -xDate:`

-- 
Yorkshire Dave
Custom rule generator for SpamAssassin.
http://www.wot.no-ip.com/cgi-bin/detoken.pl
top-posters will be tarred and feathered!


-- 
Scanned by MailScanner at wot.no-ip.com


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-30 Thread Nick Van Vlaenderen


Cheers,

Nick

On Sat, 30 Aug 2003, Yorkshire Dave wrote:

 Date: 30 Aug 2003 05:59:56 +0100
 From: Yorkshire Dave [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] basic Gentoo CD doesn't boot
 
 On Fri, 2003-08-29 at 16:18, Christopher Fisk wrote:
  On Fri, 29 Aug 2003, Andrew Gaffney wrote:
  
  Nick Van Vlaenderen wrote:
 You Might Be A Programmer If ... Before you move into a new house or
   apartment, the most important thing to you is the type and amount of 
   wiring with which it is equipped.
  
  That's me! :)
  
  My most important thing about when I buy a house will be if there is high 
  speed access available.  I can run the wireing myself, or even use 
  wireless, but dialup just isn't an option anymore.
 
 In 2001 I moved house 3 miles to get within range of cablemodem.
 Everyone still thinks I'm nuts, they just don't understand :)
 
 -- 
 Yorkshire Dave
 Custom rule generator for SpamAssassin.
 http://www.wot.no-ip.com/cgi-bin/detoken.pl
 top-posters will be tarred and feathered!
Well, I do! :)
Is there something more terrible then a dialup connection?
 
 
 -- 
 Scanned by MailScanner at wot.no-ip.com
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 
 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Jason Stubbs
On Saturday 30 August 2003 10:08, Spider wrote:
 try something like

  :0

 * ^X-Spam-Status: No
 {

 :0 c
 :
 | my-bash-script
 |
 :0

 storage
 }

This works perfectly. Thanks!

Now to figure out the difference between that and :0c by itself...

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification (SOVLED)

2003-08-30 Thread Jason Stubbs
On Saturday 30 August 2003 14:15, Yorkshire Dave wrote:
(B On Fri, 2003-08-29 at 14:50, Jason Stubbs wrote:
(B  Hmmm
(B 
(B  I've called the script notify and changed it as follows:
(B 
(B  #!/bin/sh
(B
(B This is probably a silly question but why not just script it straight
(B into ~/.procmailrc?
(B
(BBecause I don't know procmail well enough - barely at all, actually - to be 
(Bable to do it straight out. Also, I'd like to get the first x lines of the 
(Bbody into the notification message as well. If it's a short e-mail my 
(Bgirlfriend may not have to use the computer at all! ;-)
(B
(B Oh, and it makes sense to use formail to extract the relevant fields,
(B that's what it's for.
(B FROM=`formail -xFrom:`
(B SUBJ=`formail -xSubject:`
(B DATE=`formail -xDate:`
(B
(BHmmm. Sounds cleaner but I've only got one stdin. Wouldn't formail want to see 
(Bthe entire mail message or at least all of the headers? If so, how could I 
(Bduplicate stdin for each field?
(B
(BRegards,
(BJason
(B
(B--
(B[EMAIL PROTECTED] mailing list

[gentoo-user] vmware wtf!???

2003-08-30 Thread Norberto BENSA
Hello,

anyone using vmware? All I get is this all the time (I can't use vmware)

VMware Workstation Error:
Could not open /dev/vmmon: No such device or address.
Please make sure that the kernel module `vmmon' is loaded.

Press Enter to continue...


vmmon|devfsd doesn't create /dev/vmmon. I think it is 

mknod /dev/vmmon b 165 10

But it doesn't work either.

Thanks in advance,
Norberto

-- 
 02:47:13 up 3 days,  2:39,  1 user,  load average: 0.00, 0.14, 0.45


pgp0.pgp
Description: signature


Re: [gentoo-user] iptables help

2003-08-30 Thread Rudmer van Dijk
On Friday 29 August 2003 20:12, Andrew Gaffney wrote:
 Rudmer van Dijk wrote:
  On Friday 29 August 2003 19:21, Andrew Gaffney wrote:
 Andrew Gaffney wrote:
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 iptables -P INPUT DROP
 
 Correct?
 
 Something I forgot to mention is that there is a 2nd interface: ppp0. I
 have a ppp dial-in server set up for my use. I have a few iptables rules
 set up to NAT stuff from ppp0 out through eth0. Will the above rules
 interfere with that?
 
  not really, but do you want to block local machines? if you only want to
  block outside connections then you can use something like the following.
 
  Rudmer
 
  ---
 
  # allow forwarding
  iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
 iptables -A FORWARD -m state --state NEW -i ! ppp0 -j ACCEPT
 iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT
 
  # masquerade local - internet connections
 iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 
  # maximize ssh response
 iptables -t mangle -A PREROUTING -p tcp --sport ssh -j TOS --set-tos
  Minimize-Delay
 
  # accept ssh, web and mail connections
 iptables -A INPUT -p tcp --dport ssh -j ACCEPT
 iptables -A INPUT -p tcp --dport http -j ACCEPT
 iptables -A INPUT -p tcp --dport smtp -j ACCEPT
 
  # set policy for chains
 iptables -P INPUT DROP
 iptables -P OUTPUT ACCEPT
 iptables -P FORWARD DROP
 
  # enable and masquerade forwarded packages
  echo 1  /proc/sys/net/ipv4/ip_forward
  # disable ExplicitCongestionNotification
  echo 0  /proc/sys/net/ipv4/tcp_ecn

 You misunderstand. With your example, I believe you have ppp0 as the
 external connection and eth0 acting as the internal connection to the
 LAN. ppp0 is not the internet connection. eth0 is connected to a router
 that is connected to a T1. I want to allow all traffic to and from ppp0
 and masquerade anything from ppp0 out to the LAN/internet through eth0.
 I want anything incoming connections into eth0 with a source address of
 192.168.254.0/24 to be allow through. Anything other incoming
 connections into eth0 (from the internet) I want to be blocked unless it
 is for port 22, 25, or 80.

ok, when you see ppp0 mentioned it normally means the outgoing connection...

the solution is simple: change ppp0 to eth0 and insert at the 5th (or 6th) 
place this
  iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT

then it should work.

Rudmer

PS. if you want to do a thorough cleaning of your tables before you try a new 
set of rules, try this:

iptables -Z
iptables -F
iptables -t nat -F PREROUTING
iptables -t nat -F OUTPUT
iptables -t nat -F POSTROUTING
iptables -t mangle -F PREROUTING
iptables -t mangle -F OUTPUT
iptables -X
iptables -F INPUT
iptables -F FORWARD
iptables -F OUTPUT
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] KDE Sound

2003-08-30 Thread Rudmer van Dijk
Hi,

On Saturday 30 August 2003 01:00, Makurin Roman wrote:
 USE=oss emerge alsa-driver

then you use the oss emulation of alsa, if you really want to make use of alsa 
use this:

USE=alsa emerge arts

Rudmer


  Hello.
 
  I have a problem with sounds and KDE.
 
  I have ALSA compiled in as per instructions, and sound works perfectly
  from XMMS and ogg123... However, on KDE startup, I get the following
  message:
 
  
  Sound server informational message:
  Error while initializing the sound driver
  device /dev/dsp can't be opened (no such file or directory)
  The sound server will continue to use the null output device
  
 
  However, as reported earlier, if I start XMMS music works fine.
 
  There is no file/directory called /dev/dsp
 
 
  
  Machine details:
  Linux io 2.4.22 #1 Thu Aug 28 12:47:55 NZST 2003 i686 AMD Athlon(tm) XP
  1800+ AuthenticAMD GNU/Linux Gentoo Base System version 1.4.3.10
 
  kde-3.1.3
 
  alsa-lib-0.9.6
  alsa-oss-0.9.6
  alsa-driver-0.9.6
  alsa-utils-0.9.6-r1
 
  xmms-1.2.7-r25
  alsa-xmms-0.9.12
 
  /bin/ls: /dev/dsp: No such file or directory
  
 
 
  Any help in getting sound working in KDE would be very much appreciated.
 
 
 
  TIA
  Ash


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kspell with kmail?

2003-08-30 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 28 August 2003 05:18 am, Paul Stear scribed:
|  In kmail composer
|  Tools  - Spelling( to operate or the ABC button at the top(
|  Settings - Spellchecker
|
|  Dictionary  English ( United Kingdom)
|  Encoding ISO 8859-1
|  Client Aspell

I'm running kde 3.1.3;  I don't have a 'Tools - Spelling' in kmail. I 
also didn't have have it in 3.1.2
% emerge aspell -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] app-text/aspell-0.50.3

% emerge aspell-en -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] app-dicts/aspell-en-0.51.0

- -- 
   ^^^ Kurt

There is no good nor evil, just power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/UD/30cAvx3ELfKARAt5sAJ9/z3CNmf3FxO4Bx3h7stpXoc5x6ACgtqAx
iaHQWJGMG/RtKn29QzHUmR0=
=QG63
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vmware wtf!???

2003-08-30 Thread drewbian
On Sat, 2003-08-30 at 15:53, Norberto BENSA wrote:
 Hello,
 
 anyone using vmware? All I get is this all the time (I can't use vmware)
 
   VMware Workstation Error:
   Could not open /dev/vmmon: No such device or address.
   Please make sure that the kernel module `vmmon' is loaded.
 
   Press Enter to continue...
 
 
 vmmon|devfsd doesn't create /dev/vmmon. I think it is 
 
   mknod /dev/vmmon b 165 10
 
 But it doesn't work either.
 
 Thanks in advance,
 Norberto

Howdy,
I had a similar problem but a quick search of the gentoo forums had the
answer. From memory I had to run the vmware-config.pl then remove the
file /etc/vmware/not_configured (or somethin like that).

cheers
Drewbian


signature.asc
Description: This is a digitally signed message part


[gentoo-user] imap-pop3 not working

2003-08-30 Thread Daniel Guerrero
hi fellows,
I read the document of virtual mail (or something like that... sorry I 
don't remember the name), and I made all the steps and again, because 
is not working; maybe I'm a little confused, but postfix it's working 
good, I'm receiving mails and sending the mails of virtual hosts fine, 
but I can't login to imap/pop3; I have to use pop3 because it seem the 
firewall of the school don't make me access to the port of imap; I have 
tried to login with telnet, with the password in the clear field of 
mysql; but I can't login, imap don't say anything, just close the 
connection; pop3 says can't login; what do you think this could be, and 
last; this is surely a config that I haven't reached, but how could I 
configure squirrelmail to manage the local user accounts? (I haven't 
check a lot but it seem to be working the local mail accounts), and 
could I use squirremail to manage multiple domains, I think the answer 
is yes... but how.

Thanks a lot, if you have documentation about this, please send me I'll 
read it :-).
--
Los grandes espiritus siempre encuentran una violenta oposición en 
mentes mediocres.
A. Einstein

Daniel Guerrero
[EMAIL PROTECTED]
http://www.danguer.com
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] vmware wtf!???

2003-08-30 Thread Larry Augschöll
try this:
rc-update add vmware default
this should load the vmware modules at start up

--
[EMAIL PROTECTED] mailing list


[gentoo-user] Elfutils prelink error

2003-08-30 Thread Dmitry Suzdalev
Hello gentooers!

I wasn't able to find this bug in bugzilla (maybe my /dev/hands aren't 
working).
I've just synced end emerge updated my elfutils package. Now it can't compile 
new version of prelink. It bumps out with an error:

error
gcc -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -o prelink -static 
cache.o conflict.o cxx.o data.o doit.o dso.o dwarf2.o exec.o execle_open.o 
fptr.o get.o gather.o hashtab.o layout.o main.o mdebug.o prelink.o reloc.o 
space.o stabs.o undo.o undoall.o verify.o crc32.o md5.o sha.o arch-i386.o 
arch-alpha.o arch-ppc.o arch-ppc64.o arch-sparc.o arch-sparc64.o 
arch-x86_64.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o  
-lelf
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: 
prelink: hidden symbol `__libelf_version_initialized' isn't defined
collect2: ld returned 1 exit status
/error

Any pointers/suggestions?

TIA,
Dmitry.
-- 
WinErr: 678 This was the last level in Windows. Do you want to play another 
game?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vmware wtf!???

2003-08-30 Thread Norberto BENSA
drewbian wrote:
 On Sat, 2003-08-30 at 15:53, Norberto BENSA wrote:
  mknod /dev/vmmon b 165 10
 

Actually, it is mknod /dev/vmmon c 10 165

 I had a similar problem but a quick search of the gentoo forums had the
 answer. From memory I had to run the vmware-config.pl then remove the
 file /etc/vmware/not_configured (or somethin like that).


Nope. I did it and vmware didn't work. Doing the above device by hand, fixed 
the problem, but then, when I went to install Debian on a virtual machine, it 
just crashed. I guess 4.0.1 isn't stable enough. Luckily, I didn't buy a 
license yet :-)

Best regards,
Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] protest?

2003-08-30 Thread Xabier Ochotorena
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

El Sábado, 30 de Agosto de 2003 00:50, Renat Golubchyk escribió:

 Here is the main anti-patent site with many links and background

In Spain we call it pro-innovation (http://proinnova.hispalinux.es) instead. I 
think it sounds much more positive, don't you think ? :)

Regards,
Xabi.

- -- 

GnuPG signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x093F978B
Key fingerprint = B3C5 0C7B 1587 071C 3D9C  545A 72FC 0234 093F 978B

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/UG6VcvwCNAk/l4sRAp7FAJ9x0vPHEdoZCknBVrcbgoe/fv6VogCfWV0v
LpSHp6Y+yrwIO5+zcZUPnlQ=
=2de/
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] promise ultra33 pci card and cdrom

2003-08-30 Thread Felix Leimbach
On 29 Aug 2003 22:18:52 +0800
William Kenworthy [EMAIL PROTECTED] wrote:

 Is there an alternative way to turm dma on, and any other features of
 the ultra33 besides hdparm?

I read the answer sometime ago in the forums, but I'm not sure if I
recall corectly, anyways:
You can change the settings for scsi-emulated disks/cdroms in
/proc/ide/hdX/settings. To turn DMA on, you have to echo someting like
echo using_dma:1  /proc/ide/hdX/settings and to view your current
settings do a cat /proc/ide/hdX/settings.
But I'd check the forums, there are a lot of threads about that.
Good luck

Felix

--
[EMAIL PROTECTED] mailing list



[gentoo-user] one-page-only search

2003-08-30 Thread Jorge Almeida
I just searched the forums for kde. It returned 232 pages, which is understandable. 
When I try to go to the next page (clicking Next or 2), I only get an 
unsuccessful search page (the one saying No topics or posts met your search 
criteria)!
This doesn't happen with other keywords (e.g. ATI).
??

-- 
Jorge Almeida


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switching to and from Dvorak keymap?

2003-08-30 Thread Owen Ford
On Fri, 2003-08-29 at 22:23, Adam Scriven wrote:
 Hey all.
 
 I've been thinking recently about the Dvorak keyboard layout, and I thought
 I'd set it up to test on my system.
 
 I'm not sure, however, to go about doing that exactly.  Are there any FM's I
 should R?  I'd prefer, at least for now, if it was just a per-user thing,
 and switchable at that, so I can switch back to Sholes (I think that's how
 it's spellt, QWERTY basically) if I don't want to use it anymore.
 
 Thanks a lot!
 Adam
 
 --
 [EMAIL PROTECTED] mailing list

I added this to my .bashrc so that any party on my account (the
girlfriend uses QWERTY and I use Dvorak) can switch easily between the
two.

alias aoeu=xmodmap $HOME/keyboards/keyboard.default
alias asdf=xmodmap $HOME/keyboards/keysym.dvorak


-- 
Owen Ford [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Switching to and from Dvorak keymap?

2003-08-30 Thread Owen Ford
On Fri, 2003-08-29 at 22:23, Adam Scriven wrote:
 Hey all.
 
 I've been thinking recently about the Dvorak keyboard layout, and I thought
 I'd set it up to test on my system.
 
 I'm not sure, however, to go about doing that exactly.  Are there any FM's I
 should R?  I'd prefer, at least for now, if it was just a per-user thing,
 and switchable at that, so I can switch back to Sholes (I think that's how
 it's spellt, QWERTY basically) if I don't want to use it anymore.
 
 Thanks a lot!
 Adam
 
 --
 [EMAIL PROTECTED] mailing list

I guess I should have included this very helpful link as well :)

http://www.linuxgazette.com/issue33/ayers_kbd.html

If you need any more help, feel free to email me off-list.

-- 
Owen Ford [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] kspell with kmail?

2003-08-30 Thread Peter Ruskin
On Saturday 30 Aug 2003 07:11, Kurt V. Hindenburg wrote:
 I'm running kde 3.1.3;  I don't have a 'Tools - Spelling' in kmail.
 I also didn't have have it in 3.1.2

Yes you do/did.  Spelling is only available in KMail's Compose window, 
so do Messages - New Message first.

Peter
-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] protest?

2003-08-30 Thread Azhdeen
On Saturday 30 August 2003 04:08, Chris I wrote:
 It does mainly hurt people using OSS, but hopefully those people will
 get up and write their representatives, stage a rally, riot, or
 something to tell the government that this isnt okay.

it won't hust only OSS people, it would hurt even commercial closed-source 
software, and RD, coz the bill is about registering patents on IDEAS, not 
inventions.

[small quote from the site]
Advances in software are advances in abstraction. While traditional patents 
were for concrete and physical inventions, software patents cover ideas. 
Instead of patenting a specific mousetrap, you patent any means of trapping 
mammals or means of trapping data in an emulated environment. The fact 
that the universal logic device called computer is used for this does not 
constitute a limitation. When software is patentable, anything is patentable.

In most countries, software has, like mathematics and other abstract subject 
matter, been explicitely considered to be outside the scope of patentable 
inventions. However these rules were broken one or another way. The patent 
system has gone out of control. A closed community of patent lawyers is 
creating, breaking and rewriting its own rules without much supervision from 
the outside.
[end quote]

I think that pretty sums up what could happen if this lawyer paradise goes 
live... developping software could become a lawyer battle more than a coder's 
work.

IT is becoming a lawyers and bean counters business, like some 3 letters corp 
playing FUD to pump up its stock quote before selling everything.


Azhdeen


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kde compile error

2003-08-30 Thread Peter Ruskin
On Friday 29 Aug 2003 23:28, Larry Wright wrote:
 Some time ago, I did an emerge -u world and gcc was updated to the
 current version - 3.2.3-r1. Since then, I have compiled and emerged
 many things, but I cannot compile anything kde-ish. I haved tried
 kdevelop from CVS, which I had compiled previously, and got an error.
 I tried today to do an emerge -u world, and it failed attempting to
 compile an updated version of kdelibs. The message I get is this:

 libtool: link: cannot find the library
 `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'


 Any thoughts?

emerge lib-compat

Peter
-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Spider
begin  quote
On Sat, 30 Aug 2003 14:20:33 +0900
Jason Stubbs [EMAIL PROTECTED] wrote:

 On Saturday 30 August 2003 10:08, Spider wrote:
  try something like
 
   :0
 
  * ^X-Spam-Status: No
  {
 
  :0 c
  :
  | my-bash-script
  |
  :0
 
  storage
  }
 
 This works perfectly. Thanks!
 
 Now to figure out the difference between that and :0c by itself...
 

This is basically a fork.
First you match the No spam tag
Then you enter a block { 
  then you pipe a copy through the my-bash-script
  and then the original goes into storage
and the block ends

//Spider


-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] protest?

2003-08-30 Thread Renat Golubchyk
On Saturday 30 August 2003 11:29, Xabier Ochotorena wrote:
 El Sábado, 30 de Agosto de 2003 00:50, Renat Golubchyk escribió:
  Here is the main anti-patent site with many links and background

 In Spain we call it pro-innovation (http://proinnova.hispalinux.es)
 instead. I think it sounds much more positive, don't you think ? :)
Well,  yes it does. But it implies that with patents there would be no 
innovation and I don't think it is true. Innovation will always exist 
regardless of patents. It can be slowed down, but it won't stop. So maybe 
anti-patent sounds negative it is nevertheless more precise.


Cheers,
Renat


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Switching to and from Dvorak keymap?

2003-08-30 Thread Sascha Ldecke

Heya all!

[EMAIL PROTECTED] (Andrew Farmer) writes:

 At 29 August, 2003 Adam Scriven wrote:
 Hey all.
 
 I've been thinking recently about the Dvorak keyboard layout, and I thought
 I'd set it up to test on my system.
 [...]

 Well, as long as you use X for most of your work, you could look into
 doing it with xmodmap. [...]

X comes with a basic dvorak keyboard layout.  Maybe a look at
setxkbmap will help you solve your issue.  For me

  $ setxkbmap -symbols 'en_US(pc105)+dvorak'

does the job (en_US to get the cursor keys and anything else, dvorak
for the different character mapping).

With some guessing and reading of /usr/X11R6/lib/X11/doc/README.XKB-*
you can tell X to switch keyboard layouts on a certain key
combination.

If you use KDE, you can set up layouts here:

   Settings - Control Center - Regional  Accesibility - Keyboard Layout

Kind regards,
Sascha 

*  x11-base/xfree
  Latest version installed: 4.3.0-r3

-- 
Documentation - The worst part of programming. 

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Can't emerge snort - maybe missing dependency

2003-08-30 Thread Rumen Yotov
Hi all,

I'm using Gentoo for a couple of days, like it very much, that's my first 
source-based distro.
Tried to emerge snort and it gave me an error, saying 'missing libnet.h' ...
but doesn't began to emerge 'libnet'. So I emerged libnet myself, but the 
error was still there.
Then remembered that 1 day before this 'snort-emerge', after running 'emerge 
sync'  emerge -u /world or system/ I got updated versions of libnet, db3, 
rsync etc..
Today after emerging new mozilla ... -r3 there was some text saying to remove 
the old version so the system could find it's libraries if linking other 
programs wich have some mozilla dependencies.
Later I checked with qpkg  etcat to see what versions and slots are there.
In etcat output where were some colored texts and a letter M in [] brackets 
and the above mentioned information.
Does somebody have an idea if I should remove the previous versions of libnet 
and mozilla or not.

Thanks in advance.
Rumen.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vmware wtf!???

2003-08-30 Thread Norberto BENSA
Larry Augschöll wrote:
 try this:
 rc-update add vmware default

 this should load the vmware modules at start up


H 

02:47:13 up 3 days,  2:39,  1 user,  load average: 0.00, 0.14, 0.45
 ^

Does that tell you something? Like I don't restart that often? :-)

Anyway. I _know_ how to load modules thru modprobe/insmod, the thing is vmware 
4.0.1 seems broken or something 'cos after creating a virtual machine, any 
attempt to run it will crash vmware. Dunno, I guess I'll build a new box from 
spare pieces.

Thanks for your reply!

Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] vmware wtf!???

2003-08-30 Thread Panard
Le Samedi 30 Août 2003 11:11, Norberto BENSA a écrit :
  Larry Augschöll wrote:
   try this:
   rc-update add vmware default
  
   this should load the vmware modules at start up

  H

  02:47:13 up 3 days,  2:39,  1 user,  load average: 0.00, 0.14, 0.45
   ^

  Does that tell you something? Like I don't restart that often? :-)

/etc/init.d/vmware start


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Elfutils prelink error

2003-08-30 Thread Florian Huber
Hello Dmitry,

On Sat, 30 Aug 2003 12:27:40 +0400
Dmitry Suzdalev [EMAIL PROTECTED] wrote:

 Hello gentooers!
 
 I wasn't able to find this bug in bugzilla (maybe my /dev/hands
 aren't working).
 I've just synced end emerge updated my elfutils package. Now it
 can't compile new version of prelink. It bumps out with an error:
 
...
 gnu/bin/ld: prelink: hidden symbol `__libelf_version_initialized'
...
 /error
 
 Any pointers/suggestions?


http://bugs.gentoo.org/show_bug.cgi?id=27440

You need to update the binutils (See comments).

HTH
Florian Huber






--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Jason Stubbs
On Saturday 30 August 2003 19:48, Spider wrote:
 begin  quote
 On Sat, 30 Aug 2003 14:20:33 +0900

 Jason Stubbs [EMAIL PROTECTED] wrote:
  On Saturday 30 August 2003 10:08, Spider wrote:
   try something like
  
:0
  
   * ^X-Spam-Status: No
   {
  
   :0 c
   :
   | my-bash-script
   |
   :0
  
   storage
   }
 
  This works perfectly. Thanks!
 
  Now to figure out the difference between that and :0c by itself...

 This is basically a fork.
 First you match the No spam tag
 Then you enter a block {
   then you pipe a copy through the my-bash-script
   and then the original goes into storage
 and the block ends

 //Spider

Your fork recommendation is very simple to understand. My understanding of:

:0 c
* ^header-condition
| filter

is that procmail generates a copy of the message and sends it through filter 
if it matches header-condition, while the original message continues being 
processed with the following rules. Obviously I'm incorrect. I can't see how 
procmail was processing the rule to get 2 copies.

BTW is there any tool I can use to extract plain text body of a message?

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Elfutils prelink error

2003-08-30 Thread Dmitry Suzdalev
On Saturday 30 August 2003 15:46, Florian Huber wrote:

 http://bugs.gentoo.org/show_bug.cgi?id=27440

 You need to update the binutils (See comments).

 HTH
   Florian Huber

Thanks Florian!

-- 
WinErr: 678 This was the last level in Windows. Do you want to play another 
game?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Spider
begin  quote
On Sat, 30 Aug 2003 21:01:57 +0900
Jason Stubbs [EMAIL PROTECTED] wrote:



 BTW is there any tool I can use to extract plain text body of a
 message?

Well, there is an interesting snippet in the end of man procmailex 
that might apply here (includes mimencode to strip mime data and convert
to plain text)

This could probably be used in combination with some other filter to
remove the headers (perhaps formail could work) . Although all this is
pretty esoteric scripting, and nothing I've ever done so

//Spider



-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


[gentoo-user] xine sticks when playing DVD

2003-08-30 Thread Patrick Marquetecken
Hi,


when i try to play a dvd in xine the movi and sound sticks (hope i say it wright) 
every 2 sec's. I have tried to decrease the buffer but it still happens. 
Wat can i do play it non-stop ?

TIA
Patrick

-- 
 Do you know what a Vulcan mind meld is? -- Tuvok
 It's that thing where you grab someone's head... -- Crewman Suiter (Meld) 

 PGP Key: http://users.pandora.be/rivendell/marquetp.gpg
 Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B
 ICQ# 316932703 
 Registered Linux User #44550
 http://counter.li.org


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Jason Stubbs
On Saturday 30 August 2003 21:34, Spider wrote:
 Although all this is pretty esoteric scripting,
 and nothing I've ever done so

Hehehe, am I trying to use a swiss-army knife to build a house? ;-)

The only problem I have now is the whitespace problem that I just outlined in 
another message. If I make the move to perl, can I easily prevent whitespace 
from being truncated?

Regards,
Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] basic Gentoo CD doesn't boot

2003-08-30 Thread Andrew Gaffney
Well, I do! :)
Is there something more terrible then a dialup connection?
Absolutely! A 28.8 kbps dial-up connection! :)

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] xine sticks when playing DVD

2003-08-30 Thread Andrew Gaffney
Patrick Marquetecken wrote:
when i try to play a dvd in xine the movi and sound sticks (hope i say it wright) every 2 sec's. I have tried to decrease the buffer but it still happens. 
Wat can i do play it non-stop ?
What kind of hardware do you have (processor, RAM, etc.)? Are you 
compiling anything in the background or doing anything else processor 
intensive? This sounds like what used to happen to me when I tried to 
play DVDs on a 450Mhz box running Windows.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


[gentoo-user] Problem with portage

2003-08-30 Thread Ole Kristian Tørresen
I'm having a problem with portage. When I try to emerge -u world I get this 
error:
bash-2.05b# emerge -u world
Calculating world dependencies
Traceback (most recent call last):
  File /usr/bin/emerge, line 2022, in ?
if not mydepgraph.xcreate(myaction):
  File /usr/bin/emerge, line 926, in xcreate
if portage.db[/][vartree].dbapi.match(x):
  File /usr/lib/python2.2/site-packages/portage.py, line 3149, in match
mydep=dep_expand(origdep,self)
  File /usr/lib/python2.2/site-packages/portage.py, line 2603, in dep_expand
return prefix+cpv_expand(mydep,mydb)+postfix
  File /usr/lib/python2.2/site-packages/portage.py, line 2536, in cpv_expand
if (not mydb.cp_list(mykey)) and virts and virts.has_key(mykey):
  File /usr/lib/python2.2/site-packages/portage.py, line 3101, in cp_list
mystat=os.stat(self.root+var/db/pkg/+mysplit[0])[ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not 
str
bash-2.05b#

I have upgraded portage a couple of times after this problem first arised, but 
it hasn't helped. Does anybody know what's wrong?

-Ole Kristian Tørresen 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kde compile error

2003-08-30 Thread Larry Wright
On Saturday 30 August 2003 05:23 am, Peter Ruskin wrote:
 On Friday 29 Aug 2003 23:28, Larry Wright wrote:
  Some time ago, I did an emerge -u world and gcc was updated to the
  current version - 3.2.3-r1. Since then, I have compiled and emerged
  many things, but I cannot compile anything kde-ish. I haved tried
  kdevelop from CVS, which I had compiled previously, and got an error.
  I tried today to do an emerge -u world, and it failed attempting to
  compile an updated version of kdelibs. The message I get is this:
 
  libtool: link: cannot find the library
  `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'
 
 
  Any thoughts?

 emerge lib-compat

 Peter


Well, that didn't work, but I did notice something: it's looking in  
i586-pc-linux-gnu/, but on my system there isn't that directory. it's 
i686-pc-linux-gnu/. Why is it confused?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kspell with kmail?

2003-08-30 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 30 August 2003 05:04 am, Peter Ruskin scribed:
|  On Saturday 30 Aug 2003 07:11, Kurt V. Hindenburg wrote:
|   I'm running kde 3.1.3;  I don't have a 'Tools - Spelling' in
|   kmail. I also didn't have have it in 3.1.2
|
|  Yes you do/did.  Spelling is only available in KMail's Compose
| window, so do Messages - New Message first.
|
Oh Duh!!

- -- 
   ^^^ Kurt

There is no good nor evil, just power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/UL3e0cAvx3ELfKARAlTzAJ0cN/Kzu/gJISioD2lcR1QwdtkHcwCeJB0P
18S0BjWOVciSFnz3tFr0t6U=
=48n6
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge failure

2003-08-30 Thread Collins Richey
On Sat, 30 Aug 2003 14:54:03 +0200
Marius Mauch [EMAIL PROTECTED] wrote:

 On Fri, 29 Aug 2003 20:53:58 -0500
 Jason Rogers [EMAIL PROTECTED] wrote:
 
  I am not a C guy, so I don't even know where to begin to find out
  why this is failing, thus my email.  Can someone enlighten me about
  how to begin to diagnose my build problem?  I can of course offer
  more of the output of the build if needed.  Do I need to update
  something else first?
   Am I missing some lib?
 
 http://forums.gentoo.org/viewtopic.php?t=65846highlight=libstdc
 

Is it just me?  I'm always curious/concerned  when I read instructions
about how to patch-fudge-fixup a bad situation but no indication about
what caused the problem or how to avoid it in the future.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge failure

2003-08-30 Thread Marius Mauch
On Sat, 30 Aug 2003 09:19:31 -0600
Collins Richey [EMAIL PROTECTED] wrote:

 On Sat, 30 Aug 2003 14:54:03 +0200
 Marius Mauch [EMAIL PROTECTED] wrote:
 
  On Fri, 29 Aug 2003 20:53:58 -0500
  Jason Rogers [EMAIL PROTECTED] wrote:
  
   I am not a C guy, so I don't even know where to begin to find out
   why this is failing, thus my email.  Can someone enlighten me
   about how to begin to diagnose my build problem?  I can of course
   offer more of the output of the build if needed.  Do I need to
   update something else first?
Am I missing some lib?
  
  http://forums.gentoo.org/viewtopic.php?t=65846highlight=libstdc
  
 
 Is it just me?  I'm always curious/concerned  when I read instructions
 about how to patch-fudge-fixup a bad situation but no indication about
 what caused the problem or how to avoid it in the future.

AFAIK that error is common among stage3 users if they change the CHOST
value in /etc/make.conf as the packages in stage3 were compiled with the
original CHOST.

Marius

--
[EMAIL PROTECTED] mailing list



[gentoo-user] sound card problem

2003-08-30 Thread Jorge Almeida
I'm having this sound card related problem: I cannot record (nor simply hear) stereo 
sound from line in; one of the headphones appears almost mute. The card is an 
Ensoniq 5880 (driver es1371), supposed to be a 16 bit card. I would need to know 
whether this is supposed to be like this (meaning: I was, let us say, induced in error 
by the salesman) or whether my system is somehow misconfigured. Anyone with the same 
card?
This is what smixer tells me:
root # smixer -p
ID: Name   Act  Rec  Channels Volume
--        --
 0: VolYes   Stereo   23644  92%
 4: PcmYes   Stereo   16448  64%
 5: Spkr   Yes   Mono 0   0%
 6: Line   Yes  Yes* Stereo   25700 100%
 7: MicYes  Yes  Mono 0   0%
 8: CD Yes  Yes  Stereo   0   0%
12: IGain  Yes  Yes  Stereo   25700 100%
14: Line1  Yes  Yes  Stereo   0   0%
20: PhoneInYes  Yes  Mono 0   0%
21: PhoneOut   Yes   Mono 0   0%
22: Video  Yes  Yes  Stereo   0   0%

Thanks for any help.
-- 
Jorge Almeida


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] do I need mplaier?

2003-08-30 Thread gabriel
On August 29, 2003 02:09 am, Alberto Bert wrote:
 as I know, I need to install mplayer in order to listen the music in some
 sites, but do I really need it? I already have xmms and I don't want to
 fill my box with programs that I'll (almost) never use. Furthermore mplayer
 brings a lot of other stuff in emerging.
 Can I use xmms with some setting to listen to that music.
 I'm using mozilla and konqueror as brousers.


you don't need mplayer to listen to music on any site.  xmms will handle all 
the audio formats you need (wav, mp3, ogg, etc.) the only one it won't do is 
ram (real audio media) so you'll need realplayer for that (emerge realplay). 

mplayer is really cool though.  it supports watching tv, video files, dvds, 
and encoding all of the above into video files etc.  did i say it's really 
cool?

-- 
there is a greater darkness than the one we fight. it is the darkness of the 
soul that has lost its way. the war we fight is not against powers and 
principalities, it is against chaos and despair.  greater than the death of 
flesh is the death of hope.  the death of dreams.  against this peril we can 
never surrender. The future is all around us, waiting in moments of 
transition, to be born in moments of revelation.  no one knows the shape of 
that future, or where it will take us. we know only that it is always paved 
in pain.
- the book of g'quon, babylon 5 z'ha'dum


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Marshal Newrock
On Sat, 30 Aug 2003, Jason Stubbs wrote:

 I've found that formail is capable of doing that too. This, however, has
 brought another problem. I've taken the grep line out of the loop and read
 the entire message into a variable as follows:

 message=
 while read msg_line
 do
 message=${message}${msg_line}\n
 done

 I figured I'd then be able to use the whole message with formail as Yorkshire
 Dave suggested (and it increases performance too). However, the whitespace at
 the beginning of multiline headers is being truncated so formail cannot
 interpret the mail correctly. The only references to whitespace are with
 regard to IFS but that doesn't seem to have any effect. Is there any other
 way to turn off this behaviour?

I'm sorry to say, but I think you might have just exceeded the
capabilities of bash.  You can play around with stuff, but it looks like
bash likes to ditch leading spaces.  I think you need to crack open the
perl man pages or possibly go to temp files from within procmail.

Try this and see:
$ls
$ls

I'm pretty sure that 'read' will also ditch leading spaces, and I don't
know how to get around that.

-- 
Caution: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list



[gentoo-user] apache.org and software patents

2003-08-30 Thread gabriel
has anyone been to http://www.apache.org lately?  i've done the same for my 
sites and i would suggest that everyone on this list do the same (including 
www.gentoo.org.


-- 
it could probably be shown by facts and figures that there is no distinctly 
native american criminal class except congress.
- mark twain


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] imap-pop3 not working

2003-08-30 Thread Marshal Newrock
On Sat, 30 Aug 2003, Daniel Guerrero wrote:

 hi fellows,
 I read the document of virtual mail (or something like that... sorry I
 don't remember the name), and I made all the steps and again, because
 is not working; maybe I'm a little confused, but postfix it's working
 good, I'm receiving mails and sending the mails of virtual hosts fine,
 but I can't login to imap/pop3; I have to use pop3 because it seem the
 firewall of the school don't make me access to the port of imap; I have
 tried to login with telnet, with the password in the clear field of
 mysql; but I can't login, imap don't say anything, just close the
 connection; pop3 says can't login; what do you think this could be, and
 last; this is surely a config that I haven't reached, but how could I
 configure squirrelmail to manage the local user accounts? (I haven't
 check a lot but it seem to be working the local mail accounts), and
 could I use squirremail to manage multiple domains, I think the answer
 is yes... but how.

First off, why not use pop3s and imaps?  I doubt they firewall those.
They probably don't even know what they are.

As far as login to pop/imap, if you're using virtual hosts, then I assume
they don't have real accounts on the system.  I'm also assuming from
what you wrote that the accounts are stored in mysql.  So, you need to be
able to authenticate off a mysql database.  You also need to learn about
PAM (Pluggable Authentication Modules).

First, do a google search for Linux PAM (the first result will be the
PAM homepage, which I can never remember).  Also look at /etc/pam.d/.
You'll be interested in imap and pop, of course.  And you'll also want to
emerge pam-mysql.  Follow various instructions, and set it up.  I'm
assuming you want to replace unix authentication with mysql authentication
(more secure, although not useful if you are not in the mysql database).

These are very rough basics with not much actual detail, but I'll be happy
to answer further questions.

As far as using squirrelmail to manage multiple domains, probably.  You
should go to squirrelmail's homepage and look at the available plugins.

-- 
Caution: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xine sticks when playing DVD

2003-08-30 Thread Patrick Marquetecken
On Sat, 30 Aug 2003 09:39:33 -0500
Andrew Gaffney [EMAIL PROTECTED] wrote:

 Patrick Marquetecken wrote:
  when i try to play a dvd in xine the movi and sound sticks (hope i say it wright) 
  every 2 sec's. I have tried to decrease the buffer but it still happens. 
  Wat can i do play it non-stop ?
 
 What kind of hardware do you have (processor, RAM, etc.)? Are you 
 compiling anything in the background or doing anything else processor 
 intensive? This sounds like what used to happen to me when I tried to 
 play DVDs on a 450Mhz box running Windows.

its a laptop with a 2.6 pentium Proc and 512 ram, DVD/CD rewriteble, gnome and just 
running in the background some mail deamons.

Patrick


 
 -- 
 Andrew Gaffney
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 


-- 
 Do you know what a Vulcan mind meld is? -- Tuvok
 It's that thing where you grab someone's head... -- Crewman Suiter (Meld) 

 PGP Key: http://users.pandora.be/rivendell/marquetp.gpg
 Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B
 ICQ# 316932703 
 Registered Linux User #44550
 http://counter.li.org


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] kde compile error

2003-08-30 Thread Peter Ruskin
On Saturday 30 Aug 2003 15:45, Larry Wright wrote:
 On Saturday 30 August 2003 05:23 am, Peter Ruskin wrote:

  On Friday 29 Aug 2003 23:28, Larry Wright wrote:
snip
   libtool: link: cannot find the library
   `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'
  
  emerge lib-compat

 Well, that didn't work, but I did notice something: it's looking in
 i586-pc-linux-gnu/, but on my system there isn't that directory.
 it's i686-pc-linux-gnu/. Why is it confused?

There's a script somewhere in portage that fixes that.  In the meantime, 
do (as root):
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu 
/usr/lib/gcc-lib/i586-pc-linux-gnu

Peter
-- 
==
Gentoo: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
kernel-2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+
==


--
[EMAIL PROTECTED] mailing list



[gentoo-user] ACCESS VIOLATION ?

2003-08-30 Thread Ernie Schroder
# emerge -u sane-backends
The build fails and ends with the below. What just happened here?

make[1]: Leaving directory 
`/var/tmp/portage/sane-backends-1.0.12-r1/work/sane-backends-1.0.12/doc'
making all in po
make[1]: Entering directory 
`/var/tmp/portage/sane-backends-1.0.12-r1/work/sane-backends-1.0.12/po'
generating sane-backends.de.mo from sane-backends.de.po
generating sane-backends.es.mo from sane-backends.es.po
generating sane-backends.fr.mo from sane-backends.fr.po
generating sane-backends.nl.mo from sane-backends.nl.po
generating sane-backends.no.mo from sane-backends.no.po
generating sane-backends.pt.mo from sane-backends.pt.po
generating sane-backends.ru.mo from sane-backends.ru.po
generating sane-backends.sv.mo from sane-backends.sv.po
make[1]: Leaving directory 
`/var/tmp/portage/sane-backends-1.0.12-r1/work/sane-backends-1.0.12/po'
--- ACCESS VIOLATION SUMMARY 
---
LOG FILE = /tmp/sandbox-sane-backends-1.0.12-r1-8589.log

rename:/usr/share/texmf/fonts/pk/ljfour/public/cm/pk4313.tmp
open_wr:   /usr/share/texmf/fonts/pk/ljfour/public/cm/pk4313.tmp
rename:/usr/share/texmf/fonts/pk/ljfour/public/cm/pk4407.tmp
open_wr:   /usr/share/texmf/fonts/pk/ljfour/public/cm/pk4407.tmp
rename:/usr/share/texmf/fonts/pk/ljfour/public/cm/pk4496.tmp
open_wr:   /usr/share/texmf/fonts/pk/ljfour/public/cm/pk4496.tmp
rename:/usr/share/texmf/fonts/pk/ljfour/public/cm/pk4586.tmp
open_wr:   /usr/share/texmf/fonts/pk/ljfour/public/cm/pk4586.tmp
rename:/usr/share/texmf/fonts/pk/ljfour/public/cm/pk4676.tmp
open_wr:   /usr/share/texmf/fonts/pk/ljfour/public/cm/pk4676.tmp

-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



[gentoo-user] psnup not working

2003-08-30 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Print normal .ps files works fine, but when using psnup all I get is 
black lines all down the page.  Any ideas?

- -- 
   ^^^ Kurt

There is no good nor evil, just power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/UPpt0cAvx3ELfKARAnCeAJ0fXFCme3jLFsEIhD04o6/jKAWGJACfbDSn
u/a4KLc9OmXKY/aI3uok4QM=
=XAP0
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Adding a disk to a mirror

2003-08-30 Thread Jason Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, I built a system with the intention of mirroring all of the drives.
To that end I built on a md 0,1,2 device, but I defined it to have just
one drive.  Now its time for me to add the mirror, but I can't figure out
hot to add a disk w/o reinstalling. Can anyone give me some hints on it?

Thanks,
- -Jason Martin
(raidtab below)

# md device [dev 9, 0] /dev/md/0 queried online
raiddev /dev/md/0
raid-level  1
nr-raid-disks   1
nr-spare-disks  0
persistent-superblock   1
chunk-size  32

device  /dev/ide/host0/bus0/target0/lun0/part1
raid-disk   0

# md device [dev 9, 1] /dev/md/1 queried online
raiddev /dev/md/1
raid-level  1
nr-raid-disks   1
nr-spare-disks  0
persistent-superblock   1
chunk-size  32

device  /dev/ide/host0/bus0/target0/lun0/part2
raid-disk   0

# md device [dev 9, 2] /dev/md/2 queried online
raiddev /dev/md/2
raid-level  1
nr-raid-disks   1
nr-spare-disks  0
persistent-superblock   1
chunk-size  32

device  /dev/ide/host0/bus0/target0/lun0/part3
raid-disk   0

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.3.2 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD4DBQE/UP3Gl2ODWuqVSBMRAoLOAJdRGMGcleaNor/ltqKLxhhFZPnnAJ9Hd77C
K92tBKHONO9jntx5l3weGg==
=exx3
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vmware wtf!???

2003-08-30 Thread Norberto BENSA
Panard wrote:
 /etc/init.d/vmware start


Oh please. Read the whole message :-/

Thanks,
Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] xine sticks when playing DVD

2003-08-30 Thread Andrew Gaffney
Patrick Marquetecken wrote:
On Sat, 30 Aug 2003 09:39:33 -0500
Andrew Gaffney [EMAIL PROTECTED] wrote:

Patrick Marquetecken wrote:

when i try to play a dvd in xine the movi and sound sticks (hope i say it wright) every 2 sec's. I have tried to decrease the buffer but it still happens. 
Wat can i do play it non-stop ?
What kind of hardware do you have (processor, RAM, etc.)? Are you 
compiling anything in the background or doing anything else processor 
intensive? This sounds like what used to happen to me when I tried to 
play DVDs on a 450Mhz box running Windows.


its a laptop with a 2.6 pentium Proc and 512 ram, DVD/CD rewriteble, gnome and just running in the background some mail deamons.
Have you tried playing with MPlayer or ogle?

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] xine sticks when playing DVD

2003-08-30 Thread Hemmann, Volker Armin
On Saturday 30 August 2003 12:26, Patrick Marquetecken wrote:
 Hi,


 when i try to play a dvd in xine the movi and sound sticks (hope i say it
 wright) every 2 sec's. I have tried to decrease the buffer but it still
 happens. Wat can i do play it non-stop ?

sounds like dma is missing on your hd/cdrom

-- 
Conclusions
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong


--
[EMAIL PROTECTED] mailing list



[no subject]

2003-08-30 Thread Al Raq
Hello world: 2003, Year of Hope !!!
Subject: [gentoo-user] [OT]: chkrootkit output !!!


Hi all,

Can anyone here help me to understand why I got this after running chkrootkit:
...
Checking `env'... INFECTED
...

Many thanks,
Al Raq


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail and mail notification

2003-08-30 Thread Jason Stubbs
On Sunday 31 August 2003 02:31, Marshal Newrock wrote:
 On Sat, 30 Aug 2003, Jason Stubbs wrote:
  I've found that formail is capable of doing that too. This, however, has
  brought another problem. I've taken the grep line out of the loop and
  read the entire message into a variable as follows:
 
  message=
  while read msg_line
  do
  message=${message}${msg_line}\n
  done
 
  I figured I'd then be able to use the whole message with formail as
  Yorkshire Dave suggested (and it increases performance too). However, the
  whitespace at the beginning of multiline headers is being truncated so
  formail cannot interpret the mail correctly. The only references to
  whitespace are with regard to IFS but that doesn't seem to have any
  effect. Is there any other way to turn off this behaviour?

 I'm sorry to say, but I think you might have just exceeded the
 capabilities of bash.  You can play around with stuff, but it looks like
 bash likes to ditch leading spaces.  I think you need to crack open the
 perl man pages or possibly go to temp files from within procmail.

 Try this and see:
 $ls
 $ls

 I'm pretty sure that 'read' will also ditch leading spaces, and I don't
 know how to get around that.

Yeah, I tried that too. I take it this is why real programmers often scoff at 
bash programmers. So what're bash scripts good for then? Just automation 
with a small amount of primitive conditionals?

Moving to perl won't be too hard, though. I've got all the knowledge I need 
now to do the task - thanks to all for that! - and Perl seems to be something 
of a mix of Pascal and BASIC, so it shouldn't be too hard.

Once again, thanks to all!

Regards,
Jason

--
[EMAIL PROTECTED] mailing list