Re: [gentoo-user] [Way OT] dial-up, switching isp's and other thoughts.

2008-09-13 Thread Christian Franke

On 09/12/2008 12:55 PM, Robert Bridge wrote:

On Fri, 12 Sep 2008 08:42:09 +0200
Alan McKinnon <[EMAIL PROTECTED]> wrote:

On Friday 12 September 2008 02:51:21 Dale wrote:

Get a Yahoo email account and pay for POP access, about $20.00 a
year I think.

Use Gmail rather. It's cheaper - can't get cheaper than free - and
just works better.

I second the Gmail suggestion, though Yahoo does provide free POP
access as it happens (I have it).


I use Yahoo (with POP) only because I do not want my email address to change. 
What has to be added about this: getting a POP or SMTP connection with SSL as 
transport is kind of gambling on Yahoo's servers, at least in Germany.



My logic for seconding the suggestion is I have recently experienced
e-mails from my server going missing after entering the Yahoo system.
They are the ONLY email provider where this has happened to me.


This comes from Yahoo's spam policies and their idea of defending spam. They 
send '451 Message temporarily deferred' to all not white-listed mail servers, 
which results either in a very long time for delivery or in the mail not being 
delivered at all. [1,2,Personal Experience]


To put it in a nutshell, I would prefer gmail over Yahoo-mail, even if there are 
some discussions about privacy issues with gmail.


[1] http://help.yahoo.com/l/us/yahoo/mail/postmaster/postmaster-25.html
[2] http://www.ahfx.net/weblog.php?article=107

Best Regards,
Christian Franke



signature.asc
Description: OpenPGP digital signature


[gentoo-user] How to minimise resource usage during emerge

2008-09-13 Thread Hilco Wijbenga
I have a very small virtual server (just 64MB RAM, no swap) where I'm
trying to install Gentoo. It fails to emerge binutils due to out of
memory. According to the handbook I need 64MB RAM and 256MB swap as a
bare minimum so this result is not entirely unexpected.

Given that I can't add a swapfile (simply not possible in this virtual
server) is the only option more RAM? If yes, then what is the minimum?
Are there ways to reduce the amount of memory used by emerge?

Cheers,
Hilco



[gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Nikos Chantziaras

Hilco Wijbenga wrote:

I have a very small virtual server (just 64MB RAM, no swap) where I'm
trying to install Gentoo. It fails to emerge binutils due to out of
memory. According to the handbook I need 64MB RAM and 256MB swap as a
bare minimum so this result is not entirely unexpected.

Given that I can't add a swapfile (simply not possible in this virtual
server) is the only option more RAM? If yes, then what is the minimum?
Are there ways to reduce the amount of memory used by emerge?


64MB is not enough, not by any stretch of the imagination.  Not for 
running the system, but for emerge.  512MB should be there for building 
with -O2.  At *least* 384MB.  You'll have a hard time compiling the 
compiler itself though; RAM usage with -O2 goes up to 700MB.


With that being said, you can minimize RAM usage by using -O1, or even 
-O0 to switch off the optimizer completely.  The runtime speed of the 
built programs won't be to your liking though.


The only real option is to get more RAM.




[gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Nikos Chantziaras

Nikos Chantziaras wrote:

[...]
The only real option is to get more RAM.


Another option is to emerge on another machine, build binary packages 
and emerge those in the embedded system.





Re: [gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Justin

Nikos Chantziaras schrieb:

Nikos Chantziaras wrote:

[...]
The only real option is to get more RAM.


Another option is to emerge on another machine, build binary packages 
and emerge those in the embedded system.



Or mount / as nfs on another machine, chroot in that and compile. This 
skips the whole extraction part on the embedded system.


What about temporary giving the VM more resources?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to minimise resource usage during emerge

2008-09-13 Thread Erik Hahn
You could get a bit more memory with compcache, but I doubt it would be 
sufficent.

-Erik



[gentoo-user] DRI with two graphics cards

2008-09-13 Thread Xav'

Hi list,

 I have now two graphics cards (one ATI Radeon X1600 and one Nvidia 
8500 GT) will also two screens, one on each card.
 I want to have dual-head configuration to works properly but one 
question come to my mind : what eselect opengl can i do ?


Many thanks for your answers.

Xavier



Re: [gentoo-user] Portage mirrors difference???

2008-09-13 Thread Iain Buchanan

pk wrote:

Iain Buchanan wrote:

pk wrote:

Hello,


[snip]


Right now I have a GLSA warning on the european configured one:
200808-12 [N] Postfix: local...

On the other one there is no GLSA warning, although both wants to
upgrade to postfix 2.5.5


how did you run glsa-check? With 'affected', 'all', or 'new'?


"glsa-check -l | grep -i '\[n\]'"


This has been like this for about a week now. Does anyone know why
this difference occurs? I'm just curious...


Have you synced both machines again recently? glsa-check only updates
it's information when you sync portage, so it could be that one rsync
server had the advisory before the other one, and you just synced
while they were different.


Well, just for the sake of it I tried it again (both machines are
sync'ed right now). The "european" shows the GLSA for Postfix. The other
one doesn't show anything.

When I do "emerge --with-bdeps y -DupN world", Portage wishes to upgrade
both machines to Postfix-2.5.5. Strange...


OK, first lets see that both machines have the same advisory:

glsa-check -l | grep -i postfix

If so, perhaps the "non-affected" machine says [A] or [U].  Could you 
have already applied an update?  Perhaps the update was in a pre 2.5.5 
version of postfix that you applied to one machine only?



Thanks for answering!


np!  cya,
--
Iain Buchanan 

There's something different about us -- different from people of Europe,
Africa, Asia ... a deep and abiding belief in the Easter Bunny.
-- G. Gordon Liddy



[gentoo-user] ldap samba pdc problem

2008-09-13 Thread Arunas
Hello,

 

I'm trying to run ldap samba pdc, but have one problem.

 

smbpassword -w password

Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb

 

 

But when I'm trying this: net getlocalsid DOMAIN

I'm getting this:

 

[2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982)

  failed to bind to server ldap://127.0.0.1/ with
dn="cn=manager,dn=example,dn=net" Error: Invalid DN syntax

invalid DN

[2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651)

  Can't fetch domain SID for name: DOMAIN

 

>From smb.conf:

ldap suffix = dc=example,dc=net

ldap admin dn = cn=root,dn=example,dn=net

ldap group suffix = ou=Groups

ldap user suffix = ou=Users

ldap machine suffix = ou=Computers

ldap idmap suffix = ou=Idmap

 

testparm /etc/samba/smb.conf

Load smb config files from /etc/samba/smb.conf

Processing section "[netlogon]"

Processing section "[profiles]"

Processing section "[homes]"

Processing section "[public docks]"

Loaded services file OK.

Server role: ROLE_DOMAIN_PDC

 

Arunas


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] How to minimise resource usage during emerge

2008-09-13 Thread Alan McKinnon
On Saturday 13 September 2008 10:32:20 Hilco Wijbenga wrote:
> I have a very small virtual server (just 64MB RAM, no swap) where I'm
> trying to install Gentoo. It fails to emerge binutils due to out of
> memory. According to the handbook I need 64MB RAM and 256MB swap as a
> bare minimum so this result is not entirely unexpected.
>
> Given that I can't add a swapfile (simply not possible in this virtual
> server) is the only option more RAM? If yes, then what is the minimum?
> Are there ways to reduce the amount of memory used by emerge?
>
> Cheers,
> Hilco

Do you have another more powerful gentoo machine available where you can build 
the packages there and install just binaries on the virtual server?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Alan McKinnon
On Saturday 13 September 2008 00:43:43 Alan Mackenzie wrote:
> 
> Sorry, it's difficult.  My router, and its ~160 pages of doku are utter
> crap.  The configuration program (over a web browser ) explodes things in
> my face each time the mouse moves, and I can't even guess what the
> designer was smoking when he grouped the various items together.  It's
> impossible (for me, at least) to get a mental picture of what's going on.

You don't have to be an accessory to your router developer's dumbass idea of 
how to do name resolution. Just tell your work station what you want IT to 
use.

Do you know your ISPs name server? Try

dig a www.google.com @

If it works real quick, set that name server in resolv.conf and tell your 
local dhcp client to NOT overwrite resolv.conf



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Portage mirrors difference???

2008-09-13 Thread pk

Iain Buchanan wrote:

OK, first lets see that both machines have the same advisory:

glsa-check -l | grep -i postfix

If so, perhaps the "non-affected" machine says [A] or [U].  Could you 
have already applied an update?  Perhaps the update was in a pre 2.5.5 
version of postfix that you applied to one machine only?


Ah, yes. I've updated the european one to Postfix 2.4.9 but the other 
one is still 2.4.7-r1. Strange though that 2.4.9 gives me the warning 
and not 2.4.7-r1, but I guess that only the 2.4.9 version has the local 
privilege escalation bug.


Ok, thanks for clearing this up!

Best regards

Peter K, missing his thinking cap... ;-)



Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Stroller


On 12 Sep 2008, at 21:59, Alan Mackenzie wrote:

...
/etc/resolv.conf:
## 
###

# Generated by dhcpcd for interface eth0
search Speedport_W_700V
nameserver 192.168.2.1
## 
###


I might remove the "search" line. That tells your computer to search  
for google.com.Speedport_W_700V if no IP address is found.



I do # route (as root), and get this:
## 
###

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref 
Use Iface
192.168.2.0 *   255.255.255.0   U 0   
00 eth0
link-local  *   255.255.0.0 U 0   
00 eth0
loopback*   255.0.0.0   U 0   
00 lo
default speedport.ip0.0.0.0 UG0   
00 eth0
## 
###


I'd also specify 192.168.2.1 as the default route explicitly, rather  
than by name.


Stroller.



Re: [gentoo-user] How to minimise resource usage during emerge

2008-09-13 Thread Justin

Alan McKinnon schrieb:

On Saturday 13 September 2008 10:32:20 Hilco Wijbenga wrote:
  

I have a very small virtual server (just 64MB RAM, no swap) where I'm
trying to install Gentoo. It fails to emerge binutils due to out of
memory. According to the handbook I need 64MB RAM and 256MB swap as a
bare minimum so this result is not entirely unexpected.

Given that I can't add a swapfile (simply not possible in this virtual
server) is the only option more RAM? If yes, then what is the minimum?
Are there ways to reduce the amount of memory used by emerge?

Cheers,
Hilco



Do you have another more powerful gentoo machine available where you can build 
the packages there and install just binaries on the virtual server?



  

Thats exactly what Nikos suggested!!!



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Stroller


On 12 Sep 2008, at 23:43, Alan Mackenzie wrote:

...
Hidden in the middle of the dumbed-down doku, it says that the router
"must use the DynDNS service of some provider, e.g.  or 2>.

Details of how to use a particular service can be found on the
corresponding web page."


This is unrelated.

In Dyndyns the internet looks up you!
http://www.dyndns.org


, the sort of thing that makes me scream.  And
that's it.  There is nothing there to say "the address of the  
actual name

server in use is secret"...


The "Primärer DNS-Server" and "Sekundärer DNS-Server" are surely  
issued dynamically by the ISP at the same time they issue the router  
its IP addy and are probably shown on the router's status page.  
Sometimes there's an "advanced" status page or a "more information"  
link on the router's webpage.


Flag down a passing local with the words "'scuse me, Hans!" and get  
him to translate pages 70 / 74 (depending on which way you count) of  
the manual at .


Stroller.


Re: [gentoo-user] [Way OT] dial-up, switching isp's and other thoughts.

2008-09-13 Thread Stroller


On 13 Sep 2008, at 09:28, Christian Franke wrote:

...
I use Yahoo (with POP) only because I do not want my email address  
to change. What has to be added about this: getting a POP or SMTP  
connection with SSL as transport is kind of gambling on Yahoo's  
servers, at least in Germany.


Get an alternative email address now and start slowly migrating to  
it. In 5 years time you will no longer be using your Yahoo address  
and you will be able to drop it and save $20 per year. I appreciate  
it is a great deal of inconvenience to *suddenly* drop a current  
email addy, but you'll find it less of a hardship in some years time  
to drop an addy you no longer have a need for.


I would advise getting your own domain because then you are no longer  
ultimately beholden to any 3rd-party provider. You can change to  
someone who gives a better service or run your own mail-server,  
handle inbound SMTP and have *complete* control over incoming mail.


I advise this as someone who has been locked out of his Yahoo account  
- they arbitrarily changed my password and refuse to help me using  
any of their password recovery mechanisms. (if anyone can suggest a  
real & useful way of resolving this I would love to hear it)


After writing this I realise I've advised you to save $20 a year, but  
that the domain will have costs associated (since you're on dial-up  
you can't fully self-host, as I do). Maybe just start using an  
additional Gmail account now and worry about the domain in the  
future. You can get a free email domain from eu.org and you can  
probably find a DNS host who will redirect your mail to a yahoo  
address cheaply, though.


Stroller.



Re: [gentoo-user] ldap samba pdc problem

2008-09-13 Thread raptor
When you call

$ net getlocalsid DOMAIN

I don't know if you have to add DOMAIN to your command,
Try simply whithout and see if it's work:

$ net getlocalsid

As I have to setup a PDC using openldap and samba for my work I have
re-wrote an article describing the whole setup I have done, perhaps you
could also find some usefull information here:

http://www.drakonix.fr/index.php?id=gentoo&tab=21&pid=20

And excuse me for my poor english :)

Hope it will help

Fred
> Hello,
>
>
>
> I'm trying to run ldap samba pdc, but have one problem.
>
>
>
> smbpassword -w password
>
> Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb
>
>
>
>
>
> But when I'm trying this: net getlocalsid DOMAIN
>
> I'm getting this:
>
>
>
> [2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982)
>
>   failed to bind to server ldap://127.0.0.1/ with
> dn="cn=manager,dn=example,dn=net" Error: Invalid DN syntax
>
> invalid DN
>
> [2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651)
>
>   Can't fetch domain SID for name: DOMAIN
>
>
>
> From smb.conf:
>
> ldap suffix = dc=example,dc=net
>
> ldap admin dn = cn=root,dn=example,dn=net
>
> ldap group suffix = ou=Groups
>
> ldap user suffix = ou=Users
>
> ldap machine suffix = ou=Computers
>
> ldap idmap suffix = ou=Idmap
>
>
>
> testparm /etc/samba/smb.conf
>
> Load smb config files from /etc/samba/smb.conf
>
> Processing section "[netlogon]"
>
> Processing section "[profiles]"
>
> Processing section "[homes]"
>
> Processing section "[public docks]"
>
> Loaded services file OK.
>
> Server role: ROLE_DOMAIN_PDC
>
>
>
> Arunas
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>


-- 
http://www.drakonix.fr




Re: [gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Simon

Yup, and on mine, here's what I do:
I emerge all on one machine, which uses distcc on 2 other machines.  Once 
machine1 is up2date, i rsync the binpkgs to machine2 and emerge using -k this 
time, all are installed by binary, those that are not found are emerged 
normally. Same process on last machine and bingo!


This is more how to maximize resource usage, in a way.


Nikos Chantziaras wrote:

Nikos Chantziaras wrote:

[...]
The only real option is to get more RAM.


Another option is to emerge on another machine, build binary packages 
and emerge those in the embedded system.








[gentoo-user] Re: Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Harry Putnam
Alan Mackenzie <[EMAIL PROTECTED]> writes:

> Anyhow, it is surely not the router setup which is the problem - name
> lookup works fine under my Debian sarge system.

Is the sarge system pointed at the same router for default route?

Show first line of /etc/hosts

Show Sarge system /etc/resolv.conf and first line of /etc/hosts

Surely your router has a `status' screen.  It should show you current
IP and DNS servers.

Otherwise hit this page
http://www.jtan.com/~reader/
to learn your outer IP address

With that you can learn the nameservers for a domain...

Sorry I can't remember which tool or arguments do this but it is
possible to lookup a domain name and be shown the nameservers that
serve that domain.   Not sure if its nslookup, dig, whois or something
else but maybe some kind soul will post the command and arguments that
will retrieve that info.

Once you've ascertained that actual outer nameserver.  Put that in
/etc/resolv.conf and see if it makes a difference.




[gentoo-user] Re: Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Harry Putnam
Harry Putnam <[EMAIL PROTECTED]> writes:

> Otherwise hit this page
>
> to learn your outer IP address

Sorry I left out the final part of the address:

 http://www.jtan.com/~reader/remote_addr.cgi




Re: [gentoo-user] Rhythmbox gnome shortcuts not working after portage update

2008-09-13 Thread Mark David Dumlao
bump

On Thu, Sep 11, 2008 at 9:07 PM, Mark David Dumlao
<[EMAIL PROTECTED]> wrote:
> Here I go again, breaking stuff without knowing what's going on! ^___^'
>
> As the topic title says, my rhythmbox's gnome shortcuts aren't working
> after running uDNav world. It's been a while since I ran uDNav, so the
> jump must have been somewhat major... I'm guessing some default
> configuration or use flag was stepped on, but I don't know what use
> flag or config I should be looking for!
>
> Rhytmbox shortcuts!
> I'm a gnome fan and I use the keyboard shortcuts to give me media
> player control. Using gnome,
> under System->Preferences->Keyboard Shortcuts,
> I give myself various keyboard shortcuts.
>
> They are all working, except...
> Keyboard shortcuts has a "Previous Track" and "Next Track" bindings,
> along with play/pause and other things used to control media players.
> Prior to my update, I assigned Ctrl + Alt + PageUp / PageDown /
> Spacebar for previous, next and play/pause. None of them are working
> after my update - I press the shortcuts and nothing happens. I
> rechecked the keyboard shortcut dialogue after the update, and sure
> enough the bindings haven't changed, and changing them to some other
> combination results in any joy.
>
> Where do I look? It's gotta be a use flag I think...
>
> ===
> [EMAIL PROTECTED]:~$ eix rhythmbox
> [I] media-sound/rhythmbox
> Available versions:  0.10.1-r1 ~0.11.2-r1 ~0.11.5 ~0.11.5-r1
> ~0.11.6 {X cdr daap dbus debug doc flac gnome-keyring hal ipod
> libnotify lirc mad mtp musicbrainz python tagwriting vorbis}
> Installed versions:  0.10.1-r1(08:17:54  PHT Wednesday, 30 July,
> 2008)(dbus flac hal libnotify mad musicbrainz python tagwriting vorbis
> -daap -debug -doc -gnome-keyring -ipod -lirc)
> Homepage:http://www.rhythmbox.org/
> Description: Music management and playback software for GNOME
>



Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Daniel Beecham
On Sat, 2008-09-13 at 14:59 +0100, Stroller wrote:
> On 12 Sep 2008, at 21:59, Alan Mackenzie wrote:
> > ...
> > I do # route (as root), and get this:
> > ## 
> > ###
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref 
> > Use Iface
> > 192.168.2.0 *   255.255.255.0   U 0   
> > 00 eth0
> > link-local  *   255.255.0.0 U 0   
> > 00 eth0
> > loopback*   255.0.0.0   U 0   
> > 00 lo
> > default speedport.ip0.0.0.0 UG0   
> > 00 eth0
> > ## 
> > ###
> 
> I'd also specify 192.168.2.1 as the default route explicitly, rather  
> than by name.
> 
> Stroller.
> 

I think that route rDNS'es the host, and is not set.
I could be wrong though.

--
Daniel.




Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?

2008-09-13 Thread Neil Bothwick
On Sat, 13 Sep 2008 18:21:05 +0200, Daniel Beecham wrote:

> I think that route rDNS'es the host, and is not set.
> I could be wrong though.

It does, use route -n to prevent this.


-- 
Neil Bothwick

If it isn't broken, I can fix it.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Hilco Wijbenga
On Sat, Sep 13, 2008 at 01:49, Nikos Chantziaras <[EMAIL PROTECTED]> wrote:
> Hilco Wijbenga wrote:
>> I have a very small virtual server (just 64MB RAM, no swap) where I'm
>> trying to install Gentoo. It fails to emerge binutils due to out of
>> memory. According to the handbook I need 64MB RAM and 256MB swap as a
>> bare minimum so this result is not entirely unexpected.
>>
>> Given that I can't add a swapfile (simply not possible in this virtual
>> server) is the only option more RAM? If yes, then what is the minimum?
>> Are there ways to reduce the amount of memory used by emerge?
>
> 64MB is not enough, not by any stretch of the imagination.  Not for running
> the system, but for emerge.  512MB should be there for building with -O2.
>  At *least* 384MB.  You'll have a hard time compiling the compiler itself
> though; RAM usage with -O2 goes up to 700MB.

I assume you mean RAM + swap? Because I have a virtual machine
(VirtualBox) on my home box with 256MB which works perfectly
(including compiling GCC multiple times). It does have lots of swap,
though.

> With that being said, you can minimize RAM usage by using -O1, or even -O0
> to switch off the optimizer completely.  The runtime speed of the built
> programs won't be to your liking though.

I've never tried not using -O2. Is the difference really that noticeable?

> The only real option is to get more RAM.

That means paying more. :-) I don't want to do that until I'm sure
this virtual box satisfies my requirements.



Re: [gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Hilco Wijbenga
On Sat, Sep 13, 2008 at 02:10, Justin <[EMAIL PROTECTED]> wrote:
> Nikos Chantziaras schrieb:
>>
>> Nikos Chantziaras wrote:
>>>
>>> [...]
>>> The only real option is to get more RAM.
>>
>> Another option is to emerge on another machine, build binary packages and
>> emerge those in the embedded system.

Yeah, it looks like this is the way to go. I've never used binary
packages so this will be an interesting exercise.

> Or mount / as nfs on another machine, chroot in that and compile. This skips
> the whole extraction part on the embedded system.

Interesting. I'm not sure if I can, though. I don't have control of
the kernel. I'll investigate.

> What about temporary giving the VM more resources?

Nope, not possible unless I pay more. I had intended to simply use a
big swap file but even that doesn't work. This virtual box doesn't
support it.



[gentoo-user] Re: How to minimise resource usage during emerge

2008-09-13 Thread Nikos Chantziaras

Hilco Wijbenga wrote:

On Sat, Sep 13, 2008 at 02:10, Justin <[EMAIL PROTECTED]> wrote:

Nikos Chantziaras schrieb:

Nikos Chantziaras wrote:

[...]
The only real option is to get more RAM.

Another option is to emerge on another machine, build binary packages and
emerge those in the embedded system.


Yeah, it looks like this is the way to go. I've never used binary
packages so this will be an interesting exercise.


If the other machine has its packages compiled with the same "-march" 
GCC flag as the embedded one, you can simply do:


  quickpkg atom

This will simply create a binary package of the specified package atom 
without compiling anything (it will use the existing installation of the 
package).  This will of course only work if the package is already 
installed.  If not, use emerge to compile and build the package without 
actually installing it.


The only thing to keep in mind is the -march flag.  It must be for the 
embedded system, not the current system.





Re: [gentoo-user] How to minimise resource usage during emerge

2008-09-13 Thread Alan McKinnon
On Saturday 13 September 2008 16:10:02 Justin wrote:

> > Do you have another more powerful gentoo machine available where you can
> > build the packages there and install just binaries on the virtual server?
>
> Thats exactly what Nikos suggested!!!

Yeah, funny that. Maybe you can write the new RFC to synchronize all reply 
mail to all other replies anywhere in the world.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] totem-gstreamer: poor performance with all video

2008-09-13 Thread Bob

Hi,

All sorts of videos work fine with mplayer, xine and vlc, but gnome seems hell 
bent on using totem for everything with only the gstreamer backend.

As is, I get unwatchable performance using the totem-gstreamer combo, video is 
choppy and even short videos take a good number of seconds to load.

In the past I have used totem-xine and it was perfect, all I needed really, but 
there is not the option to use the xine backend anymore :(

- I have tried setting the video out options in gstreamer-properties to all 
sorts with no change in results.
- I have tried both the open source ati driver and the proprietary fglrx one.
- I even tried installing Ubuntu but get exactly the same results there.

Nothing seems to change the situation, and am not sure where to go from here.

Does anyone else have similar problems? I can't help but think gstreamer has it 
in for me...

Any advice or sympathy would be appreciated.

Cheers



Re: [gentoo-user] ldap samba pdc problem

2008-09-13 Thread Norberto Bensa

Quoting [EMAIL PROTECTED]:


Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb



Your DN is wrong. Probably you meant:

  cn=manager,dc=example,dc=net




This message was sent using IMP, the Internet Messaging Program.





[gentoo-user] totem-gstreamer: poor performance with all video

2008-09-13 Thread Bob

Hi,

All sorts of videos work fine with mplayer, xine and vlc, but gnome seems hell 
bent on using totem for everything with only the gstreamer backend.

As is, I get unwatchable performance using the totem-gstreamer combo, video is 
choppy and even short videos take a good number of seconds to load.

In the past I have used totem-xine and it was perfect, all I needed really, but 
there is not the option to use the xine backend anymore :(

- I have tried setting the video out options in gstreamer-properties to all 
sorts with no change in results.
- I have tried both the open source ati driver and the proprietary fglrx one.
- I even tried installing Ubuntu but get exactly the same results there.

Nothing seems to change the situation, and am not sure where to go from here.

Does anyone else have similar problems? I can't help but think gstreamer has it 
in for me...

Any advice or sympathy would be appreciated.

Cheers

p.s. sorry for the dupe post if you got both, first time I've posted here.



[gentoo-user] Trying to block third party ip address with iptables...

2008-09-13 Thread pk

Hello,

I am using shorewall on my local computer (the same I'm surfing the web 
with). My skills with iptables are not really good and my understanding 
of networking also has some holes in it... However, I'm trying to 
prevent firefox from accessing a third party site; I'm logging onto a 
site with firefox. With netstat I can see that besides the usual ip 
address belonging to the site another ip-address (not belonging to the 
original site) shows up. While trying to block the additional ip address 
with both "iptables -A INPUT -s  -j DROP" and "iptables -A OUTPUT -d 
 -j DROP" it still sends a SYN request to this site. This makes 
firefox just sit there waiting for a time-out. How can I prevent firefox 
from accessing the other site, while still accessing the original one?


Best regards

Peter K



Re: [gentoo-user] Trying to block third party ip address with iptables...

2008-09-13 Thread Dale

pk wrote:

Hello,

I am using shorewall on my local computer (the same I'm surfing the 
web with). My skills with iptables are not really good and my 
understanding of networking also has some holes in it... However, I'm 
trying to prevent firefox from accessing a third party site; I'm 
logging onto a site with firefox. With netstat I can see that besides 
the usual ip address belonging to the site another ip-address (not 
belonging to the original site) shows up. While trying to block the 
additional ip address with both "iptables -A INPUT -s  -j DROP" 
and "iptables -A OUTPUT -d  -j DROP" it still sends a SYN request 
to this site. This makes firefox just sit there waiting for a 
time-out. How can I prevent firefox from accessing the other site, 
while still accessing the original one?


Best regards

Peter K




Would adblock work for this?  Just block the address you don't want it 
to access.


Dale

:-)  :-) 



Re: [gentoo-user] Trying to block third party ip address with iptables...

2008-09-13 Thread Michal 'vorner' Vaner
Hello

On Sat, Sep 13, 2008 at 11:36:13PM +0200, pk wrote:
> I am using shorewall on my local computer (the same I'm surfing the web 
> with). My skills with iptables are not really good and my understanding of 
> networking also has some holes in it... However, I'm trying to prevent 
> firefox from accessing a third party site; I'm logging onto a site with 
> firefox. With netstat I can see that besides the usual ip address belonging 
> to the site another ip-address (not belonging to the original site) shows 
> up. While trying to block the additional ip address with both "iptables -A 
> INPUT -s  -j DROP" and "iptables -A OUTPUT -d  -j DROP" it still 
> sends a SYN request to this site. This makes firefox just sit there waiting 
> for a time-out. How can I prevent firefox from accessing the other site, 
> while still accessing the original one?

If I let aside it is quite odd it would have accessed two sites at once
(either a virus/cracked computer or one is just closed, or maybe just an
external image), using DROP is plain wrong. You should REJECT (or it is
reject, I'm not sure about the case) the packets (at output in this
case).

DROP causes the packet to get blackholed without a trace. It sometimes
happens to packets on internet so it is usual to try again and again
until it succeeds or timeout (usually in tens of seconds) is reached.

If you reject it (either with port or destination unreachable or even
with "administratively filtered"), the other side knows it has no reason
to try again and reports failure right away and saves the traffic and
resources by not trying.

Some people say drop does not show you exist but reject does. That is
wrong too, destination unreachable means "There is no such machine with
this IP", so it should hide the whole machine better than drop (if I
send packets and no errors nor responses come, I suspect a firewall as
well as malfunction).

Does this help?

Have a nice help

-- 
BOFH Excuse #452:
Somebody ran the operating system through a spelling checker.

Michal 'vorner' Vaner


pgpdBMlpOEeal.pgp
Description: PGP signature


Re: [gentoo-user] Trying to block third party ip address with iptables...

2008-09-13 Thread Raptor
> Hello,
>
> I am using shorewall on my local computer (the same I'm surfing the web
> with). My skills with iptables are not really good and my understanding
> of networking also has some holes in it... However, I'm trying to
> prevent firefox from accessing a third party site; I'm logging onto a
> site with firefox. With netstat I can see that besides the usual ip
> address belonging to the site another ip-address (not belonging to the
> original site) shows up. While trying to block the additional ip address
> with both "iptables -A INPUT -s  -j DROP" and "iptables -A OUTPUT -d
>  -j DROP" it still sends a SYN request to this site. This makes
> firefox just sit there waiting for a time-out. How can I prevent firefox
> from accessing the other site, while still accessing the original one?
>
> Best regards
>
> Peter K
>
>
Couldn't you use squid as a proxy and squidguard for filtering the site
you want to access or block?
As an example if you access a web site which have link to advertisement
third party site, you could use squiguard to block the ad and let you
browse the content of the original website.

I know this approach doesn't use iptables but perhaps it could help you...


-- 
http://www.drakonix.fr




[gentoo-user] SSH fixed; now su doesn't work

2008-09-13 Thread Michael Sullivan
I can ssh over to the old box now, but my su command doesn't work:


[EMAIL PROTECTED] ~ $ su -
su: Authentication failure

>From /var/log/messages:

Sep 13 23:23:07 bullet sshd[24134]: pam_unix(sshd:session): session
opened for user michael by (uid=0)
Sep 13 23:23:10 bullet su[24142]: FAILED su for root by michael
Sep 13 23:23:10 bullet su[24142]: - pts/1 michael:root

At first, I thought I might not be in the wheel group, so I checked:

bullet log # grep wheel /etc/group
wheel:x:10:root,michael,amy

What have I done wrong this time?  (I know somebody's going to gripe at
me about using the root account this way; don't bother.  There are far
too many tasks I do every day that require root privileges to configure
them all for sudo...)




Re: [gentoo-user] SSH fixed; now su doesn't work

2008-09-13 Thread Michael Sullivan
On Sat, 2008-09-13 at 23:27 -0500, Michael Sullivan wrote:
> I can ssh over to the old box now, but my su command doesn't work:
> 
> 
> [EMAIL PROTECTED] ~ $ su -
> su: Authentication failure
> 
> >From /var/log/messages:
> 
> Sep 13 23:23:07 bullet sshd[24134]: pam_unix(sshd:session): session
> opened for user michael by (uid=0)
> Sep 13 23:23:10 bullet su[24142]: FAILED su for root by michael
> Sep 13 23:23:10 bullet su[24142]: - pts/1 michael:root
> 
> At first, I thought I might not be in the wheel group, so I checked:
> 
> bullet log # grep wheel /etc/group
> wheel:x:10:root,michael,amy
> 
> What have I done wrong this time?  (I know somebody's going to gripe at
> me about using the root account this way; don't bother.  There are far
> too many tasks I do every day that require root privileges to configure
> them all for sudo...)
> 
> 

Please disregard what I said about sudo.  I was misinformed.  I was told
that every command I wanted to use as a regular user that required root
privileges had to be listed in /etc/sudoers.  Now I see that that is not
true.  I apologize for my ignorance...




Re: [gentoo-user] SSH fixed; now su doesn't work [SOLVED, sort of]

2008-09-13 Thread Michael Sullivan
On Sat, 2008-09-13 at 23:36 -0500, Michael Sullivan wrote:
> On Sat, 2008-09-13 at 23:27 -0500, Michael Sullivan wrote:
> > I can ssh over to the old box now, but my su command doesn't work:
> > 
> > 
> > [EMAIL PROTECTED] ~ $ su -
> > su: Authentication failure
> > 
> > >From /var/log/messages:
> > 
> > Sep 13 23:23:07 bullet sshd[24134]: pam_unix(sshd:session): session
> > opened for user michael by (uid=0)
> > Sep 13 23:23:10 bullet su[24142]: FAILED su for root by michael
> > Sep 13 23:23:10 bullet su[24142]: - pts/1 michael:root
> > 
> > At first, I thought I might not be in the wheel group, so I checked:
> > 
> > bullet log # grep wheel /etc/group
> > wheel:x:10:root,michael,amy
> > 
> > What have I done wrong this time?  (I know somebody's going to gripe at
> > me about using the root account this way; don't bother.  There are far
> > too many tasks I do every day that require root privileges to configure
> > them all for sudo...)
> > 
> > 
> 
> Please disregard what I said about sudo.  I was misinformed.  I was told
> that every command I wanted to use as a regular user that required root
> privileges had to be listed in /etc/sudoers.  Now I see that that is not
> true.  I apologize for my ignorance...
> 
> 

It turns out that sudo will let me do what I used to do logged in as
root with su -




Re: [gentoo-user] SSH fixed; now su doesn't work

2008-09-13 Thread Daniel Beecham
On Sat, 2008-09-13 at 23:36 -0500, Michael Sullivan wrote:
> On Sat, 2008-09-13 at 23:27 -0500, Michael Sullivan wrote:
> > I can ssh over to the old box now, but my su command doesn't work:
> > 
> > 
> > [EMAIL PROTECTED] ~ $ su -
> > su: Authentication failure
> > 
> > >From /var/log/messages:
> > 
> > Sep 13 23:23:07 bullet sshd[24134]: pam_unix(sshd:session): session
> > opened for user michael by (uid=0)
> > Sep 13 23:23:10 bullet su[24142]: FAILED su for root by michael
> > Sep 13 23:23:10 bullet su[24142]: - pts/1 michael:root
> > 
> > At first, I thought I might not be in the wheel group, so I checked:
> > 
> > bullet log # grep wheel /etc/group
> > wheel:x:10:root,michael,amy
> > 
> > What have I done wrong this time?  (I know somebody's going to gripe at
> > me about using the root account this way; don't bother.  There are far
> > too many tasks I do every day that require root privileges to configure
> > them all for sudo...)
> > 
> > 
> 
> Please disregard what I said about sudo.  I was misinformed.  I was told
> that every command I wanted to use as a regular user that required root
> privileges had to be listed in /etc/sudoers.  Now I see that that is not
> true.  I apologize for my ignorance...
> 
> 

Or you could do sudo -i or sudo -s...
But that's not a good solution, up to fix su!
(Although, I can't help you. The info you gave us is not much, but I
can't help getting any more...)
:-)

--
Daniel.




Re: [MBZ] SDL a/c not working

2008-09-13 Thread Luther
Belt, tensioner, shock, spring, a/c compressor are all brand new from 
Rusty.  Compressor was just installed a couple weeks ago.  The other 
parts were done when I installed the 22 head. 
I will check the speed wiring etc after this weekend.  It keeps doing 
this run then off thing only when the car is cold.  Turning the car off 
and on won't kick it back on.  It has to cool off.

Luther

Peter Frederick wrote:
> in cool weather, that's about right.
>
> You will have to check out the speed sensor, the wiring, and the  
> pushbutton unit, sadly.
>
> The wires for the speed sensor can break at the pin on the  
> compressor, or the solder can crack there, causing an intermittant  
> poor connection.
>
> Also verify the condition of the belt and tensioner -- the car will  
> run just fine with broken tensioner spring except that the AC will  
> keep kicking out.  A slipping belt will do it, and so will a back AC  
> compressor.
>
> Check the clutch on the compressor for excessive heat after a short  
> run -- if it slips, the compressor will be shut off by the KLIMA  
> until the ignition is cycled on and off (this is a quick test for a  
> bad clutch or cos-only was a BIG mistake.
>
> And as kdesvn-portage shows - it was unneeded. 'We need the features of
> paludis' was shown as bs. Just another little trick by the paludis-group to
> convert people.
>
> Luckily that failed. You don't need it.
>
>