Go to Post My fondest memory was asking questions about Spirit and Opportunity to a NASA scientist while dressed up in a lion suit. - Adam Y. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-03-2016, 16:38
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Can connect to the roboRIO by IP but not by hostname

We have run into this issue where one laptop (the programming laptop) is not able to connect to the roborio by hostname (roborio-5428-frc.local), but we can connect via IP (10.54.28.90). This problem only exists with this laptop, however, it is our programming laptop, and we are unable to upload code or ssh files into the rio by hostname. This also causes the driverstation to not be able to connect to the robot, even though it can connect to the radio. Using another laptop is not feasible right now. I hypothesize the issue occurs on the side of the laptop.
__________________
Hsifeulbhsifder
___________________
"Any given computer program is obsolete, any set of written rules is incomplete"
  #2   Spotlight this post!  
Unread 07-03-2016, 17:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,810
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

The standard questions apply:
- What is the operating system on the troublesome PC?
- Are all firewalls off?
- All anti-virus off?
- Extra NIC's Disabled?
- Is the mDNS service running (NI mDNS Responder Service)?
- Is anything listed when you click on the arrow beside the team number on the Driver Station Setup tab?

If Windows 10 there are a couple of extra steps to turn things off.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-03-2016 at 17:12.
  #3   Spotlight this post!  
Unread 07-03-2016, 17:24
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Re: Can connect to the roboRIO by IP but not by hostname

It is a windows 10 laptop. Firewalls and antivirus are off. Not sure if the extra NIC's are disabled. nimDNSResponder is running. Robot Radio is the only green light on the ds setup tab.
__________________
Hsifeulbhsifder
___________________
"Any given computer program is obsolete, any set of written rules is incomplete"
  #4   Spotlight this post!  
Unread 07-03-2016, 17:26
rfolea's Avatar
rfolea rfolea is offline
Registered User
AKA: Rick Folea
no team (Forsyth Alliance)
Team Role: Mentor
 
Join Date: May 2005
Rookie Year: 2005
Location: US
Posts: 211
rfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant future
Re: Can connect to the roboRIO by IP but not by hostname

Is the laptop set for static ip or dhcp?
  #5   Spotlight this post!  
Unread 07-03-2016, 17:35
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Re: Can connect to the roboRIO by IP but not by hostname

Quote:
Originally Posted by rfolea View Post
Is the laptop set for static ip or dhcp?
It is set to DHCP.
__________________
Hsifeulbhsifder
___________________
"Any given computer program is obsolete, any set of written rules is incomplete"
  #6   Spotlight this post!  
Unread 07-03-2016, 18:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,810
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

For Windows 10 there is an additional step to turning off the firewall.
MamaSpoldi reported this one:
- On the regular firewall page is a link to Advanced settings.
- The Advanced settings page will be divided into several sections, but at the bottom of the first section (Overview) will be another link to Windows firewall properties.
- Under that turn the first item from On to Off.
- Then reboot the Win 10 machine for it to take effect.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-03-2016 at 18:34.
  #7   Spotlight this post!  
Unread 07-03-2016, 18:42
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 518
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

We had a almost 2 hours FTA visit at Waterford Thursday night. Not happy, could not get through inspection because our drivers station would not connect with robot, to power the pneumatic tests. Many, Many things were checked and tested, and after the roborio was reflashed and re firmwared and reloaded something clicked and it started working. Arron the FTA is excellent, and very knowledgeable, have worked with him in the past, and always a pleasure.

I have been posting our issues with this for months now, we were a beta test team. There is something still a miss, somewhere.

I can plug in last years dlink, and everything works, and quick.

The one thing I did learn this weekend, is the new system needs IPv6 enabled. We always turned that off in the past. Maybe it will help someone.
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #8   Spotlight this post!  
Unread 07-03-2016, 18:44
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Re: Can connect to the roboRIO by IP but not by hostname

Quote:
Originally Posted by Mark McLeod View Post
For Windows 10 there is an additional step to turning off the firewall.
MamaSpoldi reported this one:
- On the regular firewall page is a link to Advanced settings.
- The Advanced settings page will be divided into several sections, but at the bottom of the first section (Overview) will be another link to Windows firewall properties.
- Under that turn the first item from On to Off.
- Then reboot the Win 10 machine for it to take effect.
Did this, but to no avail. The issue still exists.
__________________
Hsifeulbhsifder
___________________
"Any given computer program is obsolete, any set of written rules is incomplete"
  #9   Spotlight this post!  
Unread 07-03-2016, 19:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,810
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

Try Disabling/reEnabling the NIC you are using to connect the PC.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #10   Spotlight this post!  
Unread 07-03-2016, 21:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

We have one laptop where the Driver Station doesn't want to make an initial network connection to the robot until we physically reset the roboRIO. It's a minor hassle so far.
  #11   Spotlight this post!  
Unread 08-03-2016, 00:22
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,524
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

I know this is slightly off topic, but since someone mentioned windows 10....

Be very aware of windows 10 and all the helpful features microsoft has created. For instance our driver station laptop managed to download an update while in the competition venue and rebooted and installed it - without our giving permission. This wouldn't have been such a problem if we weren't trying to USE IT with the robot to, you know.... drive.

It also re-enabled the firewall during the update, causing us 20 minutes of "why can't we connect to the robot" afterwards.

Windows 10 has a fantastic feature where it doesn't even have to connect to the internet to download updates. As long as another windows machine has it on the network you are connected to it will utilize a peer to peer system to grab the update.
  #12   Spotlight this post!  
Unread 08-03-2016, 00:38
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Can connect to the roboRIO by IP but not by hostname

Can you ping the roborio by host name? Does it display the correct IP when you ping? You might try ipconfig /flushdns (from a prompt) to clear any cached names.

Has anyone by chance modified the hosts file by adding the host name to it?

We switched to static addresses this year, added its name to the hosts file and connected at our first district competition just fine. We set to roboRio to .2 and the driver station to .5 Note that the driver's station must have a mask of 255.0.0.0. Also, I believe we did turn off IPv6 on the DS. I haven't heard about needing it. Maybe Greg McKaskle could comment on that.

The other tip that keeps coming up is plugging the roborio into the connector on the radio closest to the power plug.

Brian
__________________
Brian K
Team 1225 Robotics Mentor
  #13   Spotlight this post!  
Unread 08-03-2016, 00:39
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,209
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

Quote:
Originally Posted by Hsifeulbhsifder View Post
but we can connect via IP (10.54.28.90)

Try giving your RoboRio the IP address of: 10.54.28.2
  #14   Spotlight this post!  
Unread 08-03-2016, 07:14
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 518
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

Was told the IPv6 has something to do with the Driver Station idiot lights on the communications tab. Even when it was working the Driver Station never reported the "correct" lights.

Enet Link
DS Radio
Robot Radio
Robot
FMS

In pit only Robot and Robot Radio would turn green, yet we could enable the robot.
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #15   Spotlight this post!  
Unread 08-03-2016, 08:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,810
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can connect to the roboRIO by IP but not by hostname

Quote:
Originally Posted by tr6scott View Post
Was told the IPv6 has something to do with the Driver Station idiot lights on the communications tab. Even when it was working the Driver Station never reported the "correct" lights.

Enet Link
DS Radio
Robot Radio
Robot
FMS

In pit only Robot and Robot Radio would turn green, yet we could enable the robot.
That sounds normal.
In the Pit the lights that are green depend on how you tether.
You'll see different lights while on USB then on Ethernet directly to the roboRIO, or Ethernet through the robot radio.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Closed Thread


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


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

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