I believe I've figured out the problem. I ran configure with '--prefix=/usr/local' to put the files in /usr/local instead of /usr. However, tools_projects/Pipe/Services/ConfigController.h has DEFAULT_NETWORK_CONFIG_PATH hard-coded as "/usr/share/wimax", so NDnS was unable to load it's config file (NDnSAgentConfig_forDriver.xml or NDnSAgentDefaultConfig.xml). Changing this path to "/usr/local/share/wimax" and recompiling fixed the problem. Could you update the configure scripts to automatically update this value with the appropriate prefix? I'm still not sure why the NDnSAgent trace messages are not appearing in the log file. I tried making a whole bunch of changes to get these messages to appear (including simply removing the moduleID and severity checks from TraceAgent.c), but no matter what I do, the NDnS messages don't appear. Any ideas why these aren't showing up? I can't figure it out. On Sat, Jan 24, 2009 at 04:38:27PM -0500, Paul Donohue wrote: > I'm having trouble getting wimaxd to run. > > I installed kernel 2.6.29-rc2 and the i2400m firmware, and the card is detected properly, and the wmx0 interface is visible. > > I then compiled and installed the latest wimax tools, wimax network service, and supplicant, but wimaxd will not start. I edited /etc/wimax/config.xml and set Severities to 255 so I could see all of the debugging messages. Here's the output in /var/log/wimax/wimaxd1.log: > > 16:05:42 @Notice @-137135936 @ALL @new tarce ================================================ [Trace_Init] > @TraceAgent.c (404) @wimaxd > 16:05:42 @Notice @-137135936 @ALL @new trace wimaxd Trace file opened at 16:05:42 [Trace_Init] > @TraceAgent.c (409) @wimaxd > 16:05:42 @Notice @-137135936 @ALL @new tarce ================================================ [Trace_Init] > @TraceAgent.c (411) @wimaxd > 16:05:42 @Info @-137135936 @ACT @pipe services are initialized [Act_Initialize] > @Act.c (980) @wimaxd > 16:05:42 @Info @-137139312 @Messenger @Indication Consumer Thread started. [MessageConsumerThreadFunc] > @Messenger.c (296) @wimaxd > 16:05:42 @All @-137135936 @KDAPI_ADAPTER @Target: Driver [KDAPI_ADAPTER_Init] > @KDapiAdapter.c (244) @wimaxd > 16:05:42 @Info @-153924720 @CONFIGURATION @config param DeviceResetRetries = 5 , source=Registry [DriverMonitor_Connect] > @DriverMonitor.c (264) @wimaxd > 16:05:42 @All @-137135936 @ACT @Watchdog disabled [DriverMonitor_Init] > @DriverMonitor.c (439) @wimaxd > 16:05:42 @Info @-137135936 @ACT @Act_InitPipe succeeded [Act_Initialize] > @Act.c (993) @wimaxd > 16:05:42 @All @-137135936 @SERVICE @[PipeHandler][4.0.0.6.0] [ValidateVersion] > @VersionUtils.c (95) @wimaxd > 16:05:42 @Info @-137135936 @ACT @Act_InitializeInternalResources - succeeded. waiting for driver.. [Act_Initialize] > @Act.c (1031) @wimaxd > 16:05:42 @Notice @-162317424 @ACT @Act_MessagesHandlingThreadFunc started [Act_MessagesHandlingThreadFunc] > @Act.c (677) @wimaxd > 16:05:42 @Info @-137135936 @KDAPI_ADAPTER @trying to reset the connection to the driver [DriverMonitor_ResetDriverConnection] > @DriverMonitor.c (541) @wimaxd > 16:05:42 @Info @-137135936 @ACT @Act_Initialize (OUT) - succeeded!! [Act_Initialize] > @Act.c (1039) @wimaxd > 16:05:43 @Debug @-153924720 @KDAPI_ADAPTER @Getting system state. try=0 of of 5 [DriverMonitor_Connect] > @DriverMonitor.c (314) @wimaxd > 16:05:43 @Info @-153924720 @KDAPI_ADAPTER @Sending GetSystemState query [DriverMonitor_InitSystemState] @DriverMonitor.c (170) @wimaxd > 16:05:43 @Info @-153924720 @KDAPI_ADAPTER @SystemState updated = 15 [DriverMonitor_InitSystemState] @DriverMonitor.c (229) @wimaxd > 16:05:44 @Notice @-153924720 @ACT @Act_MessagesHandler(IN). pdwResponseMessageID=-153926796 [Act_MessagesHandler] @Act.c (491) @wimaxd > 16:05:44 @Notice @-153924720 @ACT @Act_MessagesHandler(IN). dwSentMessageID=3003 [Act_MessagesHandler] @Act.c (497) @wimaxd > 16:05:44 @All @-162317424 @ACT @Driver is up!!! [Act_DriverUp] @Act.c (593) @wimaxd > 16:05:44 @Info @-162317424 @ACT @starting ndis [Act_DriverUp] @Act.c (599) @wimaxd > 16:05:44 @Info @-162317424 @SERVICE @Sending L4 command=L4_L3_OPCODE_GET_STATE [wmx_SendL4Command] @WrappersUtils.c (216) @wimaxd > 16:05:44 @Info @-162317424 @SERVICE @returned status from driver after wmxGetStatusStr function is WMX_ST_OK [wmx_SendL4Command] @WrappersUtils.c (281) @wimaxd > 16:05:44 @Info @-162317424 @ACT @in Act_SetDeviceLEDParam function state is 15 [Act_SetDeviceConfigParam] @Act.c (331) @wimaxd > 16:05:44 @Info @-162317424 @SERVICE @Sending L4 command=L4_L3_OPCODE_GET_STATE [wmx_SendL4Command] @WrappersUtils.c (216) @wimaxd > 16:05:44 @Info @-162317424 @SERVICE @returned status from driver after wmxGetStatusStr function is WMX_ST_OK [wmx_SendL4Command] @WrappersUtils.c (281) @wimaxd > 16:05:45 @Info @-162317424 @ACT @Trying to set the operation mode. system state=15 [Act_SetOperationMode] @Act.c (413) @wimaxd > 16:05:45 @Info @-162317424 @ACT @starting supplicant [Act_InitPipeLogic] @Act.c (237) @wimaxd > 16:05:45 @Info @-162317424 @Supplicant_Agent@InitSupplicantLibrary (IN) [InitSupplicantLibrary] @SupplicantAgent.c(259) @wimaxd > 16:05:45 @Notice @-162317424 @Supplicant_Agent@TLS source - External [InitSupplicantLibrary] @SupplicantAgent.c(319) @wimaxd > 16:05:45 @Info @-162317424 @Supplicant_Agent@Using external TLS implementation [InitSupplicantLibrary] @SupplicantAgent.c(332) @wimaxd > 16:05:45 @Info @-162317424 @Supplicant_Agent@InitSupplicantLibrary (OUT) [InitSupplicantLibrary] @SupplicantAgent.c(345) @wimaxd > 16:05:45 @Notice @-162317424 @Supplicant_Agent@SupplicantAgent_Initialize Succeeded. Target ID=4 [SupplicantAgent_Initialize] @SupplicantAgent.c(1346) @wimaxd > 16:05:45 @Info @-162317424 @ACT @starting ndns [Act_InitPipeLogic] @Act.c (245) @wimaxd > 16:05:45 @Error @-162317424 @ACT @starting ndns failed [Act_InitPipeLogic] @Act.c (248) @wimaxd > 16:05:45 @Error @-162317424 @ACT @configuration problem [Act_DriverUp] @Act.c (630) @wimaxd > 16:05:45 @Info @-162317424 @ACT @exiting... [Act_Exit] @Act.c (192) @wimaxd > 16:05:45 @Notice @-196359280 @ACT @Act_Shutdown(IN) [Act_Shutdown] @Act.c (857) @wimaxd > 16:05:45 @Notice @-196359280 @ACT @Act_Shutdown() - Act_FreeInternalResources [Act_Shutdown] @Act.c (863) @wimaxd > 16:05:45 @Notice @-196359280 @ACT @Act_Shutdown() - DriverMonitor_Stop [Act_Shutdown] @Act.c (884) @wimaxd > 16:05:45 @Notice @-196359280 @ACT @Act_Shutdown() - l5_sockets_dispatcher_Stop [Act_Shutdown] @Act.c (887) @wimaxd > 16:05:45 @Notice @-196359280 @ACT @Act_Shutdown() - PIPE_HANDLER_Stop [Act_Shutdown] @Act.c (890) @wimaxd > 16:05:45 @Info @-137139312 @Messenger @Stop Event Signaled - Thread Aborting! [MessageConsumerThreadFunc] @Messenger.c (304) @wimaxd > 16:05:45 @Notice @-196359280 @ACT @Act_Shutdown() - Act_FiniPipeLogic [Act_Shutdown] @Act.c (899) @wimaxd > 16:05:45 @Info @-196359280 @Supplicant_Agent@ResetSupplicantLibrary (IN) [ResetSupplicantLibrary] @SupplicantAgent.c(828) @wimaxd > 16:05:45 @Info @-196359280 @Supplicant_Agent@ResetSupplicantLibrary: erasing DS context [ResetSupplicantLibrary] @SupplicantAgent.c(831) @wimaxd > 16:05:45 @Info @-196359280 @Supplicant_Agent@ResetSupplicantLibrary: erasing last eap request data [ResetSupplicantLibrary] @SupplicantAgent.c(837) @wimaxd > 16:05:45 @Info @-196359280 @Supplicant_Agent@ResetSupplicantLibrary (OUT) [ResetSupplicantLibrary] @SupplicantAgent.c(840) @wimaxd > 16:05:45 @Notice @-196359280 @Supplicant_Agent@SupplicantAgent_Shutdown Succeed! [SupplicantAgent_Shutdown] @SupplicantAgent.c(1275) @wimaxd > 16:05:45 @Info @-196359280 @KDAPI_ADAPTER @Waiting for driver connect thread to close [DriverMonitor_Fini] @DriverMonitor.c (451) @wimaxd > > After printing the "starting ndns" message above, InitPipeLogic() in Act.c calls NDnSAgent_Initialize(), which immediately calls "TRACE(TR_MOD_NDNS_AGENT, TR_SEV_NOTICE, ("NDnS Agent - initialization started"));" but I don't see that message anywhere in the logs. So, I have no clue how to figure out what's wrong, since it basically just looks like NDnSAgent_Initialize() isn't actually being called. > > Any help would be appreciated. > > Thanks. > -Paul > > _______________________________________________ > wimax mailing list > wimax@xxxxxxxxxxxxxx > http://www.linuxwimax.org/mailman/listinfo/wimax >