Skip to content

Instantly share code, notes, and snippets.

---
title: Disable IPV6
description: How to disable IPV6 on your OpenWrt router
template: comments.html
tags: [template, markdown]
---
# OpenWrt Disable IPV6
The following steps will disable IPV6 on your OpenWrt router . All the steps are performed via the command line. You can performe them in the console of the router but the preferred way is via SSH.
@ulp1an
ulp1an / superonline-tv-plus-x86.txt
Created March 15, 2024 22:50
superonline-tv-plus.txt
/etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
@ulp1an
ulp1an / webp to jpg.txt
Last active February 23, 2024 17:05
webp to jpg
sudo pacman -Sy imagemagick
for i in *.webp; do name=`echo "$i" | cut -d'.' -f1`; echo "$name"; convert "$i" "${name}.jpg"; done
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd06:b29e:9a13::/48'
option packet_steering '1'
#!/bin/bash
# This script will increse the size of the LVM disk partition so that you can take advantage of additional space after increasing the virtual
# disk size either through virtualbox, openstack, or some other virtualization tool
if [ -z "$1" ] ; then
echo "You must specify the disk device being extended, eg: /dev/sda or /dev/vda";
echo "Example Usage: ./extend-lvm.sh /dev/sda";
echo "Run 'fdisk -l' to see the existing devices and partitions. If there are more than one, this will also give you a clue as to which one has grown and needs to be modified";
exit 1
fi
sudo nano /Library/LaunchAgents/com.fortinet.forticlient.credential_store.plist
<key>RunAtLoad</key>
<true/>
<key>RunAtLoad</key>
<false/>
cd /etc/pihole && sudo service pihole-FTL stop && sudo rm -rf pihole-FTL.db && sudo service pihole-FTL start && cd
@ulp1an
ulp1an / tftp-on-macos.txt
Created August 22, 2022 15:18
tftp server on mac
macOS Command-Line Native tftpd:
Configure your network interface for the proper server address for your device. Using System Preferences > Network is perhaps the easiest.
Connect your device to the network interface
Start tftpd
$ sudo cp path/to/file/to/serve.bin /private/tftpboot/the_name_the_device_is_looking_for.bin
$ sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
Confirm tfptd is running by looking for the UDP listener on port 69
HP pkg fails to install because it checks for os less then 12.0
expand contents of pkg into folder
pkgutil --expand HewlettPackardPrinterDrivers-10.6.0.1.1.1602826228.pkg HewlettPackardPrinterDrivers-10.6.0.1.1.1602826228
Modify distribution file:
if (system.compareVersions(system.version.ProductVersion, '12.0') &gt; 0) {
to be 13.0 or something higher