Repeater under the situation of MAC restricted connection AP

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
himao
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 6

PostPosted: Thu Sep 17, 2009 16:06    Post subject: Repeater under the situation of MAC restricted connection AP Reply with quote
Hello.

I have used the DD-wrt V24-sp2 for Planex GW-MF54G2.
What i want to know is to share the MAC address restricted wi-fi internet connection.

I found that for that purpose, the repeater mode is what i want but I encountered a trouble with which I have struggled for many hours.

The hotel I'm staying at allows guest whose PC'S MAC address is registered to use internet. Guests have to pay the connection charge per MAC address;)

First, I tried to connect the internet in the way of connecting upstream AP (hotel AP) to DD-wrt by wi-fi and dd-wrt and my PC with Lan cable.
That worked good. But I added virtual wi-fi interface to dd-wrt and i succeeded to connect dd-wrt by wi-fi from my PC. But I couldn't go to the internet. (IP address of WAN has been obtained as well as the conncection using a cable.)

Is this that above MAC address restriction makes the
connection to the internet impossible?

I would be apprecited if any advises are provided.
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sun Sep 20, 2009 16:08    Post subject: Reply with quote
mac address clone!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
himao
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 6

PostPosted: Mon Sep 21, 2009 1:51    Post subject: Reply with quote
Thank you, Sash.

I tried the MAC address clone as you said while I had registered the WAN port's MAC address (of wifi) to the hotel. But I failed.

And I found that even in this environement requiring
MAC address registration, my two client PCs (connected to DD-WRT with cable and wifi) can access
the gateway of the network but doesn't go to the internet.

I think another authentication (but still related to MAC address) system may be woriking. I don't know how to deal with this matter.
Any advices are appreciated.
MichelG
DD-WRT Guru


Joined: 12 Feb 2007
Posts: 903
Location: Galati - RO / Kishinev - MD / Geneva - CH / Tarragona - E

PostPosted: Mon Sep 21, 2009 2:33    Post subject: Reply with quote
Hi,

Your DD-WRT router gets an IP from the AP, right ?
Your PC was linked to the DD-WRT router by wire and it was working, right ?

So, instead of you using Repeater, give it a try using client, and also client bridge. If I remember right, client bridge should mask the MACs behind it, so you should have no trouble.

Can you ping a direct IP ? if yes, it can be an issue with the DNS you are using, may be you should start looking on this, first.

Michel

_________________
2x EOC-2160 - AP 2x14dB Yagy to 450m link
2x EOC-2160 - RP 2x17dB Panels - 2x 7Mbps
1x WRT54G v2.2 - V24-SP2 13577VPN Eko
All Senao EOC-2610 V1.10 Std 15362 BS
1x UBNT Bullet 2 - RP 18dB Panel - 11Mbps - 13Km link
himao
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 6

PostPosted: Tue Sep 22, 2009 1:31    Post subject: Reply with quote
Thanks, MichelG.

I tried two kinds of client bridge.

i)wifi-eth bridge
I connected to DD-wrt with ethernet cable and DD-WRT connected to wifi-AP. My PC's ethernet port could get
IP address from the network and I could goto the internet.

ii)wifi-wifi bridge
Onto i)setting, I added a virtual wifi AP to DD-WRT.
And when my PC accessed the virtual AP, my PC's
wifi adapter could obtain the IP address as well.
But different from i), I couldn't go to the internet.

This is the situation. Are there any attemps for me to do?
MichelG
DD-WRT Guru


Joined: 12 Feb 2007
Posts: 903
Location: Galati - RO / Kishinev - MD / Geneva - CH / Tarragona - E

PostPosted: Tue Sep 22, 2009 2:07    Post subject: Reply with quote
Hi, is your virtual AP bridged or unbridged ? You have a selector under your VAP, named Network Configuration, it should be bridged. Also, your LAN should use a different IP range than the main AP.
_________________
2x EOC-2160 - AP 2x14dB Yagy to 450m link
2x EOC-2160 - RP 2x17dB Panels - 2x 7Mbps
1x WRT54G v2.2 - V24-SP2 13577VPN Eko
All Senao EOC-2610 V1.10 Std 15362 BS
1x UBNT Bullet 2 - RP 18dB Panel - 11Mbps - 13Km link
himao
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 6

PostPosted: Tue Sep 22, 2009 2:13    Post subject: Reply with quote
Thank you, MichelG,

I have checked the situation of the bridge before.

Here, I can't remember it exactly though, I confirmed
that the ath0 and ath0.1 are bridged in a certain
section of DD-WRT in which the situation is shown.

Last part of your mention, do you mean I have to set dd-wrt as a NAT router ? I have already tried that one. But the result was same.
MichelG
DD-WRT Guru


Joined: 12 Feb 2007
Posts: 903
Location: Galati - RO / Kishinev - MD / Geneva - CH / Tarragona - E

PostPosted: Tue Sep 22, 2009 2:54    Post subject: Reply with quote
Can you ping a public IP from your PC ? if this works, then you have a DNS problem.

IP Yahoo = 209.191.93.53, give it a try an report.

Your router has to be configured as Gateway.

_________________
2x EOC-2160 - AP 2x14dB Yagy to 450m link
2x EOC-2160 - RP 2x17dB Panels - 2x 7Mbps
1x WRT54G v2.2 - V24-SP2 13577VPN Eko
All Senao EOC-2610 V1.10 Std 15362 BS
1x UBNT Bullet 2 - RP 18dB Panel - 11Mbps - 13Km link
himao
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 6

PostPosted: Tue Sep 22, 2009 11:34    Post subject: Reply with quote
Here are the test results.

Three tests:

(i)Ping to 209.191.93.53 from PC connected to dd-wrt with cable (without any vitual wifi adapter)
OK (as displayed img01)

(ii)Ping to 209.191.93.53 from PC connected to DD-WRT with wifi
NG (as displayed in img02)

(iii)Ping to 209.191.93.53 from PC connected to DD-wrt with cable (with a vitual wifi Adapter)
NG (as displayed in img03)
MichelG
DD-WRT Guru


Joined: 12 Feb 2007
Posts: 903
Location: Galati - RO / Kishinev - MD / Geneva - CH / Tarragona - E

PostPosted: Tue Sep 22, 2009 13:46    Post subject: Reply with quote
I think I see. What IP does get your router from the AP ? It seems to me that both the AP are under the IP range 192.168.1.X ... so it can not work, which is normal.

Go to the setup tab, and change your LAN setting to something different, like 192.168.99.1

Change your DHCP server to 10 minutes and 5 users.

give a DNS like : 208.67.222.222 (openDNS)

Save, apply, reboot the router, and reconnect from the PC.

Please report, thanks. Michel

_________________
2x EOC-2160 - AP 2x14dB Yagy to 450m link
2x EOC-2160 - RP 2x17dB Panels - 2x 7Mbps
1x WRT54G v2.2 - V24-SP2 13577VPN Eko
All Senao EOC-2610 V1.10 Std 15362 BS
1x UBNT Bullet 2 - RP 18dB Panel - 11Mbps - 13Km link
himao
DD-WRT Novice


Joined: 17 Sep 2009
Posts: 6

PostPosted: Tue Sep 22, 2009 13:55    Post subject: Reply with quote
Hi, thank you very much.

WAN IP: 192.168.29.91
This is allocated to WAN side wifi adapter.

And when I tried the same setting of dd-wrt on
th diffrent environement where no MAC address restriction, dd-wrt (with vitual ap) worked fine.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum