recentpopularlog in

ezequiel : example   1194

« earlier  
shell - How can I find the path to a script being sourced in dash? - Stack Overflow
Q: I am trying to have a sourced shell script determine its own location, and I have found that this is a difficult task for dash.

In bash, sh, and csh, I can use: $_.

In fish, I can use (status -f).

In dash, I have had no luck... [...]
2015  forumthread  stackexchange  scripting  shell  dash  bash  posix  unix  tips  example  issue  workaround 
3 days ago by ezequiel
How to Install Adobe Acrobat Reader on Ubuntu 18.04 Bionic Beaver Linux -
The objective is to install Adobe Acrobat Reader on Ubuntu 18.04 Bionic Beaver Linux.

Please note that Adobe no longer supports Acrobat Reader for Linux. The latest native Linux version is 9.5.5 dated from 26/04/2013. From this reason you should refrain using/installing Adobe Acrobat Reader if possible to avoid potential vulnerabilities and hacker exploits.
adobe  reader  fileformats  software  linux  debian  ubuntu  ubuntu.bionic  mint  howto  installation  tips  example  sysadmin  cli  blogpost  2018  x86  amd64 
3 days ago by ezequiel
systemd - ArchWiki
systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, maintains mount and automount points, and implements an elaborate transactional dependency-based service control logic. systemd supports SysV and LSB init scripts and works as a replacement for sysvinit. Other parts include a logging daemon, utilities to control basic system configuration like the hostname, date, locale, maintain a list of logged-in users and running containers and virtual machines, system accounts, runtime directories and settings, and daemons to manage simple network configuration, network time synchronization, log forwarding, and name resolution.
systemd  wikientry  tips  sysadmin  linux  arch  booting  configuration  example  reference  links 
3 days ago by ezequiel
xubuntu - Why does light-locker keep the screen black after unlock? - Ask Ubuntu
Q: A Xubuntu 16.04 fully patched machine with a freshly created user wont let me unlock after using light-locker to lock my screen (regardless if lock was activated manually or via timeout). The screen remains black (but powered) on correct password entry

Killing light-locker from tty1 will reveal the desktop then (and consequently prevents further locking). [...]

A: TL;DR: light-locker keeps the screen black if systemd cannot read /proc

* light-locker depends on dbus providing IPC.
* dbus depends on systemd-logind providing session information.
* systemd-logind depends on /proc providing process information. [...]
2017  forumthread  stackexchange  internals  desktop  xfce  xubuntu  issue  workaround  tips  example  cli  sysadmin  security  hardwaresupport  systemd  dbus  ui 
4 days ago by ezequiel
xfce - Xubuntu: black screen after lock screen (light-locker, lightdm, logind, xfce4-power-manager) - Ask Ubuntu
Q: [...] The problem is that when my laptop goes into lock screen (or maybe suspend but I always disable that in power management options so it shouldn't), then it is quite common that I am not able to login back to it. Screen stays black after opening lid and pressing a button. [...]

A: The issue is due to lightlocker and XFCE no longer playing well.

I was able to fix this issue by upgrading to XFCE 4.14 from the Xubuntu staging PPA, removing light-locker and installing xfce4-screensaver. Please note I did this from a clean install of 18.04.3, so you might need to restore any changed settings.

sudo add-apt-repository ppa:xubuntu-dev/staging
sudo apt update
sudo apt upgrade
sudo apt remove light-locker
sudo apt install xfce4-screensaver
xfce  desktop  issue  workaround  packages  cli  sysadmin  debian  ubuntu  mint  security  forumthread  stackexchange  2019  ui  tips  example 
4 days ago by ezequiel
Git - Environment Variables
Git always runs inside a bash shell, and uses a number of shell environment variables to determine how it behaves. Occasionally, it comes in handy to know what these are, and how they can be used to make Git behave the way you want it to. This isn’t an exhaustive list of all the environment variables Git pays attention to, but we’ll cover the most useful.
environment  git  configuration  example  unix  linux  bash  shell  documentation  online  reference  ebook 
4 days ago by ezequiel
Can't compile dahdi anymore Kernel 5.0.3-200.fc29.x86_64 - Asterisk Hardware - Asterisk Community
Q: I can’t compile dahdi anymore after today upgrade to fedora Kernel 5.0.3-200.fc29.x86_64.
CC [M] /usr/src/phones/dahdi-linux-master/drivers/dahdi/oct612x/oct612x-user.o
/usr/src/phones/dahdi-linux-master/drivers/dahdi/oct612x/oct612x-user.c: In function ‘Oct6100UserGetTime’:
/usr/src/phones/dahdi-linux-master/drivers/dahdi/oct612x/oct612x-user.c:38:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
linux  kernel  compatibility  patches  releaserelated  ndiswrapper  2019  forumthread  example 
4 days ago by ezequiel
OpenWrt Project: Wi-Fi /etc/config/wireless
The wireless radio UCI configuration is located in /etc/config/wireless.
If the device has ethernet ports, the wireless is turned OFF by default. You can turn it on in /etc/config/wireless by changing option disabled '1' to option disabled '0' (commenting out the line or removing it is sufficient).
openwrt  documentation  wifi  configuration  sysadmin  example  unix  linux  networking  tips  reference  hardwaresupport  security 
4 days ago by ezequiel
ssh - How to prevent ecryptfs from umounting home if tmux is still running? - Ask Ubuntu
Q: [...] So is there a way to prevent ecryptfs from umounting my home if there is still a (detached) tmux session running?
I know that i could just disable the encryption, but i would rather like to keep it and solve the problem someway else.
2013  forumthread  stackexchange  linux  ecryptfs  issue  workaround  tips  cli  scripting  sysadmin  filesystem  security  example 
10 days ago by ezequiel
How to use wget with ssl certificate - Stack Overflow
Q: I am using wget in my program to get some file using HTTP protocol. Here i need to set security so we moved HTTP protocol to HTTPS.

After changing to HTTPS how to perform wget. I mean how to make trusted connection between two machines then perform wget.

I want to make sure that wget can be performed from certain system only.
2014  tool  cli  example  security  tls  ssl  tips  forumthread  stackexchange  unix  linux  macosx 
13 days ago by ezequiel
#870126 - ecryptfs-mount-private: mount: No such file or directory - Debian Bug report logs
Q: I have setup the standard home ~/Private directory. It looks like it is confused about which key to use.

For the last few months or so, I get this (key IDs changed but consistent in report):

$ ecryptfs-mount-private


A: [...]

1. The problem is the user keyring not being linked
to the session keyring. keyctl link @u @s is a much easier workaround. [...]
2017  issue  workaround  ecryptfs  encryption  forumthread  cli  example  configuration  pam  filesystem  debian  ubuntu  security  tips 
15 days ago by ezequiel
encryption - SSH remote user need to be logged in? - Ask Ubuntu
Q: I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc.

When I restart the server (really just Ubuntu 12.04 desktop) and I ssh to it without first logging in on the server, I am asked for a password. If, however, I log into the server, I can ssh without being asked for a password. [...]

A: The problem usually arises if your home directory is encrypted. The usual solution is to put your keys in a directory other than your home directory, and point your sshd_config file to it.

For example:

1. Move your authorized_keys file on the server from /home/buck/.ssh/authorized_keys to something like /etc/ssh/keys/buck/authorized_keys [...]
2012  forumthread  stackexchange  ecryptfs  encryption  ubuntu  debian  security  sysadmin  filesystem  issue  workaround  tips  example  configuration  ssh  remote 
15 days ago by ezequiel
encryption - Will changing password re-encrypt my home directory? - Ask Ubuntu
Q: I need to change my user password. Do I need to take any extra steps for my encrypted home directory to become inaccessible with my old password and only accessible with my new password?

A: There is no need to re-encrypt your home directory, and no further steps need to be taken.

Your home directory is not directly encrypted with your password. Instead, the passphrase used to encrypt the home directory is itself encrypted with your password.

When you change your password, the home directory passphrase is re-encrypted with your new password, so you should have continued access to your files with the new password. [...]
2011  forumthread  stackexchange  ecryptfs  encryption  ubuntu  debian  ubuntu.lucid  security  cli  sysadmin  filesystem  issue  workaround  tips  example 
15 days ago by ezequiel
How items are structured | Internet Archive Blogs
An item is a logical “thing” that we present on one web page on An item may be one video file along with scans of the DVD cover, one book, one audio file, or a set of audio files that represent a CD , etc.

How do you know whether your files should be in one item or separate items? You get one metadata file per item. If the same metadata describes ALL of the files (like a CD), then that’s one item. If the files are too different to have the same metadata (title, creator, description, etc.), they should be in different items.
blogpost  2011  article  cli  tool  internet  archived.version  documentation  reference  example  downloads  tips  backup 
15 days ago by ezequiel
linux mint - mount: No such file or directory with encrypted recovery - Unix & Linux Stack Exchange
Q: [...] Nothing I’ve tried seems to work and I don’t have the original mounting seed. I’ve also tried sudo ecryptfs-recover-private but my system then just says No such file or directory:

frankenmint@honeybadger /home $ sudo ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/home/.ecryptfs/frankenmint/.Private].
Try to recover this directory? [Y/n]: y
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n] y
INFO: Enter your LOGIN passphrase...
Inserted auth tok with sig [979c6cdf80d2e44d] into the user session keyring
mount: No such file or directory
ERROR: Failed to mount private data at [/tmp/ecryptfs.Hy3BV96c].


A: I found that running sudo bash and then running ecryptfs-recover-private as root (rather than via sudo) worked. Not sure why it should be any different.


# ecryptfs-unwrap-passphrase /mnt/crypt/.ecryptfs/user/.ecryptfs/wrapped- passphrase - | ecryptfs-add-passphrase --fnek -
< Type your login password here >
Inserted auth tok with sig [aaaaaaaaaaaaaaaa] into the user session keyring
Inserted auth tok with sig [bbbbbbbbbbbbbbbb] into the user session keyring

You will not see a prompt and must type your login password, blind, into the above command. [...]
2016  forumthread  stackexchange  cli  sysadmin  encryption  filesystem  ubuntu  debian  mint  tips  issue  workaround  example  guide  linux  security  mount  ubuntu.xenial  ubuntu.trusty  ubuntu.bionic  ecryptfs 
16 days ago by ezequiel
windows - How to make "git branch" respect the "core.ignorecase" flag on Linux? - Stack Overflow
Q: [...] How to make “git branch” respect the “core.ignorecase” flag on Linux? [...]

A: [...] You can't, because the flag doesn't do what you think it does. [...]
2011  forumthread  stackexchange  git  cli  configuration  tips  example  issue  filesystem  windows  linux  unix  workaround 
18 days ago by ezequiel
Power management/Suspend and hibernate - ArchWiki
Currently there are three methods of suspending available: suspend to RAM (usually called just suspend), suspend to disk (usually known as hibernate), and hybrid suspend (sometimes aptly called suspend to both): [...]
powermanagement  arch  linux  sysadmin  configuration  kernelmodule  kernel  booting  udev  example  tips  laptop  systemd  tools  acpi  workaround  issue  webcam  cpu  wifi  harddisk  networking  links  wikientry 
21 days ago by ezequiel
Power management - ArchWiki
Power management is a feature that turns off the power or switches system's components to a low-power state when inactive.

In Arch Linux, power management consists of two main parts:

* Configuration of the Linux kernel, which interacts with the hardware.
* Kernel parameters
* Kernel modules
* udev rules

* Configuration of userspace tools, which interact with the kernel and react to its events. Many userspace tools also allow to modify kernel configuration in a "user-friendly" way. See #Userspace tools for the options.
powermanagement  arch  linux  sysadmin  configuration  kernelmodule  kernel  booting  udev  example  tips  laptop  systemd  tools  acpi  workaround  issue  webcam  audio  pulseaudio  cpu  bluetooth  wifi  harddisk  networking  cd  dvd  links  wikientry 
21 days ago by ezequiel
Suspend - Debian Wiki
This page gathers bits of information about getting software suspend to work in Debian. Because the core system components change rapidly among Debian versions, software suspend works differently on different versions of Debians. This page is divided according to Debian versions from new to old.

For more reading material, see also the links at the bottom of this page about hibernate and suspend.
debian  wikientry  documentation  links  reference  guide  tips  example  sysadmin  powermanagement  configuration  arch  gentoo  gnome  suse  debug  linux  acpi  laptop  security 
21 days ago by ezequiel
[SOLVED] Hibernate, 15.10, 16.04, Unity, systemd, tlp, wifi module reload, tuxonice
I thought I should share this in case anyone else has the similar problem and wants to know how to solve it. With the new systemd configuration, the Unity menu's "hibernate" option does not call on pm-hibernate. It instead uses the hibernate and sleep service of logind / systemd. I'm using a tuxonice kernel, and the tlp power management setup on a thinkpad w520, running Ubuntu 16.04 (devel). I think this article is still relevant even if you don't have tlp or tuxonice, since it's systemd that changes how suspend and hibernate work.

When this laptop suspends or hibernates, sometimes the wifi stops working when it wakes back up. The solution is to unload the wifi device driver module prior to sleep, and then reload it upon resume, the way the "hibernate" script does, and "pm-hibernate" also did.
2016  forumthread  sysadmin  linux  powermanagement  script  scripts  example  kernelmodule  systemd  tips  cli  configuration  ubuntu  ubuntu.xenial  wifi 
21 days ago by ezequiel
Ubuntu 16.04 systemd unload modules on sleep
(me: simple script to force unloading and loading Linux kernel modules on suspend/resume, using 'systemd-sleep(8)' "local scripts 'hack'")
ubuntu  ubuntu.xenial  github  script  systemd  powermanagement  kernelmodule  issue  workaround  linux  example  sysadmin  laptop  links 
21 days ago by ezequiel
internet - Netgear N-300/ WNA3100 USB Adapter for Ubuntu 16.04 - Ask Ubuntu
Q: I am new to Linux and Ubuntu and I am having trouble connecting to the Internet.

I have a netgear WNA3100 USB Adapter and I don't have anything in my additional drivers.

A: You can add Support for the Netgear N-300/ WNA3100 USB Adapter by installing the ndiswrapper and loading the Windows network driver. [...]

(me: ndiswrapper fails to build when using kernel-headers >= 5.0 (on i686), then (even if patched) the 32-bit WinXP driver from NetGear does not work: ndiswrapper causes an "oops" because of the "nx" cpu protection bit; then, after disabling this (see another link saved today), ndiswrapper gives yet another error. Result (so far): failed).
ndiswrapper  issue  howto  guide  tips  example  cli  sysadmin  networking  wifi  2016  ubuntu  configuration  usb  driver  drivers  windows  links  linux  kernelmodule  forumthread  stackexchange 
23 days ago by ezequiel
Ubuntu - Fix for Slow Wireless Internet Connection Speed after upgrading to 11.04 Natty Narwhal - HitXP
Recently Ubuntu came out with its newest version 11.04 code named Natty Narwhal, and after upgrading my earlier 10.10 version Maverick to this new Version of Ubuntu, I faced my first real issue with Ubuntu in so many years – My USB Wireless Internet Connection speed had almost come to a standstill like a slow dial up connection after upgrading Ubuntu to 11.04! The connection was n times weaker than Windows based systems running on same wireless connection. Many a times it even simply dropped Internet connections. [...]
ubuntu.natty  ubuntu  configuration  sysadmin  networking  wifi  usb  performance  powermanagement  dns  tips  issue  workaround  example  cli  scripting  linux  blogpost  2011 
23 days ago by ezequiel
linux - How to turn off Wireless power management permanently - Unix & Linux Stack Exchange
Q: In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.

sudo iwconfig wlan0 power off works, until I reboot the laptop.

Also, if I randomly check iwconfig, sometimes it's on, despite I did run this command. [...]

A #1: Open this file with your favorite text editor, I use nano here:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

By default there is:

wifi.powersave = 3

Change the value to 2. Reboot for the change to take effect. [...]
2016  forumthread  stackexchange  linux  ubuntu  mint  debian  networking  software  configuration  sysadmin  powermanagement  usb  issue  workaround  cli  links  documentation  tips  example  wifi 
23 days ago by ezequiel
exploit - How to disable NX on Linux - Super User
Q: I'm learning stack buffer overflow exploitation, and I later posted question Shellcode segmentation fault. about that executing shellcode from test program, or when injected to vulnerable program, causes segmentation violation. Now I found out that it might be caused by NX. When I search for this in dmesg I found this line:

[ 0.000000] NX (Execute Disable) protection: active
2018  forumthread  stackexchange  kernel  booting  security  grub  configuration  sysadmin  howto  x86  amd64  example  tips  links  linux  exploit  cpu  bios 
23 days ago by ezequiel
Installing EFL on Ubuntu
This tutorial describes several ways to install EFL on your system. You will only need to use one of these. Select your chosen method using the index on the right.
enlightenment  libraries  library  windowmanager  install  installation  links  downloads  source  debian  ubuntu  ubuntu.bionic  ubuntu.xenial  ubuntu.trusty  ubuntu.precise  linux  packages  howto  guide  example  cli  sysadmin  x11  wayland  ppa  build 
24 days ago by ezequiel
Tp smapi - ThinkWiki
The tp_smapi kernel module exposes some features of the ThinkPad hardware/firmware via a sysfs interface. Currently, the main implemented functionality is control of battery charging and extended battery status. The tp_smapi software package also includes an improved version of the HDAPS driver. The underlying hardware interfaces are SMAPI and direct access to the embedded controller.
battery  laptop  wikientry  kernelmodule  installation  gentoo  debian  ubuntu  mint  issue  workaround  tips  example  configuration  hardwaresupport  compatibility 
27 days ago by ezequiel
TLP - ArchWiki
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfill your specific requirements.
arch  linux  kernelmodule  laptop  hardwaresupport  software  wikientry  powermanagement  tool  sysadmin  bios  installation  battery  filesystem  tips  example  configuration 
27 days ago by ezequiel
en:users:documentation:hostapd [Linux Wireless]
hostapd is an IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator. This page is dedicated to the Linux documentation of its implementation and use. Please refer to the hostapd home page for information for other Operating Systems.

To communicate with a kernel driver, hostapd has to use some interface. All new cfg80211 (and mac80211) based drivers that implement AP functionality are supported using the nl80211 interface.
wifi  linux  kernel  kernelmodule  documentation  links  atheros  development  networking  wikientry  reference  example  cli  tools  tool  sysadmin  configuration  tips  guide  security 
27 days ago by ezequiel
Hostapd - Gentoo Wiki
Hostapd (Host access point daemon) is a user space software access point capable of turning normal network interface cards into access points and authentication servers. The current version supports Linux (Host AP, madwifi, mac80211-based drivers) and FreeBSD (net80211).
wifi  router  networking  example  configuration  gentoo  wikientry  security  sysadmin  links  linux  compatibility  reference 
27 days ago by ezequiel TLP – Linux Advanced Power Management
TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

TLP packages are available for Arch, Debian, Fedora, Gentoo, openSUSE, Ubuntu and further. You're welcome if you want to package TLP for other distributions. Please take a look at the developer documentation.
battery  powermanagement  sysadmin  linux  documentation  reference  tips  example  tool  cli  performance  laptop  hardwaresupport  guide  faq  workaround  source  links  reviews  software  arch  debian  fedora  gentoo  suse  ubuntu  installation  packages 
28 days ago by ezequiel
hamishcoleman/thinkpad-ec: Infrastructure for examining and patching Thinkpad embedded controller firmware
The main purpose of this software is to patch the EC on xx30 series thinkpads to make the classic 7-row keyboards work. There are also patches included (but disabled by default) to disable the authentic battery validation check.

With the patches included here, you can install the classic keyboard hardware on many xx30 series laptops and make almost every key work properly. The only keys that are not working are Fn+F3 (Battery) and Fn+F12 (Hibernate)

Unfortunately, there are a small number of thinkpads with a model number from the "xx30" series that are using a completely different EC CPU and a different BIOS update strategy. Thus they are not currently able to be patched. This is known to be the case for at least the L430, L530 and E330.
hardwaresupport  laptop  keyboard  battery  github  freesoftware  license.gplv2  bios  firmware  security  patches  tool  cli  linux  example  tips  links  howto  documentation  source  2019 
28 days ago by ezequiel
How to configure KODI to run in windowed mode from command line? - Ask Ubuntu
Q: I am running Kodi via XServer from 2-monitor remote conputer. When Kodi starts, it occupies entire 2 monitor are and absolutely useless.

It has a config to run in windowed mode, but how to activate it from command line? [...]
2016  forumthread  stackexchange  issue  configuration  cli  example  tips  gui  hardwaresupport  windows  linux  xorg  x11  xbmc 
29 days ago by ezequiel
tp-smapi - ThinkWiki
The tp_smapi kernel module exposes some features of the ThinkPad hardware/firmware via a sysfs interface. Currently, the main implemented functionality is control of battery charging and extended battery status. The tp_smapi software package also includes an improved version of the HDAPS driver. The underlying hardware interfaces are SMAPI and direct access to the embedded controller.

This driver uses undocumented features and direct hardware access, so it may work unreliably or even damage your hardware; but so far no such damage has been reported.

If you are installing on a recent Thinkpad that has an Ivy Bridge or newer processor (X230, T430, T530, etc.), tp_smapi will not work. You will be mostly limited to thinkpad-acpi capabilities. You can however set battery charge thresholds with tpacpi-bat.
laptop  hardwaresupport  kernelmodule  api  documentation  reference  tips  example  sysadmin  configuration  howto  info  resources  install  installation  gentoo  debian  ubuntu  suse  scripts  links  battery  tool  tools  wikientry  linux 
29 days ago by ezequiel
Personal API Keys · jdf76/ Wiki · GitHub
This page outlines how to create your own set of API keys for use with the YouTube add-on.
google  api  security  youtube  xbmc  extension  configuration  howto  guide  screenshots  wikientry  links  example  tips  sysadmin  github 
4 weeks ago by ezequiel
[Tutorial] Show RPI's Temperature with a command. - Raspberry Pi Forums
A #1: [...] So i decided to make a quick Tutorial on how to show the Raspberry PI's Temperature.
Note: this is using the on-board sensor.

The command to do this is:

$ /opt/vc/bin/vcgencmd measure_temp


A #2: An alternative is to read /sys/class/thermal/thermal_zone0/temp on a recent Raspdian. Divide it by 1000 for degrees C.

$ cat /sys/class/thermal/thermal_zone0/temp
2013  raspberrypi  cli  tool  tips  example  forumthread  hardwaresupport  linux  links 
4 weeks ago by ezequiel
vcgencmd - Raspberry Pi Documentation
vcgencmd is a command line utility that can get various pieces of information from the VideoCore GPU on the Raspberry Pi. Much of the information available is only of use to Raspberry Pi engineers, but there are a number of very useful options available to end users that will be described here.
cli  tool  raspberrypi  hardwaresupport  gpu  linux  debian  sysadmin  documentation  reference  example 
4 weeks ago by ezequiel
apt - How do I find the reverse dependency of a package? - Ask Ubuntu
Q: I was wondering if it was possible to check what package another package is a dependency of. [...]

A: You can use apt-cache rdepends --installed jetty to see what depends on jetty. [...]
2010  2019  apt  packagemanager  cli  tool  example  sysadmin  forumthread  stackexchange  links  linux  debian  ubuntu  mint 
4 weeks ago by ezequiel
The GPIO utility | Wiring Pi
WiringPi comes with a separate program to help manage the on-board GPIO interface as well as additional modules such as the PiFace and other devices like the Gertboard as well as generic GPIO expander type devices.
raspberrypi  development  electronics  hardwaresupport  manpage  documentation  raspbian  linux  example  cli  tool  sysadmin 
4 weeks ago by ezequiel
FAQ · tmux/tmux Wiki · GitHub
PLEASE NOTE: most display problems are due to incorrect TERM! Before
reporting problems make SURE that TERM settings are correct inside and
outside tmux.
tmux  faq  tips  example  configuration  terminal  issue  textui  curses  linux  unix  wikientry  github 
4 weeks ago by ezequiel
Using proxy · ValdikSS/aceproxy Wiki
So you have installed AceProxy, what's next?

AceProxy can work with torrents, acelive files and Ace Stream CIDs (40-digit ID).

AceProxy supports plugins. Currently, there are plugins for and All plugins are stored in plugins folder.
acestream  proxy  configuration  example  tips  wikientry  documentation  cli  github 
5 weeks ago by ezequiel
HDMI Configuration - Raspberry Pi Documentation
In the vast majority of cases, simply plugging your HDMI-equipped monitor into the Raspberry Pi using a standard HDMI cable will automatically lead to the Pi using the best resolution the monitor supports. The Raspberry Pi Zero uses a mini HDMI port, so you will need a mini-HDMI-to-full-size-HDMI lead or adapter. On the Raspberry Pi 4 there are two micro HDMI ports, so you will need either one or two micro-HDMI-to-full-size-HDMI leads or adapters, depending on how many displays you wish to attach. You should connect any HDMI leads before turning on the Raspberry Pi.
raspberrypi  hardware  hardwaresupport  configuration  sysadmin  booting  linux  raspbian  documentation  example  links  tips 
5 weeks ago by ezequiel
less - Colors in Man Pages - Unix & Linux Stack Exchange
Q: When I look at a man page in my 'console' (not an xterm) I see some coloration, but I don't get this in my xterm's (e.g. konsole) is there any way I can enable this? hopefully a fairly simple solution? [...]

A: I do the following so that less and man (which uses less) will have color: [...]
xterm  terminal  colour  configuration  howto  tips  example  forumthread  stackexchange  2010  linux  unix  manpage 
5 weeks ago by ezequiel
How to View Colored Man Pages in Linux
[...] By default, the man program normally uses a terminal pager program such as more or less to format its output, and the default view is normally in white color for every kind of text (bold, underlined etc..).

You can make some tweaks to your ~/.bashrc file to get nicely colored man pages by specifying a color scheme using various LESS_TERMCAP variables. [...]
tutorial  howto  configuration  terminal  colour  linux  unix  manpage  blogpost  2017  environment  example  tips 
5 weeks ago by ezequiel
Build your own Command Line with ANSI escape codes
Everyone is used to programs printing out output in a terminal that scrolls as new text appears, but that's not all your can do: your program can color your text, move the cursor up, down, left or right, or clear portions of the screen if you are going to re-print them later. This is what lets programs like Git implement its dynamic progress indicators, and Vim or Bash implement their editors that let you modify already-displayed text without scrolling the terminal.
2016  terminal  shell  cli  configuration  blogpost  tips  example  unix  linux  macosx  colour  screenshots 
5 weeks ago by ezequiel
How to configure ufw to forward port 80/443 to internal server hosted on LAN - nixCraft
I am using UFW to protect my network. How do I forward TCP HTTP port # 80 and 443 to an internal server hosted at and using UFW on Ubuntu Linux server?

UFW is an acronym for uncomplicated firewall. It is used for managing a Linux firewall and aims to provide an easy to use interface for the user. In this tutorial, you will learn how to forward incoming traffic to your server running ufw on port 80/443 to port 80/443 on another internal server hosted in your LAN/VLAN.
2017  iptables  ubuntu  firewall  networking  configuration  sysadmin  linux  cli  example  tips  blogpost 
5 weeks ago by ezequiel
How to do local port forwarding with iptables - Stack Overflow
Q: I have an application (server) listening on port 8080. I want to be able to forward port 80 to it, such that hitting http://localhost resolves my application (on localhost:8080).

This should be generalized for any port mapping (e.g. 80:8080 => P_src:P_target), and use best practices for modern *nix machines (e.g. Ubuntu).

N.B. This is all done locally, so there is no need to accept connections from anyone but localhost.
2015  forumthread  iptables  linux  firewall  cli  howto  tips  stackexchange  sysadmin  example  configuration  networking 
5 weeks ago by ezequiel
port forwarding - iptables redirect outside requests to - Unix & Linux Stack Exchange
The iptables rule you are using will work, but there is one additional change you need to make:

sysctl -w net.ipv4.conf.eth0.route_localnet=1
2014  2018  forumthread  iptables  linux  firewall  networking  configuration  sysadmin  cli  howto  tips  example  stackexchange 
5 weeks ago by ezequiel
Docker-compose.yml and custom script after entrypoint (before command) · Issue #205 · docker-library/wordpress
Q: I have fairly simple need, and have been struggling with this many hours now. I want to run some script after entrypoint, and before command. I've tried running it as a command but no luck. [...]
2017  configuration  docker  tool  tips  issue  workaround  github  example  howto 
5 weeks ago by ezequiel
Execute a command after run · Issue #1809 · docker/compose · GitHub
Q: It will be very helpful to have something like "onrun" in the YAML to be able to run commands after the run. Similar to moby/moby#8860 [...]
2015  github  issue  workaround  scripting  example  cli  configuration  docker  tips  sysadmin  automation  forumthread  tool 
5 weeks ago by ezequiel
I've Bricked My Netgear DG834G v3 - Please Help - OpenWrt Forum Archive
Q: I am hoping someone here more wise then me can help me unbrick my Netgear DG834G v3 Router.

Here are some details I have pulled from the router before I bricked it. [...]
forumthread  2009  router  hacking  firmware  links  issue  workaround  jtag  cli  example  linux  hardware  electronics 
5 weeks ago by ezequiel
OpenWrt Project: Extroot configuration
This guide describes how to configure OpenWrt to use a storage device (usb or sata or sdcard or whatever) to expand your root filesystem, to install freely all the packages you need.
openwrt  router  guide  sysadmin  configuration  embedded  howto  cli  example  tips  documentation  tools  packages  linux 
5 weeks ago by ezequiel
OpenWrt Project: Quick Start for Adding a USB drive
Many useful OpenWrt utilities and packages rely on external storage to hold data files. This guide describes how to add a single USB stick or drive to your OpenWrt device.
usb  storage  howto  guide  example  tips  cli  sysadmin  documentation  openwrt  router  linux  packages  configuration 
5 weeks ago by ezequiel
OpenWrt Project: Upgrading OpenWrt firmware via LuCI and CLI
An OpenWrt upgrade will replace the entire current OpenWrt installation with a new version. This includes the Linux kernel, the SquashFS partition and the JFFS2 partition.

The common upgrade paths below will automatically preserve much of the OpenWrt OS configuration by saving and then restoring configuration files in specific common locations (including /etc/config). This will preserve things like OpenWrt network settings, WiFi settings, the device hostname, and so on.
firmware  upgrade  howto  guide  tips  links  openwrt  cli  example  sysadmin  networking  hardwaresupport  embedded  router  webapp  linux  documentation 
5 weeks ago by ezequiel
OpenWrt Project: Serial Console
Most people get along without a serial console for their device because they're able to flash a working firmware the first time - or are able to apply various recovery methods - and do all their communicating with the device over a network. However, some bootloaders don't have a “really failsafe” network re-flash feature, making a serial console one of the few ways to recover from a “bad flash” or an error in a user's own configuration.
openwrt  serialport  router  tips  info  resources  howto  guide  links  electronics  example  cli  linux  hardwaresupport 
5 weeks ago by ezequiel
How to access docker container from another machine on local network - Open Source Projects / Docker Toolbox - Docker Forums
If I read the docs right all you need to do is this:

$ docker run --network=host …

host network should piggy back on the host computers connection rather than just machine that the container is running on.
docker  sysadmin  configuration  networking  cli  howto  tips  example  forumthread  2016  linux  links 
5 weeks ago by ezequiel
Four ways to connect a docker container to a local network · The Odd Bit
Update (2018-03-22) Since I wrote this document back in 2014, Docker has developed the macvlan network driver. That gives you a supported mechanism for direct connectivity to a local layer 2 network. I've written an article about working with the macvlan driver.
fedora  linux  docker  sysadmin  cli  tool  example  tips  networking  firewall  configuration  howto  blogpost  2018 
5 weeks ago by ezequiel
BusyBox - The Swiss Army Knife of Embedded Linux
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.
busybox  shell  documentation  cli  tool  tools  sysadmin  reference  manpage  online  linux  embedded  configuration  example  networking  kernel  kernelmodule  vi 
5 weeks ago by ezequiel
apt - Find (and reinstall) packages with corrupted files (without breaking anything) - Ask Ubuntu
Q: [...] Such a such situation may occur if you have to work-around dependency problems with dpkg --force-*. One could also reproduce such a situation by deleting a file from /usr as root.

Is there a simple way to verify whether all files belonging to an installed package are present?

If a such a problem package is found, aptitude reinstall fixes the problem.
2011  2014  forumthread  stackexchange  ubuntu  debian  tools  packagemanager  cli  example  tips  linux  configuration  apt 
5 weeks ago by ezequiel
unix - Bash script to receive and repass quoted parameters - Stack Overflow
Q: I'm trying to get quoted parameters of a bash script to safely be received by a nested script. Any ideas? [...]
2009  2015  shell  bash  posix  links  tips  example  forumthread  stackexchange  unix  scripting 
6 weeks ago by ezequiel
Understand Linux Load Averages and Monitor Performance of Linux
In this article, we will explain one of the critical Linux system administration tasks – performance monitoring in regards to system/CPU load and load averages.
performance  tool  tools  linux  kernel  benchmark  tips  info  example  cli  software  tutorial  cpu  2017  article 
6 weeks ago by ezequiel
Setting up wireless roaming using 802.11r fast transition on OpenWRT · morph027
Ages ago, i was setting up 802.11r the complicated way using all the r0kh and r1kh lists across all access points, which worked well but was a little pita to setup.

After creating a little helper, i just discovered that recent OpenWRT builds can cope with the option ft_psk_generate_local to dynamically create the RADIUS keys and stuff. Even with Luci support, just enable 802.11r Fast Transition and Generate PMK locally, set a Mobility Domain (same across all AP’s per SSID) and a NAS ID (unique, i’d still prefer the BSSID w/o the colons) and it works out of the box.
openwrt  wifi  configuration  security  example  tips  linux  router  networking  sysadmin  cli  links  2019  blogpost 
6 weeks ago by ezequiel
debian - Cannot update APT list: "repository no longer has a Release file" - Unix & Linux Stack Exchange
Q: I cannot run apt-get update as I encounter the following error:

# apt-get update
Hit:1 testing InRelease
Ign:2 testing/updates InRelease
Err:3 testing/updates Release
404 Not Found [IP: 80]
Reading package lists... Done
E: The repository ' testing/updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Repository ' testing InRelease' changed its 'Codename' value from 'buster' to 'bullseye'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
2019  forumthread  stackexchange  apt  packagemanager  security  sysadmin  cli  example  tips  debian  ubuntu  mint  repository 
6 weeks ago by ezequiel
[Solved] Wireguard - Help with Firewall Rules - Installing and Using OpenWrt - OpenWrt Forum
Q: I have managed to get a split tunnel wireguard vpn working on my road warrior android devices, but I am not sure if I did it properly.

In my current setup, I created a wireguard zone, and added the following rules: [...]
2019  forumthread  iptables  openwrt  configuration  sysadmin  networking  firewall  example  images  tips  wireguard  vpn 
6 weeks ago by ezequiel
Finally got 802.11r roaming working : openwrt
[edit] Since people still find this post for advice, I'll quickly add a few notes.

Configuration has been vastly simplified with a recent OpenWRT release. Basically all you need is the following:

option mobility_domain 'e612' #same for all APs
option ieee80211r '1'
option ft_psk_generate_local '1'
option nasid 'xxxxxxxx' # different for all APs, AFAIK it will automatically derived from the MAC Address if omitted.

All this is availably via LuCI, go to "Wireless Security", enable "802.11r Fast Transition", enable "Generate PMK locally", that should be it. Unfortunately I lack the time and hardware to really test this. [...]
openwrt  wifi  configuration  article  forumthread  reddit  security  example  tips  linux  router  networking  sysadmin  cli  links  2016 
6 weeks ago by ezequiel
Add an addition persistent route on eth0 - Raspberry Pi Forums
Q: [...] I have tried adding a route command to dhcpcd.conf in a section called interface eth0 but as that interface is assigned dynamically I don't think it is read.

I would be happy to find a simple command line solution as I can script it to run when I want.
2018  raspberrypi  raspbian  dhcp  configuration  networking  sysadmin  howto  tips  links  forumthread  cli  example 
6 weeks ago by ezequiel
dhcpcd - ArchWiki
dhcpcd is a DHCP and DHCPv6 client. It is currently the most feature-rich open source DHCP client, see the home page for the full list of features.
dhcp  wikientry  arch  linux  configuration  issue  workaround  sysadmin  networking  cli  example  tips  links 
6 weeks ago by ezequiel
WireGuard - ArchWiki
WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it plans to be cross-platform and widely deployable.
networking  wireguard  configuration  example  cli  howto  sysadmin  linux  vpn  security  tools  links  wikientry  guide  arch  tips  serverapp  router 
6 weeks ago by ezequiel
Wireguard - Debian Wiki
Wireguard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It can be a useful replacement for IPSec or OpenVPN.
networking  debian  ubuntu  mint  wireguard  configuration  example  cli  howto  sysadmin  linux  vpn  security  tools  links  wikientry  guide 
6 weeks ago by ezequiel
WireGuard in NetworkManager – Thomas Haller's Blog
NetworkManager 1.16 got native support for WireGuard VPN tunnels (NEWS). WireGuard is a novel VPN tunnel protocol and implementation that spawned a lot of interest. Here I will not explain how WireGuard itself works. You can find very good documentation and introduction at
networking  debian  gnome  ubuntu  mint  2019  blogpost  wireguard  configuration  example  cli  howto  sysadmin  linux  vpn  security  tools  guide 
6 weeks ago by ezequiel
« earlier      
per page:    204080120160

Copy this bookmark:

to read