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

Causing Router to Produce Sound

Discussion in 'Tomato Firmware' started by Planiwa, Sep 4, 2013.

  1. Planiwa

    Planiwa LI Guru Member

    I'm particularly interested in Asus RT-N66U, but the question I have is quite general.

    Routers typically have indicator lights, which can be useful when someone is looking at them.
    But routers typically have neither a bell nor a speaker to get a human's attention.

    But there's a USB port. Hm.

    So, suppose I want to connect a speaker to the router's USB port and use it as an alert bell.

    Has anyone done something like that?
     
  2. occamsrazor

    occamsrazor Network Guru Member

  3. Planiwa

    Planiwa LI Guru Member

    Suppose I want to use a USB-powered speaker, such as Logitech S-150 USB Digital Speaker.

    Can I get a file (called "bell") with the sound of a bell in it?

    Can I simply run
    Code:
    cat bell >/dev/usbsomething
    to produce that sound?

    That's the sort of thing I'm looking for. To be used for troubleshooting.
     
  4. leandroong

    leandroong Addicted to LI Member

    or play internet music instead of bell by using optware mpd and mpc.
     
  5. quihong

    quihong Serious Server Member

    Thanks for linking to my tutorial!

    Once you have USB Audio setup, you should easily be able to setup a script or something to play your alertbell.wav as needed - "aplay alertbell.wav"
     
  6. Planiwa

    Planiwa LI Guru Member

    If the router had a bell, I would use a command like:

    Code:
    echo -e '\007'
    I am looking for the equivalent to that.

    If the router were operating satisfactorily, I could communicate with it across the internet in all sorts of ways.

    But if the router is running broken firmware that gets stuck frequently, at least I want an alarm to sound, if it has enough functionality left to do that much.
     

Share This Page