-
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
-
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 […]
-
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; }
-
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 […]
-
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]
-
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
-
basic snmp walk
snmpwalk -mALL -v1 -cpublic ip system
-
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
-
linux gateway
sysctl -w net.ipv4.ip_forward=1 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
-
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) […]