Monday, February 25, 2008

mountd problem: "Can't change attributes"

A very weird problem on a NetBSD 2.0.2 (I know. It's really old, but I don't have time to upgrade it yet). It seems only the first directory in /etc/exports can be successfully exported. Other lines cause this error:

[kung@lion2 wireless_drivers]$ cat /etc/exports
/mnt/extra/exports/mesh-allrw -maproot=32767:39 mesh-c mesh-d mesh-e mesh-f mesh-g mesh-i mesh-j mesh-l
/mnt/extra/exports/mesh-allro -maproot=32767:39 -ro mesh-c mesh-d mesh-e mesh-f mesh-g mesh-i mesh-j mesh-l

Error messages:
Feb 24 19:20:15 lion2 mountd[6982]: "/mnt/extra/exports/mesh-allro -maproot", line 2: Can't change attributes for /mnt/extra/exports/mesh-allro to mesh-c: Operation not permitted


I have no idea why it would happen. But it seems only the first line of /etc/exports will work. It maybe a bug of this very old version of NetBSD. I will upgrade the machine to a more recent version of NetBSD soon.

Thursday, February 21, 2008

Wi-spy

http://www.metageek.net/products/wi-spy_24x

This small spectrum analyzer looks very interesting. Maybe I should persuade Nitin to buy one to analyze how busy the spectrum is.

Friday, February 15, 2008

virus kavo

I am trying to help a junior student remove rootkit virus kavo.exe and ubs.exe from her computer. But it always comes back after I thought it's cleaned. So far I've tried:

1. del_kavo.exe

2. del_kavo from trend micro

It seems some copy of the executable was hidden and executed every time I thought the virus is removed. I'll try the following:
  • Disable "system restore" function of windows XP.
  • Delete autorun.inf on disks and removable media.

Link of Virus Kavo at Trend Micro

Follow up: (3/04)
A post of detailed steps to clean kavo:
http://forums.spywareinfo.com/index.php?showtopic=108252&hl=kavo