Header Shadow Image


Archive for December, 2024

Sizing images correctly for mobile devices in WordPress

Sizing images correctly for mobile devices in WordPress just needs the following in the image properties.  For example, add the following: max-width: 100%; height: auto; to images such as these: Ensuring you also have the following set to size the page appropriately for mobile devices: <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> in your header files or main […]

DD-WRT Can’t connect to Wireless Network

Can’t connect to a wireless network in windows or otherwise?  This issue came up on the DD WRT firmware enabled routers I have.  It’s possible that either FORWARDED ICMP traffic is blocked or an explicit rule on an interface is missing.  Here is a list of rules you can try, or the equivalent on your […]

Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006) and Could not fetch remote environment

Getting this in Virtual Studio Code ( aka VSCode, vscode )? Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006) and Could not fetch remote environment Clear the running remote agent (also called server) and let VScode reconnect: # ps -ef|grep -Ei vscode tom@mds+ 5364 1 0 12:48 […]

Users not able to comment on posts in WordPress even when logged in.

Users not able to post on WordPress even when logged in.  This code no longer works, because with passage of time, roughtly eh … (cough) … 12 years or so it’s about time to get off my a.. and update it.   Basically, the following line and user_ID no longer works to detect if you’re logged […]

mysqld [Note] Access denied for user ‘zabbix’@’mysql03.nix.mds.xyz’ (using password: YES)

mysqld [Note] Access denied for user ‘zabbix’@’mysql03.nix.mds.xyz’ (using password: YES) If you get this error: Mar 17 23:56:14 mysql01 mysqld: 2019-03-18T03:56:14.176594Z 4770 [Note] Access denied for user ‘zabbix’@’mysql03.nix.mds.xyz’ (using password: YES) Verify your password in the following two files: [root@linsrvj01 zabbix]# cat /etc/zabbix/web/zabbix.conf.php <?php // Zabbix GUI configuration file. global $DB; $DB[‘TYPE’]     = […]

Corruption warning: Metadata has LSN ahead of current LSN . Please unmount and run xfs_repair (>= v4.3) to resolve.

If you get the above, do the following ( Substitute LV for a real disk such as /dev/sdb in case the device has no Logical Volumes ) : Mount the latest ISO with the latest xfsprogs package installed that matches the OS vendor you’ve used on the failed system.  We don’t want to fix a […]

Unable to ping NLB Gateway from outside the NLB subnet or different subnets

Unable to ping NLB Gateway from outside the NLB subnet or different subnets.  Getting timeouts when attempting to do so? # nc -vz 192.168.0.224 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connection timed out. While host is on a subnet external to the NLB subnet? # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue […]

Filter Duplicate or DUP traffic in ICMP Ping requests 64 bytes from 192.168.0.100: icmp_seq ttl time ms (DUP!) from NLB Network Load Balancing Clusters

Getting this? -bash-4.2$ ping 192.168.0.224 PING 192.168.0.224 (192.168.0.224) 56(84) bytes of data. 64 bytes from 192.168.0.224: icmp_seq=1 ttl=127 time=0.860 ms 64 bytes from 192.168.0.224: icmp_seq=1 ttl=127 time=1.22 ms (DUP!) 64 bytes from 192.168.0.224: icmp_seq=2 ttl=127 time=0.622 ms 64 bytes from 192.168.0.224: icmp_seq=2 ttl=127 time=0.872 ms (DUP!) Apparently this can cause issues on different subnets as […]

Stop and start WAN or LAN interfaces on DD-WRT without a reboot.

First, let’s get some given’s, like the WAN interface: # echo $(get_wanface) vlan2 Or this way: # nvram show 2>&1|grep -Ei wan_ifname= wan_ifname=vlan2 Stop WAN or LAN ip link set $(get_wanface) down To bring things back up: ip link set $(get_wanface) up Command for WAN in this case: udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcpc […]


     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.