steps to compile wpa_supplicant ubuntu 16


wpa_supplicant is IEEE 802.1X/WPA component that is used in the client,  Step by Step wpa_suplicant 2.6 compile in Ubuntu 16.4, How to compile wpa_supplicant 2.6 in Ubuntu, wpa_supplicant, wpa_supplicant2.6, wireless, WiFi, wireless networking
Q . Step by Step wpa_suplicant 2.6 compile in Ubuntu 16.4


Q. How to compile wpa_supplicant 2.6 in Ubuntu 

wpa_supplicant is IEEE 802.1X/WPA component that is used in the client stations. It is a cross-platform supplicant with support for WPA2 , WPA and WEP  (IEEE 802.11i / RSN (Robust Secure Network)). It is work on desktops, laptops and embedded systems. wpa_supplicant is the.

OS - Ubuntu 16.4 Xenial

lsb_release -a

01wpa_lsb.png

Step 1

Install Requirement Packages

apt install libssl-dev build-essential checkinstall  pkg-config

01wpa_req.png

apt install dbus libdbus-1-dev libdbus-glib-1-2 libdbus-glib-1-dev libreadline-dev libncurses5-dev

01wpa_req2.png

apt install libnl-genl-3-dev libnl-3-dev

01wpa_reg2.png

Step 2 

Download wap_supplicant source package & Extract

cd /tmp

https://w1.fi/wpa_supplicant

OR

wget https://w1.fi/releases/wpa_supplicant-2.6.tar.gz wpa_supplicant2.6.tar.gz
01wpa_down.png


Extract  wpa_supplicant2.6.tar.gz

tar xvf  wpa_supplicant2.6.tar.gz

Step 3

Create a build configuration file that should work for standard WiFi setups by running the following command.

cd wpa_supplicant2.6

cat > wpa_supplicant/.config << "EOF"
CONFIG_BACKEND=file
CONFIG_CTRL_IFACE=y
CONFIG_DEBUG_FILE=y
CONFIG_DEBUG_SYSLOG=y
CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_WIRED=y
CONFIG_EAP_GTC=y
CONFIG_EAP_LEAP=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_OTP=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
CONFIG_EAP_TTLS=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_IPV6=y
CONFIG_LIBNL32=y
CONFIG_PEERKEY=y
CONFIG_PKCS12=y
CONFIG_READLINE=y
CONFIG_SMARTCARD=y
CONFIG_WPS=y
CFLAGS += -I/usr/include/libnl3
EOF

wpa_supplicant is IEEE 802.1X/WPA component that is used in the client,  Step by Step wpa_suplicant 2.6 compile in Ubuntu 16.4, How to compile wpa_supplicant 2.6 in Ubuntu, wpa_supplicant, wpa_supplicant2.6, wireless, WiFi, wireless networking

If you use WPA Supplicant with NetworkManager 1.8.0, add the following options to the WPA Supplicant build configuration 

cat >> wpa_supplicant/.config << "EOF"
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
EOF

01wpa_conf2.png

Step 4

Compile & create package

cd wpa_supplicant

make

01_wpa_compile.png

Install Wpa_supplicant & create wpa_supplicant 2.6 package

checkinstall

wpa_supplicant is IEEE 802.1X/WPA component that is used in the client,  Step by Step wpa_suplicant 2.6 compile in Ubuntu 16.4, How to compile wpa_supplicant 2.6 in Ubuntu, wpa_supplicant, wpa_supplicant2.6, wireless, WiFi, wireless networking

Press Enter  

01wpa_check2.png

Step 5

Package created check on same directory 

ls wpa-supplicant*

01wpa_package.png


Step 6

Check wpa_supplicant version
wpa_supplicant -v

wpa_supplicant is IEEE 802.1X/WPA component that is used in the client,  Step by Step wpa_suplicant 2.6 compile in Ubuntu 16.4, How to compile wpa_supplicant 2.6 in Ubuntu, wpa_supplicant, wpa_supplicant2.6, wireless, WiFi, wireless networking

step by step Clonezilla LIVE Boot Using ISO


Clonezilla LIVE Boot Using ISO - CentOS 7
Clonezilla LIVE Boot Using ISO, Grub entry for boot Clonezilla ISO, clonezilla live boot, clonezilla boot from iso, LiveCD, live boot, backup restore, recovery, grub-reboot, grub2-reboot, Grub2, ISOBoot, Unattended boot, auto recovery disk, live os, grub, efi, boot loader, unetbootin, dd

Step 1:

Download Ubuntu From "http://clonezilla.org/downloads.php"

   http://iij.dl.osdn.jp/clonezilla/67927/clonezilla-live-20170626-zesty-amd64.iso

Download: ubuntu 16.4

mkdir /live
cd /live
wget http://iij.dl.osdn.jp/clonezilla/67927/clonezilla-live-20170626-zesty-amd64.iso

Clonezilla LIVE Boot Using ISO, Grub entry for boot Clonezilla ISO, clonezilla live boot, clonezilla boot from iso, LiveCD, live boot, backup restore, recovery, grub-reboot, grub2-reboot, Grub2, ISOBoot, Unattended boot, auto recovery disk, live os, grub, efi, boot loader, unetbootin, dd

mv clonezilla-live-20170626-zesty-amd64.iso /boot/clonezilla.iso

Step 2:

Add Menuentry on grub.cfg

Loopback Explantion :

The loopback line must reflect the actual location of the ISO file. In the example, the ISO file is stored in the / directory

X is the drive number, starting with 0;
Y is the partition number, starting with 1
menuentry 'clonezilla' {
set isofile="/live/clonezilla.iso"
loopback loop (hd0,2)$isofile
     linux (loop)/live/vmlinuz boot=live config nolocales edd=on nomodeset noprompt ocs_live_extra_param="" keyboard-layouts="NONE" ocs_live_batch="no" locales="en_US.UTF-8" net.ifnames=0 vga=788 ip=frommedia toram=filesystem.squashfs union=overlay nosplash findiso="$isofile"
        initrd (loop)/live/initrd.img
}
sda5 would be designated as (hd0,5); disk 1 partition no 5
sdb1 would be (hd1,1); disk 2 partition no 1

Other Location Examples:

(hd0,5) /boot/$isofile , Located in the system's normal /boot partition on sda5

(hd0,6)/$isofile : Located in a separate boot partition on sda6

(hd0,7)/username/Downloads/$isofile  : Located in a separate home partition on sda7

(hd1,2)/iso/$isofile :  Located in the /iso folder of the sdb2 / partition

df -f

liveubunut.png

Here is ISO file path is /live on /sda2 , disk 1 & partatin no 2
  
vi /boot/grub2/grub.cfg

### BEGIN /etc/grub.d/10_linux ###

………..
………..
………..
………..


### Grub Entry for boot ISO
   

menuentry 'clonezilla' {
   set isofile="/live/clonezilla.iso"
   loopback loop (hd0,2)$isofile
   linux (loop)/live/vmlinuz boot=live config nolocales edd=on nomodeset noprompt ocs_live_extra_param="" keyboard-layouts="NONE" ocs_live_batch="no" locales="en_US.UTF-8" net.ifnames=0 vga=788 ip=frommedia toram=filesystem.squashfs union=overlay nosplash findiso="$isofile"
   initrd (loop)/live/initrd.img
}

### END /etc/grub.d/10_linux ###

clonezilla-grub.png

Step 3:

Run command and install

grub-reboot clonezilla

reboot

Enjoy & Now your Live Clonezilla ISO will Boot  




Steps to Ubuntu Desktop 17.4 LIVE Boot Using ISO in CentOS 7


Ubuntu Desktop 16.4 LIVE Boot Using ISO - CentOS 7


Step 1:

Download Ubuntu From "http://releases.ubuntu.com"

  

 U14 - http://releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-amd64.iso

   U16 - http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso    

   U17 - http://releases.ubuntu.com/17.04/ubuntu-17.04-desktop-amd64.iso

Download: ubuntu 16.4

   mkdir /live
  
   cd /live
   
   wget http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso

live-downoad.png

   mv ubuntu-16.04.3-desktop-amd64.iso /boot/ubuntu17.iso

Step 2:

Add Menuentry on grub.cfg

Loopback Explantion :

The loopback line must reflect the actual location of the ISO file. In the example, the ISO file is stored in the / directory

X is the drive number, starting with 0;
Y is the partition number, starting with 1

sda5 would be designated as (hd0,5); disk 1 partition no 5
sdb1 would be (hd1,1); disk 2 partition no 1

Other Location Examples:

(hd0,5) /boot/$isofile , Located in the system's normal /boot partition on sda5

(hd0,6)/$isofile : Located in a separate boot partition on sda6

(hd0,7)/username/Downloads/$isofile  : Located in a separate home partition on sda7

(hd1,2)/iso/$isofile :  Located in the /iso folder of the sdb2 / partition

df -f

liveubunut.png

Here is ISO file path is /live on /sda2 , disk 1 & partatin no 2
  
vi /boot/grub2/grub.cfg

### BEGIN /etc/grub.d/10_linux ###

………..
………..
………..
………..


### Grub Entry for boot ISO
   

menuentry "Ubuntu16" {            # Define Menu
set isofile="/live/ubuntu.iso"        # Image ISO Path
loopback loop (hd0,2)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
}

### END /etc/grub.d/10_linux ###
live-ubuntu-grub.png


Step 3:

Run command and install

grub-reboot Ubuntu17

reboot

Enjoy & Now your Live Ubuntu 17.4  ISO will Boot