Where to place script for disabling 1 of 2 WiFi NICs

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Where to place script for disabling 1 of 2 WiFi NICs

Postby weaseal on Mon Apr 28, 2014 2:51 pm

Hello all,

I have 2 NICs, one external (wlan2) and one internal (wlan1). I've put together a script that when run manually will disable wlan1 if wlan2 is present (wlan1 sucks and has a hard time staying connected to most routers). I want this script to run automatically every time the computer boots AND every time it resumes from sleep. Can someone point me to what mechanism in Linux I can use for this? The sleep part is especially important, as at work I frequently sleep/resume my laptop and then run the script manually.

Thanks!
weaseal
Level 1
Level 1
 
Posts: 3
Joined: Tue Oct 08, 2013 12:19 pm

Linux Mint is funded by ads and donations.
 

Return to Wireless

Who is online

Users browsing this forum: Google Adsense [Bot], jam09, Oratoide and 7 guests