Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: 2 devices with neorouter fighting for the same address
PostPosted: Thu Jul 23, 2015 7:22 am 
Offline

Joined: Thu Jul 23, 2015 6:37 am
Posts: 2
I am connecting several raspberry pi devices together with NeoRouter. The NeoRouter server is installed on amazon AWS.

each device periodically (every minute) checks if its NeoRouter is connected, if it's not connected then it executes:
sudo /usr/bin/nrclientcmd -d <domain> -u <user> -p <pass>

There are two devices that are fighting on the same address, when one attempts to connect, it says "Connecting to NeoRouter Client Service.", then "Signing in." and connects with the address 10.0.0.8
When this happens, the second device is disconnected because it was connected with the same address, and then the second device attempts to reconnect and causes the first device to disconnect... this continues for ever,

Both devices are constantly connected to the internet.

Why is NeoRouter not realizing that this address is being used and that it should find another address?
How can i fix this?

Thanks

Omar


Top
 Profile  
 
 Post subject: Re: 2 devices with neorouter fighting for the same address
PostPosted: Thu Jul 23, 2015 5:25 pm 
Offline

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

Generally when two devices are fighting with the same virtual IP addresses, please verify if the MAC address of the primary network adapter on those devices are same. If not, completely uninstall NR client from one of the devices and re-install it again. After uninstall NR client, delete the main config folder - ZebraNetworkSystems folder. Do not copy the folder from one device to another, as the Client.xml caches the MAC address and it will cause the problem as well.

Let us know if you still have the problem.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: 2 devices with neorouter fighting for the same address
PostPosted: Fri Jul 24, 2015 1:38 am 
Offline

Joined: Thu Jul 23, 2015 6:37 am
Posts: 2
Your solution worked, Thank you very much KevinZ !!

The problem was that i was doing all raspberry pi installations using one raspberry pi, and then i would take the SD card and put it in another raspberry pi.

Is there a way to reconfigure the neorouter to the new device MAC without having to reinstall it? i tried to delete the Client.xml but this didnt do it.

Omar


Top
 Profile  
 
 Post subject: Re: 2 devices with neorouter fighting for the same address
PostPosted: Fri Jul 24, 2015 3:32 pm 
Offline

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

Deleting client.xml should work if you stop the nr client and service.

Thanks,
KevinZ - NeoRouter team


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 16 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: