|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ipconfig
I am trying to set up a laptop PC (Vista) to replace the Classmate for non-competition use. The laptop has LabVIEW and Driver Station software installed with all updates. There will be a wired connection from the laptop to the WRT610N router, and a wireless connection from the router to the bridge.
The router and the bridge are already set up properly (they work fine with the Classmate). Can someone please post the necessary ipconfig commands to configure the LAN on the laptop? Also, the ipconfig commands to change it back to the way it is now. I have attached a copy of the ipconfig/all output from the laptop. Thanks. |
|
#2
|
|||||
|
|||||
|
Re: ipconfig
Is this what you mean (with 3.58 replaced by your team #)?
I don't have much Vista specific experience though. Code:
netsh interface ip set address name="Local Area Connection" static 10.3.58.6 255.0.0.0 10.3.58.4 1 Code:
netsh interface ip set address "Local Area Connection" dhcp |
|
#3
|
||||
|
||||
|
Re: ipconfig
Quote:
Thanks! I will give that a try. |
|
#4
|
|||
|
|||
|
Re: ipconfig
When you launch the DS, it lists the NICs, and tries to determine which will be used to connect to the robot. In the situation where multiple NICs could be used, it presents a dialog allowing you to select.
With the standard setting, each launch of the DS will check and configure the NIC. If you would like to reset the IP after running the DS, you should be able to invoke the script "FRC Restore My Network Settings.bat" which is located in the Public Users Public Documents folder next to the ini file. If you do not want the DS to configure the IP, you can update the ini file to contain a line setting the value of NICName = <noNICConfig>. You should also see a message describing any IP change to the Messages box -- helping understand what NIC was modified, what IP was set to, etc. Greg McKaskle |
|
#5
|
||||
|
||||
|
Re: ipconfig
Quote:
(I would have just tried it rather than post this question, but the person who has the admin password is not presently available). |
|
#6
|
|||||
|
|||||
|
Re: ipconfig
Yes, it's just restricting the netsh operation to an administrator account.
E.g., right click on Command Prompt and click on "Run as..." once you get an administrators account. Last edited by Mark McLeod : 05-10-2010 at 15:38. |
|
#7
|
||||
|
||||
|
Re: ipconfig
Quote:
Does the DS get the info it needs (to configure the NIC) from the information contained in the FRC DS Data Storage.ini file? If so, do I need to edit that file to put the team number and ip address info in there? (I looked, and that info is not presently in there). Quote:
Quote:
|
|
#8
|
||||
|
||||
|
Re: ipconfig
When you run the DS on the setup page i think there is a box for you team number. Once you enter your team number it sets the nic to the correct settings. I'm fairly sure that it gets the current settings first and puts them in a file so they can be restored.
|
|
#9
|
||||
|
||||
|
Re: ipconfig
Quote:
I right-clicked on the netsh.exe executable and selected "run as administrator" and was able to run the commands you provided. I didn't get any error messages, but I'm wondering about the results I got. When I ran the commands: Quote:
Quote:
|
|
#10
|
|||
|
|||
|
Re: ipconfig
I'm pretty certain that you only really want static IP addresses, though it will probably work with DHCP. I seem to remember (at least in 2009 when I last messed with the guts of the protocol and I don't think it has changed) that the robot waits for the first IP address that connects to it since the last reboot (on it's sub-net) and then will subsequently only connect to that IP address. I believe (it's been a year and a half) that I have connected to our bot from 10.9.71.13 (with my own DS software), and it worked fine. I don't have access to a robot to test this out, so I'm going off memory.
|
|
#11
|
||||
|
||||
|
Re: ipconfig
Quote:
|
|
#12
|
||||
|
||||
|
Re: ipconfig
Thanks for the help guys.
Turns out the laptop has a bad ethernet connector. Well, silver lining, I learned a little about network troubleshooting. If anyone's willing to take a crack at some of the open questions though I'm still interested. Last edited by Ether : 06-10-2010 at 18:09. |
|
#13
|
|||||
|
|||||
|
Re: ipconfig
Quote:
I'm not sure, and Greg is the final authority (especially because he can change the DS app to do whatever he wants it to do), but I'll start...
I assume you meant your netsh command didn't work all the way, because the Ethernet connection turned out to be broken? When it took the Gateway, but didn't change to your static ip address. Here's what I got on an XP machine when I ran the commands. The first command takes a few seconds, but then you should have seen "Ok." returned. Not that this helps you with your broken Ethernet... Last edited by Mark McLeod : 07-10-2010 at 00:08. |
|
#14
|
||||
|
||||
|
Re: ipconfig
Quote:
|
|
#15
|
|||
|
|||
|
Re: ipconfig
I believe the Original Settings file is documented along with some of the other usage info, but the implementation details were not. The dialog about NICs should not appear except on machines where the interfaces have been renamed or when there appear to be multiple wired NICs. Then the dialog will only appear when the ini doesn't declare a NIC to use.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wireless Deployment / Ipconfig | p00rleno | NI LabVIEW | 3 | 31-01-2009 12:28 |