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

Breaking up br0 of WRT54G

Discussion in 'Cisco/Linksys Wireless Routers' started by albundy, May 4, 2005.

  1. albundy

    albundy Network Guru Member

    Does any of the alternative firmwares for the WRT54G offer functionality to break up the br0 device without having to telnet or ssh to the router?
    I want to break up the br0 device and use separate IP ranges for the WLAN and the internal LAN devices.

    Doing this from the webinterface makes this a lot easier than typing commands in a telnet or ssh session.

    CU

    Al B.
     
  2. Guyfromhe

    Guyfromhe Network Guru Member

    i don't believe so but you should be able to do that as a startup command so you only have to do it once...
     
  3. knight14th

    knight14th Network Guru Member

    Write a script on your WRT an call it:

    #!/bin/sh
    ifconfig br0 down
    brctl delbr br0
    ifconfig eth1 10.0.0.1 netmask 255.255.255.240 broadcast 10.0.0.15
    #wlconf eth1 up
    ifconfig vlan0 192.168.1.1 netmask 255.255.255.0

    WLAN becomes 10.0.0.0/28 and LAN becomes 192.168.1.0/24 and you ssh/telnet will not die while running this script.
     
  4. albundy

    albundy Network Guru Member

    Thanks guys.
    I will try this.

    CU

    Al B.
     
  5. albundy

    albundy Network Guru Member

    Hmm, didn't work. After running the script it was no longer possible to contact the WRT54G via wired or wireless.

    I changed the ip addresses to match my situation but that shouldn't be the cause I think.

    #!/bin/sh
    ifconfig br0 down
    brctl delbr br0
    ifconfig eth1 192.168.5.100 netmask 255.255.255.0 broadcast 192.168.5.255
    #wlconf eth1 up
    ifconfig vlan0 192.168.6.100 netmask 255.255.255.0

    Did I do something wrong?
    I was wondering why the line containing "wlconf eth1 up" is disabled? It was already disabled in the script from knight14th.
    Are the lan adapters configured but not activated?
    Do I need to do "wlconf eth1 up" and "wlconf vlan0 up" for the adapters to come online?

    BTW: Before power cycling the linksys the script was in the home directory of the root user but after power cycling the script was gone.
    Is the root users home dir in RAM? Where will the script be safe for power cycling and the resetbutton?

    Oh, I forgot. I use Satori firmware and have a V2 WRT54G.

    CU

    Al B.
     

Share This Page