Very nice! I have been using a script on my own, which first tries the LAN and if it fails then modprobes and starts the wireless.
This script is _very_ useful in that context.
ZmiyGorinich wrote:But how I can make this.
If network cable plug then use ethernet card for network, if unplug than use WiFi?
This is to be started as a service. So, when you boot your machine (or resume from suspend) then (re)start this service so that if a cable is plugged then it will start the LAN, and if there is no cable plugged in, it will start the wifi.