Quantcast
Channel: Syed Jahanzaib – Personal Blog to Share Knowledge !
Browsing all 408 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

BASH: Scheduled script to check linux service status and sms/email while...

Following is linux base bash script which can be scheduled to run every X minutes and it can do following … Personnel Note: Its much easier to use some centralized network monitoring system like...

View Article


Image may be NSFW.
Clik here to view.

[LAB TEST] BASH: Linux Script to check Internet/Gateway status and SMS via...

Personnel notes for reference. LAB tests only. Generally not for production usage. Make sure you modify overall script to use at least two hosts for monitoring. Testing Script to check internet...

View Article


Image may be NSFW.
Clik here to view.

DYNU Script for Mikrotik (free dynamic dns script)

An alternate to changeip.com (free ddns) with more features. From few days , we were having issues in updating our mikrotik/linux base machines dynamic ip to free ddns service like changeip.com,...

View Article

Image may be NSFW.
Clik here to view.

Manage Cisco Ports from PHP/VBS/BASH or incoming SMS using kannel/playSMS

  NOTE: I am documenting this port just for references purposes. not for everyone. it do requires some really good knowledge of bash scripting and cisco. These scripts were designed for very specific...

View Article

Image may be NSFW.
Clik here to view.

ACCESS DSL MODEM PAGE IN BRIDGE MODE

ACCESS DSL MODEM PAGE IN BRIDGE MODE (FROM INTERNET , or local) As asked by many, here is the short code. First add any IP in the modem LAN as showed in the image below …   Now add rules in Mikrotik...

View Article


Image may be NSFW.
Clik here to view.

2015 in review

The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog. Here’s an excerpt: The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 1,300,000 times in...

View Article

Image may be NSFW.
Clik here to view.

Mikrotik Hotspot User auto login-by MAC with redirection using Radius Manager

Task: Enable selected users Auto login to mikrotik hotspot system without letting them seeing login page, using ‘mac login’ feature in mikrotik hotspot while applying selected user profile as well, or...

View Article

Image may be NSFW.
Clik here to view.

[Personnel Reference] Windows General Admin Tips

Windows General Administration Tips  for day to day task. These are commands I use in day to day operation to get quick info and control our domain users. Most of commands may work in domain...

View Article


Image may be NSFW.
Clik here to view.

Sending SMS/Email Alert For Reseller Account Renewal/Deposit

Following script is used to send SMS and Email alert to reseller and admin about the renewal or deposit in RE-SELLER account in radius manager. Components used in the script: Ubuntu 12.4 32bit Kannel...

View Article


Image may be NSFW.
Clik here to view.

Hotspot self registration PHP form with captcha and SMS/Email function

TASK: It is required that user can connect to open WiFi network (probably running Mikrotik hotspot system) and upon browsing he will see the login page with REGISTER option as well. User can self...

View Article

Image may be NSFW.
Clik here to view.

IBM ServeRAID m5110e Fatal firmware errors on Server 2008

In our data center, we are using IBM Xseries 3650 M4 series. We updated one of the systemX server  firmware and drivers a month ago. since then it was having issue of halting in random days specially...

View Article

Image may be NSFW.
Clik here to view.

[LAB] QOS Management in Mikrotik – Bandwidth Pools for Group of Users

As required by an Operator: We are using Mikrotik Routerboard in lab environment, and have total 384kbps of internet bandwidth from the ISP. Hotspot with User manager is already configured and working....

View Article

Image may be NSFW.
Clik here to view.

Lets manipulate ! Part-1 / Traffic base priority via Queue Tree in Mikrotik

  Bandwidth Management Fast-Track ! No theory, Just coding … Requirement: We want to restrict  client with 128 kbps. BUT also want to prioritize it based on traffic type. Example … Client-A IP =...

View Article


Image may be NSFW.
Clik here to view.

Ubuntu 12 ‘apt-get update not working’ / Failed to Fetch

If you receive following error on running apt-get update on UBUNTU 12.x As showed in the image below … then issue following commands for a quick fix QUICK FIX Code sudo rm /var/lib/apt/lists/* -vf sudo...

View Article

Image may be NSFW.
Clik here to view.

Mikrotik with Freeradius/mySQL # Part-1

Make your own Billing system in Linux with Freeradius 2.1.10 / MySQL 5.5.47 # Part-1 [This Guide will be updated with many further supporting posts) In this post I have made some quick guide to...

View Article


Image may be NSFW.
Clik here to view.

Mikrotik with Freeradius/mySQL – Change on the FLY with COA # Part-2

~ COA Implementation in Freeradius 2.x for Mikrotik ~ ! A wild goose-chase! From the CORE of the FREERADIUS ! By Syed jahanzaib FREERADIUS WITH MIKROTIK – Part #1 FREERADIUS WITH MIKROTIK – Part #2...

View Article

Image may be NSFW.
Clik here to view.

Mikrotik with Freeradius/mySQL – Change IP Pool After Expiration # Part-3

FREERADIUS WITH MIKROTIK – Part #1 FREERADIUS WITH MIKROTIK – Part #2 Part # 3 > You are here …   Personnel Note: This is another post about freeradius. My aim is to let people know that creating...

View Article


Image may be NSFW.
Clik here to view.

ISP Ticket Support System for HelpDesk

Recently an OP was required to deploy an Help-Desk ticket system so that user can log there complains / suggestions and they must get ticket number in order to track the complain. [& generally it...

View Article

Image may be NSFW.
Clik here to view.

Multiple IF statement matching with Mikrotik Script

:if (($dsl1 = "DOWN") && ($dsl2 = "DOWN")) do={ Note: This is a draft version of a solution i made for an OP, donot copy paste, its just showing a different way of achieving the goal by...

View Article

Image may be NSFW.
Clik here to view.

Hunting Youtube Address List for PK!

I was searching a method to to mark and route youtube *video* packets only but failed to get 100% results, Marking and Queuing works fine, but routing results in video not being played.So I guess...

View Article
Browsing all 408 articles
Browse latest View live