Wireless Internet


[20/07/2018]Results of the exam (17/07/2018) can be found HERE. Marks will be entered in the POLIMI system soon. In case you still have to deliver project and you want then to postpone mark registration to September, you have to reject the mark on POLIMI system.

[12/07/2018]All results of the exam (02/07/2018) can be found here. Marks will be entered in the POLIMI system soon. In case you still have to deliver your project and you want then to postpone mark registration, you have to reject the mark on POLIMI system.

[02/07/2018] Results of today's exam can be found here (only for Wireless Internet). Important: you can take a look at your exam tomorrow (July the 3rd) from 11:00 to 12:00. SEND ME AN EMAIL IF YOU WANT TO DO SO. 

[26/06/2018] Results of the pre-exam (15/06/2018) can be found here. Important notes: all marks will be rounded up. Marks > 30 mean 30L. Make sure to register for the next appello in order to finalize your grade. 

[06/06/2018] Today's exam simulation and  solution

[31/05/2018] TODAY'S LECTURE IS CANCELED. We will have the exam simulation next week on Wednesday the 6th, room EG2, 8:30 - 10. 

[28/05/2018] Last week of lectures! We will recap several topics with exercises and questions on Wednesday and an exam simulation on Thursday (see below).The pre-exam will be on Friday, June 15, 14:15 - 17:15, room 9.0.1. 

[21/05/2018] This week we'll have lecture on Tuesday (15:30 - 17, room D.1.1) and Thursday (10:30 - 12, room E.G.4). We'll continue our modeling of TCP and solve some exercises. Then, we'll move to discussing routing solutions for Ad Hoc Networks (see slides below).

[15/05/2018] Program for this week: network and transport layers. We'll have a look at how to deal with client mobility at IP layer (Mobile-IP) and how TCP behaves on wireless networks. 

[08/05/2018] This week we'll continue our discussion on modeling muliple access protocols (Aloha, CSMA, and so on)

[01/05/2018] Program for the week: on Wednesday we discuss the Bluetooth protocol. On Thursday we'll start our discussion on modeling multiple access protocols. See the updated material below.

[22/04/2018] Due to the unlucky calendar, lectures will restart on May 2. In the meantime, you can start thinking about the course project if you want to do one. Some ideas for such projects:
    - Wardriving around Polimi and creating a report with the vulnerabilities found (e.g. WEP networks)
    - Characterizing the power save behaviour of your smartphone (how often does it go to sleep, what happens if you turn off the screen and so on)
    - Localization with fingerprinting in indoor scenarios (your home, the classrooms where you have lectures, etc.)
    - Any other activity you may find interesting (other ideas will come as we proceed with lectures).
Projects should have a practical part and you should deliver a small technical report (4-5 pages) explaining your experience. Any code you develop is more than welcome. Projects are worth up to 4 points at the final exam.

[17/04/2018] Due to graduations in Como and Milano, there will be no lecture this week.

[10/04/2018] Program for this week: we'll have our second practical lecture on localization in WiFi networks on Thursday. No lecture on Wednesday, you should use the free time to prepare for the practical lecture. Suggested readings: papers on fingerprint and model-based localization for WiFi networks.

[03/04/2018] Program for this week: back to the usual Wed-Thu schedule. We'll continue discussing about wireless mesh networks and common attacks to WLANs. Check out the updated set of slides.

[26/03/2018] Program for this week: we'll have lecture only on Tuesday, 15:30 - 17, room D1.1. We'll solve some exercises on the topics seen so far and we'll talk briefly about wireless mesh networks. 

[19/03/2018] This week we'll have lecture on Tuesday, 15:30 - 17, room D1.1 instead of Wednesday. Thursday lecture will be as usual in room E.G.4. We'll continue talking about 802.11, looking at authentication, security and QoS and the different physical layers.

[15/03/2018] The traffic traces used for today's lecture can be downloaded here and here. Python code can be downloaded here

[12/03/2018] Program for this week. We'll have our first practical lecture on sniffing and processing WLAN packets on Thursday. No lecture on Wednesday, you should use the free time to prepare for the practical lecture:
     - Install Wireshark on your laptop and try to capture packets from WLAN in monitor mode. There are plenty of tutorials on how to do this for Linux or Mac. For Windows, the best way is to follow this tutorial. Mac users may install AirTool, Linux users should check this tutorial on iwconfig.
     - Install Python and PyCharm IDE on your laptop. Also install the pyshark, matplotlib and numpy modules. You can install them directly from PyCharm preferences (follow this link). If you are new to Python, you can try the tutorials starting here

[05/03/2018] Program for this week: we'll continue our discussion on 802.11 looking at MAC details and management procedures. On Thursday, we'll solve some numerical exercises dealing with the topics seen so far.

[27/02/2018] Program for this week: the course will start on Wednesday. After a brief introduction on the course, we'll start looking at WLANs, covering the basics of the IEEE 802.11 standard (Wi-Fi). We'll continue our discussion on Thursday. Slides are already available for download. 

[19/02/2018] Course will start on Wednesday 28th 

Course schedule:

Wednesdays, 8:30 - 10:00, Room E.G.2

Thursdays, 10:30 - 12:00, Room E.G.4

Lecture Slides:

1. WLAN (Wi-Fi), Wi-Fi Sniffing, Attacks on WLANs, Localization in WLANs

2. Bluetooth

3. Multiple access protocols

4. Mobile-IP

5. TCP over Wireless

6. Ad Hoc Networks

Exercises and Questions:

Some exercises and questions

(Strongly) Suggested Readings:

Wireless Networks (download it while it's available; thanks Yale university!)

802.11s mesh networking

Bluetooth 1.1 specifications (suggested reading: Part B)

Mobile-IP white paper

Modeling the performance of short TCP connections

Ad hoc networks and routing protocol 

Code snippets and other stuff:

- A nice guide on how to activate monitor mode on Windows using Microsoft Network Monitor (link
- Wireshark packet analyzer (link)
- PyCharm python IDE (link)
- Aircrack-ng suite (link)
- Python code for analyzing probe requests (link)
- Python code for simple localization through beacon sniffing (link)