Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ethcheck(8) [mojave man page]

ETHCHECK(8)						    BSD System Manager's Manual 					       ETHCHECK(8)

NAME
ethcheck -- check the integrity of Broadcom Ethernet devices' firmware. SYNOPSIS
ethcheck --integrity-check [-b filename] ethcheck --show-hashes [-b filename] ethcheck --save -b filename ethcheck --cleanup -b filename ethcheck --version ethcheck --help DESCRIPTION
Ethcheck is an application-layer tool to check the integrity of Broadcom Ethernet devices' firmware. The following commands can be used with ethcheck: --integrity-check attempt to automatically determine which firmware you are running, integrity check against the appropriate file, and report the check result. It requires root privileges. --integrity-check -b filename integrity check the firmware image, and report the check result. --show-hashes print the hashes for the current system's Ethernet devices' firmware to stdout. It requires root privileges. --show-hashes -b filename print the hashes for the given firmware image to stdout. --save -b filename save this Ethernet device(s)'s firmware in file. It requires root privileges. File name(s) will begin with specificed filename and be selected according to device ID(s), machine model name, and firmware's version(s). E.g. filename-eth0-0x14e4-0x1686.nvram.bin --cleanup -b filename zero any privacy-sensitive data (such as MAC address), enabling the file to be shared for analysis. --version print out ethcheck version number. --help display a short help. May 25, 2017

Check Out this Related Man Page

nvram(8)						      System Manager's Manual							  nvram(8)

NAME
nvram - manipulate firmware NVRAM variables SYNOPSIS
nvram [ -p ] [ -f filename ] [ -d name ] [ -c ] [ name [= value ]] ... DESCRIPTION
The nvram command allows manipulation of firmware NVRAM variables. It can be used to get or set a variable. It can also be used to print all of the variables or set a list of variables from a file. Changes to NVRAM variables are only saved by clean restart or shutdown. In principle, name can be any string. In practice, not all strings will be accepted. New World machines can create new variables as desired. Some variables require administrator privilege to get or set. The given value must match the data type required for name. Binary data can be set using the %xx notation, where xx is the hex value of the byte. The type for new variables is always binary data. OPTIONS
-d name Deletes the named firmware variable. -f filename Set firmware variables from a text file. The file must be a list of "name value" statements. The first space on each line is taken to be the separator between "name" and "value". If the last character of a line is , the value extends to the next line. -x Use XML format for reading and writing variables. This option must be used before the -p or -f options, since arguments are pro- cessed in order. -c Delete all of the firmware variables. -p Print all of the firmware variables. EXAMPLES
example% nvram boot-args="-s rd=*hd:10" Set the boot-args variable to "-s rd=*hd:10". This would specify single user mode with the root device in hard drive partition 10. example% nvram my-variable="String One%00String Two%00%00" Create a new variable, my-variable, containing a list of two C-strings that is terminated by a NUL. example% nvram -d my-variable Deletes the variable named my-variable. October 28, 2003 nvram(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to do firmware update

Hi, am a new comer to the AIX side. i had 3 specific questions. 1) what is firmware 2) how to locate the firmware running on a unix server 3) how to do firmware update(is it something i download from IBM site) thanks everybody for taking the time and plz reply. karthik (5 Replies)
Discussion started by: karthikosu
5 Replies

2. Shell Programming and Scripting

File is not empty?

How do I check to make sure a file is not zero bytes? Something like: if then ????? (7 Replies)
Discussion started by: lesstjm
7 Replies

3. Shell Programming and Scripting

print out result from data file

i got a data file which contains all the pid,ppid,user,command,pcpu,start_time,status. I wanted to display out the pcpu which is greater than 0. i uses awk'{if($5 > 0){print}}' filename.txt but is printing out result which not i wanted. Is there any way which i can print out those pcpu which is... (8 Replies)
Discussion started by: thms_sum
8 Replies

4. UNIX for Dummies Questions & Answers

Problem: Need to check if a string argument contains "-"

I am passing a string as argument. Need to check if it contains "-". If it contains "-" then check if it contains "-r" .If Yes then print some message else check if it contains "-t".If yes print some message. How this check can be done using shell script? How I can do this by using IF OR... (7 Replies)
Discussion started by: nehagupta2008
7 Replies

5. Solaris

How do i update firmware on X4500??

I have solaris X4500 with ILOM version 1.1.1. I want to update the firmware. I know that we need to use load -source tftp://tftpserver/image file But I do not understand what is the IP address of the tftp server that we need to type in there. Kindly, help me with this. Thank you (5 Replies)
Discussion started by: bharu_sri
5 Replies

6. AIX

How can I manage redundant HMC upgrades with firmware upgrades?

Lets says I have 2 HMC's A and B, connected to a p570 managed system. Right now the firmware level of the p570 is EM320_076 and that needs to be upgraded to EM340_095. Now the HMC's are at V7R3.3 and as per the code matrix the HMC's needs to be upgraded to V7R3.4 Servicepack 2. Now my... (5 Replies)
Discussion started by: balaji_prk
5 Replies

7. AIX

If the firmware upgrade code are same for 9117-570 and 9110-510?

When I try to download firmware for pseries (power5 cpu), I found it seems the firmware upgrade code are same for 9117-570 and 9110-510. If they are the same current firmware level and want to upgrade to same firmware. Am I right? Because it descript: This package provides new firmware for... (3 Replies)
Discussion started by: rainbow_bean
3 Replies

8. Shell Programming and Scripting

if statement to check files with different ending but same starting name

I am trying to check if files staring with filename but ending with diffent dates e.g. filename.2011-10-25. The code I am using is below if It works find only if one file is present but returns binary operator expected when there are mulptiple files. Please help me correcting it. I... (5 Replies)
Discussion started by: ningy
5 Replies

9. Programming

File content handling in c

HI, I have a file with the following content like --------filename----------- this is a tool end --------filename----------- this is a tool this is a box end --------filename----------- these are tools these are boxes this is one end i want to write the content to another file as... (6 Replies)
Discussion started by: jhon1257
6 Replies

10. Shell Programming and Scripting

Script to pull hashes out of large text file

I am attempting to write a script that will pull out NTLM hashes from a text file that contains about 500,000 lines of data. Not all accounts contain hashes and I only need the ones that do contain hashes. Here is a sample of what the data looks like: There are thousands of other lines in... (6 Replies)
Discussion started by: chango77747
6 Replies

11. Shell Programming and Scripting

data integrity check needed

Hi friends I need copied 100gd of data to other Solaris server. Could anyone help me guiding appropriate way of checking data integrity at source and destination so can I delete the data at source location . How can print/check cksum of individual file in each folder and match it with... (7 Replies)
Discussion started by: hk_kamozalwar
7 Replies

12. AIX

Latest firmware version for P770

Dears i have a power7 P770 working in AIX 5.3 TL 11 with frimware AM730_066 is the AM730_066 frimware the latest one or not ? (6 Replies)
Discussion started by: thecobra151
6 Replies

13. AIX

Problem after updating the firmware!

Hello AIX experts, I have 7038-6M2 server, its operating system is AIX 5.2, and its firmware is 3K041021 After some searching on net, I tried to update its firmware level to 3K080425, so I downloaded the required rpm, and followed the steps. After rebooting the server, it stopped and an error... (6 Replies)
Discussion started by: Mohannad
6 Replies

14. Hardware

Sunfire V880

Hi Does someone have the latest firmware for a sunfire v880 I have a problem with the FC-AL disk i guess i need to upgrade the firmware but i dont have a support with oracle and i can't find it anywhere thank you (4 Replies)
Discussion started by: simplextibi
4 Replies

15. UNIX for Beginners Questions & Answers

How can i create a script that will ssh a device and type some commands?

Hi Guys, this is the scenario: ubuntu pc and I have 10 wireless devices that I need to check their firmware version. I would like to create a script that it will ask me IP, after I enter it, I hit enter then it will show me the version of the firmware. this is what i do. ssh... (9 Replies)
Discussion started by: gabak
9 Replies