Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   cannot ping roborio (http://www.chiefdelphi.com/forums/showthread.php?t=152293)

MikePerreman 17-11-2016 18:12

Re: cannot ping roborio
 
well, new development if i connect over ethernet, then connect over wifi, all is well, untill, i connect to a different wifi, then back to the bot, it wont re-connect to the bot.

Mark McLeod 17-11-2016 20:48

Re: cannot ping roborio
 
When it fails to connect to the roboRIO, to see if it helps you might try:
cmd prompt> ipconfig /renew

Your PC may be retaining the previous DHCP address it was given.

MikePerreman 17-11-2016 21:44

Re: cannot ping roborio
 
alright, if this works, is there a way to automatically do this every time i connect to a new network?

EDIT: i found out that task scheduler existed.

MikePerreman 21-11-2016 16:16

Re: cannot ping roborio
 
Alright, it seems to be working now. ill update if anything goes wrong. Thanks for the help, Mr. McLeod!

Mark McLeod 21-11-2016 16:27

Re: cannot ping roborio
 
Glad you got it working!

MikePerreman 21-11-2016 17:26

Re: cannot ping roborio
 
nope, i spoke to soon, its not re-establishing comms after putting ipconfig /renew into run once i connect to the bot radio. however, if i reboot, then, before connecting to any other networks, it connects fine, but once i connect to the shop internet, it no longer works, even with ipconfig /renew

MikePerreman 21-11-2016 17:36

Re: cannot ping roborio
 
also, im not sure if this is related, but i keep dropping connection to the shop wifi, when i do, i can connect to the bot, 9/10. this is starting to sketch me right the frig out.

Mark McLeod 21-11-2016 19:06

Re: cannot ping roborio
 
Here's another series of commands to try (all as administrator):
  • cmd prompt> netsh winsock reset
  • cmd prompt> netsh int ip reset
  • cmd prompt> ipconfig /release
  • cmd prompt> ipconfig /renew (just listing this for completeness)
  • cmd prompt> ipconfig /flushdns

You can try reinstalling or updating the PC's wireless driver through the Device Manager (Update Driver on the Driver tab for the wireless adapter) or if you can locate the latest network adapter driver software on the manufacturers website.

When the PC doesn't connect, you can try disabling, then re-enabling just the wireless adaptor.

See if you can find a local network expert to take a look at what your pc is doing. Without being able to put my hands on it I'm just going to be shooting in the dark at this point.
That doesn't mean I won't try. :)

G_rupp 21-11-2016 19:32

Re: cannot ping roborio
 
We had a Windows 8.? computer at a quick build a couple of years ago with a similar issue. The operator selected Public from the list of network location choices (Home, Work or Public) this caused it to block the IP of the wireless connection on the router.

Depending on the Windows version, this can be difficult to diagnose and reset to allow it.

Search for "how to change network location to private" and follow instructions based on Windows version.

MikePerreman 22-11-2016 15:27

Re: cannot ping roborio
 
here is the response out of the terminal:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>netsh winsock reset

Sucessfully reset the Winsock Catalog.
You must restart the computer in order to complete the reset.


C:\WINDOWS\system32>netsh int ip reset
Resetting Interface, OK!
Resetting , failed.
Access is denied.

Restart the computer to complete this action.


C:\WINDOWS\system32>ipconfig /release

Windows IP Configuration

No operation can be performed on Ethernet while it has its media disconnected.

Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : lan

Wireless LAN adapter Wi-Fi 2:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::7890:2e26:f32e:b804%14
Default Gateway . . . . . . . . . :

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

C:\WINDOWS\system32>ipconfig /renew

Windows IP Configuration

No operation can be performed on Ethernet while it has its media disconnected.

Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : lan

Wireless LAN adapter Wi-Fi 2:

Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : fe80::7890:2e26:f32e:b804%14
IPv4 Address. . . . . . . . . . . : 10.2.47.166
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.2.47.129

Tunnel adapter isatap.lan:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : lan

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

C:\WINDOWS\system32>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\WINDOWS\system32>

MikePerreman 22-11-2016 15:31

Re: cannot ping roborio
 
yes, the network is private, and there is no network professional available to us, we could do something like team veiwer, but i dont know.


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

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