Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Raspberry client cloning
PostPosted: Wed Apr 16, 2014 2:31 am 
Offline

Joined: Wed Apr 16, 2014 2:10 am
Posts: 2
I use a collection of raspberry clients.

To ease the installation of new raspberrypi's I just want to clone the SD card. This results in an identity conflict between cloned devices. They all appear to have the same identity.

What identification does neorouter use to identify a client? How can I script a new identitiy to a raspberry client?

Is it possible to use the /dev/eth0 MAC address to identify a client?


Top
 Profile  
 
 Post subject: Re: Raspberry client cloning
PostPosted: Wed Apr 16, 2014 8:19 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Hi RvanStapele,

It's because the MAC information is cached in the files under
/usr/local/ZebraNetworkSystems/NeoRouter

In your cloned system, stop the NR client service, go to the folder delete all files under it, restart the NR client service and run nrclientcmd, sign in to register it (you can also use nrclientcmd -register parameter to register it). Once you sign in successfully , it will generate new setting files and cache MAC address and server information.

Let us know if you have any question.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: Raspberry client cloning
PostPosted: Tue Sep 29, 2015 11:28 am 
Offline

Joined: Tue Sep 22, 2015 5:15 pm
Posts: 6
kevinz wrote:
In your cloned system, stop the NR client service, go to the folder delete all files under it, restart the NR client service and run nrclientcmd, sign in to register it (you can also use nrclientcmd -register parameter to register it). Once you sign in successfully , it will generate new setting files and cache MAC address and server information.


Kevin, you are a man of few words!

However, I prefer nice, clear, and complete instructions. I plan to clone a LOT of raspis, ideally this should be automated but for now the manual steps for Raspberry pi are:

1. Open Terminal if your in X-Windows (or quit to the command prompt).
2. Type:
Code:

sudo service nrservice.sh stop
[ ok ] Stopping NeoRouter client service: nrservice.

3. Erase old config file:
Code:
sudo rm /usr/local/ZebraNetworkSystems/NeoRouter/Client.xml

4. If you have been trying out multiple Neo Router products and/or servers you should erase this file too:
Code:
sudo rm /usr/local/ZebraNetworkSystems/NeoRouter/DNSCache.xml

5. Re-start the service:
Code:
sudo service nrservice.sh start
[ ok ] Starting NeoRouter client service: nrservice.

6. If you want this Raspi to have a different device name, use raspi-config to change the HOSTNAME.
Code:
sudo raspi-config

- Choose ADVANCED SETTINGS
- Choose HOSTNAME
7. Re-configure the Neo Router Client.
Code:
nrclientcmd

- Answer the on-screen prompts and your new clone will be good to go!


Hope this helps.

Rich.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: