AP Rebooting

2007-08-03
2013-05-21
  • Hello,

    i´m using Wive 0.6.0 rev_a on a Edimax 7209APG, seems working fine but, radio is rebooting after 2~3 min of uptime...

    i cant see the error messages...

     
    • Schlot
      Schlot
      2007-08-03

      Does the entire AP reboot, or is it only the WiFi?

      Type:

      cat /proc/uptime

      to figure out, if the AP has rebooted, otherwise it is the wifi interface. Then you should activate syslog, type:

      syslogd

      and when the problem occured, read /var/log/messages to see what was going on there.

       
      • reboot.. ap freeze... then after 10 seconds +-.. reboot...

        i can´t see erros because its freeze.. and reboot..

        config os this radio is,
        mode: Infra Client
        web 128bits

        Bridge with eth0+eth1 with 192.168.0.1 on br0

        wlan with0 with ip 200.200.200.1
        one iptables rule to masquerade all traffic outgoing via wlan0..

        httpd and telnet removed from inetd.conf to free mor ram ..
        cron not started too to free memory..

        ...

        firmware tha i run this is for edimax (found in folder edimax) and REV A !!

        regards

         
    • cron not started too to free memory..  <-- Anyway you need some reeplacement for that because a rule of cron is to periodically notice the watchdog. If you don't send a request to the watch dog your AP will reboot. That is just what is happening now.
      Make a script what sleep 40 seconds (or more because you said that your AP rebooted after 2 minutes) and send a request to /proc/user_watchdog.
      Example:

      file: watchdog_carer
      #!/bin/sh

      while (1); do
      cat /proc/user_watchdog > /dev/null
      sleep 40
      done

      And run it at init in background.

      Bye

      PD: If I'm in mistake may be a problem related in modules in the kernel.