Page 1 of 10

Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Mon Dec 05, 2011 8:10 pm
by ofbizbrazil
Hi dudes,

I´ve just installed Gargoyle 1.5.1 in my router TL-WR1043ND and I set up Client+AP mode to get an existent wireless connection and redirect it as a new one using other IP address.

I enclosed my image configuration to keep in mind how it was.
http://s8.postimage.org/7kkqns8lh/Erro_AP.jpg

I noticed I can do it as Client mode without issues, but I need to use a cable connection.

My idea was to reach it by a new Wireless SID using other IP route.

Could you help me?

Thanks a lot.
:D

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Wed Dec 07, 2011 9:24 pm
by ofbizbrazil
No one has any idea?

I´m missing solutions...

Thanks a lot!

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Thu Dec 08, 2011 7:10 am
by hnl_dk
It sounds like you want the router to be set up as a "Wireless Bridge/Repeater", but that you have set it up as a "Gateway (Default)".

Try to change it to "Wireless Bridge/Repeater", then I think that you will be happy.

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Thu Dec 08, 2011 8:49 am
by ofbizbrazil
Hi,

Yes, I did "Gateway (Default)" because there's no way to setup a new IP route using "Wireless Bridge/Repeater" option.

As I said my goal was to create a new IP route (such as NAT) for an existent wireless connection, and not only to repeat and participate for an existent SID/IP route.

I found only on "Gateway (Default)" how to proceed with this idea, in part I got it, but when I establish a new SID Wireless I can't navigate on Internet because wireless connection is not established, only using Client works but this case I connect through cable.

Let me know if I explained all you need.

Regards,

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Thu Dec 08, 2011 7:37 pm
by DoesItMatter
http://wiki.openwrt.org/doc/howto/clien ... ient.modes

Check that out.

You will probably have to do some extra config via command line.

I don't think you can do 2 separate SSID's via the GUI currently.

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Thu Dec 08, 2011 8:06 pm
by cotarelo
In which version of Gargoyle worked the scenario you propose?

Please let me know if you get it working... I would be also interested in having 2 separate SSID's and ip ranges ...

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Thu Dec 08, 2011 8:45 pm
by ofbizbrazil
Hi,

I got more details, as you can see below when Client mode is set wlan0 receives wireless connection, but after changed to Client+AP mode wlan0 loses connection and mon.wlan0 is created.

I guess wlan0 is wireless connection to original router and mon.wlan0 would be the new one I´m creating to do NAT.

What do you think? I was able to do it in DD-WRT but there´re many issues in that firmware, and sometimes doesn´t work anything. After many many tempts it works...

As well I tried in Gargoyle 1.4.4 version and it happens same...

Other point I noticed was the routes changing, Client+AP Mode doesn´t create all routes necessary as Client does.
Is it right?

======
Client
======

root@Gargoyle:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth0.1 no wireless extensions.

eth0.2 no wireless extensions.

imq0 no wireless extensions.

imq1 no wireless extensions.

br-lan no wireless extensions.

br-wan no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"ana"
Mode:Managed Frequency:2.427 GHz Access Point: 00:XX:XX:XX:XX:XX
Bit Rate=1 Mb/s Tx-Power=24 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=40/70 Signal level=-70 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:23 Missed beacon:0

root@Gargoyle:/etc/init.d# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
192.168.0.0 * 255.255.255.0 U 0 0 0 br-wan
default 192.168.0.1 0.0.0.0 UG 0 0 0 br-wan


==============
Client+AP Mode
==============

root@Gargoyle:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth0.1 no wireless extensions.

eth0.2 no wireless extensions.

imq0 no wireless extensions.

imq1 no wireless extensions.

br-lan no wireless extensions.

br-wan no wireless extensions.

wlan0 IEEE 802.11bgn Mode:Master Frequency:2.427 GHz Tx-Power=24 dBm
RTS thr:off Fragment thr:off
Power Management:off

mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.427 GHz Tx-Power=24 dBm
RTS thr:off Fragment thr:off
Power Management:on

root@Gargoyle:/etc/init.d# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Fri Dec 09, 2011 2:13 pm
by ofbizbrazil
Hi,

Could anyone check it out?

Thanks!

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Fri Dec 09, 2011 5:17 pm
by DoesItMatter
It looks like this was easily done with broadcom 2.4x branch

I know it cannot be done via the GUI on AR71xx branch via GUI

Might be possible via command line - I'll try and play with this
over the weekend.

Only issue with this is once you make changes via command line,
IF you make any changes via GUI to the wireless section, all your
command line changes are over-written.

Quick answer - has to be done via command line only currently.

Re: Gargoyle 1.5.1 is not working in Client+AP mode

Posted: Sat Dec 10, 2011 8:49 pm
by ofbizbrazil
Great, I look forward to seeing what commands I should enter....

As soon as possible let me know!!

Thanks!!