Start Radius Server
systemctl start radiusd
Stop Radius Server
systemctl stop radiusd
Start Radius Server in dubug mode
radiusd -X
Error Log
tail -f /var/log/radius/radius.log
Start Radius Server
systemctl start radiusd
Stop Radius Server
systemctl stop radiusd
Start Radius Server in dubug mode
radiusd -X
Error Log
tail -f /var/log/radius/radius.log
The commands are for CentOS, but should work on Fedora and RedHat.
If semanage is not installed refer to here.
You would typically use this along with the systems firewall to allow a port through. Guide for firewalld and iptables. If you change it in the firewall and fail to add/edit it in semanage you can potentially get weird behavior like sshd not wanting to start after changing the port.
Add port
semanage port -a -t ssh_port_t -p tcp 2222
The above command allows the sshd service to start, using port 2222.
List allowed ports
semanage port -l
You can use grep to filter the results
Example:
[admin@localhost ~]# semanage port -l | grep ssh ssh_port_t tcp 2222, 22 [admin@localhost ~]#
Delete port
semanage port -d -p tcp 2222
Other examples
Allow SNMP
semanage port -a -t snmp_port_t -p udp 161
semanage is part of the policycoreutils-python package, as is seen when you run “yum provides semanage”. So you need to install the package to get the semanage functionality.
yum install policycoreutils-python
You should be good to go.
This command searches the directories in the current directory and copies the text files into the TEXT directory.
for i in ./* ; do cp "${i}"/*.txt ./TEXT ; done
Enable copr repo.
sudo dnf copr enable tcg/discord
Install discord.
sudo dnf install discord -y
Launch Discord and sign in.
Search /etc/named.conf to find the zone file for the domain.
Find the domain name and see where the zone file is. Example zone block.
zone "incredigeek.com" in { type master; file "/var/named/mzones/incredigeek.com.hosts"; allow-query { any; }; forwarders {}; };
The file is /var/named/mzones/incredigeek.com.hosts
Edit your zone file by opening it up in a text editor.
Example. Text in bold added for comments.
$TTL 21600 $ORIGIN com. incredigeek IN SOA dns1.dns-server.com. dns2.dns-server.com.( 0000147 ; serial <- This needs to be incremented so it is greater than the previous version of this file 43200 ; refresh (12 hours) 7200 ; retry (2 hours) 604800 ; expire (7 days) 21600 ) ; minimum NS dns1.dns-server.com. NS dns2.dns-server.com. 300 A 10.0.0.11 <- A record for root domain $ORIGIN incredigeek.com. localhost IN A 127.0.0.1 www 300 IN A 10.0.0.11 <- www subdomain A record login 300 IN A 10.0.0.12 <- another subdomain A record
Save file and reload Bind
On FreeBSD
rndc reload incredigeek.com
you can reload everything with
rndc reload
On Fedora/CentOS/REHL
service named reload
On Ubuntu/Debian
service bind9 restart
You may need to reload Bind on any slave servers
Install RPM Fusion
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Install packages
sudo dnf install -y kernel-devel-$(uname -r) sudo dnf install -y akmodssudo dnf install -y broadcom-wl
Give the computer a reboot and the Broadcom card should now work.
Here is a quick way to download and install the Hashcat utils.
Download the Hashcat utils
wget https://github.com/hashcat/hashcat-utils/archive/master.zip
Run the following commands to unzip and make the binaries
unzip master.zip cd hashcat-utils-master/src make
You can now convert an aircrack file by invoking the cap2hccapx binary
./cap2hccapx.bin /path/to/aircrack.cap /path/for/output
Check out the following article for more details on converting Aircrack files to Hashcat hccapx
Need to install Hashcat on Fedora?
Using Aircrack
aircrack-ng input.cap -J hashcat_output
Unfortunately the above command doesn’t seem to work anymore.
If you try to run Hashcat with the outputted file you’ll get an error.
hashcat_output.hccap: Old hccap format detected! You need to update: https://hashcat.net/q/hccapx
Using Hashcat utils
Refer to this guide for installing the Hashcat utils.
Basic syntax is
./cap2hccapx.bin input.cap output.hccapx
Example
~/Downloads/hashcat-utils-master/src/cap2hccapx.bin aircrack-01.cap aircrack.hccapx
Install libappindicator
sudo dnf install libappindicator
Download the Slack rpm from from https://slack.com/downloads/linux
or with wget
wget https://downloads.slack-edge.com/linux_releases/slack-3.0.5-0.1.fc21.x86_64.rpm
Install with
sudo rpm -i ./slack-3.0.5-0.1.fc21.x86_64.rpm