2013年2月22日 星期五

netbios alias

1:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Add a new Multi-String value called OptionalNames. Enter one or more aliases, one per line.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Add a new DWORD value called DisableStrictNameChecking and set to 1.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters Add a new DWORD value called DisableLoopBackCheck and set to 1.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 Add a new Multi-String Value BackConnectionHostNames. Enter one or more aliases, one per line.


2: reboot server

netbios debug tips: nbtstat -RR / -c 
netbios diag tool: browstat

Please note, the target netbios name should match the dns a record or should not exist in dns zone. otherwise, system will always prompt authentication error with error code 1396 when issuing net use command.

2012年12月27日 星期四

linux network if configuration tips

route define: /etc/sysconfig/network-scripts/route-eth1
content:: 172.16.1.0/24 via 172.16.1.1 dev eth1

2012年12月26日 星期三

PXE tips

tftpx policy search order
1: 01-MAC_ADDR
if MAC address of PXE client is 00-15-5D-10-31-08, the PXE policy name must be 01-00-15-5d-10-31-08
Please note, all letters in MAC should be lower case


2: IP (HEX) without dot
if assigned IP address is 192.168.2.89, the PXE policy name must be  C0A80259.
Please note, all letters from the converted IP address bits must be upper case and dot need to be removed from the PXE policy name.

boot option tips:
noacpi
noipv6
lang=en
keymap=us

2012年12月19日 星期三

remote Linux installation on Dell R710 server via PXE through sol

1: enable sol from bios
2: enable ipmi on BMC
3: setup root password for ipmi connection
4: kernel option for pxe label console=tty0 console=ttySx,115200n8
5: boot to text mode --> add " text " to append segment


2012年11月2日 星期五

sol setup on Dell poweredge servers

from BIOS: redirect serial to com2

on ipmi-enabled Linux machine
enable console redirect on kernel
--> modify grub.conf
-->  serial --unit=0 --speed=115200
-->  terminal --timeout=10 serial console
add kernel option --> console=tty0 console=ttyS1,115200n8 

add "ttyS1" to /etc/securetty

and below line to /etc/inittab
co:2345:respawn:/sbin/agetty -h -L 19200 ttyS1 vt100

connect to the Linux server via ipmitool
ipmitool -I lanplus -H IPMI_HOST -U IPMI_ACCOUNT -P IPMI_ACCOUNT_PASSWD sol activate


please note, since I redirect the serial to com2, I have to set kernel option to ttyS1.
If I redirect serial to com1, kernel option for console is supposed to be ttyS0

--init=0 is used to define the initial index for serial port.
when set to 0, ttyS0 is com1. 

2012年9月18日 星期二

intel vPro

install Manageability Developer Tool Kit to configure ME under windows environment

KVM password length must be 8.
Use VNC viewer to connect to the KVM

2012年8月27日 星期一

find command tips

find . -type d ! -perm -o=x -perm -mode --> ambiguous compare
-perm mode --> exactly compare