[gentoo-user] Free memory issue

2009-08-16 Thread Raul Gonzales

Hi all,

I wonder what is going on with my system. I have a 2G of physical RAM 
but even without any major activity output of free,vmstat and top 
reports only ~64M free. Would any one know how to find more - ps doesn't 
show nothing wrong...





free -m
total   used   free sharedbuffers cached
Mem:  1953   1888 65  0143   1557
-/+ buffers/cache:187   1765
Swap: 2055  0   2055


procs ---memory-- ---swap-- -io -system-- 
cpu
r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy 
id wa
0  0  0  66720 147196 159440000 310   27   75  0  0 
100  0



top - 20:34:42 up 1 day,  9:40,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  99 total,   1 running,  98 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  
0.0%st

Mem:   2000552k total,  1934028k used,66524k free,   147200k buffers
Swap:  2104504k total,0k used,  2104504k free,  1594492k cached


thanks a lot,
Raul



[gentoo-user] hal .fdi rules for usb stick

2009-06-06 Thread Raul Gonzales

Hi,

I'm trying to get my USB stick mounted at some other  place than 
/media/VOLUME-LABEL. For the beginning it would be enough to mount it 
to /media/usbstick.

I've created my own fdi rule:


#cat /usr/share/hal/fdi/policy/20thirdparty/10-usb-mount.fdi
?xml version=1.0 encoding=UTF-8?

deviceinfo version=0.2

device
  match key=volume.fsusage string=filesystem
match key=volume.uuid string=9487-F0B5
   merge key=volume.policy.should_mount 
type=booltrue/merge
   merge key=volume.policy.desired_mount_point 
type=string/media/merge
   append key=volume.policy.desired_mount_point 
type=copy_propertyusbstick/append

/match
  /match
/device

but it didn't work

Also is there a way how to mount usb stick to some completely different 
location, like: /home/user/usbstick ?



Thanks,
Raul



[gentoo-user] change output of passwd

2009-05-27 Thread Raul Gonzales
Hi,

 is there a way how to change output of passwd?

From:
New UNIX password:
BAD PASSWORD: it is WAY too short


To something like:
New UNIX password:
BAD PASSWORD: password must be at least 6 characters long and must contain
at least 1 digit, 1 special character


Thanks,

Raul


[gentoo-user] password rules

2009-05-26 Thread Raul Gonzales
Hi all,

I would like to set some rules for user passwords like minimum length,
password must contain a digit, special character, upper and lower letters,
etc. but have not found a way  yet how to do it. Do I need some special
addon or is this configurable in base system?

Thanks,
Raul


[gentoo-user] strange net interfaces

2009-05-11 Thread Raul Gonzales
Hi all,

I've found that when I run ip link show on my box it gives me:

1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state
UP qlen 100
link/ether 00:0d:60:91:03:1f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.11/24 brd 192.168.1.255 scope global eth0
inet6 fe80::20d:60ff:fe91:31f/64 scope link
   valid_lft forever preferred_lft forever
3: bond0: BROADCAST,MULTICAST,MASTER mtu 1500 qdisc noop state DOWN
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop state DOWN
link/ether 8a:3c:77:a9:b5:c0 brd ff:ff:ff:ff:ff:ff
5: ifb0: BROADCAST,NOARP mtu 1500 qdisc noop state DOWN qlen 32
link/ether 8e:cf:e3:61:30:ea brd ff:ff:ff:ff:ff:ff
6: ifb1: BROADCAST,NOARP mtu 1500 qdisc noop state DOWN qlen 32
link/ether 8e:ba:b0:96:8e:d7 brd ff:ff:ff:ff:ff:ff
7: teql0: NOARP mtu 1500 qdisc noop state DOWN qlen 100
link/void
8: tunl0: NOARP mtu 1480 qdisc noop state DOWN
link/ipip 0.0.0.0 brd 0.0.0.0
9: gre0: NOARP mtu 1476 qdisc noop state DOWN
link/gre 0.0.0.0 brd 0.0.0.0
10: sit0: NOARP mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0


but I expected only lo and eth0 as I did not configured the others. How
could I get rid of the rest of interfaces?

Thanks a lot.

R.