Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Showing posts with label network. Show all posts
Showing posts with label network. Show all posts

Tuesday, October 16, 2018

Wednesday, October 25, 2017

Windows Network Diagnostic Commands


-----

Windows Network Diagnostic Commands

The following are common Microsoft Windows network commands
ipconfig
Ipconfig is a Console Command which can be issued to the Command Line Interpreter (or command prompt) to display the network settings currently assigned to any or all network adapters in the machine. This command can be utilised to verify a network connection as well as to verify your network settings.
netstat
Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols). Used without parameters, netstat displays active TCP connections.
tracert
The tracert command is used to visually see a network packet being sent and received and the amount of hops required for that packet to get to its destination.
Users with Microsoft Windows 2000 and Windows XP who need additional information network latency and network loss should also consider using the pathping command.
ping
Helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them.
pathping
Provides information about network latency and network loss at intermediate hops between a source and destination. Pathping sends multiple Echo Request messages to each router between a source and destination over a period of time and then computes results based on the packets returned from each router.
telnet
Telnet is software that allows users to remotely access another computer such as a server, network device, or other computer. With telnet users can connect to a device or computer, manage a network device, setup a device, transfer files, etc.
ftp
FTP is short for File Transfer Protocol, this page contains additional information about the FTP command and help using that command in Unix and MS-DOS (Windows).
route
The function and syntax of the Windows ROUTE command is similar to the UNIX or Linux route command. Use the command to manually configure the routes in the routing table.
arp
Displays, adds, and removes arp information from network devices.
nslookup
Displays information that you can use to diagnose Domain Name System (DNS) infrastructure. Before using this tool, you should be familiar with how DNS works. The Nslookup command-line tool is available only if you have installed the TCP/IP protocol.
nbtstat
MS-DOS utility that displays protocol statistics and current TCP/IP connections using NBT.
One common way of using netsh is to reset the TCP/IP in Windows 2k/XP
Type this in Run or DOS Window – "netsh int ip reset"
In Windows XP you can run a graphical diagnostics by typing "netsh diag gui" into the run dialogue box. (This may take a little time to startup)
getmac
DOS command used to show both local and remote MAC addresses. When run with no parameters (ie. getmac) it displays MAC addresses for the local system. When run with the /s parameter (eg. getmac /s \\foo) it displays MAC addresses for the remote computer. When the /v parameter is used, it also displays the associated connection name and network adapter name.
Included with Windows XP, Windows 2003 Server, and Windows 2000 Resource Kit. Can be downloaded for the Windows 2000 here:http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/getmac-o.asp
Find All Active/Used IP Addresses on Your Network
There is a really neat way that you can quite easily find all active/used IP Addresses on your network without the need for any third party applications or worse, pinging each IP Address individually.
Open the Command Prompt and type in the following:
FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply">>c:\ipaddresses.txt
Change 192.168.10 to match you own network.
---
source: http://whirlpool.net.au/wiki/windows_nw_diag_cmds

Angry IP Scanner: Fast and friendly network scanner


.
Ipscan-vista.png
1) Download from :a) 32-bit, http://sourceforge.net/projects/ipscan/files/ipscan3-binary/3.2/ipscan-win32-3.2.exeb) 64-bit, http://sourceforge.net/projects/ipscan/files/ipscan3-binary/3.2/ipscan-win64-3.2.exe
2) Run.
3) You may get error message...Proceed.


4) Getting Started *****.
Click Next.
Follow the dialog until the end.Click Close.

5) Click Start and wait for the process to terminate.



6) If you want to scan for specific port, go to menu Tools/Preferences.
Go to tab "ports".
Set the desired port numbers.


Click Start scanning button.




***** Getting Started:

Angry IP Scanner is an IP address scanner tool.

It is used for scanning of IP addresses with the goal of finding alive hosts and gathering interesting information about each of them.


You can start by specifying the IP addresses to scan (your local IP is entered by default) and clicking the Start button.
-----
Main terminology:

Feeder - generator of IP addresses for scanning. Angry IP Scanner provides various kinds of feeders: IP Range, Random, and IP List File. You can select a feeder using the combo box next to the Start button.

Fetcher - gathers specific information about a host, e.g. ping time, hostname, open ports. Feeders usually represent columns in the scanning results list. You can select additional fetchers by choosing "Tools->Select fetchers" from the menu.

-----
Main terminology (continued):

Alive host - is the host, responding to pinging. These are blue in the results list.

Dead host - is the host, not responding to pinging (red in the list). However, it may still have ports open (if firewall blocks pings). In order to scan these hosts fully, check "scan dead hosts" in the Tools->Preferences dialog.

Open port - a TCP port, responding to connection attempts. Hosts with open ports are green in the results list.

Filtered port - a TCP port, not responding that it is closed (no RST packet). These ports are usually specifically blocked by firewalls for some reason.
-----
Pinging (checking if hosts are alive):

Angry IP Scanner can use different methods for pinging hosts. You can choose between them in the Preferences dialog.

ICMP echo - is the standard method used by the 'ping' program. This one requires administrator or root privileges on most platforms. Note that some firewall software disables sending of ICMP echo reply packets, making alive hosts appear like dead.

UDP - sends UDP packets (datagrams) to one of the host's ports and sees if there is any response (either positive or negative). This is non-standard, but works without special privileges.

TCP - tries to connect to port 80 (http) on the host. This may work better than UDP for some networks, but usually it is worse.

-----
The results list displays the scanning results, one line per each scanned address.

Using the Preferences dialog, you may configure to display:
- all scanned hosts
- only alive hosts
- only hosts with any ports open

Special values (also configurable):
[n/s] - not scanned value that wasn't scanned at all (eg if the host is dead)
[n/a] - the value is not available, but was scanned
-----

.

Advanced IP Scanner Free Network Scanner



Advanced IP Scanner - Main Window

1) Download the program from  http://www.advanced-ip-scanner.com/download/ipscan23.exe

2) Run.

3) Select Language.


4) Choose Run.



5) Accept agreement and click run.


6) Click Run to start scanning.



7) The scan results will be displayed upon the task completion.


Interestingly, if I click the button Expand All, the Results is able to tell me about additional details of the scanned hosts.


a) My VirtualBox Guest Host running Usbwebserver application with Apache 2.2.1 and PHP 5.3.9
b) My ASUS laptop
c) My Collegue's Hewlett Packard laptop that is dead.
d) My Samsung's mobile device
e) My Router running LightHttpd v 1.4.13
f) My Apple PC that is dead
g) My VMWare application runnit on my ASUS laptop



Source: http://www.advanced-ip-scanner.com/

Install Wireshark On Windows


.

Easy Way To Install Wireshark Application


.
101 Easy Way To Install Wireshark Application
The simplest way to run Wireshark without changing anything on the machine is through its portable version that runs on windows platform.

1) Go to Wireshark website

2) Jump to download page

Look for the link to download Windows PortableApps® (32-bit)  

3) Download and run the installer application

4) Done

Run.
If you get the error message that requires installation of additional application that is WinPcap, follow the instruction to download that application and install it.
Close and run Wireshark again.
.

Install Wireshark On Puppy Linux


.

101 Easy Way To Install Wireshark On Puppy Linux

Puppy Linux is an operating system and lightweight Linux distribution that focuses on ease of use and minimal memory footprint. The entire system can be run from RAM and thus does not change anything on the host PC’s hard disk.
Wireshark installers for PuppyLinux are called pet files. The following are two versions of pet files that can be installed by PupGet application.:
Or
This tutorial uses PuppyLinux virtual image running on Virtualbox. Download OVA file here (PuppyLinux 5.0 OVA aka Puppy Lucid packed with OVF 1.0 format). You can find more versions at the bottom of this page.
1) Setup a Virtual PuppyLinux in VirtualBox.
2) Run the Virtual PuppyLinux.
3) Setup Network Connection in the Virtual PuppyLinux.
4) Use the web browser to get to this page and download any of the pet files above.
5) PupGet will handle installation of the pet file.

Image result for what is puppy linux
Puppy Linux is an operating system and lightweight Linux distribution that focuses on ease of use and minimal memory footprint. The entire system can be run from RAM with current versions generally taking up about 210 MiB, allowing the boot medium to be removed after the operating system has started.

Puppy Linux - Wikipedia, the free encyclopedia

https://en.wikipedia.org/wiki/Puppy_Linux
Wikipedia
   

What is PupGet?

  • PupGet is the official package (software) installation system of Puppy Linux.<br>
  • Puppy offers the option to create your own live-CD, with only the applications you want. Puppy live-CD is created from acollection of packages and a build script, collectively called Puppy Unleashed. Standard Puppy (puppy-X.X.X-mozilla.iso, where X.X.X is the version number) doesn't include all 3XX packages. Then what about all the "left over" packages? To add these 'official' applications to Puppy without creating your own CD, we use PupGet package manager.
  • Another way to add applications is to use the DotPup software installation system, where the software installed are NOT from Puppy Unleashed.

PUPPY LINUX

JULY 9, 2008 BY FRIPP
Images for several Puppy Linux versions are available.
  1. Puppy Linux 4.0
  2. Size (compressed/uncompressed): 67.7 MBytes / 296 MBytes
  3. Linkhttp://downloads.sourceforge.net/virtualboximage/PuppyLinux4.7z
  4. Notes: at the first startup choose Xvesa as graphical server; click here to see the screenshot.
  5. This images has been provided by Domenico Di Misa.
  6. Puppy Linux 4.1.1
  7. Size (compressed/uncompressed): 129.2 MBytes/ 596 MBytes
  8. Link: http://downloads.sourceforge.net/virtualboximage/PuppyLinux-4.1.1.7z
  9. Notes: at the first startup choose Xvesa as graphical server; click here to see the screenshot.
  10. Puppy Linux 4.2.1
  11. Size (compressed/uncompressed): 73.9 MBytes/ 419 MBytes
  12. Link:puppy-4.2.1-k2.6.25.16-seamonkey.7z
  13. Notes: at the first startup choose Xvesa as graphical server; click here to see the screenshot.
  14. Puppy Linux 4.3.0
  15. Size (compressed/uncompressed): 94.1 MBytes/ 378 MBytes
  16. Link:PuppyLinux-4.3-x86.7z
  17. Notes: at the first startup choose Xvesa as graphical server; click here to see the screenshot.
  18. Puppy Linux 5 Lucid
  19. Size (compressed/uncompressed): 94.0 MBytes/ 425 MBytes
  20. Link:Lucid_Puppy-50.7z
  21. Puppy Linux 5.2.0 Lucid
  22. Size (compressed/uncompressed): 167.0 MBytes/ 655 MBytes
  23. Link:LucidPuppy-520.7z
.