Skip to content

lrlrlrlr/COMP4336_9336_21T2

Repository files navigation

COMP4336_9336_21T2

Project

Due time changed to:

**4pm 05 August**

Flexibility for the project:

  1. You can extend your gesture duration (for example, you can design a 6 seconds gesture)
  2. Object in the hands is allowed, you can have an object in your hand.
  3. You can use different platforms to do the project, e.g. RaspberryPI, Arduino.

Help session:

Project Consultation session:

Help session Time Tutor Zoom link
1 Mon 10:00 - 12:00 Rui link
2 Mon 18:00 - 20:00 Rui link
3 Tue 10:00 - 12:00 Wei link
4 Tue 18:00 - 20:00 Gary link
5 Wed 10:00 - 12:00 Wei link
6 Wed 18:00 - 20:00 Gary link

Tutorial Timetable

Tutorial_ID Time Tutor Zoom link Recording Link
T12A Tue 12:00 - 14:00 Wei link link
T14A Tue 14:00 - 16:00 Wei link link
T18A Tue 18:00 - 20:00 Rui link link
W14A Wed 14:00 - 16:00 Rui link link
W16A Wed 16:00 - 18:00 Gary link -
H14A Thu 14:00 - 16:00 Gary link -
H16A Thu 16:00 - 18:00 Rui link link

Lab1

Installation

Mac

Linux

  • Wireshark: to analyse the packets.

    Installation command:
    sudo apt install wireshark

Windows 10

  • Wireshark: to analyse the packets. download link
  • Microsoft Network Monitor 3.4: to collect the 802.11 packets. download link
  • Npcap: you may also need to install this to make Microsoft Network Monitor 3.4 working properly. link

Basic operation of wireshark

video: learn wireshark in 10min

You should be able to:

  • capture the packet
  • open a .cap file
  • apply a filter
  • create/remove a column
  • output to .CSV file

Lab2

lab recording

Task1 - key steps:

  • Apply a SSID filter: wlan.ssid==SSID_NAME
  • Create a new column: Select the information, then Right click it, Apply as Column.
  • Export CSV: File - Export Packet Dissections - As CSV...
  • Plot: You can plot the graph with Excel or Python.

Task2:

  • How to capture:
    • Mac/Linux: Use Wireshark
    • Win10: Use Microsoft Network Monitor 3.4

General questions:

  • I can't capture the packet with Wireshark/Microsoft Network Monitor.
    --> You may need to have a look at your configuration, for win10, you may need to install npcap and reboot before you start to capture. For more help please post your problem at the forum.

  • I can't capture 802.11 packets.
    --> this may happen since some wireless network card does not support us to get the raw 802.11 packets, but you may be able to find some TCP/UDP packets that have "signal strength", then you can use them to finish your task.

  • There is no SSID information inside the packet.
    --> this is normal in win10, just descript what happened in your report.

  • There is only signal strength but no noise lvl and SNR ratio?
    --> this is normal in win10, just descript what happened in your report.

  • How to turn on the Monitor mode (in order to capture the raw 802.11 packets) in MAC?
    --> please refer to this document


Lab3

  • How to calculate the slope?

    • Linear Regression (Excel , numpy)
    • Drop the outlier if needed
  • How to calculate the R-squared ?

  • What if I can’t capture the packets?

    • Make sure your configuration is correct.
    • Borrow a laptop
    • Buy a wireless adapter example

Lab4

  • How many dataset (.csv files)?

    • 4 csv file should be submitted: 3x with obstacle + 1x without obstacle
  • What kind of graph should I use in the report?

    • Violin plot recommended
    • You can use any kind of plot as you want, as your can clearly show the distribution of RSS
  • How to choose Band/Frequency for your hotspots?

    • Android: it will be very easy, please have a check of your hotspot configuration.
    • Laptop: it will be very easy, please have a check of your hotspot configuration.
    • iPhone: You may not be able to switch the band as you want with iPhone, if you are using iPhone 12, then have a try here
  • I can only capture 10 packets per minute?

    • You can increase the traffic between your device and hotspot. By:
      • Play an online video while capturing
      • Use ping command while capturing
  • My RSSI or Signal strength is positive?

    • Since RSSI is a completely arbitrary value that has no relationship to any particular physical parameter, it can also be represented in a positive form, where the RSSI value is 0 to 100, with 100 being the strongest signal possible.

Lab5

  • Can not observe the data rate change?

    • Try different distance, if possible, try outdoor(you can have more distance)
  • Still not working (can not capture any packet with MCS index and data rate)?

    • A sample is provided in this link
    • Note: if you are using this sample dataset, you should specify in your report, and tell us the reason why you can not capture the packets by yourself. If you failed to prove your effort, you might lose the mark on data collection part.

Lab8

  • Notice: the old lab9(Gesture detection with WiFi RSS) is switch to lab8 now;
  • What if I can not get the 50-100 packets per second in the task?
    • It doesn't matter, just try your best to get as much as you can.
  • How to have the regular intervals for each packets?
    • You can use the ping command to get a stable interval.Limited to the accuracy of our equipment, the interval time does not need to be very precise, such as 0.1s, 0.13s and 0.9s. We can roughly think that their intervals are equal.

You may find this is useful for your quiz preparation.

How can I get help?

  • post it on the forum.
  • join any of the online tutorials.

Important: this is not the official support from COMP4336/9336, all the information here is for reference only.

If you have any doubt/question, please post them into the Moodle forum.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published