linux mint

How to set up OpenVPN on Linux Mint

How To Set Up OpenVPN on Linux Mint

This guide describes the steps taken to set up the free OpenVPN service on Linux Mint and create a toggle switch in the Network Connections applet to simplify its use.

A VPN connection toggle switch circumvents the need to launch the OpenVPN service by typing a command in a terminal window. Additionally, multiple VPN networks can be added to the Network Connection applet as desired, to manage all your VPN networks effectively.

Linux Mint VPN Network Connection using the free OpenVPN service

Linux Mint VPN Network Connection using the free OpenVPN service

In brief, the steps required are:

  1. Visit vpnbook.com and download the free OpenVPN Certificate Bundles to your computer.
  2. Install the OpenVPN network daemon, network management framework and OpenVPN plugin core using Software Manager.
  3. Create a VPN network connection using one of the downloaded OpenVPN Certificates.

1. Download the free OpenVPN Certificate Bundles to your computer.

Free OpenVPN is the best and most recommended open-source VPN software world-wide.

Visit vpnbook.com/freevpn and download one or more Certificate Bundles appropriate for your needs.

Also, make a note of the Username and Password that are displayed beneath the list of certificates.

The Certificate Bundles are provided in a compressed file and need to be extracted. Go to your download folder and right-click the downloaded zip file. Select Extract Here to unzip the files quickly inside your download folder.

Right-click and select Extract Here

Right-click and select Extract Here

At this point, you may want to create a dedicated certificate folder in which to store all your extracted certificates.

2. Install the OpenVPN software.

Launch Linux Mint Software Manager from the Menu and enter your password when prompted.

Select Software Manager from the Linux Mint menu

Select Software Manager from the Linux Mint menu

In the Software Manager search field, type openvpn.

Search for openvpn in Software Manager

Search for openvpn in Software Manager

If the following packages are not installed, install them using the Software Manager interface:

  • Openvpn | Virtual private network daemon.
  • Network-manager-openvpn-gnome | Network management framework (openvpn plugin gnome gui).
  • Network-manager-openvpn | Network management framework (openvpn plugin core).

3. Create a VPN network connection

Click the Linux Mint Menu button and type network in the search bar. Select the Networking Configuration Manager.

Select Network

Select Network

Add a new connection by pressing the plus symbol beneath the list of available networks.

Add a new network connection

Add a new network connection

Select VPN from the Add Network Connection options.

Select VPN from the options

Select VPN from the options

Select Import from file…

Import from file...

Import from file…

Navigate to your certificate folder, chose a certificate (.ovpn file) and press Open to import that file.

Chose a certificate file

Chose a certificate file

A User Certificate, CA Certificate and Private Key are extracted from the vpnbook certificate file and stored on your computer. File locations can be obtained by clicking the folder icon adjacent to each file.

Enter the username and password in the appropriate fields and press Add to complete the Add Network Connection process.

It is important to note that the username and password are case sensitive.

Add username and password

Add username and password

The new network connection will now be visible in the Networking manager. It can be enabled and disabled in the Networking manager to test the connection.

Connection added to Linux Mint Networking Manager

Connection added to Linux Mint Networking Manager

Most connection failures will be due to an incorrectly typed username or password. To edit a network configuration, select the network by left clicking it in the list, then press the crossed spanner and screw driver icon in the Networking manager.

Upon confirmation of connection success, close the Networking manager window.


How to use

Left click the network icon (located at the bottom right of the Linux Mint task bar) to see a summary of available networks and those currently connected.

Linux Mint Network applet

Linux Mint Network applet

Use the toggle switch to enable or disable VPN Connections.

If you have multiple VPN connections configured, the one in use will be shown at the top of the list with a bullet point to its left.

To connect to a different VPN network, use the Network Settings option to return to the Networking configuration manager. Enable and disable VPN connections there.

Note that the vpnbook password is changed frequently. If you find that a previously working vpn configuration fails to connect, visit vpnbook.com and obtain the new password. Then make the appropriate change in the configuration as described in step 3.

Advertisements
Track and Field

How To Install MAME On Linux Mint

How To Install MAME On Linux Mint

This guide shows you one of the ways to install the MAME arcade emulator on Linux Mint and then configure it to point at your ROM folder path.

This tutorial concludes with the installation of a mame graphical user interface frontend called Gnome Video Arcade, which improves the selection of your favourite games.

Prerequisites:

  • Linux Mint (Although this is a similar procedure for Ubuntu).
  • Your compatible arcade ROMs.
  • A few minutes to complete the installation and configuration.

1. How to Install MAME on Linux Mint

1,1 Launch the Linux Mint Software Manager by clicking on the Menu button and selecting it from the list. Enter your administrator password when prompted.

1.2 Type mame into the search bar and press Enter on your keyboard.

Search for MAME in the Software Manager | Linux Mint

Search for MAME in the Software Manager | Linux Mint

1.3 Select mame – Multiple arcade emulator (mame) and then Install it.

Install MAME | Linux Mint Software Manager

Install MAME | Linux Mint Software Manager

2. How to Configure MAME on Linux Mint

2.1 Open up a Terminal command window by pressing Ctrl + Alt + T

2.1 In the terminal window, type the following command exactly to edit the MAME configuration file, mame.ini. Enter your administrator password when prompted.

sudo gedit /etc/mame/mame.ini

2.2 Look through the configuration file and locate:

# Default data search paths
rompath
Alter the rompath Parameter to Point to Your Rom Folder

Alter the rompath Parameter to Point to Your Rom Folder

Change the rompath parameter to point to your ROM folder.

Here, I have opted to store my ROM files inside a hidden folder in my Home directory(*). The dot that precedes the folder name mame indicates that this folder is hidden.

Similarly, make the appropriate changes to point mame to your ROM artwork and sample folders if you have them.

Note (*)To toggle the visibility of hidden files and folders in a directory listing, press Ctrl + H.

2.3 Continue to scroll through the configuration file.

If you have more than one CPU core then it is beneficial to enable multithreading. At the multithreading parameter, delete the zero and replace it with a one to switch this function on.

Likewise, other MAME features can be enabled in this part of the configuration file by replacing zeros with ones. For example, MAME can be instructed to start in a window instead of full screen mode.

Remember: 0 (zero) = Disabled | 1 (one) = Enabled

MAME Configuration File - Multithreading | Linux Mint

MAME Configuration File – Multithreading | Linux Mint

2.4 Save the configuration file.

Save your changes to the mame.ini configuration file by pressing Save. Then close the editing window.

Save Changes to the mame.ini Configuration File | Linux Mint

Save Changes to the mame.ini Configuration File | Linux Mint

3. How to Run MAME in Linux Mint

3.1 MAME can be run in a number of ways:-

  • In a terminal window, type mame and press Enter.
  • Menu > Games > MAME™ Arcade Emulator
MAME | Linux Mint

MAME | Linux Mint

4. How to Add Gnome Video Arcade to MAME on Linux Mint

The GNOME Video Arcade application allows you to play classic coin-operated arcade games on your GNOME desktop using the Multiple Arcade Machine Emulator (MAME).

GNOME Video Arcade provides the following features:

  • Play classic arcade games on your Linux desktop.
  • Tag favourite games to find easily.
  • Read historical information and tips about your favourite games.
  • Game recording and play back.
  • Searching.

4.1 Back in Software Manager, type mame in the search bar then select gnome-video-arcade (Simple mame frontend) and install it.

gnome-video-arcade | MAME Front END GUI | Linux Mint

gnome-video-arcade | MAME Frontend GUI | Linux Mint

4.2 To launch the Gnome Video Arcade mame frontend:

  • In a terminal window, type gnome-video-arcade and press Enter.
  • Menu > Games > Gnome Video Arcade
Gnome Video Arcade (MAME Frontend) | Linux Mint

Gnome Video Arcade (MAME Frontend) | Linux Mint

4.3 The first time that the Gnome Video Arcade runs, it will scan your game folder to check the integrity of your ROMS. If any are found  not to be compatible with your version of the mame emulator, you will be notified and those games will be struck from the list of those available.

Updated ROMS should be sought for compatibility.

Errors Detected in ROMs | Gnome Video Arcade

Errors Detected in ROMs | Gnome Video Arcade

4.4 Having obtained compatible ROMs the game library will need to be rebuilt. To force a rebuild of the game library, in a terminal window type:

gnome-video-arcade -b