In a post a couple of years ago I gave an example on how to configure an Ubuntu 12.04 server to authenticate to Active Directory. Things used to be hard back then. Now we have the realmd realm enrollment manager to do the hard work of joining the host to an Active Directory domain, and the System Security Services Daemon or SSSD to do the actual authentication and authorization work whenever it is needed. And things are much easier to configure and get running. Continue reading Ubuntu 14.04 Active Directory Authentication
Category Archives: Linux
VPN between StrongSwan and SonicWall
Here’s how to create a site-to-site VPN between StrongSwan and SonicWall. This has been tested with Ubuntu 14.04 and StrongSwan 5.1.2, and SonicWall with SonicOS 5.9 at the other end. Continue reading VPN between StrongSwan and SonicWall
OpenStreetMap Nominatim Server for Geocoding
Here’s how to install the OpenStreetMap Nominatim service on your own server. It can be used to geocode and reverse geocode addresses and map coordinates. You will also get a web interface which loads map tiles from openstreetmap.org while doing geocoding requests using your own server. Continue reading OpenStreetMap Nominatim Server for Geocoding
Migrating from LocationClient to FusedLocationProviderApi
How to detect a user pan/touch/drag on android map v2
How to detect a user pan/touch/drag on android map v2
Thanks Dimitar!
Show complete call log – together.jolla.com
dpkg cheat sheet
Verifying Back-End Calls from Android Apps
Developer Mode for the Samsung Galaxy S4
From: Developer Mode for the Samsung Galaxy S4
Get to the phone’s settings by tapping ‘menu’ from the home screen and then tapping ‘settings’
- tap on ‘more’
- tap on ‘software information’
- tap on ‘About Device’
- find the build number, and tap it 7 times
- on the 7th tap, a prompt should appear alerting you that Developer Options has been unlocked
You may also wish to:
1 2 3 |
android update adb adb kill-server adb start-server |
And after that you must accept the USB connection by tapping OK in the prompt on the device after you connect it.
How to install PostgreSQL 9.2 on Ubuntu 13.04
How to prefer IPv4 over IPv6 for some hosts
If an IPv6 address is unreachable, but you can reach the IPv4 one, you can set the preference to IPv4 for that particular address by adding a line such as this in /etc/gai.conf:
1 |
precedence ::ffff:198.145.11.105/128 100 |
That will set the preference for host 198.145.11.105 to IPv4.
See gai.conf(5) for details.
How to install the latest node.js on Ubuntu
How to install the latest node.js on Ubuntu?
1 2 3 4 5 |
sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get remove nodejs nodejs-dev npm sudo apt-get install nodejs |
Converting multiple images into one PDF on Linux
SMB and BackupPC on Ubuntu 12.04
Smbclient which works with BackupPC on Ubuntu 12.04:
Linux IPv6 Router: RADVD + DHCPv6
Unlike IPv4, which uses DHCP for configuration, IPv6 uses the Neighbor Discovery Protocol to configure addresses and gateways. Unfortunately, originally the protocol had no means of providing addresses of DNS servers to clients, making it necessary to use DHCPv6 for that purpose. Modern Linux and Mac OS X machines are able to use the IPv6 Router Advertisement Options for DNS Configuration (RFC 6106), but to my knowledge, Windows clients are not able at the moment. Here’s how to configure a Linux router using radvd and the ISC DHCP daemon. Continue reading Linux IPv6 Router: RADVD + DHCPv6