(source: https://ubuntuforums.org/showthread.php?t=2382108, solution provided by clapac) 1. Create a new udev rule file: cd /etc/udev/rules.d/ sudo vim 100-iphone-usbmuxd.rules ( * the file name is formed by PRIORITY-whatever.rules, you can use 99-mynewrules.rules, for example) 2. Insert the following lines into the created rules file: ENV{DEVTYPE}==”usb_device”, ACTION==”add”, SUBSYSTEM==”usb”, ATTR{idVendor}==”05ac”, ATTR{idProduct}==”129[0-9abcef]”, RUN+=”/usr/sbin/usbmuxd -u -U usbmux”ENV{DEVTYPE}==”usb_device”, ACTION==”add”, SUBSYSTEM==”usb”, ATTR{idVendor}==”05ac”, […]
Linux administration
Pages related to maintaining your linux box, managing devices and users, installing, upgrading and keeping it secure.
Firefox ignores Thunar as default File Manager
Symptom: – Your default File Manager is e.g. Thunar but Firefox uses Nautilus when saving files which is driving you bananas. Solution (for XFCE): 1. Firstly make sure that your default Applilcation for that particular mime type (in this case it is the ‘inode/directory’ mime type) is actually setup properly. Open the “Preferred Applications” applet […]
Setting up drupal 7 with MariaDB on Fedora
1. Edit file /etc/my.cnf.d/mariadb-server.cnf and add these 3 lines to the [mysqld] section: innodb_large_prefix=true innodb_file_format=barracuda innodb_file_per_table=true This will enable usage of Multi-byte (in particular – 4-byte) UTF-8 support in Drupal 7. 2. mysqli: If you have problems with mysqli/mysql change the mysqli to mysql (or vice versa – whatever works for you) in /sites/default/settings.php. Alternatively […]
How to see my DNS server IP on Linux
Old way: Examine list of DNS servers in /etc/resolv.conf: $ cat /etc/resolv.conf – – – New way: May not work on newer Linuxes since resolving may be setup via (not only DNS, but also) various other services: DDNS, LDAP, Avahi, Bonjour, ZeroConf and God knows what else. So… To check up your DNS server, better […]
Setting up multi web site developer testbeds/sandboxes on localhost
Scenario —————————————————————— You are maintaining several web-sites (site1.com, site2.org, etc…). Having just one web-site at localhost with all files (DocumentRoot) at /var/www/html is not an option for you. You need to be able to test all of them and to access them in a convenient way. Solution Setup apache with Virtual Hosts, give your sites […]
Installing a python package dependency…
DON’T: yum install python-somePackage .. or apt-get install python-somePackage DO: pip-python install somePackage
Installing a certificate in Linux/Firefox using a smart card reader
You will need the following installed and started: libccid opensc pcsc-tools – can do without this but it has nice troubleshooting tools in case you get stuck pcscd – this is a daemon, make sure your distro enables it after installation. It must be running in order for the libccid to be able to communicate […]
grub2 make Windows the default boot option
1. Examine /boot/grub/grub.cfg to find out the boot order of your multiboot system or just remember the order of your boot options as they appear during boot.l Count which one is windows (counting is 0-based, i.e. the default boot option is 0, next one is 1, etc). 2. Edit /etc/default/grub. You need to be logged […]
How to recover your localhost mysql / phpMyAdmin root password
Recovering your phpMyAdmin/mysql lost root login password How do you reset your mysqld and phpAdminPassword? First we need to change the mysql root password (or set to empty if we want to allow a passwordless login). After that we will setup phpMyAdmin to use thisĀ mysql login. 1. On newer Linuxes, e.g. Ubuntu 16.04 LTS […]
Linux CD/DVD Burning sofvtware
An excellent page describing good linux software for burning CDs/DVDs, creating images, etc: http://www.techdrivein.com/2011/03/9-good-cd-and-dvd-burning-tools-for.html Xfburn – XFCE for Linux K3B – KDE Burning Tool GnomeBaker – GNOME Burning Tool …