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

Configuring the SES Button

Discussion in 'HyperWRT Firmware' started by kop48, Jan 15, 2006.

  1. kop48

    kop48 Network Guru Member

    I read on Thibor's site that you can configure the SES button, but I can't find where.

    I'm guessing it's a command you need to run. Anyone know what it is or how to do it?

    Cheers,
     
  2. dareino

    dareino Network Guru Member

    I entered "SES button" in the SEARCH feature and WOW there it is :)
    dr
     
  3. kop48

    kop48 Network Guru Member

    uhhhhh
    I see my post, but no other specific posts (nor remotely related ones) on SES Configuration?
     
  4. dcrane6

    dcrane6 Network Guru Member

    This is from the Tofu readme, perhaps it will be of help to you. I can't verify if it works on Thibor because I haven't tried.

    If SecureEasySetup is disabled (Advanced Wireless settings), the Cisco button is converted into a wireless on/off button which is the same thing as doing an "ifconfig eth1 up/down" command. You can also run a custom script by creating one at /tmp/ses_button. Here are a few examples that can be entered in the startup script:

    reboot

    echo "#!/sbin/reboot" > /tmp/ses_button
    chmod +x /tmp/ses_button

    start/stop telnetd

    echo "#!/bin/sh
    killall telnetd || telnetd" > /tmp/ses_button
    chmod +x /tmp/ses_button

    Source: http://www.polarcloud.com/files/readme12.htm#cisco
     
  5. _Jeff_

    _Jeff_ Network Guru Member

    Yep, Just tested that with Thibor 12 and sure enough, pressing the Cisco logo button shuts down the wireless. Cool.

    Jeff
     
  6. kop48

    kop48 Network Guru Member

    Just trying to figure out what those scripts do:
    First:
    Writes the reboot command to tmp/ses_button, then allows that file to be run
    Second:
    Is that command a toggle? ie '||' means do this command, then on the next run do the other one and so on?
     

Share This Page