Typical Problems

Changing Locale Issue

Check your Locale settings

epics@workstation:/$ locale -a

Remove the # from every line which you want to generate.

epics@workstation:/$ sudo nano /etc/locale.gen

For example en_US.UTF-8 UTF-8.
save the file, then run:

epics@workstation:/$ sudo /usr/sbin/locale-gen

Alternative

pi@RevPi127xx:~ $ any-command
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LC_TERMINAL = "iTerm2",
LC_TERMINAL_VERSION = "3.3.2",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
adduser: Only root may add a user or group to the system.

in /etc/ssh/sshd_config disable accept env

# Allow client to pass locale environment variables
#AcceptEnv LANG LC_*

restart sshd

USB stick mount

It's about "mount" a USB stick automatically, so that you can access it via the directory system. For this we install the software "usbmount", which was developed especially for the "automatic assembly" of USB sticks.

sudo apt-get install usbmount ntfs-3g

Now you can find your USB stick in the directory /media/usb. Unfortunately, as a normal user you cannot write to the USB sticks. Please change the following file.

sudo nano /etc/usbmount/usbmount.conf

Here you search for the following option:

FS_MOUNTOPTIONS=""

and changes it to

FS_MOUNTOPTIONS="-fstype=ntfs-3g,nls=utf8,umask=007,gid=46 -fstype=fuseblk,nls=utf8,umask=007,gid=46 -fstype=vfat,gid=1000,uid=1000,umask=007"

Then restart the system.

Page last modified on August 30, 2019, at 10:09 AM
Powered by PmWiki