Difference between revisions of "WiFi Hotspot"

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search
(Created page with "== Summary == Easy WiFi traffic capture with wireshark running on Wifi hotspot from an ordinary WiFi interface of a notebook. == Requirements == * Operating system: Ubuntu...")
 
 
Line 6: Line 6:


* Operating system: Ubuntu 16.04 bionic amd64 with  LXDE desktop environment
* Operating system: Ubuntu 16.04 bionic amd64 with  LXDE desktop environment
* Further required: network-manager and wireshark
* Further required: network-manager and wireshark


== Description ==
== Description ==
Line 18: Line 18:
Enter a name for your WiFi network and select for now Wi-Fi security: None
Enter a name for your WiFi network and select for now Wi-Fi security: None


Connection: New
* Connection: New
Network name: <Yournetworkname>
* Network name: <Yournetworkname>
Wi-Fi security: None
* Wi-Fi security: None


Confirm with Create.
Confirm with Create.
Line 36: Line 36:
You can also manipulate the connection configuration by CLI  
You can also manipulate the connection configuration by CLI  


sudo nano /etc/NetworkManager/system-connections/<Yournetworkname>
    sudo nano /etc/NetworkManager/system-connections/<Yournetworkname>


and restart the network-manager  
and restart the network-manager


sudo service network-manager restart
    sudo service network-manager restart
=== Step 5===
=== Step 5===
Line 46: Line 46:
Check your WiFi interface with
Check your WiFi interface with


iwconfig
    iwconfig


Connect the device you  are examining to the new Hotspot and capture the traffic with wireshark on this WiFi interface.
Connect the device you  are examining to the new Hotspot and capture the traffic with wireshark on this WiFi interface.
Line 56: Line 56:


== References ==
== References ==
https://www.wireshark.org/
* https://www.wireshark.org/
https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections
* https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections (command line)
* http://ubuntuhandbook.org/index.php/2016/04/create-wifi-hotspot-ubuntu-16-04-android-supported/ (for gnome desktop environment)


[[Category:Documentation]]
[[Category:Documentation]]

Latest revision as of 17:43, 19 March 2019

Summary

Easy WiFi traffic capture with wireshark running on Wifi hotspot from an ordinary WiFi interface of a notebook.

Requirements

  • Operating system: Ubuntu 16.04 bionic amd64 with LXDE desktop environment
  • Further required: network-manager and wireshark

Description

Step 1

Open the context menu of the network-manager and choose 'Create New Wi-Fi Network...'

Step 2

Enter a name for your WiFi network and select for now Wi-Fi security: None

  • Connection: New
  • Network name: <Yournetworkname>
  • Wi-Fi security: None

Confirm with Create.

Step 3

After creation go for the context menu and choose 'Edit Connections ...', select your recently created Wi-Fi connection and 'Edit'. Then choose at the 'Mode:' option 'Hotspot' and press 'Save'. If you do not save in between there is no option 'WPA & WPA2 Personal' shown in the WiFi-Security submenu.

Step 4

Again choose 'Edit Connections ...' and select your recently created Wi-Fi connection and 'Edit'. Now you can select 'WPA & WPA2 Personal'shown in the WiFi-Security submenu and enter a password and press 'Save' again.

You can also manipulate the connection configuration by CLI

    sudo nano /etc/NetworkManager/system-connections/<Yournetworkname>

and restart the network-manager

    sudo service network-manager restart

Step 5

Check your WiFi interface with

    iwconfig

Connect the device you are examining to the new Hotspot and capture the traffic with wireshark on this WiFi interface.

Used Hardware

Notebook with WiFi interface


References