Oct 09

Open Finder, Disk Utility and Open Terminal.  In terminal type “dd if=” and then drag the iso from Finder to the terminal window, that will fill in the path.  Then space and type “of=” and drag the mounted usb partition from finder to the Terminal windows to again fill the path.  Then in your Disk Utility, Unmount the USB Partition (Unmount, NOT Eject).  Then back in your terminal window, hit enter.  Done.

So your command should look like this “dd if=/Users/user/Downloads/SW_DVD5_Win_Pro_7w_SP1.ISO of=/Volumes/USB”

 

Share
Mar 06

Trying to mount a windows share into Ubuntu 16.04 LTS.  I could run the following command just fine:

sudo mount -t cifs -o domain=workgroupname,username=myname,password=mypassword //192.168.1.15/music /media/music

But of course would lose the map on reboot.  So install “sudo apt-get install cifs-utils” and then Everytime I tried to add to fstab and “sudo mount -a” I would get the mount error(13) permission denied.

What fixed it was changing the sec on my command to “ntlmsspi”.  Hope this helps someone else.  So my command in fstab (/etc/fstab) is

//192.168.1.15/music /media/music cifs username=myname,domain=workgroupname,password=mypassword,
iocharset=utf8,sec=ntlmsspi 0 0

Now that you have this working you need to create a .smbcredentials file in the /root directory to contain and hide my credentials,

Enter your Windows username and password in the file:

username=msusername
password=mspassword
domain=workgroupordomain

“sudo chmod 700” that file.  and change the fstab line command to :

//192.168.1.15/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,sec=ntlmsspi 0 0


Share
Jan 18

I won’t get into the security implications of doing this, but just the 2 methods I have found to get it done.  My use case was a simple single digital sign that no one had physical access to, and popped this up on every scheduled or unscheduled reboot.

  1. If you don’t mind entering a password on boot, then go to User Accounts and set “automatic login” to off.
  2. If you want it to auto login and still not ask for the login keyring (again forgoing the security lecture), go into your “Startup Programs” and uncheck the Keyrings from starting.

 

Share
Jun 09
  1. Boot with Knoppix live disk or usb
  2. Open a terminal window in Knoppix
  3. Type “sudo sfdisk -l” to see what your Windows disk is mounted as (example – sda1)
  4.  Then navigate to the Windows folder of that drive (sda1 in this example): “cd /media/sda1/Windows/System32/config”
  5. Then Type “sudo chntpw SAM”  – and from there you can Clear password, Edit Password, Promote User and unlock accounts
    1. Note: if chntpw is not on your Knoppix version, just issue this command “sudo apt-get install chntpw” and repeat step 5
  6. Type “q” for quit and save the SAM file

 

Advanced

  • To list all the users you can change the password on do “sudo chntpwd -l SAM” before step 5 above
  • Then you can change a specific user by typing sudo chntpwd -u “Username” SAM – where Username is the actual username
Share
Jun 09
  1. Boot with Knoppix live disk or usb
  2. Open a terminal window in Knoppix
  3. Type “sudo sfdisk -l” to see what your disk (that you want to wipe) is mounted as (example – sda1)
  4. Type “sudo shred -vfz -n 100 /dev/sda1” – IMPORTANT – Substitute the disk name learned from above command.  Note that the 100 is the number of passes (and can be changed)
Share
May 06

1.    Click on Start > All Programs > Accessories > Run > Type %Programdata% and Click OK

2.    Rename the ‘Microsoft Help’ folder as ‘Microsoft Help. OLD’

Install Office as normal

Share
May 03

open command prompt with Admin privileges

Backup original SSL from “C:\Program Files (x86)\Spiceworks\httpd\ssl”
In your command prompt, navigate to “C:\Program Files (x86)\Spiceworks\bin”
Type: openssl x509 -in ..\httpd\ssl\yourcertkeyname.crt -out ..\httpd\ssl\ssl-cert.pem -outform PEM
then Type: openssl.exe x509 -in ..\httpd\ssl\yourkeyname.crt -out ..\httpd\ssl\ssl-private-key.pem -outform PEM
Share
Apr 14

How I use unblock-us on Roku and/or opendns with my Comcast gateway (or your own with Comcast firmware).

The pain of using a Comcast modem and trying to use unblockus or opendns is that Comcast will not allow the Gateway’s DNS to be changed.

Explanation:

Most solutions that is have seen involve putting your gateway in full bridge mode and using your own router and Wifi. I really didn’t like this solution as that is really doubling up on hardware ( not to mention the inconvenience of resetting my router rules and wifi password on all devices).

My solution is achieved through DHCP.  The DNS is set through the DHCP options. So we will set up our own DHCP server.  But there is another problem. The Comcast gateway won’t let us turn off DHCP!  So we have to change it so that it is only giving out one IP address.  Whatever computer gets that address will not have the correct DNS settings!!!  So make sure the correct computer gets the first (non-correct DNS) IP address by turning all other devices off while setting this up)

Solution:

1) (If you have a dedicated computer that is always on) Set up a DHCP server on your dedicated computer with a Static IP.  I have one always on for Plex and PlayOn so that is the computer I set it up on.  Set up a DHCP scope starting with a high ip address (like 100) and with your desired DNS settings. Stop the DHCP service.  Go to step 3

2) (If you do NOT have a dedicated computer that is always on)Get a small device that has DHCP Server capabilities.  I got a TP-Link TL-WR710N for ~$22 on Amazon.  Set up a DHCP scope starting with a high ip address (like 100) and with your desired DNS settings.  Stop the DHCP and/or turn off the TP-Link.  (Here is my TP-Link Config for Unblock-us, username and password is Admin/unblockus15, and must be on Firmware 140922, and disable wireless in wireless settings on the TP-Link, ip of TP-Link will be 10.0.0.99)

3) After you have your DHCP server up and running log into your Comcast Gateway. Go to Connection -> Local IP Configuration.  And change your Beginning and Ending IP address to the same IP.  Set the DHCP Lease Time to forever.

Comcast-DHCP

4) Turn the device/computer on that you don’t care gets the wrong DNS.  it will get the IP you set above.

5) Start your DNS server (on the computer or the dedicated TP-Link type device).

6) Now you should be able to turn your devices back on and they should get the New IP and DNS!

 

Share
Jul 09

After much searching, finally figured out that this was due to a leading space on one of the column headers.

Share
Mar 31

 

 

Moving a folder: This folder is shared with other people. If you move this folder, it will no longer be shared.

You get this message everytime you move a folder within a shared folder to another location.

Share-Warning-Capture

The only work-around that I have found is to
1) cut  the folder you want to move
2) paste it into the recycle bin
3) cut out of the recycle bin and paste where you want it to go.

This will eliminate the annoying message.

 

 

Share