no vpn secrets ubuntu 14.04

I just rm'd all files in /etc/NetworkManager/system-connections/ and restarted Ubuntu 14.04. Problem solved. I know it was the last software update because I updated and shutdown. The next time I started up Ubuntu, the network kept dropping connection.

This almost worked to start from the command line but might need to run as sudo, might try if there are future problems.

Probably need this, needs read/write access to /var/run/vpnc, or change it's permissions:
$ sudo openconnect --no-cert-check gateway.hollandamerica.com

Original attempt that failed:
$ openconnect --no-cert-check gateway.hollandamerica.com

Another Idea is to try this for the, no luck with this:
[vpn]
password-flags=0

https://faq.i3wm.org/question/3796/nmcli-connection-activation-failed-no-valid-vpn-secrets/

Ubunbtu Work .bashrc Items


alias halup=nmcli\ con\ up\ id\ gateway.hollandamerica.com
alias haldown=nmcli\ con\ down\ id\ gateway.hollandamerica.com
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
alias bf=cd\ ~/Documents/bookingflow/
alias getbf=sh\ ~/Documents/Scripts/get-bookingflow.sh
alias getsbf=sh\ ~/Documents/Scripts/get-sbn-bookingflow.sh
alias scripts=cd\ ~/Documents/Scripts/
alias escripts=cd\ ~/Documents/Scripts/Expect
alias sdown=sudo\ shutdown\ -h\ now
alias prepiqa=meld\ /home/mruckman/Documents/bookingflow/src/assets/configuration.js\ /home/mruckman/Documents/Scripts/Environments/iQA.configuration.js
alias prepstage=meld\ /home/mruckman/Documents/bookingflow/src/assets/configuration.js\ /home/mruckman/Documents/Scripts/Environments/Stage.configuration.js
alias prepprod=meld\ /home/mruckman/Documents/bookingflow/src/assets/configuration.js\ /home/mruckman/Documents/Scripts/Environments/Production.configuration.js

Copy terminal output to clipboard

xclip seems to do better with VirtualBox

alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'

Note: When using VirtualBox there seems to be a limit how much can be copied to the clipboard and copied to the host OS

$ ls -ltr | xsel --clipboard

 

 

RDP In Ubuntu with VirtualBox

Sometimes the display gets a bit wonky when using Ubuntu in VirtualBox and using RDP, install the following to fix the resolution detection and display.

$ sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

How To Create A Wine Shortcut – Ubuntu 14.04

Refer: http://nextdime.wordpress.com/2014/06/20/how-to-create-a-wine-shortcut-in-ubuntu/

You can create by hand a desktop shortcut for your applications installed with wine by following these steps:

Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktopIn this example, I’ve chosen to the name inetexplorer.desktop and saved it to my desktop.

[Desktop Entry]
Name=Internet Explorer
Exec=wine "C:\Program Files\Internet Explorer\iexplore.exe"
Icon=/path/to/iconfile
Type=Application
Categories=Wine;

Here, replace the value for Name field with that of the target application’s name. (In the example, it’s Internet Exolorer.) The value of Exec would be in the format:

wine "C:\path to the\executable file"

for GUI applications:
wineconsole "C:\path to the\executable file"

for CLI application like say:
wine "C:\Program Files\Internet Explorer\iexplore.exe"

enclosing the path within double quotes ".. .." is important if the path contain blank spaces.

Replace /path/to/iconfile (the value for Icon field) with the path of an icon file
likeIcon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.

On the left is a shortcut with icon specified, for the one on right, not. iconField
Turn on the file’s execute bit on.Graphically you can do it by right clicking the .desktop file, and from the context menu selectProperties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.

selecting property from right-click context menu rightClickTheFile

setting execute permission executableProperty

From terminal, you can do this with:

chmod +x $USER/Desktop/inetexplorer.desktop
where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.

AD Firefox in Ubuntu – firefox 401 – Unauthorized: Access

Get the following error message:
Unauthorized: Access is denied due to invalid credentials

As part of Firefox 30's release, Mozilla made a change to disable support for NT LAN Manager version 1 (NTLMv1) network authentication. This change affects sites using Microsoft’s SharePoint or IIS services. The Windows version of Firefox 30 should switch to using NTLMv2 authentication automatically, but NTLMv2 is not supported by Firefox on non-Windows platforms.

The result for non-Windows platforms is that access may be blocked when Firefox 30 users try to access those kinds of sites.

To Enable NTLMv1 in Firefox

  • Open Firefox
  • In the address bar, enter the following: about:config
  • If prompted, click on the I’ll be careful, I promise! button.
  • Search for the following: network.negotiate-auth.allow-insecure-ntlm-v1
  • Once the network.negotiate-auth.allow-insecure-ntlm-v1 setting is located, double-click on the setting.
  • That should change the entry in the Value column from false to true.
  • Once the network.negotiate-auth.allow-insecure-ntlm-v1 setting has been set to true, close the Firefox browser window.
  • Open a new browser window and attempt to access the SharePoint-based or IIS-backed site. You should now be able to log in.

Refer: http://stackoverflow.com/questions/24372490/iis-server-7-0-returning-a-401-unauthorized-access-on-firefox-macos-only