Pages

Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, March 10, 2018

Change hostname on Linux Mint

Change hostname on Linux 


To see current hostname settings, type 

hostnamectl

Change hostname using hostnamectl command 

hostnamectl set-hostname <newhostname>

hostnamectl set-hostname homelab1





Another method is to replace old hostname with new hostname in files /etc/hostname and /etc/hosts then reboot the machine.

sudo nano /etc/hostname
sudo nano /etc/hosts
sudo reboot


Reference:
Manpage hostnamectl

Sunday, October 12, 2014

Installing TFTP server atftpd in Linux

I need a TFTP server to keep configurations files. I need the server to be simple to setup and be able to send or receive any file without any restrictions. It would be for a lab environment so a strict security is not necessary. I'm using Linux Mint.
In Linux I could find three different TFTP servers: 
Already tried tftpd see my other post Installing TFTP server in Linux. A minor problem is that you cannot transfer a file to the TFTP server.

Installing atftpd
sudo apt-get install atftpd

Sunday, January 5, 2014

VirtualBox in GNS3 under Linux part2

Continuing the previous post  VirtualBox in GNS3 under Linux part1, I will show below the steps on how to make GNS3 work with Virtualbox using emulated VirtualBox host-only adapters. 

STEP 1 : Install VirtualBox and VMs
Install VirtualBox (current version is 4.3.6) and your favorite Virtual Machines.

Saturday, September 28, 2013

How to find motherboard model in Linux


There are many ways, using command line in LINUX, to see the motherboard model of the computer. 
You can use lshw or dmidecode. Read more on cli syntax from man commands.