Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: FreeBSD Client and Server on same box
PostPosted: Tue Jul 26, 2011 8:37 am 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
Luckily Neorouter Dashboard tells me my external IP and I was able to open my firewall to get ssh access earlier :D and eureka we have logs.

Code:
1969-12-31 23:59:59|82426|34378629568|******************************************
1969-12-31 23:59:59|82426|34378629568|            TraceLog Starts
1969-12-31 23:59:59|82426|34378629568|
1969-12-31 23:59:59|82426|34378629568|
1969-12-31 23:59:59|82426|34378629568|1.5.1.2820
1969-12-31 23:59:59|82426|34378629568|******************************************
1969-12-31 23:59:59|82426|34378629568| |+[HRESULT CServiceInstance::Initialize()]
1969-12-31 23:59:59|82426|34378629568| |   [static HRESULT COpenSSLLockManager::ThreadingSetup()]
1969-12-31 23:59:59|82426|34378629568| |  +[static HRESULT CPFManager::GlobalInitialize()]
1969-12-31 23:59:59|82426|34378629568| |  -[static HRESULT CPFManager::GlobalInitialize()](hr=0x0)
1969-12-31 23:59:59|82426|34378629568| |  +[static HRESULT CNicDevice::GlobalInitialize()]
1969-12-31 23:59:59|82426|34378629568| |  -[static HRESULT CNicDevice::GlobalInitialize()](hr=0x0)
1969-12-31 23:59:59|82426|34378629568| |-[HRESULT CServiceInstance::Initialize()](hr=0x0)
1969-12-31 23:59:59|82426|34378629568| |+[HRESULT CServiceInstance::Start()]
1969-12-31 23:59:59|82426|34378629568|T|  ifconfig -a | grep "BROADCAST,RUNNING,SIMPLEX,MULTICAST" | cut -c 1-2
1969-12-31 23:59:59|82426|34378629568|T|  Primary Network Adapter: ms
1969-12-31 23:59:59|82426|34378629568|T|  HDInfoModule::GetHardwareId failed
1969-12-31 23:59:59|82426|34378629568| |  +[void CServiceInstance::Stop()]
1969-12-31 23:59:59|82426|34378629568| |  -[void CServiceInstance::Stop()]
1969-12-31 23:59:59|82426|34378629568| |-[HRESULT CServiceInstance::Start()](hr=0x80810002)
1969-12-31 23:59:59|82426|34378629568|T|/usr/local/bin/nrservice failed to start due to error -2139029502.
1969-12-31 23:59:59|82426|34378629568| |+[void CServiceInstance::Stop()]
1969-12-31 23:59:59|82426|34378629568| |-[void CServiceInstance::Stop()]
1969-12-31 23:59:59|82426|34378629568| |+[void CServiceInstance::Uninitialize()]
1969-12-31 23:59:59|82426|34378629568| |  +[CHeartBeatGlobalTimerQueue::CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|82426|34378629568| |  -[CHeartBeatGlobalTimerQueue::CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|82426|34378629568| |  +[virtual CHeartBeatGlobalTimerQueue::~CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|82426|34378629568| |  -[virtual CHeartBeatGlobalTimerQueue::~CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|82426|34378629568| |   [static HRESULT COpenSSLLockManager::ThreadingCleanup()]
1969-12-31 23:59:59|82426|34378629568| |-[void CServiceInstance::Uninitialize()]
1969-12-31 23:59:59|82426|34378629568|******************************************
1969-12-31 23:59:59|82426|34378629568|             TraceLog Stops
1969-12-31 23:59:59|82426|34378629568|
1969-12-31 23:59:59|82426|34378629568|
1969-12-31 23:59:59|82426|34378629568|******************************************#


However I did have the HardwareID in the Features.ini previously. I removed everything but what you told me but from the trace above it looks like it didn't see it. How can I verify that it is even looking at the Features.ini file?


Top
 Profile  
 
 Post subject: Re: FreeBSD Client and Server on same box
PostPosted: Tue Jul 26, 2011 9:43 am 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
Yea. It's definately ignoring Feature.ini. I even put intentional errors in it such as improper MAC and changed the NicInterfaceName to the wrong name and the log always says the same error as if I haven't made a change at all in the file. Also, my interface name is msk not ms as the nrservice is reading it. I use the if_msk driver so it shows up as msk0. Perhaps nrservice only looks at the first 2 letters and expects a number for the interface on FreeBSD? I have the client on another FreeBSD box that has "re" interfaces and it is working fine.

Hope this helps a little.


Top
 Profile  
 
 Post subject: Re: FreeBSD Client and Server on same box
PostPosted: Tue Jul 26, 2011 10:41 am 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
There is a known issue that nrservice does not pick up this specific setting correctly. We had fixed it in a feature branch, but did not include the fix in v1.5.1 release. We will include the fix in future releases.

To work around the issue you have, try create /usr/local/ZebraNetworkSystems/NeoRouter/Client.xml with the following content. I believe this should allow you to temporarily work around the issue, until the correct fix for Features.ini is released.

Code:
<Client Version="1.0">
    <GlobalSettings>
        <HardwareID VALUE="your mac address" />
    </GlobalSettings>
</Client>

_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: FreeBSD Client and Server on same box
PostPosted: Tue Jul 26, 2011 10:51 am 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
Appears that it is ignoring that as well same error.

Code:
23:59:59|02736|34378629568|******************************************
1969-12-31 23:59:59|02736|34378629568| |+[HRESULT CServiceInstance::Initialize()]
1969-12-31 23:59:59|02736|34378629568| |   [static HRESULT COpenSSLLockManager::ThreadingSetup()]
1969-12-31 23:59:59|02736|34378629568| |  +[static HRESULT CPFManager::GlobalInitialize()]
1969-12-31 23:59:59|02736|34378629568| |  -[static HRESULT CPFManager::GlobalInitialize()](hr=0x0)
1969-12-31 23:59:59|02736|34378629568| |  +[static HRESULT CNicDevice::GlobalInitialize()]
1969-12-31 23:59:59|02736|34378629568| |  -[static HRESULT CNicDevice::GlobalInitialize()](hr=0x0)
1969-12-31 23:59:59|02736|34378629568| |-[HRESULT CServiceInstance::Initialize()](hr=0x0)
1969-12-31 23:59:59|02736|34378629568| |+[HRESULT CServiceInstance::Start()]
1969-12-31 23:59:59|02736|34378629568|T|  ifconfig -a | grep "BROADCAST,RUNNING,SIMPLEX,MULTICAST" | cut -c 1-2
1969-12-31 23:59:59|02736|34378629568|T|  Primary Network Adapter: ms
1969-12-31 23:59:59|02736|34378629568|T|  HDInfoModule::GetHardwareId failed
1969-12-31 23:59:59|02736|34378629568| |  +[void CServiceInstance::Stop()]
1969-12-31 23:59:59|02736|34378629568| |  -[void CServiceInstance::Stop()]
1969-12-31 23:59:59|02736|34378629568| |-[HRESULT CServiceInstance::Start()](hr=0x80810002)
1969-12-31 23:59:59|02736|34378629568|T|/usr/local/bin/nrservice failed to start due to error -2139029502.
1969-12-31 23:59:59|02736|34378629568| |+[void CServiceInstance::Stop()]
1969-12-31 23:59:59|02736|34378629568| |-[void CServiceInstance::Stop()]
1969-12-31 23:59:59|02736|34378629568| |+[void CServiceInstance::Uninitialize()]
1969-12-31 23:59:59|02736|34378629568| |  +[CHeartBeatGlobalTimerQueue::CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|02736|34378629568| |  -[CHeartBeatGlobalTimerQueue::CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|02736|34378629568| |  +[virtual CHeartBeatGlobalTimerQueue::~CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|02736|34378629568| |  -[virtual CHeartBeatGlobalTimerQueue::~CHeartBeatGlobalTimerQueue()]
1969-12-31 23:59:59|02736|34378629568| |   [static HRESULT COpenSSLLockManager::ThreadingCleanup()]
1969-12-31 23:59:59|02736|34378629568| |-[void CServiceInstance::Uninitialize()]
1969-12-31 23:59:59|02736|34378629568|******************************************
1969-12-31 23:59:59|02736|34378629568|             TraceLog Stops


Top
 Profile  
 
 Post subject: Re: FreeBSD Client and Server on same box
PostPosted: Tue Jul 26, 2011 11:27 am 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
Sorry about that. I am trying to find a temporary solution for you to work around the bug. When we release the fix, everything should work as expected.

Can you try to rename the network adapter to two letters like "ms"? http://jafdip.com/index.php/2008/09/08/ ... reebsd-7x/

Thanks,
Luke

_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: FreeBSD Client and Server on same box
PostPosted: Tue Jul 26, 2011 11:37 am 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
Worked perfectly. Maybe you should move this over to the bug report thread. However, with some warnings such as you need to adjust pf.conf, interface aliases etc in rc.conf before rebooting or holy hell may break loose =D Again, thanks for all you help and patience.


Top
 Profile  
 
 Post subject: Re: FreeBSD Client and Server on same box [TEMP SOLVED]
PostPosted: Thu Aug 04, 2011 5:40 am 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
MyJuliet wrote:
I am also having the same problem. Has anybody had any luck in resolving this issue?


What does your network card register as in ifconfig? Ex. re0, msk0, etc. Paste your ifconfig.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

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