Skip to content

Instantly share code, notes, and snippets.

View coolnumber9's full-sized avatar
💭
I may be slow to respond.

Kristoffer Dominic Amora coolnumber9

💭
I may be slow to respond.
View GitHub Profile
@coolnumber9
coolnumber9 / check-os-release.txt
Created January 30, 2019 13:44
Check the CentOS/RHEL OS Update Level
# Source: https://www.thegeekdiary.com/how-to-check-centos-version/
# package centos-release
rpm -ql centos-release | grep release$
cat /etc/redhat-release
cat /etc/centos-release
cat /etc/os-release
cat /etc/system-release
rpm -qf /etc/redhat-release
@coolnumber9
coolnumber9 / rpi-wifi-setup-cmd-line.txt
Created December 17, 2017 07:51
Raspberry Pi Wifi Setup using the Command Line (Known SSID)
1.) sudo nano /etc/network/interfaces
2.) Encode the following:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
@coolnumber9
coolnumber9 / rpi-static-ip-setup.txt
Created December 17, 2017 07:48
Static IP Setup on Raspberry Pi
1.) Connect to ACLC KomSpec
2.) Login - use your account/code
3.) type command "ifconfig"
- take note of wlan0
- look for "inet addr:xxx.xxx.xxx.xxx"
4.) type command "netstat -r"
- take note of Gateway IP
5.) type command "ip -4 addr show dev wlan0 | grep inet"