Categorie

Archivio Articoli

Categorie

Commenti recenti

[Linux] bash completion does not work properly

Linux

 

 

 

 

 

 

Purge bash completion:

# apt-get purge bash-completion

Delete (or move somewhere) this directory:

# mv /etc/bash_completion.d /somewhere

In files (if they exist):

~/.bashrc
/etc/bash_completion
/etc/bash.bashrc
/etc/profile

Comment lines like:

...
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then

Then reinstall bash-completion:

# apt-get install bash-completion

Try if it works, if not remove comment from ~/.bashrc on lines:

...
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
# if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
#     . /etc/bash_completion
# fi

RaspberryPi: enabling ssh in Headless Rpi

rpi

 

 

 

 

 

 

 

To enable ssh in a fresh installation of raspbian:

  • mount the SD system partion in a Linux PC
  • rename
$ /etc/rc2.d/ssh/K@@ssh

to

$ /etc/rc2.d/ssh/S@@ssh

(@@ is a number)

to start ssh al level 2

Recovering a bricked Netgear DG834Gv3 under Linux

Linux

 

 

 

 

Recovering a bricked Netgear DG834Gv3 under Linux

www.jamesarbrown.com » Recovering a bricked Netgear DG834Gv3 under Linux.