Zeeshan Ali Shah's Blog

  • Contact Me
  • CV
  • m
  • Main
  • My Talks and Travels
  • Projects (I been involved/worked with)
  • Sample Page
Illustration of a bird flying.
  • Fixed sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables:

    sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory solution: modprobe br_netfilter

    September 4, 2017
  • Problem with SSD corruption on power failure .. flactuation

    only enterprise-class SSDs can be relied upon (at all) for safe behavior on power fail. The enterprise-class SSDs have super-capacitors that store enough power to write all data stored in the RAM within the SSD on power fail, and vendors charge three times as much as they do for consumer class SSDs. Some vendors do […]

    August 2, 2017
  • slashargument no image css appear issue in moodle 2.9+ nginx FIXED

    location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; fastcgi_pass 127.0.0.1:9000 (or your php-fpm socket); include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; }

    July 25, 2017
  • New open source medical image repository debuts

    A team of medical researchers from four European institutions has created the Image Data Resource, a repository “that is capable of storing and integrating data from multiple laboratories, whilst also significantly enhancing the potential for sharing and reusing imaging data.” The repository “offers potential to identify new therapies and targets, and broadens the scope of research […]

    July 13, 2017
  • how to check if you have open port gateway linux

    you can use nmap to test open port gateway see below https://nmap.org/nsedoc/scripts/ip-forwarding.html or you can use nping as follows   # nping –icmp –dest-mac [gateway mac] [target ip] You can find your router’s mac in your local ARP cache: $ arp -v [gateway ip]  

    July 12, 2017
  • ipmitool dev not found

    modprobe ipmi_devintf modprobe ipmi_si You can add these to /etc/modules to have them loaded automatically (just list the module names): ipmi_devintf ipmi_si

    April 27, 2017
  • basic snmp walk

    snmpwalk -mALL -v1 -cpublic ip system

    April 27, 2017
  • linux gateway

    iptables -A FORWARD -i eth1 -j ACCEPT iptables -A FORWARD -o eth1 -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE #ETHO where internet is connected

    April 18, 2017
  • linux gateway

    sysctl -w net.ipv4.ip_forward=1 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    April 11, 2017
  • Get MD5 checksum hash of big files in Python

    def checkHash(filename, blocksize=2**20):     try:         print(“need to creating hash of file ” +filename)         m = hashlib.md5()         with open(filename , “rb” ) as f:             while True:                 buf = f.read(blocksize) […]

    April 4, 2017
←Previous Page
1 2 3 4 5 … 21
Next Page→

Zeeshan Ali Shah's Blog

Proudly powered by WordPress