Posts Tagged ‘Amridikon’

How to synchronize with / from Remote FTP server using LFTP like with rsync

Sunday, October 15th, 2017

how-to-synchronize-from-remote-ftp-server-easily-like-rsync.jpg

Have you ever been in a need to easily synchronize with a remote host which only runs FTP server?

Or are you in a local network and you need to mirror a directory or a couple of directories in a fast and easy to remember way?

If so then you'll be happy to use below LFTP command that is doing pretty much the same as Rsync, with only difference that it can mirror files over FTP (old but gold File Transfer Protocol).
 

lftp -u FTP_USERNAME,FTP_PASSWORD -e 'mirror REMOTE_DIRECTORY LOCAL_DIRECTORY' FTP_SERVER_HOSTNAME


Enjoy and thanks to my dear friend Amridikon for the tip ! 🙂

PC Freak old website now hostead on pc-freak.net/crew/

Thursday, November 22nd, 2007

A friend of Mine Marto a.k.a. (Amridikon) has regged a domain for pc-freak. So www.pc-freak.net is now upcheck his Development Studio dhstudio http://dhstudio.euPc-Freak’s site can be accessed from

https://www.pc-freak.net//crew/  :)END—–

Quiet and Peaceful Day

Tuesday, March 6th, 2007

The day was Peaceful and Quiet. After I wake up Narf called and we see each other in front of the college, Nomen was ther elso we drink coffee on the fountain. Mitko told us experiences he had from Sofia, we laughed a lot. Then we go to the Chineese restaurant with Amridikon and Needless. I like the Rise with Vegetables there really awesome food :]. After that I bought “A Practical Teacher in C” and went home. Lily come home for 10 minutes, I read the Holy Bible for some time then I read The Living of the Martyr’s. Later Niki and Habib come home, and was my guests for some time. After that I take a shower chatted a little with Order and now I intend to go to bed. Thanks to God for taking care for my life and giving me peace and joy through his Holy Spirit. Thanks God!END—–

How to scan for DHCP available servers in a Network range on Linux and FreeBSD

Thursday, December 8th, 2011

GNU / Linux and FreeBSD had a nifty little program (tool) called dhcping . dhcpingsend a DHCP request to DHCP server to see if it’s up and running. dhcping is also able to send a request to DHCP servers on a whole network range and therefore it can e asily be used as a scanner to find any available DHCP servers in a network.
This makes dhcping a nmap like scanner capable to determine if dhcp servers are in a network 😉
To scan an an entire network range with dhclient and find any existing DHCP servers:

noah:~# dhcping -s 255.255.255.255 -r -v
Got answer from: 192.168.2.1
received from 192.168.2.1, expected from 255.255.255.255
no answer

In above’s output actually my Dlink wireless router returns answer to the broadcast DHCP LEASE UDP network requests of dhcping .
On a networks where there is no DHCP server available, the requests dhcping -s 255.255.255.255 -r -v returns:

noah:~# dhcping -s 255.255.255.255 -r -v
no answer

This article was inspired by a post, I’ve red by a friend (Amridikon), so thx goes to him.