Linux/Wifi: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 36: Line 36:




== configuration ==
* get country information
<blockquote>
<pre>
iw reg get
</pre>
</blockquote>


* set country information
<blockquote>
<pre>
iw reg set DE
</pre>
</blockquote>


== Troubleshooting ==
* airplane mode?
<blockquote>
<pre>
rfkill list all
</pre>
</blockquote>


[[Category:Linux/Network]]
[[Category:Linux/Network]]
[[Category:Linux]]
[[Category:Linux]]

Revision as of 17:07, 12 February 2018

Get infos

  • list network hardware
lshw -class network
  • show all network devices
ifconfig -a
  • get wifi information
iwconfig
  • bring interface up
ifconfig wlan0 up
  • scan for wifi networks
iwlist wlan0 scan | grep ESSID


configuration

  • get country information
iw reg get
  • set country information
iw reg set DE


Troubleshooting

  • airplane mode?
rfkill list all