Posts

Showing posts from June 14, 2012

How to configuration DHCP server on linux (CentOS)

1-Check the required package (dhcp) #rpm -qa|grep dhcp if do not find it, install # rpm -ivh /media/CentOS_5.3_Final/CentOS/dhcp-3.0.5-18.el5.i386.rpm 2- Copy file and put in the right location and name as below # cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf Overwrite if you are confirmed-> y 3-Edit file #vi /etc/dhcpd.conf ================ ##############Must the same as your server subnet subnet 192.168.1.0 netmask 255.255.255.0 { # --- default gateway          option routers                   192.168.1.111;          option subnet-mask               255.255.255.0; #option nis-domain                "domain.org";         option domain-name               "sample.edu.jp";         option domain-name-servers       192.168.1.112;         option time-offset    -18000; # Eastern Standard Time #option ntp-servers    192.168.1.1; ##############Must the same as your serv

How to make a Share folder prompt for username password in XP

1-    Enable Guest Account >      “ Start “ Menu -> >      “ Control Panel “ -> >      “ User Accounts” -> >      Click on “ Guest Account “ and make sure it activate >      Close Control Panel 2-    Set Password for Guest Account >      “Start” Menu -> >      “All Program” -> >      “Accessories” -> >      “Command Prompt” -> >      Type “ Net user guest password “ and press “Enter” >      Open Guest Account again and Click “ Change Password ” 3-    Share Folder >      Right Click on Folder or Partition want to share >      “ Sharing and Security ” >      Check on “ Share this folder on the Network ” When other computer in your network want to access you sharing will need Uasername and password.