Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-12-11 Thread Valmor de Almeida
On 12/11/2010 08:52 PM, Grant Edwards wrote:
> On 2010-11-19, Mick  wrote:
> 
[snip]
>>
>> and paste this in it:
>>
>> 
>> 
>>  
>> 
>> synaptics
> [ synaptic driver options]
>> 
>>  
>> 
>>
>> Then see the examples in the file and man synaptics for finely tuning your 
>> touchpad.  However ... I would at this stage suggest again that you have a 
>> look at xorg-server-1.9.x instead of trying to get HAL working.
> 
> Brilliant.  After tweaking a few of the pressure settings, my touchpad
> works great!  The hard part is remembering to restart hald as well as
> the X server whenever you make any changes...
> 

Thanks for all the posts. I finally fixed the same problem I've had with
my Thinkpad X201. In my case I had to do

1) Edit /etc/make.conf  INPUT_DEVICES="evdev synaptics"
2) emerge xorg-drivers (also emerged xorg-server and xorg-x11 to be on
the safe side)
3) cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
/etc/hal/fdi/policy/.
4) edit 11-x11-synaptics.fdi
5) /etc/init.d/hald restart
6) restart xorg-server

--
Valmor



[gentoo-user] FAN-Speed readout/control ???

2010-12-11 Thread meino . cramer

Hallo,

I want to read the fan speed and want to control it with gentoo.

My motherboard is a ASUS Crosshair IV Formula.

lm_sensors does not report any relevant sensor.

Does anyone got this working on this or an equivalent board with 890FX
chipset?

Thank you very much in advance for any help!
Best regards
mcc





[gentoo-user] Gigabyte and controlling fans

2010-12-11 Thread Dale

HI,

I got everything installed on the new rig.  Trying to sort out some 
"kinks" now.  I notice that Gigabyte has software for windoze to control 
the fan speed and such.  I use gkrellm to monitor them but was wondering 
if there is a Linux package that does the same.  Is there such a thing?  
I looked using eix and friends but I don't see anything in the tree.  I 
found the windoze version with google but nothing for Linux.


It's a Gigabyte 770T series mobo.  It uses the it8720 chip.

Thanks.

Dale

:-)  :-)



Re: [gentoo-user] wpa_supplicant connect-disconnect loop

2010-12-11 Thread Valmor de Almeida
On 12/11/2010 08:35 PM, Valmor de Almeida wrote:
> On 12/11/2010 06:28 PM, Mick wrote:
>> On Saturday 11 December 2010 20:26:54 Valmor de Almeida wrote:
>>> Hello,
>>>
> [snip]
>>>
>>> There were a number of steps to get to where I am now and I would be
>>> glad to post additional information if required.
>>
>> You could try changing channels (if there is a clash with other local APs) 
>> but 
>> it's most likely that the dropouts you notice are due to the wireless 
>> driver.  
>> Waiting for developers to catch up or using later drivers/firmware usually 
>> fixes this problem.
> 
> Here is some info.
> 
> -> dmesg | grep -i iwl
> [   12.442620] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
> in-tree:d
> [   12.442622] iwlagn: Copyright(c) 2003-2010 Intel Corporation
> [   12.442691] iwlagn :02:00.0: PCI INT A -> GSI 16 (level, low) ->
> IRQ 16
> [   12.442699] iwlagn :02:00.0: setting latency timer to 64
> [   12.442743] iwlagn :02:00.0: Detected Intel Wireless WiFi Link
> 6000 Series 3x3 AGN REV=0x74
> [   12.452866] iwlagn :02:00.0: Tunable channels: 13 802.11bg, 24
> 802.11a channels
> [   12.452988] iwlagn :02:00.0: irq 31 for MSI/MSI-X
> [   12.453271] iwlagn :02:00.0: firmware: requesting
> iwlwifi-6000-4.ucode
> [   12.486540] iwlagn :02:00.0: loaded firmware version 9.221.4.1
> [   12.488339] phy0: Selected rate control algorithm 'iwl-agn-rs'
> [  807.914432] iwlagn :02:00.0: RF_KILL bit toggled to enable radio.
> 
> I could use the iwl6050 firmware. I am currently using iwl6000 (both are
> masked for amd64)
> 
> *  net-wireless/iwl6000-ucode
>   Latest version available: 9.221.4.1
>   Latest version installed: 9.221.4.1
>   Size of files: 211 kB
>   Homepage:  http://intellinuxwireless.org/?p=iwlwifi
>   Description:   Intel (R) Wireless WiFi Advanced N 6000 ucode
>   License:   ipw3945
> 
> *  net-wireless/iwl6050-ucode [ Masked ]
>   Latest version available: 9.201.4.1
>   Latest version installed: [ Not Installed ]
>   Size of files: 212 kB
>   Homepage:  http://intellinuxwireless.org/?p=iwlwifi
>   Description:   Intel (R) Wireless WiFi Link 6250-AGN ucode
>   License:   ipw3945
> 
> I am using the 2.6.34-gentoo-r12 kernel with the iwlagn driver built
> with the following kernel config
> 
>Intel Wireless Wifi
> [*] Enable full debugging output in iwlagn and iwl3945 drivers
> [ ] iwlwifi device access tracing
>  Intel Wireless WiFi Next Gen AGN (iwlagn)
> [ ]   Intel Wireless WiFi 4965AGN
> [*]   Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000,
> 
> This is based on searching the web.
> 
> Also in the wpa_supplicant.conf I use
> 
> # Let wpa_supplicant take care of scanning and AP selection
> ap_scan=1
> 
> This is all new to me. Do I still need to configure the iwl6000-ucode
> microcode?
> 
> Thanks,
> 
> --
> Valmor
> 

To add to the above from the message logs, wlan0 deauthenticates from
the AP by "local choice (reason=3)"

Dec 11 15:37:01 lpt1 wpa_cli: interface wlan0 CONNECTED
Dec 11 15:37:01 lpt1 rc-scripts: Configuration not set for wlan0 -
assuming DHCP
Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: dhcpcd 4.0.15 starting
Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: broadcasting for a lease
Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: offered 192.168.10.9 from
192.168.10.1
Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: acknowledged 192.168.10.9
from 192.168.10.1
Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: checking 192.168.10.9 is
available on attached networks
Dec 11 15:37:06 lpt1 kernel: [13221.781187] wlan0: deauthenticating from
00:0c:e5:52:09:13 by local choice (reason=3)
Dec 11 15:37:06 lpt1 dhcpcd[11253]: wlan0: carrier lost
Dec 11 15:37:41 lpt1 dhcpcd[11253]: wlan0: timed out
Dec 11 15:37:41 lpt1 wpa_cli: executing '/etc/init.d/net.wlan0 --quiet
start' failed
Dec 11 15:37:41 lpt1 wpa_cli: interface wlan0 DISCONNECTED



[gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-12-11 Thread Grant Edwards
On 2010-11-19, Mick  wrote:

 That only works if you're using the synaptics driver -- which I'm
 not.
 
 I haven't figured out how to do that yet.  It was built, since I
 included it in INPUT_DEVICES, but HAL decided not to use it.
>>> 
>>> What does your Xorg.0.log say about synaptics?
>
>> $ grep -i synaptic /var/log/Xorg.0.log
>> (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
>
> Excellent!  It seems then that HAL picks up your touchpad and uses it.
[...]
> # touch /etc/hal/fdi/policy/11-x11-synaptics.fdi
>
> and paste this in it:
>
>
>
>  
> 
> synaptics
[ synaptic driver options]
> 
>  
>
>
> Then see the examples in the file and man synaptics for finely tuning your 
> touchpad.  However ... I would at this stage suggest again that you have a 
> look at xorg-server-1.9.x instead of trying to get HAL working.

Brilliant.  After tweaking a few of the pressure settings, my touchpad
works great!  The hard part is remembering to restart hald as well as
the X server whenever you make any changes...

-- 
Grant




Re: [gentoo-user] wpa_supplicant connect-disconnect loop

2010-12-11 Thread Valmor de Almeida
On 12/11/2010 06:28 PM, Mick wrote:
> On Saturday 11 December 2010 20:26:54 Valmor de Almeida wrote:
>> Hello,
>>
[snip]
>>
>> There were a number of steps to get to where I am now and I would be
>> glad to post additional information if required.
> 
> You could try changing channels (if there is a clash with other local APs) 
> but 
> it's most likely that the dropouts you notice are due to the wireless driver. 
>  
> Waiting for developers to catch up or using later drivers/firmware usually 
> fixes this problem.

Here is some info.

-> dmesg | grep -i iwl
[   12.442620] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
in-tree:d
[   12.442622] iwlagn: Copyright(c) 2003-2010 Intel Corporation
[   12.442691] iwlagn :02:00.0: PCI INT A -> GSI 16 (level, low) ->
IRQ 16
[   12.442699] iwlagn :02:00.0: setting latency timer to 64
[   12.442743] iwlagn :02:00.0: Detected Intel Wireless WiFi Link
6000 Series 3x3 AGN REV=0x74
[   12.452866] iwlagn :02:00.0: Tunable channels: 13 802.11bg, 24
802.11a channels
[   12.452988] iwlagn :02:00.0: irq 31 for MSI/MSI-X
[   12.453271] iwlagn :02:00.0: firmware: requesting
iwlwifi-6000-4.ucode
[   12.486540] iwlagn :02:00.0: loaded firmware version 9.221.4.1
[   12.488339] phy0: Selected rate control algorithm 'iwl-agn-rs'
[  807.914432] iwlagn :02:00.0: RF_KILL bit toggled to enable radio.

I could use the iwl6050 firmware. I am currently using iwl6000 (both are
masked for amd64)

*  net-wireless/iwl6000-ucode
  Latest version available: 9.221.4.1
  Latest version installed: 9.221.4.1
  Size of files: 211 kB
  Homepage:  http://intellinuxwireless.org/?p=iwlwifi
  Description:   Intel (R) Wireless WiFi Advanced N 6000 ucode
  License:   ipw3945

*  net-wireless/iwl6050-ucode [ Masked ]
  Latest version available: 9.201.4.1
  Latest version installed: [ Not Installed ]
  Size of files: 212 kB
  Homepage:  http://intellinuxwireless.org/?p=iwlwifi
  Description:   Intel (R) Wireless WiFi Link 6250-AGN ucode
  License:   ipw3945

I am using the 2.6.34-gentoo-r12 kernel with the iwlagn driver built
with the following kernel config

   Intel Wireless Wifi
[*] Enable full debugging output in iwlagn and iwl3945 drivers
[ ] iwlwifi device access tracing
 Intel Wireless WiFi Next Gen AGN (iwlagn)
[ ]   Intel Wireless WiFi 4965AGN
[*]   Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000,

This is based on searching the web.

Also in the wpa_supplicant.conf I use

# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1

This is all new to me. Do I still need to configure the iwl6000-ucode
microcode?

Thanks,

--
Valmor




Re: [gentoo-user] Kernel doesn't use all of the available memory

2010-12-11 Thread Neil Bothwick
On Sun, 12 Dec 2010 00:25:16 +0100, Volker Armin Hemmann wrote:

> > Although you usually change the BIOS settings to not act broken just
> > to appease rubbish Windows drivers.  
> 
> if you have a bios that lets you change stuff like that.
> 

I meant to write "Although you CAN usually change the BIOS settings", so
yes, if your BIOS allows it (the ones I've tried do).


-- 
Neil Bothwick

Get your grubby hands off my tagline! I stole it first!


signature.asc
Description: PGP signature


Re: [gentoo-user] Kernel doesn't use all of the available memory

2010-12-11 Thread meino . cramer
Helmut Jarausch  [10-12-10 01:09]:
> Hi,
> 
> I see a strange effect which puzzles me.
> I have two AMD64 (~amd64) Systems. Both have 8Gb memory installed
> as reported by their BIOS as well as by lshw.
> One is a somewhat older Opteron, the other one a recent Phenom II.
> But the output of 'free -m' differs significantly
> 
> On the Phenom II   there a total of 7738 Mb
> but on the old Opteron there a total of 6477 Mb only.
> 
> The 2.6.36 kernel is configured nearly identical (just a different SATA 
> driver).
> 
> Has anybody an idea where this comes from?
> 
> Many thanks for a hint,
> Helmut.
> 

(I dont know the exact core count of both processors...)

But may be additional cores of the Phenom II (x6?) will result
in more mem preallocated by the BIOS (may be without reason).

On my system (8GB,Phenom II X6 1090T, ASUS Crosshair IV Formula) 
there are 8184216 kB in total.

So even the  7738 Mb seems to be lesser than possible.

Only a shot into the dark...

mcc





Re: [gentoo-user] wpa_supplicant connect-disconnect loop

2010-12-11 Thread Mick
On Saturday 11 December 2010 20:26:54 Valmor de Almeida wrote:
> Hello,
> 
> The output of
> 
>   wpa_supplicant -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf
> -iwlan0 -d dhcpcd
> 
> on my laptop shows continuous output to screen which appears to be
> looping on association and disassociation to my wireless router (I am
> not posting this long list here). The corresponding effect is this
> 
> -> ping yahoo.com
> PING yahoo.com (72.30.2.43) 56(84) bytes of data.
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=1 ttl=47
> time=88.2 ms
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=2 ttl=47
> time=88.6 ms
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=3 ttl=47
> time=91.1 ms
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> [snip]
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=21 ttl=47
> time=94.8 ms
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=22 ttl=47
> time=90.7 ms
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=23 ttl=47
> time=87.6 ms
> 64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=24 ttl=47
> time=89.5 ms
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ping: sendmsg: Network is unreachable
> ^C
> --- yahoo.com ping statistics ---
> 32 packets transmitted, 7 received, 78% packet loss, time 31009ms
> rtt min/avg/max/mdev = 87.615/90.125/94.813/2.283 ms
> 
> I have never setup wireless networking and have been reading the web and
> other information on how to use wpa_supplicant to connect to my home
> router. I would appreciate help on this. I emerged wpa_supplicant with
> the following USE flags:
> 
> -> equery uses wpa_supplicant
> [ Searching for packages matching wpa_supplicant... ]
> [ Colour Code : set unset ]
> [ Legend : Left column  (U) - USE flags from make.conf  ]
> [: Right column (I) - USE flags packages was installed with ]
> [ Found these USE variables for net-wireless/wpa_supplicant-0.7.2-r3 ]
>  U I
>  - - dbus   : Enable dbus support for anything that needs it
> (gpsd, gnomemeeting, etc)
>  - - debug  : Enable extra debug codepaths, like asserts and
> extra output. If you want to get meaningful backtraces see
> http://www.gentoo.org/proj/en/qa/backtraces.xml
>  - - eap-sim: Add support for EAP-SIM authentication algorithm
>  - - fasteap: Add support for FAST-EAP authentication algorithm
>  - - gnutls : Adds support for net-libs/gnutls (TLS 1.0 and SSL
> 3.0 support)
>  - - kernel_FreeBSD : KERNEL setting for system using the FreeBSD kernel
>  + + kernel_linux   : KERNEL setting for system using the Linux kernel
>  - - madwifi: Add support for madwifi (Atheros chipset)
>  - - ps3: Add support for ps3 hypervisor driven gelic wifi
>  - - qt4: Adds support for the Qt GUI/Application Toolkit
> version 4.x
>  + + readline   : Enables support for libreadline, a GNU
> line-editing library that almost everyone wants
>  + + ssl: Adds support for Secure Socket Layer connections
>  - - wps: Add support for Wi-Fi Protected Setup
> 
> There were a number of steps to get to where I am now and I would be
> glad to post additional information if required.

You could try changing channels (if there is a clash with other local APs) but 
it's most likely that the dropouts you notice are due to the wireless driver.  
Waiting for developers to catch up or using later drivers/firmware usually 
fixes this problem.
-- 
Regards,
Mick


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


Re: [gentoo-user] Kernel doesn't use all of the available memory

2010-12-11 Thread Volker Armin Hemmann
On Friday 10 December 2010 23:07:10 Neil Bothwick wrote:
> On Fri, 10 Dec 2010 16:47:18 +0100, Volker Armin Hemmann wrote:
> > a) bios limitiation. Some bad bios implementations (even from expensive
> > vendors) map the pci space into the 3.5-4gb or 7.5-8gb area. Stupid.
> 
> Although you usually change the BIOS settings to not act broken just to
> appease rubbish Windows drivers.

if you have a bios that lets you change stuff like that.



Re: [gentoo-user] Anybody using xorg-server-1.9 yet

2010-12-11 Thread Dale

Peter Humphrey wrote:

On Saturday 11 December 2010 02:17:01 Dale wrote:

   

The subject pretty much says it all.  Anyone using xorg-server-1.9 yet
 

No problems here. Lspci says it's a "compatible controller: nVidia
Corporation G96 [Quadro FX 580] (rev a1)".

$ genlop xorg-server
[...]
Tue Oct 26 18:06:03 2010>>>  x11-base/xorg-server-1.9.1
Mon Nov  1 10:47:51 2010>>>  x11-base/xorg-server-1.9.1-r1
Tue Nov  2 11:31:34 2010>>>  x11-base/xorg-server-1.9.2
Wed Nov 17 10:23:47 2010>>>  x11-base/xorg-server-1.9.2.901
Mon Dec  6 10:17:41 2010>>>  x11-base/xorg-server-1.9.2.902

$ genlop nvidia-drivers
[...]
Thu Oct 21 18:10:11 2010>>>  x11-drivers/nvidia-drivers-260.19.12
Mon Oct 25 11:50:11 2010>>>  x11-drivers/nvidia-drivers-260.19.12
Sat Nov 13 12:54:37 2010>>>  x11-drivers/nvidia-drivers-260.19.12
Fri Nov 19 13:06:49 2010>>>  x11-drivers/nvidia-drivers-260.19.21
Wed Nov 24 00:10:33 2010>>>  x11-drivers/nvidia-drivers-260.19.21
Sun Nov 28 23:49:26 2010>>>  x11-drivers/nvidia-drivers-260.19.21
Thu Dec  9 10:44:20 2010>>>  x11-drivers/nvidia-drivers-260.19.21

(I have to remerge the driver every time the kernel changes.)

   



Well, it installed it before I could get this.  I have to unhook the 
internet for this rig to use download the tarballs on the new rig.


I'll update here in a bit tho.  At least I know it works for somebody.  
Then again, so did hal.  O_O


Dale

:-)  :-)



[gentoo-user] wpa_supplicant connect-disconnect loop

2010-12-11 Thread Valmor de Almeida

Hello,

The output of

  wpa_supplicant -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf
-iwlan0 -d dhcpcd

on my laptop shows continuous output to screen which appears to be
looping on association and disassociation to my wireless router (I am
not posting this long list here). The corresponding effect is this

-> ping yahoo.com
PING yahoo.com (72.30.2.43) 56(84) bytes of data.
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=1 ttl=47
time=88.2 ms
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=2 ttl=47
time=88.6 ms
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=3 ttl=47
time=91.1 ms
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
[snip]
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=21 ttl=47
time=94.8 ms
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=22 ttl=47
time=90.7 ms
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=23 ttl=47
time=87.6 ms
64 bytes from ir1.fp.vip.sk1.yahoo.com (72.30.2.43): icmp_req=24 ttl=47
time=89.5 ms
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
^C
--- yahoo.com ping statistics ---
32 packets transmitted, 7 received, 78% packet loss, time 31009ms
rtt min/avg/max/mdev = 87.615/90.125/94.813/2.283 ms

I have never setup wireless networking and have been reading the web and
other information on how to use wpa_supplicant to connect to my home
router. I would appreciate help on this. I emerged wpa_supplicant with
the following USE flags:

-> equery uses wpa_supplicant
[ Searching for packages matching wpa_supplicant... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf  ]
[: Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-wireless/wpa_supplicant-0.7.2-r3 ]
 U I
 - - dbus   : Enable dbus support for anything that needs it
(gpsd, gnomemeeting, etc)
 - - debug  : Enable extra debug codepaths, like asserts and
extra output. If you want to get meaningful backtraces see
http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - eap-sim: Add support for EAP-SIM authentication algorithm
 - - fasteap: Add support for FAST-EAP authentication algorithm
 - - gnutls : Adds support for net-libs/gnutls (TLS 1.0 and SSL
3.0 support)
 - - kernel_FreeBSD : KERNEL setting for system using the FreeBSD kernel
 + + kernel_linux   : KERNEL setting for system using the Linux kernel
 - - madwifi: Add support for madwifi (Atheros chipset)
 - - ps3: Add support for ps3 hypervisor driven gelic wifi
 - - qt4: Adds support for the Qt GUI/Application Toolkit
version 4.x
 + + readline   : Enables support for libreadline, a GNU
line-editing library that almost everyone wants
 + + ssl: Adds support for Secure Socket Layer connections
 - - wps: Add support for Wi-Fi Protected Setup

There were a number of steps to get to where I am now and I would be
glad to post additional information if required.

Thanks a lot.

--
Valmor




Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-11 Thread Willie Wong
Jean-Christophe:

On Sat, Dec 11, 2010 at 02:31:41PM +0100, Jean-Christophe Bach wrote:
> It would be great if this patch were added to the gentoo-patches when
> gpg flag is enabled for mutt.

Thanks for the work! If you want the patch merged into the gentoo
patch set, I think you should file a bug on bugs.gentoo.org, if you
haven't already done so. 

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [OT] Firefox 3.6.12 problem?

2010-12-11 Thread Peter Humphrey
On Saturday 11 December 2010 11:40:56 Florian Philipp wrote:
> Am 10.12.2010 01:26, schrieb Peter Humphrey:
> > On Thursday 09 December 2010 14:32:57 Florian Philipp wrote:
> >> Probably an issue with your desktop theme. Try to switch it and
> >> maybe log-out/log-in.
> > 
> > I'm not aware of having a desktop theme. I certainly haven't
> > changed anything in that department.
> > 
> > I may have to resort to deleting my user and creating another one.
> > That is going to be one large pain.
> 
> Before you do this, why don't you verify that is has to do with your
> user account, first?
> 
> 1. Create a new user account and check how Firefox looks in that
> account.
> 
> 2. Move your Firefox profile (~/.mozilla/firefox) to some other
> location and check how Firefox looks then.

Yes, I did intend to go step-wise. In fact I had the same absence of 
arrows in both those cases, so it's a feature of Firefox rather than my 
config.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-11 Thread Jean-Christophe Bach
* Jean-Christophe Bach  [08.12.2010. @00:14:03 +0100]:

> * walt  [07.12.2010. @11:44:18 -0800]:
> 
> > On 12/06/2010 12:07 PM, Jean-Christophe Bach wrote:
> > > * walt  [06.12.2010. @11:44:12 -0800]:
> > >
> > >> On 12/06/2010 11:11 AM, Jean-Christophe Bach wrote:
> > >>> Hi all,
> > >>>
> > >>> I am using mutt and gnupg for my mail and I do not understand something:
> > >>> when I sign and send an email, my gpg signature appears as an attached
> > >>> "noname" file while friends have an attached "signature.asc" file.
> > >>
> > >> I notice that the mutt ebuild reads two different useflags concerning 
> > >> gpg:
> > >> 'crypt' and 'gpg'.  Do you have them both enabled?
> > >
> > > Yes, I do. Should I have only one of them ?
> > 
> > Heh.  I have no idea -- but I would try fiddling with them to see what
> > difference it may make.
> > 
> > Does your attached 'noname' file contain an appropriate ascii sig?
>  
> Yes, it seems to be OK and friends are able to check my signed mails
> without any problem. It is not an important problem, but it is very
> strange.
> 
> JC

Hi all,

I understood why I had the problem and I succeeded in naming my pgp
signature with mutt. Here are the details :

First, Google is great :)
I read somewherethat the variable which allows to name the pgp signature
is pgp_mime_signature_filename. However this variable is not in the
standard mutt package. By googling a bit more I found the
vk.pgp_verbose_mime patch (here: http://www.doorstop.net/projects ). I
adapted it to my current version of mutt (~)1.5.21-r1 and I wrote an
overlay. After patching, compiling and installing, it works perfectly.

For those who are interested in this patch, look at the attached files
(patch-1.5.21-r1.vk.pgp_verbose_mime and mutt-1.5.21-r1.ebuild.patch).
Then, just add these two lines in your .muttrc file :
set pgp_mime_signature_filename="signature.asc"
set pgp_mime_signature_description="Digital signature"

It would be great if this patch were added to the gentoo-patches when
gpg flag is enabled for mutt.

Regards,

JC
--- /usr/portage/mail-client/mutt/mutt-1.5.21-r1.ebuild 2010-12-07 
04:06:02.0 +0100
+++ /usr/local/portage/mail-client/mutt/mutt-1.5.21-r1.ebuild   2010-12-11 
14:09:46.831191902 +0100
@@ -91,6 +91,9 @@
# impact on the code
use sidebar && epatch "${PATCHDIR}"/sidebar.patch
 
+   #custom line: added vk.pgp_verbose_mime patch
+   epatch "${FILESDIR}"/patch-1.5.21-r1.vk.pgp_verbose_mime
+
# patch version string for bug reports
sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \
muttlib.c || die "failed patching in Gentoo version"
--- a/globals.h 2009-08-25 21:08:52.0 +0200
+++ b/globals.h 2010-12-11 13:34:36.934682237 +0100
@@ -227,6 +227,9 @@
 WHERE char *PgpSignAs;
 WHERE short PgpTimeout;
 WHERE char *PgpEntryFormat;
+/* custom patch */
+WHERE char *PgpMimeSignatureFilename;
+WHERE char *PgpMimeSignatureDescription;
 WHERE char *PgpClearSignCommand;
 WHERE char *PgpDecodeCommand;
 WHERE char *PgpVerifyCommand;
--- a/init.h2010-09-15 17:39:31.0 +0200
+++ b/init.h2010-12-11 13:32:21.630299369 +0100
@@ -1884,6 +1884,21 @@
   ** (PGP only)
   **
   */
+
+  /* custom patch */
+  { "pgp_mime_signature_filename", DT_STR, R_NONE, UL 
&PgpMimeSignatureFilename, UL "signature.asc"},
+  /*
+  ** .pp
+  ** This option sets the filename used for signature parts in PGP/MIME
+  ** signed messages.
+  */
+  { "pgp_mime_signature_description", DT_STR, R_NONE, UL 
&PgpMimeSignatureDescription, UL "Digital signature"},
+  /*
+  ** .pp
+  ** This option sets the Content-Description used for signature parts in
+  ** PGP/MIME signed messages.
+  */
+
   { "pgp_retainable_sigs", DT_BOOL, R_NONE, OPTPGPRETAINABLESIG, 0 },
   /*
   ** .pp
--- a/pgp.c 2010-09-13 19:19:55.0 +0200
+++ b/pgp.c 2010-12-11 13:32:07.926705504 +0100
@@ -1130,6 +1130,11 @@
   t->encoding = ENC7BIT;
   t->unlink = 1; /* ok to remove this file after sending. */
 
+  /* custom patch */
+  mutt_set_parameter ("name", PgpMimeSignatureFilename, &t->parameter);
+  t->description = safe_strdup (PgpMimeSignatureDescription);
+
+
   return (a);
 }
 


signature.asc
Description: Digital signature


Re: [gentoo-user] [OT] Firefox 3.6.12 problem?

2010-12-11 Thread Florian Philipp
Am 10.12.2010 01:26, schrieb Peter Humphrey:
> On Thursday 09 December 2010 14:32:57 Florian Philipp wrote:
> 
>> Probably an issue with your desktop theme. Try to switch it and maybe
>> log-out/log-in.
> 
> I'm not aware of having a desktop theme. I certainly haven't changed 
> anything in that department.
> 
> I may have to resort to deleting my user and creating another one. That 
> is going to be one large pain.
> 

Before you do this, why don't you verify that is has to do with your
user account, first?

1. Create a new user account and check how Firefox looks in that account.

2. Move your Firefox profile (~/.mozilla/firefox) to some other location
and check how Firefox looks then.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anybody using xorg-server-1.9 yet

2010-12-11 Thread Peter Humphrey
On Saturday 11 December 2010 02:17:01 Dale wrote:

> The subject pretty much says it all.  Anyone using xorg-server-1.9 yet

No problems here. Lspci says it's a "compatible controller: nVidia 
Corporation G96 [Quadro FX 580] (rev a1)".

$ genlop xorg-server
[...]
Tue Oct 26 18:06:03 2010 >>> x11-base/xorg-server-1.9.1 
   
Mon Nov  1 10:47:51 2010 >>> x11-base/xorg-server-1.9.1-r1  
   
Tue Nov  2 11:31:34 2010 >>> x11-base/xorg-server-1.9.2 
   
Wed Nov 17 10:23:47 2010 >>> x11-base/xorg-server-1.9.2.901 
   
Mon Dec  6 10:17:41 2010 >>> x11-base/xorg-server-1.9.2.902 
   

$ genlop nvidia-drivers
[...]
Thu Oct 21 18:10:11 2010 >>> x11-drivers/nvidia-drivers-260.19.12   
   
Mon Oct 25 11:50:11 2010 >>> x11-drivers/nvidia-drivers-260.19.12   
   
Sat Nov 13 12:54:37 2010 >>> x11-drivers/nvidia-drivers-260.19.12   
   
Fri Nov 19 13:06:49 2010 >>> x11-drivers/nvidia-drivers-260.19.21   
   
Wed Nov 24 00:10:33 2010 >>> x11-drivers/nvidia-drivers-260.19.21   
   
Sun Nov 28 23:49:26 2010 >>> x11-drivers/nvidia-drivers-260.19.21   
   
Thu Dec  9 10:44:20 2010 >>> x11-drivers/nvidia-drivers-260.19.21   
   

(I have to remerge the driver every time the kernel changes.)

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Need networking help. Can't ping google.

2010-12-11 Thread Mick
On Friday 10 December 2010 18:25:14 Dale wrote:
> Mick wrote:



> > The above should hopefully work.
> 
> OK.  I had a LONG day yesterday.  I took a nap.  I was getting a little
> goofy here.  Before I try all this, what is the best way to "undo"
> everything I have done with this so far?  I ask because I have tried two
> scripts and I don't know what all has been changed and what state things
> are in.

To flush your iptable rules you can run:

/sbin/iptables -F 

-F, --flush [chain]
  Flush the selected chain (all the chains in the table if none is
  given).   This  is  equivalent  to deleting all the rules one by
  one.

If you only want to flush one chain (e.g. OUTPUT) then run:

/sbin/iptables -F OUTPUT

Running /sbin/iptables -L -v -n before and after will show you what rules are 
there and what are deleted.

Iptables scripts usually run --flush to clear out any previous rules before 
they add their own.

You can edit any such script to add the MASQUERADE target I suggested 
previously in the POSTROUTING chain (following the syntax of the particular 
script).


> I also noticed this.  When I have lightening hooked to smoker and smoker
> hooked to the modem, I can't get to the internet until I restart eth2
> which is what connects smoker to the modem.  It acts like it is trying
> to use eth0 instead of eth2.

... and I bet that the routes do not look like what you posted in your first 
message.

Your current routes are not correctly configured.  The fact that it is trying 
to use eth0 may be related to the ethX number?  i.e. it starts from the lowest 
number and it works it's way up.  You can delete your net udev rules and 
reboot to change these (or manually edit your udev rules).  Either way, adapt 
my previous instructions for your respective NIC numbers.


> The modem I have is a Motorola Netopia 2210-02.  I took that info from
> the home page of the modem.  Just looking at it, it's the little silver
> colored thing and I did pay almost $80.00 for that thing.  It also says
> it has a DNS server and it is on.

It looks like a well spec'ed single port modem and ADSL router.  Since it is 
running a DNS repeater you can set in your /etc/resolv.conf files the IP of 
your router as the DNS server - if it doesn't pick it up on its own.

-- 
Regards,
Mick


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