fredag den 2. oktober 2009

Debian : Set default permission for a new file

For all users except root:
change etc/profile
umask 022 (is the default value)

For root:
change /root/.bashrc
umask 022 (is the default value)

eks. umask 022 will give following permission : rw- r-- r--

umask 002 will give following permission : rw- rw- ---

torsdag den 1. oktober 2009

Nokia Reset E71

*#7330# / 12345

Dreambox Remote codes


http://sat-plus.com/showthread.php?t=92565

Windows remove hidden network devices

1. Click Start, click Run, type cmd.exe, and then press ENTER.
2. Type set devmgr_show_nonpresent_devices=1, and then press ENTER.
3. Type Start DEVMGMT.MSC, and then press ENTER.
4. Click View, and then click Show Hidden Devices.
5. Expand the Network Adapters tree.
6. Right-click the dimmed network adapter, and then click Uninstall.

Windows duplicate names on network

LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\

DisableStrictNameChecking (DWORD) = 1

vmware permit root ssh

nano /etc/ssh/sshd_config
#Edit : PermitRootLogin yes
#service sshd restart

vmware expand vmdk file windows

vmkfstools -X 48G /vmfs/volumes/xxxx/yyyy.vmdk

boot windows - extpart (1024*XGB) = xxxx

vmware Qlogic HBA - iscli (equallogic)

Download:
1. http://support.qlogic.com/support/os_detail.asp?productid=962&osid=26

Install:
1. tar –xvzf isc./isc li-1.1.00-13_linux_i386.install.tar.gz
2. ./iscli.dkms.install.sh install
3. /home/feni/qlogic/ql4022rm.BIN
4. /home/feni/qlogic/qla4022.dl

Configure:
1. iscli 0 -n IP_ARP_Redirect on
2. iscli 0 -n KeepAliveTO 130
3. iscli 0 -n ExeThrottle 128
4. iscli 0 -n Large_Frames off (or "on" if you run Jumbo).
5. iscli 0 -n 1 TCP_Auto_Discovery on