Jump to content

Has Anybody Figured Out Watchdog On Om1p Yet?


Recommended Posts

Spent this weekend trying to get jasager installed on the om1p and up this moment am still running into watchdog issues.

Thanks to leg3nd in the #backtrack-linux forums for all his help

The firmware posted by digininja just doesn't take either manually or using any of the flash utilities.. I have been able to install openwrt by:

Downloading

http://dev.cloudtrax.com/downloads/testing/firmware/open-mesh-flash

http://dev.cloudtrax.com/downloads/testing/firmware/openwrt-atheros-root.squashfs

http://dev.cloudtrax.com/downloads/testing/firmware/openwrt-atheros-vmlinux.lzma

http://opensimpad.org/images/b/b9/RedbootSL_01.tar.bz22

1. Setting eth0 to 192.168.0.2 netmask 255.255.255.0

2. Connecting the two into their own switch

2. open-mesh-flash 1 redbootRom.bin

3. Power on om1p and wait for the flash to complete.

Once completed rinse and repeat with the openwrt firmware

open-mesh-flash 1 openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma

Once it comes back the openwrt firmware loses the 192.168.0.1 address and starts looking for DHCP on the wired interface....

So I kicked off dhcp3 eth0 on the main host

ssh root@172.16.1.x

lucid installed neither is gpio so the script I found for disabling watchdog http://www.dd-wrt.com/wiki/index.php/OM1P_config doesn't work obviously

root@openmesh: opkg update

oot@openmesh: opkg install lucid-core

oot@openmesh: opkg install gpioctl

Set this up as outlined on http://wiki-robin.meshroot.com/Howto/Open-Mesh_OM1P/Disable_Watchdog

created /tmp/sucks.sh

#!/bin/sh

/usr/bin/gpioctl dirout 3

/usr/bin/gpioctl clear 3

sleep 1

/usr/bin/gpioctl set 3

crontab -l

0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /tmp/sucks.sh

/etc/init.d/cron restart

still reboots every 5 minutes..

also zero out passwd in /etc/httpd.conf because I couldn't find the default robin password in any documentation

Link to comment
Share on other sites

What happens when you run, say, while true; do sucks.sh; done (i think that's the syntax)

Might be that cron isn't working. Also might want to switch it to */3 * * * *

Had similar issues with the new mark iii hardware.

Will check back when I get to a real computer.

What is the Mark III hardware? And is the firmware available for people who want to DIY?

Link to comment
Share on other sites

One major thing that Protocol helped me with is that after creating the heartbeat.sh and the correct crontab i didnt give heartbeat the proper chmod +x, make sure its excutable, after he helped with that minor speed bump it worked from that point on. I create the file using touch, edited with VI, then issued chmod +x (thanks to Protocol) then used crontab -e, then verified the new crontab using crontab -l

Link to comment
Share on other sites

thats because it will only run on 8.09, the first version of Kamakazie and no other. Also LuCI is auto installed with OpenWRT unless you build it yourself, the package that was installed over LUCI in the Pineapple build guide was Haserl & WebIF which is more robust.

Edited by Ghostshell
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...