1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato MultiSSID

Discussion in 'Tomato Firmware' started by teaman, Jan 25, 2012.

  1. jyavenard

    jyavenard Network Guru Member

    I don't think the Bssid being null is the only problem. I had fixed that problem but still couldn't get my mac to connect even though I could see the virtual SSID in the list
     
  2. kthaddock

    kthaddock Network Guru Member

    @jyavenard

    There is one user doing modified ASUS stockfirmware to RT-N66U and also port it to RT-N16 he seems have Multi ssid working in his program. Maby he have some tips, and on smallnets forum is a user from ASUS writing on messageboard.

    http://forums.smallnetbuilder.com/forumdisplay.php?f=37&order=desc
    https://github.com/RMerl/asuswrt-merlin.
    https://github.com/RMerl/asuswrt-merlin/downloads
    http://forums.smallnetbuilder.com/showpost.php?p=44154&postcount=21
    http://www.lostrealm.ca/tower/node

    kthaddock
     
  3. jyavenard

    jyavenard Network Guru Member

    It works just fine with asus firmware. The issue isn't with the drivers per say, but how we are using them and the WL utilities.
     
  4. tvlz

    tvlz Addicted to LI Member

  5. kthaddock

    kthaddock Network Guru Member

    Multi ssid only working in Toastmans builds. Shibbys latest 097 doesn't work.
     
  6. eahm

    eahm LI Guru Member

    ONLY on Toastman's? Did you try every other mod?
     
  7. Riddlah

    Riddlah Networkin' Nut Member

    confirmed working on shibby's latest 097 build
     
  8. GhaladReam

    GhaladReam Network Guru Member

    I can also confirm working on shibby's latest 097 build on RT-N66U
     
  9. zbeyuz

    zbeyuz Serious Server Member

    Yes, I followed exactly the set-up guide. The signal of both bands are there, but I can't connect to it and when I see in Virtual Wireless tab, it said the driver error 00:00:00:00:00

    although I saw there were connect MACs next to the error... What should I do ?

    Here is the picture of the error from others but it is similar to mine: http://imageshack.us/photo/my-images/835/homenetguest.png/
     
  10. Dark_Shadow

    Dark_Shadow Addicted to LI Member

    I get the same error on my RT-N66U, also no broadcasted SSID.
     
  11. kthaddock

    kthaddock Network Guru Member

    Yes I do as you can se on my signature, seems that it's 50/50 who has theirs routers working with Multi ssid.
    Maby that have to do with if you upgrade from earlier build without NVRAM resett or do a fresh install,

    If I remember right in the past there was if you set, Wireless Network Mode to AUTO or B, G, B/G or N mode.

    Eg set N-mode then reboot after that set auto again.

    kthaddock
     
  12. Dark_Shadow

    Dark_Shadow Addicted to LI Member

    I always do a hard reset before and after upgrade. Not sure that is the issue.
     
  13. jyavenard

    jyavenard Network Guru Member

    I can assure you that no Toastman or shibby RT-N build are working for me with Multi-SSID.
    Clients can see the guest network, but can't connect to it.

    Knowing that Toastman's code there is identical to Shibby's one, I don't why there would be any difference between the two.
    There's also been no changes recently that would have made the code work better in newer build. As far as I can tell, Multi-SSID never worked properly with the newer drivers found in the RT-N branches.
    I can make it fail on all the asus and linksys routers I tried it on.
     
  14. mstombs

    mstombs Network Guru Member

    Guest Network is working for RT-N16 in rmerlins mod of unreleased Asus 155, assume the N66 one would work as well?

    RT-N16 wireless driver reports


    Code:
    admin@RT-N16:/www# wl ver
    5.100 RC138.20
    wl0: May 29 2012 08:58:33 version 5.100.138.20
    Going to take some effort to port to Tomato, as all the interfaces seem to have changed name - wan port now a linux standard eth0, the guest wireless wl0.1 But interface name changes may also be due to fact that Asus firmware also has dual-wan code which is nearly usable!
     
  15. kthaddock

    kthaddock Network Guru Member

    THIS was the bug fix then:
    http://repo.or.cz/w/tomato.git/commit/d1b97fef19bec4e5714b0c01f2cc748dfa788e00
     
  16. oscarkb

    oscarkb Serious Server Member

    Confirm Shibby 097 MultiSSI working on RT-N16 and Belkin N300 Share Max. But only when br0 is DHCP enable. Does not work if br0 is disable ( on repeater)
     
  17. kthaddock

    kthaddock Network Guru Member

    Have you tried this ?
     
  18. tvlz

    tvlz Addicted to LI Member

    Try this to get multissid working on a seperate bridge(br1), needed after reboot & if changes are made.

    Code:
    wl down
    wl up
    brctl show
    brctl addif br1 wl0.1
    brctl show
    If on the Overview tab you don't see
    Interface Status: Up (LAN1)
    Code:
    ifconfig wl0.1 up
     
  19. Dark_Shadow

    Dark_Shadow Addicted to LI Member

    Will this work on the RT-N as well? How to create br1 via gui?
     
  20. jyavenard

    jyavenard Network Guru Member

  21. jyavenard

    jyavenard Network Guru Member

    Ok.... I have reliably working Multi-SSID now... will push after further testing...

    [removed as I've found an issue, for some reasons standard SSID only works if a virtual one is enabled]
     
  22. Yobo

    Yobo Addicted to LI Member

    @jyavenard: Cool! I started looking at the changes in the git, but then saw you pulled them. Why?

    BTW - what are these changes based on? Is the wl driver usage based on the Asus stock firmware, or just trial and error?
     
  23. jyavenard

    jyavenard Network Guru Member

     
  24. Yobo

    Yobo Addicted to LI Member

    Yeah - the MAC address assignment is a mess. I had some posts about it in this thread.
    As far as I remember, the wlconf code did not just increment the last octet for each virtual network. It also incremented the first octet by 2 for all the virtual ones.

    On my E4200 RT-N, I get:
    2.4GHz wl0 is C0:xx:xx:xx:62
    5GHz wl1 is C0:xx:xx:xx:63
    w0.1 is C2:xx:xx:xx:63
    wl0.2 C2:xx:xx:xx:64
    wl0.3 C2:xx:xx:xx:65
    wl1.1 C2 :xx:xx:xx:64
    wl 1.2 C2:xx:xx:xx:65
    wl 1.3 C2:xx:xx:xx:66

    So virtual and physical addresses don't conflict. But wl0.2 and wl1.1 do. In fact, I have wl0,wl1,wl0.1,wl0.2 all working at the same time (all with WPA2-PSK).

    One thing I wasn't able to do is operate wl1.1 (even without wl0.1), and also create more than two bridges and connect a vifs to them.
     
  25. were55

    were55 Addicted to LI Member

    Hi All,

    I sucessfully setup Multissid in RT-N16, and I'd isolated SAMBA disk using Shibby rules ;) . Now I have one question, the second SSID I want to use it for guest service (no security), but I'm using "wireless filter" in my "normal" setup, could be possible to apply "wireless filter" only for SSID-1 and left SSID-2 without this rule?

    thanks in advanced
     
  26. jyavenard

    jyavenard Network Guru Member

    Ok.

    I've fixed most of the issues in the MultiSSID. It now works fine even with newer drivers, you can delete an entry after it's been created, don't have to just disable it anymore.
    I also fixed the issue where the new SSID wasn't working if using anything other than the main bridge/lan (br0)Changes on existing entries are properly saved too.

    Testet on RT-N66 (64k nvram) and RT-N16 (with both old old and new drivers)

    RT-N66 ONLY (64k NVRAM): http://www.avenard.org/wrt54-tomato....0501.2MIPSR2-jya-RT-N-VLAN-VPN-NOCAT-64K.trx

    RT-N16 and all other 8MB flash routers, with RT-N:
    http://www.avenard.org/wrt54-tomato...1.28.0501.2MIPSR2-jya-RT-N-VLAN-VPN-NOCAT.trx

    RT (older drivers) for all other MIPSR2:
    http://www.avenard.org/wrt54-tomato...B-1.28.7501.2MIPSR2-jya-RT-VLAN-VPN-NOCAT.trx

    All are based on Toastman-RT/RT-N
    Changes also in git.
     
  27. shibby20

    shibby20 Network Guru Member

    awesome work!
    Best Regards
     
  28. hevnbnd

    hevnbnd Serious Server Member

    Just got a new RT-N66U is the above the firmware I should be running on it?
     
  29. jyavenard

    jyavenard Network Guru Member

  30. hevnbnd

    hevnbnd Serious Server Member

    Thanks that is what I did. What is the difference from yours and shibby20?
     
  31. jyavenard

    jyavenard Network Guru Member

    This image was done to test and debug Multi-SSID which is what this thread is about.
    It's based on Toastman images as that's what I use usually. I don't need all the new stuff Shibby keeps adding, I prefer something with less new features but more tested.

    Shibby will take my fixes and put it in his version like he usually does. So if you're aim is to have Multi-SSID properly working on your RT-N66 then use the image above, otherwise wait for a few days ....
     
  32. Python46

    Python46 Networkin' Nut Member

    I tried your RT-N fix on my RT-N16 and noticed that after about 18 hours the free memory was down to under 26M.
    Looks like there is a memory leak in your patch. Thought you would want to know.
     
  33. rhdcheme

    rhdcheme Addicted to LI Member

    Running well so far for about 3+ hours on an RT-N66U. Does not seem to have any memory leak problem - so far.

    Time Sun, 29 Jul 2012 20:19:56 -0400
    Uptime 03:34:37
    CPU Load (1 / 5 / 15 mins) 0.00 / 0.00 / 0.00
    CPU Usage 0.99%
    Total / Free Memory 249.96 MB / 232.16 MB
     
  34. jyavenard

    jyavenard Network Guru Member

    If you looked at the patch and what it does, it's impossible that it introduces a leak. The patch modifies how the wireless interface is turned off and then back on. It does ifconfig eth1 down, wlconf down, re-assign the mac address, wlconf up, ifconfig up, wlconf start

    It's very similar to how it was done earlier, just in a different order.
    Say you have a leak there, as soon as the process has finished running, the memory would be freed.

    So whatever leak you are seeing is unrelated. Plus it must be a continuously running process, not a driver being stopped/started.
     
  35. jyavenard

    jyavenard Network Guru Member

    BTW, if you wan to see what uses the ram, run a ps or top command and look at the culprit. No point saying the memory is low with no extra details.
     
  36. kthaddock

    kthaddock Network Guru Member

    Running fine here on a RT-N16 for 12 hour, no problem. RT-N-0501.2-jya.
    Thank you for a nice build !
     
  37. jyavenard

    jyavenard Network Guru Member

    BTW, I'd like to thank tvlz hint on what got it to work for him... This helped me find where to look.. Was a key in finding what was wrong
     
  38. tinuz97

    tinuz97 Serious Server Member

  39. jyavenard

    jyavenard Network Guru Member

    Did you use a 64K nvram firmware before? If not, you must do a full reset by holding the reset button until the pwr LED blinks.
    Or use the same as the RT-N16 one (no 64K nvram)
     
  40. tinuz97

    tinuz97 Serious Server Member

    No,i did not use the 64k version before,i used the normal merlin build.
    So best way is to first reset the router? and then in recovery mode,flash your firmware,and after that clear the nvram?
     
  41. jyavenard

    jyavenard Network Guru Member

    Merlin version 144 and later use 64K nvram

    Exactly as if you had flashed tomato the first time, after flashing from official Asus (Merlin build falls under this category), then you *must* perform a full reset.

    You do the reset after flashing of course; not before!

    This has nothing to do with this thread, your questions/problems are about how to flash tomato. Can we keep this on topic?
     
  42. tinuz97

    tinuz97 Serious Server Member

    Srry,i am new on this forum.
    I go read the rules and keep it ontopic now :)
     
  43. kthaddock

    kthaddock Network Guru Member

  44. shibby20

    shibby20 Network Guru Member

    @jyavenard did you try compile K24? After commits of MultiSSID K24 seems to be broken

    make[4]: Wejście do katalogu `/root/openwrt/tomato.git-compile/src/router/rc'
    [rc] CC rc.o
    [rc] CC init.o
    [rc] CC interface.o
    [rc] CC network.o
    network.c: In function 'stop_lan_wl':
    network.c:367: warning: unused variable 'subunit'
    network.c:367: warning: unused variable 'unit'
    network.c: In function 'start_lan_wl':
    network.c:415: warning: unused variable 'ifr'
    network.c: At top level:
    network.c:501: error: expected identifier or '(' before '}' token
    make[4]: *** [network.o] Błąd 1
    make[4]: Opuszczenie katalogu `/root/openwrt/tomato.git-compile/src/router/rc'
    make[3]: *** [rc] Błąd 2
    make[3]: Opuszczenie katalogu `/root/openwrt/tomato.git-compile/src/router'
    make[2]: *** [all] Błąd 2
    make[2]: Opuszczenie katalogu `/root/openwrt/tomato.git-compile/src'
    make[1]: *** [bin] Błąd 2
    make[1]: Opuszczenie katalogu `/root/openwrt/tomato.git-compile/src'
    make: *** [e] Błąd 2
     
  45. jyavenard

    jyavenard Network Guru Member

    I'll have a look.

    What make option are you using?
    I haven't a single K24 build that actually compile properly. So even fixing the problem there isn't going to help much

    Edit: there's no way tomato-shibby would have built a K24 build as it is today... There's plenty of references to K26 header fine, in particular in router/iptables
     
  46. shibby20

    shibby20 Network Guru Member

  47. jyavenard

    jyavenard Network Guru Member

    When is that last time you compiled K24 using tomato-shibby branch ?
     
  48. shibby20

    shibby20 Network Guru Member

    1st June. I have backup of sources 097 (before i aplied your commits) i can try compile K24,
     
  49. jyavenard

    jyavenard Network Guru Member

    Do you use a different /opt/brcm link to compile?
    Now iptables compile with your latest change, but router/rc/mtd.c fail

    sounds to me that the toolchain used to compile is using K26 headers , and so that fail
     
  50. shibby20

    shibby20 Network Guru Member

    i propably found problem and solution. In function start_lan_wl we have
    #ifdef CONFIG_BCMWL5
    <------><------><------><------><------>if (strncmp(ifname, "wl", 2) == 0 && strchr(ifname, '.')) {
    #endif
    <------><------><------><------><------><------>char nv[40];
    <------><------><------><------><------><------>snprintf(nv, sizeof(nv) - 1, "%s_bss_enabled", ifname);
    <------><------><------><------><------><------>if (!nvram_get_int(nv))
    <------><------><------><------><------><------><------>continue;
    #ifdef CONFIG_BCMWL5
    <------><------><------><------><------><------>if (get_ifname_unit(ifname, &unit, &subunit) < 0)
    <------><------><------><------><------><------><------>continue;
    <------><------><------><------><------><------>set_wlmac(0, unit, subunit, NULL);
    #endif
    <------><------><------><------><------>} // <-- this is our problem
    #ifdef CONFIG_BCMWL5
    <------><------><------><------><------>else
    <------><------><------><------><------><------>wl_ioctl(ifname, WLC_GET_INSTANCE, &unit, sizeof(unit));
    #endif


    IMO should be

    #ifdef CONFIG_BCMWL5
    <------><------><------><------><------>if (strncmp(ifname, "wl", 2) == 0 && strchr(ifname, '.')) {
    #endif
    <------><------><------><------><------><------>char nv[40];
    <------><------><------><------><------><------>snprintf(nv, sizeof(nv) - 1, "%s_bss_enabled", ifname);
    <------><------><------><------><------><------>if (!nvram_get_int(nv))
    <------><------><------><------><------><------><------>continue;
    #ifdef CONFIG_BCMWL5
    <------><------><------><------><------><------>if (get_ifname_unit(ifname, &unit, &subunit) < 0)
    <------><------><------><------><------><------><------>continue;
    <------><------><------><------><------><------>set_wlmac(0, unit, subunit, NULL);
    <------><------><------><------><------>}
    <------><------><------><------><------>else
    <------><------><------><------><------><------>wl_ioctl(ifname, WLC_GET_INSTANCE, &unit, sizeof(unit));
    #endif
    Am i right?
     
  51. jyavenard

    jyavenard Network Guru Member

    I have a fix for the compilation not building, however I want to test it first as what it does is quite significant, I need to test how it behaves with my WRT54.
    Last I try to flash a K26 build on it, I got a nasty brick...
     
  52. jyavenard

    jyavenard Network Guru Member

    Ok..
    The issue was the mipsel toolchain was using a K26 link...
    The last update you just did on iptables, give me compilation error, reverting it and it compiles
     
  53. shibby20

    shibby20 Network Guru Member

    when you want compile K24 you have to use toolchain for K24
    http://repo.or.cz/w/tomato.git/tree/refs/heads/tomato-shibby:/tools/brcm

    you have to link
    hndtools-mipsel-uclibc -> K24/hndtools-mipsel-uclibc-4.2.4
    hndtools-mipsel-linux -> K24/hndtools-mipsel-uclibc-4.2.4

    i`m still fighting with IPP2P on K24. I have kernel compilation error because in K24 file include/net/netfilter/nf_conntrack_core.h does not exist. I changed #include <net/netfilter/nf_conntrack_core.h> to #include <linux/netfilter_ipv4/ip_conntrack.h>

    and now i have:
    ipt_ipp2p.c:32: error: syntax error before "int"
    ipt_ipp2p.c:32: warning: type defaults to `int' in declaration of `module_param'
    ipt_ipp2p.c:32: warning: function declaration isn't a prototype
    ipt_ipp2p.c:32: warning: data definition has no type or storage class
    ipt_ipp2p.c: In function `match':
    ipt_ipp2p.c:836: warning: implicit declaration of function `nf_ct_get'
    ipt_ipp2p.c:836: warning: assignment makes pointer from integer without a cast
    ipt_ipp2p.c:841: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:841: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:842: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:844: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:845: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:847: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:847: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:847: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:878: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c:900: error: dereferencing pointer to incomplete type
    ipt_ipp2p.c: In function `init':
    ipt_ipp2p.c:962: warning: implicit declaration of function `need_conntrack'
    make[6]: *** [ipt_ipp2p.o] Błąd 1
     
  54. jyavenard

    jyavenard Network Guru Member

    I managed to compile after reverting your last change to iptable. I have noticed a linking error compiling the K24 kernel when some options are enabled...
    I didn't touch any of that part of the code, hence why I asked when it last built for you, because it seems to have been broken for a little while...

    BTW, Toastman-RT branch build just fine (after the rc/network.c fix)
    I am doing some more testing and I'll be pushing the changes. Unfortunately, I can't set if MultiSSID works on K24 as I have a WRT54G v2 which doesn't support BSSID.

    So what I did is make the old code conditional, so when building a K24 image, it will use the same code before my MultiSSID code. I figured if it worked before, it will work now too :)
     
  55. jyavenard

    jyavenard Network Guru Member

  56. shibby20

    shibby20 Network Guru Member

  57. Cyberian75

    Cyberian75 Network Guru Member

    Shibby, is it working for 5GHz?
     
  58. jyavenard

    jyavenard Network Guru Member

    It works with a caveat: There is an issue with the way the MAC address for the virtual interfaces are calculated by the Broadcom drivers. As such, the MAC address between 2.4Ghz and 5Ghz overlap. After declaring the 5Ghz virtual interface, you'll have to manually adjust the MAC address of each adapter so they don't overlap.
    It will not survive a reboot due to how the drivers initialise things.
     
  59. Cyberian75

    Cyberian75 Network Guru Member

    It's not really fixed then.
     
  60. Cyberian75

    Cyberian75 Network Guru Member

    Can't you port it over from the original firmware?
     
  61. jyavenard

    jyavenard Network Guru Member

    You seem so good, why don't you have a go at it...

    Oh wait, do you have the source code of the wireless drivers to fix the problem? No? Oh, of course, it's not open source... Duh!

    And for your information, before posting stupid unhelpful suggestion, the Asus source code doesn't let you create a guest network in 5GHz mode, only 2.4...
     
  62. Cyberian75

    Cyberian75 Network Guru Member

    Sorry, I thought it's open-sourced. How's Merlin building his then?

    Just curious...
     
  63. jyavenard

    jyavenard Network Guru Member

    Which part of "the Asus source code doesn't let you create a guest network in 5GHz mode, only 2.4..." don't you get?

    The broadcom driver is a binary blob, same with the Asus code and any broadcom based wireless router.

    Again, 5GHz virtual wireless works, with caveats. If you only set a 5GHz one and not a 2.4GHz one, it will work.
    2.4GHz and 5GHz virtual wireless at the same time, you have to manually adjust the MAC address...

    don't see the point in answering any more of your posts. Luckily there are people appreciative of the hard work done FOR FREE...
     
  64. Cyberian75

    Cyberian75 Network Guru Member

    I apologize if I offended you.
     
  65. Cyberian75

    Cyberian75 Network Guru Member

  66. jyavenard

    jyavenard Network Guru Member

    Sigh....
    The *drivers* aren't and never have been..

    Do you have anything useful to contribute?
     
  67. RMerlin

    RMerlin Network Guru Member

  68. sfbob

    sfbob Serious Server Member

    I successfully got 2- SSIDs working on a used e2000 with the Toastman 7500 build. I didn't play with it long because when I got around to speed testing the e2000, my speed test showed a terrible 9Mb when my cable has 15Mb to supply. I returned to the Linksys firmware and got the same result, so the issue is probably hardware related. From what I did attemt, I had one question on using qoS with mult-SSIDs..... I tried to place a bandwidth limit on the guest network by using the pseudo-MAC address generated that was found on the status page. I found the bandwidth could not be limited using this MAC. Any suggestions how I could trap this guest network in the qoS bandwidth settings? I know I could target the MACs of all the connected devices to this network, but since they change frequently, I prefer a global solution. I am probably missing an easy solution becasue I am fairly new to this game. Thanks.
     
  69. Yobo

    Yobo Addicted to LI Member

    Finally had a chance to check the new functionality on me E4200v1. This is a great improvement!!

    I have successfully set up multiSSID with two SSIDs both for the 2.4Ghz and 5Ghz bands (simultanuously). I have eth1 and wl0.1 on 2.4ghz, and eth2 and wl1.1 on 5Ghz. There are no MAC address conflicts. All interfaces working with WPA2.

    As for bridges, the following configurations worked:
    1) all interfaces on LAN.
    2) eth1, eth2 on LAN, wl0.1 on LAN1, wl1.1 on LAN
    3) eth1, eth2 on LAN, wl0.1 on LAN1, wl1.1 on LAN2

    The following did NOT work:
    4) eth1 and eth2 on LAN, wl0.1 and wl1.1 on LAN1. In this configuration, clients could not connect to wl1.1.
     
    Cyberian75 likes this.
  70. GhaladReam

    GhaladReam Network Guru Member

    In teaman's 1.28.0024-SDHC build, he included the following fix:

    "fix WL MAC filter to include all WL VIFs (Basic: Wireless Filter, basic-wfilter.asp"

    However this fix is detrimental to me, because my virtual SSID is for guests, and while I want my MAIN SSID to have wfilters, I do not want my guest SSID to have mac filtering. With this fix, wfilters are applied to main SSID and virtual SSID. My guest SSID is on a seperate vlan, so I want all MACs to be able to connect to it, since it can't access my main LAN at all, I don't care as much who connects (as long as they have the WPA password I provide them)

    My question is, could we make the wfilters for the WL VIF's seperate? This "fix" is also in the latest shiibby builds, I'm assuming this is because the changes in teaman's builds are incorporated into shibby's builds as well.
     
  71. Elfew

    Elfew Addicted to LI Member

    OK, I have problem with multiSSID on ASUS RT-16n... I use Shibby RT build 100 AIO.

    I set multiSSID according to the teaman manual... I see guest wifi on my devices but I cant connect to it...
     
  72. sportsnapper

    sportsnapper Serious Server Member

    Hi,

    I was interested in using MultiSSID for a guest network, and installed this build Tomato Firmware 1.28.0005 101 ND VPN (tomato-K26USB-1.28.RT-MIPSR1-101-Nocat-VPN on two routers.

    The first, a Linksys WRT610N flashed to become an e3000, works for me, and I have two networks connected to my LAN (2.4 Ghz and 5Ghz) and two guest networks that route to the internet. I occasionally get 'blips' when the network seems slow - but that could be my broadband provider, not the e3000

    The second is aWRT54GL 1.1 - This does not work. It appears to Work fine until I define the virtual wireless interface. Then the router will not reboot. A Power cycle brings router up. The Lan port interfaces work, the non virtual wireless interface works but guest network doesn't.

    As the WRT54GL is for my daughter who's rushing off to uni, I'm going to reflash, and not bother with the guest network, it was a nice to have.
     
  73. EricCartman

    EricCartman Addicted to LI Member

    Hi All

    which ver is for Asus RT-N16?
     
  74. Saarge

    Saarge Serious Server Member

    Is QOS supposed to work when using multi SSID?

    It works fine for the main lan but the extra SSID lan has its traffic classified but is shown under the wan IP instead of the lan IP for all devices. The bandwidth limiter seems to be ineffective also.

    Tried this but does not help: http://tomatousb.org/forum/t-436502/multi-ssid-qos

    I am running : v1.28.7500 MIPSR2Toastman-VLAN-RT K26 USB VPN-NOCAT

    Thanks.
     
  75. backwoodsman

    backwoodsman Addicted to LI Member

    Have you set bandwidth limits for br1, br2 and br3? I haven't played around with the multi SSID's yet, but I think that's where you'd set the limits for them.
     
  76. tompson

    tompson Serious Server Member

  77. Saarge

    Saarge Serious Server Member

    Thanks guys.

    I thought the idea of switching the main lan with the virtual one to be clever.
    I have a fairly big pipe to the interwebs so I don't require QOS absolutely.

    I setup the second SSID for the neighbours a couple of months ago.
    It's just that in the past few weeks they have been eating quite a bit more bandwidth than expected.
    A simple e-mail to them should solve things. I can always pull the plug on them if they continue abusing :)
    Low tech solutions work best sometimes.

    I might spend some time reading a bit on iptables and maybe just write my own script and skip the GUI.
    I suspect there are a few here that do that.
    I hope that skipping the GUI won't affect the stats being gathered too much.
    As long as the bandwidth stats are correct, I would be fine.
     
  78. DopeJope

    DopeJope Serious Server Member

    Hi Huys,
    I am using a Cisco E2000 wireless router (Tomato Firmware v1.28.2025 MIPSR2Teaman-RT-VLAN-PPTPD K26 USB Ext) and want to accomplish this setup:
    Current situation:
    1. Cisco E2000 with Uplink on port 1
    2. DHCP on this router is Disabled
    3. Connected users will get IP address etc. from domain
    4. Users get IP address within 10.x.x.x. range (br0)
    5. this is working fine for employees
    6. The router is basically working as an accesspoint.
    Now there is a question for implementing another SSID for a Guest network on this device
    Guests need to get their DHCP address from another range (i.e. 192.168.2.x (br1))
    A new LAN bridge has been created with DHCP enabled (192.168.2.100-150)
    DHCP is working fine when connected to this Guestnet (wireless)
    VLAN on port 3 also got DHCP (wired within the 192.168.2.x subnet)
    I can ping the virtual gateway on 192.168.2.1
    DNS requests are resolved, but there is no route to the outside.
    Here is some other info:
    ----------------------------------------
    System (Click here to hide)
    Name
    wlanrtr1
    Model
    Linksys E2000
    Chipset
    Broadcom BCM4716 chip rev 1 pkg 9
    CPU Freq
    354 MHz
    Flash RAM Size
    8 MB
    Time
    Tue, 11 Dec 2012 20:10:01 +0100

    Uptime
    0 days, 03:09:23
    CPU Load (1 / 5 / 15 mins)
    0.02 / 0.02 / 0.00
    CPU Usage
    0.95%
    Total / Free Memory
    28.10 MB / 20.61 MB (73.34%)

    LAN (Click here to hide)
    Router MAC Address
    c0:c1:xx:xx:xx:80

    Router IP Addresses
    10.0.0.25/24 on LAN (br0), 192.168.2.1/24 on LAN1 (br1)
    Gateway
    10.0.0.1
    DNS
    10.0.0.10:53

    DHCP
    Disabled on LAN (br0), 192.168.2.100 - 192.168.2.150 on LAN1 (br1)

    Wireless (eth1) (Click here to hide)
    MAC Address
    C0:C1:xx:xx:xx:82

    Wireless Mode
    Access Point + WDS
    Wireless Network Mode
    G Only
    Interface Status
    Up (LAN)
    Radio
    Enabled

    SSID
    WLAN
    Broadcast
    Enabled
    Security
    WPA Personal (PSK) + TKIP / AES

    Channel
    8 - 2.447 GHz
    Channel Width
    20 MHz
    Interference Level
    Acceptable

    Rate
    24 Mbps
    Wireless (wl0.1) (Click here to hide)
    MAC Address
    C0:C1:xx:xx:xx:83

    Wireless Mode
    Access Point
    Interface Status
    Up (LAN1)

    SSID
    WLAN-Guestnet

    Broadcast
    Enabled
    Security
    -

    ----------------------------------------
    Is it possible to have a guest net working in this manner or do i need to enter some extra information elsewhere?
    Thank in advance for all your answers and if the information provided is incomplete, please let me know.
     
  79. GhaladReam

    GhaladReam Network Guru Member

    Is there a way someone could enable the configuration in the GUI of all 16 VIFs (wl0.1-wl0.15 and wl1.1-wl1.15) on each physical interface instead of just 1-3?
     
  80. Malitiacurt

    Malitiacurt Networkin' Nut Member

    Where does it say 16 VIF's are available (but unconfigurable). If I recall correctly, Teaman said he only created up to 3 VIF per interface, 16 is the amount of VLAN's available.
     
  81. GhaladReam

    GhaladReam Network Guru Member

    The '3 VIF per interface' is only what the current GUI can configure. The current Broadcom drivers are in fact capable of creating up to 16 VIFs per physical interface. In the 'Wireless Interface Details' section of the virtual wireless page, there is mention of the 16 VIF maximum. Also, if you do an 'nvram show | grep wl0' in SSH, you will see the pre-configured MACs for wl0.1 through wl0.15 and wl1.1 though wl1.15, listed as "wlx.x_hwaddr=xx:xx:xx:xx:xx:xx" for each.

    I'm no coder, so I wouldn't know how to do this, but I'd love to see it nonetheless, or some kind of tutorial on enabling the rest of the VIFs.
     
  82. GhaladReam

    GhaladReam Network Guru Member

    Ok, so I was able to use SSH to add a wl0.4 and wl0.5 making a total of 8 SSID's on my RT-N66U. However, whenever I try to add a 9th SSID (whether physical OR virtual, on either 2.4 Ghz or 5Ghz) they all crash. Upon further investigation, it appears the Broadcom driver & wireless chip is only capable of 8 concurrent SSID/BSSID's.
     
  83. Victek

    Victek Network Guru Member

    Main problem is nvram space, we have to find a more 'common sense' configuration file remaining after a reboot or default configuration restore according with model ID (approaching openwrt).. if not nvram will be exhausted. 5.100.138.20 driver allows up to 16 SSID devices.
     
  84. GhaladReam

    GhaladReam Network Guru Member

    Hmm, I never thought about devices with only 32KB of NVRAM. I've been using my RT-N66U with 64KB so it hadn't been an issue.
     
  85. Elfew

    Elfew Addicted to LI Member

    who needs more than 8 ssids together? Are you crazy or just have nothing to do in your free time
     
  86. GhaladReam

    GhaladReam Network Guru Member

    Originally I wanted several different cloned BSSID's (MACs) with a single matching SSID for the reason listed in the article below:

    http://www.reddit.com/r/3DS/comments/1k0g58/setting_up_a_streetpass_relay_at_home/

    I have since found an alternate solution to this using a 2nd Linksys router with DD-WRT.
     
  87. fubdap

    fubdap Addicted to LI Member

    I have Multi-SSID setup and working on my N66U using Shibby’s latest (112). I also have N16 as an AP on the other end of my house using Shibby’s latest. The N16 is wired to the N66U. I will like to setup another Multi-SSID on the AP with the same ssid and password as my main router. This is so that guests do not loose connection when moving around the house. Can someone please give me a quick “how to” on how to make this happen? Thanks.
     
  88. fubdap

    fubdap Addicted to LI Member

    I'm assuming no one has this on their current setup. This is the same concept as extending wireless coverage with AP using the same ssid and security. The difference is using guest wireless to accomplish the same purpose. Any help will be appreciated.

     
  89. Malitiacurt

    Malitiacurt Networkin' Nut Member

    2 solutions.

    One is to vlan trunk the 2 networks from the gateway to the AP, then broadcast both networks. Main router handles all the br1 firewall rules related to denying access, etc.

    Other is to add a guest wifi and by piggybacking the internet connection off br0. To block guest's from accessing people on your main network, you have to add another set of iptables rules to each AP you add.

    I personally like the first solution since it's logically easier to manage when you expand to multiple AP's and don't need to remember which AP you forgot the iptables rules, but some people aren't comfortable with the vlan tagging+trunking so I guess they avoid it.
     
  90. fubdap

    fubdap Addicted to LI Member

    Thanks for responding to my question. Is there a "how to" to accomplish option #1? Thanks again.

     
  91. Malitiacurt

    Malitiacurt Networkin' Nut Member

    Don't think so, probably best way is to build it up by steps so you're able to test along the way. Have 2 ports vlan trunked through one port, then split both ports off onto your eg. 2nd and 3rd ports to test they work. Then bridge the wifi's to the vlan's.

    Basically, you just enable 802.11q tagging. Have one port tagging 2 vlans. On the other router, do the same thing and match the same VIDs.

    Split them off to different ports now (don't need to tag them when there's only one vlan per port), plug in, test to see you get ip/internet. Then do the wifi part like you would for a WAP.

    I haven't listed steps since it's been a while since I set a new one up so I might have forgotten a step.
     
    Last edited: Sep 2, 2013
  92. fubdap

    fubdap Addicted to LI Member

    @Malitiacurt - Thanks again. This is way above my technical skills. I will have to do more research. It was kind of easy to extend wireless coverage with AP with the same ssid. I was hoping you can do the same with guest wireless with a couple of tweaks.
     
  93. Malitiacurt

    Malitiacurt Networkin' Nut Member

  94. htpcdude

    htpcdude Networkin' Nut Member

    Post deleted
     
    Last edited: Sep 17, 2013
  95. coen99

    coen99 Serious Server Member

    WL0.1 virtual wireless: "wl_wpa_psk is invalid"

    Only got the problem with WPA.
    With me it simply was because my password was NOT long enough.:)
     

Share This Page