Go to Post Smells like gracious professionalism in here... :) - marshall [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 25-02-2010, 16:29
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
How to enable netconsole?

I have posted this in the General Forum but there was no response. I figure I may get some here.

I have never used netconsole before. I have been using a serial cable. But netconsole sounds cool, so I want to try it. But I can't get it to work. I FTP'd into the cRIO, found the ni-rt.ini file at the root folder as expected, added the "NetConsole.out;" at the beginning such as the line below.
Code:
EarlyStartupLibraries=NetConsole.out;vxfpsup.out;tsengine.out;
After rebooted the robot, I saw the COM console spitted out the following:
Code:
Loading LVRT...
* Loading EarlyStartupLibraries: NetConsole
So, it looks like it loaded the NetConsole server. After this, the COM console went quiet so it looks like all the output has been redirected from then on. But nothing showed up in the NetConsole client. The IP address box did not show anything. I even typed the robot's IP address there but as soon as I hit enter, it cleared out and nothing happened. Is there a trick that I missed? I checked my laptop's firewall and netconsole.exe is allowed to go through. Anything else I should check?

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 25-02-2010, 20:12
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: How to enable netconsole?

First of all, I commend you for making the switch to NetConsole. You will not be disappointed

First, don't hit enter when typing in the robot IP. Instead of the submit command that you would expect you are putting a newline into the IP. Just click into the console box for the IP to kick in.

Also, double-check your laptop is on a proper IP for robot comms (10.4.92.6 for you probably). Also make sure it is on the router.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2010, 20:58
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: How to enable netconsole?

I tried all that. I have put the IP address in the box without hitting enter. Although the IP address remained in the box, nothing happened. Also, the laptop has been my development platform for compiling and downloading code to the cRIO. So I am sure it has the correct IP address of 10.4.92.6. In fact, I set my router to assign me the .6 address whenever it sees my MAC. I will double check it tonight, but there is no reason to think otherwise. If I can download code to the robot, I should have perfect communication with it.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 26-02-2010, 11:04
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: How to enable netconsole?

Try using NetConsole from the developer account on the Classmate. If it works, you probably did get the IP settings wrong on the dev laptop.

Also, try switching NetConsole.out and vxfspup.out in the EarlyStartupLibraries setting. Not sure if it would do anything but I think our's is like that.

Also make sure NetConsole.out is in the ni-rt\system folder on the cRIO.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #5   Spotlight this post!  
Unread 26-02-2010, 11:45
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: How to enable netconsole?

Yes, I checked. The file NetConsole.out is in ni-rt/system folder.
Hmm, I won't have access for the Classmate PC for a while...
I will tried switching the ordering of EarlyStartupLibraries tonight.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about updating "ni-rt.ini" file to use NetConsole Randy Forgaard General Forum 2 25-02-2010 01:54
Enable Light Issues Zach O Programming 2 20-02-2010 10:08
interrupt enable 3dude_2231 Programming 6 10-02-2008 16:08
Autonomous enable/disable Culvan Van Li VEX 4 21-09-2006 13:03
enable interrupt Dean Programming 2 13-02-2005 07:37


All times are GMT -5. The time now is 15:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi