Is it possibile to deactivate Ethernetport?

Discussion in 'Tomato Firmware' started by Frosty2k8, Sep 26, 2008.

  1. Frosty2k8

    Frosty2k8 Addicted to LI Member

    Is it possible to deactivate Ethernetports?

    Hi folks,
    just want to know if it is possible to disable all ethernet ports (WAN/4xLAN) on a WRT54GL v1.1 @ Tomato 1.21

    thx in advance
  2. Rob650

    Rob650 Addicted to LI Member

    To disable the WAN go to Basic > Network and set WAN / Internet Type to Disabled.

    I'm just guessing here but, to disable the LAN ports you could telnet into the router and try
    ifconfig br0 down
    (I'm not sure if that's the correct interface). You would also have to put that into a startup script if you want it to run after the router is powered off.
  3. fyellin

    fyellin LI Guru Member

    Could you give us some indication of what your goal is, and perhaps we can give you more useful information?

    In any case, I believe that vlan0 is the collectively name for the four wired LAN ethernet ports. br0 is the union of vlan0 and eth1, the wireless local area network.
  4. Frosty2k8

    Frosty2k8 Addicted to LI Member

    Well the WRT54GL is connected via WDS(AP+WDS) to another one. So only Wireless clients use it.
    Unfortunately the Router stands so that everyone can physical access it (for example plug in lan-cable)
    so i want to disable the ports.
  5. fyellin

    fyellin LI Guru Member

    Okay. So there's no particular reason to disable the ethernet ports, other than you don't want people to use them. I've also got a WRT54GL connected via AP+WDS, but have found it useful to occasionally link to the device by wire.

    I think (but I'm not positive) that "ifconfig vlan0 down" will disconnect the four LAN ports, and "ifconfig eth0 down" will disconnect all the hardwire ports. I'd suggest trying this out, verifying that it does what you want it to do, and only once you're positive that it works do you add it to a startup script.

    I'm not positive how far along the network is when the "Startup" script is run. It may need to be added to the "Wan UP" or "Firewall up" script. Do some experimentation and let us know.
  6. Frosty2k8

    Frosty2k8 Addicted to LI Member

    maybe I am a bloody newbie but whats the difference between lan ports and "all" hardwire ports?
    vlan0=4xlan ?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice