Pages

Tuesday, December 25, 2018

Setting up networking on any linux machine from scratch


Setting up networking on any linux machine from scratch

Main Issue:
At times when you install a new linux machine, you are not aware what is the logical name of the network adapter.

Solution:
#to know the logical name of the network interface
sudo lshw -C network

You are trying to install something like Openssh-server, it says not available in repository
Solution:
#to ensure all packages are updated such as ifconfig
sudo apt-get update

At times ifconfig is not present
Solution:
#to install ifconfig
apt install net-tools

Replace below eth0 with the network name that is shown from the following command: "sudo lshw -C network"
# The primary network interface
auto eth0
iface eth0 inet static
    address 10.0.0.41
    netmask 255.255.255.0
    network 10.0.0.0
    broadcast 10.0.0.255
    gateway 10.0.0.1
    dns-nameservers 10.0.0.1 8.8.8.8
    dns-domain acme.com
    dns-search acme.com

1 comment:

  1. Setting Up Networking On Any Linux Machine From Scratch ~ Information Security Blog >>>>> Download Now

    >>>>> Download Full

    Setting Up Networking On Any Linux Machine From Scratch ~ Information Security Blog >>>>> Download LINK

    >>>>> Download Now

    Setting Up Networking On Any Linux Machine From Scratch ~ Information Security Blog >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete