Sunday, October 26, 2014

Tools That Could Be Handy To Have

Tftpd32:

Tftpd32 is a free, opensource IPv6 ready application which includes DHCP, TFTP, DNS, SNTP and Syslog servers as well as a TFTP client. The TFTP client and server are fully compatible with TFTP option support (tsize, blocksize and timeout), which allow the maximum performance when transferring the data.

Here you can find Tftpd32:
http://tftpd32.jounin.net/

WinSCP:

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server.

 
Here you can find WinSCP:
http://winscp.net/

PuTTY:

PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers.

Here you can find PuTTY:
http://www.putty.org/

Rufus:

Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks

Here you can find Rufus:
http://rufus.akeo.ie/

ImgBurn:

ImgBurn is a lightweight CD / DVD / HD DVD / Blu-ray burning application that everyone should have in their toolkit!

 
Here you can find ImgBurn:
http://www.imgburn.com/

Subnet Calc:

The SolarWinds Free Advanced Subnet Calculator is completely free and fully functional. In fact, it actually delivers four tools in one

Response Time Viewer for Wireshark:

Quickly analyze Wireshark packet capture file to troubleshoot performance issues


Here you can find SubnetCalc/Response Time Viewer for Wireshark:
http://www.solarwinds.net/

 
Wireshark:

Wireshark is the world's foremost network protocol analyzer. It lets you see what's happening on your network at a microscopic level. It is the de facto (and often de jure) standard across many industries and educational institutions.


Here you can find Wireshark:
https://www.wireshark.org/

 

Friday, October 24, 2014

Atlas Probe from RIPE

As LIR I have chosen to get an Atlas Probe from RIPE. What is now an Atlas Probe?  RIPE NCC is building the largest Internet measurement network ever made. RIPE Atlas employs a global network of probes that measure Internet connectivity and reachability, providing an unprecedented understanding of the state of the Internet in real time.


Here you can read more about Atlas Probe:
https://atlas.ripe.net/

You can reach my Atlas Probe here:
https://atlas.ripe.net/probes/17334/

PXE Server on RouterOS

Ability to provision Operating Systems and boot iso over network are very useful I will show you one way with Mikrotik RouterOs as PXE Server. Any Mikrotik can become PXE server and are very handy. (Small form factor) We will use one Mikrotik with USB, because we will PXE boot bigger ISO images than Mikrotik can handle without USB. Sure you can use RouterOs for x86 and then you don't need USB only big internal HD for your ISO's. See www.mikrotik.com

Install and booting machines using RouterOS as bootp/tftp server is simple process if you done PXE booting before, for those that have not, allow me to provide a basic guide along with a package that's comes from this artikel See www.mikrotik-routeros.com/2013/02/routeros-as-a-pxe-net-boot-server/
I made some small changes from original artcle, booting bigger ISO's than 32Mb and use USB for PXE files.

What do we need:
  1. Mikrotik any kind with USB
  2. USB or USB HD
  3. Mikrotik with working DHCP
I will use Mikrotik 751G with USD Flash Memory for PXE boot images bigger than 32Mb. Plug in your USB and start your router, login with winbox and prepair your USB or USB HD for use in RouterOs

Prepair USB:

System
            Stores
                       Disks
                                Format Drive


Copy Files:

When drive is OK, go to Files and copy all files from package to router 
( Package  include mini.iso ubuntu) so if you want any other boot images you need to download any OS ISO and rename it to mini.iso and upload to router) I use CentOs 7 in my exampel.
 
Files
 
 
Fix Limit On 32Mb:
 
My ISO is CentOs 7 bigger than the limit on 32Mb as boot images. So you need to fix this with command Set "allow-rollover=yes" to let your router to handel bigger images than the limit.
 
Edit Variables:
 
#First copy the entire tftp directory to your MikroTik root or USB disk directory
#Then edit these variables to suit your local network

:global network "192.168.88.0/24"
:global router "192.168.88.1"

#Adding TFTP allowances for the provided range

/ip tftp
add ip-addresses="$network" real-filename=usb1/tftp/pxelinux.0 req-filename=pxelinux.0
add ip-addresses="$network" real-filename=usb1/tftp/bootmsg.txt req-filename=bootmsg.txt
add ip-addresses="$network" real-filename=usb1/tftp/memdisk req-filename=memdisk
add ip-addresses="$network" real-filename=usb1/tftp/pxelinux.cfg/default req-filename=pxelinux.cfg/default
add ip-addresses="$network" real-filename=usb1/tftp/mini.iso req-filename=mini.iso

 DHCP Settings For PXE:
 
#We assume there is an existing DHCP server setup, so just modifying the network config /ip dhcp-server network set [find address="$network"] boot-file-name=pxelinux.0 next-server="$router"
Or just use IP of router.
 
IP
   DHCP Server
                        Networks




Ready To Go:

boot up your hardware for PXE boot and select which images to boot from. If you have space on your router you can have many diffrent ISO's and you can easily fix boot screen to have multipla choices for your ISO files. (Files you need to edit are \tftp\pxelinux.cfg\default and \tftp\bootmsg.txt)

Friday, September 26, 2014

Tools For Migrate File Servers

In a server migration, if you have a lot of files to move and have to move them in full operation or with a minimum of down time this tools will help you. (sure there are more of this kind)
Use Ycopy to make first copy of all your folders and files. Ycopy gets around all of the problems of Windows/dos Windows Explorer, copy and xcopy programs. With these tools, Long filenames, long paths, corrupted files and errors, cause them to just stop. Ycopy just logs these and goes on. First copy of folders and files will be your master copy and for sure take some times if you huge amounts of data. Next tools you will use is Total Commander just before you must turn off the server you are about to migrate. Use Total Commander to verify the folders and files to just copy over folders and files with changes., this means that at a migration will have minimal down time.


You can find Tools here:

Ycopy: It seems that it is difficult to find Ycopy for download from http://www.ruahine.com/

Total Commander: