Category Archives: Networking

Where is my hosts file?

The hosts file contains static entries for domain name resolution.

Here is a handy table:

OS Path
Windows Windows\System32\Drivers\etc\hosts
Linux /etc/hosts
Mac OS  /etc/hosts


A very useful table from w3schools

BACK button/Reload Harmless Data will be re-submitted (the browser should alert the user that the data are about to be re-submitted)
Bookmarked Can be bookmarked Cannot be bookmarked
Cached Can be cached Not cached
Encoding type application/x-www-form-urlencoded application/x-www-form-urlencoded or multipart/form-data. Use multipart encoding for binary data
History Parameters remain in browser history Parameters are not saved in browser history
Restrictions on data length Yes, when sending data, the GET method adds the data to the URL; and the length of a URL is limited (maximum URL length is 2048 characters) No restrictions
Restrictions on data type Only ASCII characters allowed No restrictions. Binary data is also allowed
Security GET is less secure compared to POST because data sent is part of the URL

Never use GET when sending passwords or other sensitive information!

POST is a little safer than GET because the parameters are not stored in browser history or in web server logs
Visibility Data is visible to everyone in the URL Data is not displayed in the URL

Recommended settings for 802.11n

Here are the official recommended settings for Wifi 802.11n from Intel:

Property Value
802.11n channel width for band 2.4 Auto (not in 20 MHz only)
802.11n channel width for band 5.2 Auto (not in 20 MHz only)
802.11n mode Enabled
Fat channel intolerant Disabled
Roaming aggressiveness Medium (or less)
Throughput enhancement Disabled
Transmit power Highest
Wireless mode 802.11a/b/g
HT mode VHT mode

On the wireless router, check the following options:

Property Value
Auto channel scan Enable
802.11 mode Use 802.11n only
Channel width 40 MHz


Find best Wifi channel

  1. Download inSSIDer (official site here)
  2. For each possible valid value as channel of your Access point:
    1. Configure your accesspoint to use that channel
    2. run inSSIDer and note the link score of your WiFi
  3. Configure your access point to use the channel with the highest link score.

Optimally your link score should be 100.


  1. By using the same channel as the other WiFis you decrease speed but also decrease intermissions, thus network becomes more stable.
  2. By using channels very close (but not equal) to other WiFis you increase speed but also increase intermission (thus network becomes less stable)