fix my samba issue “Failed to retrieve share list from server”

https://ubuntuforums.org/showthread.php?t=2164517

 

So edit /etc/samba/smb.conf and change your workgroup name to something 15 characters or less in length. While you’re in there add another line right under the workgroup line:

Code:
name resolve order = bcast host lmhosts wins
Advertisements

just a quote ive spent the last 5 years searching for after i accidentally lost it… nothing important or anything..

Gustave Flaubert
“He seriously thought that there is less harm in killing a man than producing a child: in the first case you are relieving someone of life, not his whole life but a half or a quarter or a hundredth part of that existence that is going to finish, that would finish without you; but as for the second, he would say, are you not responsible to him for all the tears he will shed, from the cradle to the grave? Without you he would never have been born, and why is he born? For your amusement, not for his, that’s for sure; to carry your name, the name of a fool, I’ll be bound – you may as well write that name on some wall; why do you need a man to bear the burden of three or four letters?”
— Gustave Flaubert (November)

Installing And Setup APCUPSD For UPS Monitoring

sudo apt-get install apcupsd -y && sudo nano /etc/apcupsd/apcupsd.conf

Add
UPSNAME SC1500
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyUSB0


run 
upstest 
to ensure ups is talking

run 
apcupsd

run 
apcaccess status 
to ensure apcupsd is happy

still need to work out starting it on reboot automatically

sudo nano /etc/default/apcupsd
set ISCONFIGURED yes
then restart as below
type the following command to start / stop / restart service:
 # /etc/init.d/apcupsd start
 # /etc/init.d/apcupsd stop
 # /etc/init.d/apcupsd restart

http://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-install-apcups/
http://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-install-apcups/
my cable is a 940-0272A