[gentoo-user] python2.4-python2.5-import gtk error

2008-08-12 Thread Ow Mun Heng
Just upgraded from 2.4 to 2.5 of python and I'm finding that I have
issues with importing gtk.

I have no idea what is happening and I've tried various methods of
upgrading/re-compiling/downgrading pygobject  pygtk and python and glib
and pycairo and cairo and a whole host of other packages and still this
error.

Google is not my friend unfortunately. I saw something like this from a
debian bug report
http://www.mail-archive.com/[EMAIL PROTECTED]/msg186144.html



Python 2.5.2 (r252:60911, Aug  7 2008, 23:56:43)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2
Type help, copyright, credits or license for more information.
 import gtk
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, line 38, in 
module
import gobject as _gobject
  File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py, line 30, 
in module
from gobject.constants import *
  File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py, line 
22, in module
from _gobject import type_from_name
ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so: 
undefined symbol: PyGILState_Release


emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.5-r4, 
2.6.17-gentoo-r8 i686)
=
System uname: 2.6.17-gentoo-r8 i686 Pentium II (Deschutes)
Timestamp of tree: Mon, 11 Aug 2008 14:15:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.3 [enabled]
app-shells/bash: 3.2_p33
dev-lang/python: 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.3
sys-apps/baselayout: 1.11.14-r6
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium2 -O2 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /var/bind
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo
CXXFLAGS=-march=pentium2 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox 
sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://mirror.averse.net/pub/gentoo/ 
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
http://gentoo.kems.net ftp://ftp.twaren.net/Linux/Gentoo/ 
http://mirrors1.mirrors.64hosting.com/pub/mirrors/gentoo/ 
http://mirror.gentoo.gr.jp;
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats 
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/portage/local/layman/webapps-experimental 
/usr/local/portage
SYNC=rsync://rsync.jp.gentoo.org/gentoo-portage
USE=apache2 bash-completion berkdb bzip2 cjk crypt hardened logrotate memlimit 
mmx ncurses nls nptl ntpl ntplonly pam perl pic python readline samba session 
snmp ssl syslog tcpd unicode userlocales utf8 x86 xml xml2 zlib 
ALSA_CARDS=ali5451 
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1  emu10k1x ens1370 
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m   
maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 
mulaw multi null plug rate route share shm softvol 
APACHE2_MODULES=actions alias auth_basic auth_digest authn_anon authn_dbd 
authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
dav dav_fs dav_lock dbd deflate dir disk_
cache env expires ext_filter file_cache filter headers ident imagemap include 
info log_config logio mem_cache mime mime_magic 
negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite 
setenvif so speling status unique_id userdir usertrack vhost_alias 
ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=apm ark chips cirrus cyrix 
dummy fbdev glint i128 i740 i810 imstt   mach64 mga 
neomagic nsc nv r128 radeon rendition s3 s3virge savage  siliconmotion sis 
sisusb tdfx tga trident tseng v4l vesa vga via vmware
 voodoo
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, 
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, 
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTs



Re: [gentoo-user] python2.4-python2.5-import gtk error

2008-08-12 Thread Ow Mun Heng
On Tue, 2008-08-12 at 16:52 +0800, Jan Schneiders wrote:
 After updating python you always have to run the python updater
 script:
 
 # python-updater
 
 (or did you do that already?)

I did and it updated a bunch of stuffs and I've also um-merged 2.4 and
then now trying to retrace steps (by giving 2.5 the boot as i'm lost as
to what to do)


 
 On Aug 12, 2008, at 10:43 AM, Ow Mun Heng wrote:
 
  Just upgraded from 2.4 to 2.5 of python and I'm finding that I have
  issues with importing gtk.
 
  I have no idea what is happening and I've tried various methods of
  upgrading/re-compiling/downgrading pygobject  pygtk and python and 
  glib
  and pycairo and cairo and a whole host of other packages and still 
  this
  error.
 
  Google is not my friend unfortunately. I saw something like this 
  from a
  debian bug report
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg186144.html
 
 
 
  Python 2.5.2 (r252:60911, Aug  7 2008, 23:56:43)
  [GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2
  Type help, copyright, credits or license for more
 information.
  import gtk
  Traceback (most recent call last):
   File stdin, line 1, in module
   File /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, 
  line 38, in module
 import gobject as _gobject
   File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
  __init__.py, line 30, in module
 from gobject.constants import *
   File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
  constants.py, line 22, in module
 from _gobject import type_from_name
  ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
  _gobject.so: undefined symbol: PyGILState_Release
 
 
  emerge --info
  Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, 
  glibc-2.5-r4, 2.6.17-gentoo-r8 i686)
  =
  System uname: 2.6.17-gentoo-r8 i686 Pentium II (Deschutes)
  Timestamp of tree: Mon, 11 Aug 2008 14:15:01 +
  distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 
  3632) [disabled]
  ccache version 2.3 [enabled]
  app-shells/bash: 3.2_p33
  dev-lang/python: 2.5.2-r7
  dev-python/pycrypto: 2.0.1-r6
  dev-util/ccache: 2.3
  sys-apps/baselayout: 1.11.14-r6
  sys-apps/sandbox:1.2.18.1-r2
  sys-devel/autoconf:  2.13, 2.61-r2
  sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-
  r1, 1.10.1
  sys-devel/binutils:  2.18-r3
  sys-devel/gcc-config: 1.4.0-r4
  sys-devel/libtool:   1.5.26
  virtual/os-headers:  2.6.23-r3
  ACCEPT_KEYWORDS=x86
  CBUILD=i686-pc-linux-gnu
  CFLAGS=-march=pentium2 -O2 -pipe
  CHOST=i686-pc-linux-gnu
  CONFIG_PROTECT=/etc /var/bind
 
 CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-
 
 active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /
  etc/terminfo
  CXXFLAGS=-march=pentium2 -O2 -pipe
  DISTDIR=/usr/portage/distfiles
  FEATURES=buildpkg ccache distlocks metadata-transfer
 parallel-fetch 
  sandbox sfperms strict unmerge-orphans userfetch
  GENTOO_MIRRORS=http://mirror.averse.net/pub/gentoo/
 http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
  http://gentoo.kems.net ftp://ftp.twaren.net/Linux/Gentoo/
 http://mirrors1.mirrors.64hosting.com/pub/mirrors/gentoo/
   http://mirror.gentoo.gr.jp;
  MAKEOPTS=-j3
  PKGDIR=/usr/portage/packages
  PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms
 --times 
  --compress --force --whole-file --delete --stats
  --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/
  packages
  PORTAGE_TMPDIR=/var/tmp
  PORTDIR=/usr/portage
 
 PORTDIR_OVERLAY=/usr/portage/local/layman/webapps-experimental /usr/
  local/portage
  SYNC=rsync://rsync.jp.gentoo.org/gentoo-portage
  USE=apache2 bash-completion berkdb bzip2 cjk crypt hardened 
  logrotate memlimit mmx ncurses nls nptl ntpl ntplonly pam perl pic 
  python readline samba session
  snmp ssl syslog tcpd unicode userlocales utf8 x86 xml xml2 zlib 
  ALSA_CARDS=ali5451
  als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1  
  emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
  intel8x0m
  maestro3 trident usb-audio via82xx via82xx-modem ymfpci
  ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty 
  extplug file hooks iec958 ioplug ladspa lfloat linear meter
 mmap_emul
  mulaw multi null plug rate route share shm softvol
  APACHE2_MODULES=actions alias auth_basic auth_digest authn_anon 
  authn_dbd authn_dbm authn_default authn_file authz_dbm
  authz_default authz_groupfile authz_host authz_owner authz_user 
  autoindex cache dav dav_fs dav_lock dbd deflate dir disk_
  cache env expires ext_filter file_cache filter headers ident 
  imagemap include info log_config logio mem_cache mime mime_magic
  negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http 
  rewrite setenvif so speling status unique_id userdir usertrack 
  vhost_alias
  ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
  LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001

[SOLVED] Re: [gentoo-user] python2.4-python2.5-import gtk error

2008-08-12 Thread Ow Mun Heng
Turns out I was pulling my hair out because of USE flags between 2.4 and
2.5

in 2.4, threads are enabled by default.
2.5, it is a USE flag setting



On Tue, 2008-08-12 at 17:31 +0800, Ow Mun Heng wrote:
 On Tue, 2008-08-12 at 16:52 +0800, Jan Schneiders wrote:
  After updating python you always have to run the python updater
  script:
  
  # python-updater
  
  (or did you do that already?)
 
 I did and it updated a bunch of stuffs and I've also um-merged 2.4 and
 then now trying to retrace steps (by giving 2.5 the boot as i'm lost as
 to what to do)
 
 
  
  On Aug 12, 2008, at 10:43 AM, Ow Mun Heng wrote:
  
   Just upgraded from 2.4 to 2.5 of python and I'm finding that I have
   issues with importing gtk.
  
   I have no idea what is happening and I've tried various methods of
   upgrading/re-compiling/downgrading pygobject  pygtk and python and 
   glib
   and pycairo and cairo and a whole host of other packages and still 
   this
   error.
  
   Google is not my friend unfortunately. I saw something like this 
   from a
   debian bug report
  
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg186144.html
  
  
  
   Python 2.5.2 (r252:60911, Aug  7 2008, 23:56:43)
   [GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2
   Type help, copyright, credits or license for more
  information.
   import gtk
   Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, 
   line 38, in module
  import gobject as _gobject
File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
   __init__.py, line 30, in module
  from gobject.constants import *
File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
   constants.py, line 22, in module
  from _gobject import type_from_name
   ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/
   _gobject.so: undefined symbol: PyGILState_Release
  
  
   emerge --info
   Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, 
   glibc-2.5-r4, 2.6.17-gentoo-r8 i686)
   =
   System uname: 2.6.17-gentoo-r8 i686 Pentium II (Deschutes)
   Timestamp of tree: Mon, 11 Aug 2008 14:15:01 +
   distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 
   3632) [disabled]
   ccache version 2.3 [enabled]
   app-shells/bash: 3.2_p33
   dev-lang/python: 2.5.2-r7
   dev-python/pycrypto: 2.0.1-r6
   dev-util/ccache: 2.3
   sys-apps/baselayout: 1.11.14-r6
   sys-apps/sandbox:1.2.18.1-r2
   sys-devel/autoconf:  2.13, 2.61-r2
   sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-
   r1, 1.10.1
   sys-devel/binutils:  2.18-r3
   sys-devel/gcc-config: 1.4.0-r4
   sys-devel/libtool:   1.5.26
   virtual/os-headers:  2.6.23-r3
   ACCEPT_KEYWORDS=x86
   CBUILD=i686-pc-linux-gnu
   CFLAGS=-march=pentium2 -O2 -pipe
   CHOST=i686-pc-linux-gnu
   CONFIG_PROTECT=/etc /var/bind
  
  CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-
  
  active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /
   etc/terminfo
   CXXFLAGS=-march=pentium2 -O2 -pipe
   DISTDIR=/usr/portage/distfiles
   FEATURES=buildpkg ccache distlocks metadata-transfer
  parallel-fetch 
   sandbox sfperms strict unmerge-orphans userfetch
   GENTOO_MIRRORS=http://mirror.averse.net/pub/gentoo/
  http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
   http://gentoo.kems.net ftp://ftp.twaren.net/Linux/Gentoo/
  http://mirrors1.mirrors.64hosting.com/pub/mirrors/gentoo/
http://mirror.gentoo.gr.jp;
   MAKEOPTS=-j3
   PKGDIR=/usr/portage/packages
   PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms
  --times 
   --compress --force --whole-file --delete --stats
   --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/
   packages
   PORTAGE_TMPDIR=/var/tmp
   PORTDIR=/usr/portage
  
  PORTDIR_OVERLAY=/usr/portage/local/layman/webapps-experimental /usr/
   local/portage
   SYNC=rsync://rsync.jp.gentoo.org/gentoo-portage
   USE=apache2 bash-completion berkdb bzip2 cjk crypt hardened 
   logrotate memlimit mmx ncurses nls nptl ntpl ntplonly pam perl pic 
   python readline samba session
   snmp ssl syslog tcpd unicode userlocales utf8 x86 xml xml2 zlib 
   ALSA_CARDS=ali5451
   als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1  
   emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
   intel8x0m
   maestro3 trident usb-audio via82xx via82xx-modem ymfpci
   ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty 
   extplug file hooks iec958 ioplug ladspa lfloat linear meter
  mmap_emul
   mulaw multi null plug rate route share shm softvol
   APACHE2_MODULES=actions alias auth_basic auth_digest authn_anon 
   authn_dbd authn_dbm authn_default authn_file authz_dbm
   authz_default authz_groupfile authz_host authz_owner authz_user 
   autoindex cache dav dav_fs dav_lock dbd deflate dir disk_
   cache env expires ext_filter file_cache filter headers ident 
   imagemap

Re: [gentoo-user] Webcam recommendation

2008-01-29 Thread Ow Mun Heng

On Tue, 2008-01-29 at 21:52 -0700, Mike Diehl wrote:

 On Saturday 26 January 2008 09:28:23 pm forgottenwizard wrote:
  On 16:13 Sat 26 Jan , Mike Diehl wrote:
   I'm looking for an inexpensive USB webcam that works with both Linux and
   Windoze.  Something that I can pick up at Walmart or Circuit City would
   be best.
 
  I think the Logitech Quickcam is the general answer to that question. I
  think the cheap one is around 30-40US, though.
 
 Yup, works like a champ.  Had to go get the driver, but once I did, it just 
 stood up.  And it doesn't look TOO bad, either.  It's not TV quality, but it 
 is good enough.


I just gotten a very inexpensive webcam to work. It's a no-brand USD15
webcam using the gspcav1 driver.

I think this is the one. 
http://farm3.static.flickr.com/2023/2182061881_b3f5174065_o.jpg




Re: [gentoo-user] postgresql problem

2007-10-10 Thread Ow Mun Heng
On Wed, 2007-10-10 at 08:07 +0200, Dirk Heinrichs wrote:
 Am Dienstag, 9. Oktober 2007 schrieb ext Rafael Barrera Oro:
  Hello, i'd like to ask you people if anyone has succeded in installing a
  postgresql version greater than 8.0.13 because i tried (unmasking by
  adding ~x86 to ACCEPT_KEYWORDS) and ran into a lot of problems. I don't
  have the logs with me, so i will post a description of such problems in
  the near future.
 
 I'm running postgresql 8.2.x from the postgresql-experimental overlay w/o 
 probs.
 
Running 8.2.4 here as well..

anyone got pgfouine to work? The overlay has issues. Wrong manifest is
one. But after that, can't get it installed properly. Complains about
not having apache. (i have apache 2)


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Ow Mun Heng
On Wed, 2007-10-10 at 10:10 +0200, Alan McKinnon wrote:
 On Wednesday 10 October 2007, Daevid Vincent wrote:
  Anyways, sometimes I have stupid neighbors who don't quite get it
  and will just blindly let their computers connect to my WAP. UGH!
  They sit on it for hours and days and generally piss me off.
 
  How can I boot someone off my network? I usually add them to my
  shorewall blacklist file, and then:
 
 You run dhcp? Just exclude that MAC address from getting a lease.
 
 No IP address = no route = problem solved
 
 For a second level of teach-them-a-lessonness, iptables has a 'mac' 
 extension. Use that to match the MAC address and DROP all patches in 
 your outgoing firewall FORWARD chain

Better yet.. redirect them to a (random) page that shows everything
about cats.

I read this one from google.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] To Neil Bothwick: Question re ntfs-3g

2007-10-03 Thread Ow Mun Heng
On Wed, 2007-10-03 at 22:05 -0500, Anthony E. Caudel wrote:
 Neil, back on 15 July, you stated that you used ntfs-3g with only the
 in-kernel fuse modules.
 
 When I try that, I get the following error:
 
 error while loading shared libraries: libfuse.so.2: cannot open shared
 object file: No such file or directory
 
 I find I have to use sys-fs/fuse to be able to mount ntfs-3g.


I'm using ntfs-3g w/o issues. I'm not using in-kernel fuse modules
though. I'm compiling it from the version in portage

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend questions

2007-10-02 Thread Ow Mun Heng
On Tue, 2007-10-02 at 21:33 -0400, James Colby wrote:
 currently running a 2.6.19-gentoo-r5 kernel.  I emerged the suspend2
 sources, copied the .config from the 2.6.19 directory and ran make

which suspend2 kernel ver?

 /etc/fstab.  The reason for that is because the suspend  kernel is configuring
 my hard disk as /dev/hda and my standard kernel is configuring it as
 /dev/sda.  Does anyone know how I can get the suspend kernel to assign
 my hard disk as /dev/sda?
 

My guess is that the kernel moved from recognising the drive as a PATA
to a SATA. If you're committed to using this new kernel, just boot into
your new kernel in single mode, change fstab to point to sda and then
reboot.



-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] freenx / nxclient / nxserver etc.. [experiences]

2007-09-27 Thread Ow Mun Heng
I just tried to installed freenx(0.7) nx(3.0) and it's a bit frustrating
because it doesn't seem to be working well.

eg: Sometimes I can connect, sometimes I can't. (timeout)

then when I can connect, sometimes I get my gnome-desktop, sometimes
not.

When I log-out, (suspend) and I try to log in back using the same
session, I can't.

Should I just try the nxserver-freeedidition instead?

What are your experiences?

Seems like everything that google returns are all between 1 to 2 years
ago details.

Thanks


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-15 Thread Ow Mun Heng
 Colleen Beamer wrote:
  The wrinkle is that my son bought me a usbstick.  I can mount it just
  fine.  However, if my usb external hard drive is not powered on on boot,
  the stick is recognized at sdc1.  If the usb drive is powered on then,
  the stick is recognized as sdd1.  So, this means that if I want to use
  one or the other or both, I keep having to change fstab.  Is there a way
  I can set the device to always be the same - i.e.  I always want the usb
  external drive to be sdc1 and sdc2 and the usb stick to be sdd1.


ACtually, as per suggestion from others, why don't you try out the
combination of HAL and gnome-volume-manager (if you use gnome) and udev?

Nowadays, everything will just be plug and play. No need to fiddle with
fstab.. just plug it in, HAL will see there a new device,
hotplug/coldplug will call out the necessary daemons and mount it
automatically for you.

Heck, gnome-2.18 seems like you can even specify specific mount points
for it..


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Ow Mun Heng
Been struggling with a new script I'm porting over from bash because
perl's DBI is much more elegant than my previous usage of sqsh.

I'm having trouble converting from a datetime into a unix epoch
timestamp.

under bash, this is done.

date = -MM-DD HH:MM:SS
epoch_date = date -d $date +%s

$date
Mon Aug 13 14:39:48 MYT 2007
$date -d 2007-08-13 14:39:48 +%s
1186987188

Under perl, I have no idea how this can be achieved.
Neither localtime, timelocal or AFAICT, DateTime can achieve this
easily.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Ow Mun Heng
On Mon, 2007-08-13 at 00:25 -0700, Alan wrote:
 On Mon, Aug 13, 2007 at 02:43:04PM +0800, Ow Mun Heng wrote:
  Been struggling with a new script I'm porting over from bash because
  perl's DBI is much more elegant than my previous usage of sqsh.
  
  I'm having trouble converting from a datetime into a unix epoch
  timestamp.
  
  under bash, this is done.
  
  date = -MM-DD HH:MM:SS
  epoch_date = date -d $date +%s
  
  $date
  Mon Aug 13 14:39:48 MYT 2007
  $date -d 2007-08-13 14:39:48 +%s
  1186987188
  
  Under perl, I have no idea how this can be achieved.
  Neither localtime, timelocal or AFAICT, DateTime can achieve this
  easily.
 
 Maybe I'm confusing what you're looking for, but a look at 'perldoc
 DateTime' shows that the perl DateTime module has a 'epoch' function:
 
  $epoch_time  = $dt-epoch;
  # may return undef if the datetime is outside the range that is
  # representable by your OS's epoch system.

Yepp.. It's fine to get the current time's epoch via DateTime.

What I want is actually to convert from a datetime into an epoch..

eg: User supplied Datetime = 2007-08-13 14:39:48
I want that Datetime converted into an Epoch Format.

 
 As another OOT suggestion, check out Class::DBI as something even more 
 elegant than DBI.  I've been using it for the last year or so and LOVE
 it's simplicity and OO-ness compared to DBI.

Will loook into it, _after_ I settled all these date/time issues which
is driving me a bit nutty.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] wpa_supplicant and preferred_aps (not associating)

2007-08-06 Thread Ow Mun Heng
I'm not sure what happened and my effort to find out what happened is
still largely surmised by  don't know yet

Anyway, using ipw2100 and wpa_supplicant

I followed the gentoo guide and put in the 
network={
key_mgmt=NONE
priority=-999
}

such that it will pick up any un-encrypted APs.

Then suddenly it was not associating anymore.

I've ran wpa_supplicant on the command line and it kept spitting out
SSID Mismatch

I only got things to work after I added the SSID into the list in
wpa_supplicant.conf

Previously preferred_aps will work.

Does anyone have any clue?

BTW, when I do iwconfig, I get the message that the wireless tools has
been compiled with version 20 when the kernel version is version 22.

I've already re-compiled wireless-tools-28

(or should I upgrade it to 29_pre22??)
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] A Thank you to the Developers for the Free Software

2007-07-26 Thread Ow Mun Heng
I was feeling a bit un-appreciated as a Developer and I thought of all
the other developers of Open Source (Free) Software who relentlessly
contribute to/make Open Source (free) software.

I just wanted to take some time to officially say *Thank You* for all
the good things which you guys/gals have made to my(/our) benefit, of
which has either saved my skin or improved my work efficiency.

To All of you, I say a Big Thank You for it.

Let no one tell you that you are Un-appreciated for all the hard work
you have poured into your relevant projects.

Seriously, Thank you.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] A Thank you to the Developers for the Free Software

2007-07-26 Thread Ow Mun Heng
First off, let me apologise for cross-posting this email to multiple
Mailing Lists. 

I was feeling a bit un-appreciated as a Developer and I thought of all
the other developers of Open Source (Free) Software who relentlessly
contribute to/make Open Source (free) software.

I just wanted to take some time to officially say *Thank You* for all
the good things which you guys/gals have made to my(/our) benefit, of
which has either saved my skin or improved my work efficiency.

To All of you, I say a Big Thank You for it.

Let no one tell you that you are Un-appreciated for all the hard work
you have poured into your relevant projects.

Seriously, Thank you.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] slow vmware guest

2007-06-20 Thread Ow Mun Heng
On Wed, 2007-06-20 at 21:35 -0300, Arturo 'Buanzo' Busleiman wrote:
 Has anyone found a solution to a linux guest under a linux host where the 
 guest's clock ticks slowly
 or quickly depending on different factors?

My Solution - NTP

AFAIK, there's no known solution..., (Here's hoping I'm wrong)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Accessing Miscrosoft ISA VPN from Linux

2007-05-16 Thread Ow Mun Heng
Hi All,

Got a friend who wants to be able to VPN into his office MS ISA Server
VPN and all I know about the available clients are the
Cisco-vpn-client. 

Will this do or is there another method. Searching through the archives
brought me to some posts (in Jan 2005) about using pptp-client and some
patches from www.polbox.com

Thanks

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] USB2 ethernet - ASIX Chip - Conn OK when tcpdump'ing, Not OK during normal

2007-03-07 Thread Ow Mun Heng
On Wed, 2007-03-07 at 11:24 +0800, Ow Mun Heng wrote:
 Anyone here has this particular usb ethenet? Got it cheap in Fry's
 (USD2.99)
 Been giving me headache.
 
 usbnet gets loaded, but the connection see-saws between getting 30mbps
 to 0mbps (transferring a large file)
 
 it makes my nfs/cifs shares goes bonkers.
 
 Any good experiences with these Airlink parts? (they recently have
 airlink gigabit pci adapters going for USD5.99)
 

Investigating further, there's a weird behaviour. I tried to do a
tdpdump to determine if there's any packets getting through the usbnet,
when I did that, the adapter starts behaving and I'm able to ping and
also able to transfer large amounts of files w/ no problem (with good
speed too).

Any ideas?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Airlink101 usb2 ethernet - ASIX Chip

2007-03-06 Thread Ow Mun Heng
Anyone here has this particular usb ethenet? Got it cheap in Fry's
(USD2.99)
Been giving me headache.

usbnet gets loaded, but the connection see-saws between getting 30mbps
to 0mbps (transferring a large file)

it makes my nfs/cifs shares goes bonkers.

Any good experiences with these Airlink parts? (they recently have
airlink gigabit pci adapters going for USD5.99)



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Beagle eating up Resources!! (BEagled-index-helper)

2007-02-28 Thread Ow Mun Heng
On Tue, 2007-02-27 at 14:41 +0100, Jürgen Geuter wrote:
 On Tue, 2007-02-27 at 14:21 +0100, Kristian Poul Herkild wrote:
 
  Beagle is not supposed to use an awful lot of CPU-time, except for rare
  peaks. If it uses a lot of CPU-cycles for more than a few seconds it's a
  bug - most likely in a plug-in. Especially the SVG plug-in tends to have
  issues.
 
 Well it started to get really annoying when I added my
 ebook/documentation directory to the scanned dirs (it's an nfs share


no clue what exactly is happening and now, I'm frequently getting pissed
at it and kill it.
This is version 0.2.16 in portage BTW

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Beagle eating up Resources!! (BEagled-index-helper)

2007-02-28 Thread Ow Mun Heng
On Wed, 2007-02-28 at 18:26 -0600, Albert Hopkins wrote:
 On Thu, 2007-03-01 at 12:50 +1300, Kent Fredric wrote:
  How often do people here actually -use- beagle?
  
  I removed it after finding I never really used it, and that the
  default short cut for it and the memory usage it required to do little
  more than a 'find -print0 blah | xargs -0 -iARG grep string ARG '
  quite frankly disgusting 
 A 'find ... |grep' would take a looong time to run just on my home
 directory.  A good solution would be a tool that actually indexes files
 in the background, and perhaps automatically when a file is
 changed/added/removed.  And not just text in files but also other kinds
 of metadata.  And when I click that file/data/whatever it would be cool
 if it automagically opened the appropriate viewer and took me to the
 exact location of what I am searching for. Pretty much a one-stop shop
 for searching my stuff.


The find can only be used when the file are txt files and not
pdf/OOo/Excel etc

Unfortunately.

I've only used it like 2-5 times thus far..

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Beagle eating up Resources!! (BEagled-index-helper)

2007-02-27 Thread Ow Mun Heng
Does anyone here knows if beagle really sucks up resources?? I just
emerged it a week ago and I'm getting very pissed off at it as it's
using a lot of resources. The laptop doesn't get much idle time.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] moving to ADSL

2007-01-10 Thread Ow Mun Heng
On Thu, 2007-01-11 at 10:07 +0300, Andrey Gerasimenko wrote:
 On Wed, 10 Jan 2007 21:43:26 +0300, Jorge Almeida  
 [EMAIL PROTECTED] wrote:
 
  I'm about to switch from cable to ADSL anytime soon, and I'm trying to
  prepare the computer for the big change, given that there will be a time
  gap without internet access and that I can't expect any support
  whatsoever from the provider's staff. Of course, I can't do any
  testing...

 The firewall and router you get with an ADSL modem are essentially free  
 these days. If you need more then what is in the router, nothing prevents  
 you from building a box for traffic monitoring and advanced routing later.

But they differ in terms of what 'abilities' they have. Some are 'gaming
routers', some have capability to prioritise voip etc.
But, all in all, you will lose some amount of flexilibility as opposed
to using a pc (soekris eg:) as your 'router' and the modem only as a
'modem'

 Since changes to the PC configuration necessary to connect to an ADSL  
 modem with a router are minimal, there should be no time gap without the  
 NET, it should be a period when you have both ADSL and cable.


I agree. All you need to know is the setup on how to setup the
modem/router to log into your ISP and you're home free.



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Totem / Gnome-Screensaver / Gnome-2.16 - Screensaver kicks in during movie

2006-12-20 Thread Ow Mun Heng
I'm not sure if anyone else is experiencing this but upgraded to
gnome-2.16, which pulled in gnome-screensaver etc.
thing is, when I view movies using totem in fullscreen, it will still
cause the screensaver to kick in after X amount of minutes.

Is anyone else experiencing this???

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Logwatch and TimeZone Errors

2006-11-02 Thread Ow Mun Heng
Has anyone seen this problem? I've tried to rebuild perl and logwatch
and timezone-data

ERROR: Date::Manip unable to determine TimeZone.
 at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 3635
Date::Manip::Date_TimeZone called
at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 676
Date::Manip::Date_Init() called
at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 799
Date::Manip::ParseDateString('epoch 1162369100') called
at /usr/share/logwatch/lib/Logwatch.pm line 508
Logwatch::TimeBuild() called at /usr/sbin/logwatch.pl line 731



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logwatch and TimeZone Errors

2006-11-02 Thread Ow Mun Heng
On Thu, 2006-11-02 at 17:53 +0700, Robin Atwood wrote:
 On Thursday 02 November 2006 15:35, Ow Mun Heng wrote:
  Has anyone seen this problem? I've tried to rebuild perl and logwatch
  and timezone-data
  
  ERROR: Date::Manip unable to determine TimeZone.
   at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 3635
  Date::Manip::Date_TimeZone called
  at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 676
  Date::Manip::Date_Init() called
  at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 799
  Date::Manip::ParseDateString('epoch 1162369100') called
  at /usr/share/logwatch/lib/Logwatch.pm line 508
  Logwatch::TimeBuild() called at /usr/sbin/logwatch.pl line 731
 
 I have been through this, Perl doesn't understand Far Eastern time zones like
 this:
 
   [EMAIL PROTECTED] ~ $ date
   Thu Nov  2 17:52:10 ICT 2006
 
 I resorted to hacking /etc/cron.daily/00-logwatch and adding:
 
   export TZ=+0700
 
 which fixes the problem. Adjust your offset accordingly... :)


Thanks. It works.

$ date
Fri Nov  3 00:11:57 MYT 2006

export TZ=+0800


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X.org issue (feelings of absolute failure)

2006-11-01 Thread Ow Mun Heng
On Wed, 2006-11-01 at 22:59 +, b.n. wrote:
 Richard Fish ha scritto:
  On 11/1/06, Rafael Barrera Oro [EMAIL PROTECTED] wrote:
  pandemonium, i found out that things are way, way slower than before, is
  this a known effect of modular X.org?
  
  Not that I'm aware of.  Can you post your /var/log/Xorg.0.log
  file...maybe there is some clue there.
  
 
 Details about the graphic card and drivers, xorg setup etc. are welcome, 
 of course.

I've upgraded a while ago, (leaving it to the very last minute) and it's
working fine. SO, you really need to post more details.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge xf86-driver-ati-6.6.3 fails

2006-10-17 Thread Ow Mun Heng
On Tue, 2006-10-17 at 08:11 +0200, Bo Ørsted Andresen wrote:
 On Monday 16 October 2006 22:17, Mick wrote:
  Hi All,
 
  I started an update world today which ran through xorg-server and xorg-x11
  before it went along to update x11-drivers/xf86-video-ati-6.6.3.  This
  package tries to check /etc/portage/profile/make.globals and fails
  miserably.  :-(  The reason is that I have no such file.  The only file I
  can find in /etc/portage/profile is profile.bashrc.
 
  Needless to say that without an ati driver I have no X and I need this
  laptop for work!  Would you perhaps know what's gone wrong here?
 
  This is the error from the emerge:
 [SNIP]
 
 I see two options. Either upgrade to latest ~arch portage and see if that 
 fixes it or file a bug..

Where do you see it sourcing for make.globals??

The ebuild is also very simple and short
pkg_setup() {
if use dri  ! built_with_use x11-base/xorg-server dri; then
die Build x11-base/xorg-server with USE=dri.
fi
}

I just upgraded from xorg-7.0 to xorg-7.1 (this is because I was trying
to get my laptop to support Monitor out at 1680x1050 on a Radeon 9000.
(it's stated max is 1600x1200)

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Escaping a * in bash script

2006-10-08 Thread Ow Mun Heng
Does anyone know how to go about escaping a * in a bash script?

I want to do the following

query=  select * from table where column1='something'   



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Escaping a * in bash script [SOLVED]

2006-10-08 Thread Ow Mun Heng
On Sun, 2006-10-08 at 18:13 +0800, Ow Mun Heng wrote:
 Does anyone know how to go about escaping a * in a bash script?
 
 I want to do the following
 
 query=  select  * from table where column1='something'   
 

nevermind..

I did it like this
query=  select \ *\  from table where column1='something'   

and though it echoes back as
select * from

when it gets to the SQL server, it's actually 
select * from  


oh well..
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: unison

2006-10-04 Thread Ow Mun Heng
On Wed, 2006-10-04 at 19:05 +, James wrote:
 Ow Mun Heng Ow.Mun.Heng at wdc.com writes:
  What if you do it via the CLI??
 
 Well following this doc:
 
 http://www.cis.upenn.edu/~bcpierce/unison/download
 /releases/stable/unison-manual.html
 
 I can get the CLI to work. Interestingly, it starts
 
 I am using version 2.13.16 on both amd64 and x86 machines,
 since that is the latestvstable version on x86 and all versions
 are marked testing on the amd64. Or do you think I should install 
 the 2.17.1-r1 version on the x86 and the amd64 machines?

if it's not stated as fixed, then I guess you can try it out anyway. No
harm I guess.

However, I do sometimes use the GUI, and it works. So I'm not too sure.
I'm also using 2.13.16

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: unison

2006-10-04 Thread Ow Mun Heng
On Wed, 2006-10-04 at 21:32 +0100, Neil Bothwick wrote:
 On Wed, 4 Oct 2006 19:05:07 + (UTC), James wrote:
 
   http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545  
  
   It's a FONT problem??  
  
  Hello Ow,
  
  It does look like a bug, but with little experience with unison,
  somebody else is going to have to verify and post this bug,
  or wait until I gain more experience with unison.
 
 Is this an old thread or have I missed a lot of posts? 

Not really

 Anyway, I had this
 problem a while ago and the fix is simple, emerge
 media-fonts/font-schumacher-misc

I don't have this installed.

Then I tried to run the GUI and it failed!! It was working previously,
that's for sure. I wonder if the migrate to Xorg-7 caused this problem.
(I just migrated last week)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unison

2006-10-03 Thread Ow Mun Heng
On Wed, 2006-10-04 at 03:09 +, James wrote:
 Hello,
 
 I have 2 gentoo system, one x86 one amd64 to use unison to sync up
 text files. Here's the error I get:
 Uncaught exception Invalid_argument(ill-formed replica
 ssh://192.168.2.23://home/james/projects)

 Here's a the .unisom file that causes the above error:
 
 root = /home/james/projects/manuals
 root = ssh://192.168.2.23//home/james/projects/manuals

Nothing wrong as far as I can see.
I have the same setup

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: unison

2006-10-03 Thread Ow Mun Heng
On Wed, 2006-10-04 at 03:36 +, james wrote:
 James wireless at tampabay.rr.com writes:
 
  Here's the error I get:
  Uncaught exception Invalid_argument(ill-formed replica
  ssh://192.168.2.23://home/james/projects)
 
 that error message was when I tried to sync the files
 /home/james/projects
 
 When I try to make it simpler (smaller)
 using /home/james/projects/manuals   I get this error:
 
 Uncaught exception Gpointer.Null   Killed by signal 1.
 
 comments?
 
This is weird.. But see here

http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545

It's a FONT problem??

What if you do it via the CLI??

$ unison -ui text ~/.unison/UNISON_OPERATION_NAME.prf




 
 james
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: baselayout-1.12.5 sucks

2006-10-01 Thread Ow Mun Heng
On Mon, 2006-09-25 at 07:10 -0400, David Relson wrote:
 On Mon, 25 Sep 2006 09:58:46 +0200
 Remy Blank wrote:
 
  Noack, Sebastian wrote:
   The workaround is to hack /etc/init.d/checkroot to call `dmesg -n
   1` on startup, even though in /etc/conf.d/rc is a variable
   RC_DMESG_LOGLEVEL which is set to 1 by default, but it doesn't
   affect anything.
  
  There is a typo in /etc/conf.d/rc, the variable should be called
  RC_DMESG_LEVEL (the comment in the file is correct).
 
 Shouldn't a typo with conspicuous side effects be fixed by a
 new release???
 

I didn't really pay attention to the console I read this thread. 
Upgraded to 1.12.5-r1 and the change has that typo fixed.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Modular X and Black Screen on Alt-Tab (switch Windows)

2006-09-30 Thread Ow Mun Heng
I'm not sure what's going on. I finally went from xorg-6.8.2-r2 to
xorg-7.
Everything seems to be working fine. (i'm happy that there wasn't much
issues) (yet??)

The only thing which is bugging me is the Switching Windows. (Alt-Tab)
in Gnome-2.14

When I do an Alt-Tab, the whole window (the currently selected window)
will end  up being black

A screenshot can be seen here

http://static.flickr.com/107/256242636_faf82c36d8.jpg?v=0


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox Keeps Hanging on some pages

2006-09-13 Thread Ow Mun Heng
On Tue, 2006-09-12 at 00:05 -0700, Drew wrote:

   And related to these sites that firefox chokes on, are there any
   common elements they all share? Perhaps a plugin or something thats
   called?
 
  I'm not sure. I'm seeing this issue from basically clicking on Liferea
  (RSS reader) links and it's supposed to open up firefox browsers and I
  just noticed it from there onwards.
 
 Do the errors crop up only when you open firefox by clicking through
 liferea, or do the errors also appear when you visit the pages
 manually?


Like the earlier page - Zedomax, it's choking up even when it's opened
manually. (i even got to the point of mv ~/.mozilla ~/,mozilla-old to
test things out.

 I did some digging with google and there does seem to be some problems
 with using liferea  mozilla/firefox together. Is liferea opening a
hmm.. didn't realise that but.. anyway.. it's not only happening
_together_

 firefox window within itself (similar to those annoying apps with a
 builtin MSIE browser) or is firefox opening the URL itself?

no.. it' opening it as a windows (or a new tab)

I suspect the problem may be due to the loading of flash (flash 9??) and
I only have flash 7 installed.
I've (re)installed flashblock. and it seems it can open  www.zedomax.com
properly. (But it still hangs halfway for like 2 secs before it the
circle thingy moves again.

 
 -Drew

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox Keeps Hanging on some pages

2006-09-10 Thread Ow Mun Heng
Upgraded to Firefox-1.5.0.6
access http://zedomax.com

and it hangs for whatever reasons.

My GCC is 
$gcc -v
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)

My GCC settings is sane

/etc/make.conf
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium3 -pipe -falign-functions=64 -mmmx -msse
-msse2
CHOST=i686-pc-linux-gnu

I've tried installin the bin version mozilla-firefox-bin and it works
OK on the page above.

Note : It hangs (up to the point where the little 'circle also stops
moving.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox Keeps Hanging on some pages

2006-09-10 Thread Ow Mun Heng
On Sun, 2006-09-10 at 20:46 -0700, Drew wrote:
 On 9/10/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
  Upgraded to Firefox-1.5.0.6
  access http://zedomax.com
 
  and it hangs for whatever reasons.
 
  My GCC is
  $gcc -v
  Thread model: posix
  gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
 
  My GCC settings is sane
 
  /etc/make.conf
  CBUILD=i686-pc-linux-gnu
  CFLAGS=-O2 -march=pentium3 -pipe -falign-functions=64 -mmmx -msse
  -msse2
  CHOST=i686-pc-linux-gnu
 
  I've tried installin the bin version mozilla-firefox-bin and it works
  OK on the page above.
 
  Note : It hangs (up to the point where the little 'circle also stops
  moving.
 
 Two questions related to your compiler flags. Is there a specific
 reason -falign-functions=64 is used? -O2 implies -falign-functions so
 unless you have a specific need for a 64 byte alignment, it's
 redundant. 

This make.conf flags were set like close to 3 years ago so I can't
remember the research that went into it's selection.
I'll remove it



 Secondly, AFAIK the Pentium 3 doesn't have the sse2
 instruction set, only P4's do. 

Thsi is a pentium M.
http://gentoo-wiki.com/Safe_Cflags#Pentium_M.28Centrino.29.2FCeleron_M_.28Intel.29

hmm.. GCC-3.4 has it removed. Guess I'll remove it as well.

New Make
CFLAGS=-O2 -march=pentium-m -pipe -fomit-frame-pointer (Per the wiki)


 I don't know firefox's code too well
 but it's possible these random sites are triggering a branch of code
 that calls sse2 code and firefox is gracefully choking.
 
 And related to these sites that firefox chokes on, are there any
 common elements they all share? Perhaps a plugin or something thats
 called?

I'm not sure. I'm seeing this issue from basically clicking on Liferea
(RSS reader) links and it's supposed to open up firefox browsers and I
just noticed it from there onwards.


 Also, could you post your emerge --info?

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2,
2.6.17-suspend2-r4 i686)
=
System uname: 2.6.17-suspend2-r4 i686 Intel(R) Pentium(R) M processor
1400MHz
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium-m -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/s
hare/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash 
/etc/terminfo
CXXFLAGS=-O2 -march=pentium-m -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig buildpkg candy ccache distlocks metadata-transfer
parallel-fetch sandbox sfperms strict
GENTOO_MIRRORS=http://mymirror.asiaosc.org/gentoo-distro/
http://mirror.gentoo.gr.jp/;
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage /usr/portage/local/layman/sunrise 
/usr/portage/local/layman/webapps-experimental 
/usr/portage/local/layman/gentopia /usr/portage/local/layman/liquidx
SYNC=rsync://rsync.samerica.gentoo.org/gentoo-portage
USE=x86 X a52 aac acl acpi aim alsa apache2 avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 bzlib caps cjk cli crypt curl dbm dbus
dga dlloader dri dvd eds emboss encode esd ethereal exif fbcon firefox
flac flash fo
omaticdb frontendonly gdbm gf gif gnome gnutls gpm gstreamer gtk gtk2
hal hardenedphp icq imap imlib innodb isdnlog jabber jpeg krb4 libg++
libwww lirc mad maildir mailwrapper mbox mikmod milter mime ming mmx
motif mp3 mpeg msn 
ncurses nis nls nptl ogg opengl oscar oss pam pcmcia pcre pdflib perl
php plotutils png pnp posix pppd python qt3 qt4 quicktime readline real
reflection samba sasl sdl server session spell spl sse sse2 ssl tcpd
theora tokenizer 
truetype truetype-fonts trusted type1-fonts udev unicode usb vhosts
vorbis wavelan win32codecs wxwindows xine xml xmms xorg xosd xv xvid
yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kerne
l_linux userland_GNU video_cards_radeon
Unset:  CTARGET

Re: [gentoo-user] XFS FileSystem - Slow Writes - GNOME/nautilus Issue? (SOLVED w/ ReFORMAT)

2006-08-30 Thread Ow Mun Heng
On Wed, 2006-08-30 at 09:38 -0700, Joshua Schmidlkofer wrote:
 On 8/29/06, Ow Mun Heng [EMAIL PROTECTED] wrote:


I just re-formatted my partitions and moved things around. Things are
looking up.
Meaning, I am able to achieve good write/read speeds which is where i
was previously. 15-20MB/s on both writes/reads on btoh nautilus and cp
commands.

So. I'm gonna put it at either.

1. xfs frag
2. xfs dir curruption or something


 Are there
 any good, well optimized file copy utilities for Linux?
 

Hmm.. interesting

 
  *  app-misc/mc
Latest version available: 4.6.1
Size of downloaded files: 11,606 kB
  *  app-misc/mc-mp [ Masked ]
Latest version available: 4.1.40_pre9

  Basically, this guy is sane, (thank God), and doing what MC really
 needs: SIMPLICITY.  I have never bitched at the mc guys, but when I
 get to my desk, I am converting to mc-mp.  Cause MC sucks recently.

Well, if I look at the size of the tar, it's 5x difference

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XFS FileSystem - Slow Writes

2006-08-29 Thread Ow Mun Heng
On Tue, 2006-08-29 at 18:11 +1200, Mark Kirkwood wrote:
 Ow Mun Heng wrote:
  Has anyone here, who uses XFS fs, experiencing slow filesystem writes?
  I'm seeing throughput of like 4-3MB/s instead of like previously
  15-20MB/s. 
  I have read that there was some thing about barriers and I've tried
  re-mounting the FS w/ nobarriers but the performance didn't improve.
  
  I've already fscked the fs w/ the latest xfsprogs ( 2.8.0) to no good
  effect.
  
  Anyone has any clue or suggestions? Else, I'm gonna go and change the FS
  back to EXT3.
  
  BTW: it's my /home which is XFS which houses GIGs of Mbox files as well
  as VMware images.
  
  
 
 What is your kernel version? (could be important).

I've already updated it to the latest based on the suspend2 version.
$uname -r
2.6.17-suspend2-r4

$eix xfsprogs
 Available versions:  2.7.3 2.7.11 2.8.10
 Installed:   2.8.10


 
 I'm using 2.7.11 on kernel 2.6.16, write performance is reasonably good 

If not mistaken, the issue, (or barriers if not mistaken) was introduced
in the 2.6.17 kernel series.
the 2.6.16 series wasn't affected. (I could be wrong, I don't have net
access so, I can't verify)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XFS FileSystem - Slow Writes

2006-08-29 Thread Ow Mun Heng
On Tue, 2006-08-29 at 10:54 -0700, Richard Fish wrote:
 On 8/29/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
  So.. it doesn't give me any clues there. However, doing Reads is OK. I
  get good performance when eg: copying a file from the XFS partition to
  another partition/drive.
 
 How about the output of:
 
 lsattr -Ra /home 2dev/null | grep -v -e - -e :$ -e ^$
 
 This should produce nothing.

And you are right. It produces nothing.

The FS is now 80% Full
FilesystemSize  Used Avail Use% Mounted on
/dev/hda6  20G   16G  4.1G  80% /home

I think I'm gonna try re-formatting the drive/partition once more.
(There _may_ be latent curruption which I'm not aware off since I just
stuck a USB 200G drive w/XFS and read/write performance is Zippy.)

I'll report it once I get to it.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XFS FileSystem - Slow Writes - GNOME/nautilus Issue?

2006-08-29 Thread Ow Mun Heng
On Tue, 2006-08-29 at 18:35 -0700, Richard Fish wrote:
 On 8/29/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
  $ mount  | grep xfs
  /dev/hda6 on /home type xfs (rw)
 
 Hmm, I missed this before.  nobarrier should be showing up here.  Try:
 
 mount /home -o remount,nobarrier
 

I did mention that I tried that as well. (but I just re-tried it anyway)
and it didn't have any changes.

Out of curiousity, I just tried to copy a file using an xterm (instead
of using nautilus) from DIsk 2 to disk1

disk2/partition2 - VFAT
disk1/partition6 - XFS partition (/home)


$ ls -lah WinXP-01-cl1-01-cl1-01-s002.vmdk   
-rwxrwxrwx  1 root root 620M Aug 29 19:10
WinXP-01-cl1-01-cl1-01-s002.vmdk

$ time cp WinXP-01-cl1-01-cl1-01-s001.vmdk ~/Desktop/
real0m37.353s
user0m0.157s
sys 0m5.445s


Transfer rate ~16.8MB/s

Using Nautilus (I don't know of a good way to measure throughput using
this, so it's basically what I see in the progress bar
~5min
gkrellm2 notes transfer rate ~2.0MB/s


However, doing the same thing to my /tmp directory (ext3 partition) the
same file copies in ~30secs and w/ ~17MB/s transfer rate.

What gives??


BTW, what's the difference between mc and mc-mp??

*  app-misc/mc
  Latest version available: 4.6.1
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 11,606 kB
  Homepage:http://www.ibiblio.org/mc/
  Description: GNU Midnight Commander cli-based file manager
  License: GPL-2

*  app-misc/mc-mp [ Masked ]
  Latest version available: 4.1.40_pre9
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 2,904 kB
  Homepage:http://mc.linuxinside.com/cgi-bin/dir.cgi
  Description: GNU Midnight Commander cli-based file manager. 4.1.x
branch
  License: GPL-2


 -Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] XFS FileSystem - Slow Writes

2006-08-28 Thread Ow Mun Heng
Has anyone here, who uses XFS fs, experiencing slow filesystem writes?
I'm seeing throughput of like 4-3MB/s instead of like previously
15-20MB/s. 
I have read that there was some thing about barriers and I've tried
re-mounting the FS w/ nobarriers but the performance didn't improve.

I've already fscked the fs w/ the latest xfsprogs ( 2.8.0) to no good
effect.

Anyone has any clue or suggestions? Else, I'm gonna go and change the FS
back to EXT3.

BTW: it's my /home which is XFS which houses GIGs of Mbox files as well
as VMware images.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with bash/awk script

2006-08-23 Thread Ow Mun Heng
I'm trying to figure out how to do this sequence in this bash script.
The problem I'm having is how to make $i to change according to the
changes in $x

My current solution is a bit of a hack and stupid.

One more thing, my current solution will parse the file _each_ time for
_each_value/head which essentially means it reads the file multiple
times. Is there a better way so to reduce the # of reads/parses? (Does
awk parse the file once or multiple times, that is if I were to rewrite
the below entirely in awk language)

Thanks


#!/bin/bash

filename=$1
heads=6
tpi=7
x=0
y=1
z=1
clear
while  (( $x  $heads ))
  do
finaltpi=`cat $1 | awk  /TPI chosen/ | awk -v pat=$x '{if
(NR==pat+1) print $5}'`
  while (( $y = $tpi ))
  do
if [ $x -eq 0 ]
then
  for i in `seq 1 7` -
do
 tpiert=`egrep -i (average) $1 | awk -v pat=$i
'{ if(NR==pat) print $5,$10}'`
 echo $filename,$x,$y,$finaltpi,$tpiert
((y++))
done

elif [ $x -eq 1 ]
then
  for i in `seq 8 14` -
do
 tpiert=`egrep -i (average)  $1| awk -v pat=$i
'{ if(NR==pat) print $5,$10}'`
 echo $filename,$x,$y,$finaltpi,$tpiert
((y++))
done
elif [ $x -eq 2 ]
then
  for i in `seq 15 21` -
do
 tpiert=`egrep -i (average)  $1 | awk -v pat=$i
'{ if(NR==pat) print $5,$10}'`
 echo $filename,$x,$y,$finaltpi,$tpiert
((y++))
done
elif [ $x -eq 3 ]
then
  for i in `seq 22 28` -
do
 tpiert=`egrep -i (average)  $1 | awk -v pat=$i
'{ if(NR==pat) print $5,$10}'`
 echo $filename,$x,$y,$finaltpi,$tpiert
((y++))
done
   elif [ $x -eq 4 ]
then
  for i in `seq 29 35` -
do
 tpiert=`egrep -i (average)  $1 | awk -v pat=$i
'{ if(NR==pat) print $5,$10}'`
 echo $filename,$x,$y,$finaltpi,$tpiert
((y++))
done
   elif [ $x -eq 5 ]
then
  for i in `seq 36 42` -
do
 tpiert=`egrep -i (average)  $1 | awk -v pat=$i
'{ if(NR==pat) print $5,$10}'`
 echo $filename,$x,$y,$finaltpi,$tpiert
((y++))
done
fi  
  done
let y=1
((x++))
  done


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with bash/awk script

2006-08-23 Thread Ow Mun Heng
On Wed, 2006-08-23 at 17:17 +0200, Etaoin Shrdlu wrote:
 On Wednesday 23 August 2006 16:30, Ow Mun Heng wrote:
 
  if [ $x -eq 0 ]
 then
 for i in `seq 1 7` -
  do
   tpiert=`egrep -i (average) $1 | awk -v pat=$i
  '{ if(NR==pat) print $5,$10}'`
   echo $filename,$x,$y,$finaltpi,$tpiert
  ((y++))
  done
 
  elif [ $x -eq 1 ]
  then
for i in `seq 8 14` -
  do
   tpiert=`egrep -i (average)  $1| awk -v pat=$i
  '{ if(NR==pat) print $5,$10}'`
   echo $filename,$x,$y,$finaltpi,$tpiert
  ((y++))
  done
  elif [ $x -eq 2 ]
 
 If I understand correctly, you want to avoid all the if/elif tests on $x.
 
 What about
 
 low=`expr $x \* 7 + 1`
 high=`expr $low + 6`
 
 for i in `seq $low $high` ; do
 
 #  your code here
 

This works _Great_!!

Thanks. I was thinking along the same lines, but somehow can't get it
right.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with bash/awk script

2006-08-23 Thread Ow Mun Heng
On Wed, 2006-08-23 at 17:20 +0200, Bo Ørsted Andresen wrote:
 On Wednesday 23 August 2006 16:30, Ow Mun Heng wrote:
  (Does awk parse the file once or multiple times, that is if I were to
  rewrite the below entirely in awk language)
 
 awk parses the file only once. One line at a time. Of course that goes for
 every invocation of awk... ;)
 
  finaltpi=`cat $1 | awk  /TPI chosen/ | awk -v pat=$x '{if
  (NR==pat+1) print $5}'`
 
 finaltpi=`awk -v pat=$x '/TPI chosen/{if (NR==pat+1) print $5'  $x`
 
   tpiert=`egrep -i (average) $1 | awk -v pat=$i
  '{ if(NR==pat) print $5,$10}'`
 
 tpiert=`awk -v pat=$i 'tolower($0)~/(average)/{ if(NR==pat) print 
 $5,$10}'  $1`
 
 If you want more help with this I would suggest that you posted a short sample
 input file and a sample of the output you want to achieve. It does make it a
 heck of a lot easier to grasp what it is you want to do...

I've managed to solve it using Etaoin's help but I'll post the input and
output files here anyway, (as I can't understand why you're using $x in
the 1st query. Ah.. Figured it out, you meant to use $1 (to subtitute
the cat $1. Is there a performance difference?

I can't use the 2nd invocation of awk (for tpiert) mainly because the NR
is different

$awk 'tolower($0)~/(average)/{ print NR,$5,$10}'  test 
4 1.4E+005,1.0E+000
6 1.9E+004,9.0E+001

it doesn't line up. the grep makes it this way

$egrep -i (average) test | awk '{print NR,$5,$10}'
1 1.4E+005,1.0E+000
2 1.9E+004,9.0E+001

HEnce I can use the NR sequentially.

Thanks

$cat test 
TPI chosen for x[0]: 7
TPI chosen for x[1]: 6

---
 = average before = 1.4E+005 ,   average
after = 1.0E+000 

---
 = average before = 1.9E+004 ,   average
after = 9.0E+001 

---

$cat output
test,0,1,7,1.4E+005,1.0E+000
test,0,2,7,1.9E+004,9.0E+001


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} External hard-drive choice

2006-08-15 Thread Ow Mun Heng
On Tue, 2006-08-15 at 12:53 -0400, Willie Wong wrote:
 Hi all, 
 
   I am looking to purchase an external hard-drive for backing up data.
   I am looking for something that has 250G capacity (preferably
   around 300G so I have room to grow).

If you're in US, and there's a Fry's store nearby, here's a Maxtor 500Gb
for USD179
http://newspaperads.mercurynews.com/ROP/ads.aspx?advid=32664adid=3359416subid=12793331type=


   My big question is whether all those fancy OneTouch OneButton
   things offered by Maxtor/Seagate/etc. would impede the harddrive's
   function on linux. I mean, I don't think whatever software they
   bundled that allowed them to do One Touch Backups would work in
   linux, but I would hope those disks can still be mounted as an usb
   storage device. Can someone tell me whether that is the case? 

Yep. i have a sarotech enclosure (www.sarotech.com) for a 2.5in and it
has backup software but I don't use it at all.
It does not impede upon the functionality of the drive/casing.
The button is just a harware button asking the casing to perhaps
initiate backup with the host/contact the host for backup software
etc.

The case just functions as a USB external Drive. You're just paying
extra for the button :-)


   Unfortunately, I can't seem to find any offered by brands that I
   know (like I mentioend above, Maxtor/Seagate/Buffalo/etc. all have

Why not? If you want a cheap one, a 2.5in one selling in
Surpluscomputers costs ~USD7-15 and a 3.5in costs between USD20-50
Plug in a Drive and you're good to go.

PS : I bought mine 2 years ago (max limit of 300GB due to PCBA in the
casing) for USD25

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Ow Mun Heng
On Fri, 2006-08-11 at 15:07 -0700, Richard Fish wrote:
 On 8/11/06, Dale [EMAIL PROTECTED] wrote:
  We here would likely be better off if we did use 220v like other
  countries but it would take us years to convert things over.
 
 Yep, and we would have to start by converting to plugs that didn't
 encourage us to electrocute ourselves every time we plug in our
 laptops!

coming from a country where you have to explicitly switch on the plugs
just so that 
electricity _will_ flow, seeing the US styled plugs really frigthens me.

I wonder how this passed through OHSA inspections.
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Planet Larry: Gentoo User's Blogs

2006-08-06 Thread Ow Mun Heng
On Sun, 2006-08-06 at 12:45 -0600, Steve Dibb wrote:
 A few devs have setup an unofficial Gentoo project, a planet feed of blogs of 
 Gentoo users. The site is available online right now at 
 http://larrythecow.org/
 
 The idea is simple -- we already have Planet Gentoo[1] and Gentoo Universe[2] 
 which pull in blogs from the developers, but we'd also like something that 
 will 
 give us a pulse on what you, the users, are up to.
 
 So if you use Gentoo, blog about Gentoo, or think about Gentoo and have a 
 blog, 
 send your website address and name and we'll get you added right away. :)

I use gentoo and I blog about gentoo too. 
but my posts are not _all_ about gentoo, so I'm not sure how that stacks
up with what you guys are doing.

I'm using Livejournal. 
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-03 Thread Ow Mun Heng
Hi Guys,

I know this is VERY OT. I have a Gentoo Server running at Home 24/7 and
there's a possiblity that it's really eating up my energy bill.

I've seen the Kill-A-Watt
http://www.thinkgeek.com/gadgets/electronic/7657/ but it's a 120V US
Version.

I'm looking for a 240V Version. Would anyone here know where to get one?

The Server is an old DELL PowerEdge 4300 w/ 2x350Mhz Procs and 1GB Mem


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-03 Thread Ow Mun Heng
On Thu, 2006-08-03 at 19:41 +0200, Jarry wrote:
 Ow Mun Heng wrote:
 
  I'm looking for a 240V Version. Would anyone here know where to get one?
 
 I'm using this one (all in one line without spaces):
 
 http://www1.uk.conrad.com/scripts/wgate/zcop_uk/?~template=pcat_product_details_documentobject_guid=0A2FC03E2FBEFDFFE1000A01022Bmaster_guid=master_typ=no_brotkrumennavi=p_load_area=1114014p_artikelbilder_mode=Einp_sortopt=object_descriptionpage=1p_catalog_max_results=10cachedetail=

Doesn't work :-(

 If the link does not work, go to conrad.com and search
 for energy monitor.

Many thanks for the link.
You're referring to the Energy Check 3000 or the Energy Monitor 3000?
(What's the difference? I'm printing the manual to do a comparison
study)

The Check is 19.95 EUR wherelse the monitor is 30.99 EUR (and 39.99 EUR
when I go to the  international page, for some reason)

Which one do you have and it works well I suppose.

Thanks again.
(I've scoured the Net for a few days looking for this one with a
combination of Kill-a-watt + europe and Kill-a-watt + 240V and a variety
of others w/o luck)

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-03 Thread Ow Mun Heng
On Thu, 2006-08-03 at 16:04 -0300, Daniel da Veiga wrote:
 On 8/3/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
 
  Unfortunately, I'm not a US resident and I live in a Country where the
  power comes in at 240V.
 
 
 
 I live in a cowntry where energy comes at 240V (Brazil), but all
 computers, printers and most eletronic devices are wired to a voltage
 stabilizer that reduces the risk of damage by lightning and other
 voltage peaks. This stabilizers also transform 240 to 120V AC, so, our
 energy is 240V but almost ALL devices run switched to 120V.


I'm sorry but what's the difference between running it at 120V or 240V?
(besides the stabilizer)
BTW, my PC equipment is running off an APS UPS that does power surges
and I presume stabilizer as well.

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Change Partition Type

2006-08-03 Thread Ow Mun Heng
On Thu, 2006-08-03 at 15:52 -0400, Michael Crute wrote:
 I have a laptop and when I initially setup the partitions I
 anticipated that I would install Windoze along side of Linux for
 gaming purposes, I now realize that this is never going to happen and
 would like to change the partition type from NTFS to Linux Native. Is
 it possible to do this without hurting the other partitions on the
 disk? I really can't afford to re-format/re-install the whole machine
 right now.
 
 The partition structure looks like this:
 hda1 - NTFS (unformatted, want to convert over to Linux Native + ext3)
 hda2 - Swap
 hda3 - Linux Native (formatted ext3 with Gentoo installed)
 
simple.

mkft.etx3 /dev/hda1

done.

it won;t affect anything. 

unless you want to have evrything as 1 big partition.

eg: had1 - linux
hda2 - swap

then u have more work .


 -Mike
 
 -- 
 
 Michael E. Crute
 http://mike.crute.org
 
 I may not have gone where I intended to go, but I think I have ended
 up where I intended to be. --Douglas Adams
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] sqsh - Anyone with experience?

2006-08-03 Thread Ow Mun Heng
On Thu, 2006-08-03 at 15:09 -0700, Ow Mun Heng wrote:
 I'm looking for some pointers in using sqsh.
 The website - sqsh.org seems to be down.
 I can't seem to locate a mailing list.
 
 It works, but I would just like to know if I can get it to execute a
 script from a file.
 
 I know it has the option sqsh -i which is suppsoed to do that, but try
 as I might, itjust doesn't give me any output.
 

seems like I need to terminate the script with a ;

eg:
cat /tmp/p.sql
select
* 
from tablename()
;

Sorry for the noise
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xscreensaver new-login button

2006-08-01 Thread Ow Mun Heng
On Tue, 2006-08-01 at 15:21 -0700, Grant wrote:
 I've been reading that there is supposed to be a new-login button that
 appears on a locked screen if xscreensaver is compiled with
 +new-login.  I've tried xscreensaver 4.24 and 5.00 both with
 +new-login, but neither displays a new-login button on the locked
 screen.  This Debian bug describes and solves the problem, but if
 references a config in ~/.xscreensaver that doesn't seem to exist in
 mine:
 
 http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=336590
 
 Does anyone know how to make that new-login button appear?

Frankly I have no idea. Previously there was another poster which had
this problem.
I am on xscreensaver 4.24 and I have the new-login button.

[ebuild   R   ] x11-misc/xscreensaver-4.24  USE=gnome jpeg krb4
new-login nls offensive opengl pam -insecure-savers -kerberos -xinerama
0 k

I DIDN't do anything!

Looking at the bug-report and the contents of the file

$grep -i newlogin  /etc/X11/app-defaults/XScreenSaver -B4 

! This command is executed by the New Login button on the lock dialog.
! (That button does not appear if this program does not exist.)
!
*newLoginCommand:   /usr/bin/gdmflexiserver

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Missing /sbin/mount.cifs

2006-07-28 Thread Ow Mun Heng
On Fri, 2006-07-28 at 14:12 -0700, Richard Broersma Jr wrote:
 Does anyone know what package I would need to emerge to so that mount can 
 recognize a cifs volume?
  Or do I need to compile additional cifs / smb kernel modules?
 
 When I strace the mount -t cifs .
 
 it shows the following error:
 
 stat64(/sbin/mount.cifs, 0xbfc758e0)  = -1 ENOENT (No such file or 
 directory)

$qfile /usr/bin/mount.cifs 
net-fs/samba (/usr/bin/mount.cifs)


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Small Gnome 2.14 frustrations

2006-07-22 Thread Ow Mun Heng
On Sat, 2006-07-22 at 11:05 -0700, Mark Knecht wrote:
   Since upgrading to Gnome-2.14 I've run into some small frustrations:

Just Upgraded today.
 
 1) In the Desktop menu on the taskbar there is now a 'Shutdown' entry.
 We do not want to shutdown from anyone's account since this machine is
 also our MythTV backend server and we don't want to make a mistake and
 take it offline. Can this be removed somehow?
 
 2) For all login accounts every other login fails from the GDM login
 screen with a message something like this:
 
No Issues with this. What you can do is log out, log into console as
root/some other user.
kill all user processes, and delete all files in /tmp which remotely
resembles your username.
(there may be old user processes/data there)

 3) In my account only when I try to empty the Gnome trashcan I get a
 message like this:
 
not sure what's happening.
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto recreate files in /dev?

2006-07-21 Thread Ow Mun Heng


On Fri, 2006-07-21 at 07:47 +0200, Alexander Skwar wrote:
 Hello!
 
 Yesterday, I managed to unmount /dev of a running system (which is
 an astonishingly stupid idea... :]). As I didn't know how to recreate
 the files in /dev (I'm using udev), I rebooted the system.

The reboot should have settled your problem.
 
 But rebooting can't be the answer ;)
 
 How do I recreate all the dev files?

mknod is the only way I know and/but you need to know the major and
minor numbers for all the devices you want to create. 
 
 Thanks,
 
 Alexander Skwar
 -- 
 You can never tell which way the train went by looking at the tracks.
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Linux Kernel Warning

2006-07-14 Thread Ow Mun Heng
On Fri, 2006-07-14 at 14:24 -0700, Donnie Berkholz wrote:
  There's also
 the workaround mentioned in the SANS message if you don't feel
 comfortable with patching, as long as you don't need to use core dumps
 as non-root.

Besides that, there's also the fact that if you don't have local users,
then it's pretty safe.(Unless you get hacked for a 0-day or for not
doing glsa-checks)

My Take anyway.

(that and the workaround)
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FTPs - Is there such a thing?

2006-07-13 Thread Ow Mun Heng
On Wed, 2006-07-12 at 22:58 -0700, Donnie Berkholz wrote:
 Ow Mun Heng wrote:
  What I meant is secure ftp.
  sort of like httpS as an alternative to http.
  
  short of wrapping/tunneling ftp traffic through SSH. (That's simple)
 
 It's called sftp, and openssh does it with this in /etc/ssh/sshd_config:


Sorry, I should have mentioned that I know about that as well.
Most other users are Windows users and they then to just like to click a
link eg:

ftp://1.2.3.4

and it'll open up in explorer. (users, they don't care, as long as it
works)

 # override default of no subsystems
 Subsystem   sftp/usr/lib/misc/sftp-server
 
 Most SSH clients will do it, FTP clients may not.

And I sincerely doubt windows explorer can do it. (Which is the problem)

Thanks
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Cron and Local Root Vuln

2006-07-13 Thread Ow Mun Heng
There was a disclosure in bugtraq/full-disclosure on this issue.
Main thread is here
http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/047831.html

Workround is here
http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/047868.html

Proof of concept is here
http://www.milw0rm.com/exploits/2006

This is on a GentooLInux Box 2.6.16-suspend2-r1 kernel.

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FTPs - Is there such a thing?

2006-07-13 Thread Ow Mun Heng
On Thu, 2006-07-13 at 08:14 +0200, Alexander Skwar wrote:
 Ow Mun Heng schrieb:
  What I meant is secure ftp.
  sort of like httpS as an alternative to http.
  
  short of wrapping/tunneling ftp traffic through SSH. (That's simple)
 
 What do you mean? FTP through SSH? Or like the https? Those
 are two very different approachs!
 
 The first is called sftp, SSH File Transfer Protocol or Secure File
 Transfer Protocol, which are different protocols.
 The latter is called ftps, FTP over SSL.

Yes. I want FTP over SSl or FTPs. If there exists such a protocol.


 
 Alexander Skwar
 -- 
 It's is not, it isn't ain't, and it's it's, not its, if you mean it
 is.  If you don't, it's its.  Then too, it's hers.  It isn't her's.  It
 isn't our's either.  It's ours, and likewise yours and theirs.
   -- Oxford University Press, Edpress News
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FTPs - Is there such a thing?

2006-07-13 Thread Ow Mun Heng
On Thu, 2006-07-13 at 16:19 +0300, Daniel Iliev wrote:
 Janusz Bossy wrote:
  This is no Internet Explorer thing and this is exactly the place he
  should ask. The problem isn't that IE doesn't support sftp but we are
  looking for something on Gentoo that IE supports (possibly ftps or
  similar).

Exactly

 
 Well, if FTPS is supported by MS-IE, then there is a solution in the
 portage. It is called *vsftpd*
 
 
 USE=ssl emerge net-ftp/vsftpd
 

I do have vsftpd installed and it's what I'm using as the ftp server on
a Gentoo Box.
I'll go dig and see how to set it up.

Thanks

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FTPs - Is there such a thing?

2006-07-13 Thread Ow Mun Heng
On Thu, 2006-07-13 at 14:33 -0700, Ow Mun Heng wrote:

 I do have vsftpd installed and it's what I'm using as the ftp server on
 a Gentoo Box.
 I'll go dig and see how to set it up.
 

Found it on the wiki. Now, After it's set up, how do I test it? I don't
see any additional ports being opened for SSL. (like in apache)
I'm not too sure if there is / should be a difference.

I tried using lftp (which supports ftps) and traced the connection using
tcpdump/ethereal. 
Nothing happens, looking at the dumps, I see reset packets being sent
back to the server and lftp keeps telling me [Delaying Xsecs before
reconnect]


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Apache Autoindex applications

2006-07-12 Thread Ow Mun Heng
On Mon, 2006-07-10 at 14:52 +0300, Daniel Iliev wrote:
 Ow Mun Heng wrote:
  Yes that's true, but, I don't really want to go into implementing an
  LDAP server/service right now.
  Besides that, I'm looking at using the autoindex script for web-based
  file storage. It doesn't support LDAP. (AFAIK)
 
   The auotoindex is used only to generate an HTML list of the contents
 of a given directory. Not to manage that contents. The access to that
 directory can be restricted using authentication. 

It's to be used also as a means to manage content. (It's main purpose is
to facilitate easier/faster WAN connections through TCP rather than
using SAMBA/CIFSs/NFS which is dog slow (Even when using NFS w/ TCP)

 If your idea is to make something like a file sharing site, where
 depending on the login credentials a user could only download files or
 again depending on the credentials the user could also upload files the
 easiest way is to use a cgi script (perl, php, whatever) for
 uploading. The script should reside in a directory where only
 unloaders have access and should save the uploaded files in the
 downloads directory.

Actually, this is just partially useful. A WebDAV solution would be the
BEST, however, until now, I've not found a suitable way to provide for
and to address priviledge separation using WebDAV. Which is why I am
thinking on going through this SQL solution using SAMBA and AutoIndex.


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] FTPs - Is there such a thing?

2006-07-12 Thread Ow Mun Heng
What I meant is secure ftp.
sort of like httpS as an alternative to http.

short of wrapping/tunneling ftp traffic through SSH. (That's simple)
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Apache Autoindex applications

2006-07-09 Thread Ow Mun Heng
Hi,

Does anyone has any recommendations for using some sort of autoindex
script for apache? I know and am currently using 
http://autoindex.sourceforge.net which has login/upload capabilities.
I'm trying to see if there are any other alternatives.

My goal. Integrate a front end apache-autoindex (w/ upload/login
capability) that uses a SQL backend for authentication(I can use 
mod_auth_mysql as a means for connecting autoindex's htpasswd/htaccess
to mysql and I am thinking of also integrating SAMBA with mysql using
the pdbsql backend so I can have an integrated samba/apache file-server.

(I was thinking of using WebDAV, but can't figure out how to do
priviledge separation and have separate user/group accounts for
different users/groups)

If anyone has any pointers, do tell.

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Apache Autoindex applications

2006-07-09 Thread Ow Mun Heng
On Mon, 2006-07-10 at 02:00 +0300, Daniel Iliev wrote:
 Ow Mun Heng wrote:
  My goal. Integrate a front end apache-autoindex (w/ upload/login
  capability) that uses a SQL backend for authentication(I can use 
  mod_auth_mysql as a means for connecting autoindex's htpasswd/htaccess
  to mysql and I am thinking of also integrating SAMBA with mysql using
  the pdbsql backend so I can have an integrated samba/apache file-server.
 
 Well, I really can't see why would you want to use whatever-SQL-server
 for that purpose.
 If a user has logged in the samba file server and you want to spare
 him/her additional login to the apache server and vice versa you could
 use LDAP autentication. Both samba and apache can talk LDAP.

Yes that's true, but, I don't really want to go into implementing an
LDAP server/service right now.
Besides that, I'm looking at using the autoindex script for web-based
file storage. It doesn't support LDAP. (AFAIK)
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Ow Mun Heng
On Sat, 2006-07-08 at 11:09 -0700, Grant wrote:
 My girlfriend's laptop's internal wireless card doesn't seem to
 compatible with WPA and I don't want to use WEP on my Gentoo router.
 This leaves me with the options of either getting her to buy a new
 wireless card or sharing my laptop.  She has a user account on my
 laptop and I use gdm so it's easy for her to log in, but is there
 anything that can be done about the situation where I'm logged in and
 away, xscreensaver has locked the screen, and she wants to log into
 her account and use the system?


er... click New Login as it's presented at the xscreensaver prompt?

 - Grant
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Ow Mun Heng
On Sat, 2006-07-08 at 13:40 -0600, Justin R Findlay wrote:
 On Sat, Jul 08, 2006 at 12:12:56PM -0700, Ow Mun Heng wrote:
  
  er... click New Login as it's presented at the xscreensaver prompt?
 
 I believe the newlogin feature was just introduced in xscreensaver-5.00
 which came out just recently. 

$sudo emerge -pv xscreensaver
[ebuild   R   ] x11-misc/xscreensaver-4.24  USE=gnome jpeg krb4
new-login nls offensive opengl pam -insecure-savers -kerberos -xinerama
0 kB 

$quse new-login
x11-misc/xscreensaver/xscreensaver-4.22-r4.ebuild gnome jpeg kerberos
krb4 insecure-savers new-login nls offensive opengl pam xinerama 
x11-misc/xscreensaver/xscreensaver-4.23-r1.ebuild gnome jpeg kerberos
krb4 insecure-savers new-login nls offensive opengl pam xinerama 
x11-misc/xscreensaver/xscreensaver-4.24.ebuild gnome jpeg kerberos krb4
insecure-savers new-login nls offensive opengl pam xinerama 
x11-misc/xscreensaver/xscreensaver-5.00.ebuild gnome jpeg kerberos krb4
insecure-savers new-login nls offensive opengl pam xinerama 



-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] EIX and sunrise overlay

2006-07-08 Thread Ow Mun Heng
I just found out about sunrise overlay and I've added a few overlays
into my tree.
Seems that eix doesn't know about it. How can I inform eix about it?

when I do a update-eix --dump I do see that I didn't exclude any trees.

Eix however, does know about my overlays in /usr/local/portage

and yes, I did put in source /usr/portage/layman/make.conf in make.conf

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Big thanks to spyderous

2006-07-06 Thread Ow Mun Heng
On Wed, 2006-07-05 at 21:19 -0700, Donnie Berkholz wrote:
 Richard Fish wrote:
  Just want to give a big public Thank You to spyderous for hanging
  out in -user and helping out those who had/are having trouble with the
  modular-X upgrade.
 
 I've been trying to do the same on the forums, for those of you around
 there. Hope it's made this somewhat difficult transition a bit easier
 for you.

I'm still stucked on Xorg-6.8 and not intending to upgrade anytime soon
unless there is a lot of good things to expect out of it.
Right now, as long as there's no exploit/bug for xorg-6.8, I'll keep it
that way.

My 2 cents anyway.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Big thanks to spyderous

2006-07-06 Thread Ow Mun Heng
On Thu, 2006-07-06 at 01:54 -0700, Donnie Berkholz wrote:
 Ow Mun Heng wrote:
  I'm still stucked on Xorg-6.8 and not intending to upgrade anytime soon
  unless there is a lot of good things to expect out of it.
  Right now, as long as there's no exploit/bug for xorg-6.8, I'll keep it
  that way.
 
 Yep, that's your prerogative. But the next exploit may not get updated
 in 6.x. 

Don't get me wrong, it's not that I don't want to upgrade, I just don't
have a test box and I just don't want to go through some hell to get
my laptop to work for work. :-)

 There are plenty of improvements to expect, but you'd need to
 read the ChangeLogs for details.

Which changelogs? Xorgs or the one in portage?
I can't seem to find the changelogs for xorg 7.0 in www.x.org.

  Addition of the new acceleration
 architecture (exa), accelerated indirect GLX, and many fixes to drivers
 are just a few.

I see, you mean xorg's changelogs.

I just looked at the modular x upgrade howto and the wiki, seems pretty
decent. 
But the Block List and the # of packages is just huge :-)

What are the caveats during the upgrade?



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] direct rendering only works with root???

2006-07-06 Thread Ow Mun Heng
On Fri, 2006-07-07 at 01:43 +0200, Frédéric Grosshans wrote:
 Le lundi 03 juillet 2006 à 09:44 -0400, John J. Foster a écrit :

  Check your xorg.conf for the following:
  
  Section DRI
  Mode 0666
  EndSection
 
 but this line is already in my xorg.conf. 
 
 Furthermore, it only happens in my first session. If I logout and login
 again (trough gdm), direct rendering works for the normal user !

Is your udev putting the permissions correctly? This was one of the
issues previously.

 $grep dri /etc/udev/rules.d/50-udev.rules 
# dri devices
KERNEL==card*,NAME=dri/card%n, GROUP=video


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux router setup - howto?

2006-07-06 Thread Ow Mun Heng
On Thu, 2006-07-06 at 20:09 -0400, Mike Markowski wrote:
echo 1  /proc/sys/net/ipv4/ip_forward
 
 What more needs doing?

Search through either gentoo-wiki or gentoo.org. IIRC there are step by
step instructions on doing this.
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Encryption in Kopete

2006-06-27 Thread Ow Mun Heng
On Mon, 2006-06-26 at 00:24 +0200, Bo ??rsted Andresen wrote:
 On Sunday 25 June 2006 21:02, Mick wrote:
  Is there a similar function in Gaim, or does it only do vanilla
  messaging (unencrypted)?
 
 I have no experience with encryption in instant messengers so can't help with 
 that. But there is a plugin:
 
 # eix gaim-encryption
 * x11-plugins/gaim-encryption

I use this. It's Great.
There is also this. I've never tested it, but it's supposed to be
better(?) than the former.

* x11-plugins/gaim-otr 
 Available versions:  ~1.0.3 ~2.0.0 ~2.0.1 ~2.0.2 ~3.0.0 ~3.0.0-r1
 Installed:   none
 Homepage:http://www.cypherpunks.ca/otr/
 Description: (OTR) Messaging allows you to have private
conversations over instant messaging


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [VERY OT] Vmware and Ctrl-E (power Off)

2006-06-21 Thread Ow Mun Heng
On Wed, 2006-06-21 at 13:58 -0700, Richard Fish wrote:
 On 6/16/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
  I'm getting really frustrated. (googling didn't help cos not sure what
  to input as search string)
 
  I believe there is a Do you really want to shut down diaglog box
  somewhere.
 
  Can anyone let me know where that is??
 
 In ~/.vmware/preferences, find the setting 'hint.vmui.poweroff'.
 Change it from 'FALSE' to 'TRUE'.  You might want the same thing for
 hint.vmui.reset.

I'll give it a go. Many Many Thanks.

 HTH,
 -Richard
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Video conversion

2006-06-17 Thread Ow Mun Heng
n Sat, 2006-06-17 at 11:24 +0800, Iain Buchanan wrote:
 On Fri, 2006-06-16 at 15:22 -0700, Ow Mun Heng wrote:
 
  Try these. Should be a simple --target DVD 
  
  *  media-video/tovid [ Masked ]
 
 It seems to be removed... or did you use an overlay?

Yeah.. Sorry, its an overlay

(though i believe the site has a gentoo ebuild)


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Accessing mailserver with ssh

2006-06-17 Thread Ow Mun Heng
On Sat, 2006-06-17 at 20:05 +, Mick wrote:
 On 17/06/06, Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote:
 
  You cannot use an ssh client in this manner.
 
  If you want a telnet client, emerge either netkit-telnetd or telnet-bsd.
 
 Thanks for all the replies.  I had not emerged telnet so far because
 of potential security reasons.  Is netcat better in that respect?

What makes you think that's it's better than telnet? esp when you see
this during it's emerge

[ebuild   R   ] net-analyzer/netcat-110-r8  USE=crypt
-GAPING_SECURITY_HOLE -ipv6 -static 0 kB 

ps : Didn't follow the thread, so don't know what you want to achieve/do

 -- 
 Regards,
 Mick
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Video conversion

2006-06-16 Thread Ow Mun Heng
On Fri, 2006-06-16 at 21:58 +, JimD wrote:
 Does anyone know of a good guide for converting an xvid to DVD under Gentoo?
 I have previously ripped a few of my kids Disney movies.  Now one is broke so
 I want to burn from the backup.
 
 Thanks for any help,
 
 JimD

Try these. Should be a simple --target DVD 

*  media-video/tovid [ Masked ]
  Latest version available: 0.22
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 104 kB
  Homepage:http://tovid.sourceforge.net/
  Description: Video conversion and DVD authoring tools
  License: GPL-2

*  media-video/tovid-gui [ Masked ]
  Latest version available: 0.22
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 129 kB
  Homepage:http://tovid.sourceforge.net/
  Description: Video conversion and DVD authoring tools
  License: GPL-2

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [VERY OT] Vmware and Ctrl-E (power Off)

2006-06-16 Thread Ow Mun Heng
I'm getting really frustrated. (googling didn't help cos not sure what
to input as search string)

Under Vmware, the CTRL-E key means Power OFF and during my virtual
session, one of the apps I'm using uses Ctrl-E as an Start execution
shortcut. 
Unfortunately, if I were to move the mouse _out_ of the vmware focus
area, then the whole virtual term shuts down.

I believe there is a Do you really want to shut down diaglog box
somewhere.

Can anyone let me know where that is??

(Frustrating to lose work in the middle of something. This is like the
5th time already I'm restarting and picking up the unsaved pieces)
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Video conversion

2006-06-16 Thread Ow Mun Heng
 Thanks, I will give them a whirl.  The last time I needed to convert a
 divx/xivd to DVD (many moons ago) I used transcode and a bunch of
 other tools.  It was a mess :-)

http://tovid.wikia.com/wiki/Making_a_basic_DVD

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Spamassasin Pulling in GNUPG - Why?

2006-06-15 Thread Ow Mun Heng
I cannot figure out why it's pulling it in as a dependency.

[ebuild U ] mail-filter/spamassassin-3.1.3 [3.1.0] USE=berkdb ssl -doc 
-ipv6% -ldap% -minimal -mysql -postgres% -qmail -sqlite% -tools 952 kB 
[ebuild  N]  app-crypt/gnupg-1.9.20-r3  USE=nls -X -caps 
-gpg2-experimental -ldap -smartcard 1,767 kB 
[ebuild  N]   app-crypt/gnupg-1.4.2.2  USE=bzip2 nls readline zlib -X 
-caps -curl -ecc -idea -ldap -smartcard -static -usb 2,963 kB 
[ebuild  N]   dev-libs/libassuan-0.6.10  251 kB 
[ebuild  N]   dev-libs/pth-1.4.0  434 kB 
[ebuild  N]   dev-libs/libksba-0.9.14  480 kB 
[ebuild  N]dev-libs/libgcrypt-1.2.2-r1  USE=nls 939 kB 
[ebuild  N] dev-libs/libgpg-error-1.0-r1  USE=nls 316 kB 
[ebuild  N] perl-core/PodParser-1.32  USE=-minimal 91 kB 
[ebuild U ] app-admin/perl-cleaner-1.04 [1.01] 5 kB 
[ebuild U ] perl-core/Test-Harness-2.56 [2.42] USE=-minimal 63 kB 
[ebuild U ]  virtual/perl-PodParser-1.34 [1.30] 0 kB 
[ebuild U ]   dev-lang/perl-5.8.8-r2 [5.8.7-r3] USE=berkdb -build -debug 
-doc -gdbm -ithreads -perlsuid 9,886 kB 
[ebuild U ]sys-devel/libperl-5.8.8-r1 [5.8.7] USE=berkdb -debug -gdbm* 
-ithreads 0 kB 

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Spamassasin Pulling in GNUPG - Why?

2006-06-15 Thread Ow Mun Heng
On Fri, 2006-06-16 at 07:53 +0300, Rumen Yotov wrote:
 Ow Mun Heng wrote:
  I cannot figure out why it's pulling it in as a dependency.
  
  [ebuild U ] mail-filter/spamassassin-3.1.3 [3.1.0] USE=berkdb ssl -doc 
  -ipv6% -ldap% -minimal -mysql -postgres% -qmail -sqlite% -tools 952 kB 
  [ebuild  N]  app-crypt/gnupg-1.9.20-r3  USE=nls -X -caps 
  -gpg2-experimental -ldap -smartcard 1,767 kB 
  [ebuild  N]   app-crypt/gnupg-1.4.2.2  USE=bzip2 nls readline zlib -X 
  -caps -curl -ecc -idea -ldap -smartcard -static -usb 2,963 kB 
 Look at the ebuild, IMHO 'gnupg' is now a required (not optional)
 dependency for spamassassin.

You;re Right. Why is that?
Does anyone knows?
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] web_dav as samba replacement for file-sharing

2006-06-15 Thread Ow Mun Heng
I'm wondering if anyone here has been able to enable web_dav to become a
full fledged replacement for samba. Samba is fine, don't get me wrong,
but it just sucks when it's across WANs.

My current problem lies with figuring out how to enable some sort of
privilege separation.

Current implementation of web_dav uses htaccess/htpasswd files and all
directories are/needs to be writeable by the apache user(nobody/apache).
There doesn't seem to be a bridge to enable eg:

users from DeptA - read/write to dept_A_folder and dept_B_folder
users from DeptB - Read only to dept_A_folder and read/write to
dept_B_folder

something along those lines.

The other thing I need to understand also is, does web_dav work with old
Win98 systems?

Also, there has to be proper means for changing passwords.(either
htaccess/htpasswd or mysql backend)
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Gentoo Sweatshirts

2006-06-14 Thread Ow Mun Heng
On Tue, 2006-06-13 at 20:37 -0500, Teresa and Dale wrote:
 Ow Mun Heng wrote:
 
 Hi guys,
 
  Am here in the US. Would like to purchase a Gentoo Branded sweatshirt.
 There's one I found on Cafepress @29.99 which is hooded. Anyone knows of
 one which does not have a hood?
 
 Preferably something even cheaper than that??
 
   
 
 
 If you are here long enough you can order one from here.
 
 http://www.cafepress.com/officialgentoo/617982
 
 Is that what you are looking for or are you looking for a store where
 you are that has them?
Yeah.. That's the exact same one I'm talking about.

If possible, if there's a store which I can get it from, it would be
even better.


 
 Dale
 :-)  :-)
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Gentoo Sweatshirts

2006-06-13 Thread Ow Mun Heng
Hi guys,

Am here in the US. Would like to purchase a Gentoo Branded sweatshirt.
There's one I found on Cafepress @29.99 which is hooded. Anyone knows of
one which does not have a hood?

Preferably something even cheaper than that??

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Gnome-2.16

2006-06-02 Thread Ow Mun Heng
Where is gnome-2.16? It's not in portage? eix gnome-desktop only shows
2.14.

-- 
Cheers,
Ow Mun Heng
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome-2.16

2006-06-02 Thread Ow Mun Heng
On Fri, 2006-06-02 at 22:39 -0500, Jeremy Olexa wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Ow Mun Heng wrote:
  Where is gnome-2.16? It's not in portage? eix gnome-desktop only shows
  2.14.
  
 
 Well,
 According to GNOME's homepage, 2.14 is the stable release and 2.15 is
 the development build. 2.16 doesn't exist, that is probably why its not
 in portage ;-)
 
 http://live.gnome.org/ReleasePlanning


Arrgh.. Crap.. Sorry for the noise. (Bad Hair day today)

So.. I believe the correct question is .. when will Gentoo unmask
Gnome-2.14? When is the timeline?

(I know I can unmask it myself, but that's not something I want to do)

-- 
Cheers,
Ow Mun Heng
Head Media Engineering
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Playing sysSokoban: Blocked update of pam-login

2006-06-02 Thread Ow Mun Heng
On Sat, 2006-06-03 at 06:17 +0200, Meino Christian Cramer wrote:
 Hi,
 
  I did a
 
eix-sync; emerge -up world
 
  After the command has ended, I got this output beside others:
 
[blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.15-r2)
[ebuild U ] sys-apps/man-pages-2.31 [2.29]
[ebuild U ] sys-apps/shadow-4.0.15-r2 [4.0.14-r1]
[ebuild U ] app-shells/bash-3.1_p16 [3.0-r12]
 
  For me this means: Shadow has been updated, but cannot be installed
  for update before removing pam-login.
 
  When I will remove pam-login, I cannot login anymore... ?

Read this
http://farragut.flameeyes.is-a-geek.org/articles/2006/06/01/refreshing-the-pam-login-and-shadow-problem


  
  Keep hacking!
  mcc
 
-- 
Cheers,
Ow Mun Heng
Head Media Engineering
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Tomboy - Does it have Alerts?

2006-06-01 Thread Ow Mun Heng
I just installed tomboy, seems nice. 

Is there capability to add in Alerts/alarms?
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Tomboy - Does it have Alerts?

2006-06-01 Thread Ow Mun Heng
On Thu, 2006-06-01 at 22:27 +0200, Johám-Luís Miguéns Vila wrote:
 On 11:37 Thu 01 Jun , Ow Mun Heng wrote:
  I just installed tomboy, seems nice. 
  
  Is there capability to add in Alerts/alarms?
  -- 
  Ow Mun Heng [EMAIL PROTECTED]
  
 
 I don't think so... For this I'm using remind+wyrd... You can give them a 
 shot..

Thanks. 
 
 cheers

-- 
Cheers,
Ow Mun Heng
Head Media Engineering

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Application for Meetings eg: GoToMeeting/Netmeeting/Webex

2006-05-23 Thread Ow Mun Heng
Is there an equivalent software which can do things such as the 3
applications above? I just saw a demonstration of Webx and GoToMeeting
and I think it's really good to be able to use something like that for a
inter-country meeting.


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Ow Mun Heng
Current situation is that I have a bad disk /dev/sdb1 in an existing lvm
partition. (sda1/sda4/sdb1)

I would like to remove it from the VG.

I've already reduced the existing VG to the size of sda1+sda4
partition. 

I would like to remove entirely the Physical Extents from the volume
group. It doesn't seem like there's a way to do this w/o putting another
disk inside? 

I'm sure that's not true.


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Ow Mun Heng
On Mon, 2006-05-22 at 10:00 +0100, Neil Bothwick wrote:
 On Mon, 22 May 2006 00:33:47 -0700, Ow Mun Heng wrote:
 
  I would like to remove entirely the Physical Extents from the volume
  group. It doesn't seem like there's a way to do this w/o putting another
  disk inside? 
 
 $ man vgreduce
 
 DESCRIPTION
vgreduce  allows  you to remove one or more unused physical volumes
from a volume group.
 

Did try that.. it keeps complaining

vgreduce storage /dev/sdb1
  Physical volume /dev/sdb1 still in use

I have no idea what/who is using it. fuser/lsof etc doesn't show up
anything
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Ow Mun Heng
On Mon, 2006-05-22 at 16:28 +0200, Alexander Skwar wrote:
 Ow Mun Heng wrote:
 
  Did try that.. it keeps complaining
  
  vgreduce storage /dev/sdb1
Physical volume /dev/sdb1 still in use
  
  I have no idea what/who is using it. fuser/lsof etc doesn't show up
  anything
 
 This means, that there are still used Physical Extents (PEs) on
 this PV. A PE is used, if it is referenced by a Logical Volume (LV).
 
 So - you'll need to move all the LVs off of that PV. To do so, use
 pvmove.

I've just created a test scenerio using a test box (under vmware) and
for some reason, this one can't get dm-mirror. 

Where can I get dm-mirror?

For the original box, as I mentioned, I don't have any free PE to move
the existing data to. As such, it won't let me pvmove anything.

(after some trouble, I managed to reduce/remove the physical disk - Thanks)

BTW, how do I remove _all_ physical volumes? eg: start out clean?

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT : SMA to TNC connector for WRT54GC - Airlink Reverse TNC

2006-05-20 Thread Ow Mun Heng
Hi guys,

I bought a WRT54GC linksys wifi router and it has an option for a
Antennae. However, the antennae which I got has/uses a Reverse TNC
connector which is doesn't fit on the linksys's. (it's an SMA connector)

I'm searching for a Reverse SMA to TNC connector for this. Anyone knows
where I can find it in the near vicinity of San Jose?

Thanks.


-- 
Cheers,
Ow Mun Heng
Head Media Engineering

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT : Recommendation for Bluetooth USB adapter

2006-05-08 Thread Ow Mun Heng
Hi,

Can anyone here recommend a Bluetooth USB dongle which will work under
Linux? Hopefully, it's something cheap and which can be purchased from
Fry's



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 22:59:13 up 1 day, 9:29, 4 users, load average: 0.46, 0.81,
0.89 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT : Recommendation for Bluetooth USB adapter

2006-05-08 Thread Ow Mun Heng
On Mon, 2006-05-08 at 18:46 +0200, Luigi Pinna wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Alle 08:00, luned?? 8 maggio 2006, Ow Mun Heng ha scritto:
  Hi,
 
  Can anyone here recommend a Bluetooth USB dongle which will work
  under Linux? Hopefully, it's something cheap and which can be
  purchased from Fry's
 
 I have a MSI usb bluetooth dongle, it cost 20??? (1 year ago) and works 
 perfect!
 Luigi


That's perfect. Thanks to all that answered

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 21:34:32 up 2 days, 8:04, 3 users, load average: 0.63, 0.52,
0.40 


-- 
gentoo-user@gentoo.org mailing list



  1   2   3   4   >