How to change the computer name?
1. Open and edit /etc/hosts
[IP] name
2. open and edit: /etc/sysconfig/network,
in debian should be: /etc/hostname
HOSTNAME="name"
3. Execute:
hostname name
4. Restart and check with the following command:
uname -a
Share your internet connection
1. Execute
modprobe iptable_nat iptables -t nat -A POSTROUTING -s 192.168.0.5/24 -o eth0 -j MASQUERADE
2. Execute
echo 1 > /proc/sys/net/ipv4/ip_forward
