Advanced Search
Search Results
535 total results found
VM under VMWare Player won't resize screen on drag
Problem A VM running under VMWare Player won't dynamically resize the "screen" on drag or full-screen. Solution cp /etc/vmware-tools/tools.conf.example /etc/vmware-tools/tools.conf vi /etc/vmware-tools/tools.conf Remove the # from this block: [resolutionKMS] ...
SSH No Key Exchange method found
(2022-11-02) Problem # ssh 192.168.2.91 Unable to negotiate with 192.168.2.91 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 Solution Add one of the presen...
firewalld
(2016-12-06) God help me, this is firewalld After you make a change, reload the firewall to make it active: # firewall-cmd --reload To make the current running state of the firewall permanent (ie to be used at the next boot: # firewall-cmd --runtime-to-perman...
Install nfsen 1.3.6p1
(2016-12-02) Problem How do I get nfsen 1.3.6p1 running on Fedora Server 25? Disclaimer Works for me, your milage may vary, some cars not for use with some sets, if this doesn't work then the only thing I'll do for you is feel bad for you on a best-effort basi...
Starting httpd
Problem How do I start up httpd in this brave new systemd world? Solution Firewall (note your zone will be different if you are not using Fedora Server): # firewall-cmd --zone=FedoraServer --add-port=80/tcp --permanent # firewall-cmd --reload Boot time: # sys...
PPTP VPN Client
(2018-04-30) Setting A PPTP VPN Client You have to set the firewall to accept GRE tunnel traffic: # firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p gre -j ACCEPT # firewall-cmd --permanent --direct --add-rule ipv6 filter INPUT 0 -p gre -j A...
Example nmcli Commands
(2018-10-15) Problem nmcli Solution Some recently discovered examples: # nmcli con # nmcli con show enp0s25 | grep dns # nmcli con modify "System ens192" ipv4.dhcp-hostname "wiki2" # nmcli con modify enp0s25 ipv4.dns-search klondike.xdroop.local # nmcli con...
Firewalld Limit Remote Source Connections
(2019-02-14) Problem I have an internet-facing service that I want to restrict to a particular (set of) source address(es). The service can't do source-filtering on its own. Solution Define a new zone that includes the (set of) address(es) as valid sources, an...
Join AD
(2019-11-28) Problem # realm -v -U dave join mydomain.local [...] ! Couldn't create computer account: CN=NETMAN,CN=Computers,DC=mydomain,DC=local: 00002083: AtrErr: DSID-031519F7, #2: 0: 00002083: DSID-031519F7, problem 1006 (ATT_OR_VALUE_EXISTS), dat...
Samba AD Controller Notes
(2019-11-25) Backplot At a new customer site, I inherited a Active Domain that was hosted on a Samba. The previous admin made some sketchy choices by picking a CentOS 7 platform for some third-party RPMs (becaues CentOS doesn't ship an AD-capable samba; the sa...
Set Hostname To VM Name
(2019-11-28) Problem /t Solution For whatever reason, the vmware-tools package (and the open-vm-tools corresponding package) does not expose the name of the vm to the vm. Weird. You can, however, set your own value in the vm properties and then query it yourse...
Upgrading Fedora
(2019-03-18) Problem I want to update Fedora to another version. In General It is recommended to upgrade to the next version and not skip versions. Single-hop upgrades (27->28) are supported; double-hop upgrades (26->28) are supported for 30 days after the ini...
DHCP Reservation Not Working
A: dhclient now supports RFC-4361! (Please note that this is an answer to a question nobody asked.) Q: My Fedora Core system won't pick up a DHCP lease reservation! (Also: my dual-booting Fedora Core system won't pick up the same DHCP lease that the other OS o...
Running Fetchmail
Simple, in crontab: # /opt/sfw/bin/fetchmail -f /etc/fetchmailrc --syslog Interactively: # /opt/sfw/bin/fetchmail -v -e 5 --showdots -f /etc/fetchmailrc Switches of interest: Switch Definition -v verbose (double to see all the commands issued by fetch...
Find Tricks
Excluding stuff (say, the .snapshot directory of a find) $ find $dir -name .snapshot -prune -o -type f Dealing with names with spaces in them: $ IFS=' '; for f in $(find . -name "*mp3"); do echo command-mp3-2-ogg "$f"; done command-mp3-2-ogg ./How Long.mp3 co...
makeinfo build error
2013-05-15 Problem Building gcc 4.1.2 on CentOS 6 halts with the error: WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of...
gcc on Solaris 8
These are some potentially useful things to know when fighting with gcc on Solaris (Solaris 8 in my case). I keep having to go off and learn this, so this time I'm writing the damn information down. configure --prefix=/where/to/stick/it Sometimes you might thi...
getarp
A perl script to get the ARP table out of a router. Requires Net::SNMP, Net::hostent, and Sys::Syslog getarp [-s IP [-c STRING ]] [TARGETIP] -s IP query the router at IP -c STRING use STRING as the SNMP community TARGETIP only p...