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

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

YazFi - enhanced AsusWRT-Merlin Guest WiFi Networks

Discussion in 'Asuswrt-Merlin' started by Jack Yaz, Apr 8, 2018.

  1. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Hi

    YazFi: Querying router for connected WiFi clients...

    ---------------------------------------------------------------------------

    INTERFACE: wl0.1
    SSID: ASUS_Guest1

    HOSTNAME IP ADDRESS MAC
    4C:49:E3:B8:15:67
    ---------------------------------------------------------------------------

    YazFi: Query complete, please see above for results

    Redmi4X-Redmi (192.168.1.178) at 4c:49:e3:b8:15:67 [ether] on br0

    ebtables -L
    Bridge table: filter

    Bridge chain: INPUT, entries: 0, policy: ACCEPT

    Bridge chain: FORWARD, entries: 2, policy: ACCEPT
    -i wl0.1 -j DROP
    -o wl0.1 -j DROP

    Bridge chain: OUTPUT, entries: 0, policy: ACCEPT

    ebtables -t broute -L
    Bridge table: broute

    Bridge chain: BROUTING, entries: 1, policy: ACCEPT
    -p IPv4 -i wl0.1 --ip-dst 192.168.1.0/24 --ip-proto tcp --ip-dport ! 8083 -j DROP


    cat /jffs/configs/dnsmasq.conf.add
    cat: can't open '/jffs/configs/dnsmasq.conf.add': No such file or directory

    Thanks
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    The most concerning part is that last output. Does this exist?
    Code:
    /jffs/configs/tmpdnsmasq.conf.add
    Given that HGG didnt publish source for his forked f/w, I'm inclined to say it's not supported.
     
  4. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Hi
    Yes the file exist and is empty
     
  5. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    Can you send the output when you run YazFi please? (I might need to push an update to let errors appear, but lets see!)
     
  6. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Hi
    Is this ?
    /jffs/scripts# ./YazFi
    YazFi: Stale lock file found (>120 seconds old) - purging lock

    YazFi: YazFi v2.2.2 starting up

    YazFi: wl0.1 passed validation
     
  7. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    Does it not post any more output from that point? Suggests it's erroring out somewhere...let me add a "verbose" option in, will let you know when its up.
     
  8. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Hi
    Ok, thanks for the support.
     
  9. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    A quick fix, in the Config_Networks function:
    Code:
    replace
    
    2>/dev/null
    
    with
    
    #2>/dev/null
     
  10. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Hi
    ./YazFi
    YazFi: Stale lock file found (>120 seconds old) - purging lock

    YazFi: YazFi v2.2.2 starting up

    YazFi: wl0.1 passed validation

    YazFi: Adding YazFi to firewall-start

    ./YazFi: line 1: arithmetic syntax error
     
  11. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    Do you have time to do a Teamviewer session? (PM me the join code if so)
     
  12. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Yes
     
  13. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    OK, i'll keep an eye on my inbox for the details
     
  14. StefanoN

    StefanoN Occasional Visitor

    Joined:
    Dec 31, 2017
    Messages:
    17
    Hi
    Do you received my pm ?
     
  15. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    Nope, nothing come through :/
     
  16. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    v2.2.3 is available

    Changelog:

    To update:
    Code:
    /jffs/scripts/YazFi update
     
  17. owine

    owine Regular Contributor

    Joined:
    Apr 22, 2013
    Messages:
    85
    I noticed this completely neutered IPv6 on my network. Setting interfaces to false and reloading allowed me to bring IPv6 back up, but it was unusable with the script enabled.
     
    Last edited: Jun 6, 2018
  18. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    I don't touch ipv6. Another user reported ipv6 didn't work for guests but the main LAN still had access.
     
  19. owine

    owine Regular Contributor

    Joined:
    Apr 22, 2013
    Messages:
    85
    Found a separate unrelated configuration error causing this. Have not tested on the guest net but will try to do so.
     
  20. Jack Yaz

    Jack Yaz Very Senior Member

    Joined:
    Apr 20, 2017
    Messages:
    1,188
    v2.2.4 is available

    Changelog:

    To update:
    Code:
    /jffs/scripts/YazFi update
     
  21. HuskyHerder

    HuskyHerder Regular Contributor

    Joined:
    May 12, 2017
    Messages:
    162
    All's well on the update.

    Running the status check on this build seems much smoother and quicker. Could just be me, not sure.
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!