kousik samanta's Library tagged → View Popular
Change your MAC address in Linux | Tips4Linux.com
-
If you wish to change your MAC address in Linux, all you have to do is bring the interface down then use the hw ether switch:
ifconfig eth0 down
ifconfig eth0 hw ether 02:01:02:03:04:08
ifconfig eth0 up
hostname completion with zsh - nion's blog
"I think this is old but I am blogging it anyway, haven't seen it often in zsh rc files.
local knownhosts
knownhosts=( ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} )
zstyle ':completion:*:(ssh|scp|sftp):*' hosts $knownhosts
Enables host completion for ssh, scp and sftp based on what you have in your known_hosts.
Don't forget to set HashKnownHosts no in ~/.ssh/config "
Resetting a Forgotten Root Password - How to reset the root password and how to prevent someone else from doing it. - Softpedia
-
Resetting a Forgotten Root Password
setting a static IP in Kubuntu 8.10.... - LinuxQuestions.org
-
Your interfaces file needs the auto line, which should bring it up at boot time:Please edit it and save the changes.
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
broadcast 192.168.1.255
address 192.168.1.6
netmask 255.255.255.0
gateway 192.168.1.1
Your /etc/resolv.conf file should read like this:Because that is the LAN IP of your router which should route DNS requests to your ISP's DNS server, and relay the result back.
Code:
nameserver 192.168.1.1
This (nameserver in resolv.conf) is usually set for you automatically if you are using DHCP, but you have to set it manually if you prefer a static LAN IP.
Then do a
Code:
sudo /etc/init.d/networking restart
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in linux
-
Linux for novice
my study on linux as a novice
Items: 32 | Visits: 119
Created by: swan lin
-
troubleshooting
Items: 23 | Visits: 126
Created by: Kenyth Zeng
-
linux
Items: 92 | Visits: 141
Created by: Djiezes Kraaijst
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
