Here is two ways to stop connection drops.
modify /etc/ssh/sshd_config file.
add following:
ClientAliveInterval 30
ClientAliveCountMax 5
and restart sshd:
/etc/init.d/ssh restart
OR
modify /etc/ssh/ssh_config
ServerAliveInterval 15
ServerAliveCountMax 3
July 26, 2010
July 13, 2010
colorful ls
I was looking for a way to distinguish files and folders. It is set to non-colorful in gnome konsole I'm using.
And I find out a more generic way to overwrite a command's behavior.
Here is how to make your ls colorful:
alias 'ls=ls --color=auto'
And I find out a more generic way to overwrite a command's behavior.
Here is how to make your ls colorful:
alias 'ls=ls --color=auto'
July 06, 2010
Can't enable wireless on Linux
I keep getting error, saying "wireless disabled" on my Dell XPS 1330 laptop.
Then I realized it is hardware disabled...
#rfkill list
>> 3: phy0: Wireless LAN
>> Soft blocked: no
>> Hard blocked: yes
Way to solve this problem is
#sudo rmmod dell_laptop
--enabling it back:
#sudo modprobe dell_laptop
Then I realized it is hardware disabled...
#rfkill list
>> 3: phy0: Wireless LAN
>> Soft blocked: no
>> Hard blocked: yes
Way to solve this problem is
#sudo rmmod dell_laptop
--enabling it back:
#sudo modprobe dell_laptop
how to change command line editor
here is how to change command line editor in Linux.
set -o vi
set -o emacs
click for more detailed guidance on shell options.
set -o vi
set -o emacs
click for more detailed guidance on shell options.
Subscribe to:
Posts (Atom)