Saturday, 25 February 2012

Internet connection sharing


Firestarter has the ability to share the firewall host's Internet connection among all the computers on your local network. This is done through a technique called Network Address Translation, or NAT. To the outside world the cluster of machines will look like a single machine with a single IP address.
For connection sharing to work you need to have two or more network devices in your firewall. If the local network is set up correctly, enabling connection sharing is as easy as enabling the option in either the firewall wizard or the Firestarter preferences.

The physical setup and network device settings

A complex NAT setup
Sharing a connection with a local network
The procedure for setting up a network using connection sharing is essentially the same whether you have only two computers or a more complex network with hubs or switches connecting multiple computers. For this example we will be assuming that the Internet connected device on the firewall is an Ethernet card, but a modem or ISDN will work too.
The Firewall/gateway machine connected to the Internet will need two network cards and the clients need one each.
The first network card in the firewall, the external interface, will be the one physically connected to the Internet. This card is usually automatically configured with DHCP. The second network card in the firewall, the internal interface, will be connected to the client machines via either a crossover cable if the connection goes directly to another computer, or regular cable if you have a hub or switch.
A simple NAT setup
Sharing a connection with a single computer
The internal interface of the firewall needs to be statically configured. There are many ways to configure a network interface depending on the distribution you use. Fedora and Red Hat Linux ship with a simple command line tool called netconfig and a more sophisticated graphical tool called system-config-network. system-config-network works better with multiple network cards in the same machine, so we recommend you try it. Other distributions include their own configuration tools, for example in SuSE you would use the Yast program.
No matter how you decide to configure the network cards, these are settings you should enter:
For the external device (usually eth0):
  • Enable dynamic IP configuration (DHCP)
  • That's it. You're done, don't touch this card further.
The internal device (usually eth1):
  • Disable dynamic IP configuration
  • IP address: 192.168.0.1
  • Netmask: 255.255.255.0
  • Default gateway (IP):
Any changes you make will take effect after a reboot, or more elegantly after a restart of the network services (run "/etc/init.d/network restart" as root in most distributions).

Configuring the clients

There are two ways to configure the clients. The more elegant and in the long run easier way is to run a DHCP service on the firewall. A DHCP server distributes the network settings such the IP address, the default gateway, nameservers, etc. at run time to the each client. The alternative to using a DHCP server is to configure every client manually.
Using the DHCP service is as easy as simply enabling it in Firestarter. For more information about the service and how to configure it, refer to the section on configuring the DHCP server.
When using DHCP, the clients need only be configured to use dynamic IP configuration. No other settings need to be changed.

Configuring the clients manually

If you do not wish to use the DHCP service, configure the network devices of the clients to use the following settings:
  • Disable dynamic IP configuration
  • IP address: 192.168.0.2 to 192.168.0.254, with each client using an unique IP
  • Netmask: 255.255.255.0
  • Default gateway (IP): 192.168.0.1
  • Primary nameserver: Set this to the same nameserver as used on the firewall. You can see the correct setting in the /etc/resolv.conf file on the firewall.
Restart the network service and you're done.

Testing the Setup

The computers should now be connected and the hardware level configuration complete. To test that everything is ok, try pinging the gateway from the client and vice versa.
Enter the following at the firewall machine console, to test that the gateway can reach the client:
[bash]$ ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) from 192.168.0.1 : 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=255 time=1.37 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=255 time=0.635 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=255 time=0.638 ms

--- 192.168.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% loss, time 2010ms
rtt min/avg/max/mdev = 0.635/0.882/1.375/0.349 ms
[bash]$
In case of DHCP, the IP's might be randomly assigned
If it is not working you know that the problem lies with the hardware or network configuration. It is common to get the default gateway setting wrong, so double check it.
At this point:
  • The firewall machine should be able to reach the Internet
  • The clients and firewall should be able to ping each other
  • The clients should be able to reach the Internet if the Internet connection sharing option is enabled in Firestarter.

Navdeep Infotech Pvt Ltd Copyright 2010

Sunday, 12 February 2012

How to "Delete administrator Password" without any software

Boot up with DOS and delete the sam.exe and sam.log files from Windows\system32\config in your hard drive. Now when you boot up in NT the password on your built-in administrator account which will be blank (i.e No password). This solution works only if your hard drive is FAT kind.

Method 2

Step 1. Put your hard disk of your computer in any other pc .
Step 2. Boot that computer and use your hard disk as a secondary hard disk (D'nt boot as primary hard disk ).
Step 3. Then open that drive in which the victim’s window(or your window) is installed.
Step 4. Go to location windows->system32->config
Step 5. And delete SAM.exe and SAM.log
Step 6. Now remove hard disk and put in your computer.
Step 7. And boot your computer :-)

Navdeep Infotech Pvt Ltd Copyright 2010

Sunday, 22 January 2012

An A-Z Index of the Windows CMD command line

a
ADDUSERS Add or list users to/from a CSV file
ADmodcmd Active Directory Bulk Modify
ARP Address Resolution Protocol
ASSOC Change file extension associations•
ASSOCIAT One step file association
ATTRIB Change file attributes
b
BCDBOOT Create or repair a system partition
BOOTCFG Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info
c
CACLS Change file permissions
CALL Call one batch program from another•
CD Change Directory - move to a specific Folder•
CHANGE Change Terminal Server Session properties
CHKDSK Check Disk - check and repair disk problems
CHKNTFS Check the NTFS file system
CHOICE Accept keyboard input to a batch file
CIPHER Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP Copy STDIN to the Windows clipboard.
CLS Clear the screen•
CLUSTER Windows Clustering
CMD Start a new CMD shell
CMDKEY Manage stored usernames/passwords
COLOR Change colors of the CMD window•
COMP Compare the contents of two files or sets of files
COMPACT Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT Connect or disconnect a Printer
CONVERT Convert a FAT drive to NTFS.
COPY Copy one or more files to another location•
CSCcmd Client-side caching (Offline Files)
CSVDE Import or Export Active Directory data
d
DATE Display or set the date•
DEFRAG Defragment hard drive
DEL Delete one or more files•
DELPROF Delete NT user profiles
DELTREE Delete a folder and all subfolders
DevCon Device Manager Command Line Utility
DIR Display a list of files and folders•
DIRUSE Display disk usage
DISKCOMP Compare the contents of two floppy disks
DISKCOPY Copy the contents of one floppy disk to another
DISKPART Disk Administration
DNSSTAT DNS Statistics
DOSKEY Edit command line, recall commands, and create macros
DSACLs Active Directory ACLs
DSAdd Add items to active directory (user group computer)
DSGet View items in active directory (user group computer)
DSQuery Search for items in active directory (user group computer)
DSMod Modify items in active directory (user group computer)
DSMove Move an Active directory Object
DSRM Remove items from Active Directory
e
ECHO Display message on screen•
ENDLOCAL End localisation of environment changes in a batch file•
ERASE Delete one or more files•
EVENTCREATE Add a message to the Windows event log
EXIT Quit the current script/routine and set an errorlevel•
EXPAND Uncompress files
EXTRACT Uncompress CAB files
f
FC Compare two files
FIND Search for a text string in a file
FINDSTR Search for strings in files
FOR /F Loop command: against a set of files•
FOR /F Loop command: against the results of another command•
FOR Loop command: all options Files, Directory, List•
FORFILES Batch process multiple files
FORMAT Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL File and Volume utilities
FTP File Transfer Protocol
FTYPE Display or modify file types used in file extension associations•
g
GLOBAL Display membership of global groups
GOTO Direct a batch program to jump to a labelled line•
GPUPDATE Update Group Policy settings
h
HELP Online Help
i
iCACLS Change file and folder permissions
IF Conditionally perform a command•
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP
k
KILL Remove a program from memory
l
LABEL Edit a disk label
LOCAL Display membership of local groups
LOGEVENT Write text to the NT event viewer
LOGMAN Manage Performance Monitor
LOGOFF Log a user off
LOGTIME Log the date and time in a file
m
MAPISEND Send email from the command line
MBSAcli Baseline Security Analyzer.
MEM Display memory usage
MD Create new folders•
MKLINK Create a symbolic link (linkd)
MODE Configure a system device
MORE Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE Move files from one folder to another•
MOVEUSER Move a user from one domain to another
MSG Send a message
MSIEXEC Microsoft Windows Installer
MSINFO32 System Information
MSTSC Terminal Server Connection (Remote Desktop Protocol)
MV Copy in-use files
n
NET Manage network resources
NETDOM Domain Manager
NETSH Configure Network Interfaces, Windows Firewall & Remote access
NETSVC Command-line Service Controller
NBTSTAT Display networking statistics (NetBIOS over TCP/IP)
NETSTAT Display networking statistics (TCP/IP)
NOW Display the current Date and Time
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights
o
OPENFILES Query or display open files
p
PATH Display or set a search path for executable files•
PATHPING Trace route plus network latency and packet loss
PAUSE Suspend processing of a batch file and display a message•
PERMS Show permissions for a user
PERFMON Performance Monitor
PING Test a network connection
POPD Restore the previous value of the current directory saved by PUSHD•
PORTQRY Display the status of ports and services
POWERCFG Configure power settings
PRINT Print a text file
PRINTBRM Print queue Backup/Recovery
PRNCNFG Display, configure or rename a printer
PRNMNGR Add, delete, list printers set the default printer
PROMPT Change the command prompt•
PsExec Execute process remotely
PsFile Show files opened remotely
PsGetSid Display the SID of a computer or a user
PsInfo List information about a system
PsKill Kill processes by name or process ID
PsList List detailed information about processes
PsLoggedOn Who's logged on (locally or via resource sharing)
PsLogList Event log records
PsPasswd Change account password
PsService View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend Suspend processes
PUSHD Save and then change the current directory•
q
QGREP Search file(s) for lines that match a given pattern.
r
RASDIAL Manage RAS connections
RASPHONE Manage RAS connections
RECOVER Recover a damaged file from a defective disk.
REG Registry: Read, Set, Export, Delete keys and values
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI Change Registry Permissions
REM Record comments (remarks) in a batch file•
REN Rename a file or files•
REPLACE Replace or update one file with another
RD Delete folder(s)•
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE Manipulate network routing tables
RUN Start | RUN commands
RUNAS Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)
s
SC Service Control
SCHTASKS Schedule a command to run at a specific time
SCLIST Display NT Services
SET Display, set, or remove environment variables•
SETLOCAL Control the visibility of environment variables•
SETX Set environment variables permanently
SFC System File Checker
SHARE List or edit a file share or print share
SHIFT Shift the position of replaceable parameters in a batch file•
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP Wait for x seconds
SLMGR Software Licensing Management (Vista/2008)
SOON Schedule a command to run in the near future
SORT Sort input
START Start a program or command in a separate window•
SU Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST Associate a path with a drive letter
SYSTEMINFO List system configuration
t
TASKLIST List running applications and services
TASKKILL Remove a running process from memory
TIME Display or set the system time•
TIMEOUT Delay processing of a batch file
TITLE Set the window title for a CMD.EXE session•
TLIST Task list with full path
TOUCH Change file timestamps
TRACERT Trace route to a remote host
TREE Graphical display of folder structure
TSSHUTDN Remotely shut down or reboot a terminal server
TYPE Display the contents of a text file•
TypePerf Write performance data to a log file
u
USRSTAT List domain usernames and last login
v
VER Display version information•
VERIFY Verify that files have been saved•
VOL Display a disk label•
w
WAITFOR Wait for or send a signal
WHERE Locate and display files in a directory tree
WHOAMI Output the current UserName and domain
WINDIFF Compare the contents of two files or sets of files
WINMSDP Windows system report
WINRM Windows Remote Management
WINRS Windows Remote Shell
WMIC WMI Commands
WUAUCLT Windows Update
x
XCACLS Change file and folder permissions
XCOPY Copy files and folders
:: Comment / Remark•

Commands marked • are Internal commands only available within the CMD shell.
All other commands (not marked with •) are external commands which may be used under the CMD shell, PowerShell, or directly from START-RUN.

Sunday, 15 January 2012

Assembling & Disassemble Toshiba Satellite U505, U505D, U500, U500D laptop base


STEP 1

Start laptop disassembly with removing the battery.

On the bottom you'll find two cover. One for the hard drive and memory and another one for the wireless card.

Remove screws securing both covers. Lift up and remove both covers.



STEP 2

There are four screws securing the hard drive mounting bracket to the laptop base.

Remove four screws and slide the hard drive to the left. This will disconnect the hard drive from the motherboard.




STEP 3

Lift up and remove the hard drive assembly. It's not necessary to remove memory modules for the purpose of my guide, so I'll leave them installed.

My Toshiba Satellite U505 laptop had a regular 2.5" SATA hard drive installed. You can replace it with any other large size 2.5" SATA hard drive or 2.5" SSD.

Toshiba Satellite U505 laptop can handle up to 8GB RAM. You can install up to 4GB RAM module into each slot.
Memory type: DDR2 PC2-6400.



STEP 4

The wireless card secured under the small cover. It's not necessary to remove the wireless card for the purpose of my guide.

If you would like to remove the card you'll have to disconnect two antenna cables, remove two screws securing the card and pull the card from the slot the same way you pull memory modules.



STEP 5

Remove one screw securing the optical DVD drive.

Slide DVD drive to the left to disconnect it from the motherboard. Pull and remove the drive.



STEP 6

Remove two screws located in the battery compartment.

These screws securing the keyboard bezel.



Follow steps 7-14 from removing and replacing the keyboard.

Lift up one side the keyboard bezel with a small screwdriver. Continue removing the bezel with your fingers.

There are a few plastic latches securing the bezel so you'll have to wiggle it a little bit to disengage latches.



Remove two screws securing the keyboard to the laptop base.



Carefully lift up the upper side of the keyboard and turn it over.

Place the keyboard upside down on the palmrest.



The keyboard connected to the motherboard via two cables.
The wide cable transfers signal from keystrokes to the motherboard.
The narrow cable I believe is for the backlight.

Before you remove both cables you'll have to unlock connectors. I'll show how to do it in the following three steps.



Here is Your Laptop After Assembling....

Wednesday, 16 November 2011

How To Disassemble HP 530 Notebook PC And Remove Top Cover


In this guide I will disassemble a HP 530 Notebook PC and remove the top cover assembly. I’m replacing the top cover assembly because one of the touch pad buttons is broken. When you press on the button it feels loose and sometimes will not click. The plastic button is a part of the top cover and when it gets broken you have to replace the whole top cover.

In order to replace the top cover I will have to disassemble the whole notebook. I’ll be removing all internal parts including hard drive, keyboard, motherboard, cooling fan and other key components.

It’s possible that my guide will work for some other HP notebooks. If it works for you, please mention the notebook model in the comments below and help other people.

First of all, turn off the notebook and remove the battery.

STEP 1.

Remove the memory and hard drive covers from the bottom of the notebook.


You will find the wireless card under the memory cover.


STEP 2.

Remove one screw securing the CD/DVD optical drive. Push the drive from the laptop with a small screwdriver.
Remove the optical drive.


STEP 3.

Pull the hard drive assembly to the left to disconnect it from the motherboard. Remove the hard drive assembly.


STEP 4.

When you replace the top cover, you don’t have to remove memory modules and wireless card, but it’s necessary to disconnect the wireless card antenna cables from the card.
Disconnect both Wi-Fi antennas from the wireless card.


STEP 5.

Remove eleven (yellow) screws from the bottom of the notebook. These screws are securing the switch cover (power button cover).
Remove two (red) screws. These two screws securing the display panel assembly.
Remove two (orange) screws. These two screws securing the keyboard.


STEP 6.

Turn the laptop over and start removing the switch cover. If you cannot separate the cover from the base, you can use a piece of plastic (I’m using a guitar pick).
Insert the guitar pick between the switch cover and base and carefully lift up the cover. Continue removing the cover with your fingers.


The switch cover has been removed.


STEP 7.

You removed two screws securing the keyboard in the step 5. Now you can lift up the keyboard from the base.


Place the keyboard so you can access the cable connector underneath.


In order to unlock the connector, you’ll have to move the brown locking clip towards the display panel. Move it about 2-3 millimeters, not more. The locking clip must stay attached to the connector base.
Now you can release the keyboard cable and remove the keyboard.

WARNING! If you break the keyboard connector, you’ll have to replace the motherboard.

Need a replacement keyboard for HP 530 notebook? Find a new keyboard here.


STEP 8.

Disconnect the video cable from the motherboard.
Pull the wireless antenna cable through the hole in the motherboard. You disconnected these cables from the wireless card in the step 4.
Remove two screw securing the display panel hinges. You removed two more screws securing the display panel in the step 5.


Remove the display panel assembly from the notebook base.


You can find the LCD screen removal instruction in the official service guide for HP 530 notebooks. Take a look on the page 49.

Search here for new LCD screens.

STEP 9.

Disconnect the switch board cable from the motherboard. Unlock the connector the same way as you unlocked the keyboard connector in the step 7.
Remove one screw securing the switch board.
Remove the switch board.


STEP 10.

Remove all remaining screws from the bottom.


STEP 11.

Disconnect the touch pad cable from the motherboard.


STEP 12.

Start separating the top cover from the notebook base.

Continue separating the top cover from the base.
By the way, in a HP 530 notebook PC the motherboard is attached to the top cover, not to the base assembly as a most other notebooks.


Remove the base cover.


STEP 13.

The base cover has been removed.
Now you can access and replace the RTC (CMOS) battery if needed.


STEP 14.

Remove one screw securing the cooling fan.
Disconnect the cooling fan cable from the motherboard.


Remove the cooling fan.

Here are replacement cooling fans.


STEP 15.

Loosen four screws securing the heat sink.


Remove the heat sink.
In my laptop the heat sink was clogged with dust and needed a good cleaning.
After the heat sink is removed, you can access and remove the processor (CPU) if needed. I’ll leave the processor attached to the motherboard.


STEP 16.

Disconnect the speaker cable.
Remove one screw securing the motherboard to the top cover.


Start removing the motherboard from the top cover.


The motherboard has been removed

STEP 17.

The touch pad is attached to the top cover and secured by a metal bracket. I’m not removing the touch pad because when you buy a new top cover it comes with the cover.


Now you can replace the top cover assembly with a new one.


You can find a new top cover assembly (with touch pad) using the HP spare number. In my notebook the part number is 441626-001.
I think you can use the same top cover for all HP 530 Notebook PCs.

You can find a new or used top cover assembly here.


THAT'S ALL.

Monday, 14 November 2011

Laptop LCD-CCFL Screen Installation


1) Make sure to disconnect the power and remove the battery before changing the screen.
Failure to remove all sources of power may result in permanent motherboard damage


2) Using a pick or a flat screw driver pick out the rubber/plastic screw covers.
Make sure to check all the rubber covers for screws.
As well there might be extra covers and screws on the sides of the display assembly.


3) Remove all visible screws from the front of the bezel. Sometimes there might be screws on the sides as well.
It is recommended to place the screws in order of disassembly, to keep track of the correct locations.


4) Make sure all the screws are removed and proceed to remove the bezel.
Bezel is a plastic frame covering the internal mountings of the LCD panel.
It is fairly fragile and should be treated with care.


5) Starting from the side, carefully pry the plastic away from the screen.
On some laptops it is easier to start from the bottom.
Much force is not necessary but if you encounter difficulty, move a little bit further, try a different spot.
The bezel will unsnap. You may need to slide laptop lid latch to completely remove the bezel.


6) The bezel snaps out fairly easy, if it seems too difficult, make sure you haven't left any screws in.
As well make sure you are not pulling on any internal cables.
Some times the bezel might be glued to the LCD panel,
In these cases using an exact-o-knife to cut the glue will keep the bezel in good condition.


7) Remove the small screws holding the LCD panel in. There are typically 4 on each side.
Sometimes a few other screws may need to be removed from the LCD frame, in order to gain access to the main mounting screws.


8) Four screws on the left and four screws on the right.
On this model the mounting screws are easily accessible, on some laptops
You would need to free up the frame first.


9) Tilt the screen towards the keyboard, and carefully lay it down.
Make sure the Wi-Fi cables, WebCam cables and a microphone cable are not getting caught/pulled on.


10) Disconnect the video connector by gently squeezing the tabs on both sides and pulling away from the circuit board.
ATTENTION: Video connector is very fragile, take your time, if broken, the entire
Video (LVDS) Cable would need to be replaced, resulting in delay to the repair.



11) Disconnect the inverter connector. It may look different on other laptops. As well laptops which use LED back-lit screens do not have an inverter.
On this laptop the inverter is attached to the LCD panel, and has to be removed to be reused with the new panel.


12. Below are a few extra pictures of what the inverter looks like and how to disconnect the LCD panel from it.

Inverter connected to the LCD panel:


13. Gently pull the inverter connector out:


14. That is what the typical inverter connector looks like (Note: LED screens don't use an inverter):


15.Once the LCD panel is free from connections, pull it out and dispose of.


16. End of disassembly



New panel installation process.

Important! Most replacement panels ship with protective film,
it needs to be removed during the installation.

1) Reconnect the video cable on the new panel.
Make sure to align it properly, and don't use too much force.


17. Push in the inverter connector,
Again, be extra careful with all the connectors.


18. Align the LCD panel with the frame and secure the top corner screw first.
Make sure that no Wi-Fi, Camera or Mic cables are in the way.


19. Secure the LCD mounting screws on the other side, starting from the top corner screw.


20. Using both hands snap in the bezel starting from the bottom,
Move to the top consistently snapping the bezel to the display assembly.


21. Replace all bezel screws and reinstall the rubber/plastic screw covers.
Extra adhesive may be required to achieve proper fit.


22. Reinstall the battery and reconnect the power,
Then boot the laptop up, if the start up graphics appear, the screen is properly installed and working