Tuesday, December 20, 2011

Linux Static IP

Debian Like Linux

vi /etc/network/interfaces

auto eth0
#iface eth0 inet dhcp # -> changed to static

iface eth0 inet static

# and add IP address information

address 10.1.1.*
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255
gateway 10.1.1.*(your gateway address)

:wq!

# service networking restart

Finished

Redhat like

vi /etc/sysconfig/network-script/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.10.10.255
HWADDR=AA:FF:00:**:**:**
IPADDR=10.10.10.** -> your IP address
IPV6INIT=yes -> up to you
IPV6_AUTOCONF=yes -> up to you
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes

:wq!

/etc/init.d/network restart

Add default gateway

route add default gw 10.10.10.***

Finished

add DNS

vi /etc/resolv.conf

nameserver 8.8.8.8
nameserver 203.12.160.35

:wq!

try nslookup or ping google.com

Finished

Tuesday, July 19, 2011

clean up spam

http://exchange.sembee.info/2003/smtp/spam-cleanup.asp

Wednesday, April 13, 2011

EVENT ID: 1010, Source: MSGina

Have been problem with this for months, the event log is like;

Event Type: Error
Event Source: MsGina
Event Category: None
Event ID: 1010
Date: 4/14/2011
Time: 7:33:20 AM
User: N/A
Computer: FFCAU-ENG-0101N
Description:
Failed to set the user's home directory (Drive J: connected to Share \\ffcau.local\FFCAU).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: b2 04 00 00

some of the users cannot locate their files or folders from network drive.

the main cause of problem was found at the Domain Controller.
control panel -> stored user names and passwords.
there were old DC information and also for the SQLSERVER.
after remove everything it works fine.