Watchdog Timer Implementation On Linux Board

i want to implement watchdog timer functionality for my apllication which is running on arm board.my interest is when ever
my software hangs board has to reboot.
suggest me how to implement?


Similar Content



Watchdog & Pathrater Implementation In AODV Protocol In Ns2.35

Hi,

i wana implement the watchdog & pathrater on AODV protocol in MANETS for misbehaving nodes on NS2.35. I wana show its performance analysis via xgraph. I have added a malicious node on AODV protocol after that i couldnt figure out how can i implement watchdog and pathrater and show analysis via xgraph. I have chcked the similar threads here but it was for ns 2.34 but still i tried it and m getting errors. I downloaded the watchdog zip files and followed the instructions of text file of it. One more thing, is it necessary to set all nodes for promiscuous mode??I also need code for that. I put the watchdog-basic.zip folder in AODV folder which was inside of ns-2.35 but what should be the tcl script for watch dog i have aodv tcl file in which malicious node is added too. I am new to ns2 and linux. Please help anyone i urgently need answers.

How To Install New Binary On An Embedded Board ?

I am currently missing some binary on the board i am using like login/passwd/useradd.
I currently have them installed on my ubuntu computer and would like to know if there is a way to install them on my board ?
I naively tried to copy past the binary of the computer to the board but i am stuck with a Syntax error: word unexpected (expecting ")") error...
If i can't copy/past them then i can i do it ?

File Transfer Through UART Between Linux Host And Embedded Linux Target

Hi,

I have a target board running embedded Linux, and a host PC that runs Ubuntu. I want to be able to transfer files from the host PC to the target board through serial interface, (something like I have a terminal program on the host side that talks to the target, and I issue some command from the terminal to transfer a file to the target, the target receive the file and store it in some RAM location for later), How can I do it?
I know how to do this using ymodem on the host terminal and loady on target's u-boot command prompt, but how can I do it when target is running Linux?

Thank you all,
Wei

How To Configure Telnetd On An Embedded Linux ?

I am currently working on a sbc6000x board with linux 2.6.24 on it and would like to use the telnetd command from busybox (v1.4.2).
I can run the Telnet daemon on the board and try to connect to it from another computer but each time the connection close.

In the terminal of the computer i have : (i changed the ip with Ipoftheboard here)

Trying Ipoftheboard
Connected to Ipoftheboard
Escape character is '^]'.
Connection closed by foreign host.

I already tried to use the hosts.allow file with :
ALL : Ipofthecomputer

And i checked in /etc/initd.conf and Telnet is enabled.
I read that maybe the connection is closing because i don't have a user/password configured for the Telnet connection but i can't find where to configure them.

I must use Telnet, i can't use another solution like ssh.

.o: File Not Recognized: File Format Not Recognized When Compiling

Hello,

I am working on a board (sbc6000x with at91sam9261 micro, linux 2.6.24 to be precise) and having some fun making script i wanted to make real application.
The board is coming with a cross compilation toolchain. When trying to make a simple "hello world" executable to print on the terminal there is no problem.
I open my terminal, give the path of the compiler, cd into the folder where my .c file is and then i type :
Code:
arm-linux-gcc -o hello hello.c

Which create my executable "hello" and this one is working. But like i said, this program only played with the terminal.

The board is starting with a script calling another executable which use the lcd display, i have the source of this executable. My idea was to look at what was in the source of this application (lots of folders and files) in order to understand how it was working. I wanted to test the toolchain on the source (with the makefile) to see if i was able to generate an executable from a application with folderS/fileS but when i try to "make" it i have this error.

In my understanding this is an object file but aside from that i don't see why it would not works.

Thank you for your future answers !

Having Trouble Find Right Linux Distro

Hello everyone, I am a beginner Linux user. I have a had very little experience with it and would very much like to know more. Eventually I want to have my computer running strictly Linux.

I have experimented with a few distributions but almost all of them have had issues with my current setup. I always have trouble setting up the drivers for my video card and mouse. I have dabbled in Ubuntu(primarily), Fedora and Linux Mint.

My question is which distribution would you all suggest I use based upon my specs.

My System Specs:
CPU: AMD Phenom II X4 925 @ 2.80 Ghz
RAM: 8 GB of DDR3
GPU: AMD Radeon HD 6870 w/ 1GB VRAM
Ethernet: Killer Xeno Pro 2100 & On-Board
Mouse: R.A.T 5

If anything else is needed to help determine the right distro please let me know.

All help is much appreciated.

Want To Implement Ting Protocol Similar To Ping Protocol

Hello!
I want to implement a new protocol Ting which is exactly similar to Ping but for learning purpose I have changed its name and its classes for ping to ting.
Even I am able to make but while validation it is giving Agent/Ting command doesn't exist.

Kindly help me!
I am trying to implement since 4 days but couldn't succeed.

Is It Not Possible Run Lte On Ns 2.35

I want to run LTE files on ns 2.35.i tried a lot to patch lte on ns 2.35,2.33 and 2.34


now i m fed up.is there any solution to implement lte on ns 2.35

or any other suggestion to implement lte.......please help.

i m using ubuntu 14.04.please dont say to change the version as i already lost my complete data during installation of ubuntu.

How Implement Blackhole Attack

hello
As part of my research paper,I want to implement blackhole attack in manet using AODV protocol in NS2.Also I want to make changes in AODV protocol to implement my solution to detect blackhole attack and prevent it. How can I configure the attacker node? Which files should be changed to improve AODV protocol? and how run aodv protocol?

"make Install" In A Custom Directory ?

hi,

Because i am cross compiling busybox for an arm board and can't install directy busybox on it (it don't have apt-get/sudo/make) i tried to compile busybox with arm-linux-gcc and "make" it in a custom directory with /usr/ /bin/ sbin/ this way i could copy paste the folder and the exe in a clean root and transfert this root to my board.

Sadly i don't seems to be able to change the installation patch.
i tried with :
Code:
make install PREFIX=/home/blabla1/blabla2/blabla3

but when going into the blabla3 folder i find no file (/usr/ /bin/ and /sbin/ are present because i created them myself).

./configure can't be used because the file don't exist.

Any idea on how i could change the installation patch ?