AirV's Blog

Just another blog

Wifi – MacOs

Get Detailed Info from the menu bar

From http://osxdaily.com

You can retrieve extended wireless connectivity data from anywhere within Mac OS X by holding down the Option key and then clicking on the WiFi menu icon.

Option-clicking will display a sub menu under your active wifi connection that shows what wireless band you are using (PHY Mode), the routers SSID (BSSID), what channel the wireless router is using, which encryption method (Security), signal strength (RSSI), the transmit rate, and MCS index (whatever that is).

You can also mouse-over other SSID’s to see a slightly more condensed version of this information. All of this can be helpful for avoiding potential channel conflicts, or whentroubleshooting wireless problems.

Wi-Fi diagnostics

  • /System/Library/CoreServices/Wi-fi Diagnostic

 Find and scan wireless networks from the command line

  • Create the symbolic link from the airport utility to /usr/sbin for easy access

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

  • Scan for and find all wireless networks within range

airport -s
The list returned will show all available wifi networks and their router name (SSID), the router address (BSSID), signal strength (RSSI), channel, and security types used by the network.

Nautilus en mode root

Pour lancer votre explorateur nautilus en mode root, dans un terminal saisissez :

gksudo nautilus

Puis lancez l’application désirée à partir de votre nouvelle fenêtre.

Commande FILE

  • La commande file permet de connaître le type de fichier :

file atee4.txt
… atee4.txt: ASCII text
file atee3.txt
… atee3.txt: Little-endian UTF-16 Unicode text, with CRLF line terminators

  • Pour visualiser le code en ascii / hexa :

utiliser mc puis vue puis basculer ascii/hexa

  • Sous VI Remplacer ^M dans tout le document :

%s/^M//g