Home wlan won't let me do very specific things(log in facebook, post on some forms etc)

2

0

I run ubuntu 10.04 and I installed a wlan like:

[modem]---ethernet cable--[wireless router]----ethernet cable--[my PC]

Computers using the wireless network can access all pages normally.

I, on the other hand, using ethernet, am limited:

  1. I cant login on facebook (it enters facebook.com if I'm not logged in, but once I log in everything stops working)
  2. I can't post (but can browse) on stackoverflow and similar
  3. I can't post (but can browse) on ubuntuforums.org

When I skip the wireless router and do:

[modem]----ethernet cable--[my PC]

I can access everything normally.

I inspected the wireless router page but everything seems normal to me (but I'm not an 'expert')

Some help please. I can post output of any command here.

UPDATE 1: I found out that I cant upload images too while connected to the router.

DHCP config for modem enter image description here

Router
enter image description here

galmeida

Posted 2013-12-11T04:36:07.063

Reputation: 123

1It could have something to do with the DHCP set up on both your modem and wireless router. Can you post the DHCP configuration of both devices. Maybe test your connectivity with DHCP off on one of the devices. – Deesbek – 2013-12-11T15:29:17.503

Posted screenshots for both devices – galmeida – 2013-12-11T17:31:42.400

Which port on the router is the modem connected to? Is it connected to its Internet/WAN port? Or one of its LAN ports? – David Schwartz – 2014-04-27T03:11:32.943

It was it - both as dhcp masters. I turned the modem into bridge and things worked. But can anyone explain why was it that it was partially "working"(working for some things and not for others)? – galmeida – 2014-04-28T15:56:49.587

Yay DI-524! I absolutely love mine! It was my first router which I bought it on clearance with the first paycheck from my new job at the time, and even though it’s really old and obsolete, and I have given it up for dead on several occasions, it’s just so wonderful that I will never throw it away. – Synetech – 2014-04-30T21:01:04.073

Answers

1

Most likely, you have router modem plugged into one of your router's LAN ports rather than its WAN/Internet port. The best solution is probably to switch your modem to bridging mode and connect it to your router's Internet/WAN port.

Alternately, you can use your router as just a switch and access point. In this case, turn off its DHCP server.

David Schwartz

Posted 2013-12-11T04:36:07.063

Reputation: 58 310

Can you explain me why it was working partially? – galmeida – 2014-04-28T15:59:25.890

1You had an asymmetric path. Outbound packets went through both routers while inbound packets only went through one. Whether or not that will work depends on what the "extra" router does. My bet is that it mangled path MTU discovery, resulting in outbound "large" packets getting dropped. Among other things, this probably borked SSL negotation. – David Schwartz – 2014-04-28T18:44:51.133

1

The key to this issue and the answer to your questions came from your comment which indicated that you put the modem in bridge mode.

What was happening was that your modem had a built-in router (along with firewall functionality and possibly other things like QoS, etc.) Connecting directly to the modem-router worked as expected, but when you connected through another router which then connected through the modem’s router, things got messed up. The issues is that connecting multiple routers like that makes a right mess of NAT. Depending on the various configurations of the two routers (DHCP, QoS, firewall settings, etc.), and on how many systems you are connecting to it (e.g., any laptops connecting wireless) it may or may not work sometimes and/or all the time.

As you discovered, switching the modem into bridge-mode (turning off the router capabilities and using it as a only a modem) solved the problem because now you are using only your D-Link for a router.

(If you really want to try to use both, you could try turning off the DHCP servers and using static IPs on both from the LAN side, but it’s probably more trouble than it’s worth, especially since you won’t really be getting significantly more benefit from being behind two firewall-routers.)

(I went through this same scenario last year when I tested every permutation of using my trusty DI-524 along with Rogers’ crappy Hitron. I eventually gave up and switched it into bridge-mode for a while, but then returned the pile of junk the next month and got back the DOCSIS 2.0 modem-only Surfboard I had before—which was half of the monthly rental price of the useless Hitron.)

Synetech

Posted 2013-12-11T04:36:07.063

Reputation: 63 242

-2

Try changing the Primary and Secondary DNS Server in the DHCP settings as below

Primary DNS Server : 8.8.8.8 Secondary DNS Server : 8.8.4.4

Bascially the above DNS servers are provided by Google for IPv4. For IPv6 use these

Primary DNS Server : 2001:4860:4860::8888 Secondary DNS Server : 2001:4860:4860::8844

Maybe this will help You

lkklklkkkl

Posted 2013-12-11T04:36:07.063

Reputation: 33