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 ?


Similar Content



Grep Is Not Working In RHEL5.3

Hi,

I have Redhat 5.3 running on my machine. But when I am login through putty it gives me below error.
Without running any grep command I get this error on login and the grep command doesn't work.

login as: root
root@IP's password:
Last login: Mon Feb 16 15:27:55 2015 from IP
-bash: /bin/egrep: cannot execute binary file
-bash: /bin/egrep: cannot execute binary file
-bash: /bin/egrep: cannot execute binary file
-bash: /bin/grep: cannot execute binary file
-bash: /bin/grep: cannot execute binary file
[root@bkpdrill ~]# grep MemTotal /proc/meminfo
-bash: /bin/grep: cannot execute binary file

Mplayer Install Gc Error

I've just installed Ubuntu 14.04 LTS on my virtual machine,(it's a little bit too slow but this is not my main problem), I want to install mplayer on it, I've downoaded mplayer source code with binary codecs (essentials) from the official website, I read carefully the install and readme docs, but once I type "./onfigure --enable-gui"
I got a message like : "gc error, cc could not excute ...." is there any help ?

NB : I don't have internet access

How To Make .bin File Of C Code

I have simple c code and I want to make .bin file to run on friendly arm board. In redhat I install cross compile gcc and Use "gcc -o hello hello.c" this command to make object file. when I run this file in friendly arm it give "line 1: syntax error: unexpected "(" "

Thanks
--
Abdul Wahab

"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 ?

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.

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?

Cp $var1 Var2 Doesn't Work

I'm running a bash script on a Raspberry Pi to control LED pixels. I'm stuck on a basic copy command.

I have a variable called nexttemp which contains the string B_254_TieDyeKaleidoscope.fseq

That file, in the same directory, is a large binary file that I'm trying to copy to a file called MasterFseq.fseq

If I do a

cp nexttemp MasterFseq.fseq

then MasterFseq.fseq contains the B_254_TieDyeKaleidoscope.fseq file name.

I want instead to have copied the binary file to MasterFseq.fseq.

It's my understanding that a $nexttemp will point to the binary file and not the name of it but when I do a

cp $nexttemp MasterFseq.fseq

the $nexttemp is thrown away and I'm told there is no destination file name, eg.

root@FPP:/home/pi/media/sequences# echo cp $nexttemp MasterFseq.fseq
+ echo cp MasterFseq.fseq
cp MasterFseq.fseq

How do I get the binaray file, which is named in nexttemp, copied to MasterFseq.fseq?

John

ASCII Vs. Binary Files

Trying to work with gnuplot in Ubuntu 12.04 I run into confusing comments about binary vs. ASCII files. Take this as an example for instance. Looking for a good explanation I open this link. It is an outstanding sample of confusion and obfuscation. My own understanding is that binary is an executable file and ASCII is a source file. With gnuplot it is all upside down. I am confused.

Thanks,- A.

What Is Debian GNU/Linux 7.8.0_Wheezy_- Official I386 DVD Binary-1

I recently installed debian-7.8.0-i386-DVD-1.iso on a VirtualBox. It "live booted" just fine and then I followed the install instructions. As far as I can tell it works. ??? I dont know. here is the issue. When I tried to instal from the Add/remove software in the applications. I get a notice to load 'Debian GNU/Linux 7.8.0_Wheezy_- Official i386 DVD Binary-1' in the dvd tray, after it starts to load/install. so what is really going on there? why do I need to use this? how do I get around it. I appreciate the input. Keep in mind I have know idea about how Linux works. First time user.

Cannot Login As A Different User Than The One Created At Installation Time

I have created a new user with "useradd" than changed the password with "passwd" (logged in as an administrator). After that I tried to login as the new user but couldn't. Error message was: "call to lnusertemp failed (temporary directories full?). Check your installation".

I currently use Debian 8.

I checked the home directory and couldn't find a new created folder for the new user (wasn't supposed to be done automatically by useradd?) and I checked the etc/password and there was the new user name inside it though.

What should I do? I really need to have more than one user on this computer...