In the handbook wireless network section, I came across this line:
# ifconfig wlan0 create wlandev ath0
After that line came # ifconfig ath0 up scan
to mark the netdevice as up and then scan to list all reachable wlans. This basically says to create (actually clone ath0 and give it the name wlan0). My question is why create a clone of ath0? Why are the reasons for using # ifconfig wlan0 scan
vs # ifconfig ath0 up scan
or # ifconfig ath0 scan
? Is the wlan0 convention for compatibility?