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.

Rough Notes on Sending Email Alert Upon Service(s) Failure in Linux

[Not for all as its just a messy type of temporary work] This script was made for an operator who was facing strange problem that in random timings , the mysql or some times radiusd service stopped...

View Article


Image may be NSFW.
Clik here to view.

playSMS Send SMS via Script/CLI using webservices token

If you want to send SMS via playSMS using bash script or CLI, use the WEB SERVICES options in playSMS to facilitate this function. Its very useful in many scenarios. Example: I wanted to schedule a...

View Article


Image may be NSFW.
Clik here to view.

Enabling Authentication Logs in Freeradius

Sometimes in freeradius base billing system, user is unable to authenticate with the system. To quickly investigate the issue, its better to enable freeradius authentication logs to see if its the...

View Article

Image may be NSFW.
Clik here to view.

CENTOS: Sending Email using SENDMAIL, Relay via GMAIL

  on request. To send Email from Linux (Centos) shell using simple mail commands, you need to setup sendmail and use G-MAIL as relay (comes in handy). This was also required in radius manager setup...

View Article

Image may be NSFW.
Clik here to view.

Passing PHP variables to Shell Script with CAPTCHA code [Example renew...

For my personnel archive purpose only: All of these tests were made in lab and later on tested on production network as well and worked perfectly. BUT before deploying it in production, one must...

View Article


Image may be NSFW.
Clik here to view.

Re-seller Sales Activity Report Via Email in Billing System

This post is my personnel notes (for future retrieval or reference) on a script that can be used to query billing system (in this example Radius Manager) and gather data for all re-seller’s yesterday...

View Article

Image may be NSFW.
Clik here to view.

Resolving “Trust Relation between this workstation and the PDC”

Yesterday I converted one of our Physical Windows 2008 base SAP QAS server to ESXI 5.x Virtual Guest for some R&D purposes. It took around 30+ hours for the conversion using vconverter 6 [as old...

View Article

Image may be NSFW.
Clik here to view.

Event ID 7000 The Diagnostic Service Host service failed to start !

The Diagnostic Service Host service failed to start due to the following error: A privilege that the service requires to function properly does not exist in the service account configuration. You may...

View Article


Image may be NSFW.
Clik here to view.

Monitoring multiple WAN links in PCC using BLACK-HOLE route approach !

Scenario: Dual pppoe-client wan links are configured in mikrotik with PCC load balancing. Task: To monitor both (ow more) wan links via some fixed routes and email in case any goes down or take other...

View Article


Image may be NSFW.
Clik here to view.

Mikrotik User Manager False Active Session Removal Scripts

Mikrotik ‘User Manager‘ is a free and builtin package of mikrotik which provides basic level of radius / billing capabilities. Its good for smaller networks but form its introduction till the latest...

View Article

Image may be NSFW.
Clik here to view.

Using SMS CLI option in playSMS to enhance security for SMS base renewal

TASK: Operator requirement was to have a facility via which he can renew user account by simply sending sms to the radius system with user account name + admin password and above all only his mobile...

View Article

Image may be NSFW.
Clik here to view.

Sending SMS in URDU/ARABIC or other language via KANNEL

[OS = Ubuntu] It is very easy to send SMS in URDU or ARABIC fonts using KANNEL as your gateway using &charset=UTF-8&coding=1 code. Just add the following in your /etc/kannel.conf file under...

View Article

Image may be NSFW.
Clik here to view.

Prevent your mobile SIM getting blocked by Mobile Operator dueto bulk SMS...

From ISP perspective, sending notifications for different events like expiry alerts, quota warning alerts, service disruption alert, welcome messages, password recovery via sms, etc etc to users is...

View Article


Image may be NSFW.
Clik here to view.

[For Reference] Quick Script for Mikrotik Daily Info via SMS or Email !

Quick Note: Scenario#1: DUAL DSL wan links are connected with mikrotik [modems are in bridge mode], Configured as PCC along with the pppoe server. USB modem is attached with the Mikrotik via USB port....

View Article

Image may be NSFW.
Clik here to view.

Passing PHP variables to Shell Script with CAPTCHA code [Example renew...

For my personnel archive purpose only: All of these tests were made in lab and later on tested on production network as well and worked perfectly. BUT before deploying it in production, one must...

View Article


Image may be NSFW.
Clik here to view.

Re-seller Daily Sales Activity Report Via Email in Billing System

This post is my personnel notes (for future retrieval or reference) on a script that can be used to query billing system (in this example Radius Manager) and gather data for all re-seller’s yesterday...

View Article

Image may be NSFW.
Clik here to view.

Resolving “Trust Relation between this workstation and the PDC”

Yesterday I converted one of our Physical Windows 2008 base SAP QAS server to ESXI 5.x Virtual Guest for some R&D purposes. It took around 30+ hours for the conversion using vconverter 6 [as old...

View Article


Image may be NSFW.
Clik here to view.

Event ID 7000 The Diagnostic Service Host service failed to start !

The Diagnostic Service Host service failed to start due to the following error: A privilege that the service requires to function properly does not exist in the service account configuration. You may...

View Article

Image may be NSFW.
Clik here to view.

Monitoring multiple WAN links in PCC using BLACK-HOLE route approach !

Scenario: Dual pppoe-client wan links are configured in mikrotik with PCC load balancing. Task: To monitor both (ow more) wan links via some fixed routes and email in case any goes down or take other...

View Article

Image may be NSFW.
Clik here to view.

Mikrotik User Manager False Active Session Removal Scripts

Mikrotik ‘User Manager‘ is a free and builtin package of mikrotik which provides basic level of radius / billing capabilities. Its good for smaller networks but form its introduction till the latest...

View Article
Browsing all 408 articles
Browse latest View live