goprowifihack icon indicating copy to clipboard operation
goprowifihack copied to clipboard

Change ip and port?

Open julianraheema opened this issue 7 years ago • 5 comments

Problem: When I connect two gopros over two wifi on Linux, the cameras are connected but on the browser 10.5.5.9/gp/gpControl it talks only one gopro and response to the browser command such as sleep. But not the second gopro. In theory if I have different ip and port for the second gopro, I might be able to access them both using the browser then I would be able to stream both using python script to live stream both using udp on openCV since both cameras have different ip and port.

Details:

  • GoPro Camera(s): Hereo 5 black How to change the gopro IP: 10.5.5.9 and Port: 8554?

julianraheema avatar Jun 05 '18 19:06 julianraheema

I'm actually having the same issue, I'm looking through the HERO4 firmware to see if it is going to be an easy change

afogal avatar Jun 13 '18 15:06 afogal

Okay, here is how to do this:

  1. Use some kind of custom firmware so you can send commands to the linux part of the GoPRo
  2. Issue the following commands:
ip addr add 10.6.5.9/24 dev ap0 brd 10.6.5.255
ip route add 10.6.5.0/24 dev ap0 src 10.6.5.9
ip addr del 10.5.5.9/24 dev ap0
ip route del 10.5.5.0/24 dev ap0

Tested on GoPro HERO4 Silver. You might need to find the interface yourself.

afogal avatar Jun 21 '18 19:06 afogal

@afogal what firmware is that? I know Alti-force lets you execute override.sh

KonradIT avatar Jun 21 '18 19:06 KonradIT

Yes. that is the firmware I am using, and the commands are an excerpt of my override.sh. I do not know if a similar thing is available for other GoPro cameras, but the same commands should work as long as the interfaces stay the same.

afogal avatar Jun 21 '18 20:06 afogal

@afogal thank you for your comment. I will try it.

julianraheema avatar Jun 25 '18 15:06 julianraheema