if test 1 -eq `ping -q -c 1 ip.add.ress | grep "loss" | cut -d " " -f 4`; then echo "online"; else echo "offline"; fi
Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts
Thursday, January 28, 2010
Linux ping is it up?
Monday, June 23, 2008
Disconnect from wireless via command prompt
For whatever reason, I have to disconnect and reconnnect my wireless as I sleep and wake-up my laptop about campus.
Microsoft's
Disconnect from a wireless network by using a command prompt
At a command prompt, type the following, and then press ENTER:
netsh wlan disconnect [[interface=]interface]
interface Specifies the interface whose current wireless connection is to be disconnected. Not required if you only have one wireless interface installed on your computer.
---
So, I see Identifying... and I'm impatient.
Double-click my batch file: (Pause to wait long enough for the wireless to .. do something.
netsh wlan disconnect
pause
netsh wlan connect MyWirelessSSID
Microsoft's
netsh program is a panacea of sorts:Disconnect from a wireless network by using a command prompt
At a command prompt, type the following, and then press ENTER:
netsh wlan disconnect [[interface=]interface]
interface Specifies the interface whose current wireless connection is to be disconnected. Not required if you only have one wireless interface installed on your computer.
---
So, I see Identifying... and I'm impatient.
Double-click my batch file: (Pause to wait long enough for the wireless to .. do something.
netsh wlan disconnect
pause
netsh wlan connect MyWirelessSSID
Subscribe to:
Posts (Atom)