Re: Laptop Connects to WAP, But Cannot Access 'Net [FIXED]
Rich Shepard <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 3 Apr 2012, John Crowhurst wrote: > A few seconds typing: > > #!/bin/sh > test=`ip link show wlan0|grep UP` > if [ -z "$test" ]; then > ifconfig eth0 up > else > ifconfig eth0 down > fi John, Thank you. Would it be better to check whether wlan0 is RUNNING since both interfaces show UP even if one is not connected? Rich