Re: [gentoo-user] Security Updates and Portage Trees

2005-09-18 Thread Jason Stubbs
On Monday 19 September 2005 15:00, gentuxx wrote:
> does updating a package for a security fix using the "--oneshot" option 
> update the same package that is "housed" in the "world" tree?  

There is no world "tree". There is only a "list". --oneshot has no affect on 
this list.

> If so, can I assume that the same package will be updated next time I 
> update "world"?  Meaning, if I run "--oneshot" for 
> mozilla-firefox-1.0.6-r7 and mozilla-firefox-1.0.7-r1 comes out, will 
> 1.0.6-r7 be upgraded to 1.0.7-r1? 

If it was in the world list prior to you running --oneshot, it'll still be 
in the world list afterward. Hence, it will be updated with world.

> If every security fix comes out with "--oneshot" being recommended,
> how do I know if it's a dependency of a package in world, or an entity
> in world?  (This seems like an extension of the questioning above.)

What does it matter in the context of a security update?

> Also, for the most recent firefox update, I would run the command as
> recommended with the "-p" flag, and it would see the package.  If I
> run "emerge -Dupv mozilla-firefox" I only get a few of the (supposed)
> dependencies, and not the package itself, while the package installed
> (when I do "emerge search mozilla-firefox") is 1.0.6-r5.

If that is the case then 1.0.6-r5 is the latest version available for you 
with respect to your current snapshot of the tree.

-- 
Jason Stubbs


pgpgOHJHMeSrI.pgp
Description: PGP signature


Re: [gentoo-user] Security Updates and Portage Trees

2005-09-18 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason Stubbs wrote:

>On Monday 19 September 2005 13:16, gentuxx wrote:
>
>>If I update firefox with the --oneshot option, I know that it won't
>>update the "world" tree, but why? Why is that the recommended
>>procedure? Does that give me any benefit? Also, why would a package
>>be available as a "--oneshot" and NOT through a normal "emerge -Dupv
>>world"?
>
>
>The package would be available through -Dupv as well, but not everybody
>likes to update all packages (especially on servers).


Granted.  And while I run a server (a few actually), it's a home
system, not a production one.  And, since I run production gentoo
systems, I understand the difference.  For this, I'm asking from the
perspective of a home user.  So, that being said, does updating a
package for a security fix using the "--oneshot" option update the
same package that is "housed" in the "world" tree?  If so, can I
assume that the same package will be updated next time I update
"world"?  Meaning, if I run "--oneshot" for mozilla-firefox-1.0.6-r7
and mozilla-firefox-1.0.7-r1 comes out, will 1.0.6-r7 be upgraded to
1.0.7-r1?

>
>>I love how portage unifies the packaging system, and I feel like if I
>>run all of these "--oneshot" updates for security fixes, that I'll
>>have all of these "stray" programs running around on my system, that
>>won't get updated next time I emerge "world".
>
>
>--oneshot won't remove the package from world. It just prevents it from
>being added. If the package is installed but not in world, it is presumably
>there as a dependency from another package. Hence, updating world will
>still grab the package. Using --oneshot just keeps the world file clean.
>
So what exactly does that mean if the package is already in "world"?
If every security fix comes out with "--oneshot" being recommended,
how do I know if it's a dependency of a package in world, or an entity
in world?  (This seems like an extension of the questioning above.)

I'm just trying to set all this straight mentally, so I know what's
going on with my system when I update it.  I typically run the
following to update my system 2 or 3 times a week (sometimes only once):

emerge -Du(p)v world
emerge -(p)v depclean
revdep-rebuild -(p)v
dispatch-conf

I put the "p" for "--pretend" in parentheses because depending on the
output of that step, I may skip it if there is nothing to do.

Also, for the most recent firefox update, I would run the command as
recommended with the "-p" flag, and it would see the package.  If I
run "emerge -Dupv mozilla-firefox" I only get a few of the (supposed)
dependencies, and not the package itself, while the package installed
(when I do "emerge search mozilla-firefox") is 1.0.6-r5.


- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDLlQLLYGSSmmWCZMRAiBYAJ9m6Pl/IkG/mXFX6iZ90epVCTkuWQCfcVH+
25V6IF0g1dFHWCyLv1xlLIE=
=tOYB
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Security Updates and Portage Trees

2005-09-18 Thread Jason Stubbs
On Monday 19 September 2005 13:16, gentuxx wrote:
> If I update firefox with the --oneshot option, I know that it won't
> update the "world" tree, but why?  Why is that the recommended
> procedure?  Does that give me any benefit?  Also, why would a package
> be available as a "--oneshot" and NOT through a normal "emerge -Dupv
> world"?

The package would be available through -Dupv as well, but not everybody 
likes to update all packages (especially on servers).

> I love how portage unifies the packaging system, and I feel like if I
> run all of these "--oneshot" updates for security fixes, that I'll
> have all of these "stray" programs running around on my system, that
> won't get updated next time I emerge "world".

--oneshot won't remove the package from world. It just prevents it from 
being added. If the package is installed but not in world, it is presumably 
there as a dependency from another package. Hence, updating world will 
still grab the package. Using --oneshot just keeps the world file clean.

-- 
Jason Stubbs


pgpJ1kBcYynH2.pgp
Description: PGP signature


Re: [gentoo-user] scp or sftp from another local machine in GENTOO_MIRRORS?

2005-09-18 Thread Mark Shields
I use http-replicator:[EMAIL PROTECTED] ~ $ esearch http-replicator[ Results for search key : http-replicator ][ Applications found : 1 ]*  net-proxy/http-replicator  Latest version available: 3.0
  Latest version installed: 3.0  Size of downloaded files: 19 kB  Homepage:    http://gertjan.freezope.org/replicator/  Description: Proxy cache for Gentoo packages
  License: GPL-2Guide:  http://forums.gentoo.org/viewtopic-t-173226.htmlOn 9/19/05, 
Walter Dnes <[EMAIL PROTECTED]> wrote:
On Sun, Sep 18, 2005 at 04:03:46PM -0400, Walter Dnes wrote>   I update m3000 first and then m450.  Any necessary tarballs/checksums> will end up in m3000's /usr/portage/distfiles directory.  I've already
> got ssh via key authorization going between the two machines, so they> can back up each other.  I turn on m450 once a week to emerge --sync and> update it.  I'd like the first mirror choice to be scp or sftp from m3000
> (or 192.168.123.252 if that's easier).  Can it be done, and if so, what> is the syntax?  Yes, I'm talking to myself.  I was trying to do it "the hard way", but
the answer is so simple that I missed it.  Forget "GENTOO_MIRRORS".  Isimply need a one-liner...scp [EMAIL PROTECTED]:/usr/portage/distfiles/* /usr/portage/distfiles/...copies over all the necessary tarballs/checksums.
--Walter Dnes <[EMAIL PROTECTED]>My musings on technology and security at http://tech_sec.blog.ca--
gentoo-user@gentoo.org mailing list-- - Mark Shields


Re: [gentoo-user] gentoo 2005.1 and FTDI USB/serial adapter: device not created

2005-09-18 Thread michael

To answer my own question, I just had to make the device using mknod.
Now my FTDI device works!

Thanks,
Michael


On Sun, 18 Sep 2005 [EMAIL PROTECTED] wrote:


Hello,

Gentoo 2005.1, kernel 2.6.12 gentoo r10. I have a USB device that uses
the FTDI driver (in the kernel) to make the device appear as a serial
port.

When I plug in the device I get the following in my syslog:

Sep 18 03:31:23 (none) usb 2-1: new full speed USB device using uhci_hcd
and address 2
Sep 18 03:31:23 (none) ftdi_sio 2-1:1.0: FTDI FT232BM Compatible
converter detected
Sep 18 03:31:23 (none) usb 2-1: FTDI FT232BM Compatible converter now
attached to ttyUSB0

but alas, there is no /dev/ttyUSB0.

Any suggestions of where I might look for what went wrong?

Below are the config parameters that relate to USB.

Thanks in advance,
Michael





grep -i usb .config
USB devices
CONFIG_SND_USB_AUDIO is not set
CONFIG_SND_USB_USX2Y is not set
USB support

CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y

CONFIG_USB_DEBUG is not set
Miscellaneous USB options

CONFIG_USB_DEVICEFS=y

CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_SUSPEND is not set
CONFIG_USB_OTG is not set
USB Host Controller Drivers

CONFIG_USB_EHCI_HCD=y

CONFIG_USB_EHCI_SPLIT_ISO is not set
CONFIG_USB_EHCI_ROOT_HUB_TT is not set

CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y

CONFIG_USB_SL811_HCD is not set
USB Device Class drivers
CONFIG_USB_AUDIO is not set
CONFIG_USB_BLUETOOTH_TTY is not set
CONFIG_USB_MIDI is not set
CONFIG_USB_ACM is not set

CONFIG_USB_PRINTER=y

NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be
needed; see USB_STORAGE Help for more information

CONFIG_USB_STORAGE=y

CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB is not set
CONFIG_USB_STORAGE_FREECOM is not set
CONFIG_USB_STORAGE_ISD200 is not set
CONFIG_USB_STORAGE_DPCM is not set
CONFIG_USB_STORAGE_USBAT is not set
CONFIG_USB_STORAGE_SDDR09 is not set
CONFIG_USB_STORAGE_SDDR55 is not set
CONFIG_USB_STORAGE_JUMPSHOT is not set
USB Input Devices

CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y

CONFIG_USB_HIDDEV is not set
CONFIG_USB_AIPTEK is not set
CONFIG_USB_WACOM is not set
CONFIG_USB_KBTAB is not set
CONFIG_USB_POWERMATE is not set
CONFIG_USB_MTOUCH is not set

CONFIG_USB_EGALAX=m

CONFIG_USB_XPAD is not set
CONFIG_USB_ATI_REMOTE is not set
USB Imaging devices
CONFIG_USB_MDC800 is not set
CONFIG_USB_MICROTEK is not set
USB Multimedia devices
CONFIG_USB_DABUSB is not set
Video4Linux support is needed for USB Multimedia device support
USB Network Adapters
CONFIG_USB_CATC is not set
CONFIG_USB_KAWETH is not set
CONFIG_USB_PEGASUS is not set
CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET is not set
CONFIG_USB_ZD1201 is not set

CONFIG_USB_MON=y

USB port drivers
CONFIG_USB_USS720 is not set
USB Serial Converter support

CONFIG_USB_SERIAL=y

CONFIG_USB_SERIAL_CONSOLE is not set
CONFIG_USB_SERIAL_GENERIC is not set
CONFIG_USB_SERIAL_AIRPRIME is not set
CONFIG_USB_SERIAL_BELKIN is not set
CONFIG_USB_SERIAL_WHITEHEAT is not set
CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
CONFIG_USB_SERIAL_CP2101 is not set
CONFIG_USB_SERIAL_CYPRESS_M8 is not set
CONFIG_USB_SERIAL_EMPEG is not set

CONFIG_USB_SERIAL_FTDI_SIO=y

CONFIG_USB_SERIAL_VISOR is not set
CONFIG_USB_SERIAL_IPAQ is not set
CONFIG_USB_SERIAL_IR is not set
CONFIG_USB_SERIAL_EDGEPORT is not set
CONFIG_USB_SERIAL_EDGEPORT_TI is not set
CONFIG_USB_SERIAL_GARMIN is not set
CONFIG_USB_SERIAL_IPW is not set
CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
CONFIG_USB_SERIAL_KEYSPAN is not set
CONFIG_USB_SERIAL_KLSI is not set
CONFIG_USB_SERIAL_KOBIL_SCT is not set
CONFIG_USB_SERIAL_MCT_U232 is not set
CONFIG_USB_SERIAL_PL2303 is not set
CONFIG_USB_SERIAL_HP4X is not set
CONFIG_USB_SERIAL_SAFE is not set
CONFIG_USB_SERIAL_TI is not set
CONFIG_USB_SERIAL_CYBERJACK is not set
CONFIG_USB_SERIAL_XIRCOM is not set
CONFIG_USB_SERIAL_OMNINET is not set
USB Miscellaneous drivers
CONFIG_USB_EMI62 is not set
CONFIG_USB_EMI26 is not set
CONFIG_USB_AUERSWALD is not set
CONFIG_USB_RIO500 is not set
CONFIG_USB_LEGOTOWER is not set
CONFIG_USB_LCD is not set
CONFIG_USB_LED is not set

CONFIG_USB_CYTHERM=m
# CONFIG_USB_PHIDGETKIT is not set
CONFIG_USB_PHIDGETSERVO=m

CONFIG_USB_IDMOUSE is not set
CONFIG_USB_SISUSBVGA is not set
CONFIG_USB_TEST is not set
USB ATM/DSL drivers
USB Gadget Support
CONFIG_USB_GADGET is not set

--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-18 Thread Rumen Yotov
Hi,
maxim wexler wrote:
> 
> --- Mark Knecht <[EMAIL PROTECTED]> wrote:
> 
> 
>>On 9/18/05, maxim wexler <[EMAIL PROTECTED]> wrote:
>>
>>
>>>flags   : fpu vme de pse tsc msr pae mce
>>
>>cx8
>>
>>>apic sep mtrr pge mca cmov pat pse36 clflush mmx
>>
>>fxsr
>>
>>>sse sse2 syscall nx mmxext 3dnowext 3dnow
>>
>>
>>
>>So Walter's point would be that you could add
>>
>>mmx mmxext sse sse2 3dnow 3dnowext
>>
>>to your use flags, either globally in your make.conf
> 
> 
> what about all those others?
> 
Look at gcc-home page, think there's plenty of info, also this theme is
regularly discussed here (ML), search the archives.
Shortly said, use "-O2 -march.../-mtune... -pipe -fomit-frame-pointer"
is a safe choice. It (-O2) includes many of the other flags by default.
> 
>>file or for
>>specific packages in package.use. Adding these flags
>>will enable clode
>>within the program being emerged specifically
>>supporting those
>>features.
>>
>>My point was that without adding these flags to the
>>compile options
>>(CXFLAGS) in make.conf I'm not clear that adding the
> 
> 
> well, are they CXFLAGS or USE flags?
> 
They are distinct - CFLAGS (CXXFLAGS) are the raw CPU flags, while
through USE= you can activate some of them too, but only those that have
such USE flags (mmx,sse,3dnow etc). Corrections here, somebody?
> 
>>flags in the USE
>>section of make.conf does anything to generate
>>actual sse or mmx code.
>>
>>I'd like to hear from some folks who really
>>understand how gcc works
>>about this. It's confused me for quite awhile.
>>
>>Thanks,
>>Mark
>>
>>-- 
>>gentoo-user@gentoo.org mailing list
>>
>>
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
PS: just to mention i use custom CFLAGS (per category/per package) and
didn't have any problems so far, but not too aggressively (bashrc).
HTH. Rumen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Security Updates and Portage Trees

2005-09-18 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I don't know if this would be considered a newbie question or not.  I
haven't really seen it asked, and I haven't been able to find any
documentation that clearly states this, so I thought I would ask here.

Why is the "--oneshot" option specified in the GLSA advisories?  And
how does that affect the different package groups (trees) in portage?

If I update firefox with the --oneshot option, I know that it won't
update the "world" tree, but why?  Why is that the recommended
procedure?  Does that give me any benefit?  Also, why would a package
be available as a "--oneshot" and NOT through a normal "emerge -Dupv
world"?

I love how portage unifies the packaging system, and I feel like if I
run all of these "--oneshot" updates for security fixes, that I'll
have all of these "stray" programs running around on my system, that
won't get updated next time I emerge "world".

Can someone maybe shed a little light for me?

Thanks.

- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDLjurLYGSSmmWCZMRAqqxAJ9LjFKFggkmVgD9SkeTcIkJ1gRbxQCfYZTX
A3jilZ2/0hkV2JLMZoTp1VI=
=onDU
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] scp or sftp from another local machine in GENTOO_MIRRORS?

2005-09-18 Thread Walter Dnes
On Sun, Sep 18, 2005 at 04:03:46PM -0400, Walter Dnes wrote

>   I update m3000 first and then m450.  Any necessary tarballs/checksums
> will end up in m3000's /usr/portage/distfiles directory.  I've already
> got ssh via key authorization going between the two machines, so they
> can back up each other.  I turn on m450 once a week to emerge --sync and
> update it.  I'd like the first mirror choice to be scp or sftp from m3000
> (or 192.168.123.252 if that's easier).  Can it be done, and if so, what
> is the syntax?

  Yes, I'm talking to myself.  I was trying to do it "the hard way", but
the answer is so simple that I missed it.  Forget "GENTOO_MIRRORS".  I
simply need a one-liner...

scp [EMAIL PROTECTED]:/usr/portage/distfiles/* /usr/portage/distfiles/

...copies over all the necessary tarballs/checksums.

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] scp or sftp from another local machine in GENTOO_MIRRORS?

2005-09-18 Thread Nagatoro

Walter Dnes wrote:

can back up each other.  I turn on m450 once a week to emerge --sync and
update it.  I'd like the first mirror choice to be scp or sftp from m3000
(or 192.168.123.252 if that's easier).  Can it be done, and if so, what
is the syntax?


Try and search the wiki (gentoo-wiki) for http-mirror. It does a great 
job here. Basically it's a caching http proxy. So all your packages 
gets downloaded from m3000 if they exist there and if not they get 
downloaded from the mirrors.



--
Naga
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] applets on gnome-2.12.0

2005-09-18 Thread Nagatoro

Bruno Lustosa wrote:

Hello.
Anyone on this list using gnome-2.12.0 already?
I managed to emerge everything, and almost everything is working fine.
I'm having some problems with a few applets though, that are annoying me.
Important applets such as window list and workspace switcher won't load, 
giving panel errors.

Can someone help me?


Don't remember the bug number but the solution is in bugzilla (search 
for gnome 2.12 applet). If I recall correctly you need to reemerge a 
certain package. (btw Gnome 2.12 looks good! :) )

--
Naga
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-18 Thread kashani

Scott Storck wrote:
LACP is that multiple links between the switch and the server are used 
as one logical link.

If one dies, then the others are still used.
I have tested it using setups of 2 and 4 gigabit links, and I have had 
no problems.




In a bonding situation don't both NIC's need to be plugged into the same 
switch or have things changed in the technology recently? I think the 
failure that the original author is trying to plan for is a switch 
failure not a NIC failure.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-18 Thread maxim wexler


--- Mark Knecht <[EMAIL PROTECTED]> wrote:

> On 9/18/05, maxim wexler <[EMAIL PROTECTED]> wrote:
> 
> > flags   : fpu vme de pse tsc msr pae mce
> cx8
> > apic sep mtrr pge mca cmov pat pse36 clflush mmx
> fxsr
> > sse sse2 syscall nx mmxext 3dnowext 3dnow
> 
> 
> So Walter's point would be that you could add
> 
> mmx mmxext sse sse2 3dnow 3dnowext
> 
> to your use flags, either globally in your make.conf

what about all those others?

> file or for
> specific packages in package.use. Adding these flags
> will enable clode
> within the program being emerged specifically
> supporting those
> features.
> 
> My point was that without adding these flags to the
> compile options
> (CXFLAGS) in make.conf I'm not clear that adding the

well, are they CXFLAGS or USE flags?

> flags in the USE
> section of make.conf does anything to generate
> actual sse or mmx code.
> 
> I'd like to hear from some folks who really
> understand how gcc works
> about this. It's confused me for quite awhile.
> 
> Thanks,
> Mark
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need a script that will add pwdfail IPs to shorewall blacklist

2005-09-18 Thread A. Khattri
On Sun, 18 Sep 2005, Brian Parish wrote:

> Yes, I see that on all our servers.  Not much more than an annoyance unless
> you have stupidly obvious passwords, but annoying for sure.  On customer
> servers that don't require access from the everywhere and anywhere I just
> configure hosts.allow and hosts.deny to drop traffic from all but known
> addresses, but this is of course not an option for a webserver or whatever.
>
> There have been lots of discussions on various lists about handling these
> brute force ssh scripts, with various strategies for having iptables rules
> limit login attempts after three unsuccessful attempts, but I've seen as many
> "it didn't work for me" posts as "do it this way" and not being a firewall
> guru, I've sat on the fence so far.

Several strategies to increase security but it depends on how people
access the server. For example, if noone needs ssh access except you, you
could add a firewall rules that only allows access from your IP. Another
option is to generate a key and setup authentication via key - you can
then configure ssh to do only key authentication (this will stop the basic
brute-force password attacks right away).

For people who need scp/sftp (but not full shell access) you could set
their login shell to use rssh instead.

Many ways to skin a cat and all that...



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-18 Thread John Jolet

On Sunday 18 September 2005 22:11, A. Khattri wrote:
> On Mon, 19 Sep 2005, Ow Mun Heng wrote:
> > Be that as it may, I'm not Perl person (picked up the book, but haven't
> > really progressed anywhere hehe).
> >
> > But.. when push comes to shove
>
> Im assuming there is probably a CPAN module that does most of this for you
> - this is why I think Perl might be a better way to go.
>
>
> --
there is...MIME::Entity...used thusly (from a perl program I use to email pdf 
files, but you pass the mim-type on the command line, so it can send any mime 
type):
my $top = MIME::Entity->build(Type  => "multipart/mixed",
  From  => "[EMAIL PROTECTED]",
  Bcc   => $address,
  Subject   => "Mills Messenger by 
e-Mail");

$top->attach( Path  => $file_to_send,
  Type  => $mime_type,
  Encoding  => "base64");

my $message = "Attached is your Mills Messenger for this week.  Enjoy!";
$top->attach(Data=>$message);

open MAIL, "|/usr/sbin/sendmail.postfix -t -oi -oem" or die "Error on mail 
o
pen is: $!\n";
$top->print(\*MAIL);
close MAIL;

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-18 Thread Nick Rout
On Sun, 2005-09-18 at 14:34 -0700, Mark Knecht wrote:
> On 9/18/05, maxim wexler <[EMAIL PROTECTED]> wrote:
> 
> > flags   : fpu vme de pse tsc msr pae mce cx8
> > apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr
> > sse sse2 syscall nx mmxext 3dnowext 3dnow
> 
> 
> So Walter's point would be that you could add
> 
> mmx mmxext sse sse2 3dnow 3dnowext
> 
> to your use flags, either globally in your make.conf file or for
> specific packages in package.use. Adding these flags will enable clode
> within the program being emerged specifically supporting those
> features.
> 
> My point was that without adding these flags to the compile options
> (CXFLAGS) in make.conf I'm not clear that adding the flags in the USE
> section of make.conf does anything to generate actual sse or mmx code.
> 
> I'd like to hear from some folks who really understand how gcc works
> about this. It's confused me for quite awhile.
> 
> Thanks,
> Mark

It is not difficult to figure out what CPU flags to add into an mplayer
build. If you get it wrong then mplayer tells you at the start of its
output (just run mplayer with no files to play):

[EMAIL PROTECTED] ~ $ mplayer
MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
==

(My USE flags are not correctly set up because I just did a GRP install
to get this system up and running in quick time). However you will see
that MMX, MMX2, 3Dnow and 3DNowExt are supported by mplayer but not
compiled into this binary. All of them have appropriate USE flags, which
can be seen from "emerge -pv mplayer"

The mplayer emerge changes your CFLAGS to suit itself.


> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC upgrade / downgrade infinite loop

2005-09-18 Thread Chris White
On Monday 19 September 2005 07:57, Yann Garnier wrote:
> Greetings everyone,
>
> Can anybody tell me why portage constantly upgrade and then downgrade
> GCC (versions 3.3.5 & 3.3.6) each time I "emerge -pvuD world" ???

A little trick I do when this kind of stuff happens.  In portage, there's a 
file called /etc/portage/package.mask.  You can use it to mask packages that 
aren't in /usr/portage/profile/package.mask.  It is however, useful in 
finding out why packages are downgrading.  So, here's what you can do:

echo "=sys-devel/gcc-3.3.5" >> /etc/portage/package.mask

This will mask gcc 3.3.5.  Now, when the package that wants gcc 3.3.5 is about 
to be emerged, portage will notice that gcc 3.3.5 is masked and complain.  
This complaining will do the nice favor of showing you what package needs it, 
and find out why it does.  After this you'll want to remove the package.mask 
entry to avoid any sort of chaos.  Hope this helps.

> In advance thank you
>
> Yann Garnier

Chris White


pgp8t9uDCWrXF.pgp
Description: PGP signature


Re: [gentoo-user] Re: Setting up group for ppp and dial up

2005-09-18 Thread Nick Rout
On Sun, 2005-09-18 at 11:35 +, Mick wrote:
> Chris White wrote:
> 

> 
> Hmm, it doesn't seem to.  I have to start /etc/init.d/hcfpci manually from a
> root terminal.  Thereafter kppp starts the pppd after the call is
> connected.
> 
> Another problem I am running into is this:  I can only connect and
> authenticate using one dialup account, all the other ISP modems do not
> answer the call.  It just keeps ringing.  Even on the ISP that I can
> authenticate on, I cannot connect to the internet through them.  I cannot
> ping www.yahoo.com, I cannot connect to a website using a browser, etc. 
> All I can do is ping the IP address of the ISP.

1. set hcfpci to start in the default runlevel, then foget about it:

rc-update add hcfpci default

2. emerge wvdial, it will save you enormous grief!

> 
> -- 
> Regards,
> Mick
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-18 Thread A. Khattri
On Mon, 19 Sep 2005, Ow Mun Heng wrote:

> Be that as it may, I'm not Perl person (picked up the book, but haven't
> really progressed anywhere hehe).
>
> But.. when push comes to shove

Im assuming there is probably a CPAN module that does most of this for you
- this is why I think Perl might be a better way to go.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntsysv equivalent

2005-09-18 Thread A. Khattri
On Sun, 18 Sep 2005, C. Beamer wrote:

> Yes, I have /etc/logrotate.d/syslog-ng.  This is what it says, but I
> have no idea what it means (I'm not a programmer):
>
> /var/log/messages {
> sharedscripts
> postrotate
> /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
> endscript

Generally, most packages will install documentation under /usr/share/doc.

Another option is to find the homepage for the syslog-ng package and read
the docs there.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-18 Thread Dave Nebinger
Before the crash, the following three lines appeared (in this order) 
nearly

53,000 times for a total of 16MB of text:


Sep 17 13:45:51 kerwin [4314362.567000] ip_local_deliver: bad skb:

PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING

Sep 17 13:45:51 kerwin [4314362.567000] skb: pf=2 (unowned) dev=lo len=60
Sep 17 13:45:51 kerwin [4314362.567000] PROTO=6 127.0.0.1:34134

127.0.0.1:111 L=60 S=0x00 I=15872 F=0x4000 T=64


Don't assume this is your answer, Kris.  This was a known problem on one of 
the 2.6.12 kernels (2.6.12.4, I believe, but don't hold me to it).


I had many of these in my logs also.  It was a partial network patch applied 
to the networking layer but missed some components.  It was fixed by the 
2.6.13 kernel series.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-18 Thread Ow Mun Heng
On Sat, 2005-09-17 at 01:15 -0400, A. Khattri wrote:
> On Sat, 17 Sep 2005, Ow Mun Heng wrote:
> 
> > I have another problem now. for some reason, the system I was developing
> > for (FC3), the mail command does not have a "-a" option.
> >
> > I'm still searching for the correct mail 'version' in fc3. Anyone else
> > has any more suggestions?
> 
> Unless you're prepared to use raw sendmail and generate all the headers
> yourself, you might be better off using perl and a module specifically
> designed to encode mail attachments correctly.

Sigh.. Yeah.. I can do this. It just involves using the -t to sendmail.

> 
> Speaking as a programmer, perl is a lot easier to deal with than bash for
> textual operations such as this.

Be that as it may, I'm not Perl person (picked up the book, but haven't
really progressed anywhere hehe).

But.. when push comes to shove
> 
> -- 
> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:28:00 up 45 min, 6 users, load average: 0.21, 0.50, 0.78 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Flaky IDE

2005-09-18 Thread Volker Armin Hemmann
On Monday 19 September 2005 02:00, Michael Crute wrote:

> >
> > I'm not really looking to change hardware just simply re-initialize that
>
> specific PCI card so I don't have to reboot to do it. There ought to be a
> software command to do this, but perhaps no.
>
> -Mike

you can reset the ide-bus with hdparm (dangerous) or unload the module and 
reload it (also not without risks).

Hm brand new harddisks can be defect too. I had one once - it was damaged from 
the very first second.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Flaky IDE

2005-09-18 Thread Michael Crute
On 9/18/05, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:
get a new cable?is everything cool enough?
Yes to both 
why do you think, it is the controller?
No reason really its just a guess. Plus the hard drives are brand new. 
and last point: if the controller is not explicitly marked as hot-swapable,and the board able to do hotswap too, you have to proper shutdown to change
hardware.Since I suspect, that it is a PCI controller, and PCI is nothotplug/hotswapable, the answer should be no.
I'm not really looking to change hardware just simply
re-initialize that specific PCI card so I don't have to reboot to do
it. There ought to be a software command to do this, but perhaps no.

-Mike
-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?"


Re: [gentoo-user] Flaky IDE

2005-09-18 Thread Volker Armin Hemmann
On Monday 19 September 2005 01:17, Michael Crute wrote:
> I am running an ITE IT8212 IDE Raid controller card with a 60GB and a 40GB
> drive in a striping array. I have about 60GB of data on the thing and it
> only lets me copy off perhaps a gig at a time before I get a mysterious
> "I/O Error" that requires that I reboot to reset the raid card (it doesn't
> crash Linux but the raid is inaccessible until a reboot is completed).
> Anyone heard of such a thing? I am totally lost here. At the very least is
> there a way to reset the blasted card without rebooting the machine? It is
> also worthy of noting that my motherboard has two onboard ITE SATA raid
> controllers built in. Any thoughts would be appreciated.

get a new cable?
is everything cool enough?

why do you think, it is the controller?

and last point: if the controller is not explicitly marked as hot-swapable, 
and the board able to do hotswap too, you have to proper shutdown to change 
hardware.
Since I suspect, that it is a PCI controller, and PCI is not 
hotplug/hotswapable, the answer should be no.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Flaky IDE

2005-09-18 Thread Michael Crute
I am running an ITE IT8212 IDE Raid controller card with a 60GB and a
40GB drive in a striping array. I have about 60GB of data on the thing
and it only lets me copy off perhaps a gig at a time before I get a
mysterious "I/O Error" that requires that I reboot to reset the raid
card (it doesn't crash Linux but the raid is inaccessible until a
reboot is completed). Anyone heard of such a thing? I am totally lost
here. At the very least is there a way to reset the blasted card
without rebooting the machine? It is also worthy of noting that my
motherboard has two onboard ITE SATA raid controllers built in. Any
thoughts would be appreciated.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?"


[gentoo-user] GCC upgrade / downgrade infinite loop

2005-09-18 Thread Yann Garnier

Greetings everyone,

Can anybody tell me why portage constantly upgrade and then downgrade 
GCC (versions 3.3.5 & 3.3.6) each time I "emerge -pvuD world" ???


In advance thank you

Yann Garnier

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A Gentoo Equivalent

2005-09-18 Thread W.Kenworthy
and set /etc/mail/aliases if needed.

BillK

On Sun, 2005-09-18 at 22:59 +0100, Peter Ruskin wrote:
> On Sunday 18 September 2005 20:14, C. Beamer wrote:
> > Hi all,
> >
> > I'm not sure how to do the equivalent of the following in Gentoo,
> > so any help would be appreciated.
> >
> > When I used Fedora Core, on a daily basis, I could fire up Pine
> > (or Mutt) and would get an e-mail that was essentially the output
> > from my log files.  One of the things that would be listed is the
> > listing for the cron jobs that I had set up (and the outcome),
> > for instance, running the perl script that updates the virus
> > definitions for F-prot.  In Pine, which is what I use, the mail
> > would be sent to [EMAIL PROTECTED]
> >
> > How would this be accomplished in Gentoo?
> >
> Add this to your crontab(s):
>   MAILTO=root
> -- 
> Peter
> 
> Gentoo Linux: Portage 2.0.51.22-r2.   kernel-2.6.13-gentoo-r1.
> i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.5-20050130.
> KDE: 3.4.2.   Qt: 3.3.4.
> 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] applets on gnome-2.12.0

2005-09-18 Thread Bruno Lustosa
Hello.
Anyone on this list using gnome-2.12.0 already?
I managed to emerge everything, and almost everything is working fine.
I'm having some problems with a few applets though, that are annoying me.
Important applets such as window list and workspace switcher won't load, giving panel errors.
Can someone help me?

Thanks-- Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil  |


Re: [gentoo-user] openvpn

2005-09-18 Thread capsel
AFAIK:
packets can not reach destinations in other subnet (except 0.0.0.0)
than the subnet of your IP. You must have assigned an IP address from
same subnet as destination host.

so client can ping all 10 and two sides of server
Please check if you can ping other IP from 192.168.0.0 subnet.

My advice is to "fix" routing tables... or to set up NAT, or set
everywhere same subnet :)

2005/9/18, Oliver Friedrich <[EMAIL PROTECTED]>:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Allan Spagnol Comar wrote:
> 
> > Hi all, I having some strange problem on my VPN :(
> >
> > I had configured openvpn as tunnel server-client; had a tun
> > interface .
> >
> > I started the open vpn using 10.8.0.0 network and has my private
> > net at 192.168.0.0 and the open vpn is running at 192.168.0.230
> >
> > I started one client; the client sync receive an IP 10.8.0.5 and
> > the route to 192.168.0.0 network;
> >
> > Until now everything looks ok, but here is the strange sinc, I can
> > ping 10.8.0.1 and I can ping 192.168.0.230 but when I try to ping
> > 192.168.0.1 it got connection time out 
> 
> 
> There is the Problem, the 10.8.0.0 Network is only for the connection,
> your client is on 192.168.0.0 and your server is on 192.168.0.0 too...
> so as long as the tunnel exists, your server has two 192.168.0.230,
> one localy and one on the other side of the tunnel...
> 
> client and server must not be in same subnet, since then the tunnel
> can cause IP conflicts.
> 
> Sorry for my bad english
> 
> Oliver "Beowulf" Friedrich
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDLd4ecZpid1GuHxcRArn5AKDGMdtppI8iDI2KLccWnBax5Gc33gCg0Eix
> Ta4t0uJ1UMWLhyLm/SaX1rM=
> =CDSa
> -END PGP SIGNATURE-
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Windows share clients and shorewall [SOLVED]

2005-09-18 Thread Daevid Vincent
This may help someone else keep their hair, as I pulled out enough of mine.

I have my networks set up with wireless (wifi) on 10.10.10.* and wired (loc)
as 192.168.1.*

I run net-firewall/shorewall-2.4.2 to keep things nice and separated.

What I want to do is allow certain wifi clients to have samba access to the
wired network. 

I can ping devices across the two networks without any problem.

I have this 'rule':
ACCEPT  wifi:10.10.10.69fw  all
ACCEPT  wifi:10.10.10.69loc all

I've tried it with this too and still nothing.
ACCEPT  wifi:10.10.10.69all all

If I try to use \\192.168.1.7 from a 10.10.10.69 (both are windowsXP
notebooks), XP just times out and says that the network path was not found.
Same if I use \\loki instead of the IP.

This url talks about how to do this http://www.shorewall.net/samba.htm but
it isn't working.

I've tried both ways.

#ACCEPTfw   locudp  137:139
#ACCEPTfw   loctcp  137,139,445
#ACCEPTfw   locudp  1024:  137
#ACCEPTloc  fw udp  137:139
#ACCEPTloc  fw tcp  137,139,445
#ACCEPTloc  fw udp  1024:  137
#
AllowSMB  fwloc
AllowSMB  loc   fw
AllowSMB  fwwifi
AllowSMB  wifi  fw
AllowSMB  wifi  loc
AllowSMB  loc   wifi
AllowSMB  all   all

In a 'sanity check' moment, I typed "shorewall clear" (as defined here:
http://www.shorewall.net/starting_and_stopping_shorewall.htm) and then tried
to connect those two clients, and still got the same message. So I'm not so
sure if shorewall is the problem? I looked at the samba.conf file and didn't
seen anything. In fact, come to think of it, is this even a samba thing?
Isn't samba only a factor if I was running it on the clients? In this case,
both devices are windowsXP notebooks that happen to go through a gentoo
server (fw/router)...

Then it dawns on me, I wonder if XP's built in firewall is killing me?
Sho'nuff. Here's the trick:

Start->Control Pannel->Windows Firewall->Exceptions (I didn't even know that
tab existed!)

Double click on "File and Printer Sharing"

Then for each of the 4 ports, double click and select "Any"

You can also choose certain subnets or whatever, but I figure my clients are
already behind the shorewall, so they're fairly protected, and I don't need
the headaches.

This also seemed to have a positive effect on my gentoo server's samba share
which uses [homes] special directive in samba.conf. I couldn't ever get that
working, and now it does!

D.Vin
http://daevid.com

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openvpn

2005-09-18 Thread Scott Storck

Hi Allan,

Allan Spagnol Comar schrieb:


Hi all, I having some strange problem on my VPN :(

I had configured openvpn as tunnel server-client; had a tun interface .

I started the open vpn using 10.8.0.0 network and has my private net
at 192.168.0.0 and the open vpn is running at 192.168.0.230

I started one client; the client sync receive an IP 10.8.0.5 and the
route to 192.168.0.0 network;

Until now everything looks ok, but here is the strange sinc, I can
ping 10.8.0.1 and I can ping 192.168.0.230 but when I try to ping
192.168.0.1 it got connection time out 

I set up the iptables forward at the 192.168.0.230 machine  what
more I have missed ?
anyone had a clue ?

Thanks, Allan

 


If want to access the network of the server from the client,
you need the following things.

(I am going from the top down, so that someone else might be able to
follow this, and get something out of it.)

When openvpn creates the tunnel, you have a point to point connection,
between the server and the client.
In your example, you use the 10.8.0.0 network for the server to client,
point to point connection.
Since you say that you can ping the server on the 10.8.0.0 network, the
tunnel is most likely working.
You say that the server is in the 192.168.0.0 network, and has the
192.168.0.230 address.
You also say that a route to the 192.168.0.0 is added on the client machine,
and that you can ping the server on the 192.168.0.0 network using the
192.168.0.230 address.
So the routing on the client is also fine.

Assuming that you want the client(s) to be seen in the private network
(192.168.0.0) as being in the 10.8.0.0 network,
you need to add a routing back to the client for the machines in the
private network..
If your private network has a default gateway,
it is usually the easist to add a route at the default gateway,
saying that the 10.8.0.0 network can be reached over the gateway host
192.168.0.230 .

The other important thing is to make sure that your open server has
packet forwarding on.
i.e. net.ipv4.ip_forward = 1 in /etc/sysctl.conf

The best way to test you routing when you think it should be working,
is to do a trace route from a machine in the private network to the
client when the VPN is up.

MfG,
Scott



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openvpn

2005-09-18 Thread Scott Storck

Hi Allan,

Allan Spagnol Comar schrieb:


Hi all, I having some strange problem on my VPN :(

I had configured openvpn as tunnel server-client; had a tun interface .

I started the open vpn using 10.8.0.0 network and has my private net
at 192.168.0.0 and the open vpn is running at 192.168.0.230

I started one client; the client sync receive an IP 10.8.0.5 and the
route to 192.168.0.0 network;

Until now everything looks ok, but here is the strange sinc, I can
ping 10.8.0.1 and I can ping 192.168.0.230 but when I try to ping
192.168.0.1 it got connection time out 

I set up the iptables forward at the 192.168.0.230 machine  what
more I have missed ?
anyone had a clue ?

Thanks, Allan

 


If want to access the network of the server from the client,
you need the following things.

(I am going from the top down, so that someone else might be able to 
follow this, and get something out of it.)


When openvpn creates the tunnel, you have a point to point connection, 
between the server and the client.
In your example, you use the 10.8.0.0 network for the server to client, 
point to point connection.
Since you say that you can ping the server on the 10.8.0.0 network, the 
tunnel is most likely working.
You say that the server is in the 192.168.0.0 network, and has the 
192.168.0.230 address.

You also say that a route to the 192.168.0.0 is added on the client machine,
and that you can ping the server on the 192.168.0.0 network using the 
192.168.0.230 address.

So the routing on the client is also fine.

Assuming that you want the client(s) to be seen in the private network 
(192.168.0.0) as being in the 10.8.0.0 network,
you need to add a routing back to the client for the machines in the 
private network..

If your private network has a default gateway,
it is usually the easist to add a route at the default gateway,
saying that the 10.8.0.0 network can be reached over the gateway host 
192.168.0.230 .


The other important thing is to make sure that your open server has 
packet forwarding on.

i.e. net.ipv4.ip_forward = 1 in /etc/sysctl.conf

The best way to test you routing when you think it should be working,
is to do a trace route from a machine in the private network to the 
client when the VPN is up.


MfG,
Scott


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openvpn

2005-09-18 Thread Oliver Friedrich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Allan Spagnol Comar wrote:

> Hi all, I having some strange problem on my VPN :(
>
> I had configured openvpn as tunnel server-client; had a tun
> interface .
>
> I started the open vpn using 10.8.0.0 network and has my private
> net at 192.168.0.0 and the open vpn is running at 192.168.0.230
>
> I started one client; the client sync receive an IP 10.8.0.5 and
> the route to 192.168.0.0 network;
>
> Until now everything looks ok, but here is the strange sinc, I can
> ping 10.8.0.1 and I can ping 192.168.0.230 but when I try to ping
> 192.168.0.1 it got connection time out 


There is the Problem, the 10.8.0.0 Network is only for the connection,
your client is on 192.168.0.0 and your server is on 192.168.0.0 too...
so as long as the tunnel exists, your server has two 192.168.0.230,
one localy and one on the other side of the tunnel...

client and server must not be in same subnet, since then the tunnel
can cause IP conflicts.

Sorry for my bad english

Oliver "Beowulf" Friedrich
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDLd4ecZpid1GuHxcRArn5AKDGMdtppI8iDI2KLccWnBax5Gc33gCg0Eix
Ta4t0uJ1UMWLhyLm/SaX1rM=
=CDSa
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-18 Thread Mark Knecht
On 9/18/05, maxim wexler <[EMAIL PROTECTED]> wrote:

> flags   : fpu vme de pse tsc msr pae mce cx8
> apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr
> sse sse2 syscall nx mmxext 3dnowext 3dnow


So Walter's point would be that you could add

mmx mmxext sse sse2 3dnow 3dnowext

to your use flags, either globally in your make.conf file or for
specific packages in package.use. Adding these flags will enable clode
within the program being emerged specifically supporting those
features.

My point was that without adding these flags to the compile options
(CXFLAGS) in make.conf I'm not clear that adding the flags in the USE
section of make.conf does anything to generate actual sse or mmx code.

I'd like to hear from some folks who really understand how gcc works
about this. It's confused me for quite awhile.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-18 Thread Scott Storck

Hallo Mal,

Mal Herring schrieb:


Hi List,
Been looking on forums.gentoo.org looking for a way to pair two NIC's so
that should the primary fail, the secondary takes over...
 


I use the LACP protocol ( IEEE 802.1ad) between my switches and my servers,
it is one of the bonding modes offered by the bonding driver.

LACP is that multiple links between the switch and the server are used 
as one logical link.

If one dies, then the others are still used.
I have tested it using setups of 2 and 4 gigabit links, and I have had 
no problems.


I have only tested it with HP procurve switches, with which I have had 
no problems at all.
HP refers to it as LACP and/or IEE 802.1ad, but I have heard that some 
other switch manufactures call it other names...

I can also recommending checking out the bonding driver in general.

MfG,
Scott

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-18 Thread maxim wexler


--- Walter Dnes <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 16, 2005 at 08:53:10PM -0700, maxim
> wexler wrote
> 
> > > Differs from both of yours again. Here's my
> > > package.use for the machine:
> > > 
> > > dragonfly ~ # cat /etc/portage/package.use
> > 
> > no such file on my machine. Did I miss something?
> 
>   package.use is a file where you can turn USE flags
> on or off *FOR
> INDIVIDUAL PACKAGES*.  Here's mine...
> 
> 
> app-misc/mc -X
> app-office/openoffice-bin java
> app-text/xpdf motif
> media-gfx/gimp doc exif
> media-libs/win32codecs real
> media-video/mplayer custom-cflags i8x0 real sse2
> 3dnowext mmxext
> net-misc/wget ssl
> net-nntp/slrn uudeview
> sys-libs/glibc userlocales
> www-client/links svga
> sys-apps/busybox static
> 
> 
>   There are some options that certain packages
> *MUST* have, while other
> packages *MUST NOT* have them.  E.g. busybox is a
> "rescue package".  It
> is most likely going to be required when libraries
> are screwed up.  So
> it needs static linking, which is a bad idea for
> most apps.  I use mc
> (Midnight Commander) mostly in text consoles.  It
> has weird interaction
> with X.  I therefore turn off X support for mc. 
> svga pounds away
> directly at IO ports, and requires setuid root (or
> else run an app as
> root).  It's OK with links, but I don't want it in
> my global USE var,
> because then a whole bunch of other apps, besides
> links, will start
> requiring setuid.
> 
>   Additionally, check
> /usr/portage/profiles/use.local.desc for
> package-specific flags.  /etc/portage/package.use is
> where those flags
> should go.
> 
> > This is all I got:
> > USE="java alsa esd mad mp3 ogg oss vorbis xmms"
> > 
> > Assembling these flags has been hit or miss.
> Something I read in a
> > forum somewhere or just a guess. It certainly
> doesn't represent all
> > the software I've emerged since setting up this
> system about 4 months
> > ago. Is there some sort of tried and true method
> of determining what
> > USE flags to use.
> 
> cat /proc/cpuinfo

[EMAIL PROTECTED] ~ $ cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 12
model name  : AMD Sempron(tm) Processor 3100+
stepping: 0
cpu MHz : 1808.711
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr
sse sse2 syscall nx mmxext 3dnowext 3dnow
bogomips: 3579.90


> 
> on your machine, and post the output on this list. 
> That'll let us know
> what CFLAGS and USE flags your cpu supports.  And of
> course, a lot
> depends on what programs you're running on your
> machine.
> 
> -- 
> Walter Dnes <[EMAIL PROTECTED]>
> My musings on technology and security at
> http://tech_sec.blog.ca
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dell 1850/Dell Partition

2005-09-18 Thread John Jolet
On Sunday 18 September 2005 15:24, Walter Dnes wrote:
> On Sun, Sep 18, 2005 at 09:15:48AM +, Michael Kintzios wrote
>
> > Compaq tend to 'compaqify' their boxes by plastering their company
> > logo into every splash screen you can imagine, including these days
> > their BIOS screen.  I am not sure how their boxen were configured
> > a few years ago but these days everything can be 'disinfected' and
> > returned to default component settings.  I am not what you mean by
> > BIOS partition.  I don't know if they would save a BIOS image to
> > reflash the BIOS with their corporate splash screen and preferred
> > settings in case the CMOS battery ran out or was removed by the user.
> > On the other hand, they may just saved the splash screen on the hdd
> > because back then there would be much less storage space for silly
> > splash screens on the BIOS itself?
>
>   No, it was for screen settings and BIOS parameters.  If you have a
> really old Compaq, go to their download webpage and get the floppy image
> for your model.  You have to boot from the floppy, and save to the
> hidden partition, creating it if necessary.  It occupied the first
> cylinder, and definitely did not have enough space to store the OS.
They did this even before the eisa days.  Putting the bios settings on the 
hard drive was supposed to protect them in case the battery died backing the 
bios.  Guess back then they didn't have flash memory.  This is no longer the 
case for the desktop compaq machinesnot sure about the servers.
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dell 1850/Dell Partition

2005-09-18 Thread Walter Dnes
On Sun, Sep 18, 2005 at 09:15:48AM +, Michael Kintzios wrote

> Compaq tend to 'compaqify' their boxes by plastering their company
> logo into every splash screen you can imagine, including these days
> their BIOS screen.  I am not sure how their boxen were configured
> a few years ago but these days everything can be 'disinfected' and
> returned to default component settings.  I am not what you mean by
> BIOS partition.  I don't know if they would save a BIOS image to
> reflash the BIOS with their corporate splash screen and preferred
> settings in case the CMOS battery ran out or was removed by the user.
> On the other hand, they may just saved the splash screen on the hdd
> because back then there would be much less storage space for silly
> splash screens on the BIOS itself?

  No, it was for screen settings and BIOS parameters.  If you have a
really old Compaq, go to their download webpage and get the floppy image
for your model.  You have to boot from the floppy, and save to the
hidden partition, creating it if necessary.  It occupied the first
cylinder, and definitely did not have enough space to store the OS.

> Hmm, did you then boot Linux using LiLo, or by chainloading LiLo via
> the M$Windoze bootloader?

  lilo on /dev/hda

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] scp or sftp from another local machine in GENTOO_MIRRORS?

2005-09-18 Thread Walter Dnes
  I have two machines.  My production machine is named m3000 and the
backup is m450.  The numbers refer to the machines' cpu speeds in mhz.
I keep both machines updated, so that m450 (a 6-year-old Dell PIII) can
be pressed into service immediately if the main machine dies.  This
means that I end up duplicating downloads for emerges.  I'm trying to
cut down on the download duplication, and make things a bit easier of
Gentoo mirrors.

  I update m3000 first and then m450.  Any necessary tarballs/checksums
will end up in m3000's /usr/portage/distfiles directory.  I've already
got ssh via key authorization going between the two machines, so they
can back up each other.  I turn on m450 once a week to emerge --sync and
update it.  I'd like the first mirror choice to be scp or sftp from m3000
(or 192.168.123.252 if that's easier).  Can it be done, and if so, what
is the syntax?

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Managing FF/TB plugins in Gentoo

2005-09-18 Thread Kevin O'Gorman
On 9/18/05, Christoph Gysin <[EMAIL PROTECTED]> wrote:
Kevin O'Gorman wrote:> I've just had a look at FireFox about:plugins and I'm both worried and> confused.> No surprise there; it happens a lot when I peek under the covers.  :o)>> There are two versions of the Java plugin listed, with the same
> libjavaplugin_oji.so> filename.  The latest is Java 1.5.0_04b05.>> There are two versions of Flash listed, also with one and the same filename:> libflashplayer.so.Don't know how this happend. You can check where they come from with:
$ locate libflashplayer.so  or without slocate installed
That produces

 treat ~ # slocate libflashplayer.so
/home/kevin/.mozilla/plugins/libflashplayer.so
/home/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/home/kevin/.netscape/plugins/libflashplayer.so
/home/kevin/Plugins/install_flash_player_6_linux/libflashplayer.so
/home/kevin/Gentoo/install_flash_player_7_linux/libflashplayer.so
/u01/RH_HOMES/kevin/.netscape/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/.mozilla/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/plugins/install_flash_player_6_linux/libflashplayer.so
/u01/RH_HOMES/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/usr/lib/nsbrowser/plugins/libflashplayer.so
/oldroot/usr/lib/nsbrowser/plugins/libflashplayer.so
treat ~ #
Some of these clearly have to do with old releases and distros.  I should clean up
my act.



$ find / -name libflashplayer.so

This does somewhat the same:
 treat ~ # find / -name libflashplayer.so
/home/kevin/.mozilla/plugins/libflashplayer.so
/home/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/home/kevin/.netscape/plugins/libflashplayer.so
/home/kevin/Plugins/install_flash_player_6_linux/libflashplayer.so
/home/kevin/Gentoo/install_flash_player_7_linux/libflashplayer.so
/u01/RH_HOMES/kevin/.netscape/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/.mozilla/plugins/libflashplayer.so
/u01/RH_HOMES/kevin/plugins/install_flash_player_6_linux/libflashplayer.so
/u01/RH_HOMES/kevin/LinuxTools/install_flash_player_6_linux/libflashplayer.so
/usr/lib/nsbrowser/plugins/libflashplayer.so
/oldroot/usr/lib/nsbrowser/plugins/libflashplayer.so

Perhaps you loaded an old version from /home/user/.mozilla/plugins ?

I have no idea what the history is.  I've been doing this for a long time, and don't
keep records of everything that gets installed.
> Also: I would like the Adobe Acrobat plugin, but> 1) I don't see it in 'eix' or 'emerge -s'.
> 2) The instructions for installing from an existing Acrobat install are> not effective>  with the portage-installed acrobat.I don't know what you're referring to here, but this should do the trick:
# mkdir -p /etc/portage/# echo app-text/acroread nsplugin >> /etc/portage/package.use# emerge -avt acroread
Thanks.  I'll try that.  
 Christoph--echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" 
[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list-- Kevin O'Gorman, PhD


Re: [gentoo-user] A Gentoo Equivalent

2005-09-18 Thread Mike Williams
On Sunday 18 September 2005 20:14, C. Beamer wrote:
> How would this be accomplished in Gentoo?

Logwatch is the closest I can think of.
To get it sent to you all depends on the MTA you're using. As I've never used 
ssmtp (the default "MTA" for Gentoo), a quick glance via google suggest it 
has some sort of support for aliases.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] A Gentoo Equivalent

2005-09-18 Thread C. Beamer
Hi all,

I'm not sure how to do the equivalent of the following in Gentoo, so any
help would be appreciated.

When I used Fedora Core, on a daily basis, I could fire up Pine (or
Mutt) and would get an e-mail that was essentially the output from my
log files.  One of the things that would be listed is the listing for
the cron jobs that I had set up (and the outcome), for instance, running
the perl script that updates the virus definitions for F-prot.  In Pine,
which is what I use, the mail would be sent to [EMAIL PROTECTED]

How would this be accomplished in Gentoo?

Regards,

Colleen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] openvpn

2005-09-18 Thread Allan Spagnol Comar
Hi all, I having some strange problem on my VPN :(

I had configured openvpn as tunnel server-client; had a tun interface .

I started the open vpn using 10.8.0.0 network and has my private net
at 192.168.0.0 and the open vpn is running at 192.168.0.230

I started one client; the client sync receive an IP 10.8.0.5 and the
route to 192.168.0.0 network;

Until now everything looks ok, but here is the strange sinc, I can
ping 10.8.0.1 and I can ping 192.168.0.230 but when I try to ping
192.168.0.1 it got connection time out 

I set up the iptables forward at the 192.168.0.230 machine  what
more I have missed ?
anyone had a clue ?

Thanks, Allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdk build error

2005-09-18 Thread Holly Bostick
Aleksandr Guidrevitch schreef:
> Hi there,
> 
> /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of
> AC_PATH_DPS_GUESS_GNUSTEP
> /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of
> AC_PATH_DPS_GUESS
> /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of
> AC_PATH_DPS_CHECK_LIB
> /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of
> AC_PATH_DPS_CHECK_HEADER
> /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of
> AC_PATH_DPS_CHECK
> /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of
> AC_PATH_DPS
> /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of
> AC_CHECK_DPS_NXAGENT
> /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of
> AC_PATH_DPSET
> /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of
> AC_PROG_PSWRAP
> /usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
> 
> I've also reemerged pth in the hope to fix the error above.
> `revdep-rebuild` haven't helped too.
> Any thoughts ?

Yes You might want to emerge this:

dgs
Description: fake ebuild to force removal of broken path_dps.m4

(see that 'path_dps.m4' in all the paths, right before 'warning:'?)

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntsysv equivalent (and logrotate frequency)

2005-09-18 Thread C. Beamer
John Myers wrote:

>On Saturday 17 September 2005 20:11, C. Beamer wrote:
>  
>
>>
>>Is there a default length of time before logrotate will rotate the log
>>files?
>>
>>
>check in /etc/logrotate.conf. I believe the default is weekly. Also, if your 
>system is not run continuously, you may want to look into anacron, as 
>logrotate is run as a daily cron job
>  
>
Actally, I think the problem was that I didn't have a logrotate.conf
file.  I copied the one from /usr/portage/app-admin/logrotate/files/ and
put it in my /etc directory.

>
>For future reference, it is generally best to send separate messages to the 
>list for separate topics. i.e. one message for logrotate, and one message for 
>the service viewer. Makes it easier for potential responders to find 
>interesting questions, and for people searching for answers to find them.
>  
>
Sorry!  :-(  I'll remember this in future.  Thanks!  :-)

Thanks for pointing me in the right direction.  (Thanks to Neil
Bothwick, too!  :-) )

Gentoo is terrific, but a bit of a learning curve when you come from a
distro that does all the configuration for you.  However, I aspire to be
a "geek" like Holly (and that's meant as a sincere compliment, although
I'll never be that good, but one can dream!), so I'm determined to learn
this stuff.  Once I've done it once, I'll know for the next time.

Take care,

Colleen

>  
>
>>Also, does Gentoo have an equivalent to ntsysv where you can set
>>services to stop and start?  I assume that when you issue the command
>>rc-update add  default that this essentially is telling
>>some service to start at boot time.  
>>
>>
>Correct.
>
>  
>
>>However, if there is something like 
>>ntsysv available where you can see the services that are running, I
>>would appreciate being told what it is.
>>
>>
>as "Daevid Vincent" <[EMAIL PROTECTED]> said:
>   rc-update show
>also 
>   rc-status
>  
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdk build error

2005-09-18 Thread Aleksandr Guidrevitch

Hi there,

`emerge libtool`:
* Running autotools in '.' ...
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of 
_AC_PTH_ERROR

 run info '(automake)Extending aclocal'
 or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of 
_AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of 
AC_CHECK_PTH
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of 
AC_PATH_DPS_GUESS_GNUSTEP
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of 
AC_PATH_DPS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of 
AC_PATH_DPS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of 
AC_PATH_DPS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of 
AC_PATH_DPS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of 
AC_PATH_DPS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of 
AC_CHECK_DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of 
AC_PATH_DPSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of 
AC_PROG_PSWRAP

/usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist

I've also reemerged pth in the hope to fix the error above.
`revdep-rebuild` haven't helped too.
Any thoughts ?

Sincerely,
Aleksandr
Robert Crawford wrote:


On Thursday 15 September 2005 12:44 pm, Aleksandr Guidrevitch wrote:
 


Hi there,

I get the following error while `emerge -uD world`:
   



 


/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o: No
such file or directory
make: *** [libcdk.la] Error 1

I have 3.3.6 installed. I've also run `fix_libtool_files.sh 3.3.5` but
it doesn't help

Sincerely,
Aleksandr Guidrevitch
   



Try rebuilding libtool, then do fix_libtool_files.sh again. Then try your 
emerge -uD world again.


Sometimes that seems to be required.  If that doesn't work, have you also kept 
up with doing revdep-rebuild after big emerges- that might contribute to the 
problem too. (use the -p option first to see what you are dealing with).


Robert Crawford
 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntsysv equivalent

2005-09-18 Thread C. Beamer
Neil Bothwick wrote:

>On Sat, 17 Sep 2005 23:11:02 -0400, C. Beamer wrote:
>
>  
>
>>Is there a default length of time before logrotate will rotate the log
>>files?
>>
>>
>
>Do you have a config file for syslog-ng in /etc/logrotate.d? This should
>have been installed when you merged syslog-ng. If not, you'll find the
>file at /usr/portage/app-admin/syslog-ng/files/syslog-ng.logrotate, copy
>it to /etc/logrotate.d/syslog-ng.
>  
>
Yes, I have /etc/logrotate.d/syslog-ng.  This is what it says, but I
have no idea what it means (I'm not a programmer):

/var/log/messages {
sharedscripts
postrotate
/etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
endscript

Regards,

Colleen

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SIL0680 Rev E - Raid 1 - Problems

2005-09-18 Thread Mike Williams
On Sunday 18 September 2005 12:36, Oliver Friedrich wrote:
> It seems, that /dev/md0 is a Node for a Software Raid, but i didn't
> configure one. So why is ist created by udev, when no software-raid is
> defined?

/dev/mdX are software raid nodes.
udev probably creates md0 because mdadm needs the raid device node to exist in 
order to create it.

> If /dev/md0 is a node for the hardware-raid of the controller, then
> why can't I use it?
>
> Anyone got this controller to work properly?

I've never heard of the card, but the first google result for it contains:
"RAID (with Silicon Image's Medley™ ATA software RAID)"
Personally, I'd forget the crappy software/hardware RAID on the card, and just 
do it in software.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Managing FF/TB plugins in Gentoo

2005-09-18 Thread Walter Dnes
On Sat, Sep 17, 2005 at 10:16:11AM -0700, Kevin O'Gorman wrote

> There are two versions of the Java plugin listed, with the same
> libjavaplugin_oji.so filename. The latest is Java 1.5.0_04b05.
> 
> There are two versions of Flash listed, also with one and the same
> filename: libflashplayer.so.
> 
> The crux: are there really two versions installed? Should I clean
> this up?  If so, how? Is this a Gentoo portage artifact, or does
> this happen in other distros as well?

  I noticed recently that there are now two plugin directories, namely
/usr/lib/nsbrowser/plugins and /usr/lib/mozilla-firefox/plugins

  I assume that the "nsbrowser" directory is a holdover from the old
days of Netscape 4.x.  I would suggest...
  1) Close Firefox
  2) su - (or login as root on another tty)
  2) *MAKE SURE TO COPY OVER ANY PLUGINS FROM THE nsbrowser DIRECTORY
THAT AREN'T DUPLICATED IN THE mozilla-firefox DIRECTORY*
  3) Rename /usr/lib/nsbrowser/plugins to /usr/lib/nsbrowser/oldplugins
and log out of root
  4) Restart Firefox.  You should have one copy of each plugin.  If
things go OK, you can remove the "oldplugins" directory later.

> Also: I would like the Adobe Acrobat plugin, but
> 1) I don't see it in 'eix' or 'emerge -s'.
> 2) The instructions for installing from an existing Acrobat install
> are not effective with the portage-installed acrobat.

  According to http://plugindoc.mozdev.org/linux.html#Acrobat
   1. Install Adobe Reader.
   2. Create a symbolic link to nppdf.so to your Mozilla plugins directory.
   3. Ensure a copy of acroread is in your PATH.

  You've already done step 1.  Next...
  - close Firefox
  - su - or log in as root
  - execute "find / -name nppdf.so" (without the quotes)
  - ln -s full_path_to_nppdf.so /usr/lib/nsbrowser/oldplugins/
*NOTE* replace "full_path_to_nppdf.so" with the actual full path and
file name
  - log out of root and start Firefox

> Alternatively, Adobe Reader 7.0 includes a script for installing the
> browser plugin. This script is installed at the following location
> by default:
> 
> /usr/local/Adobe/Acrobat7.0/Browser/install_browser_plugin

  Of course, it'll likely be in a different location in Gentoo.  As root
execute the command...

find / -name install_browser_plugin

and that should tell you where it is.  I'm not giving you the location,
because I don't have Adobe installed, so I don't know where files are
kept.  Adobe's a bleeping pain in the rear with a significant chunk of
screen space taken up by useless toolbars and outright advertising.  I
use xpdf as a "helper-application".  I like its minimalist look.  It's a
pdf-viewer that concentrates on... *VIEWING A PDF*.  What a novel idea!

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gentoo 2005.1 and FTDI USB/serial adapter: device not created

2005-09-18 Thread michael

Hello,

Gentoo 2005.1, kernel 2.6.12 gentoo r10. I have a USB device that uses
the FTDI driver (in the kernel) to make the device appear as a serial
port.

When I plug in the device I get the following in my syslog:

Sep 18 03:31:23 (none) usb 2-1: new full speed USB device using uhci_hcd
and address 2
Sep 18 03:31:23 (none) ftdi_sio 2-1:1.0: FTDI FT232BM Compatible
converter detected
Sep 18 03:31:23 (none) usb 2-1: FTDI FT232BM Compatible converter now
attached to ttyUSB0

but alas, there is no /dev/ttyUSB0.

Any suggestions of where I might look for what went wrong?

Below are the config parameters that relate to USB.

Thanks in advance,
Michael




# grep -i usb .config
# USB devices
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# USB support
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be
# needed; see USB_STORAGE Help for more information
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# USB Input Devices
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
CONFIG_USB_EGALAX=m
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# Video4Linux support is needed for USB Multimedia device support
# USB Network Adapters
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_ZD1201 is not set
CONFIG_USB_MON=y
# USB port drivers
# CONFIG_USB_USS720 is not set
# USB Serial Converter support
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_CONSOLE is not set
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_AIRPRIME is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP2101 is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
CONFIG_USB_SERIAL_FTDI_SIO=y
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_HP4X is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
CONFIG_USB_CYTHERM=m
# CONFIG_USB_PHIDGETKIT is not set
CONFIG_USB_PHIDGETSERVO=m
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_TEST is not set
# USB ATM/DSL drivers
# USB Gadget Support
# CONFIG_USB_GADGET is not set
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: disappearing hdc

2005-09-18 Thread capsel
2005/9/18, Holly Bostick <[EMAIL PROTECTED]>:
> Well, that should work, but the 'better' way is simply to recompile the
> kernel so that ide-cd is statically compiled (* or Y, rather than M),
> and then it would be automatically loaded by the kernel when the device
> is discovered (which would also tell you if you have a hardware issue,
> because the device wasn't discovered during the normal hardware scan the
> kernel makes at boot).

Cd is always detected at boot - when scanning ide's - no matter if I
compile ide-cd as module or compile it in. It is not about hardware :)
> 
> What runlevel is hotplug set to run in (rc-update show)? If boot, then
> the problem with having the module in /etc/modules.autoload.d is that
> the service (hotplug) is running before the module load, whereas if
> hotplug is set to run at 'default', it runs *after* the modules in
> /etc/modules.autoload.d/kernel-2.6 are loaded, or at least that is my
> experience.
> 
coldplug is in boot runlevel but is started after loading modules and
hotplug "is dead and buried" and... does not do much.

> But since you aren't likely to be hotplugging your CD device anyway
> (unless this is a laptop with an external drive), it just makes more
> sense to compile the driver (Device Drivers=> ATA/ATAPI/MFM/RLL
> support=> Include IDE/ATAPI CDROM support) statically (which I thought
> was the default kernel config setting anyway) and just let coldplug
> handle it.
> 
> HTH,
> Holly

CD-rom is built into laptop...
I wanted to load my system faster than with everything compiled into core. :)
Loading files from hard disk after linux boot is faster than before (grub/lilo).
Is there a way to set this to load magicaly at system boot? I thought
that coldplug/holdplug should take care of this.

Thanks for help :D

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -u world fails -- broke compiler?

2005-09-18 Thread Robert Crawford
What is the output of:

gcc-config -l(-l  is a small L)

and the output of:
 emerge --info

Robert Crawford

On Sunday 18 September 2005 03:41 pm, [EMAIL PROTECTED] wrote:
> test
>
> On Sunday 14 August 2005 18:35, maxim wexler wrote:
> > Hello everybody,
> >
> > This is another "C compiler cannot create executables
> > error" :( There's a lot of stuff in the archive about
> > it but nothing I've seen so far seems to suit my case.
> >
> > I ran emerge --sync successfully and then tried -uv
> > world; it failed trying to compile sed-4.1.4
> >
> > Sure enough, compiling Hello_World.c, did not produce
> > the .o file
> >
> > Anyways, here's the /var/tmp/portage/../config.log:
> >
> > This file contains any messages produced by compilers
> > while
> > running configure, to aid debugging if configure makes
> > a mistake.
> >
> > It was created by sed configure 4.1.4, which was
> > generated by GNU Autoconf 2.59.  Invocation command
> > line was
> >
> >   $ ./configure --prefix=/usr --host=i686-pc-linux-gnu
> > --mandir=/usr/share/man --infodir=/usr/share/info
> > --datadir=/usr/share --sysconfdir=/etc
> > --localstatedir=/var/lib --enable-nls
> >
> > ## - ##
> > ## Platform. ##
> > ## - ##
> >
> > hostname = dayglo
> > uname -m = i686
> > uname -r = 2.6.11-gentoo-r3
> > uname -s = Linux
> > uname -v = #3 Wed Aug 3 11:42:53 Local time zone must
> > be set--see zic manua
> >
> > /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+
> > /bin/uname -X = unknown
> >
> > /bin/arch  = i686
> > /usr/bin/arch -k   = unknown
> > /usr/convex/getsysinfo = unknown
> > hostinfo   = unknown
> > /bin/machine   = unknown
> > /usr/bin/oslevel   = unknown
> > /bin/universe  = unknown
> >
> > PATH: /sbin
> > PATH: /usr/sbin
> > PATH: /usr/lib/portage/bin
> > PATH: /bin
> > PATH: /usr/bin
> > PATH: /usr/local/bin
> > PATH: /opt/bin
> > PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5
> > PATH: /opt/ati/bin
> > PATH: /usr/qt/3/bin
> > PATH: /usr/kde/3.4/sbin
> > PATH: /usr/kde/3.4/bin
> >
> >
> > ## --- ##
> > ## Core tests. ##
> > ## --- ##
> >
> > configure:1376: checking for a BSD-compatible install
> > configure:1431: result: /bin/install -c
> > configure:1442: checking whether build environment is
> > sane
> > configure:1485: result: yes
> > configure:1550: checking for gawk
> > configure:1566: found /bin/gawk
> > configure:1576: result: gawk
> > configure:1586: checking whether make sets $(MAKE)
> > configure:1606: result: yes
> > configure:1682: checking for i686-pc-linux-gnu-strip
> > configure:1711: result: no
> > configure:1720: checking for strip
> > configure:1736: found /usr/bin/strip
> > configure:1747: result: strip
> > configure:1791: checking for i686-pc-linux-gnu-gcc
> > configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc
> > configure:1817: result: i686-pc-linux-gnu-gcc
> > configure:2099: checking for C compiler version
> > configure:2102: i686-pc-linux-gnu-gcc --version
> > &5
> > i686-pc-linux-gnu-gcc (GCC) 3.3.5  (Gentoo Linux
> > 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
> > Copyright (C) 2003 Free Software Foundation, Inc.
> > This is free software; see the source for copying
> > conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR
> > A PARTICULAR PURPOSE.
> >
> > configure:2105: $? = 0
> > configure:2107: i686-pc-linux-gnu-gcc -v  >
> > >&5
> >
> > Reading specs from
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
> > Configured with:
> > /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure
> > --enable-version-specific-runtime-libs --prefix=/usr
> > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5
> > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include
> > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5
> > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man
> > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info
> > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g
> >++ -v3 --host=i686-pc-linux-gnu --disable-altivec
> > --enable-nls --without-included-gettext
> > --enable-__cxa_atexit --enable-clocale=gnu
> > --with-system-zlib --disable-checking --disable-werror
> > --disable-libunwind-exceptions --enable-shared
> > --enable-threads=posix --disable-multilib
> > --disable-libgcj --enable-languages=c,c++
> > Thread model: posix
> > gcc version 3.3.5  (Gentoo Linux 3.3.5-r1,
> > ssp-3.3.2-3, pie-8.7.7.1)
> > configure:2110: $? = 0
> > configure:2112: i686-pc-linux-gnu-gcc -V  >
> > >&5
> >
> > i686-pc-linux-gnu-gcc: `-V' option must have argument
> > configure:2115: $? = 1
> > configure:2138: checking for C compiler default output
> > file name
> > configure:2141: i686-pc-linux-gnu-gcc -O2 -march=i686
> > -fomit-frame-pointer   conftest.c  >&5
> > cc1: /usr/local/include: Not a directory
> > configure:2144: $? = 1
> >
> > configure: failed program was:
> > | /* confdefs.h.  */
> > |
> > | #define PACKAGE_NAME "sed"
> > | #define PACKAGE_TARNAME 

Re: [gentoo-user] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name

2005-09-18 Thread Joseph
On Sun, 2005-09-18 at 13:15 +0200, Christoph Gysin wrote:
> Joseph wrote:
> > How to get rid of this error:
> > [warn] RSA server certificate CommonName (CN) `localhost' does NOT match 
> > server name
> > 
> > Every time I start apache it generate this error in ssl_error_log
> > My certificate  is for my domain-name not my localhost, and I don't have
> > any vhost configured with localhost so why is it trying to match
> > `localhost' to certificate CommonName?
> 
> This is either a misconfigured apache or a wrong certificate.
> 
> Could you post the certificate?
> 
> $ openssl x509 -text -in 
> 

The (CN) of the certificate match out company name it doesn't match
localhost

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -pv mplayer questions

2005-09-18 Thread Mark Knecht
On 9/17/05, Walter Dnes <[EMAIL PROTECTED]> wrote:

> >
> > Assembling these flags has been hit or miss. Something I read in a
> > forum somewhere or just a guess. It certainly doesn't represent all
> > the software I've emerged since setting up this system about 4 months
> > ago. Is there some sort of tried and true method of determining what
> > USE flags to use.
> 
> cat /proc/cpuinfo

Since this followed my note I presume it was directed at me.

This is not the sort of problem I was intending to point out. I am, in
fact, not sure that this is enough to really get your machine to
implement correct sse/sse2/etc. operation as it seems that possibly
flags also need to be added to make.conf's compiler directives to tell
the compiler to actually do things. (I.e. - what good is turning on
sse2 in an emerge flag group if the compiler doesn't turn it on in the
commands to the compiler?)

I have yet to find a *good* Description of how to really handle this
stuff so I've added the flags my processor supports to my USE
description. I'm not a programmer so I am unable to understand the
info written for IT/CSE folks.

What I actually meant was adding a flag like 'mozilla' to
blackdown-jdk to ensure I could get java support when I run Firefox,
etc.

> 
> on your machine, and post the output on this list.  That'll let us know
> what CFLAGS and USE flags your cpu supports.  And of course, a lot
> depends on what programs you're running on your machine.
> 
Yep, very true.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Motherboard/CPU upgrade

2005-09-18 Thread Dan Johansson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, September 18, 2005 06:52, Walter Dnes wrote:
> On Sun, Sep 18, 2005 at 01:36:59AM +0900, Chris White wrote
>
>> New: CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
>>
>> is enough.
>
>   Don't forget "-mfpmath=sse"

Thanks for the input, i'll go for
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse

Regards,
- --Dan

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

iD4DBQFDLWwKF+s3Ki+4lK0RApP5AJjmt4d0piwDM6kWSyuwJclRP0T4AJ9aJUsr
ORhUhmQk3RKQbagPrfb1oA==
=yFhj
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: disappearing hdc

2005-09-18 Thread Holly Bostick
capsel schreef:
> I've found that I changed configuration of my kernel - cdrom driver 
> is loaded as module and must be loaded on boot (before 
> hotplug/coldplug ?) for hdc to be created. Somehow parport_pc is 
> loaded automaticly.
> 
> What can I do to force hotplug/coldplug to load ide-cd and so to 
> force udev to create hdc? I added ide-cd to 
> /etc/modules.autoload.d/kernel-2.6.
> 

Well, that should work, but the 'better' way is simply to recompile the
kernel so that ide-cd is statically compiled (* or Y, rather than M),
and then it would be automatically loaded by the kernel when the device
is discovered (which would also tell you if you have a hardware issue,
because the device wasn't discovered during the normal hardware scan the
kernel makes at boot).

What runlevel is hotplug set to run in (rc-update show)? If boot, then
the problem with having the module in /etc/modules.autoload.d is that
the service (hotplug) is running before the module load, whereas if
hotplug is set to run at 'default', it runs *after* the modules in
/etc/modules.autoload.d/kernel-2.6 are loaded, or at least that is my
experience.

But since you aren't likely to be hotplugging your CD device anyway
(unless this is a laptop with an external drive), it just makes more
sense to compile the driver (Device Drivers=> ATA/ATAPI/MFM/RLL
support=> Include IDE/ATAPI CDROM support) statically (which I thought
was the default kernel config setting anyway) and just let coldplug
handle it.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SIL0680 Rev E - Raid 1 - Problems

2005-09-18 Thread Oliver Friedrich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

in my Server is a "SIL0680 Rev E" Raid-Controller working with two
HDDs mounted.
My kernel needet
> <*> Silicon Image chipset support
to akzept this one and find the mounted HDDs properly.

The problem is the RAID-1 Mode, the controller gives back, that the
Raid ist working, but my gentoo finds the two HDDs, but not the device
for the Raid.

But if I activate the following in the Kernel:
> [*] Multiple devices driver support (RAID and LVM) <*> RAID support
> < > Linear (append) mode < > RAID-0 (striping) mode <*> RAID-1
> (mirroring) mode < > RAID-4/RAID-5 mode < > RAID-6 mode <*>
> Multipath I/O support < > Faulty test module for MD < > Device
> mapper support

ls /dev gives me an "/dev/md0" back.

With /dev/md0 however I can't do anything, e.g:

> svr linux # mkfs.xfs /dev/md0 Error getting MD array info from
> /dev/md0

It seems, that /dev/md0 is a Node for a Software Raid, but i didn't
configure one. So why is ist created by udev, when no software-raid is
defined?
If /dev/md0 is a node for the hardware-raid of the controller, then
why can't I use it?

Anyone got this controller to work properly?

thx ahead...

Oliver "Beowulf" Friedrich

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

iD8DBQFDLVE9cZpid1GuHxcRAj8yAJ9zFCLKM1GavZuxErb2XeoJ1jh4fwCguGX7
MLmy7QSXs6cQK6wRYKBNVHg=
=RntB
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software Suspend swsusp2 and genkernel initrd initramfs?

2005-09-18 Thread W.Kenworthy
I stand corrected on the LVM bit as I dont use it that way.

I gave up on genkernel long ago when it made me waste many hours
tracking down obscure networking faults.  Simpler is better in my book,
and that includes intrd's and other complicated magic!.

BillK


On Sun, 2005-09-18 at 11:54 +0200, Alexander Skwar wrote:
> William Kenworthy schrieb:
> > If you compile the neccessary modules into the kernel you do not have to
> > use an initrd (which is all the initrd is doing - making the modules
> > available at boot time).
> 
> That's not correct. The initrd is doing more. See below.
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -u world fails -- broke compiler?

2005-09-18 Thread Ben
test

On Sunday 14 August 2005 18:35, maxim wexler wrote:
> Hello everybody,
>
> This is another "C compiler cannot create executables
> error" :( There's a lot of stuff in the archive about
> it but nothing I've seen so far seems to suit my case.
>
> I ran emerge --sync successfully and then tried -uv
> world; it failed trying to compile sed-4.1.4
>
> Sure enough, compiling Hello_World.c, did not produce
> the .o file
>
> Anyways, here's the /var/tmp/portage/../config.log:
>
> This file contains any messages produced by compilers
> while
> running configure, to aid debugging if configure makes
> a mistake.
>
> It was created by sed configure 4.1.4, which was
> generated by GNU Autoconf 2.59.  Invocation command
> line was
>
>   $ ./configure --prefix=/usr --host=i686-pc-linux-gnu
> --mandir=/usr/share/man --infodir=/usr/share/info
> --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --enable-nls
>
> ## - ##
> ## Platform. ##
> ## - ##
>
> hostname = dayglo
> uname -m = i686
> uname -r = 2.6.11-gentoo-r3
> uname -s = Linux
> uname -v = #3 Wed Aug 3 11:42:53 Local time zone must
> be set--see zic manua
>
> /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+
> /bin/uname -X = unknown
>
> /bin/arch  = i686
> /usr/bin/arch -k   = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo   = unknown
> /bin/machine   = unknown
> /usr/bin/oslevel   = unknown
> /bin/universe  = unknown
>
> PATH: /sbin
> PATH: /usr/sbin
> PATH: /usr/lib/portage/bin
> PATH: /bin
> PATH: /usr/bin
> PATH: /usr/local/bin
> PATH: /opt/bin
> PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5
> PATH: /opt/ati/bin
> PATH: /usr/qt/3/bin
> PATH: /usr/kde/3.4/sbin
> PATH: /usr/kde/3.4/bin
>
>
> ## --- ##
> ## Core tests. ##
> ## --- ##
>
> configure:1376: checking for a BSD-compatible install
> configure:1431: result: /bin/install -c
> configure:1442: checking whether build environment is
> sane
> configure:1485: result: yes
> configure:1550: checking for gawk
> configure:1566: found /bin/gawk
> configure:1576: result: gawk
> configure:1586: checking whether make sets $(MAKE)
> configure:1606: result: yes
> configure:1682: checking for i686-pc-linux-gnu-strip
> configure:1711: result: no
> configure:1720: checking for strip
> configure:1736: found /usr/bin/strip
> configure:1747: result: strip
> configure:1791: checking for i686-pc-linux-gnu-gcc
> configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc
> configure:1817: result: i686-pc-linux-gnu-gcc
> configure:2099: checking for C compiler version
> configure:2102: i686-pc-linux-gnu-gcc --version
> &5
> i686-pc-linux-gnu-gcc (GCC) 3.3.5  (Gentoo Linux
> 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying
> conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR
> A PARTICULAR PURPOSE.
>
> configure:2105: $? = 0
> configure:2107: i686-pc-linux-gnu-gcc -v 
> >&5
>
> Reading specs from
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
> Configured with:
> /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure
> --enable-version-specific-runtime-libs --prefix=/usr
> --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5
> --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5
> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man
> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info
> --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++
>-v3 --host=i686-pc-linux-gnu --disable-altivec
> --enable-nls --without-included-gettext
> --enable-__cxa_atexit --enable-clocale=gnu
> --with-system-zlib --disable-checking --disable-werror
> --disable-libunwind-exceptions --enable-shared
> --enable-threads=posix --disable-multilib
> --disable-libgcj --enable-languages=c,c++
> Thread model: posix
> gcc version 3.3.5  (Gentoo Linux 3.3.5-r1,
> ssp-3.3.2-3, pie-8.7.7.1)
> configure:2110: $? = 0
> configure:2112: i686-pc-linux-gnu-gcc -V 
> >&5
>
> i686-pc-linux-gnu-gcc: `-V' option must have argument
> configure:2115: $? = 1
> configure:2138: checking for C compiler default output
> file name
> configure:2141: i686-pc-linux-gnu-gcc -O2 -march=i686
> -fomit-frame-pointer   conftest.c  >&5
> cc1: /usr/local/include: Not a directory
> configure:2144: $? = 1
>
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "sed"
> | #define PACKAGE_TARNAME "sed"
> | #define PACKAGE_VERSION "4.1.4"
> | #define PACKAGE_STRING "sed 4.1.4"
> | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
> | #define PACKAGE "sed"
> | #define VERSION "4.1.4"
> | #define SED_FEATURE_VERSION "4.1"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
>
> configure:2183: error: C compiler cannot create
> executables
> See `config.log' for more details.
>
> ##  ##
> ## Cache variables. ##
>

Re: [gentoo-user] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name

2005-09-18 Thread Christoph Gysin

Joseph wrote:

How to get rid of this error:
[warn] RSA server certificate CommonName (CN) `localhost' does NOT match server 
name

Every time I start apache it generate this error in ssl_error_log
My certificate  is for my domain-name not my localhost, and I don't have
any vhost configured with localhost so why is it trying to match
`localhost' to certificate CommonName?


This is either a misconfigured apache or a wrong certificate.

Could you post the certificate?

$ openssl x509 -text -in 

Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Managing FF/TB plugins in Gentoo

2005-09-18 Thread Christoph Gysin

Kevin O'Gorman wrote:
I've just had a look at FireFox about:plugins and I'm both worried and 
confused.

No surprise there; it happens a lot when I peek under the covers.  :o)

There are two versions of the Java plugin listed, with the same 
libjavaplugin_oji.so

filename.  The latest is Java 1.5.0_04b05.

There are two versions of Flash listed, also with one and the same filename:
libflashplayer.so.


Don't know how this happend. You can check where they come from with:

$ locate libflashplayer.so
 or without slocate installed
$ find / -name libflashplayer.so

Perhaps you loaded an old version from /home/user/.mozilla/plugins ?


Also: I would like the Adobe Acrobat plugin, but
1) I don't see it in 'eix' or 'emerge -s'.
2) The instructions for installing from an existing Acrobat install are 
not effective

 with the portage-installed acrobat.


I don't know what you're referring to here, but this should do the trick:

# mkdir -p /etc/portage/
# echo app-text/acroread nsplugin >> /etc/portage/package.use
# emerge -avt acroread

Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Setting up group for ppp and dial up

2005-09-18 Thread Mick
Chris White wrote:

> On Sunday 18 September 2005 09:38, Mick wrote:
>> Hi All,
>>
>> I eventually decided to set up my winmodem (hcfpci) to be able to
>> send/receive faxes and as a backup for when adsl goes down.  I noticed
>> that a group called dialout was created:
>> ===
>> dialout:x:20:root
>> ===
> 
> yah, this looks like it sets permissions for the actual dialup scripts. 
> That said you'll need to be a member of the dialout group.

Okey, dokey.  I deleted the ppp group and added myself to dialout:
===
dialout:x:20:root,michael
===
 
>> The Dial up Gentoo Wiki says that for security purposes one should create
>> a new ppp group and add those users who will be allowed to dial up.  It
>> also suggests to alter the original access rights of /usr/sbin/pppd:
>> ===
>> -r-s--x--x  1 root root 238244 Sep 17 08:29 /usr/sbin/pppd
>> ===
>>
>> to 4550:
>> ===
>> -r-sr-x---  1 root ppp 238244 Sep 17 08:29 /usr/sbin/pppd
>> ===
> 
> Yup, helps for security.

Unless one uses the dialout group for that purpose?

>> Any idea what the dialout group is there for?
> 
> See above.

OK, but I cannot find 'dialout' in the group access rights
of /usr/bin/pppd . . . or anywhere else for that matter.
 
>> Also, when I want to dial up which is the 'right' sequence to bring up:
>> 1) /etc/init.d/hcfpci start
>> 2) /etc/init.d/net.ppp0 start
> 
> If hcfpci needs net.ppp0, it will start it for you, visa-versa too.

Hmm, it doesn't seem to.  I have to start /etc/init.d/hcfpci manually from a
root terminal.  Thereafter kppp starts the pppd after the call is
connected.

Another problem I am running into is this:  I can only connect and
authenticate using one dialup account, all the other ISP modems do not
answer the call.  It just keeps ringing.  Even on the ISP that I can
authenticate on, I cannot connect to the internet through them.  I cannot
ping www.yahoo.com, I cannot connect to a website using a browser, etc. 
All I can do is ping the IP address of the ISP.

-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software Suspend swsusp2 and genkernel initrd initramfs?

2005-09-18 Thread Alexander Skwar
William Kenworthy schrieb:
> If you compile the neccessary modules into the kernel you do not have to
> use an initrd (which is all the initrd is doing - making the modules
> available at boot time).

That's not correct. The initrd is doing more. See below.

> With suspend2, make sure you also compile in
> the LZF option in the crypt section.  It defaults to not selected at
> all, often leading to resume failures.  I do not use LVM for root,

Ah. So you don't know.

> but
> other partitions to avoid such problems, but there is no reason why it
> shouldnt work.

Yes, there is. For LVM to work, it needs to be setup properly.
This involves calling dmsetup, pvscan, vgchange and others.

How, if not through a linuxrc, should this be done? Further,
the genkernel linuxrc only works with an initramfs, doesn't
it? If so, how can the linuxrc be used, if not with an initrd?

But you're right in so far, as that an *initrd* wouldn't
be necessary. A properly working linuxrc is reqd.

Alexander Skwar
Alexander Skwar
-- 
"If you can, help others.  If you can't, at least don't hurt others."
-- the Dalai Lama
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ntsysv equivalent

2005-09-18 Thread Neil Bothwick
On Sat, 17 Sep 2005 23:11:02 -0400, C. Beamer wrote:

> When I installed Gentoo, I chose syslog-ng as my system logger.  It was
> suggested that I install logrotate to prevent my logfiles from becoming
> unmanagageably large.  I did this.  However, my /var/log/messages file
> includes logging from the first day that Gentoo was running on my system
> and that's now about 2 weeks.
> 
> Is there a default length of time before logrotate will rotate the log
> files?

Do you have a config file for syslog-ng in /etc/logrotate.d? This should
have been installed when you merged syslog-ng. If not, you'll find the
file at /usr/portage/app-admin/syslog-ng/files/syslog-ng.logrotate, copy
it to /etc/logrotate.d/syslog-ng.


-- 
Neil Bothwick

"Fascinating," said Spock, watching Kirk's lousy acting.


pgptOg4f0cwJM.pgp
Description: PGP signature


Re: [gentoo-user] Software Suspend swsusp2 and genkernel initrd initramfs?

2005-09-18 Thread William Kenworthy
If you compile the neccessary modules into the kernel you do not have to
use an initrd (which is all the initrd is doing - making the modules
available at boot time).  With suspend2, make sure you also compile in
the LZF option in the crypt section.  It defaults to not selected at
all, often leading to resume failures.  I do not use LVM for root, but
other partitions to avoid such problems, but there is no reason why it
shouldnt work.

BillK

On Sun, 2005-09-18 at 10:49 +0200, Alexander Skwar wrote:
> Hi!
> 
> I'd like to get Suspend-To-Disk working on my notebook. For this,
...
> As my / is on a LVM, I must (must I?) use an initrd. For this,
> I use the genkernel initramfs and also linuxrc. Trying to
.
-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Dell 1850/Dell Partition

2005-09-18 Thread Michael Kintzios
> From:: "Walter Dnes" <[EMAIL PROTECTED]>
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Dell 1850/Dell Partition
> Date: Sat, 17 Sep 2005 23:41:30 -0400

> On Thu, Sep 15, 2005 at 12:07:43PM +0100, Michael Kintzios wrote
> 
> > Before I installed Gentoo on a Compaq machine I saved both the
> > as built image and the current OS onto a DVD using partimage from
> > Knoppix and then I royally wiped the lot off the drive.
> 
>   Can you do that?  Has Compaq stopped putting half their "BIOS" in a
> small hidden partition?  Some years ago at work, we got a Compaq server
> for use as a linux server.  It came with NT4.  So the CS guys blew away
> the partitions, and installed RedHat7.0.  The thing would not boot.

Compaq tend to 'compaqify' their boxes by plastering their company logo into 
every splash screen you can imagine, including these days their BIOS screen.  I 
am not sure how their boxen were configured a few years ago but these days 
everything can be 'disinfected' and returned to default component settings.  I 
am not what you mean by BIOS partition.  I don't know if they would save a BIOS 
image to reflash the BIOS with their corporate splash screen and preferred 
settings in case the CMOS battery ran out or was removed by the user.  On the 
other hand, they may just saved the splash screen on the hdd because back then 
there would be much less storage space for silly splash screens on the BIOS 
itself?

>   After several calls to Compaq, and much running around, the solution
> turned out to be...
>   - run the NT "emergency restore" CD.  It blew away the entire hard
> drive and installs the "BIOS" partition and NT.
>   - blow away the NT partition, but do *NOT* touch the "BIOS" partition.
>   - re-install linux on the rest of the hard drive

Hmm, did you then boot Linux using LiLo, or by chainloading LiLo via the 
M$Windoze bootloader?  Did you try to reset the BIOS settings to 'normal' 
non-Compaq defaults?  If there was a path in the BIOS pointing to the first 
partition for a particular file that may have needed clearing out for the 
machine to boot.  My experience with desktop Compaq machines is that you can 
remove everything from the drive and install gentoo without any problem.  The 
first partition is only used by Compaq for storing an image of the OS and 
probably a copy of the MBR and can be therefore transferred over to other 
media.  If anyone's interested I'll check their website which if I remember 
right gives instructions how to do just that.
-- 
Regards,
Mick

Lycos email has now 300 Megabytes of free storage... Get it now at 
mail.lycos.co.uk

[gentoo-user] Software Suspend swsusp2 and genkernel initrd initramfs?

2005-09-18 Thread Alexander Skwar
Hi!

I'd like to get Suspend-To-Disk working on my notebook. For this,
I'd like to use suspend2 http://suspend2.net/, using the
suspend2-sources-2.6.13-r4. I tried to follow the
 as closely
as possible.

On my system, I'm using LVM for everything, besides /boot and
swap. This means, that / is also on a LVM2 LV.

Suspending the system works somewhat fine when I'm in text
mode and call the hibernate script. What does not (satisfactory)
work, is resuming.

The suspend2 howto at 
says:

| in your linuxrc/init:
|   mount /proc
|   load modules as required
|   use dmsetup create dm-0  to set up access to the 
LVM partition
|   echo > /proc/software_suspend/do_resume
|   do any other actions required (mount rootfs if initramfs...)
[...]

As my / is on a LVM, I must (must I?) use an initrd. For this,
I use the genkernel initramfs and also linuxrc. Trying to
follow the advice from the suspend2.net HOWTO, I'm looking for
the correct spot to add "echo > /proc/software_suspend/do_resume".
Where would this be?

Reading /usr/share/genkernel/generic/linuxrc, I find in
line 25 "mount -o remount,rw /". But this should be AFTER
dmsetup has been invoked. But where is the call to dmsetup
in the linuxrc of genkernel?

Is anyone here using swsusp2 with LVM? What's the correct
and working configuration?

Thanks,

Alexander Skwar
-- 
When you go out to buy, don't show your silver.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] quickpkg gtk+

2005-09-18 Thread Neil Bothwick
On Fri, 16 Sep 2005 23:24:39 +, Rodrigo Lazo wrote:

> Well, thanks all of you for your replies. I did rebuild the package
> using quickpkg but it didn't fix the problem, the only way I found to
> do it was compiling it on the second computer. That fix it but it
> wouldn't be an alternative if somebody find this problem and have
> twenty machines to install. What else could be done?

Do you see the same problem if you install on the first machine with
--buildpkg instead of creating the package post-install with quickpkg.
There could be a bug in quickpkg.

In you situation, I would add buildpkg to FEATURES, to have packages
built automatically. This has the further advantage that emerge does this
by compiling the source, building the package and then installing from
the binary package, so any problems will show up at build time rather
than waiting to bite you later.


-- 
Neil Bothwick

Those are my principles. If you don't like them I have others.


pgpPqsXMfMCgJ.pgp
Description: PGP signature


Re: [gentoo-user] Re: disappearing hdc

2005-09-18 Thread capsel
I hope it is not hardware failure...
I'm checking dmesg on every reboot since failure of one of my server :)

I've found that I changed configuration of my kernel - cdrom driver is
loaded as module and must be loaded on boot (before hotplug/coldplug
?) for hdc to be created. Somehow parport_pc is loaded automaticly.

What can I do to force hotplug/coldplug to load ide-cd and so to force
udev to create hdc? I added ide-cd to
/etc/modules.autoload.d/kernel-2.6.

2005/9/18, Bob Sanders <[EMAIL PROTECTED]>:
> On Sat, 17 Sep 2005 20:01:41 +0200
> capsel <[EMAIL PROTECTED]> wrote:
> 
> 
> > So the problem is :
> >
> > When RC_DEVICE_TARBALL="no" there is no lp0 and sometimes hdc, it
> > doesn't depend on cd/dvd disc inside my dvd, or on if my printer is
> > set to "on"/"off"
> >
> 
> On a properly operating system, /dev/lp0 will be created if the printer is
> on at boot - parallel port or usb, or when the printer is turned on - usb.  
> Parallel
> port will not always create a printer if it's turned on after the system.
> 
> Not seeing the CDrom/DVD drive every boot indicates some faulty hardware - 
> bad cable,
> bad connector, dieing southbridge.  Given that the printer is also a 
> southbridge device,
> I'd suggest having recent backups of your hard drive and be prepared for 
> hardware
> replacement.
> 
> > I haven't ever touched any udev rules and my system (gentoo) worked
> > for more than year (till about two days ago). It is not new or exotic
> > hardware, and I think this is not fault of hardware at all.
> > So AFAIK the "error" does not depend on RC_DEVICE_TARBALL, hardware,
> > kernel (gentoo-sources, vanilla-sources)...
> >
> 
> It's sounding like hardware to me.  It would benefit you to check dmesg on 
> every
> boot to see what is discovered during boot up.  If the hardware isn't 
> discovered,
> then udev won't create a node for it.
> 
> Bob
> -
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list