Fibocom-L850-GL-Modem/xmm7360-pci/xmm7360
https://github.com/xmm7360/xmm7360-pci
Install:
sudo dnf install kernel-debug-devel kernel-devel
Blacklist iomu driver as per:
https://docs.fedoraproject.org/en-US/Fedora/17/html/Installation_Guide/rescuemode_drivers-blacklisting.html
Create file iosm-blackilst.conf
Add entry:
blacklist isom
Reboot
cd xmm7360-pci
cp xmm7360.ini.sample xmm7360.ini
Edit xmm7360.ini
# driver config
apn=fast.t-mobile.com
#ip-fetch-timeout=1
#nodefaultroute=True
#metric=1000
# uncomment to not add DNS values to /etc/resolv.conf
#noresolv=True
# used to activate NetworkManager integration
dbus=True
# Setup script config
BIN_DIR=/usr/local/bin
./scripts/lte.sh setup
./scripts/lte.sh up
Test Connectivity
./bin/besu –version produces jemalloc.so error
vi /bin/besu and correct the following lines:
TEST_JEMALLOC=$(LD_PRELOAD=libjemalloc.so.2 sh -c true 2>&1)
export LD_PRELOAD=libjemallo.cso.2
Java JDK
sudo dnf install java-latest-openjdk.x86_64
server certificate does NOT include an ID which matches the server name
ZeroConfigExchange – Automating the Creation of an Outlook Profile
VS Studio Code + SSH
- Exit completely out of VSCode so that no VSCode processes are running. Force quit if you have to.
- ssh to the remote machine(s) and delete the ~/.vscode-server directory with rm -Rf ~/.vscode-server/
- If you get any “cannot remove [file]: Device or resource busy” errors then look for stuck processes:
- lsof | grep $HOME/.vscode-server | awk ‘{ print $2 }’ | sort -u
- … then kill those processes, then trying removing the directory again.
- Restart VSCode.
Reference: https://earlruby.org/2021/06/fixing-vscode-when-it-keeps-dropping-ssh-connections/
VirtIO
Proxy.pac
Service Log Paths
http://wiki.centos-webpanel.com/service-log-paths
Apache logs are in folder
/usr/local/apache/logs (main logs) /usr/local/apache/domlogs (per domain logs are in the same file for apache&nginx)
Nginx logs are in folder
/var/log/nginx/ /usr/local/apache/domlogs (per domain logs are in the same file for apache&nginx)
Mod Security (per domain logs, replace DOMAIN.COM)
/usr/local/apache/domlogs/DOMAIN.COM.error.log
CWP server logs and server services logs, including (PhpMyAdmin/Roundcube/API):
/usr/local/cwpsrv/logs/ /usr/local/cwp/php71/var/log/
CWP WebServers rebuild log for vhosts including php-fpm conf:
/var/log/cwp/webservers.log
CSF & LFD firewall logs
/var/log/lfd.log
SSH logs
/var/log/secure
Yum logs
/var/log/yum.log
FTP logs
/var/log/messages
PHP Mail Log (sent from php scripts)
/usr/local/apache/logs/phpmail.log
Postfix / Mail
/var/log/maillog
Failed SMTP Login example (mail client software: thunderbird, outlook):
Jun 22 17:09:20 srv1 postfix/smtpd[14076]: warning: unknown[38.10.12.80]: SASL LOGIN authentication failed: UGFzc3df4mQ6
Dovecot and Dovecot debug logs
/var/log/dovecot.log /var/log/dovecot-info.log /var/log/dovecot-debug.log
Failed IMAP/POP3 Logins
/var/log/dovecot-info.log
Failed Login examle (mail client software: thunderbird, outlook):
Jun 22 18:06:25 imap-login: Info: Disconnected (auth failed, 3 attempts): user=<info@domain.com>, method=PLAIN, rip=212.12.176.56, lip=5.196.100.13, TLS
Failed Login example roundcube:
Jun 22 17:59:22 imap-login: Info: Disconnected (auth failed, 1 attempts): user=<username@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Success Login roundcube:
Jun 22 18:14:20 imap-login: Info: Login: user=<username@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=26051, secured
Success Login example (mail client software: thunderbird, outlook):
Jun 22 18:16:51 pop3-login: Info: Login: user=<username@domain.net>, method=PLAIN, rip=212.12.176.56, lip=5.192.100.13, mpid=26464, TLS
Roundcube (CWP version 160+)
/usr/local/cwpsrv/var/services/roundcube/logs/
example of /usr/local/cwpsrv/var/services/roundcube/logs/sendmail:
[22-Jun-2018 21:15:39 +0000]: <e1efa51l> User username@domain.net [11.22.33.144]; Message for someuser@gmail.com; 250: 2.0.0 Ok: queued as E7B7B21244E7
Failed Logins
/usr/local/cwpsrv/var/services/roundcube/logs/errors
example /var/log/dovecot-info.log:
Jun 22 17:59:22 imap-login: Info: Disconnected (auth failed, 1 attempts): user=<username@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
MySQL logs
Please read this: https://mariadb.com/kb/en/error-log/
/var/lib/mysql/HOSTNAME.err
Bind/Named logs
/var/log/messages
SSL Let’s Encrypt logs:
/var/log/cwp/autossl.log /root/.acme.sh/acme.sh.log
Admin Login Logs
/var/log/cwp_client_login.log