Questions. board serial.?
#1
Replication SD card -> pine64 put on other cards boot -> boot Prevention

Program Running -> Import to come to the board a unique number comparison -> incorrect shutdown -> correct execution

A unique code that is needed to make the pine64. How to import or shine?

When the label is printed on the bottom of the board there are two numbers pine64

Each board is wrong. Can a function to obtain this number from Linux ubuntu.?

Or how you can get is ?
  Reply
#2
(09-11-2016, 12:38 AM)bongky youn Wrote: Replication SD card -> pine64 put on other cards boot -> boot Prevention

Program Running -> Import to come to the board a unique number comparison -> incorrect shutdown -> correct execution

A unique code that is needed to make the pine64. How to import or shine?

When the label is printed on the bottom of the board there are two numbers pine64

Each board is wrong. Can a function to obtain this number from Linux ubuntu.?

Or how you can get is ?

If I understand your question correctly, you want to know what the serial number of your pine64 boards are? Is that correct?

When you have a board with two numbers (with bar codes) on the back, the top number (which has numbers only) is the serial number for that board. The bottom one (which will have numbers and letters) is the hardware MAC address for the ethernet.

If you wish to access the serial number via the file system  on linux, I can not help you with that.
  Reply
#3
Thank you answer

So mac address from ifconfig and Mac address labels and wrong?

How to import 'macaddress' is written on the label ?
  Reply
#4
Depending on the linux distro / image you are using, it is likely that the /boot/uEnv.txt file has a line like below in it. You can change this to match the ethernet address printed on your board. 

Code:
ethaddr=7a:6e:63:ac:21:f1


Alternatively, you could edit /etc/network/interfaces, so that the section configuring the ethernet looks something like this (hwaddress is the bit setting the mac address, and allow-hotplug eth0 prevents the boot process being halted for a couple minutes if the ethernet is not plugged in). 

Code:
allow-hotplug eth0
iface eth0 inet dhcp
  hwaddress ether 08:00:00:00:00:01
  Reply
#5
I may reproduce the sd card

This is to prevent my app to be run

After all, there is no way
  Reply
#6
OK, I think I understand your question now: You want a unique hardware ID that you can check in software

Normally you would be able to use something like the CPU serial number (cat /proc/cpuinfo), but this doesn't seemed to be exposed on the ubuntu or debian distros. Every other HW identifier you could use that I know of are x86 based, so of no use here.

Does anyone else know of an unique software accessible hardware identifier for the pine64?
  Reply
#7
Thank you.

Perhaps
If you add WIFI on board, but how macaddress ?
  Reply
#8
(09-11-2016, 09:43 PM)pfeerick Wrote: Does anyone else know of an unique software accessible hardware identifier for the pine64?

There isn't one for the ethernet PHY. 

... in fact, the software queries will return 00:00:00:00:00:00  ; however, the numbers were assigned to the vendor from ieee; most boards have the number on a sticker on the recto side of the board, and for things to work properly the first three 00:06:dc must match the one you create... the last three may be anything you like.

The wifi board does have hard mac addresses (yes, two of them); but only one radio. The second one needs to be disabled.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#9
Yes. Thank you.

I decided the way.

Creating a 24LC04 EEPROM board.

It will plant the unique number.

And it decided to check when the app is running.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Poll: interest for SPDIF-only POT board? amp 0 1,311 05-01-2019, 11:17 PM
Last Post: amp
  Audio DAC pot board nejec 2 3,561 12-09-2017, 01:43 PM
Last Post: nejec
  Zwave Board: 300, 400 or 500? Lugor 4 4,417 01-10-2017, 08:55 PM
Last Post: Lugor
  USB serial and UART Pajeet 1 1,771 09-14-2016, 05:28 AM
Last Post: HayseedGeek
  My Board Layout Diagram UnixOutlaw 8 7,216 09-09-2016, 02:41 AM
Last Post: pfeerick
  I2C Expansion Board DonFL 38 23,258 07-30-2016, 06:07 PM
Last Post: tllim
  New module: POT board Crispin 25 22,221 07-12-2016, 08:47 PM
Last Post: khgoh
  GPS expansion board stephen fleming 3 3,095 07-06-2016, 11:20 AM
Last Post: xalius
  General Battery Questions nspireing 11 8,352 07-03-2016, 03:15 AM
Last Post: pfeerick
  Few Hardware Questions dav3yb 3 3,147 03-20-2016, 11:06 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)