recentpopularlog in

ezequiel : cli   679

« earlier  
How to Install Adobe Acrobat Reader on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org
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
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
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 
11 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 
14 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 - 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 Archive.org items are structured | Internet Archive Blogs
An item is a logical “thing” that we present on one web page on archive.org. 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
Command-Line Interface — Internet Archive item APIs 1.9.1.dev5 documentation
The ia command-line tool is installed with internetarchive, or available as a binary. ia allows you to interact with various archive.org services from the command-line.
internet  archived.version  api  tool  documentation  reference  online  downloads  cli  unix  linux  windows  macosx  python.pip 
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...
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.

Edit:
TL;DR:

# 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 
19 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
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:

[connection]
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
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
Tpacpi-bat - ThinkWiki
tpacpi-bat is a script using acpi_call kernel module which allows one to set battery charge thresholds on new ThinkPad models not supported by tp_smapi.
laptop  hardwaresupport  tool  cli  links  arch  gentoo  ubuntu  mint  ppa  software  wikientry  battery 
27 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.
hardwaresupport  laptop  wikientry  documentation  kernelmodule  compatibility  battery  bios  linux  api  installation  tips  cli  sysadmin  reference 
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
linrunner.de: 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
Tpacpi-bat - ThinkWiki
tpacpi-bat is a script using acpi_call kernel module which allows one to set battery charge thresholds on new ThinkPad models not supported by tp_smapi.
laptop  battery  tool  cli  hardwaresupport  oldversion  wikientry  links  ubuntu  mint  arch  gentoo  linux  software  ppa  repository  packages 
28 days ago by ezequiel
teleshoes/tpacpi-bat: ThinkPad ACPI Battery Util
Exposes ACPI interface for battery controls.

* force discharge
* inhibit charge
* start charge threshold
* stop charge threshold

This project is licensed under the GPLv3. See COPYING for details.
battery  tool  cli  linux  sysadmin  hardwaresupport  laptop  github  freesoftware  license.gplv3  performance 
28 days ago by ezequiel
neatsoft/rpi-edid-lock: Raspberry Pi EDID locker
This utility creates the edid.dat file and changes config.txt to fix Raspberry Pi hdmi configuration issues.

usage: rpi-edid-lock.sh [-l|-u]
-l - lock
-u - unlock
raspberrypi  hardwaresupport  tool  cli  booting  configuration  sysadmin  compatibility  issue  workaround  github  linux 
28 days ago by ezequiel
Get the best out of you battery on linux : linux
[...] I noticed that battery life in Linux (Linux Mint 19.1 Cinnamon in my case) is WAY worse than in windows 10, I use my laptop more often to watch TV shows and movies and to browse the internet.

I have a small battery in my laptop, The battery when I'm using mint can't make it over 2 hours of light usage, while in windows 10 with same light usage the battery can make it over 4-4.5 hours. [...]
forumthread  reddit  powermanagement  optimisation  linux  ubuntu  software  tips  sysadmin  configuration  links  howto  guide  tool  tools  cli  wifi  networking  usb  laptop  battery  cpu  memory  2018  hardwaresupport  mint  desktop 
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 
29 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
13.04 - Touchpad stopped working out of the blue - Ask Ubuntu
Q: So, I'm watching "The Walking Dead" and all of the sudden I lose control of my mouse through the touchpad. At first it was just for my user. I could reboot my system and switch to another user and use it just fine. [...]

$ sudo modprobe -r psmouse && sudo modprobe psmouse proto=imps

After this command, I regained control of my mouse but the computer didn't recognize it as a touchpad. I thought if I rebooted again, it may do the trick. So after I rebooted, the mouse went completely kaput. I cannot get the mouse to work at all now even though I've tried the command several times. I've tried different users and it's still the same.

A: 1. [...] synclient Touchpadoff=0 [...]
A: 2. [...] sudo apt-get install --reinstall xserver-xorg-input-synaptics [...]
A: [...]
synaptics  hardwaresupport  ubuntu  2013  forumthread  stackexchange  cli  tool  linux  debian  mint  issue  workaround  xorg 
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
wiringPi updated to 2.52 for the Raspberry Pi 4B | Wiring Pi
Just a quick post to let you know that you’ll need a new wiringPi for the Raspberry Pi 4B.

To upgrade:

cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

Check with:

gpio -v

and make sure it’s version 2.52. I’ll push the updated sources shortly.

It will hopefully be part of the official release soon, but for now this will do.
2019  blogpost  raspberrypi  hardwaresupport  compatibility  packages  sysadmin  debianpkg  software  cli  raspbian  links  download 
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
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 torrent-tv.ru and torrent-telik.com. All plugins are stored in plugins folder.
acestream  proxy  configuration  example  tips  wikientry  documentation  cli  github 
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 192.168.1.100:80 and 192.168.1.100:443 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 127.0.0.1 - 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
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: Netgear DG834G v4
[...] Also note that the Wifi chip for this router is the Broadcom BCM4318 chip and not the atheros. [...]
hardware  hardwaresupport  resources  info  links  cli  tool  linux  sysadmin  cpu  openwrt  router  atheros  installation  upgrade  howto  serialport  jtag 
5 weeks ago by ezequiel
Netgear DG834G v3 [Old OpenWrt Wiki]
The Netgear DG834G v3 is an AR7-based ADSL router with 802.11g wireless and ADSL2+ support. It has a 4-port switch, and the wireless antenna is connected to an RP-SMA connector at the rear.

Its appearance is identical to the DG834 v2.
hardware  hardwaresupport  resources  info  links  cli  tool  linux  sysadmin  cpu  openwrt  router  serialport  installation  howto 
5 weeks ago by ezequiel
OpenWrt Project: Installing OpenWrt
The installation of OpenWrt is device specific. These device specific procedures should be found in the wiki. See Table of Hardware for available procedures. If your device is not listed, information in this Howto may be helpful.
openwrt  install  installation  howto  guide  links  embedded  router  cli  sysadmin  documentation 
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
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 http://ftp.br.debian.org/debian testing InRelease
Ign:2 http://security.debian.org/debian-security testing/updates InRelease
Err:3 http://security.debian.org/debian-security testing/updates Release
404 Not Found [IP: 151.101.92.204 80]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security 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 'http://ftp.br.debian.org/debian 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
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 wireguard.com.
networking  debian  gnome  ubuntu  mint  2019  blogpost  wireguard  configuration  example  cli  howto  sysadmin  linux  vpn  security  tools  guide 
6 weeks ago by ezequiel
OpenWrt Project: IPsec Basics
A quick starters guide based on OpenWrt Barrier Breaker 14.07. Maybe it will save you and me time if one has to setup an IPsec VPN in the future. Hopefully it will encourage other people to use Openwrt as an IPsec VPN router. We cannot provide a graphical user interface at the moment but at least it is a solid alternative to commercial IPsec appliances.
info  openwrt  router  vpn  security  ipsec  links  example  configuration  tips  sysadmin  cli 
6 weeks ago by ezequiel
OpenWrt Project: SQM (aka Smart Queue Management)
OpenWrt/LEDE has pre-built packages for controlling Bufferbloat - the undesirable latency that arises when the router buffers too much data. OpenWrt calls this SQM, although it's also called active queue management - AQM.
qos  router  openwrt  howto  guide  documentation  sysadmin  configuration  tools  software  cli  example  performance  links 
6 weeks ago by ezequiel
OpenWrt Project: Dumb AP / Access Point Only
This document describes how to create an Access Point (AP) that extends a network that already has a router, access control, and DHCP in place. People can connect over wireless or Ethernet to the new AP and then to the existing network. In this configuration, the AP is not routing packets, it does not provide DHCP or other functions. The result is a bridged LAN (no internal subnets) that will work fine for home and small networks.
openwrt  wifi  howto  networking  sysadmin  configuration  example  cli  router  guide  documentation  tips 
6 weeks ago by ezequiel
OpenWrt Project: Failsafe Mode, Factory Reset, and Recovery Mode
OpenWrt offers several ways to “start over” with your router.

* Failsafe Mode is useful if you have lost control of your device, and it has become inaccessible, perhaps through a configuration error. It allows you to reboot the router into a basic operating state, retaining all your packages and (most) settings. (see Failsafe Mode)
* Factory Reset erases all your packages and settings, returning the router to its initial state after installing OpenWrt. (see Factory Reset)
* Recovery Mode allows you to install new firmware on a router that has become corrupted. (see Recovery Mode)
openwrt  router  backup  howto  guide  hacking  booting  sysadmin  hardwaresupport  firmware  cli  example  ssh 
6 weeks ago by ezequiel
OpenWrt Project: Configure a guest WLAN
Guest WLAN provides internet access to your network members. It also provides firewall security rules to isolate your guest network from the rest. This recipe contains information provided by our forums members and one blogger as shown below: [...]
tutorial  guide  sysadmin  configuration  openwrt  wifi  router  howto  screenshots  tips  example  firewall  networking  security  links  cli  tools 
7 weeks ago by ezequiel
FEL - linux-sunxi.org
FEL is a low-level subroutine contained in the BootROM on Allwinner devices. It is used for initial programming and recovery of devices using USB.

Sticky-note-pin.png Your device therefore needs to be attached to a host (your PC) by means of a USB cable, connected to a port where the sunxi device will present itself as a USB 'slave' (i.e. in device mode). Usually that means the "OTG" connector.[1]
allwinner.a80  allwinner  booting  hacking  hardware  hardwaresupport  usb  debug  cpu  protocol  links  wikientry  example  cli  rom  rokumagic.mk80 
7 weeks ago by ezequiel
Sunxi-tools - linux-sunxi.org
Tools for working with Allwinner (sunxi) ARM processors
allwinner.a80  allwinner  tool  tools  wikientry  howto  tips  guide  example  cli  hardwaresupport  rom  debug  spec  arm  linux  debian  fedora  ubuntu  mint 
7 weeks ago by ezequiel
InstallingDebianOn/Allwinner - Debian Wiki
Support for boards using the Allwinner "sunxi" (sun4i, sun5i, sun6i, sun7i, sun8i) family of processors, e.g. A10, A13, A31/A31s, A20, A23/A33, etc.
debian  hardwaresupport  install  installation  cli  example  howto  guide  sysadmin  hacking  links  tips  wikientry  linux 
7 weeks ago by ezequiel
How to use the Team CoreELEC ceemmc tool - Guides & How-tos - CoreELEC Forums
This tool ceemmc can be used for a safe installation of CoreELEC to internal eMMC storage.
Users have the choice to install CoreELEC on their eMMC in dual or single boot mode.

The boot device priority is:

SD
USB
eMMC

If the system fails on booting from the internal eMMC then the device can still be booted by inserting an SD card or USB flash drive with CoreELEC.
coreelec  memory  usb  booting  howto  guide  sysadmin  hacking  install  installation  hardwaresupport  linux  cli  example 
7 weeks ago by ezequiel
OpenWrt Project: TP-Link TL-WA901ND
The TL-WA901ND is a lowcost b/g/n wireless access point, capable of running OpenWrt.
tp-link  hardware  spec  hardwaresupport  openwrt  router  links  networking  wifi  guide  firmware  atheros  downloads  cli  example  sysadmin  hacking  install  installation 
7 weeks ago by ezequiel
OpenWrt Project: Netgear R8000
Status:
* First supported in 15.05 release
* 15.05 could fail to boot on device with NAND bad blocks (fixed for 15.05.1 release and in trunk)
* Second data partition (79 MiB) not available in OpenWrt
* For a proper performance use:
* radio0 for the higher 5 GHz band (channel 149 or something else, depending on country)
* radio2 for the lower 5 GHz band (channel 48, or something like that and lower)
netgear  router  openwrt  hardwaresupport  howto  install  installation  cli  example  tips  sysadmin  build  firmware  downloads  links  resources  guide  article  info  issue  workaround 
7 weeks ago by ezequiel
MarkCloudWalker/gcp-enable-ssh: Enable cloud shell gcloud ssh and SSH in browser features to function in secure environments
The firewall rule allowing SSH access is enabled, but is not configured to allow connections from GCP Console services. Source IP addresses for browser-based SSH sessions are dynamically allocated by GCP Console and can vary from session to session. For the feature to work, you must allow connections either from any IP address or from Google's IP address range which you can retrieve using public SPF records.
github  opensource  google.cloud  script  software  cli  sysadmin  firewall  cloudcomputing  linux  ssh  remote 
8 weeks ago by ezequiel
« earlier      
per page:    204080120160

Copy this bookmark:





to read