Re: Laptop Connects to WAP, But Cannot Access 'Net [FIXED]
Robby Workman <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Organization | Generally OCD. |
| Message-ID | <[email protected]> |
On Tue, 3 Apr 2012 10:49:55 -0700 (PDT) Rich Shepard <[email protected]> wrote: > On Mon, 2 Apr 2012, Srdjan Todorovic wrote: > > > This sounds familiar. Connect to wifi then ifconfig eth0 down ... > > does it work then? Something to do with 2 default gateways? Not > > sure if that's your problem but I have that one anytime I visit my > > parents. > > Srdjan, et al.: > > BINGO! Even though eth0 is not RUNNING (and wlan0 is), it > interferred with getting past the WAP. > > As root, I ran 'ifconfig eth0 down', invoked firefox, tried to > load a page and was sent to the WEBbeans.com T&C page. Entered the > password and got access. Whew! > > Of the 7 portables I've had (including an older Sony Vaio) this is > the first to have this issue. Because it never was an issue it didn't > occur to me to look at this solution. > > Now I need a script to check if wlan0 is RUNNING and, if so, take > down eth0. It will run in /etc/rc.d/rc.local as the last command. Maybe, but what you *should* do now is figure out *why* that is the case. What's different this time? If you'd posted the config information and such as you were asked on numerous occasions, I'd be willing to bet that someone would have noticed that your static ip address on eth0 is in the same subnet as that assigned by the wireless access point. Remember when someone asked for your routing tables? That's why. -RW