[gentoo-user] hal-hell - please help

2009-02-21 Thread Helmut Jarausch
Hi,

I have a strange problem with hal.

To get my usb mouse (Logitech RX1000) running,
I have to 
unplug the mouse before booting
and plug it again after booting but before
starting X11.

This is nuisance and make a graphical login manager
impossible.

To make it even work I had to put
Option AutoAddDevices no

to my xorg.conf file

What am I missing?

Many thanks for your help,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Helmut Jarausch
Hi,

I have switched from a machine with Nvidia (proprietary) graphics driver
to a machine with onboard radeonhd device.

Now when reemerging xorg-server or trying to eselect opengl
it always tries to find Nvidia's opengl.

Of course, I have unmerged the nvidia driver.

How can I get rid of the Nvidia heritage?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Volker Armin Hemmann
On Samstag 21 Februar 2009, Helmut Jarausch wrote:
 Hi,

 I have switched from a machine with Nvidia (proprietary) graphics driver
 to a machine with onboard radeonhd device.

 Now when reemerging xorg-server or trying to eselect opengl
 it always tries to find Nvidia's opengl.

 Of course, I have unmerged the nvidia driver.

 How can I get rid of the Nvidia heritage?

 Many thanks for a hint,
 Helmut.

you probably have some dangling symlinks left. That happens when you unmerge 
first, eselect later. eselect can not deal with dangling symlinks - it fails 
silently. So, check for broken symlinks, remove them, then run eselect again.




Re: [gentoo-user] KDE 4.2, gstreamer backend and flac

2009-02-21 Thread Dirk Heinrichs
Am Donnerstag, 19. Februar 2009 22:37:53 schrieb Volker Armin Hemmann:

  Further installed are phonon-kde and phonon. Would it make a difference
  if I install qt-phonon instead?

 a) don't install qt-phonon

Why not?

 b) use xine as backend

Why?

I know xine works. However, I would prefer to use gstreamer. Will file a bug 
for KDE...

Bye...

Dirk


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


Re: [gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Helmut Jarausch
On 21 Feb, Volker Armin Hemmann wrote:
 On Samstag 21 Februar 2009, Helmut Jarausch wrote:
 Hi,

 I have switched from a machine with Nvidia (proprietary) graphics driver
 to a machine with onboard radeonhd device.

 Now when reemerging xorg-server or trying to eselect opengl
 it always tries to find Nvidia's opengl.

 Of course, I have unmerged the nvidia driver.

 How can I get rid of the Nvidia heritage?

 Many thanks for a hint,
 Helmut.
 
 you probably have some dangling symlinks left. That happens when you unmerge 
 first, eselect later. eselect can not deal with dangling symlinks - it fails 
 silently. So, check for broken symlinks, remove them, then run eselect again.
 

Thanks, can you please tell me where to search for these dangling
symlinks?

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Sebastian Günther
* Helmut Jarausch (jarau...@igpm.rwth-aachen.de) [21.02.09 10:55]:
 Hi,
 
 I have switched from a machine with Nvidia (proprietary) graphics driver
 to a machine with onboard radeonhd device.
 
 Now when reemerging xorg-server or trying to eselect opengl
 it always tries to find Nvidia's opengl.
 
 Of course, I have unmerged the nvidia driver.
 
 How can I get rid of the Nvidia heritage?
 
 Many thanks for a hint,
 Helmut.
 

Try:
eselect opengl set xorg-x11

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 s...@sti@N GÜNTHER mailto:sam...@guenther-roetgen.de


pgppYOwbGdLBE.pgp
Description: PGP signature


Re: [gentoo-user] KDE 4.2, gstreamer backend and flac

2009-02-21 Thread Volker Armin Hemmann
On Samstag 21 Februar 2009, Dirk Heinrichs wrote:
 Am Donnerstag, 19. Februar 2009 22:37:53 schrieb Volker Armin Hemmann:
   Further installed are phonon-kde and phonon. Would it make a difference
   if I install qt-phonon instead?
 
  a) don't install qt-phonon

 Why not?

because media-sound/phonon is the one with working gst support?


  b) use xine as backend

 Why?

 I know xine works. However, I would prefer to use gstreamer. Will file a
 bug for KDE...

because xine is 'better' - just ask the amarok guys.



Re: [gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Volker Armin Hemmann
On Samstag 21 Februar 2009, Helmut Jarausch wrote:
 On 21 Feb, Volker Armin Hemmann wrote:
  On Samstag 21 Februar 2009, Helmut Jarausch wrote:
  Hi,
 
  I have switched from a machine with Nvidia (proprietary) graphics driver
  to a machine with onboard radeonhd device.
 
  Now when reemerging xorg-server or trying to eselect opengl
  it always tries to find Nvidia's opengl.
 
  Of course, I have unmerged the nvidia driver.
 
  How can I get rid of the Nvidia heritage?
 
  Many thanks for a hint,
  Helmut.
 
  you probably have some dangling symlinks left. That happens when you
  unmerge first, eselect later. eselect can not deal with dangling symlinks
  - it fails silently. So, check for broken symlinks, remove them, then run
  eselect again.

 Thanks, can you please tell me where to search for these dangling
 symlinks?

 Helmut.

all over /usr/lib ;)

easiest way to fix it, would be running 'symlinks'

eix symlinks
[I] app-misc/symlinks
 Available versions:  1.2-r2 {static}
 Installed versions:  1.2-r2(18:07:20 20.06.2008)(-static)
 Homepage:http://www.ibiblio.org/pub/linux/utils/file/
 Description: Symlinks scans for and fixes broken or messy 
symlinks




Re: [gentoo-user] hal-hell - please help

2009-02-21 Thread Arttu V.
On 2/21/09, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 To make it even work I had to put
 Option AutoAddDevices no

 to my xorg.conf file

 What am I missing?

(Sorry if this came through already, gmail's draft saving via IMAP and
a spotty wlan really mix up threads and messages in gmail's view.)

During my short-lived and generally moderately clueless
experimentation with the latest xorg-server, evdev and a hal-enabled
PS/2 keyboard and a hal-enabled Logitech USB mouse, the mouse was not
the problem, but the keyboard layouts were the killer which prompted
me to disable hal altogether (ref: earlier CTRL+C kills
korganizer-thread).

Mouse worked ok with following changes to my earlier xorg.conf and I
had no need for plugging cables in and out, it Just Worked:

Section Module:
Loadevdev

Section ServerFlags:
Option AllowEmptyInput false

Section for the mouse InputDevice needed to change driver to evdev.

Section ServerLayout:
Option AutoAddDevices false
Option AutoEnableDevices true
(But I ended up commenting them out and the mouse still worked ok, so
not sure if you need to toggle the defaults values for these at all.)

Those changes gave me a functional USB mouse pointer with xorg-server
1.5.x, but my keyboard problems went away only after I disabled acpid
and hal, and re-emerged xorg-server with USE=-hal. Wasted nearly
three good weeks' nights and weekends there with kde 4.2.0 upgrade, so
you can understand my above-average grumpiness about hal -- just
disable it unless you really really need it. :(

-- 
Arttu V.



Re: [gentoo-user] Wireless intel 4965 howto

2009-02-21 Thread Alexander Puchmayr
Hi there!

Sorry Alejandro, but that link didn't help very much...

iwconfig shows:

wlan0 IEEE 802.11abgn  ESSID:
  Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
  Tx-Power=off
  Retry min limit:7   RTS thr:off   Fragment thr=2352 B
  Encryption key:87A7-2DD9-4D   Security mode:open
  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

'dmesg' shows the following:

iwlagn :14:00.0: PCI INT A - GSI 19 (level, low) - IRQ 19
iwlagn :14:00.0: restoring config space at offset 0x1 (was 0x40100102,   
   writing 0x40100106)
firmware: requesting iwlwifi-4965-2.ucode
iwlagn: Radio disabled by HW RF Kill switch
wlan0: Failed to config new SSID to the low-level driver
iwlagn: Error sending REPLY_WEPKEY: enqueue_hcmd failed: -5
mac80211-phy0: failed to set key (0, ff:ff:ff:ff:ff:ff) to hardware (-5)
wlan0: Failed to config new SSID to the low-level driver
iwlagn :14:00.0: PCI INT A disabled

-- again, this rfkill-issue. The switch is in on position, the LED in the 
display shows active, but the driver thinks its off :-(

Try to enable it manually:

iwconfig wlan0 txpower on

iwconfig wlan0
wlan0 IEEE 802.11abgn  ESSID:
  Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
  Tx-Power=-1 dBm
  Retry min limit:7   RTS thr:off   Fragment thr=2352 B
  Encryption key:87A7-2DD9-4D   Security mode:open
  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

OK, looks better (At least we have TX-power now), lets try to scan the 
area ...

iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down

And now ???


Thanks for suggestions


Am Freitag, 20. Februar 2009 schrieb Alejandro:
 2009/2/20 Alexander Puchmayr alexander.puchm...@linznet.at

  Hi there!
 
  Is there a working howto of how to get the wireless connection to work?
  Its a built-in chipset, intel 4965AG, and it was working with kernel
  2.6.24,
  but I fail with any kernel newer. 2.6.26 had serious problems with
  rfkill-switch, and the only way for me was to unload the driver module,
  switch on the wifi-interface, load module again and then it worked. A
  little bit clumsy, but it worked.
 
  With 2.6.27 I entirely fail to get any connection at all. The
  wifi-interface
  refuses to accept any ESSID.
 
  So, is there a howto that describes how to get wireless to work? Maybe
  in a way so that I switch on the interface and no troubles with rfkill,
  etc?
 
  Thanks in advance
 Alex
 
 
  Take a look at the old gentoo wiki. i think is in
  www.gentoo-wiki.info.

 After kernel 2.6.26 yo have to change a couple of options and  start
 using the open intel driver for that chip


 !DSPAM:506,499ed68a96841258219633!





Re: [gentoo-user] opengl - howto get rid of Nvidia

2009-02-21 Thread Pupino
2009/2/21 Helmut Jarausch jarau...@igpm.rwth-aachen.de:
 Hi,

 I have switched from a machine with Nvidia (proprietary) graphics driver
 to a machine with onboard radeonhd device.

 Now when reemerging xorg-server or trying to eselect opengl
 it always tries to find Nvidia's opengl.

 Of course, I have unmerged the nvidia driver.

 How can I get rid of the Nvidia heritage?

 Many thanks for a hint,
 Helmut.

 --
 Helmut Jarausch

 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany



Hi,
have you also checked /etc/make.conf to ensure that there's not a line like this
VIDEO_CARDS=nvidia
in it's options?

HTH
Davide



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

2009-02-21 Thread Florian Philipp

Marcin Zwd schrieb:

On Thu, Feb 19, 2009 at 10: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



Thanks, I tried that before as well. Besides the screen is turning off, however
just for a few seconds. My guess is that probably gnome or some other
apps is turning the screen back on.

So, it seems that only I have this kind of problem :(

Marcin



No, I have this problem, too. When I use 'xset dpms force off' for the 
first few times, it works (screen stays off). After that, it always 
turns back on.


It also didn't go away when I switched from XFCE to GNOME.

The problem has been there since I bought my notebook 1.5 years ago. I 
just live with it.




[gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's advantage: 'optimized for your system' -- huh?)

2009-02-21 Thread Mark David Dumlao
On Sat, Feb 7, 2009 at 5:27 AM, Sebastian Günther
sam...@guenther-roetgen.de wrote:
 * Nikos Chantziaras (rea...@arcor.de) [05.02.09 09:12]:

 Than I'll rephrase my statement: Gentoo would need a non-bugged GUI
 installer ;)

 No, Gentoo needs no GUI or CLI installer. It is very good, that if you
 install Gentoo for the first time, you must actually read the
 documentation, because it introduces you in the whole managing Gentoo
 stuff. What is important in the Handbook are not the commandline
 examples, but the surrunding text.

A student of the path heard about Ubuntu, and wanted to try it, and
learn about it. He asked his friend, a Linux guru, about it.

Where can I find an installer of Ubuntu?, he asked.

Rummaging about his stuff, his friend replied: Here, I have an extra
Ubuntu CD for you.. After thanking his friend, he got about his
business and went to install Ubuntu on a spare machine.

After a while, he wanted to install other applications on his Ubuntu
machine, but he didn't know how to do it. He quickly called up his
friend and asked about it.

Where can I find the official documentation for Ubuntu?, he asked.

Read the documentation and manuals at these links, said his friend,
who pointed at the site containing the offiicial documentation. After
thanking his friend, he got about his business and learned a bit about
his Ubuntu machine.

Several months later, at the Ubuntu forums, he notices several users
mentioning Gentoo over and over again. He quickly decides to give this
Gentoo a try, and asks his friend where to get an installer.

Read the documentation and manuals at these links, said his friend,
who pointed at the site containing the official documentation.

This answer confused the student, and after skimming the pages for a
while, he notices that the documentation is too huge for him to read
in a single sitting. He then asks his friend if he has a copy of the
documentation for reference when he gets home.

Rummaging about his stuff, his friend replied: Here, I have an extra
Gentoo CD for you.

The student was even more confused. Why is it that when I asked you
for an installer, you pointed me to the documentation, but when I
asked you for the documentation, you gave me a CD? Why didn't you give
me a CD installer the first time around?

To which the guru replied: If you just want a CD installer, then you
can have this., and he gave the student another Ubuntu CD.

At this point the student was enlightened.



RE: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's advantage: 'optimized for your system' -- huh?)

2009-02-21 Thread James Homuth
-Original Message-
From: Mark David Dumlao [mailto:madum...@gmail.com] 
Sent: February 21, 2009 1:12 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's
advantage: 'optimized for your system' -- huh?)

To which the guru replied: If you just want a CD installer, then you can
have this., and he gave the student another Ubuntu CD.

At this point the student was enlightened.

I think you just outlined the exact kind of help that keeps most people
from switching to Gentoo. If that had been, for example, you and I having
that particular conversation, I'd of probably smacked you with the CD and
got my answers from somewhere else. Since most people, particularly most
people new to linux, assume CD == installer. Also, while I like the general
do it yourself attitude Gentoo takes right from instalation, there's nothing
accessible about it. Which means, even though I know all the information's
right there on the CD, I still won't actually be able to do it (can't see
the screen, after all). So yes, there are still areas wherein the use of an
installer, or even just the provision of better software on the CD, would
probably make it easier for people to get into it.




[gentoo-user] Gentoo and Madwifi contradict each other

2009-02-21 Thread Grant
I'm trying to set up ath5k in master mode.  I get this from the hostapd ebuild:

 * In order to use hostapd you need to set up your wireless card
 * for master mode in /etc/conf.d/net and then start
 * /etc/init.d/hostapd.
 *
 * Example configuration:
 *
 * config_wlan0=( 192.168.1.1/24 )
 * channel_wlan0=6
 * essid_wlan0=test
 * mode_wlan0=master

But doing that I get:

ath0 does not support setting the mode to master

and madwifi IRC says:

you can't use iwconfig to set master mode you need to do that with hostapd

Does anyone know how to reconcile this?

- Grant



Re: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's advantage: 'optimized for your system' -- huh?)

2009-02-21 Thread William Hubbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi James,

On Sat, Feb 21, 2009 at 01:29:18PM -0500, James Homuth wrote:
 -Original Message-
 From: Mark David Dumlao [mailto:madum...@gmail.com] 
 Sent: February 21, 2009 1:12 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's
 advantage: 'optimized for your system' -- huh?)
 
 To which the guru replied: If you just want a CD installer, then you can
 have this., and he gave the student another Ubuntu CD.
 
 At this point the student was enlightened.
 
 I think you just outlined the exact kind of help that keeps most people
 from switching to Gentoo. If that had been, for example, you and I having
 that particular conversation, I'd of probably smacked you with the CD and
 got my answers from somewhere else. Since most people, particularly most
 people new to linux, assume CD == installer. Also, while I like the general
 do it yourself attitude Gentoo takes right from instalation, there's nothing
 accessible about it. Which means, even though I know all the information's
 right there on the CD, I still won't actually be able to do it (can't see
 the screen, after all). So yes, there are still areas wherein the use of an
 installer, or even just the provision of better software on the CD, would
 probably make it easier for people to get into it.
 
 Are you on the gentoo-accessibility mailing list?  You might want to
 subscribe there.  There are a couple of things that still need to
 happen (like getting espeakup and speakup to go stable) before we can
 get them put on the live cd, but that is being worked on.

 For now, the last live cd with speakup on it was 2007.0, so you have to
 install from that cd.

For now, it is possible with the 2008.0 live cd to install over an ssh
connection if you can get to the box that way.

- -- 
William Hubbs
gentoo accessibility team lead
willi...@gentoo.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmgVB4ACgkQblQW9DDEZTiXGQCghh2O3vc/9b2qFpoP3OjQMm0G
3JAAn3G2nIT/jvsiMdZQMiCeh3rekh/J
=9kbW
-END PGP SIGNATURE-



RE: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo'sadvantage: 'optimized for your system' -- huh?)

2009-02-21 Thread James Homuth
 

-Original Message-
From: William Hubbs [mailto:willi...@gentoo.org] 
Sent: February 21, 2009 2:21 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo Installer and Handbook (Was: Re:
Gentoo'sadvantage: 'optimized for your system' -- huh?)

 Are you on the gentoo-accessibility mailing list?  You might want to
subscribe there.  There are a couple of things that still need to  happen
(like getting espeakup and speakup to go stable) before we can  get them put
on the live cd, but that is being worked on.

I am, yes. Though admittedly not for very long.

 For now, the last live cd with speakup on it was 2007.0, so you have to
install from that cd.

 Can you run speakup etc with software speech off the 2007.0 CD?

For now, it is possible with the 2008.0 live cd to install over an ssh
connection if you can get to the box that way.

I was thinking of possibly doing that, too. Hopefully it'll play nice with
the box's hardware (it's a 5-year-old HP laptop).




[gentoo-user] Re: opengl - howto get rid of Nvidia

2009-02-21 Thread James
Pupino pupinux at gmail.com writes:


 have you also checked /etc/make.conf to ensure that there's 
not a line like this
 VIDEO_CARDS=nvidia
 in it's options?

Also check in /etc/X11/xorg.conf and remove all references to nvidia.



hth, 
James




[gentoo-user] Re: Mutually exclusive ebuilds?

2009-02-21 Thread James
Grant emailgrant at gmail.com writes:


 # equery depends dbus-python
 [ Searching for packages depending on dbus-python... ]
 media-tv/miro-2.0.1 (dev-python/dbus-python)
 net-misc/wicd-1.5.9-r1 (dev-python/dbus-python)


Grant,

How are you getting miro?
#rd party ebuild?

My /usr/portage/media-tv directory does not contain miro?

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


curiously,
James







Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-21 Thread Neil Bothwick
On Sat, 21 Feb 2009 10:33:17 -0800, Grant wrote:

 I'm trying to set up ath5k in master mode.  I get this from the hostapd
 ebuild:
 
  * In order to use hostapd you need to set up your wireless card
  * for master mode in /etc/conf.d/net and then start
  * /etc/init.d/hostapd.
  *
  * Example configuration:
  *
  * config_wlan0=( 192.168.1.1/24 )
  * channel_wlan0=6
  * essid_wlan0=test
  * mode_wlan0=master
 
 But doing that I get:
 
 ath0 does not support setting the mode to master

You're using the wrong interface name. MadWifi uses ath0, ath5k uses
wlan0.


-- 
Neil Bothwick

Maybe... How much are you bribing me this time?


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-21 Thread Grant
 I'm trying to set up ath5k in master mode.  I get this from the hostapd
 ebuild:

  * In order to use hostapd you need to set up your wireless card
  * for master mode in /etc/conf.d/net and then start
  * /etc/init.d/hostapd.
  *
  * Example configuration:
  *
  * config_wlan0=( 192.168.1.1/24 )
  * channel_wlan0=6
  * essid_wlan0=test
  * mode_wlan0=master

 But doing that I get:

 ath0 does not support setting the mode to master

 You're using the wrong interface name. MadWifi uses ath0, ath5k uses
 wlan0.


 --
 Neil Bothwick

Yes but I have:

udev: renamed network interface wlan0 to ath0

Could that be a problem?

- Grant



Re: [gentoo-user] Re: Mutually exclusive ebuilds?

2009-02-21 Thread Grant
 # equery depends dbus-python
 [ Searching for packages depending on dbus-python... ]
 media-tv/miro-2.0.1 (dev-python/dbus-python)
 net-misc/wicd-1.5.9-r1 (dev-python/dbus-python)


 Grant,

 How are you getting miro?
 #rd party ebuild?

 My /usr/portage/media-tv directory does not contain miro?

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


 curiously,
 James

There are good ebuilds here:

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

- Grant



Re: [gentoo-user] Linux traffic shaper setup advice

2009-02-21 Thread Daniel D Jones
On Monday 09 February 2009 12:34:01 Aleksey V. Kunitskiy wrote:
 Hi Gentoo community,
 I have several computers at home and one Gentoo-powered router. I want to
 setup a very simple traffic shaper that will give each computer almost
 equal(the best choice - with some weight coefficient on each ip address)
 speed, without counting number of connections and etc. So, someone using
 torrent won't load whole pipe. One most important problem with it that I
 have fixed speed to the world and fixed speed to local resourses in my
 city, so I can't fix my up/down link speed to one fixed number, I actually
 have 2 speeds, depending on the IP address I'm accessing to.

 Any suggestions?

First, when you say you have a Gentoo-powered router, what exactly do you 
mean?  Are you running a dedicated hardware router where you've installed 
Gentoo or are you using a PC with multiple NICs as a router?  This may or may 
not be important, depending on exactly what you end up implementing.  
Personally, I'd recommend using purpose built router software, such as DD-WRT 
or Tomato.  They're Linux based but they're specifically customize for routing 
and are probably going to be much easier to configure, and they run on a lot 
of different commercially available hardware.  A $50 Linksys WRT54G with DD-
WRT can match a $1000 Cisco router in capability and performance in many 
circumstances.  

Second, how familiar are you with networking in general and traffic shaping in 
particular?  If I'm understanding you correctly, what you're trying to do 
above would be difficult and quite inefficient.  For example, if you do a hard 
limit on bandwidth per IP, then much of your capacity will be idle because 
it'll be reserved for systems which aren't using it.  For example, if system A 
is downloading a file, it would be restricted in speed if bandwidth is being 
reserved for systems B, C, etc., even if no one is using those systems!  So 
unless all of your systems are in use maxing out their allotted bandwidth at 
the same time, you're always going to have bandwidth that is sitting idle.  
That's quite inefficient.

If your goal is to ensure that a bittorrent download on one system doesn't bog 
down a VoIP call or a WOW gaming session on another system, then you'd be much 
better off going with some sort of CBQ (Class Based Queuing.)  This won't put 
a hard limit on the bandwidth usable by any particular system or IP, but it 
will prioritize traffic and prevent bittorrent, etc. from clobbering all your 
bandwidth.

There's a good introduction to traffic shaping with Linux here:

http://lartc.org/howto/

Note that manually configuring traffic shaping with iproute2 can get quite 
technical and require some indepth rule writing.  Depending on your level of 
knowledge and the time and effort you're willing to put in, that may or may 
not be an issue.  





[gentoo-user] Installing gentoo (was gentoo installer and handbook)

2009-02-21 Thread William Hubbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again James,

I am moving this thread to gentoo-accessibility, so can we continue
discussion there?

On Sat, Feb 21, 2009 at 02:27:13PM -0500, James Homuth wrote:
  
 
 -Original Message-
 From: William Hubbs [mailto:willi...@gentoo.org] 
 Sent: February 21, 2009 2:21 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Gentoo Installer and Handbook (Was: Re:
 Gentoo'sadvantage: 'optimized for your system' -- huh?)
 
  Are you on the gentoo-accessibility mailing list?  You might want to
 subscribe there.  There are a couple of things that still need to  happen
 (like getting espeakup and speakup to go stable) before we can  get them put
 on the live cd, but that is being worked on.
 
 I am, yes. Though admittedly not for very long.
 
  For now, the last live cd with speakup on it was 2007.0, so you have to
 install from that cd.
 
  Can you run speakup etc with software speech off the 2007.0 CD?
 
 No, software speech is not supported on that cd.  You will need a
 hardware synthesizer.

 For now, it is possible with the 2008.0 live cd to install over an ssh
 connection if you can get to the box that way.
 
 I was thinking of possibly doing that, too. Hopefully it'll play nice with
 the box's hardware (it's a 5-year-old HP laptop).

To make sshd start up automatically on the 2008.0 live cd, type
something like this at the boot prompt:

gentoo dosshd passwd=somepassword

That will start sshd.  Also, I would suggest using the minimal cd so you
don't get an x environment.

- ---
William Hubbs
gentoo accessibility team lead
willi...@gentoo.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmga54ACgkQblQW9DDEZTitHQCcDIc//iOA1MLc/3Yx9y5sOAZL
hhAAnRGUVPnSmfuExXl0/dRNQZazVyU9
=ZkEB
-END PGP SIGNATURE-



[gentoo-user] ARP reply from wrong interface

2009-02-21 Thread Sascha Hlusiak
Hi list,

I have a server with two interfaces in the same subnet.

When asking for the MAC of one of the IPs, always both interfaces reply:

arping  -b xx.xx.xx.xx
ARPING xx.xx.xx.xx from yy.yy.yy.yy eth0
Unicast reply from xx.xx.xx.xx [00:1D:7D:D7:6D:F3]  0.607ms
Unicast reply from xx.xx.xx.xx [00:08:54:55:E7:02]  0.792ms

ip_forward is set to 0. Is there a switch in /proc to make Linux only reply 
from the interface that really owns the IP? Right now all traffic goes over 
one physical link, regardless of the target IP.


Thanks,
Sascha



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


Re: [gentoo-user] ARP reply from wrong interface

2009-02-21 Thread Tomáš Krasničan

Hi,

set the interface with -I parameter.


Sascha Hlusiak wrote:

Hi list,

I have a server with two interfaces in the same subnet.

When asking for the MAC of one of the IPs, always both interfaces reply:

arping  -b xx.xx.xx.xx
ARPING xx.xx.xx.xx from yy.yy.yy.yy eth0
Unicast reply from xx.xx.xx.xx [00:1D:7D:D7:6D:F3]  0.607ms
Unicast reply from xx.xx.xx.xx [00:08:54:55:E7:02]  0.792ms

ip_forward is set to 0. Is there a switch in /proc to make Linux only reply 
from the interface that really owns the IP? Right now all traffic goes over 
one physical link, regardless of the target IP.



Thanks,
Sascha

begin:vcard
fn;quoted-printable:Tom=C3=A1=C5=A1 Krasni=C4=8Dan
n;quoted-printable;quoted-printable:Krasni=C4=8Dan;Tom=C3=A1=C5=A1
email;internet:kra...@krasko.sk
tel;cell:+420 605 520 368
x-mozilla-html:FALSE
version:2.1
end:vcard



[gentoo-user] Re: virtualBox and Gcc

2009-02-21 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Fri, Feb 20, 2009 at 12:56 PM, Harry Putnam rea...@newsguy.com wrote:
 Can anyone tell me if there is some way to tell emerge to use a
 specific compiler during an emerge?

[...]

 I guess you can just use gcc-config to change versions, compile it,
 then gcc-config back to normal... Maybe there's a way to define it at
 the package level (so you don't have to do that every time there's an
 update) but I don't know it off the top of my head.

Thanks...

Any other opinions?




Re: [gentoo-user] atheros wifi for gentoo..

2009-02-21 Thread maxim wexler

 ATH5K has been in the kernel for a little while,the reason
 for using
 2.6.28 is that it also supports the wired NIC. With the
 addition of the
 eee ACPI modules, I can now run with no third party modules
 on my Eee.
 

When I do a search for 2.6.28 I get a patch. For gentoo-sources, 2.6.27 is the 
latest I can find.

Currently using 2.6.24. Will that patch bridge the gap?

At a big disadvantage here, my home PC, gentoo, is woefully out of date and I 
can't do anything for it because my ISP, hdcanada.com, just disappeared. No 
warning, no explanation. I have to pedal to town and use the wifi with the EEE. 

mw


  



Re: [gentoo-user] Re: opengl - howto get rid of Nvidia

2009-02-21 Thread Roy Wright

James wrote:

Pupino pupinux at gmail.com writes:


have you also checked /etc/make.conf to ensure that there's 

not a line like this

VIDEO_CARDS=nvidia
in it's options?


Also check in /etc/X11/xorg.conf and remove all references to nvidia.



Also check it's not in your module-rebuild list.





Re: [gentoo-user] Mutually exclusive ebuilds?

2009-02-21 Thread Arttu V.
On 2/21/09, Grant emailgr...@gmail.com wrote:
 I'm getting this and I'm wondering if it means I can't have miro and
 wicd installed simultaneously:

 !!! Multiple package instances within a single package slot have been pulled
 !!! into the dependency graph, resulting in a slot conflict:
 dev-python/pyrex:0
   ('installed', '/', 'dev-python/pyrex-0.9.8.5', 'nomerge') pulled in by
 =dev-python/pyrex-0.9.6.4 required by ('installed', '/',
 'media-tv/miro-2.0.1', 'nomerge')
 (and 1 more)
   ('ebuild', '/', 'dev-python/pyrex-0.9.4.1', 'merge') pulled in by
 =dev-python/pyrex-0.9.3-r2 required by ('installed', '/',
 'dev-python/dbus-python-0.82.4', 'nomerge')
 It may be possible to solve this problem by using package.mask to
 prevent one of those packages from being selected. However, it is also
 possible that conflicting dependencies exist such that they are
 impossible to satisfy simultaneously.

The gurus remain silent, but I have a theory. A bug in portage. I've
had several similar-looking nonsensical blockers lately -- after
portage learned to solve some blockers automatically, actually.

I think at the same time portage lost its ability to figure out that
if you have an unstable version package-3.4.5 installed and you're
installing another package, which requires, e.g., =package-1.2.3 and
the stable for that slot (and oldest available in portage tree) is
between the two, e.g., package-2.3.4 then portage seems to produce
these kinds of situations: wants to downgrade to 2.3.4, but
simultaneously to keep the 3.4.5 in the same slot.

I just had dev-libs/glib do the same two-three days ago. I have the
unstable 2.18.4 installed, package comes along that requires
=glib-2.14 and the latest stable in portage is 2.16.4 or something
for that slot. Boom, similar nonsensical blocker.

I've been solving them by unmerging the blocker and retrying the
emerge. Portage has invariably proceeded without a slightest hint of
blockers -- and re-emerged the unstable package version it just
complained was causing a blocker. So, there, I think it could very
well be a bug in portage. Maybe it has a bug report?

-- 
Arttu V.



Re: [gentoo-user] hal-hell - please help

2009-02-21 Thread Roy Wright

Arttu V. wrote:

On 2/21/09, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

To make it even work I had to put
Option AutoAddDevices no

to my xorg.conf file

What am I missing?


During my short-lived and generally moderately clueless
experimentation with the latest xorg-server, evdev and a hal-enabled
PS/2 keyboard and a hal-enabled Logitech USB mouse, the mouse was not
the problem, but the keyboard layouts were the killer which prompted
me to disable hal altogether (ref: earlier CTRL+C kills
korganizer-thread).

Those changes gave me a functional USB mouse pointer with xorg-server
1.5.x, but my keyboard problems went away only after I disabled acpid
and hal, and re-emerged xorg-server with USE=-hal. Wasted nearly
three good weeks' nights and weekends there with kde 4.2.0 upgrade, so
you can understand my above-average grumpiness about hal -- just
disable it unless you really really need it. :(



I've felt the pain (MS natural keyboard) until recently.  For my two 
~x86 systems, here's the procedure that worked to get hal/xorg working.


* set INPUT_DEVICES and VIDEO_CARDS in make.conf
* set hal use flag in make.conf
* emerge -uDNav world
* emerge xorg-x11
* emerge xf86-input-evdev
* create a default xorg.conf (Xorg --configure)
* remove all InputDevice sections in xorg.conf
* remove all references to InputDevice in the ServerLayout section
* configure your video in xorg.conf
* test using X -config path/to/new/xorg.conf

Here's my xorg.conf:  http://gist.github.com/68202

HTH,
Roy



Re: [gentoo-user] Mutually exclusive ebuilds?

2009-02-21 Thread Grant
 I'm getting this and I'm wondering if it means I can't have miro and
 wicd installed simultaneously:

 !!! Multiple package instances within a single package slot have been pulled
 !!! into the dependency graph, resulting in a slot conflict:
 dev-python/pyrex:0
   ('installed', '/', 'dev-python/pyrex-0.9.8.5', 'nomerge') pulled in by
 =dev-python/pyrex-0.9.6.4 required by ('installed', '/',
 'media-tv/miro-2.0.1', 'nomerge')
 (and 1 more)
   ('ebuild', '/', 'dev-python/pyrex-0.9.4.1', 'merge') pulled in by
 =dev-python/pyrex-0.9.3-r2 required by ('installed', '/',
 'dev-python/dbus-python-0.82.4', 'nomerge')
 It may be possible to solve this problem by using package.mask to
 prevent one of those packages from being selected. However, it is also
 possible that conflicting dependencies exist such that they are
 impossible to satisfy simultaneously.

 The gurus remain silent, but I have a theory. A bug in portage. I've
 had several similar-looking nonsensical blockers lately -- after
 portage learned to solve some blockers automatically, actually.

 I think at the same time portage lost its ability to figure out that
 if you have an unstable version package-3.4.5 installed and you're
 installing another package, which requires, e.g., =package-1.2.3 and
 the stable for that slot (and oldest available in portage tree) is
 between the two, e.g., package-2.3.4 then portage seems to produce
 these kinds of situations: wants to downgrade to 2.3.4, but
 simultaneously to keep the 3.4.5 in the same slot.

 I just had dev-libs/glib do the same two-three days ago. I have the
 unstable 2.18.4 installed, package comes along that requires
=glib-2.14 and the latest stable in portage is 2.16.4 or something
 for that slot. Boom, similar nonsensical blocker.

 I've been solving them by unmerging the blocker and retrying the
 emerge. Portage has invariably proceeded without a slightest hint of
 blockers -- and re-emerged the unstable package version it just
 complained was causing a blocker. So, there, I think it could very
 well be a bug in portage. Maybe it has a bug report?

 --
 Arttu V.

Thanks for your message.  You gave me an idea and I added pyrex to
package.keywords and now there is no blocker.  Now I can emerge world,
but the weird thing is pyrex isn't even in the list of packages to
emerge.

- Grant



Re: [gentoo-user] ARP reply from wrong interface

2009-02-21 Thread Sascha Hlusiak
Hi,

no, I'm not complaining about arping, which is run on the client (and has only 
one NIC), but I complain about the server replying from both interfaces.


Sascha


Am Samstag 21 Februar 2009 22:14:52 schrieb Tomáš Krasničan:
 Hi,

 set the interface with -I parameter.

 Sascha Hlusiak wrote:
  Hi list,
 
  I have a server with two interfaces in the same subnet.
 
  When asking for the MAC of one of the IPs, always both interfaces reply:
 
  arping  -b xx.xx.xx.xx
  ARPING xx.xx.xx.xx from yy.yy.yy.yy eth0
  Unicast reply from xx.xx.xx.xx [00:1D:7D:D7:6D:F3]  0.607ms
  Unicast reply from xx.xx.xx.xx [00:08:54:55:E7:02]  0.792ms
 
  ip_forward is set to 0. Is there a switch in /proc to make Linux only
  reply from the interface that really owns the IP? Right now all traffic
  goes over one physical link, regardless of the target IP.
 
 
  Thanks,
  Sascha



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


Re: [gentoo-user] Mutually exclusive ebuilds?

2009-02-21 Thread Grant
 I'm getting this and I'm wondering if it means I can't have miro and
 wicd installed simultaneously:

 !!! Multiple package instances within a single package slot have been pulled
 !!! into the dependency graph, resulting in a slot conflict:
 dev-python/pyrex:0
   ('installed', '/', 'dev-python/pyrex-0.9.8.5', 'nomerge') pulled in by
 =dev-python/pyrex-0.9.6.4 required by ('installed', '/',
 'media-tv/miro-2.0.1', 'nomerge')
 (and 1 more)
   ('ebuild', '/', 'dev-python/pyrex-0.9.4.1', 'merge') pulled in by
 =dev-python/pyrex-0.9.3-r2 required by ('installed', '/',
 'dev-python/dbus-python-0.82.4', 'nomerge')
 It may be possible to solve this problem by using package.mask to
 prevent one of those packages from being selected. However, it is also
 possible that conflicting dependencies exist such that they are
 impossible to satisfy simultaneously.

 The gurus remain silent, but I have a theory. A bug in portage. I've
 had several similar-looking nonsensical blockers lately -- after
 portage learned to solve some blockers automatically, actually.

 I think at the same time portage lost its ability to figure out that
 if you have an unstable version package-3.4.5 installed and you're
 installing another package, which requires, e.g., =package-1.2.3 and
 the stable for that slot (and oldest available in portage tree) is
 between the two, e.g., package-2.3.4 then portage seems to produce
 these kinds of situations: wants to downgrade to 2.3.4, but
 simultaneously to keep the 3.4.5 in the same slot.

 I just had dev-libs/glib do the same two-three days ago. I have the
 unstable 2.18.4 installed, package comes along that requires
=glib-2.14 and the latest stable in portage is 2.16.4 or something
 for that slot. Boom, similar nonsensical blocker.

 I've been solving them by unmerging the blocker and retrying the
 emerge. Portage has invariably proceeded without a slightest hint of
 blockers -- and re-emerged the unstable package version it just
 complained was causing a blocker. So, there, I think it could very
 well be a bug in portage. Maybe it has a bug report?

 --
 Arttu V.

 Thanks for your message.  You gave me an idea and I added pyrex to
 package.keywords and now there is no blocker.  Now I can emerge world,
 but the weird thing is pyrex isn't even in the list of packages to
 emerge.

 - Grant

Looks like the ~amd64 version of pyrex was already installed so that
must have confused things.

- Grant



Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-21 Thread Neil Bothwick
On Sat, 21 Feb 2009 12:03:17 -0800, Grant wrote:

   * In order to use hostapd you need to set up your wireless card
   * for master mode in /etc/conf.d/net and then start
   * /etc/init.d/hostapd.
   *
   * Example configuration:
   *
   * config_wlan0=( 192.168.1.1/24 )
   * channel_wlan0=6
   * essid_wlan0=test
   * mode_wlan0=master
 
  But doing that I get:
 
  ath0 does not support setting the mode to master
 
  You're using the wrong interface name. MadWifi uses ath0, ath5k uses
  wlan0.

 Yes but I have:
 
 udev: renamed network interface wlan0 to ath0
 
 Could that be a problem?

I don't understand why you need to rename the interface from the standard
kernel nomenclature to something non-standard, but that's by the by.

You still have conflicting names if you have wlan0 in conf.d/net. Another
possibility is that ath5k does not support master mode yet, I get an
error trying to switch it to Master here. 


-- 
Neil Bothwick

WinErr 00D: Window closed - Do not look outside


signature.asc
Description: PGP signature


Re: [gentoo-user] atheros wifi for gentoo..

2009-02-21 Thread Neil Bothwick
On Sat, 21 Feb 2009 13:25:22 -0800 (PST), maxim wexler wrote:

 When I do a search for 2.6.28 I get a patch. For gentoo-sources, 2.6.27
 is the latest I can find.

I'm using tuxonice-sources-2.6.28 on this Eee and gentoo-sources-2.6.28
on my desktop. Either you haven't synced recently or you are only
looking at stable packages.


-- 
Neil Bothwick

The severity of the itch is inversely proportional to the reach.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-21 Thread Grant
   * In order to use hostapd you need to set up your wireless card
   * for master mode in /etc/conf.d/net and then start
   * /etc/init.d/hostapd.
   *
   * Example configuration:
   *
   * config_wlan0=( 192.168.1.1/24 )
   * channel_wlan0=6
   * essid_wlan0=test
   * mode_wlan0=master
 
  But doing that I get:
 
  ath0 does not support setting the mode to master
 
  You're using the wrong interface name. MadWifi uses ath0, ath5k uses
  wlan0.

 Yes but I have:

 udev: renamed network interface wlan0 to ath0

 Could that be a problem?

 I don't understand why you need to rename the interface from the standard
 kernel nomenclature to something non-standard, but that's by the by.

The wireless card uses madwifi right now, as I try to get ath5k
working, so there's a udev rule that matches the hardware address with
the ath0 label.

 You still have conflicting names if you have wlan0 in conf.d/net. Another

That's taken care of.

 possibility is that ath5k does not support master mode yet, I get an
 error trying to switch it to Master here.

The madwifi/ath5k guys say it should work in 2.6.28 which I'm on.  The
latest is I'm getting this directly from hostapd:

Failed to set interface ath0 to master mode.
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=5 eloop_data=...

I'm sure my procedure is correct now, but I don't know why ath0 won't
go into master mode.

- Grant

 Neil Bothwick



[gentoo-user] Re: Installation questions

2009-02-21 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  Yes, you heard me right - I recommend one uses Ubuntu to install
  Gentoo 

 I took that a stage further with my Eee.
 Knowing how long it would take to build everything, I installed
 Ubuntu, then used that while Gentoo was building in a chroot.


OK, got it.

thanks
James








[gentoo-user] Re: Mutually exclusive ebuilds?

2009-02-21 Thread James
Grant emailgrant at gmail.com writes:


 There are good ebuilds here:
 http://bugs.gentoo.org/show_bug.cgi?id=131527

thx grant,

I'll just wait till it goes testing, then try
it.

I've got enough to hax @ these days.





James








Re: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's advantage: 'optimized for your system' -- huh?)

2009-02-21 Thread Mark David Dumlao
On Sun, Feb 22, 2009 at 2:29 AM, James Homuth ja...@the-jdh.com wrote:
 -Original Message-
 From: Mark David Dumlao [mailto:madum...@gmail.com]
 Sent: February 21, 2009 1:12 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Gentoo Installer and Handbook (Was: Re: Gentoo's
 advantage: 'optimized for your system' -- huh?)

 I think you just outlined the exact kind of help that keeps most people
 from switching to Gentoo. If that had been, for example, you and I having
 that particular conversation, I'd of probably smacked you with the CD and
 got my answers from somewhere else.

You don't like my koan? Originally I wanted it to be an LFS koan, but
then I figured it wouldn't be half as subtle.