Yet Another Blog

March 2, 2015

Connecting OnePlus One to GoPro wifi

Filed under: Android, gadgets — Tags: , , , , , , , , — guilleml @ 11:31 am

When I tried to connect my OnePlus One to my GoPro Hero 2 Wifi Bacpac I had a problem, the phone did keep waiting for dhcp to get al ip address so wifi connection didn’t pass “establishing connection” step.

What I did was connect to the phone via adb:

$adb shell

Once I had a terminal I searched in the log messages from dhcpcd to see what was happening:

$logcat -d | grep dhc

What I saw was:

I/dhcpcd ( 4957): version 5.5.6 starting
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
E/dhcpcd ( 4957): timed out
D/NetUtils( 772): dhcp_do_request failed : wlan0 (new)

I was receiving an ip but it wasn’t being set correctly, so I set a static IP in wifi configuration, as the image shows. I used the ip address the gopro was broadcasting 10.5.5.109.

Screenshot_2015-03-02-12-25-18

After that, the phone connects fine to the gopro and gopro app works 100% fine.

Advertisements

7 Comments »

  1. Many thanks. It solved my actual trouble after a firm update of muy phone.

    Comment by Alvaro — May 2, 2015 @ 10:42 pm

  2. I have the same problem with my one plus one. Could you please teach me how I can do the same what you did. I can’t find it how to do it. Please help. Kind regards

    Comment by Tom — May 3, 2015 @ 2:06 pm

  3. Ok I already found it;

    Comment by Tom — May 3, 2015 @ 7:30 pm

    • how did you find it?

      Comment by David — May 10, 2015 @ 4:28 pm

  4. I had the same issue. above steps worked nice. don’t forget to set gateway

    Comment by Nik — May 13, 2015 @ 12:06 pm

    • what do you mean by “setting gateway”? I tried everything and still does not work. It now says that the gopro wifi is already connected but when i try to go on the gopro app it says “your camera might be off or out of range”… and it was on! idk…

      Comment by Jimmy — June 8, 2015 @ 9:02 pm

  5. Hi, I followed these steps and I finally managed to connect the GoPro. However it connects and in the app I only get the message ‘camera off’ I cannot do anything else…tried everything but nothing helps. Any fixes for this? Thanks a lot!

    Comment by Nathalie — June 21, 2015 @ 6:20 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: