If you have turned off password protected sharing on a Windows 10 shared folder, you may still notice you can’t connect from a Linux client.Trying to connect using “anonymous” or “Guest” as the user name does not work – instead try using a space (” “) as the user name and a space for the … Continue reading Windows 10 shared folder Guest access using smbclient on Linux
Category Archives: Linux
LXDE create quick launcher
To provide a GUI for LXDE users to easily create new .desktop files, which can be used as shortcuts to applications or locations, follow the instructions below: 1. Create file: /usr/local/bin/create-quicklauncher: #!/bin/bash # Use the current time as a unique temporary filenameDATETIME=$(date +%Y%m%d-%H%M%S)FILENAME=$DATETIME.desktop lxshortcut –output=$(pwd)/$FILENAME # Get the Name that user inputed so we can rename … Continue reading LXDE create quick launcher
Broadcom wireless on Ubuntu 16
It can be unclear which packages to install to support the Broadcom wifi chip on MacBook (4322). Below are explanations of the driver options: 1) bcmwl-kernel-source – contains the proprietary Broadcom STA (Station) hybrid driver. It contains the compiled binary from Broadcom along with patches from Ubuntu to support updated kernels. No other package is required. … Continue reading Broadcom wireless on Ubuntu 16
Simple Invoices password reset
To reset the password of a Simple Invoices user it is necessary to use MySQL. Passwords are stored as a hash using the MD5 function. Log in to mysql and connect to your database, then:select * from si_user;update si_user set password = MD5(‘newpassword’) WHERE email = ’email@address.com’; www.simpleinvoices.org
ClamAV ScanOnAccess
ClamAV 0.99 supports scan on access, through clamav-daemon (clamd), Below are instructions for setting this up with Lubuntu 16.04. 1) apt-get install clamav-daemon 2) apt-get install libnotify-bin (we will use notify-send to send alerts to the desktop) 3) edit /etc/clamav/clamd.confUser root…ScanOnAccess trueOnAccessPrevention yesOnAccessIncludePath /home/user/DownloadsVirusEvent VirusEvent export DISPLAY=:0; /usr/bin/notify-send –icon=error “CLAMD VIRUS ALERT:” “$CLAM_VIRUSEVENT_VIRUSNAME FOUND IN $CLAM_VIRUSEVENT_FILENAME” 4) … Continue reading ClamAV ScanOnAccess
Configure Exim mail server on Debian
Verified on Debian 8 (Wheezy). apt-get install exim4 To support recent IOS devices you need to generate a 2048-bit SSL certificate. Add TCP port 587 to the listening ports by editing /etc/default/exim4. To support local account authentication for SMTP over SSL submission port 587 uncomment out the sslauthd section (ref: https://wiki.debian.org/Exim). Exim defaults to IPv6 before … Continue reading Configure Exim mail server on Debian
Run your own DynDNS server on Debian Linux
This outline assumes you own your own domain and manage the DNS servers running Debian Wheezy or Jessie with: bind9 for DNSlighttp for webserverphp5apt-get install bind9 – configure your zone. apt-get install lighttp php5-cgi Configure SSL: lighty-enable-mod ssl openssl … Configure authentication: lighty-enable-mod auth echo username:realm:`md5sum password | cut -b -32` >> /etc/lighttpd/.htpasswd/htdigest.userEnable PHP: lighty-enable-mod fastcgi lighty-enable-mod fastcgi-php Configure Virtual Hosting: lighty-enable-mod simple-vhost mkdir … Continue reading Run your own DynDNS server on Debian Linux
Monitor fans on HP Proliant ML150 G3 running Lenny
(This blog is in reference to a Debian Lenny AMD64 system)hp-health is the package that is supposed to provide access to the fan status on HP Proliant servers. It is not easy to install hp-health on Debian Lenny. The ISO can be located by searching the HP website. On my system the existence of 2 … Continue reading Monitor fans on HP Proliant ML150 G3 running Lenny
Fix wireless soft-switch when running Debian on HP dv6
The HP dv6 laptop has touch switch to turn the wireless on & off.When running Debian Wheezy on this laptop the wireless will turn off (blue -> orange), but doesn’t turn back on. The status can also be viewed by using rfkill application (install from apt/Synaptic), using the command: rfkill list To get the light … Continue reading Fix wireless soft-switch when running Debian on HP dv6
Linux route add
Syntax for adding a route in Linux: route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.2 List routes: netstat -rn Delete route: route delete net 192.168.2.0 Add static route: nano /etc/network/interfacespost-up route add -net 192.168.2.0/24 gw 192.168.1.2 dev eth1pre-down route delete -net 192.168.2.0/16 gw 192.168.1.2 Add/Change default gateway: ip route add default via 192.168.1.254