Re: [gentoo-user] Re: installing ffi gem

2011-04-22 Thread kashani

On 4/21/2011 9:54 PM, Hans de Graaff wrote:

On Thu, 21 Apr 2011 17:33:05 -0700, kashani wrote:


Install RVM, make it part of your shell, then install the ruby and gems
of your choice. That way you leave the system Ruby alone and can develop
with the versions you want. You can even do multiple versions of ruby
and various gems for working on many different projects at once.


Please note that Gentoo also supports multiple ruby implementations out
of the box (ruby 1.8, ruby enterprise edition, jruby currently stable,
ruby 1.9 unfortunately still masked, rubinius forthcoming).


	It's not about which ruby you're installing on the system, really 
anything other than 1.8.7 as system Ruby is a pain in the ass at this 
point.


kashani@gentoo64 ~ $ rvm list
rvm rubies

   rbx-head [ ]
   ree-1.8.7-2011.03 [ x86_64 ]
   ruby-1.9.2-p180 [ x86_64 ]
= ruby-1.8.7-p334 [ x86_64 ]

	Using RVM I can have all version and implementations of Ruby and 
multiple gem sets per Ruby as well. That way I can work on 
ruby-1.8.7@rail2 app or switch to ruby-1.92@rails3 which keep the gems 
separate. Also I avoid breaking the system when doing wacky things in my 
dev environment.


kashani



Re: [gentoo-user] Howzat!

2011-04-22 Thread Neil Bothwick
On Fri, 22 Apr 2011 08:05:41 +0300, Thanasis wrote:

  There you go then, it's man page time :)  
 http://linux.die.net/man/1/nail
 Do you see anything relevant in the man page?

No, but then I don't need to look at it :)


-- 
Neil Bothwick

Some cause happiness wherever they go. Others whenever they go.


signature.asc
Description: PGP signature


Re: [gentoo-user] Howzat!

2011-04-22 Thread Thanasis
on 04/22/2011 10:14 AM Neil Bothwick wrote the following:
 On Fri, 22 Apr 2011 08:05:41 +0300, Thanasis wrote:

 There you go then, it's man page time :)  
 http://linux.die.net/man/1/nail
 Do you see anything relevant in the man page?
 No, but then I don't need to look at it :)

Yea, I don't think it's caused by nail.



Re: [gentoo-user] Howzat!

2011-04-22 Thread Neil Bothwick
On Fri, 22 Apr 2011 11:12:39 +0300, Thanasis wrote:

  There you go then, it's man page time :)
  http://linux.die.net/man/1/nail
  Do you see anything relevant in the man page?  
  No, but then I don't need to look at it :)
   
 Yea, I don't think it's caused by nail.

Why not? It's the obvious choice. Have you tried using nail's Mail from
the command line to see if it works as you expect?


-- 
Neil Bothwick

- How many surrealists does it take to change a light bulb?
- Two: one to hold the giraffe, the other to fill the bathtub with
  lots of brightly colored machine tools.


signature.asc
Description: PGP signature


[gentoo-user] HDA ATI SB ALC892 sometimes no sound

2011-04-22 Thread Florian Philipp
Hi list!

I've recently bought a Gigabyte GA-880GMA-UD2H board (AM3, integrated
Radeon HD 4200). The problem is, sometimes sound works out-of-the-box.
Then I reboot and there is no sound at all. There is no error - just no
output. The SPDIF port (which I really need) does not emit any light,
then. Sometimes after a cold reboot, it works again.

I've found several threads pointing to problems with kernel 2.6.32
(solved in 2.6.33, I'm on 2.6.36). Some others made me wonder if alsa is
confused by the HDMI output of the graphics card. I blacklisted
snd_hda_codec_atihdmi and switched driver from fglrx to radeon but it
did not change anything. I don't have the means to check whether there
is any output over HDMI.

I know that at least Volker has a similar board. Maybe others as well.
Does someone have a clue what's going on?

I'll append some info.

# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=SB
HDA ATI SB, ALC892 Analog
Default Audio Device
front:CARD=SB,DEV=0
HDA ATI SB, ALC892 Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI
HDA ATI HDMI, ATI HDMI
HDMI Audio Output

# lsmod | grep snd
snd_pcm_oss35117  0
snd_mixer_oss  14707  1 snd_pcm_oss
snd_seq_oss27452  0
snd_seq_midi_event  5188  1 snd_seq_oss
snd_seq48669  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device  4861  2 snd_seq_oss,snd_seq
snd_hda_codec_atihdmi 2331  1
snd_hda_codec_realtek   267272  1
snd_hda_intel  19922  0
snd_hda_codec  61484  3
snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_pcm63804  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer  17965  2 snd_seq,snd_pcm
snd50622  10
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore   5007  1 snd
snd_page_alloc  6713  2 snd_hda_intel,snd_pcm

# dmesg | grep -i hda
HDA Intel :00:14.2: PCI INT A - GSI 16 (level, low) - IRQ 16
hda_codec: ALC892: BIOS auto-probing.
HDA Intel :01:05.1: PCI INT B - GSI 19 (level, low) - IRQ 19
HDA Intel :01:05.1: setting latency timer to 64

# lspci -v
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
Subsystem: Giga-byte Technology Device a102
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

01:05.0 VGA compatible controller: ATI Technologies Inc Device 9715
(prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device d000
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d000 (32-bit, prefetchable) [size=256M]
I/O ports at de00 [size=256]
Memory at fdee (32-bit, non-prefetchable) [size=64K]
Memory at fdd0 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at unassigned [disabled]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel modules: fglrx

01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD
4200]
Subsystem: Giga-byte Technology Device 960f
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fdefc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel



Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] HDA ATI SB ALC892 sometimes no sound

2011-04-22 Thread dhkuhl
I have a similar problem.  There was an email thread about it a few months 
ago.  Nothing much happened with it because sound occasionally works for me.  
Sometime it comes back after a reboot or restart of alsasound, and sometimes if 
I leave the machine running a long time if will just start working or just stop 
working . . . really weird.  I've been running alsaconf a lot and that seem to 
get it back most of the time if not I still need to restart alsasound or 
reboot.Also, if you haven't run python-updater in a while you should, that 
seems to fix a lot a odd behavior.Good luck.dhk- Original Message 
-From: Florian Philipp Date: Friday, April 22, 2011 10:45 amSubject: 
[gentoo-user] HDA ATI SB ALC892 sometimes no soundTo: Gentoo User List  Hi 
list!  I've recently bought a Gigabyte GA-880GMA-UD2H board (AM3, integrated 
Radeon HD 4200). The problem is, sometimes sound works out-of- the-box. Then 
I reboot and there is no sound at all. There is no error -  just no output. 
The SPDIF port (which I really need) does not emit any light, then. Sometimes 
after a cold reboot, it works again.  I've found several threads pointing to 
problems with kernel 2.6.32 (solved in 2.6.33, I'm on 2.6.36). Some others 
made me wonder if  alsa is confused by the HDMI output of the graphics card. 
I blacklisted snd_hda_codec_atihdmi and switched driver from fglrx to radeon  
but it did not change anything. I don't have the means to check whether there 
is any output over HDMI.  I know that at least Volker has a similar board. 
Maybe others as well. Does someone have a clue what's going on?  I'll append 
some info.  # aplay -l  List of PLAYBACK Hardware Devices  card 0: 
SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]  Subdevices: 1/1  
Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC892 Digital 
[ALC892 Digital]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: HDMI 
[HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]  Subdevices: 1/1  Subdevice #0: 
subdevice #0  # aplay -L nullDiscard all samples (playback) or generate 
zero samples (capture) default:CARD=SBHDA ATI SB, ALC892 Analog
Default Audio Device front:CARD=SB,DEV=0HDA ATI SB, ALC892 Analog
Front speakers surround40:CARD=SB,DEV=0HDA ATI SB, ALC892 Analog4.0 
Surround output to Front and Rear speakers surround41:CARD=SB,DEV=0HDA 
ATI SB, ALC892 Analog4.1 Surround output to Front, Rear and Subwoofer 
speakers surround50:CARD=SB,DEV=0HDA ATI SB, ALC892 Analog5.0 
Surround output to Front, Center and Rear speakers surround51:CARD=SB,DEV=0   
 HDA ATI SB, ALC892 Analog5.1 Surround output to Front, Center, Rear and 
Subwoofer speakers surround71:CARD=SB,DEV=0HDA ATI SB, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer  
speakersiec958:CARD=SB,DEV=0HDA ATI SB, ALC892 DigitalIEC958 (S/PDIF) 
Digital Audio Output hdmi:CARD=HDMIHDA ATI HDMI, ATI HDMIHDMI Audio 
Output  # lsmod | grep snd snd_pcm_oss35117  0 snd_mixer_oss
  14707  1 snd_pcm_oss snd_seq_oss27452  0 snd_seq_midi_event 
 5188  1 snd_seq_oss snd_seq48669  4 
snd_seq_oss,snd_seq_midi_event snd_seq_device  4861  2 
snd_seq_oss,snd_seq snd_hda_codec_atihdmi 2331  1 snd_hda_codec_realtek   
267272  1 snd_hda_intel  19922  0 snd_hda_codec  61484  3 
snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel snd_pcm  
  63804  3  snd_pcm_oss,snd_hda_intel,snd_hda_codecsnd_timer   
17965  2 snd_seq,snd_pcm snd50622  10 
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
 soundcore   5007  1 snd snd_page_alloc  6713  2 
snd_hda_intel,snd_pcm  # dmesg | grep -i hda HDA Intel :00:14.2: PCI INT 
A - GSI 16 (level, low) - IRQ 16 hda_codec: ALC892: BIOS auto-probing. HDA 
Intel :01:05.1: PCI INT B - GSI 19 (level, low) - IRQ 19 HDA Intel 
:01:05.1: setting latency timer to 64  # lspci -v 00:14.2 Audio device: 
ATI Technologies Inc SBx00 Azalia (Intel  HDA) (rev 40)Subsystem: 
Giga-byte Technology Device a102Flags: bus master, slow devsel, 
latency 32, IRQ 16Memory at fe024000 (64-bit, non-prefetchable) 
[size=16K]Capabilities: [50] Power Management version 2Kernel 
driver in use: HDA IntelKernel modules: snd-hda-intel  01:05.0 VGA 
compatible controller: ATI Technologies Inc Device 9715 (prog-if 00 [VGA 
controller])Subsystem: Giga-byte Technology Device d000Flags: 
bus master, fast devsel, latency 0, IRQ 18Memory at d000 (32-bit, 
prefetchable) [size=256M]I/O ports at de00 [size=256]Memory 
at fdee (32-bit, non-prefetchable) [size=64K]Memory at fdd0 
(32-bit, non-prefetchable) [size=1M]Expansion ROM at  [disabled]  
  Capabilities: [50] 

Re: [gentoo-user] Howzat!

2011-04-22 Thread Thanasis
on 04/22/2011 04:00 PM Neil Bothwick wrote the following:
 On Fri, 22 Apr 2011 11:12:39 +0300, Thanasis wrote:

 There you go then, it's man page time :)
 http://linux.die.net/man/1/nail
 Do you see anything relevant in the man page?  
 No, but then I don't need to look at it :)
  
 Yea, I don't think it's caused by nail.

 Why not? It's the obvious choice. Have you tried using nail's Mail from
 the command line to see if it works as you expect?


I have been using nail because it has the option to set the smtp server
to use (as an environment variable. If the smtp variable is set, a SMTP
connection to the server specified by the value of this variable is used
) and also set the [-r from-addr] option.
Can I do that with mail-client/mailx ?



[gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jarry

Hi,

I have a strange problem: whenever my web-server sends registration
emails, the sender field gets overwritten.

From: should be:

My Web Site info@mywebsite

But email is delivered to the addressee from:

added by portage for apache apache@mywebsite

Logs on my web-server indicate the mail was handed over to
the local MTA with the correct From: field. Logs on my
mail-server (which is a different machine) show it has
already received this mail for delivery with changed From
field.

In between is ssmtp, running on the same machine as web.
I'm not quite sure, because I did not find any ssmtp-logs,
but I suppose ssmtp is changing From, simply to the user
under which the process is running is substituted into
From field.

My /etc/ssmtp/ssmtp.conf (without comments) is quite simple:
root=postmaster
mailhub=mymailserver

How can I instruct ssmtp not to change From: fields
in emails?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
rewriteDomain=yourdomain.com
hostname=yourdomain.com

--
Jeremy McSpadden
def...@uberpenguin.net




On Apr 22, 2011, at 12:07 PM, Jarry wrote:

 Hi,
 
 I have a strange problem: whenever my web-server sends registration
 emails, the sender field gets overwritten.
 
 From: should be:
 
   My Web Site info@mywebsite
 
 But email is delivered to the addressee from:
 
   added by portage for apache apache@mywebsite
 
 Logs on my web-server indicate the mail was handed over to
 the local MTA with the correct From: field. Logs on my
 mail-server (which is a different machine) show it has
 already received this mail for delivery with changed From
 field.
 
 In between is ssmtp, running on the same machine as web.
 I'm not quite sure, because I did not find any ssmtp-logs,
 but I suppose ssmtp is changing From, simply to the user
 under which the process is running is substituted into
 From field.
 
 My /etc/ssmtp/ssmtp.conf (without comments) is quite simple:
 root=postmaster
 mailhub=mymailserver
 
 How can I instruct ssmtp not to change From: fields
 in emails?
 
 Jarry
 
 -- 
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.
 
 
 






[gentoo-user] Re: installing ffi gem

2011-04-22 Thread Hans de Graaff
On Thu, 21 Apr 2011 23:12:51 -0700, kashani wrote:

 On 4/21/2011 9:54 PM, Hans de Graaff wrote:

 Please note that Gentoo also supports multiple ruby implementations out
 of the box (ruby 1.8, ruby enterprise edition, jruby currently stable,
 ruby 1.9 unfortunately still masked, rubinius forthcoming).
 
   It's not about which ruby you're installing on the system, really
 anything other than 1.8.7 as system Ruby is a pain in the ass at this
 point.

This is not about the system ruby, I agree that ruby 1.8.7 is currently 
the only sane choice for that.

   Using RVM I can have all version and implementations of Ruby and
 multiple gem sets per Ruby as well. That way I can work on
 ruby-1.8.7@rail2 app or switch to ruby-1.92@rails3 which keep the gems
 separate. Also I avoid breaking the system when doing wacky things in my
 dev environment.

The Gentoo setup can do this too. It install gems for all supported, 
desired, ruby implementations, and keeps separate gem hierarchies for 
each ruby implementation, so you can use different ruby implementations 
for different applications if you want.

This is all part of the ruby-ng.eclass, which all packages in testing 
use, and which is currently being pushed into stable.

Kind regards,

Hans




Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jarry

While before From field in messages sent my web-server was:
added by portage for apache apa...@myserver.mydomain.com
(where myserver.mydomain.com is FQDN of my web-server)

After this modification I get mails from:
added by portage for apache apa...@mydomain.com

But it should come from:
Info i...@mywebdomain.com

So it is still not what I expect. I simply want ssmtp not to touch
or change from field, and let it to be as it is defined by MUA
(in this case it is php(mail) function of my web-server)...

Jarry


On 22. 4. 2011 19:44, Jeremy McSpadden wrote:

rewriteDomain=yourdomain.com
hostname=yourdomain.com

--
Jeremy McSpadden
def...@uberpenguin.net




I have a strange problem: whenever my web-server sends registration
emails, the sender field gets overwritten.

From: should be:

My Web Siteinfo@mywebsite

But email is delivered to the addressee from:

added by portage for apacheapache@mywebsite

Logs on my web-server indicate the mail was handed over to
the local MTA with the correct From: field. Logs on my
mail-server (which is a different machine) show it has
already received this mail for delivery with changed From
field.

In between is ssmtp, running on the same machine as web.
I'm not quite sure, because I did not find any ssmtp-logs,
but I suppose ssmtp is changing From, simply to the user
under which the process is running is substituted into
From field.

My /etc/ssmtp/ssmtp.conf (without comments) is quite simple:
root=postmaster
mailhub=mymailserver

How can I instruct ssmtp not to change From: fields
in emails?


--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
FromLineOverride=NO

--
Jeremy McSpadden
def...@uberpenguin.net




On Apr 22, 2011, at 1:10 PM, Jarry wrote:

 I simply want ssmtp not to touch
 or change from field, and let it to be as it is defined by MUA
 (in this case it is php(mail) function of my web-server)...
 
 Jarry





Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
What does your code look like? What application is sending the registration 
emails?

--
Jeremy McSpadden
def...@uberpenguin.net




On Apr 22, 2011, at 1:10 PM, Jarry wrote:

 While before From field in messages sent my web-server was:
   added by portage for apache apa...@myserver.mydomain.com
 (where myserver.mydomain.com is FQDN of my web-server)
 
 After this modification I get mails from:
   added by portage for apache apa...@mydomain.com
 
 But it should come from:
   Info i...@mywebdomain.com
 
 So it is still not what I expect. I simply want ssmtp not to touch
 or change from field, and let it to be as it is defined by MUA
 (in this case it is php(mail) function of my web-server)...
 
 Jarry
 
 
 On 22. 4. 2011 19:44, Jeremy McSpadden wrote:
 rewriteDomain=yourdomain.com
 hostname=yourdomain.com
 
 --
 Jeremy McSpadden
 def...@uberpenguin.net
 
 
 
 I have a strange problem: whenever my web-server sends registration
 emails, the sender field gets overwritten.
 
 From: should be:
 
 My Web Siteinfo@mywebsite
 
 But email is delivered to the addressee from:
 
 added by portage for apacheapache@mywebsite
 
 Logs on my web-server indicate the mail was handed over to
 the local MTA with the correct From: field. Logs on my
 mail-server (which is a different machine) show it has
 already received this mail for delivery with changed From
 field.
 
 In between is ssmtp, running on the same machine as web.
 I'm not quite sure, because I did not find any ssmtp-logs,
 but I suppose ssmtp is changing From, simply to the user
 under which the process is running is substituted into
 From field.
 
 My /etc/ssmtp/ssmtp.conf (without comments) is quite simple:
 root=postmaster
 mailhub=mymailserver
 
 How can I instruct ssmtp not to change From: fields
 in emails?
 
 -- 
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.
 
 
 






Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jeremy McSpadden
Sorry, that should be YES

--
Jeremy McSpadden
def...@uberpenguin.net




On Apr 22, 2011, at 1:10 PM, Jarry wrote:

 I simply want ssmtp not to touch
 or change from field, and let it to be as it is defined by MUA
 (in this case it is php(mail) function of my web-server)...
 
 Jarry






Re: [gentoo-user] Howzat!

2011-04-22 Thread Neil Bothwick
On Fri, 22 Apr 2011 18:26:09 +0300, Thanasis wrote:

  Why not? It's the obvious choice. Have you tried using nail's Mail
  from the command line to see if it works as you expect?

 I have been using nail because it has the option to set the smtp server
 to use (as an environment variable. If the smtp variable is set, a SMTP
 connection to the server specified by the value of this variable is used
 ) and also set the [-r from-addr] option.
 Can I do that with mail-client/mailx ?

Not from a quick glance at the man page. But you don't need to change
your mail program, just change the invocation in the script to match your
program.


-- 
Neil Bothwick

I'm not crying victim, but I am stating that a lot of spammers
are genuine scumbags. -Sanford Wallace


signature.asc
Description: PGP signature


Re: [gentoo-user] ssmtp rewriting From: in emails...

2011-04-22 Thread Jarry

Thanks for the tip, that was the point! After setting
FromLineOverride=YES
mails from my web-site have correct from field.

btw, I find /etc/ssmtp/ssmtp.conf a little confusing:

# Set this to never rewrite the From: line (unless not given) and to
# use that address in the from line of the envelope.
#FromLineOverride=YES

I always thought if a value in config file is commented out,
it is a default value. So I never tried to uncomment it...

Jarry

On 22. 4. 2011 20:23, Jeremy McSpadden wrote:

FromLineOverride=NO

 Sorry, that should be YES



On Apr 22, 2011, at 1:10 PM, Jarry wrote:


I simply want ssmtp not to touch
or change from field, and let it to be as it is defined by MUA
(in this case it is php(mail) function of my web-server)...



--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



[gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-22 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:


[...]

 Ah!  Here's what I found:
 http://blog.ioshints.info/2007/06/port-number-not-shown-in-access-list.html

Thanks for doing so much legwork.  

On the cisco RVS4000 v2.. I see no way to enter the syntax shown at
the URL or in your previous post.

I've put a few screen shots online that shows shots of the interface
pages involving IP acls.  

They should load in order where the top is a view of the basic
settings.

Next is the page showing existing acls and how they are displayed.

Finally the page available to add/delete acls.

[NOTE: There may be someway to just edit a text file of acls, but if
so I am not aware of it]

www.jtan.com/~reader/vu3/disp.cgi




[gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-22 Thread Harry Putnam
Todd Goodman t...@bonedaddy.net writes:

 There is a basic firewall in place with OpenWRT (enabled by default.)

 There is a a web GUI for OpenWRT (as well as with DD-WRT.)

 The web GUI supports the usual config pages as with other similar home
 routers.

 There's a status page showing the iptables chains with the packet
 counts for each rule (the most complicated page to view I'd say.)

 There's config pages for overall firewall config with default policies
 and other things such as zone config.  There's a traffic control page
 which lets you define your filter rules and a Traffic Redirection page
 which allows you to set up your port forwarding (DNAT.)

 It's quite easy to configure and doesn't require iptables knowledge.

 Though I like very much that the option is there if I want to take
 advantage of it.

[...] 

I want to thank you for providing such detailed information. It is a
very helpful reply... thanks




Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-22 Thread Mick
On 22 April 2011 20:28, Harry Putnam rea...@newsguy.com wrote:

 On the cisco RVS4000 v2.. I see no way to enter the syntax shown at
 the URL or in your previous post.

The syntax is meant to be used in the cisco configuration file itself.
 Using IOS commands you should be able to set up the same ACLs from a
terminal.


 I've put a few screen shots online that shows shots of the interface
 pages involving IP acls.

 They should load in order where the top is a view of the basic
 settings.

 Next is the page showing existing acls and how they are displayed.

 Finally the page available to add/delete acls.

I see what you mean - this GUI seems dumbed down.  In this case you
will probably have to get your hands dirty with the CLI.


 [NOTE: There may be someway to just edit a text file of acls, but if
 so I am not aware of it]

On a typical Cisco router you should be able to download/edit/upload
the configuration file from/to the router using tftp and a text
editor, or minicom and a serial cable if the router has a serial port,
or easiest method should be to login via telnet or ssh from your PC
using a terminal and run IOS configuration commands.  The Cisco
website has loads of documentation on IOS.  Something like this will
show you the ropes (although details vary depending on the version of
your firmware and platform):

http://www.cisco.com/en/US/docs/ios/fundamentals/configuration/guide/12_4/cf_12_4_book.html

BTW, your first step should be to make a back up of the current
configuration file just in case you mess things up!

HTH.
-- 
Regards,
Mick



[gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!

2011-04-22 Thread Alan Mackenzie
Hi, Gentoo.

In my attempt to 'emerge --update --deep xfce4-meta', one sole package
is refusing to build, namely pygtk.

Its log file displays many (perhaps 100) error lines like:

Could not write method AtkObject.get_attributes: No ArgType for 
AtkAttributeSet*

.  The command that caused all these errors was:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
-I/usr/include/python2.6 -I/usr/include/python2.6 -pthread 
-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./gtk 
-I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-O2 -pipe -march=athlon64 -Wall -fno-strict-aliasing -std=c9x -MT 
pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c 
pangomodule.c  -fPIC -DPIC -o .libs/pango_la-pangomodule.o

.  If anybody knows how to fix this, or a more appropriate place to ask
for help, please tell me.

Thanks in advance!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!

2011-04-22 Thread Dale

Alan Mackenzie wrote:

Hi, Gentoo.

In my attempt to 'emerge --update --deep xfce4-meta', one sole package
is refusing to build, namely pygtk.

Its log file displays many (perhaps 100) error lines like:

 Could not write method AtkObject.get_attributes: No ArgType for 
AtkAttributeSet*

.  The command that caused all these errors was:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
-I/usr/include/python2.6 -I/usr/include/python2.6 -pthread 
-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./gtk 
-I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-O2 -pipe -march=athlon64 -Wall -fno-strict-aliasing -std=c9x -MT 
pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c 
pangomodule.c  -fPIC -DPIC -o .libs/pango_la-pangomodule.o

.  If anybody knows how to fix this, or a more appropriate place to ask
for help, please tell me.

Thanks in advance!

   


I did a bit of googling and found some things to try.  Running 
etc-update was one and python-updater was another.  I also saw a mention 
of running fixlibtool but I'm not sure that helped any.


Maybe one of those will help.  Maybe worth trying at least.

Dale

:-)  :-)



Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!

2011-04-22 Thread Alan McKinnon
Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan Mackenzie 
did opine thusly:

 Hi, Gentoo.
 
 In my attempt to 'emerge --update --deep xfce4-meta', one sole package
 is refusing to build, namely pygtk.
 
 Its log file displays many (perhaps 100) error lines like:
 
 Could not write method AtkObject.get_attributes: No ArgType for
 AtkAttributeSet*
 
 .  The command that caused all these errors was:
 
 libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
 -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread
 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
 -I/usr/lib64/glib-2.0/include -I./gtk
 -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread
 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall
 -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF
 .deps/pango_la-pangomodule.Tpo -c pangomodule.c  -fPIC -DPIC -o
 .libs/pango_la-pangomodule.o
 
 .  If anybody knows how to fix this, or a more appropriate place to ask
 for help, please tell me.
 
 Thanks in advance!

This one might be tricky. Here's a tip: include version numbers of packages 
that are giving trouble, and whether you run stable, testing or (god forbid!) 
a mixture - this can be rather important in guiding one to what to do next (a 
process mostly defined by instinct rather than by say reason)

The error looks like an API break between pygtk and whatever provides 
AtkObject. That is part of the gtk accessibility toolkit, and the relevant 
files come out of a package called atk.

My first guess is that pygtk and atk are now out of sync on your machine. Try 
this:

emerge -av1 atk
emerge -av1 pygtk

Post back if that doesn't work.

Another tip: search bugs.gentoo.org first before posting - oftentimes 
theproblem is already known and reported on. In this specific case however, I 
didn't find anything.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-22 Thread Todd Goodman
* Harry Putnam rea...@newsguy.com [110422 16:00]:
 Todd Goodman t...@bonedaddy.net writes:
 
  There is a basic firewall in place with OpenWRT (enabled by default.)
 
  There is a a web GUI for OpenWRT (as well as with DD-WRT.)
 
  The web GUI supports the usual config pages as with other similar home
  routers.
 
  There's a status page showing the iptables chains with the packet
  counts for each rule (the most complicated page to view I'd say.)
 
  There's config pages for overall firewall config with default policies
  and other things such as zone config.  There's a traffic control page
  which lets you define your filter rules and a Traffic Redirection page
  which allows you to set up your port forwarding (DNAT.)
 
  It's quite easy to configure and doesn't require iptables knowledge.
 
  Though I like very much that the option is there if I want to take
  advantage of it.
 
 [...] 
 
 I want to thank you for providing such detailed information. It is a
 very helpful reply... thanks
 

You're welcome.

BTW, rereading what I wrote above, I didn't mean to imply that DD-WRT
doesn't have a basic firewall in place by default (I don't know if it
does, I'd assume so.)

Also, I've been running lots of traffic through the wireless on that
Buffalo OpenWRT box and haven't experienced any drops (the same traffic
caused a LinkSys and TrendNet box running the commercial firmware to
drop the wireless connections.)

So I'm happy with at this point.

Todd



Re: [gentoo-user] portage Digest verification failed

2011-04-22 Thread Mark Shields
On Thu, Apr 21, 2011 at 11:41 AM, Dale rdalek1...@gmail.com wrote:

 Coert Waagmeester wrote:


 Hello Dale,

 Managed to fix it.
 I downloaded a new portage snapshot, extracted it, and used a completely
 different mirror for the emerge --sync, and it worked.


 Thanks,
 Coert





 Any particular reason you downloaded a whole new snapshot?  A emerge --sync
 would do the same only faster.

 Just curious.

 Dale

 :-)  :-)


What he said.  If changing to another rsync mirror is what really fixed it,
esyncing after that would've fixed the problem.