How to display Distribution Specific Information in Ubuntu?

How to display Distribution Specific Information in Ubuntu?

Here in this blog Linux commands which displays all the information about your operating system(Ubuntu) is shown.The commands are uname & lsb_release.
uname prints the system information like:  kernel name, network node hostname, kernel-version, machine, operating system etc.
While connamd lsb_release prints the distribution specific information. Well you can see the version of distribution during the first boot but this commands has all the information regarding distribution like distributor's id, release number and codename of the recently installed distribution.

To display all information about your system type:
uname -a or uname -all
And your output is like this:
Linux oracle 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02 UTC 2015 i686 i686 i686 GNU/Linux

 To display the distribution specific information type:

lsb_release -all
This will display distribution specific information like this:
Distributor ID:    Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:    trusty
 

To display specific information about your system use following parameters with command uname:

-s, --kernel-name
        print the kernel name

-n, --nodename
       print the network node hostname

-r, --kernel-release
        print the kernel release

-v, --kernel-version
        print the kernel version

-m, --machine
       print the machine hardware name

-p, --processor
        print the processor type or "unknown"

-i, --hardware-platform
        print the hardware platform or "unknown"

-o, --operating-system
        print the operating system

--help
       display this help and exit

--version
        output version information and exit

To display distribution specific information about your system use following parameters with command lsb_release:

-v, --version
       Show version of LSB against which your current installation is compliant.  Version is expressed as colon separated list of LSB module descriptions.
-i, --id
        Display the distributor's ID.
 
-d, --description
        Display a description of the currently installed distribution.

-r, --release
         Display the release number of the currently installed distribution.

-c, --codename
         Display the code name of the currently installed distribution.

-a, --all
        Display all of the above information.

Troubleshoot Network Manager, Apache, Wireless...

Today's Blog is all about networking stuffs and I will be covering following points:
  1. Know your Network Controller Device with lspci
  2. Display all interfaces which are currently available, even if down with ifconfig
  3. Enable the service networking 
  4. Enable Apache server
  5. Then Enable Network Manager with network-manager
  6. Then  Enable your WiFi with nmcli nm

AND REMEMBER ALL THESE THINGS WILL BE DONE WITH OUR TERMINAL THIS IS WHY LINUX IS SO COOL...


Then we are all set to run the internet.And now we are some basic troubleshooter about networking, though networking is a huge this would be the first step. Not actually first first step in networking is always theory The Basics of Networking, but we are not dealing with it today. So lets begin

1. In order to know  the hardware devices assembled in your laptop open your TERMINAL CTRL+ALT+T and then type lspci .
This displays all the hardware devices  like PCI BRIDGE, SATA controller, SMBus, USB Controller, Audio Device assembled in your laptop / computer. 



My Network controller is:
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

2. So now we need to know the interfaces that are available in our UBUNTU.  To see this type ifconfig in the terminal and you will see the output like this :

3. To access the internet first your hardware device should be activated, In order to do so type 
sudo service networking  and press tab twice which displays  arguments like:
 force-reload       reload        restart       start         stop
Perform any you need.

4.  To enable apache server in terminal type:

      sudo service apache2 start

5.  Now enable the network manager. In order to do so in terminal type:
    
     sudo service network-manager start 

6. Now First view the available connecting points Wireless point or Ethernet. To view the available wifi points in terminal type
    
     sudo nmcli con list



This displays the available devices With its UID and SSID.
Now to enable the wifi in terminal type:

      Sudo nmcli con up SSID or the UID

You can manipulate these basic networking commands and  triubleshoot on your own.