Can anyone tell me how to automatically start minidlna after the wireless has connected? It won't start on boot because wlan0 hasn't come up yet.
One thought would be to write a script using the output of something like iwconfig or ifconfig to determine if the wlan device is up. The script would check in a loop to see if the wlan has an IP address given to it from the DHCP. Once the wlan device is up, the script could start minidlna.
If your wlan starts as a user-level service (NetworkManager) I think you can put his in a user login startup script.
Log in to post a comment.