Re: [gentoo-user] Network message encryption

2009-08-16 Thread Saphirus Sage
Xianwen Chen wrote:
 Hello all,

 I'm looking for a network message encryption method. Please kindly
 tell me if you know any Instant Messenger which supports encryption.
 Thank you very much!

 Best regards,

 Wen

   
Well, for instant messengers, most do support some form of encryption,
such that Empathy, Pidgin or any other client which can handle MSN must
use encryption, as everything is sent over SSL. But, in general, I would
suggest Pidgin, as via a plugin, it can be used in combination with OTR
(Off-The-Record) which uses public-key encryption between clients, and
ontop of that, there's even a plugin for pidgin which uses RSA instead,
which I've found to be buggy, but is certainly a bit stronger in the
cryptographic sense.



Re: [gentoo-user] How do I find new packages?

2009-08-04 Thread Saphirus Sage
fe...@crowfix.com wrote:
 There used to be a package which ran after a sync to report new and
 updated packages.  At some point a year ago or so, it disappeared.  I
 have long since forgotten its name.

 Is there some way to do this now?  I could probably write some script
 to simply search /usr/portage for ebuilds which were modified or
 created since the last time it ran, but I can see it having a few
 false positives from other changes.

   
If you're just looking for updated packages emerge -au world would
certainly do that.



Re: [gentoo-user] mp3/stream player?

2009-07-20 Thread Saphirus Sage
meino.cra...@gmx.de wrote:
 Hi,

 I am looking for a mp3 and stream player (playing mp3 streams and m3u
 directly) as a standalone player and for combination with streamtuner.

 Ideal would be a player which itsself can scan for internet radio
 stations, tune in, play and record in different files as streamripper
 so I can skip streamtuner.

 I tried audacious but I cannot convince it to play anything. 

 Is there anything aout there, which is still be developped,
 non-bloated and stable, which I could give a try?

 Thank you very much for you help in advance!

 Kind regards,
 Meino Cramer




   
You can't really go wrong with VLC, although finding a stream is usually
somewhat hard if you don't already have the URL. Other options are
Listen or Rhythmbox; try them out and see which you come to prefer.



Re: [gentoo-user] mp3/stream player?

2009-07-20 Thread Saphirus Sage
meino.cra...@gmx.de wrote:
 Saphirus Sage saphirus...@gmail.com [09-07-20 09:51]:
   
 meino.cra...@gmx.de wrote:
 
 Hi,

 I am looking for a mp3 and stream player (playing mp3 streams and m3u
 directly) as a standalone player and for combination with streamtuner.

 Ideal would be a player which itsself can scan for internet radio
 stations, tune in, play and record in different files as streamripper
 so I can skip streamtuner.

 I tried audacious but I cannot convince it to play anything. 

 Is there anything aout there, which is still be developped,
 non-bloated and stable, which I could give a try?

 Thank you very much for you help in advance!

 Kind regards,
 Meino Cramer




   
   
 You can't really go wrong with VLC, although finding a stream is usually
 somewhat hard if you don't already have the URL. Other options are
 Listen or Rhythmbox; try them out and see which you come to prefer.
 

 solfire:/home/mccramersudo emerge -pv Rhythmbox

 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 emerge: there are no ebuilds to satisfy Rhythmbox.


 ???
 Is it part of another package or is it non-Gentoo or is it a typo ???
 ;)




   
Portage acts funny with capitalization, sorry.
The package is at media-sound/rhythmbox




Re: [gentoo-user] Latest X on G3 PPC?

2009-05-27 Thread Saphirus Sage
Ajai Khattri wrote:

 Anyone have a working xorg config file for an Apple G3 machine? I
 upgraded to the latest X and the desktop no longer works...


 (Yes, Ive already asked on the PPC list too).




I've attached my xorg from my G4 eMac, hopefully it will be of some help.
# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the Software),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
Section Module

# This loads the DBE extension module.

Loaddbe   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection

# This loads the font modules
#Loadtype1
Loadfreetype
#Loadxtt

# This loads the GLX module
#Load   glx
# This loads the DRI module
#Load   dri

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section Files

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like .txt or .db).  There is normally
# no need to change the default.


# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

FontPath   /usr/share/fonts/misc/
#FontPath   /usr/share/fonts/TTF/
#FontPath   /usr/share/fonts/OTF
FontPath   /usr/share/fonts/Type1/
FontPath   /usr/share/fonts/100dpi/
FontPath   /usr/share/fonts/75dpi/
#FontPath   /usr/lib/X11/fonts/local/
#FontPath   /usr/lib/X11/fonts/misc/
#FontPath   /usr/lib/X11/fonts/75dpi/:unscaled
#FontPath   /usr/lib/X11/fonts/100dpi/:unscaled
#FontPath   /usr/lib/X11/fonts/Speedo/
#FontPath   /usr/lib/X11/fonts/Type1/
#FontPath   /usr/lib/X11/fonts/TrueType/
#FontPath   /usr/lib/X11/fonts/freefont/
#FontPath   /usr/lib/X11/fonts/75dpi/
#FontPath   /usr/lib/X11/fonts/100dpi/

# The module search path.  The default path is shown here.


EndSection

# **
# Server flags section.
# **

Section ServerFlags

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#Option NoTrapSignals

# Uncomment this to disable the CtrlAltFn VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#Option DontVTSwitch

# Uncomment this to disable the CtrlAltBS server abort sequence
# This allows clients to receive this key event.

#Option DontZap

# Uncomment this to disable the CtrlAltKP_+/KP_- mode switching
# sequences.  This allows clients to receive these key events.

#Option Dont Zoom

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can 

Re: [gentoo-user] Re: Excessive digest failures in portage

2009-05-25 Thread Saphirus Sage
Nikos Chantziaras wrote:
 Saphirus Sage wrote:
 This has been a consistent problem on one of my computers, to no avail
 thusfar, even after changing sync server settings or redigesting
 individual failed ebuilds. In running emerge -uavDN world, it will take
 at least an hour to generate a list of packages to be merged, but not
 before ouputting a TON of failed digests. Example below.

 gentoog4 proc # emerge -uavDN world

 These are the packages that would be merged, in order:

 [...]

 So, is this just the crying screams of a failing drive, or is there some
 other problem at hand here?

 Does dmesg say anything about disk I/O errors?  Also, try something
 like this:

   cp -a /usr/portage /tmp/
   diff -r /usr/portage /tmp/portage

 If the diff claims something differs, then it's pretty certain your
 disk or RAM might be failing.  For RAM, try memtest86+.


Followed the instructions and checked with diff, absolutely no
difference, which leads me to believe it's failing memory; but there's a
problem. This is a PowerPC machine (eMac G4), and memtest86+ seems to be
dependent upon an x86 architecture. So, is there any good way to test
this, or do I just pull out one of the 512 DIMMS and hope for the best?



Re: [gentoo-user] security

2009-05-23 Thread Saphirus Sage
Daniel Iliev wrote:
   Hi,
  
   Since I'm not familiar with Gentoo's practice in dealing with
   security problems I got curious about the following case.
   Yesterday a Secunia advisory [1] about pidgin was brought to my
   attention. The solution offered by the up-streams is upgrading to
   version 2.5.6, while the latest version in portage is ~2.5.5-r1.

   As I see it, there are three possibilities:
   1) even older, the version in Gentoo is not affected, because the
   maintainers had taken care of it (too optimistic?)
   2) Gentoo installations are still vulnerable to the bugs described in
   the advisory and nobody knows about it (quite disturbing)
   3) Gentoo maintainers are working on it, but still not ready

   Which one is it?


   [1] [SA35194] http://secunia.com/advisories/35194/


   
It's in portage, sync your tree and check again. I just installed Pidgin
2.5.6 last night.



Re: [gentoo-user] disable syanptics pad

2009-05-21 Thread Saphirus Sage
James wrote:
 Hello,

 One of my gentoo users only uses and external mouse
 and hates the synaptics pad.

 I cannot get rid of the input being active from the
 synaptics pad.


 make.conf has this entry:
 INPUT_DEVICES=keyboard mouse evdev
 VIDEO_CARDS=fbdev fglrx  vesa


 In xorg.conf I have it explicitly disabled:

 #   InputDevice Synaptics AlwaysCore


 Here is what is installed:
 ati-drivers 8.32.5 
 kde-3.5.9
 xorg-x11-7.4


 It has this video chip:
 Radeon XPRESS 200M 5955 (PCIE)



 Any ideas how to disable the synaptics pad?

 James




   
I'm not entirely sure that's a proper way to disable the synaptics pad,
as you don't seem to have removed xorg's ability to load the driver. I'd
suggest just #'ing out the whole InputDevice section relating to the
synaptics pad, and running emerge -C synaptics or emerge -C
xf86-input-synaptics, depending on which driver you're using. That
should completely remove your ability to use the synaptic touch pad.




Re: [gentoo-user] Applying patches without needing overlays and modifying ebuilds

2009-05-17 Thread Saphirus Sage
Nikos Chantziaras wrote:
 Does anyone think that a mechanism of applying patches to a package
 without the need to modify the ebuild of that package would be a
 useful feature?  There are cases of useful patches that are not
 accepted by the maintainers of the ebuild (because they have not been
 accepted upstream or other reasons), forcing users to copy ebuilds in
 their overlay and modifying the ebuild there.  This turns out to be a
 hassle every time the package receives an update.

 What if we could just specify patches to be applied in, say,
 /etc/portage/packages.patch with something like:

   media-video/smplayer j-random-hack.patch

 and portage would apply that patch automatically?  That way, the
 hassle of updating the ebuild of a package in which I use custom
 patches would go away.  The patches could be searched for in a
 designated directory, in this example maybe
 /var/portage/patches/media-video/smplayer (or something else entirely.)

 Can someone think of a way to set up something like this?


Patches are already stored in a files directory. For instance, it would
be /var/portage/media-video/smplayer/files in your example. Maybe I'm
missing some point you were trying to make.



Re: [gentoo-user] Kino Crashes Opening Files

2009-05-15 Thread Saphirus Sage
dhk wrote:
 I originally posted this question to the kino group.  The chain of
 emails is below.

 The problem is that kino crashes when opening a file, clicking on a
 folder that has a video file in it, or when passing it in on the
 command line.  I removed and reinstalled kino, but the same thing
 happens.  I compiled the source manually and the problem wasn't
 there.  Now I think it has something to do with the Gentoo environment
 or the ebuild.

 One thing I noticed on my system is that in
 /usr/portage/media-video/kino there are two ebuilds a 1.3.1 and a
 1.3.3 I have 1.3.1 installed. The diffs to these files are as follows.

 $ diff kino-1.3.1.ebuild kino-1.3.3.ebuild
 1c1
  # Copyright 1999-2008 Gentoo Foundation
 ---
  # Copyright 1999-2009 Gentoo Foundation
 3c3
  # $Header:
 /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.1.ebuild,v 1.7
 2008/12/21 14:44:31 nixnut Exp $
 ---
  # $Header:
 /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.3.ebuild,v 1.1
 2009/03/29 13:39:42 patrick Exp $
 11c11
  KEYWORDS=amd64 ppc ppc64 sparc x86
 ---
  KEYWORDS=~amd64 ~ppc ~ppc64 ~sparc ~x86
 29a30
  dev-util/intltool

 I'm not sure if the 1.3.3 file is causing a problem somehow.

 Any ideas?

 Thanks,
 dhk

 Dan Dennedy wrote:
 On Wed, May 13, 2009 at 4:54 AM, dhk dhk...@optonline.net wrote:
 Dan Dennedy wrote:
 On Tue, May 12, 2009 at 3:08 AM, dhk dhk...@optonline.net wrote:
 dhk wrote:
 Carl Karsten wrote:
 On Sat, May 9, 2009 at 5:27 AM, dhk dhk...@optonline.net wrote:
 I don't edit video very often so I don't know exactly when this
 problem
 started.

 Whenever I try to open a file kino crashes.  It starts fine,
 but as
 soon
 as I try to open a .kino, .dv and other type files it crashes. 
 When
 I'm
 in the kino gui the crash occurs when I click on the folder
 that has
 the
 .kino file.  On the command line it crashes when I pass the
 file in as
 a
 parameter.
 More than likely the libdv or libavcodec libraries changed somehow and
 Kino needs to be rebuilt. If you are going to rebuild it, see if there
 is a v1.3.3, the latest release, available - it will clear up many of
 those GTK+ warnings.

 post the command line and resulting output.

 [...]
 /Video/Capture/MomAndDad50thAnniversary $ kino take1.kino
 [...]
 Kino experienced a segmentation fault.
 $ gdb kino
 (gdb) run take1.kino
 ...segfault
 (gdb) where

 send the output.

 I think the problem is in the environment or setup somewhere.  I
 don't have
 the answer, but I think I'm getting closer.  So please bear with me
 as I
 explain.

 First)  This is kino version 1.3.1 I'm working with.  There isn't any
 libavcodec package in the portage tree as far as I've seen, but
 there is a
 libavc1394 version 0.5.3. The highest version of lbdv is 1.0.0-r2.

 I do not know the gentoo package names; libavcodec is a part of FFmeg.

 $ ldd $(which kino)
 and see if it is linked to a libavcodec

 Second)  I tried compiling the source so I could run the program
 through the
 gdb debugger.  When I ran the program without gdb it runs fine, but
 the same
 problem exists with the crashing.  However, when running the program
 through
 gdb it SIGSEGV because it can't find the magick.glade and kino.glade
 file.
  The program was looking for them in /usr/local/share/kino/ and that
 path
 and the file don't exist.

 You have to install it to put resources in the expected location.

 Third) Then I did a make clean and ran configure with my own
 --prefix and
 copied the two .glade file to that location.  I redid the steps above
 running kino with and without gdb and to my surprise everything worked.
  Except for some missing icons , which is understandable since I
 change the
 --prefix, everything I tested was functional.  I could open files
 and play
 them.

 Like I said, Kino needed to be rebuilt for some reason or another. Or,
 something special about the gentoo build is triggering a bug.

 So now is the problem with the way kino is getting installed on
 Gentoo amd64
 or am I picking up older files from previous versions that don't
 work?  Any
 ideas?  I think we're getting closer?

 Remove it entirely, re-emerge it. If the problem remains, file a bug
 with gentoo. If there is a patch that belongs upstream, someone should
 attach it to the Kino SourceForge tracker. Kino is no longer actively
 maintained, so someone needs to step up if they need it to work for
 them because no one else is going out of there way to resolve issues
 for various environments.



I've only been using Kino for a short time, but 1.3.3 has been perfectly
find on my amd64 system. Consider unmasking it and installing that
version, see if that gets around whatever the problem is.



Re: [gentoo-user] can't stop the panic on eeepc

2009-05-07 Thread Saphirus Sage

I've never managed to successfully boot a gentoo laptop without initrd.

On May 7, 2009, at 12:37 PM, Dirk Heinrichs dirk.heinri...@online.de  
wrote:



Am Mittwoch, 6. Mai 2009 22:41:54 schrieb Masood Ahmed:

maxim wexler bliss...@yahoo.com writes:

Are you
using an initrd?


No, never used one on a gentoo box before. That's a fedora thing,  
isn't

it?


Nope! Its not distribution specific. It's a kernel feature.


But it's up to the distribution to use it.

Bye...

   Dirk




Re: [gentoo-user] Gpodder doesn't start

2009-05-04 Thread Saphirus Sage
Jake Todd wrote:
 I'm having a problem getting gpodder to start, whenever I try to start it from
 a terminal (yes, I'm in X) I get this error:

 [~]% gpodder
 Traceback (most recent call last):
   File /usr/bin/gpodder, line 185, in module
 sys.exit( main())
   File /usr/bin/gpodder, line 140, in main
 from gpodder import console
   File /usr/lib/python2.6/site-packages/gpodder/console.py, line 20, in
 module from gpodder import util
   File /usr/lib/python2.6/site-packages/gpodder/util.py, line 35, in 
 module
 import gtk
 ImportError: No module named gtk

 I have pygtk installed, along with the other dependencies that gpodder needs
 (afaik).

 Anyone else have this problem, or know what's wrong?

   
I had a similar problem when I upgraded to python2.6. Consider running
python-updater as root, as this will go through which python packages
need updating. At least, that's what it looks like to me.



Re: [gentoo-user] OpenOffice 3.0.0 with dead keys

2009-05-04 Thread Saphirus Sage
Jim Cunning wrote:
 I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented 
 characters (e.g., ´   + e or ^ + a , etc.) I´ve set up KDE keyboard layouts 
 and can get the proper characters displayed on console, xterm, kmail and 
 other windows, but the dead key combinations in OpenOffice are simply 
 dead--no characters produced at all.  When switching back to the US layout 
 without dead keys, the same key presses to OpenOffice produce two characters, 
 as one would expect.

 I do this all the time with OpenOffice on my laptop with openSUSE 10.3.  Is 
 there something I´ve not setup correctly on my gentoo system?
   
Did you remember to compile OpenOffice with LINGUAS=fr? May be
something to consider adding to your make.conf to get around
language/localization issues.



Re: [gentoo-user] OpenOffice 3.0.0 with dead keys

2009-05-04 Thread Saphirus Sage
Jim Cunning wrote:
 I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented 
 characters (e.g., ´   + e or ^ + a , etc.) I´ve set up KDE keyboard layouts 
 and can get the proper characters displayed on console, xterm, kmail and 
 other windows, but the dead key combinations in OpenOffice are simply 
 dead--no characters produced at all.  When switching back to the US layout 
 without dead keys, the same key presses to OpenOffice produce two characters, 
 as one would expect.

 I do this all the time with OpenOffice on my laptop with openSUSE 10.3.  Is 
 there something I´ve not setup correctly on my gentoo system?
   
(Resending, due to SMTP failure notice)

Did you remember to compile OpenOffice with LINGUAS=fr? May be
something to consider adding to your make.conf to get around
language/localization issues.





Re: [gentoo-user] autorespond

2009-04-28 Thread Saphirus Sage
Toppost due to iPhone. I just made a measure through gmail to block  
the source of the epic-spammed autoreplies.


On Apr 28, 2009, at 11:29 AM, Volker Armin Hemmann volkerar...@googlemail.com 
 wrote:



On Dienstag 28 April 2009, Jarry wrote:

Daniel de Oliveira wrote:

Yes, moderating him.


He deserves much more than that.
Life-time ban for that stupidity would be adequate...

Jarry


you are a flawless person. you never made a little mistake in your  
life time.

Did you?







Re: [gentoo-user] AUTO: Martin Schrodi ist außer Haus.

2009-04-28 Thread Saphirus Sage
Top posting is sometimes a necessary evil, for instance, when replying  
on mobiles. However, I tend to hypocritically agree that top-posting  
is bad.


On Apr 28, 2009, at 12:08 PM, Volker Armin Hemmann volkerar...@googlemail.com 
 wrote:



On Dienstag 28 April 2009, AllenJB wrote:

The problem is that there's no consensus. I top post because I think
it's much more sensible. Others think otherwise. I live with it.

It's the people who refuse to live with differences of opinion that  
are

the real problem.


no, there is a consensus: top posting is bad. It is stupid for  
technical and

semantic reasons.

The bad things are people like you 'invading' a mailing list and  
refuse to

adhere to the common standards there.





Re: [gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread Saphirus Sage
Daniel Pielmeier wrote:
 maxim wexler schrieb am 27.04.2009 00:09:
   
 Hi group,

 For a #make menuconfig on the 2.6.28-gentoo-r4 sources trying to uncover the 
 ralink driver.

 When I type /rt2x00 I'm told it's defined in 
 drivers/net/wireless/rt2x00/Kconfig:1 and can be found by following the path:

 device drivers - net device support - wireless lan

 I didn't see it there. Anybody else have this problem? Is it named something 
 else?

 According to serialmonkey the add-on driver is no longer maintained. And the 
 one that comes with portage never worked for me.

 Maxim
 

 Take a look in the Depends on line of the item you have identified as
 the driver in the /rt2x00 search output. Maybe something is not enabled
 that is needed for the driver to show up.

   
I just checked on my 2.6.29-r1, and that path is accurate, and it's at
the bottom of the list under Wireless LAN. I recall I set this when I
was on the 2.6.26 kernel, so I can say almost without a doubt that it
should be on the 2.6.28-r4. Yes, all these are from gentoo-sources.



Re: [gentoo-user] capslock reversal

2009-04-25 Thread Saphirus Sage
Dale wrote:
 Michael P. Soulier wrote:
   
 I've had this happen a few times now in the new Xorg.

 All of a sudden I'm typing in all caps, but my caps lock is off. I put it on
 and I'm not in all caps anymore in a particular app (xterm or vim), but now
 I'm in caps in another window...

 If I go to a virtual terminal and back it seems to fix it.

 Anyone else see this?

 Thanks,
 Mike
   
 

 Did you switch to a console and then it changes?  I have ran into this
 for a looong time now.  If I switch from KDE to a console, ctrl alt F1,
 then switch back to KDE, the caps lock is sort of doing funny things, 
 It varies but usually I have to hit the caps lock key twice for it to
 get sorted out.  Then my keyboard led and what it is actually doing
 matches. 

 Also, I'm still on the old xorg and it does what I described.  I have
 KDE 3.5.10 set to leave caps lock alone but to enable numlock.  I have
 not tried to change any other settings.

 Hope this info will at least let you know that your system is not the
 only one being weird.

 Dale

 :-)  :-)

   
I ran into the same issue a few weeks ago, just wrote on my keyboard to
make it Caps UnLock and called that solved.



[gentoo-user] CUPS setup with Lexmark e322

2009-04-18 Thread Saphirus Sage
The printer is old and seemingly unsupported in most areas as I could
not find a Windows or Mac OSX driver, and none of the linux drivers have
worked. I've tried ghostscript's ljet4, the various Postscript PCLs;
actually, I've tried every one of them. I've established a proper
connection, and that it is indeed using ipp. It's connected to the
router, so the URI is just ipp://10.0.1.1:9100, it's very straight
forward. However, it's just been spitting out printed information with
each connection, so I've had to stop CUPS after a couple minutes, just
to make it stop printing random garbage.

Now, the printer is unusable from the Mac and Linux machines in the
house, where it was at one time working from the Mac. Suggestions for a
proper setup and driver?



Re: [gentoo-user] /etc/portage/package.keywords syntax

2009-04-14 Thread Saphirus Sage
Justin wrote:
 Thanasis schrieb:
   
 Suppose I want to set the series of  kernel sources:
 gentoo-sources-2.6.28*
 with the ~x86 keyword.
 What should I write in /etc/portage/package.keywords ?


 

 =sys-kernel/gentoo-sources-2.6.28* ~x86

   
I am certain that is thoroughly covered in the documentation, or most
any google search, so I pray thee, RTFM.



[gentoo-user] Python module problems

2009-04-10 Thread Saphirus Sage
I upgraded to Python 2.6 recently, and discovered that all my installed
modules (pygtk, pycairo, feedparser, etc) were gone. So, I've had to
launch all my programs relating to python (rhythmbox, gpodder, wicd) and
manually see how to solve each by reinstalling the missing module. Now,
with that said, has this just been an ebuild issue to not pull in the
dependencies or what?



Re: [gentoo-user] Python module problems

2009-04-10 Thread Saphirus Sage
Mike Kazantsev wrote:
 On Fri, 10 Apr 2009 12:01:14 -0400
 Saphirus Sage saphirus...@gmail.com wrote:

   
 I upgraded to Python 2.6 recently, and discovered that all my installed
 modules (pygtk, pycairo, feedparser, etc) were gone. So, I've had to
 launch all my programs relating to python (rhythmbox, gpodder, wicd) and
 manually see how to solve each by reinstalling the missing module. Now,
 with that said, has this just been an ebuild issue to not pull in the
 dependencies or what?
 

 python-updater as root. It's useful to read emerge messages.

   
I had no idea there was such an application; an hour of googling didn't
even give the slightest indication of it. Thanks, really saved me the
headache of continuing one-by-one installs as each little problem came up.



Re: [gentoo-user] kernel upgrade error. help me

2009-04-08 Thread Saphirus Sage
±è¹«¼º wrote:

 Hello list.

  

 For installing vmware

  

 My kernel version is 2.6.24-gentoo-r5. But I have no source files.

 So I downloaded source files. But that¡¯s version 2.6.27-gentoo-r8.

 When I installed vmware, it told me kernel version and kernel source
 files¡¯ version no match.

  

 I have to kernel upgrade.

 I entered ¡°genkernel all¡±

 And vi /boot/grub/grub.conf

  

 -

 default 0

 timeout 30

 splashimage=(hd0,0)/grub/splash.xpm.gz

 title=Gentoo Linux

 root (hd0,0)

 kernel /kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0
 init=/linuxrc ramdisk=8192 real_root=/dev/sda3

 initrd /initramfs-genkernel-x86-2.6.27-gentoo-r8

 -

  

  

 And reboot.

  

 But can¡¯t boot.

 There is an error.

  

 -

  

  Determining root device...

 !! Could not find the root block device in .

 Please specify another value or: press Enter for the same,

 type shell for a shell, or q to skip...

 root block device() ::

  

 -

  

  

  

 T_T help me.

  

 KIM

  

You keep your kernel and initrd on the root partition; not even in /boot
or a separate partition?



Re: [gentoo-user] kernel upgrade error. help me

2009-04-08 Thread Saphirus Sage


On Apr 9, 2009, at 12:13 AM, 김무성 ki...@infosec.co.kr wrote:


Root is /dev/sda3
Grub set real_root=/dev/sda3

So when I changed grub options to old kernel, system booted.
But new kernel is not booted.
New kernel Could not find the root block device in.



-Original Message-
From: Saphirus Sage [mailto:saphirus...@gmail.com]
Sent: Thursday, April 09, 2009 11:58 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kernel upgrade error. help me

±è¹«¼º wrote:


Hello list.



For installing vmware



My kernel version is 2.6.24-gentoo-r5. But I have no source files.

So I downloaded source files. But that¡¯s version 2.6.27-gentoo-r8.

When I installed vmware, it told me kernel version and kernel source
files¡¯ version no match.



I have to kernel upgrade.

I entered ¡°genkernel all¡±

And vi /boot/grub/grub.conf



---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
-

default 0

timeout 30

splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux

root (hd0,0)

kernel /kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/sda3

initrd /initramfs-genkernel-x86-2.6.27-gentoo-r8

---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
-





And reboot.



But can¡¯t boot.

There is an error.



---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
-




Determining root device...


!! Could not find the root block device in .

   Please specify another value or: press Enter for the same,

   type shell for a shell, or q to skip...

root block device() ::



---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
-







T_T help me.



KIM



You keep your kernel and initrd on the root partition; not even in / 
boot

or a separate partition?

I saw that, I just found it very odd that you don't keep the initramrd  
and kernel image in /boot. Therefore, I was wondering if your issue  
was having not properly configured genkernel. I've never seen anyone  
run a system without /boot, so, is there a chance that's where the  
missing kernel image and initrd are?


Re: [gentoo-user] What annoys you?

2009-04-05 Thread Saphirus Sage



On Apr 5, 2009, at 6:06 AM, Stroller strol...@stellar.eclipse.co.uk  
wrote:




On 5 Apr 2009, at 10:35, Peter Humphrey wrote:


On Sunday 05 April 2009 10:22:26 Peter Humphrey wrote:


I raised a bug complaining of this not long ago, which received one
reply. Then silence. It's too hard a job, requiring understanding,
imagination and a flair with words.


Actually, I've just checked, and some of the specific entries I  
complained
about have been fixed, but with no follow-up to the bug report so I  
assumed

nothing was happening. Maybe things are improving.


I doubt it. I complained about this on the -dev list YEARS ago. An  
then complained again 6 months later. Made no difference.


I guess if you filed bugs against each poor description individually  
then you'd see results for them, but it seems that asking developers  
to keep in mind that use descriptions should be _useful_ is an  
unreasonable expectation.


Stroller.
I would usually consider it unwise to attempt a Gentoo installation  
without access to the handbook and any other online resource (Google).  
If a user is actually wondering what flags they need to enable, simply  
checking wikipedia would suffice in most cases. Gentoo, as someone  
pointed out earlier, seems to opperate in a manner that requires  
individuals to have certain pre-requisites in their competence with  
computers, if they wanted it simple and to just work without any  
real modifications to conf filed, they would go with a *buntu. 



Re: [gentoo-user] Re: What annoys you?

2009-04-03 Thread Saphirus Sage
Nikos Chantziaras wrote:
 Volker Armin Hemmann wrote:
 On Friday 03 April 2009, Nikos Chantziaras wrote:
 Volker Armin Hemmann wrote:
 On Friday 03 April 2009, Nikos Chantziaras wrote:
 Its installer.  I would prefer something like Sabayon's installer
 (which
 is a Gentoo-based distro.)
 there is no installer anymore. And that is a good thing.
 He asked what annoys me, and I answered truthfully :P

 yeah, but if you think about it for a moment you will see that an
 installer is the WRONG THING and then you won't be annoyed anymore
 but glad.

 I thought about it and I would still like an installer.  People asked
 me I want that too after they see what Gentoo can do and is about. 
 I could help them learn to keep their Gentoo healthy and running, but
 I am not willing to install it for them or teach them how to install
 it themselves.  Too much work.  So from my observational point, the
 lack of an installer just means that people who would like to try
 Gentoo just don't, because the learning curve is too steep, beginning
 right at the installation.  To learn, you need a system that already
 runs so you can learn that system.  Gentoo needs to be installed by
 someone who already knows.  Chicken and egg.

 If it wasn't for the GUI installer of the 2007 live DVD (it's what I
 used to install it), I wouldn't ever have installed Gentoo.  I have a
 life.  And so does the majority of other people.  I learned Gentoo
 (and I think I learned it quite well) even while I used the GUI
 installer. And I believe even that I learned Gentoo the right way.  I
 am proof that an installer doesn't only produce clueless Gentoo users.


I made my first install from the 2008.0 Minimal CD, which was all fun
and good, but later on a laptop when I was completely unaware of
initramfs, a LiveCD was my only way to actually manage to install
Gentoo. I can see how a completely Wizard-like installer would go
against a lot of what this distro seems to have centered as a primary
focus, but it certainly could act as a way to influence more to use it.
Then again, being something of a developer' distro, where one will
usually compile every package they install, it may have by that single
mechanism lost a lot of those who would otherwise use it. Granted, it's
a feature of Gentoo I rather like.



Re: [gentoo-user] Re: full shutdown

2009-03-28 Thread Saphirus Sage



On Mar 28, 2009, at 9:42 PM, ABCD en.a...@gmail.com wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Simon wrote:

Hi there,
 this must be simple (it always is) but I can't figure out by myself.
I have one of the first eeepc (4gb) and when issuing `shutdown -h
now` the computer shutdown perfectly but forgets to cut the current.
I have to press the power button 4 sec to cut it manually.

 I'm recompiling the kernel almost as often as I breathe and i wonder
if I'm not missing some steps (during or after)...  I have acpi
installed and init.d/acpi is started.  acpi support was compiled in
kernel and i tried with and without the CONFIG_ACPI_ASUS with no
difference.  I'm using kernel 2.6.24 (for several drivers that are
most compatible with this one).  I have almost the same install on 2
different PCs (with obvious tweakings in kernel options and /etc) and
the most recent one shuts down correctly, the older one does the same
thing as my eeepc...

 When recompiling the kernel, I do: make  make modules_install;
then I recompile the drivers i have and install them, is there
anything else i should recompile, like should i re-emerge acpi?

 Also, I dont think it's related but, when doing 'startx', after,
when shutting down, the console screen doesnt update and is stuck on
the x11 and fvwm2 messages... it doesnt show the progress, any ideas?
(this is secondary though)

Thanks in advance guys!
 Simon



This probably isn't the problem, but try doing `shutdown -hP now`, and
see if that works - if it does, then there probably is a configuration
issue somewhere (but I'm not sure where that would be...).

- --
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknO0iEACgkQOypDUo0oQOpgtwCgsSQMLhxzqtJ3fc7Ot5fUznja
CLgAn2y0fPM8YvSzcPSq4+kxdGUXfdJM
=c5U0
-END PGP SIGNATURE-


I always use shutdown now -hP or it won't power down. I just figured  
that was standard. 



Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Saphirus Sage

On Mar 14, 2009, at 4:15 PM, Damian damian.o...@gmail.com wrote:


Hello,

When I try to play an ogg file, mpd says it is playing it, but there
is no sound.

Mps has been built with the following use flags:
Use flags:   (aac) (alsa) (-ao) (-audiofile) (-avahi)
(flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
(mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)

So ogg is enabled. This is quite frustrating :(

Any ideas?
Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked  
that you have gst-plugins-ogg emerged?




Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Saphirus Sage
Damian wrote:
 Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that
 you have gst-plugins-ogg emerged?
 
 So, this would imply a buggy ebuild?

   
Maybe, I had a similar issue getting rhythmbox to play ogg files,
despite the ogg use flag in my make.conf. Looking through the ebuild now
though, it looks like I'm probably wrong about it being a gstreamer issue.



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-12 Thread Saphirus Sage
Grant wrote:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant

   
Netbooks are designed to be underpowered, and as such, compiling on them
is  bit nuts. However, you could compile on a faster machine and export
this binary to the netbook, I've done something similar when updating an
old first generation iMac.



[gentoo-user] Bash and ACPI issue - laptop lid

2009-03-11 Thread Saphirus Sage
I've been trying to setup my laptop to enter ACPI S3 (suspend to ram)
when I close the lid. I currently have the scripts setup as such:
/etc/acpi/events/lid
event=button[ /]lid.*
action=/etc/acpi/actions/lid.sh
/etc/acpi/actions/lid.sh
#!/bin/bash
for i in $(cat /proc/acpi/button/lid/LID/state | grep -o closed); do
if [ $i = closed ]; then
/usr/sbin/pm-suspend
fi
if [ $i != closed ]; then
sleep 5
fi
done
The issue I've run into is that this will cause my laptop to suspend to
the RAM upon any change in the lid state, irregardless of if it is open
or closed. I tried to be more specific by utilizing the suffix of the
event, but it's incremental, which is a bit beyond my abilities. Any
suggestions to make this suspend only when the lid is closed?



Re: [gentoo-user] Bash and ACPI issue - laptop lid

2009-03-11 Thread Saphirus Sage
Mike Kazantsev wrote:
 On Wed, 11 Mar 2009 18:41:56 -0400
 Saphirus Sage saphirus...@gmail.com wrote:

   
 The issue I've run into is that this will cause my laptop to suspend to
 the RAM upon any change in the lid state, irregardless of if it is open
 or closed. I tried to be more specific by utilizing the suffix of the
 event, but it's incremental, which is a bit beyond my abilities. Any
 suggestions to make this suspend only when the lid is closed?
 

 This one seem to be working for me:

   #!/bin/sh
   if grep closed /proc/acpi/button/lid/LID0/state /dev/null
   then echo Lid closed, suspending...
   else echo Lid is open, doing nothing
   fi


 Then, you can just put it to, say, crontab, with a line like this:

   */5 * * * * /path/to/script.sh

 ...which'll make it run every five minutes, so the laptop will be
 suspended within five mins of closing the lid, which should also
 prevent accidental closing events.


 Of course, you should put your actions to the aforementioned script, if
 you want it to do something useful, instead of just experimental echo
I'd considered using a crontab entry, it just seemed so inefficient in
comparison. However, I used the little chunk you provided as you've
suggested and it works well enough now, thanks. Apparently, after
researching it a bit, there are numerous bugs with acpi, which may
explain why the state in /proc/acpi/buttons/lid/LID/state would seem to
hang for a couple minutes, or until a restart. Still, thanks again.



Re: [gentoo-user] rsync + tar + bz2 ?

2009-03-09 Thread Saphirus Sage
Hung Dang wrote:
 Dirk Heinrichs wrote:
 Am Samstag, 7. März 2009 17:04:17 schrieb Grant:
  
 I'm backing up numerous large files on another machine on my local
 network.  I've only been using rsync, but it occured to me that I
 might be able to save some time and space if I incorporate tar and
 bzip2.  How will rsync interact with those?  If I turn the whole
 backup into a big tar.bz2, would rsync need to redownload the whole
 thing if I change one file?  If so, maybe I should turn different
 groups of files into tar.bz2 archives so rsync only needs to
 redownload an archive if one of its files has changed?
 

 Another way, although a bit more work to setup, whould be to use a
 Network block device. Unlike NFS, the server just exports the block
 device, everything else (mkfs, encryption) can be done on the client.

 Bye...

 Dirk
   
 rsync will download only if source and destination files are different.
 From my experiences using rar is faster and save more space  than bz2.

 Hung

But rar is a proprietary archival format, I'd much sooner go with a tar,
compressed with bzip2 or lzma. If the biggest concern is just getting it
done quickly, gzip it, but for the love of all things free, not rar, I say!



Re: [gentoo-user] wicd and ath5k drivers

2009-02-25 Thread Saphirus Sage
Robin Atwood wrote:
 I have just upgraded my laptop to kernel 2.2.28-r2 and have enabled the ath5k 
 drivers for its Aetheros PC wireless card. Using the scripts to activate 
 net.wlan0 works fine and the wicd client can see the interface correctly. But 
 when I try to activate wlan0 with wicd it repeatedly fails. I still have 
 madwifi selected as the wpa-supplicant driver. Are there any hints on tuning 
 this, I can't find any by searching?

 TIA
 -Robin
   
I've actually always had trouble with the ath5k driver, but it seems to
come in spells where several restarts will get around the problem. Check
what dmesg has to say.



Re: [gentoo-user] wicd and ath5k drivers

2009-02-25 Thread Saphirus Sage



On Feb 25, 2009, at 10:01 AM, Robin Atwood  
robin.atw...@attglobal.net wrote:



On Wednesday 25 Feb 2009, Saphirus Sage wrote:

Robin Atwood wrote:
I have just upgraded my laptop to kernel 2.2.28-r2 and have  
enabled the
ath5k drivers for its Aetheros PC wireless card. Using the scripts  
to
activate net.wlan0 works fine and the wicd client can see the  
interface

correctly. But when I try to activate wlan0 with wicd it repeatedly
fails. I still have madwifi selected as the wpa-supplicant driver.  
Are

there any hints on tuning this, I can't find any by searching?

TIA
-Robin


I've actually always had trouble with the ath5k driver, but it  
seems to
come in spells where several restarts will get around the problem.  
Check

what dmesg has to say.


Feb 25 21:51:02 agate wlan0: authenticate with AP xxx
Feb 25 21:51:02 agate wlan0: privacy configuration mismatch and  
mixed-cell

disabled$
Feb 25 21:51:02 agate wlan0: authenticated
Feb 25 21:51:02 agate wlan0: associate with AP x
Feb 25 21:51:02 agate wlan0: mismatch in privacy configuration and  
mixed-cell

disab$
Feb 25 21:51:02 agate wlan0: privacy configuration mismatch and  
mixed-cell

disabled$

You get quite a few hits on this but no explanations. It's not the WEP
password, that is correct.

HTH
-Robin
--
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst
from Mandalay by Rudyard Kipling
--









WEP password or WEP key? I seem to recall wicd being kinda weird about  
ascii. 



Re: [gentoo-user] Command for sync history

2009-02-23 Thread Saphirus Sage
Dale wrote:
 Hi,

 I read and even used this command several times but I can't remember
 what it is now.  I searched the forums and even searched through the
 30,000 emails from this list and can't find it.  I did search through
 the emails, not read them all.  I even did a equery files gentoolkit and
 portage, no bells went off there either.  Anyway, there is a command
 that you put -s after and it lists the sync date and times.  I just
 can't recall what it is.

 Any clues?  I'm loosing my little mind over here.   :/

 Thanks

 Dale

 :-)  :-) 

   
If you have gentoolkit emerged, the command is genlop -r package
name. Seriously, it was in the man for genlop, but it's cool, I like
being helpful, or at least thinking I am.



Re: [gentoo-user] How to turn off the screen permanently

2009-02-19 Thread Saphirus Sage
On Feb 19, 2009, at 4:49 AM, Vladimir Rusinov  
vladi...@greenmice.info wrote:







On Sun, Feb 15, 2009 at 2:22 PM, Marcin Zwd marcin...@gmail.com  
wrote:

Well, I've just upgraded my laptop. The old one has ati
radeon r250 graphics card.  On this card I can easily turn
off the screen using nice program radeantool of course
xset dpms force off worked as well. And turn off was
permanent.  It is worth to mention that I was using
x11-drivers/xf86-video-ati opensource drivers...  On the
other hand, the new laptop has nvidia (quadro 135) aboard
and now I'm using x11-drivers/nvidia-drivers-177.82.
Everything works fine except one tiny problem now if I turn
off the screen and backlight after a few seconds the
backlight is back on!

Try following:
sleep 1  xset dpms force off


--
Vladimir Rusinov
http://greenmice.info/


Given you're using nvidia, if you just use the nvidia settings app,  
the graphical one, you can just disable the screen. But, that one's  
actually perminant, as in removing that screen from xorg.conf 

Re: [gentoo-user] spontaneous reboots.. what to look for

2009-02-15 Thread Saphirus Sage
On Feb 15, 2009, at 7:16 PM, Volker Armin Hemmann volkerar...@googlemail.com 
 wrote:



So the problem started recently.

That means it is either:
a cap going bad.
oxidized contacts.
dust clogging the fans.
PSU is going bad.
something obscure.

Do the easy thing first. Clean your case, reseat all cards and  
memory modules
and check all caps while doing so. Any of them deformed? The 'head'  
going up?

Strange stuff around its feet? Congratulation, you need new hardware.

If you don't find a bad cap and the problem persists, get a new PSU.  
A good
one. Not big - most PSUs are oversized, but good quality. Anandtech  
has
something about psu's, so does tomshardware (most of their tests are  
rubbish,

but their psu tests are ok). If the problem goes away, congratulation!
If not, well, then report back ;)

I had a similar issue even when not running X. To be honest, I can't  
say I have a concrete idea of exactly what caused it. I simply became  
security-nuts and began wondering if it wasn't someone just toying  
with me; hardened my sshd config and installed denyhosts to monitor  
failed loggins. This was a month ago and my uptime has been perfect,  
with no restarts. 



Re: [gentoo-user] ibiblio dumps Gentoo distfiles to save space

2009-02-12 Thread Saphirus Sage



On Feb 12, 2009, at 5:23 PM, Jerry McBride mcbrid...@comcast.net  
wrote:




Imagine my surprise when the nightly rsync of Gentoo distfiles with  
ibibilo
resulted in my distfile repository getting totally deleted.  After a  
few
emails wit the admins at ibibilo I finally got the answer that I was  
looking

for... the truth...


Jerry,

We are no longer rsyncing the distfiles due to space constraints  
on our
distributions volume. Gentoo's own instructions for setting up a  
mirror

recommend excluding the distfiles directory:

http://www.gentoo.org/doc/en/rsync.xml

If you need these files, you could try the other mirrors listed on  
this

page:

http://www.gentoo.org/main/en/mirrors2.xml

Best,

Matt



I promptly emailed back an offer of two new 1,000 gig drives if they  
would put

the gentoo distfiles back up and... no answer

Guess they really don't care.

--

*** 
*** 
*** 



From the desk of:
Jerome D. McBride

  17:17:08 up 57 days, 23:24,  5 users,  load average: 0.14, 0.09,  
0.02


*** 
*** 
*** 



There are quite a few mirrors available to sync from; so one's dropped  
support, it's a drop in the bucket. I'll admit, space concerns seem  
to be a bit odd of a complaint, maybe it was more along the lines of  
hosting fees? After all, a distribution server isn't exactly a low- 
bandwidth operation. 



Re: [gentoo-user] Re: Permissions of /etc/sudoers

2009-02-09 Thread Saphirus Sage



On Feb 9, 2009, at 8:15 AM, Nikos Chantziaras rea...@arcor.de wrote:


Heiko Wundram wrote:

Am Montag 09 Februar 2009 13:37:31 schrieb Nikos Chantziaras:

Stroller wrote:

I install sudo, give my user wide sudo rights and then set
PermitRootLogin no in /etc/ssh/sshd_config.
(Critique of this measure welcomed).
Since Hung already answered about the other problem, I'll just  
comment

on this.

It's a bad idea if the machine is open to the Internet, especially  
since

it's easy to simply su - or sudo as a normal user.
Sorry, but I consider that to be BS advice (at least concerning  
that you want to leave password-authentication open).
I'd always recommend disabling root login for ssh (as soon as that  
is possible, i.e. you have an unpriviledged account who is in group  
wheel who you can use to access the machine in question), because  
root is a well-known user (and thus lends itself well to a  
[possibly distributed] ssh brute force).


Er, didn't I actually say the same?  If other people have network  
access to the machine, disable root.  You misunderstood something.


I'd just as soon leave the root account able to be logged in over SSH  
and remove password authentication in preference of a 2048-bit RSA  
key. Just use a script to add failed logins to a deny list. 



Re: [gentoo-user] The Linux Ecosystem (with funny references to Gentoo vs Canonical)

2009-02-09 Thread Saphirus Sage
Nikos Chantziaras wrote:
 http://video.linuxfoundation.org/video/1069

 I found it quite interesting that even Gentoo beat Canonical in the
 amount of patches contributed upstream...


Good find, I actually didn't know about E-Trade using Gentoo servers. I
don't think it should be too surprising that Gentoo would contribute
more patches than Conical, as until today, I'd only actually heard of
one of them.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-07 Thread Saphirus Sage



On Feb 7, 2009, at 4:52 AM, Neil Bothwick n...@digimed.co.uk wrote:


On Fri, 6 Feb 2009 14:25:07 + (UTC), Grant Edwards wrote:


You'd expect to find a list of contents, chapters and an index
in a printed reference book, electronic documentation should
be no different.


Perhaps, but I think info is an awful implementation.  A single
large man page is much better, and a single large html page
with links in it is far, far, better.


Info is far from a perfect solution (very far)and I generally use it  
in
Konqueror anyway, but the idea that any product, no matter how  
complex,

should be documented in a single, unindexed page is ridiculous.

Searching in a single page is fine, as long as the term you are  
looking
for is fairly unique, try searching for something like avi in the  
mplayer
man page and see how many times you need to press n before you find  
what

you want.

The Gentoo handbook is an excellent example of how documentation  
should

be arranged.


--
Neil Bothwick

Of all the people I've met you're certainly one of them


While I do like how the handbook is aranged, I'd much rather go  
through condensed manpages if I were looking for how to do something.  
The handbook is easy to read and all, and tends to provide decent  
reasoning for each step it suggests, but it's far too bulky for my  
taste. 



Re: [gentoo-user] {OT} xfce4 network management?

2009-02-07 Thread Saphirus Sage



On Feb 7, 2009, at 2:01 PM, Grant emailgr...@gmail.com wrote:


I have to admit I'm a little sick of constant /etc/conf.d/net and
/etc/wpa_supplicant/wpa_supplicant.conf editing while traveling.  Does
anyone use a network management app they're happy with?  Especially
one that works well with xfce4?

- Grant


Have you tried wicd?



Re: [gentoo-user] {OT} xfce4 network management?

2009-02-07 Thread Saphirus Sage



On Feb 7, 2009, at 4:47 PM, Liviu Andronic landronim...@gmail.com  
wrote:



On Sat, Feb 7, 2009 at 8:01 PM, Grant emailgr...@gmail.com wrote:
/etc/wpa_supplicant/wpa_supplicant.conf editing while traveling.   
Does



There's also wpa_gui.
Liviu



--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



But you can use wicd for most anything from unencryped, to WEP, to WPA  
and WPA2. Wicd is just plain easy. 



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Saphirus Sage



On Feb 6, 2009, at 9:27 AM, Grant Edwards gra...@visi.com wrote:


On 2009-02-06, Alan McKinnon alan.mckin...@gmail.com wrote:

On Friday 06 February 2009 15:29:21 Neil Bothwick wrote:

On Fri, 6 Feb 2009 14:58:56 +0200, Alan McKinnon wrote:
I prefer man. Even huge manpages. You can easily search them and  
if

you don't know what you are looking for you can glanze them over
quickly.


The kde ioslave for info makes this somewhat tolerable. At least  
you

move around in a webpage-like environment that feels familiar.


Which begs the question, why not use HTML? It can be read on just  
about
anything, searched and either split into chapters or presented as  
a single

page.


The cynic in me says that it's because Tim Berners-Lee
invented HTML, not Richard M Stallman.


Info has been around a lot longer than HTML, but I think you're
largely correct.

--
Grant Edwards   grante Yow! LBJ, LBJ,  
how many
 at   JOKES did you tell  
today??!

  visi.com



I'd wager to think that if we did use HTML, we'd simply argue about  
the order of it's presentation or use of bold and underlines. 



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Saphirus Sage
Grant Edwards wrote:
 On 2009-02-06, Saphirus Sage saphirus...@gmail.com wrote:

   
 Which begs the question, why not use HTML? It can be read on
 just about anything, searched and either split into chapters
 or presented as a single page.
   
 The cynic in me says that it's because Tim Berners-Lee
 invented HTML, not Richard M Stallman.
 
 Info has been around a lot longer than HTML, but I think you're
 largely correct.
   
 I'd wager to think that if we did use HTML, we'd simply argue
 about the order of it's presentation or use of bold and
 underlines. 
 

 And let's not forget blinkFlashing Text!/blink (shudder).

   
Oh no, it's 1999's geocities all over again! Yeah, I'd rather not see
man or info come to that...well, at least man.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-05 Thread Saphirus Sage
Volker Armin Hemmann wrote:
 On Donnerstag 05 Februar 2009, Nikos Chantziaras wrote:
   
 Volker Armin Hemmann wrote:
 
 On Donnerstag 05 Februar 2009, Nikos Chantziaras wrote:.

   
 I can't think of a single reason why the installer should operate in a
 different manner to the way the thing will be used.
   
 Because installation is boring.  The easier it is, the better.
 
 wrong. The installation needs a certain difficulty to keep idiots away.
 Nobody needs idiots (except maybe ubuntu).
   
 That is insulting.  My mother uses Ubuntu.  Thanks for calling her an
 idiot.
 

 no, I didn't call her 'idiot'. I am just stating that ubuntu tries to cater 
 for idiots.

   
 Obviously if someone wants to use his computer in order to get
 something done without doing a Ph.D on Portage and /etc first, then that
 person is an idiot.
 

 no. He is an idiot if he does not read the docs. Simple. Like people who 
 don't 
 read the manual to their car or vcr and then complaining if something does 
 not 
 work. Idiots.




   
And this is why RTFM is a good and common acronym.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-05 Thread Saphirus Sage
Cocoy Dayao wrote:
 my style has always been to get the minimal installer. chroot, install
 kernel to my specs then boot to hard drive, then start building it to
 how i want it built.

 the handbook is pretty specific and straight-forward. one just has to
 follow it. i've done N installs over the years and i still turn to the
 handbook, just to keep track.

 anyway. if people find the installer difficult maybe gentoo isn't
 for them.

 On 02 5, 09, at 7:01 PM, Volker Armin Hemmann wrote:

 On Donnerstag 05 Februar 2009, Nikos Chantziaras wrote:.

 I can't think of a single reason why the installer should operate in a
 different manner to the way the thing will be used.

 Because installation is boring.  The easier it is, the better.

 wrong. The installation needs a certain difficulty to keep idiots
 away. Nobody
 needs idiots (except maybe ubuntu).


 yes, installation is VERY boring. that's part of the compromise, i guess.


 Cocoy
 www.twitter.com/cocoy
 People who are really serious about software should make their own
 hardware -- Alan Kay


There are certain situations where the step-by-step installer isn't
adequate. For instance, when I was installing gentoo on my G4, it was
straight forward and easy, but when I decided to do a minimal install on
my Everex laptop, I needed to use initrd, which I previoiusly had no
experience with and the Gentoo handbook didn't mention. Granted, it
eventually worked, but I would be hesitent to say that there was
adequate documentation on it.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-05 Thread Saphirus Sage
Nikos Chantziaras wrote:
 Volker Armin Hemmann wrote:
 On Donnerstag 05 Februar 2009, Nikos Chantziaras wrote:
 Volker Armin Hemmann wrote:
 gentoo's installer is EASY if you just read the docs.
 I'd rather be installing and waiting for the installer to tell me what
 to do rather than go read docs somewhere else :P

 and when the nice installer fucks up, you are screwed.

 You're screwed anyway if you can't use the CLI installer correctly.
 Reading the docs is fine, but they're written for geeks, not normal
 people.  Normal people don't have a clue what the docs are talking
 about :)


It seems to me that not to many normal people would use Gentoo anyway.
By and large, we're probably geeks...I mean, c'mon, this is a mailing
list for users of a distro of linux. Your normal My computer gets
myspace group isn't exactly our audience.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-05 Thread Saphirus Sage
Joshua D Doll wrote:
 Dale wrote:
 Joshua D Doll wrote:
  
 Mark Knecht wrote:

 On Thu, Feb 5, 2009 at 12:32 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote: I completely agree. I
 like the control also.

 I only took a *very* small exception to Joshua's statement that a 'new
 user' could read, follow it and understand what it's telling him/her
 to do and then do it and come out with a working machine. I think it's
 true if the new user builds exactly the 3 partition example shown in
 the docs and does *only* the very basic install on a machine that
 doesn't have Windows, etc. However I think that the docs (not the
 software!) could be improved to handle things like dual-boot, either
 another distro or windows, etc. which personally I think 'new users'
 come up against. Issues about stuff like where to put the MBR, why and
 why not to do that sort of thing, requires (or is vastly enhanced) if
 that new user has some knowledge about hard drives, booting, etc.

 - Mark


 
 I 100% agree that the docs can and should cover more. Maybe a
 flowchart would be useful?

 --Joshua Doll


 

 I wish the man pages had more examples.  Give me a real world example
 and I can wrap my poor brain around what it should look like when I do
 something.

 Dale

 :-)  :-)


   
 Man pages are notoriously bad. The gentoo handbook and other official
 docs are great OTOH.

 --Joshua Doll

Man pages notoriously bad?! Now that's a stance I can hardly understand,
they've always been a godsend in my experience! Just practice using a
command a few times, look through the options and learn it in the period
of ten minutes, and a man page has done its purpose. If this stance is
due to your own inadequate ability to read technical documents, then do
not apply the lacking to anything but your own capacity for comprehension.



Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-05 Thread Saphirus Sage
Dale wrote:
 Joshua D Doll wrote:
   
 Saphirus Sage wrote:
 
 Joshua D Doll wrote:
  
   
 Dale wrote:

 
 Joshua D Doll wrote:
  
  
   
 Mark Knecht wrote:
   
 
 On Thu, Feb 5, 2009 at 12:32 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote: I completely agree. I
 like the control also.

 I only took a *very* small exception to Joshua's statement that a
 'new
 user' could read, follow it and understand what it's telling him/her
 to do and then do it and come out with a working machine. I think
 it's
 true if the new user builds exactly the 3 partition example shown in
 the docs and does *only* the very basic install on a machine that
 doesn't have Windows, etc. However I think that the docs (not the
 software!) could be improved to handle things like dual-boot, either
 another distro or windows, etc. which personally I think 'new users'
 come up against. Issues about stuff like where to put the MBR,
 why and
 why not to do that sort of thing, requires (or is vastly
 enhanced) if
 that new user has some knowledge about hard drives, booting, etc.

 - Mark


   
   
 I 100% agree that the docs can and should cover more. Maybe a
 flowchart would be useful?

 --Joshua Doll


 
 
 I wish the man pages had more examples.  Give me a real world example
 and I can wrap my poor brain around what it should look like when I do
 something.

 Dale

 :-)  :-)


 
   
 Man pages are notoriously bad. The gentoo handbook and other official
 docs are great OTOH.

 --Joshua Doll

 
 
 Man pages notoriously bad?! Now that's a stance I can hardly understand,
 they've always been a godsend in my experience! Just practice using a
 command a few times, look through the options and learn it in the period
 of ten minutes, and a man page has done its purpose. If this stance is
 due to your own inadequate ability to read technical documents, then do
 not apply the lacking to anything but your own capacity for
 comprehension.


   
   
 Just cause you haven't run across an uninformative/incomplete man page
 doesn't mean others haven't. Also man pages lacking valuable
 information is the reason why GNU has switched to the majority of
 their packages to using info! You shouldn't flame someone because your
 experiences are different from their's.

 --Joshua Doll



 

 I have to say that I have had times that even after someone showed me
 how to use a command, the man page made no sense still.  If it doesn't
 make sense when you know a little about using it, how can it make sense
 when you don't?

 I think examples is a good way to do that and the more the better.

 Dale

 :-)  :-) 

   
I'd wager that examples are the responsibility of third parties.
Frankly, if I've read a man page and found it inadequate, a quick google
search usually will come back with enough examples to resolve any
problem. I'm not saying a manpage should be without any examples at all,
but if the provided documentation isn't thorough enough, that's what
these mailing lists and forums are for.



Re: [gentoo-user] Different servers behind the same router

2009-02-03 Thread Saphirus Sage



On Feb 3, 2009, at 12:43 PM, Momesso Andrea momesso.and...@gmail.com  
wrote:



I have a home server running gentoo for personal use (irc, home
entertainment, file server etc.).

It is reachable from the internet using a dyamic dns service
(dyndns.org).

I also have another machine (running gentoo too) that I use as a web
server. This machine uses dyndns.org, with a different name.

Both machines connect to my modem/router via pppoe so they get 2
different IPs.

This modem can also be configured to be used as a router so it  
connects

directly to the internet and shares the same IP between the clients.

What happens if I decide to switch to the router configuration? If I
have a single IP for all the machines in the LAN, when someone from  
the
outside will try to connect to homeserver.foo or to webserver.bar,  
will

they be routed to the correct machine?

Are there other setups I should look into?

===
TopperH
===
Configure your router for static IP assignment on the LAN and look at  
your router's manual for information about port forwarding. Simply  
forward the required port from the WAN to the associated LAN IP and  
port number. 



Re: [gentoo-user] Gentoo's advantage: optimized for your system -- huh?

2009-02-03 Thread Saphirus Sage
Grant Edwards wrote:
 Whenever I see a write-up of Gentoo, it's describe as a system
 similar to BSD ports where you build packages from source.
 The main benefit claimed for this approach is that you get
 better performance because all executables are optimized for
 exactly the right instruction set.

 Where did that bit of apocrypha come from, and why is it
 parroted by so many people?

 AFAICT, the performance benefit due to compiler optimization
 is practically nil in real-world usage.

 In my experience the huge benefit of source-based distros such
 as Gentoo is elimination of the library dependency-hell that
 mires other binary-based distros.

 For many years I ran RedHat and then Mandrake.  After a year or
 so, they became impossible to maintain because of library
 version conflicts.  Every time I tried up upgrade an RPM package
 to fix a bug or security hole, it required a handful of
 libraries to be upgraded, but doing that would break a bunch of
 other RPMs for which upgrades weren't available. The solution
 was always to start building stuff from sources.  Once you
 started doing that, the package manager would get upset because
 it doesn't know about some stuff that's installed (unless you
 built from source RPMs, which had another set of problems).

 The second benefit is that with Gentoo, upgrading a system
 actually works over the long-run.  With RedHat/Mandrake, things
 would gradually deteriorate to the point where the system was
 unmaintainable, but attempting to upgrade between major
 releases was always futile.  I've had Gentoo machines that have
 been upgraded for 4-5 years without any significant problems
 (failed hard-drives don't count).

 The third main benefit I've seen is that there are vastly more
 packages available for Gentoo.  Putting together and
 maintaining an ebuild appears to take a lot less work than
 putting together and maintaining a binary RPM package.  I've
 had far fewer problems with third party ebuilds than I did with
 third-party RPMs (on the rare occasions when I found one for
 some obscure application I wanted to run).  Again, the solution
 was always build from sources.

 Are the real benefits of Gentoo too hard to explain to the
 unwashed masses, so instead they're told the fairy tale about
 imporoved performance?

   

Being a metadistribution, the concept of higher performance isn't quite
that much of a fairy tale. If you can easily configure your system to a
specific purpose, that would ideally lead to better performance, whether
it be due to the specialization of the system or at least a placebo
effect on the user. Gentoo is honestly my first linux system, so I don't
really have the experience of library conflicts of binary distros.
People in general will usually just want confirmation that something has
benefits over what they currently have, irregardless of evidence of
exactly why it is better, so that may be part of why so many supporters
parrot the same view regarding Gentoo.  On the other hand, I just take
a lot of it as peace of mind in that all the responsibility for how my
system is running is directly mine, as opposed to being able to blame
someone who made a bad RPM. I like knowing any little factor of my
system and what it's doing.



Re: [gentoo-user] Re: When did bzImage move?

2009-02-01 Thread Saphirus Sage



On Feb 1, 2009, at 11:26 AM, Volker Armin Hemmann volkerar...@googlemail.com 
 wrote:



On Sonntag 01 Februar 2009, Geralt wrote:
Nobody here using the genkernel package to build his kernel? I'm  
using

it all the time, makes initramfs creation so much easier :-)


who needs an initramfs?


My laptop won't boot without initramfs. Took me a weekend installing  
gentoo to figure that one out. And yeah, I actually to use genkernel.  
It allows me to configure how I want it, and just stop worrying from  
that point forward. 



Re: [gentoo-user] wicd manager on xfce4 not detecting wireless interfaces

2009-01-31 Thread Saphirus Sage



On Jan 31, 2009, at 7:41 PM, Arnau Bria ar...@emergetux.net wrote:


Hi,

I've installed wicd and configured as
http://wicd.sourceforge.net/moinmoin/Wicd on Fedora says.

*Just starting its daemon

But when I open it I only see my wired conection.
My wireless interface is avaliable via ifconfig:
# iwconfig
lono wireless extensions.

eth0  no wireless extensions.

wmaster0  no wireless extensions.

wlan1 IEEE 802.11abgn  ESSID:
 Mode:Managed  Frequency:2.412 GHz  Access Point: Not- 
Associated

 Tx-Power=0 dBm
 Retry min limit:7   RTS thr:off   Fragment thr=2352 B
 Encryption key:off
 Power Management:off
 Link Quality:0  Signal level:0  Noise level:0
 Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
 Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# ifconfig wlan1
wlan1 Link encap:Ethernet  HWaddr 00:1F:3B:2A:6D:0F
 BROADCAST MULTICAST  MTU:1500  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


But it does not appear in wicd client.
I'd like to use WEP keys, and I see no refernce to that option in
prefernces tab... only WPA.


Anyone with experience on wicd could give me some help, plesae?

TIA,
Arnau

Just click the tab next to each BSSID, and check enable encryption.  
Then, click the tab on what type of encryption, select WEP(hex), as  
ASCII support is a bit limited. Enter in the relevent information and  
join the network. 



Re: [gentoo-user] wicd manager on xfce4 not detecting wireless interfaces

2009-01-31 Thread Saphirus Sage



On Jan 31, 2009, at 2:35 PM, Arnau Bria ar...@emergetux.net wrote:


On Sat, 31 Jan 2009 18:01:54 +
Neil Bothwick wrote:

Hi,


You need to set the interface name in the preferences. It's probably
set to wlan0 now, when you are using wlan1.


now it hangs at validating authentication... I see all newts, but I
cannot conect.

I set WEP encription, passphrase, but I get no timeout, no error...

Any idea?

TIA,
Arnau

You could just use iwconfig, set up the interface for WEP from the  
command line, and join the network with dhcpcd interface




Re: [gentoo-user] Gcc-4.3.3

2009-01-31 Thread Saphirus Sage



On Jan 31, 2009, at 4:44 PM, Jerry McBride mcbrid...@comcast.net  
wrote:




Anyone else noticing problems with the new compiler?
An example, sysklogd no longer builds with 4.3.3, but did with 4.3.2- 
r3, etc.

etc. New (~x86) version of sysklogd fails too

So far, I'm not able to get the sources cleaned up enough to get it  
to compile

cleanly... I'm going back to 4.3.2-r3 until 4.3.3-r1 comes out... :')



--

*** 
*** 
*** 



From the desk of:
Jerome D. McBride

  16:41:14 up 45 days, 22:47,  5 users,  load average: 3.41, 2.52,  
2.34


*** 
*** 
*** 



I couldn't even install gcc4.3.3 on my amd64 machine. The build failed  
each time and I essentially decided to just wait for the next revision. 



Re: [gentoo-user] Gentoo from ext3 to ext4

2009-01-30 Thread Saphirus Sage



On Jan 30, 2009, at 1:23 PM, reQuiem23 niklas.baumst...@gmail.com  
wrote:






Albert Hopkins-4 wrote:


On Fri, 2009-01-30 at 08:48 -0800, reQuiem23 wrote:

Hi all,

i just had the idea to make a new ext4 partition (via mkfs.ext4)  
and copy
(cp) my whole root-dir into that new partition, change the /etc/ 
fstab,

add
an entry to the grub.conf and booting into that new partition. My / 
boot

is
on a separate ext3 partition, so this is not a problem. The kernel  
i use

is
gentoo-sources 2.6.28-r1 with ext4-support enabled. However, when  
i want

to
boot into my new system, the system starts, even the uvesafb  
starts, but
than the booting process stops with a message like tty starting  
and the

system reboots.

I removed all the files in /proc /dev and /sys, so probably this  
could be

the cause of the problem.


Yeah, you probably shouldn't have done that.  There are 'skeleton'
copies of /dev/ files in your root partition before udev kicks in and
those files are needed by the boot process (e.g. /dev/console).

What I recommend doing is:
 * boot into a livecd/usbstick
 * mount your root partition (ro) somewhere (e.g. /tmp/root
 * mount your empty destination partition somewhere
   (e.g. /tmp/newroot)
 * copy the files over to the new ext4 partition in whatever  
manner

 * reconfigure new fstab, grub.conf, etc and reboot.

For livecd/usb I always use RipLinux.  The latest version supports  
ext4

and has both 32- and 64-bit kernels.






I did it exactly the way you recommended, but i still get an error,  
even

though it's another one than before:

Kernel: Unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option  
to

kernel.

An idea?
--
View this message in context: 
http://www.nabble.com/Gentoo-from-ext3-to-ext4-tp21750949p21752851.html
Sent from the gentoo-user mailing list archive at Nabble.com.


I had a similar problem with my initial LiveCD install. Do you just  
boot directly from the gzipped kernel image or use initramfs?




Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-29 Thread Saphirus Sage
Dominic Kexel wrote:
 On Wed, 28 Jan 2009 21:23:12 -0800
 Grant emailgr...@gmail.com wrote:

   
 Does anyone know how to put my USB wireless network adapter into
 promiscuous mode so I can see everything that's happening wirelessley
 on my network in wireshark?
   
 ifconfig eth1 promisc

 But at least tcpdump puts the interface into promiscous mode
 automatically, so there is a chance that wireshark does the same.


 
 Another way is to use airmon-ng from the aircrack-ng package:

 airmon-ng start wlan0
   
 I can't get that to work.  I get:

 # airmon-ng start wlan0
 InterfaceChipset Driver
 wlan3ath5k_pci - [phy0]
 wlan0Ralink 2573 USB rt73usb - [phy1]/usr/sbin/airmon-ng: 
 line 338:
 /sys/class/ieee80211/phy1/add_iface: No such file or directory
 mon0: ERROR while getting interface flags: No such device
 (monitor mode enabled on mon0)

 It looks like I'm supposed to have /sys/class/ieee80211/phy1/add_iface
 which isn't there.  I've tried with net.wlan0 started and stopped.

 - Grant
 

 Your driver has to support monitor-mode.
 I am using an Atheros-based internal WiFi-card and an Alpha-USB-WiFi-device
 with Realtek-Chip. The drivers I used a while ago needed a patch to work with
 monitor-mode, but the recent drivers don't. Take a look at the driver-section
 on the aircrack-ng homepage. Maybe your driver needs to be patched.


   
I'm using the same chipset with the same driver (ath5_pci with phy0),
and my card can go into monitor mode. I'm wondering if you are using the
driver compiled into the kernel or madwifi-ng drivers.



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-29 Thread Saphirus Sage
Grant wrote:
 Does anyone know how to put my USB wireless network adapter into
 promiscuous mode so I can see everything that's happening wirelessley
 on my network in wireshark?
 
 ifconfig eth1 promisc

 But at least tcpdump puts the interface into promiscous mode
 automatically, so there is a chance that wireshark does the same.


   
 Another way is to use airmon-ng from the aircrack-ng package:

 airmon-ng start wlan0
 
 Thanks everyone.  I didn't realize it but monitor mode is what I'm
 after.  aircrack-ng looks interesting too.  Is there something similar
 with a GUI?  airsnort seems to be discontinued.  What is iw for?
   
 iw - show / manipulate wireless devices and their configuration

 Usage:  iw [options] command
 Options:
--debug enable netlink debugging
--version   show version
 Commands:
help
event
list
phy phyname info
dev devname set channel channel [HT20|HT40+|HT40-]
phy phyname set channel channel [HT20|HT40+|HT40-]
dev devname set freq freq [HT20|HT40+|HT40-]
phy phyname set freq freq [HT20|HT40+|HT40-]
phy phyname set name new name
dev devname set meshid meshid
dev devname set monitor flag [...]
dev devname info
dev devname del
dev devname interface add name type type [mesh_id
 meshid] [flags ...]
phy phyname interface add name type type [mesh_id
 meshid] [flags ...]
dev devname station dump
dev devname station set MAC address plink_action open|block
dev devname station del MAC address
dev devname station get MAC address
dev devname mpath dump
dev devname mpath set destination MAC address next_hop
 next hop MAC address
dev devname mpath new destination MAC address next_hop
 next hop MAC address
dev devname mpath del MAC address
dev devname mpath get MAC address
reg set ISO/IEC 3166-1 alpha2
dev devname get mesh_param param
dev devname set mesh_param param value
 
 Are we talking about the same thing?

 iw: nl80211 userspace tool for use with aircrack-ng

 - Grant
   
 Yes, it was installed as a dep of aircrack-ng.

 Paul
 

 I've got aircrack-ng installed and I get:

 # emerge -pv iw
 These are the packages that would be merged, in order:
 Calculating dependencies... done!
 !!! All ebuilds that could satisfy net-wireless/iw have been masked.
 !!! One of the following masked packages is required to complete your request:
 - net-wireless/iw-0.9.7 (masked by: ~amd64 keyword)
 - net-wireless/iw-0_p20080605 (masked by: ~amd64 keyword)

 - Grant

   
Just unmask it in /usr/portage/profiles/pakage.unmask. Add the line
net-wireless/iw ~amd64



Re: [gentoo-user] Locking down a wireless network

2009-01-29 Thread Saphirus Sage
Grant wrote:
 My Gentoo router's wireless network is encrypted via WPA and doesn't
 DHCP.  I'd like to take this a step further in case my WPA key gets
 hacked.  Can I issue only certain IPs to certain MAC addresses?

 Does WPA2 require hardware support?
   
 I don't think so. It should just be a driver/firmware update if you've
 got some device that supports WPA and not WPA2. The AES encryption of
 WPA2 requires a little more hardware power than WEP or WPA normally
 uses, but I don't think it needs any special chip or anything like
 that.

 You can also do VPN over your wifi connection, and require it for
 access to the rest of your network or the internet. At least then if
 someone hacks your wireless key, they still can't do anything without
 having your VPN certificate.
 

 It sounds like VPN may be the strongest thing going.  Could I turn off
 WPA and keep everything hidden within the VPN?  Could I use a password
 instead of a certificate for access?  Is the only downside that the
 client needs to have VPN software installed?

 - Grant

   
That's not much of a downside, VPN encryption (IPsec, SSL, L2TP, and
maybe PPTP) is usually more secure than that datalink-layer WPA or WPA2
anyway. As for if you can set it up without a certificate, I believe
that PPTP and L2TP can operate with nothing more than a shared secret.
But, a certificate just makes it all the more secure. And yes, your
transmitted data will still be encrypted in a VPN even if you're using
an open wireless hotspot.



Re: [gentoo-user] Locking down a wireless network

2009-01-29 Thread Saphirus Sage
Grant wrote:
 My Gentoo router's wireless network is encrypted via WPA and doesn't
 DHCP.  I'd like to take this a step further in case my WPA key gets
 hacked.  Can I issue only certain IPs to certain MAC addresses?

 Does WPA2 require hardware support?
   
 I don't think so. It should just be a driver/firmware update if you've
 got some device that supports WPA and not WPA2. The AES encryption of
 WPA2 requires a little more hardware power than WEP or WPA normally
 uses, but I don't think it needs any special chip or anything like
 that.

 You can also do VPN over your wifi connection, and require it for
 access to the rest of your network or the internet. At least then if
 someone hacks your wireless key, they still can't do anything without
 having your VPN certificate.
 

 Actually, VPN would rule out my wifi cell phone I bet.

 - Grant

   
Yeah, it probably would. If you want to keep using the wifi mobile, you
may be stuck with whatever layer 2 security options it supports; most
likely WPA2 then.



Re: [gentoo-user] Locking down a wireless network

2009-01-29 Thread Saphirus Sage
Paul Hartman wrote:
 On Thu, Jan 29, 2009 at 2:39 PM, Grant emailgr...@gmail.com wrote:
   
 My Gentoo router's wireless network is encrypted via WPA and doesn't
 DHCP.  I'd like to take this a step further in case my WPA key gets
 hacked.  Can I issue only certain IPs to certain MAC addresses?

 Does WPA2 require hardware support?
 
 I don't think so. It should just be a driver/firmware update if you've
 got some device that supports WPA and not WPA2. The AES encryption of
 WPA2 requires a little more hardware power than WEP or WPA normally
 uses, but I don't think it needs any special chip or anything like
 that.

 You can also do VPN over your wifi connection, and require it for
 access to the rest of your network or the internet. At least then if
 someone hacks your wireless key, they still can't do anything without
 having your VPN certificate.
   
 Actually, VPN would rule out my wifi cell phone I bet.
 

 Maybe not -- I don't know what kind of phone you've got. I have a
 Nokia N95 which runs Symbian OS 9 and there are 3 VPN clients that I
 know of (and the first one is free):

 http://www.businesssoftware.nokia.com/mobile_vpn_downloads.php
 http://www.ncp-e.com/en/vpn-szenarien-produkte/vpn-produkte/secure-entry-client.html
 http://www.symvpn.com/Products/ProductInfo.aspx?ProductId=17

 I believe Windows Mobile devices have VPN support built in, but I've
 never tried it. For iPhone or other phone OS i have no idea as I've
 never actually used them.

 Paul

   
The iPhone has support for L2TP, PPTP and minor support for IPSec (if
ti's through cisco), all standard in the firmware releases.



Re: [gentoo-user] Kernel build error

2009-01-29 Thread Saphirus Sage
Dale wrote:
 Hi,

 I'm trying to upgrade my kernel but I got this.

 r...@smoker /usr/src/linux-2.6.27-gentoo-r8 # make all  make
 modules_install
   CHK include/linux/version.h
   CHK include/linux/utsrelease.h
   CALLscripts/checksyscalls.sh
   CHK include/linux/compile.h
 make[1]: *** No rule to make target `n/n', needed by
 `firmware/n.gen.o'.  Stop.
 make: *** [firmware] Error 2
 r...@smoker /usr/src/linux-2.6.27-gentoo-r8 #  

 I have always used that command but it doesn't usually end like this.  I
 think that is right.  What is target 'n/n'?  Am I missing something? 
 Kernel version is in the prompt up there too. 

 Thanks.

 Dale

 :-)  :-) 

   
What firmware drivers had you enabled when you configured the kernel?



Re: [gentoo-user] utf fonts not working right

2009-01-29 Thread Saphirus Sage
smallnow wrote:
 http://www.openmobilefree.net/index.php?entry=entry090125-211840

 This page works fine on default fonts of other distros. For me, its got blocks
 for all the asian characters.

 I've been through the gentoo documentation utf guide. I'm using deja-vu font 
 in
 firefox, although it seems to be the same on some other random fonts i've 
 tried.

 The utf-8 guide says to enable cjk use flag but that seems to be deprecated
 since equery says its only used by 4 packages, none of which I have installed.

 Why does gentoo not default to utf-8 support?

 - Ian


   
Have a look into /etc/locale.gen and uncomment the language support you
need.



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Saphirus Sage
Dominic Kexel wrote:
 On Wed, 28 Jan 2009 18:17:18 +0100
 Miernik pub...@public.miernik.name wrote:

   
 Grant emailgr...@gmail.com wrote:
 
 Does anyone know how to put my USB wireless network adapter into
 promiscuous mode so I can see everything that's happening wirelessley
 on my network in wireshark?
   
 ifconfig eth1 promisc

 But at least tcpdump puts the interface into promiscous mode
 automatically, so there is a chance that wireshark does the same.


 

 Another way is to use airmon-ng from the aircrack-ng package:

 airmon-ng start wlan0


   
Or, depnending on your driver, you could try:
ifconfig wlan1 down
iwconfig wlan1 mode monitor
ifconfig wlan1 up
airodump-ng wlan0

This is assuming you have the wireless-tools emerged.



Re: [gentoo-user] Re: wlan0 promiscuous mode

2009-01-28 Thread Saphirus Sage
Grant wrote:
 Does anyone know how to put my USB wireless network adapter into
 promiscuous mode so I can see everything that's happening wirelessley
 on my network in wireshark?
 
 ifconfig eth1 promisc

 But at least tcpdump puts the interface into promiscous mode
 automatically, so there is a chance that wireshark does the same.


   
 Another way is to use airmon-ng from the aircrack-ng package:

 airmon-ng start wlan0
 

 Thanks everyone.  I didn't realize it but monitor mode is what I'm
 after.  aircrack-ng looks interesting too.  Is there something similar
 with a GUI?  airsnort seems to be discontinued.  What is iw for?

 - Grant

   
iwconfig is the command in the wireless-tools package to configure a
wireless interface.



Re: [gentoo-user] revdep-rebuild

2009-01-25 Thread Saphirus Sage
Vizo Allman wrote:
 I keep getting this message when I run revdep-rebuild :
 emerge: there are no ebuilds to satisfy
 sys-devel/gcc:x86_64-pc-linux-gnu-3.4.6
 I have no idea how to begin to troubleshoot this. Any hints?

 TIA
 -vizo-

 -- 
 Nor aught availed him now
 To have build in Heaven high towersNor did he scape
 By all his engines
 But was headlong sent with his industrious crew
 To build in Hell
 Milton, Paradise Lost
Update your gcc-profile and re-emerge gcc, that should fix it.



Re: [gentoo-user] revdep-rebuild

2009-01-25 Thread Saphirus Sage
Vizo Allman wrote:
 I updated profile using gcc-config and re emerged same error

 On Sun, Jan 25, 2009 at 6:52 PM, Saphirus Sage saphirus...@gmail.com
 mailto:saphirus...@gmail.com wrote:

 Vizo Allman wrote:
  I keep getting this message when I run revdep-rebuild :
  emerge: there are no ebuilds to satisfy
  sys-devel/gcc:x86_64-pc-linux-gnu-3.4.6
  I have no idea how to begin to troubleshoot this. Any hints?
 
  TIA
  -vizo-
 
  --
  Nor aught availed him now
  To have build in Heaven high towersNor did he scape
  By all his engines
  But was headlong sent with his industrious crew
  To build in Hell
  Milton, Paradise Lost
 Update your gcc-profile and re-emerge gcc, that should fix it.




 -- 
 Nor aught availed him now
 To have build in Heaven high towersNor did he scape
 By all his engines
 But was headlong sent with his industrious crew
 To build in Hell
 Milton, Paradise Lost
Well, it says it's lacking the ebuild, so if that didn't work try an
emerge --sync and then revdep-rebuild.



Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Saphirus Sage
Grant wrote:
 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

 - Grant

   
I've always preferred xpdf just for simplicity, but be sure you have
'pdf' in your USE flags for make.conf either way. That would probably
handle the error of pdf being an unsupported file type.



Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Saphirus Sage
Chris Thomas wrote:
 Without looking it up, I'm pretty sure there's no pdf use flag. Make
 sure Evince is listed as the default application for pdfs in your web
 browser.

 -Chris

 On Sat, Jan 24, 2009 at 4:32 PM, Saphirus Sage saphirus...@gmail.com wrote:
   
 Grant wrote:
 
 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

 - Grant


   
 I've always preferred xpdf just for simplicity, but be sure you have
 'pdf' in your USE flags for make.conf either way. That would probably
 handle the error of pdf being an unsupported file type.


 

   
Consult /usr/portage/profiles/use.desc and tell me that again.



Re: [gentoo-user] shoutcast problem 64bit gentoo

2009-01-23 Thread Saphirus Sage
Wojtek Dalętka wrote:
 Arttu V. wrote:
   
 On 1/23/09, Xav' x...@linuxant.fr wrote:
 
 This is a joke, isn't it ??? the error message coming from rc script is a
 bit clear IMHO...
   
 Well, the error message is clear and that listing from someone's home
 directory has me really puzzled -- what's the connection, why present
 it?
 

 It's not a joke.

 I'm really not that fresh about installing gentoo and shoutcast. I've
 got two production servers (using 32 bit architecture) and this is my
 first 64 bit gentoo instalation.
 This error is really not caused by a missing sc_serv file

 When using debian, the solution is to install ia-32libs and when using
 gentoo it simply doesn't work for me.
 That's why I ask here.

 Wojtek

   
Have you emerged emul-linux-x86-baselibs or other precompiled 32-bit
libraries?



Re: [gentoo-user] shoutcast problem 64bit gentoo

2009-01-23 Thread Saphirus Sage
Wojtek Dalętka wrote:
 Saphirus Sage wrote:
   
 Have you emerged emul-linux-x86-baselibs or other precompiled 32-bit
 libraries?


 

 YES:
 *  app-emulation/emul-linux-x86-baselibs
   Latest version available: 20080316
   Latest version installed: 20080316


  app-emulation/emul-linux-x86-compat
   Latest version available: 20071125-r1
   Latest version installed: 20071125-r1


   app-emulation/emul-linux-x86-glibc-errno-compat
   Latest version available: 2.5
   Latest version installed: 2.5


 other emul-linux..libs are masked...

 w.d.

   
I can't help but think that your problem comes from shoutcast doesn't
have full support for 64-bit architectures, so I think you do need
emul-linux-x86-soundlibs and emul-linux-x86-sdl or to recompile
shoutcast from source with the 32-bit glibc. Consider unmasking those
two listed packages, installing and trying again to run the shoutcast
daemon.



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Saphirus Sage
You could look for the .config files from earlier kernels, unless  
you've cleared out all your directories except the one with the most- 
recent release.


On Jan 22, 2009, at 9:12 PM, Grant emailgr...@gmail.com wrote:


Well, I deleted my kernel .config.  Is there any way to magically
re-create it from the compiled kernel image or any other way?

- Grant





Re: [gentoo-user] Anxiousness? [was:Tips/Tricks for Gentoo on low-spec computer?]

2009-01-20 Thread Saphirus Sage
I'm a total ~ARCH user, just because part of me really loves the joys  
of debugging. Honestly, on the rare occasion that something doesn't  
work, I've found a lesson is best learned when it is necessary. So in  
short, a bug is just a chance to learn to do something slightly  
differently.


Anyway, for a low-spec system, installing from binaries when possible  
would probably be a good idea. Other than that, just be specific in  
what you want with your USE flags.


On Jan 20, 2009, at 4:16 PM, Nick Cunningham n...@monkeydust.net  
wrote:





2009/1/20 Paul Hartman paul.hartman+gen...@gmail.com
On Tue, Jan 20, 2009 at 2:36 PM, b.n. brullonu...@gmail.com wrote:
 Mark Knecht ha scritto:

The one thing I would respectfully suggest is that you carefully
 build your own portage overlay. My experience with Gentoo over the
 last few years is that there is a _anxiousness_ in the portage
 maintainer area to move newer revisions of software into portage
 quickly and then just as quickly to remove from portage what  
users are

 currently using.

 Really?

 I am usually a bit annoyed by the contrary. On an almost 1-year old
 Kubuntu (8.04 Hardy Heron) I can find packages that are just  
barely x86

 stable now on Gentoo.

 A couple of examples I am aware of:
 Firefox 3: stable just since one month on Gentoo x86, was included  
in KB8.04
 Qtiplot: 0.9.x stable and working on KB8.04, all releases ~x86  
(and a
 hell to compile on a stable system -still didn't manage to do it)  
in Gentoo.


 Python releases are often behind, and not mentioning KDE 4, which is
 even default on 8.10 Kubuntu and on Gentoo was still hardmasked last
 time I checked (but probably Gentoo is just right in this respect,
 everyone keeps telling me to wait before digging into KDE 4).

 I fully understand that there are good reasons for that, and that  
the
 meta-distribution status of Gentoo makes harder to check packages  
(and
 also that the Ubuntu folks wildly release unstable stuff...  
firefox 3 rc
 in 8.04, for example). I just feel that (stable) Gentoo is  
actually a
 bit *behind* the average Linux distribution in its revisions of  
software.


 Most importantly, I also feel that that's something new: when I  
first

 installed my system, more than 4 years ago, I felt it was *ahead*. I
 wonder if it's due just to the sheer increase of work required to  
test

 packages, or if there are decisions behind that (or if it's just me
 having false memories).

When I first installed Gentoo a few years ago, I think I switched from
x86 to ~x86 in the first 24 hours, for the very reason. I wanted to
use the newest versions and the stable stuff was so old... It seems
the majority of users are using ~arch these days.


I see it as a good thing, a sign that Gentoo is maturing beyond just  
being a 'ricing' distro. Its now possible to have the best of both  
worlds, whether you want the stability of well tested packages from  
ARCH, or the chance to get newer packages, but with a chance of bugs  
and potential breakage by using ~ARCH.


Im a happy ~ARCH user myself, and have been for a long time, however  
i do stick to using plain ARCH on my little server just to keep it  
stable and happy.


- Nick


Re: [gentoo-user] alsa-driver version in gentoo-sources

2009-01-19 Thread Saphirus Sage
Andrew Gaydenko wrote:
 How to determine?

   
ls /usr/portage/metadata/cache/media-libs | grep alsa

That should show you the alsa libs and drivers you have installed on
your system.