Re: [gentoo-user] ldap client authentication

2010-11-05 Thread Ward Poelmans
On Fri, Nov 5, 2010 at 05:44, James j...@nc.rr.com wrote:
 Things just got more interesting.

 I just copied my /etc/ldap.conf file over from my Gentoo box to an
 Ubuntu box -- it works without a single hitch.

 I'm about to rip my hair out here...any ideas on where I can start
 troubleshooting this?

Put logging of PAM to the max and start looking in your pam logs. Your
ldap seems fine.

Ward



Re: [gentoo-user] ldap client authentication

2010-11-05 Thread Ward Poelmans
On Fri, Nov 5, 2010 at 17:41, James j...@nc.rr.com wrote:
 It seems that the LDAP is failing to work, as well, in CentOS 5 --
 same ldap.conf file that (a) fails in Gentoo, and (b) works in Ubuntu.

 What's the best way to star troubleshooting this from a PAM perspective?

 I have a debug line set at the bottom of the ldap.conf file, but that
 doesn't seem to be giving me enough information. Also, I've set
 'debug' at the end of every line in my /etc/pam.d/system-auth file, to
 no avail. Nothing is showing up in /var/log/debug -- PAM indicates
 that the 'debug' keyword sends messages to syslog for processing.

adding the debug keyword to the pam module doesn't do anything but in ldap.conf:
logdir directory
Specifies the directory used for logging by the LDAP client
library. This feature is not supported by all client libraries.
debug level
Specifies the debug level used for logging by the LDAP client
library. This feature is not supported by all client libraries, and
does not apply to the nss_ldap and pam_ldap modules themselves
(debugging, if any, is configured separately and usually at compile
time).

Ward



Re: [gentoo-user] ldap client authentication

2010-11-05 Thread Ward Poelmans
On Fri, Nov 5, 2010 at 20:46, James j...@nc.rr.com wrote:
 The logdir is filled with empty files that, in the name of the file,
 has the pid of the pam process. However, these files are empty and
 they do not have anything in them.

 Thoughts?

Try putting the compile time debugging options on?

Ward



Re: [gentoo-user] [OT] Problems with libvirt / qemu

2010-10-11 Thread Ward Poelmans
On Sun, Oct 10, 2010 at 16:05, Dan Johansson dan.johans...@dmj.nu wrote:

    disk type='file' device='disk'
      source file='/var/lib/kvm/Wilmer/Wilmer.qcow2'/
      target dev='hda' bus='ide'/
      address type='drive' controller='0' bus='0' unit='0'/
    /disk

On my system, this section looks like:
disk type='file' device='disk'
  driver name='qemu' type='qcow2'/
  source file='image.qcow2'/
  target dev='vda' bus='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x04'
function='0x0'/
/disk

Try adding driver name='qemu' type='qcow2'/ to yours?

Ward



Re: [gentoo-user] flash changes

2010-06-21 Thread Ward Poelmans
On Mon, Jun 21, 2010 at 05:40, W.Kenworthy bi...@iinet.net.au wrote:
 So is there anything better for flash when using firefox to browse the
 web?

You can try gnash.

Ward



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-26 Thread Ward Poelmans
On Wed, May 26, 2010 at 19:52, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:
 However, I STILL can't get the server to start. And now I don't know what
 may be the issue, as slaptest is coming back OK. Any ideas?

Try running slapd -d 65535 and tell us what it says.

Ward



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-26 Thread Ward Poelmans
On Wed, May 26, 2010 at 20:36, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:
 Ran the command: /usr/lib/openldap/slapd -F /etc/openldap/ -d 65535

 See attached as the output was long.

 Not sure what is going on. Any help would be appreciated.

Are you sure you specified a rootdn and rootpw and that they are correct?

I cann't tell what goes wrong, it starts correctly and that it goes
wrong and terminates.

Maybe you should post this on the openldap mailing list?

Ward



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Ward Poelmans
On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:
 OK, I did that, but the output is hard to parse through. Attached is text of
 this command:

 /etc/init.d/slapd --debug restart

That puts the debug of the init scripts on, not of openldap. Try:
slapd -d 65535

That should give you all the debugging output of slapd.

Ward



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Ward Poelmans
On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:

 XX~ # slaptest

 hdb_db_open: warning - no DB_CONFIG file found in directory
 /var/lib/openldap-data: (2).

 Expect poor performance for suffix dc= ,dc=XXX.

 hdb_db_open: database dc= ,dc=XXX:
 db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
 directory (2).

 backend_startup_one (type=hdb, suffix=dc=,dc=XXX): bi_db_open
 failed! (2)

 slap_startup failed (test would succeed using the -u switch)

 So, I am guessing I need to initialize somehow? Is that right?

Normally, if the directory /var/lib/openldap-data/ exists and is
read-writeable for the user under which slapd is running, slapd
creates the database for you. But you beter copy a DB_CONFIG to there
for good perfomance.

Ward



Re: [gentoo-user] Ldap authentication issues.

2010-05-03 Thread Ward Poelmans
On Mon, May 3, 2010 at 09:41, Indexer inde...@internode.on.net wrote:
 I am currently trying to make a ldap server which i can use to authenticate 
 users. Sadly a large number of how to's are incomplete and don't work, so 
 after reading alot of how to's and manuals I have got 99.9% of the way. On 
 attempting to authenticate a user it denies the user access with a error from 
 auth.log

 May  4 02:21:08 nemo sshd[1271]: error: PAM: authentication error for william 
 from 172.20.0.1


What does you ssh file in /etc/pam.d look like?

Ward



Re: [gentoo-user] rsync backup system

2010-03-17 Thread Ward Poelmans
On Thu, Feb 25, 2010 at 17:11, Ward Poelmans wpoel...@gmail.com wrote:
 On Thu, Feb 25, 2010 at 16:41, Alan McKinnon alan.mckin...@gmail.com wrote:
 A much better way is to run a dedicated agent on the client. If the server
 needs to schedule backups, it can ask the agent to do so using regular tcp
 traffic. The client can then do it's backup and rsync it over to the server
 when it's done, and that push can be done as a regular user on both ends. The
 actual backing up on the client must be done by root of course, no other user
 has the necessary access.

If anyone is still interested, i had some time and this is what i did:

On the client:
rsync -a -X -b --backup-dir=../backup.0/ --link-dest=../backup.0/
/home/ward backupserver:Backup-Laptop/backup.cur/
ssh backupserver /home/ward/shiftbackups.sh

This makes a directory backup.cur on the backupserver with a full
backup in it, but it's exactly only a incremental backup as it
hardlinks from backup.0 (the previous backup). The script
shiftbackups.sh moves backup.0 to backup.1 and backup.cur to backup.0
and so on...

This does more or less exactly what i wanted.

Regards,

Ward



Re: [gentoo-user] rsync backup system

2010-02-26 Thread Ward Poelmans
On Thu, Feb 25, 2010 at 18:50, daid kahl daid...@gmail.com wrote:

 As a simple idea, cron task starts rsnapshot configured however.  When
 this is done, backup is tarballed, and tarball is given as like, say,
 440 permissions, where users are in some useful 'backup' group, then
 while tarball can be read to be passed across server, if tarball is
 extracted, user has no more privs then they have on the system anyway
 (I'm not saying chmod -R).  Then local tarball can be removed or
 whatever.

It's not a bad idea, but you need enough free space on the client to
backup the entire system (which for me is not the case). Secondly,
every backup you do is a full backup as rsnapshot needs to access a
backup todo a incremental backup. You could mess around with something
like sshfs but's it's not great either. A straight rsync between
client and server could do it but it would suprise me if this doesn't
already exist in some form.

Regards,

Ward



Re: [gentoo-user] rsync backup system

2010-02-25 Thread Ward Poelmans
On Wed, Feb 24, 2010 at 21:51, Neil Bothwick n...@digimed.co.uk wrote:

 It looks interesting, and no program is that good that alternatives
 should never be considered, but I really like the way BaclupPC works.
 Everything is handled by the server, all you need to do on each client is
 copy the backuppc user's public key to /root/.ssh/authorized_keys.

Well, that's one of the things i don't like. Is there backup software
where the client does the backup to the server and not the server
fetching the backup from the client? I can't find a good way to take
regular backup's from laptop that come and go.

Regards,

Ward



Re: [gentoo-user] rsync backup system

2010-02-25 Thread Ward Poelmans
On Thu, Feb 25, 2010 at 16:41, Alan McKinnon alan.mckin...@gmail.com wrote:
 A much better way is to run a dedicated agent on the client. If the server
 needs to schedule backups, it can ask the agent to do so using regular tcp
 traffic. The client can then do it's backup and rsync it over to the server
 when it's done, and that push can be done as a regular user on both ends. The
 actual backing up on the client must be done by root of course, no other user
 has the necessary access.

Sounds great. Is there any software that works this way?

Ward



Re: [gentoo-user] Gentoo on SSD

2010-02-16 Thread Ward Poelmans
On Tue, Feb 16, 2010 at 22:04, Grant emailgr...@gmail.com wrote:
  I thought SSDs were projected to
 last longer than HDs?  Also, from what I've read, SLC should last much
 longer than MLC.

It's the other way round: HD's last longer dan SSD's. [1]

[1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages

Regards,

Ward



Re: [gentoo-user] [footnote] The purpose of pam

2010-01-28 Thread Ward Poelmans
On Wed, Jan 27, 2010 at 23:04, Mick michaelkintz...@gmail.com wrote:
 What would be the pam-way to only allow remote ssh logins using pubkeys and
 completely forbid ssh paswd?  I used to remove allow pam from sshd_config.  Is
 there a better pam-centric way of doing the same thing?

Put PasswordAuthentication to no in you sshd_config?

Ward



Re: [gentoo-user] How to determine if a NIC is playing gigabit?

2010-01-18 Thread Ward Poelmans
On Mon, Jan 18, 2010 at 12:50, Stroller strol...@stellar.eclipse.co.uk wrote:
 I'm not ruling out the cable, because it's pretty beat up (but the switch
 *is* lighting up as 1000), but how do I determine, please, that the Linux
 server at the other end is recognising the NIC and negotiating as gigabit
 speeds?

If i recall correct, you just have to take a look at the kernel log's
(dmesg): it says if it has a 100 mbps or 1 gbps link connection.

Ward



Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Ward Poelmans
On Tue, Dec 22, 2009 at 04:22, Dale rdalek1...@gmail.com wrote:
 Hi folks,

 Me again.  I'm thinking about writing a bash script that backs up my /home
 directory.  I found a guide but before I read all that stuff and muddy up
 the waters, is this thing current and will it work fine with the bash Gentoo
 uses?

You should take a look at rsnapshot ( http://rsnapshot.org/ ). I use
it and it works perfectly. But it's written in perl and not bash, i'm
afraid.

Ward



Re: [gentoo-user] Writing a bash script or thinking about it anyway.

2009-12-22 Thread Ward Poelmans
On Tue, Dec 22, 2009 at 16:39, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 22 Dec 2009 16:08:18 +0100, Ward Poelmans wrote:

 You should take a look at rsnapshot ( http://rsnapshot.org/ ). I use
 it and it works perfectly. But it's written in perl and not bash, i'm
 afraid.

 That misses the point. This isn't really about making backups, it's about
 learning to write shell scripts. Backing up is just the project that Dale
 has chosen for this first effort, at least that's how I read it.

Sorry, i've read the original message a bit too fast. But it's still
worth to take a look at how rsnapshot works if you want to write
anything yourself. I think that the combination of rsync and hardlinks
is quite effective and fast.

Ward



Re: [gentoo-user] rsync backup system

2009-11-20 Thread Ward Poelmans
On Thu, Nov 19, 2009 at 19:19, Grant emailgr...@gmail.com wrote:
 BackupPC does look pretty good.  Would anyone recommend I *don't* can
 this whole thing and set up BackupPC instead?

I recommend you take a look at rsnapshot instead of pure rsync.

Ward



Re: [gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-21 Thread Ward Poelmans
On Mon, Sep 21, 2009 at 17:43,  meino.cra...@gmx.de wrote:
 By the way: Calling fetchmal -d from ~/.openbox/autostart.sh also does
 not work, but other programs started from there do have no problems.

Try running fetchmail -d -v --logfile ~/fetchmail.log in your
autostart or cron and see if fetchmail gets started and if it gives
any kind of error.

Ward



Re: [gentoo-user] ati-drivers to radeon

2009-09-21 Thread Ward Poelmans
On Mon, Sep 21, 2009 at 19:10, James wirel...@tampabay.rr.com wrote:
 VIDEO_CARDS=radeon vesa
 (I keep vesa for a backup)

 emerge -C ati-drivers

 run 'qlist -I -C x11-drivers/'

 and rebuild the list of supporting drivers?
 reboot

 ???  that simple or did I miss something?

Yes, change your xorg.conf. Change 'Driver fglx' to 'Driver radeon'.

Ward



Re: [gentoo-user] fcron fetchmail procmail and the why not?

2009-09-20 Thread Ward Poelmans
On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:

 When using the line:

    @ 5 fetchmail -a

 nothing happens: The mail remains on the server and can be downloaded
 with

    fetchmail -a

 from the commandline.

 May be I am a little overhacked today...but what the hack I am doing
 wrong here?

Are you sure the cron job runs? Check the logs. Or try adding:
*/5 * * * * fetchmail -a
in your cron file.

Ward



Re: [gentoo-user] *** WARNING *** - upgrade to libxcb-1.4 (-r1) breaks your system

2009-09-15 Thread Ward Poelmans
On Tue, Sep 15, 2009 at 10:51, Jorma Airola juggernaut...@gmail.com wrote:

 Same here, no breakage on my laptop or desktop.

  I have used  dev-util/lafilefixer few time with --justfixit option
 few times,could that be the reason for smooth upgrade?

Did you remove the lib libxcb-xlib.so or is it still there?

Ward



Re: [gentoo-user] Hal mount .iso

2009-08-24 Thread Ward Poelmans
On Mon, Aug 24, 2009 at 11:26, Daniel Troederdan...@admin-box.com wrote:
 On Mon, 2009-08-24 at 10:03 +0400, Top Point wrote:
 Hi.
 Can hal mount .iso 9660 by loop device? I can mount .iso manually but
 I
 want to do it automatically by hal.
 Do you want to mount it by right-clicking it in a graphical
 environment like GNOME or KDE?

 If that is what you want, in GNOME you could just drop a shell script in
 ~/.gnome2/nautilus-scripts that does mount $@. I don't know about KDE,
 but I'm sure there is something similar.


try 
http://g-scripts.sourceforge.net/nautilus-scripts/File%20System%20Management/Mount_Image



Re: [gentoo-user] problems with the web browsers

2009-08-16 Thread Ward Poelmans
On Sun, Aug 16, 2009 at 18:40, M Daniel R M4.maga...@gmail.com wrote:
 firefox: Here the problem is very very annoying, I've run firefox before
 with many other Linux flavours and never..., never got to this status of
 inability; once you've got about six tabs opened on the same frame
 window, firefox gets close to hang, and you become unable to manage it
 anymore, unless you have an infinite patience. Doing top from a CLI
 shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the
 process from console.

Have you tried running firefox with all your extensions and plugins
disabled? Which version of firefox are you running and what use flags
do you use?

Ward



Re: [gentoo-user] Knock on wood

2009-08-12 Thread Ward Poelmans
On Wed, Aug 12, 2009 at 14:28, Etaoin Shrdlushr...@unlimitedmail.org wrote:
 Any advice on this kind of situation? I would rather not buy a backup
 laptop.

 Keeping the previous (working) kernel, and having a rescue disk around usually
 is enough to fix most kinds of breakages. Also building binary packages is
 useful for quickly restored broken packages (FEATURES=buildpkg or something
 like that in make.conf).

Ubuntu on a USB drive is very helpfull in all kinds of situations ;-)
And it's a lot cheaper then a backup laptop.

Ward



Re: [gentoo-user] Knock on wood

2009-08-12 Thread Ward Poelmans
On Wed, Aug 12, 2009 at 14:51, Volker Armin
Hemmannvolkerar...@googlemail.com wrote:
 systemrescuecd is even more helpfull

Yes, but a ubuntu (or any distro) on an usb drive is more usefull
IMHO. An usb drive is smaller and less fragile then a cd so it's a
better choice when you are very mobile. It also has the advantage of
having a writeable home directory. You can easily add or remove
programs, download drivers (on another pc if nessecary). You can even
use FAT so you can add files on a windows machine.

I always have an usb drive with Ubuntu with me for when my or any
other pc fails. With it, you can preform miracles ;-)

Ward



[gentoo-user] firefox Illegal instruction

2009-07-01 Thread Ward Poelmans
Hi,

Start from yesterday, firefox doesn't work anymore. When started, it
crashes with the message illegal instruction. I've upgraded to the
lastest version of xulrunner and firefox but that doesn't change
anything. It's an x86-64 system. I've moved my .mozilla directory and
disable all plugins (even tried starting firefox in safe mode) but the
problem remains. epiphany has the same problem. Does any one know why
this happens and how i can solve it? Below you find the output of
strace (only the last 100 lines).

Thanks in advance.

Ward

strace output:
write(33, \316 \2609..., 4)   = 4
lseek(33, 37448, SEEK_SET)  = 37448
write(33, \0\0\0\2..., 4) = 4
lseek(33, 37452, SEEK_SET)  = 37452
write(33, 
\r\17\200\0\5\16\357\0\17\260\17R\17!\17\214\16\357\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,
4096) = 4096
lseek(33, 41548, SEEK_SET)  = 41548
write(33, \316 \260\244..., 4)= 4
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
lseek(33, 41552, SEEK_SET)  = 41552
write(33, \0\0\0\20..., 4)= 4
lseek(33, 41556, SEEK_SET)  = 41556
write(33, 
\n\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,
4096) = 4096
lseek(33, 45652, SEEK_SET)  = 45652
write(33, \316 \2609..., 4)   = 4
lseek(33, 45656, SEEK_SET)  = 45656
write(33, \0\0\0\17..., 4)= 4
lseek(33, 45660, SEEK_SET)  = 45660
write(33, 
\r\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,
4096) = 4096
lseek(33, 49756, SEEK_SET)  = 49756
write(33, \316 \2609..., 4)   = 4
lseek(33, 49760, SEEK_SET)  = 49760
write(33, \0\0\0\22..., 4)= 4
lseek(33, 49764, SEEK_SET)  = 49764
write(33, 
\n\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,
4096) = 4096
lseek(33, 53860, SEEK_SET)  = 53860
write(33, \316 \2609..., 4)   = 4
lseek(33, 53864, SEEK_SET)  = 53864
write(33, \0\0\0\21..., 4)= 4
lseek(33, 53868, SEEK_SET)  = 53868
write(33, 
\r\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,
4096) = 4096
lseek(33, 57964, SEEK_SET)  = 57964
write(33, \316 \2609..., 4)   = 4
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
stat(/etc/localtime, {st_dev=makedev(8, 1), st_ino=30258,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=2944, st_atime=2009/07/01-11:03:23,
st_mtime=2009/06/27-13:13:03, st_ctime=2009/06/27-13:13:03}) = 0
access(/home/ward/.mozilla/firefox/pux6s0ci.default/prefs.js, F_OK) = 0
lstat(/home, {st_dev=makedev(254, 3), st_ino=2,
st_mode=S_IFDIR|0755, st_nlink=5, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2009/06/30-11:06:26,

Re: [gentoo-user] Problem with the graphic card

2009-06-22 Thread Ward Poelmans
On Mon, Jun 22, 2009 at 09:52, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:

 When it says to switch set the VIDEO_CARDS, I thought it meant since
 Gentoo switched all ebuilds to the upstream naming
 x11-drivers/xf86-video-intel, if you want to switch to the old
 xf86-video-i810, set the VIDEO_CARDS variable to intel 

It just means that you need to change the VIDEO_CARDS to include
intel. So, what you need to do is set VIDEO_CARDS to contain the
string intel. With this variable, gentoo controls which drivers are
being built when you emerge xorg-x11, mesa, etc

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-22 Thread Ward Poelmans
On Mon, Jun 22, 2009 at 13:16, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:
 Done. After that I did:

 emerge -av xf86-video-intel
 killall -1 X

Did you merge mesa again? Did you follow the guide to the letter?

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-22 Thread Ward Poelmans
On Mon, Jun 22, 2009 at 16:51, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:

 So I think that's a permission problem now.

Check /dev/video* en /dev/dri*

Try adding,
Section DRI
Mode 0666
EndSection

To your xorg.conf file.
If that doesn't work, take a look into Xorg.0.log.

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-22 Thread Ward Poelmans
On Mon, Jun 22, 2009 at 17:08, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:
 Finally it works!

Great :)

 I just had to add my user to the 'video' group.

 Shouldn't new user be added to such groups by default?

We're Gentoo, not Ubuntu ;-)

 driconf, always says

 Xlib:  extension XFree86-DRI missing on display :0.0.

You safely ignore that.

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-20 Thread Ward Poelmans
On Fri, Jun 19, 2009 at 17:50, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:

 However (but maybe I've understood wrong), it says that I have to define
 that variable only if I want to use the old xf86-video-i810 name. If I don't
 define that, I should use the new name (xf86-video-intel).
 Do I get any improvement using the old one (and, is that a good idea?) ?

No, it says you should set that variable regardless of what driver you use.

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-19 Thread Ward Poelmans
On Fri, Jun 19, 2009 at 13:32, Vasya Volkovmy.pipes.b...@gmail.com wrote:

 For swithcing back just erase strings that you add to package.mask and
 then reemerge packets. Don't forget that xorg-1.5* and 1.3* are
 different. Read upgrade guide.

Are you sure that's a good idea? He has an GM45 which was only
released last year. Isn't this driver older than that?

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-19 Thread Ward Poelmans
2009/6/19 Massimiliano Ziccardi massimiliano.zicca...@gmail.com:
 Thank you all. I think I'll wait, however, do you think that that is the
 problem that cause

Did you enable intel in VIDEO_CARDS for mesa?

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-19 Thread Ward Poelmans
On Fri, Jun 19, 2009 at 17:32, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:
 Do you mean into the xorg.conf file (I'm not very expert in configuring
 X...)?

 In my previous mail I sent the xorg.conf file. Do I have to change
 something?

Your xorg.conf is fine. Take a look at make.conf. Somewhere you should
define a variable VIDEO_CARDS than contains the string intel. If
not, add it and remerge mesa. Take a look at the HOWTO Adam suggested,
http://en.gentoo-wiki.com/wiki/Intel_GMA It's all explained over
there.

Ward



Re: [gentoo-user] Problem with the graphic card

2009-06-18 Thread Ward Poelmans
On Thu, Jun 18, 2009 at 16:08, Massimiliano
Ziccardimassimiliano.zicca...@gmail.com wrote:
 Can someone give me some hint about what to do/what to check?

Can you tell use the hardware you are using (lspci) and contents of
your xorg.conf file and Xorg.0.log file.

Regards,

Ward



Re: [gentoo-user] inkscape won't start

2009-06-14 Thread Ward Poelmans
On Sun, Jun 14, 2009 at 01:17, Michael P.
Souliermsoul...@digitaltorque.ca wrote:
 Wow. How'd I get in this state?

Try unmerging app-text/poppler*. It's being replaced by dev-libs/poppler*

Ward



Re: [gentoo-user] change output of passwd

2009-05-28 Thread Ward Poelmans
On Wed, May 27, 2009 at 14:55, Raul Gonzales rg0...@googlemail.com wrote:
 To something like:
 New UNIX password:
 BAD PASSWORD: password must be at least 6 characters long and must contain
 at least 1 digit, 1 special character

Write a patch for the program? Make a new translation of the program?

Ward



Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext

2009-05-28 Thread Ward Poelmans
On Thu, May 28, 2009 at 21:13, Stroller strol...@stellar.eclipse.co.uk wrote:

 I'm not absolutely sure that the USE flags enable hand-written assembler
 code, but what I do know is that:

Don't make it more difficult then it is. SSE, etc means the CPU
support a certain set of instructions. When you enable the use flag
for it, mplayer will make use of the instructions. And to do that, it
will use assembly if necessary. If you want to know where and how,
take a look at the mplayer source code. For example the file
libavcodec/x86/h264_idct_sse2.asm does exactly what the name suggests.

Ward



Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext

2009-05-28 Thread Ward Poelmans
On Thu, May 28, 2009 at 22:19, Stroller strol...@stellar.eclipse.co.uk wrote:
 What's the difference between supporting the certain set of instructions
 with -march= and doing so with USEs?

 Or doesn't -march= support additional certain sets of instructions. What
 does it do, then?

The difference is that with the USE flag, you enable the use of
assembly code in the source of mplayer that makes use of the certain
set of instructions. The -march option enables the use of the
certain set of instructions when gcc is optimizing and so gcc will
use the certain set of instructions when it converts the source code
into assembly code.

Ward



Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext

2009-05-27 Thread Ward Poelmans
On Wed, May 27, 2009 at 21:57, Wyatt Epp wyatt@gmail.com wrote:
 Reading this thread, though, it seems like it would be useful to have a
 FEATURES=cpudetection for Portage.  I honestly don't understand why the user
 should have to be arsed to set those USEs manually if they don't actually
 care about moving binary packages around.  Thoughts?

W're gentoo users, we like being in control and don't like it when a
program thinks for us.

Ward



Re: [gentoo-user] is packages.gentoo.org down?

2009-05-07 Thread Ward Poelmans
On Thu, May 7, 2009 at 15:56, Andrew Gaydenko a...@gaydenko.com wrote:
 ... or is it for me only?

it's down here too.



[gentoo-user] Re: gnome-terminal GNU screen

2009-05-04 Thread Ward Poelmans
On Sun, Apr 5, 2009 at 21:25, Ward Poelmans wpoel...@gmail.com wrote:

 I've got a problem running screen in a gnome-terminal: all the usual
 keystroks (for example: ^a c) don't work. When i press ctrl+a d, i
 just get a d on the terminal. Screen works perfectly when i start it
 in a xterm.
 I haven't got a clue where to search for the problem. Any ideas?

A small follow up:
i've discoverd the source of the problem: the a en q key are switched.
When i use ^q everything works as it should. But i my screenrc it
says: escape ^aa. My keyboard layout is azerty (using evdev  hal).
In every other program, ^a (select-all) works as it should. Any idea
why in gnome-terminal, ^a and ^q are switched?

Thanks,

Ward



Re: [gentoo-user] [OT:netiquete] was AUTO: Martin...

2009-04-28 Thread Ward Poelmans
On Tue, Apr 28, 2009 at 21:26, thomas blomme blommetho...@gmail.com wrote:
 Is there a way in gmail to put top-posting off?

Not that i know of. But there is a Quote selected text feature in labs.

Ward



Re: [gentoo-user] gnome-terminal GNU screen

2009-04-06 Thread Ward Poelmans
On Mon, Apr 6, 2009 at 12:20, Steffen Loos fe...@gmx.net wrote:
 Steffen Loos schrieb:

 I would assume gnome-terminal is eating your ctrl-a ;-)

 you can have a look on your settings with:
 ssty -a

 if ^A is set up to an action.

Using ^Tt as the default works, so ^Aa is getting eating by somebody
but i can't find who.
stty -a gives:
speed 38400 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?;
swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

I can see nothing about ^A? Any idea how i can find who is eating ^A?

Thanks for the help!

Ward



[gentoo-user] gnome-terminal GNU screen

2009-04-05 Thread Ward Poelmans
Hi,

I've got a problem running screen in a gnome-terminal: all the usual
keystroks (for example: ^a c) don't work. When i press ctrl+a d, i
just get a d on the terminal. Screen works perfectly when i start it
in a xterm.
I haven't got a clue where to search for the problem. Any ideas?

Thanks.

Ward



Re: [gentoo-user] Howto use user CSS with Firefox?

2008-09-27 Thread Ward Poelmans
On Sat, Sep 27, 2008 at 19:09, Robin Atwood [EMAIL PROTECTED] wrote:
 but it makes absolutely no difference. Anybody had any luck with this?

try Greasemonkey?

Ward



Re: [gentoo-user] X screen resolution

2008-08-22 Thread Ward Poelmans
On Fri, Aug 22, 2008 at 05:06, Adam Carter [EMAIL PROTECTED] wrote:
  X is starting in 1280x1024, however i want it to start in
 1600x1200. At the
  moment im using xrandr to set it manually after i start X.
 
  Here's my config; the Modeline is required.

 Can you show us your complete xorg.conf?

 Its in the middle of getting hacked around, so there's a few inconsistancies 
 as I'm also trying to get 1920x1200 working. Its still always starts at 
 1280x1024 however.


Hm, I don't see anything strange. Maybe in the rest of your Xorg.0.log?

Ward



Re: [gentoo-user] X screen resolution

2008-08-21 Thread Ward Poelmans
On Wed, Aug 20, 2008 at 03:35, Adam Carter [EMAIL PROTECTED] wrote:
 X is starting in 1280x1024, however i want it to start in 1600x1200. At the
 moment im using xrandr to set it manually after i start X.

 Here's my config; the Modeline is required.

Can you show us your complete xorg.conf?

Ward



Re: [gentoo-user] df and du difference

2008-08-16 Thread Ward Poelmans
On Sat, Aug 16, 2008 at 07:50,  [EMAIL PROTECTED] wrote:

 the difference between du and df is about 640 - 188 = 452 MB. and df is
 showing  that my root is full  2.4 times more than du.

 which one is the correct one? I've another server that this difference is
 about 7 GiG and on that server root is 80% full.  The type of partition is
 ext3.

Next to the difference due journaling etc, there is one important
difference between du en df:
deleted files held open by a running process. du doesn't count these
files, df does.
You can find those files with lsof | grep deleted. Try closing the
process with deleted files and suddenly your du en df will give the
same free diskspace.
Ofcourse, a reboot does also the trick.

Ward



Re: [gentoo-user] Sudo config

2008-06-21 Thread Ward Poelmans
2008/6/20 Stroller [EMAIL PROTECTED]:

 On my systems I have only seen this *every* time I `sudo` when my clock has
 been broken.

That's because the lecture option has the value of once and when your
time is messed up, it resets.
Try adding:
Defaults !lecture
to your sudoers. No need to emerge ntp for that.

Ward
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Enabling Hald services

2008-06-21 Thread Ward Poelmans
2008/6/21 Norman Hakim [EMAIL PROTECTED]:
 Thank you. After i run this script /etc/init.d/hald start and with
 rc-update add hald default using in root and i connect my external
 harddisk,it detects my external but after i double click to open it,nothing
 happen,i cant open my external drive.

By detected you mean what? You can see an icon on your desktop for
your external drive?
Run mount and dmesg see what it tell's ya.

 My questions from my previous  email was when i want to open Removable Media
 application there is a popup telling me that Volume Management is not
 supported and asked me to enable hald services.

Which desktop manager are you using? Gnome, KDE, xfce, ... ?
Do you have enfin rights? You need to member of certain groups (but i
can't remember which ones)
What does id tell you?

Ward
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Enabling Hald services

2008-06-21 Thread Ward Poelmans
2008/6/21 Norman Hakim [EMAIL PROTECTED]:
 Yes,i can the icon but i cannot open it,after i click it nothing happen. Is
 it i have to Run mount and dmesg using terminal? i'm using Gnome desktop
 manager,the id stated is 1000.

So when you click, nothings happens? No error message?
id should tell you a bit more. It should be something like:
uid=501(user) gid=501(user) groups=501(user),80(admin)

To make automount work, you need to be a member of a couple of groups.

Ward
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] boot error - udevd-event

2008-06-21 Thread Ward Poelmans
2008/6/21 dhk [EMAIL PROTECTED]:
 udevd-event[3796]: node symlink: rename(/dev/fb.udev-tmp, /dev/fb) failed:
 Is a directory

Check your udev rules. I think he tries to make a symlink to /dev/fb
but it's a directory so he can't.

Ward
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] boot error - udevd-event

2008-06-21 Thread Ward Poelmans
2008/6/21 dhk [EMAIL PROTECTED]:
 I looked in /etc/udev/rules.d but I not sure how all that's used.  What are
 the rules suppose to be?

Here you can find everything about udev rules:
http://reactivated.net/writing_udev_rules.html

You should look for a rule that with SYMLINK=/dev/fb or something alike in it.

Ward
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sudo config

2008-06-20 Thread Ward Poelmans
2008/6/20 Paul Melvin [EMAIL PROTECTED]:
 1.get rid of all the text

Add:
Defaults !lecture

to you sudoers file

 2.change the password line to something, dare I say it, like ubuntu, e.g.
 [sudo] password for paul, I assume paul is just a $USER

Look at the sudoers man page. It's all there.

Ward
-- 
gentoo-user@lists.gentoo.org mailing list