Install OpenWRT WebUI on Repeater/P2V+

Interesting.. I had not attempted this myself. I have had my gear apart and know that at least in the p2v+, the Wi-Fi transmitter is entirely inside the copter.

I'm curious if when you disconnect the gimbal, if you're also disconnecting the camera...

Either way, sounds like it's not happy.

LK
 
My wired internet connection has an ip range using 192.168.1.XXX I think i am reading it wrong, all your saying is it can't be the same right?
 
DC inspections said:
My wired internet connection has an ip range using 192.168.1.XXX I think i am reading it wrong, all your saying is it can't be the same right?

Actually, it can't be in the same subnet (192.168.1.x)... Here's why...
  • The OS needs to be able to determine which interface to send traffic out of in order to get to the next destination.
  • If the OS has two separate interfaces with the same network range attached, it will not be deterministic which to use to get to the Internet vs get to your Phantom.
  • This is especially problematic since it's very likely that your Phantom and your Internet Router share the same IP address! (192.168.1.1). This causes there to be conflicting data being presented to your Computer for where to send a packet destined for that IP.

The easiest way to guarantee success is to log into your Internet Router, change it's internal IP from the likely 192.168.1.1 to 192.168.2.1. Once you apply this change, the router will reboot, then you can reboot your computer to obtain an IP in the new range.

Let me know if you have any more questions..
LK
 
Hello linuxkid.

I to have to commend you on your work here and all the support you are giving to us all!
I have several missions in life :), but one of the most pressing ones now is to get my P2V+ work better with my 2,4 Ghz iOS Ground Station. The issue I have now is that when I fly with the repeater and video on, the signal form my Datalink ground unit to my air unit, loose the battle of connection all the time :) It's not working great at all even on short distances.

As soon as I turn of the repeater the Datalink works perfect.

I think the main reason for this is that both 2,4Ghz systems uses channel 1.

Therefor my mission now is to try and set the repeater and my P2V+ channel to another channel (far as possible away from 1 at least). And hope/think this will do the trick, at least a lot better than it is today.

Anyways, by following your guide and get the Webgui up and running on both my repeater and P2V+, I can easily change the channel on both of them, just like we do on our home router?
Changing on repeater and save, change on my P2V+ and change, restart them both.

Correct?

For now I'm not going to mess with any output power at all or anything else :)

Thx again for all the help!

Edit: Just configured my home router to 192.168.2.1 since it was 192.168.2.1, so getting ready here :) But can I get an advice what to download when it comes to putty here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html, never used it before :)

EspenA
 
EspenA said:
...Anyways, by following your guide and get the Webgui up and running on both my repeater and P2V+, I can easily change the channel on both of them, just like we do on our home router?
Changing on repeater and save, change on my P2V+ and change, restart them both.

Correct?
...

Yes.. but it's a bit more complicated..

Installing the WebUI will allow you to make changes to any/all settings just as you're used to doing on your home router. The one caveat to this is that the repeater is in WDS Client mode. What this means is that IF the repeater is unable to connect to the Phantom, it does *NOT* show it's client side (Phantom_XXXXXX) wifi network. Thus, you can't get into it.

The way to make the change is the same as that I describe for enabling encryption in the 'Encrypt Phantom to Repeater' thread. The quick overview is that you must be able to connect to the hidden FC200_XXXXXX network (this name may be different for the P2V vs P2V+), change the Repeater first, , save&apply (it'll become inaccessible), then change the Phantom, save&apply.. after the Phantom re-initializes with the new channel, the Repeater will reconnect and you'll be good.

But, I recommend checking that other thread for detailed step-by-step. If you have any questions / issues, feel free to let me know.

LK
 
linuxkidd said:
EspenA said:
...Anyways, by following your guide and get the Webgui up and running on both my repeater and P2V+, I can easily change the channel on both of them, just like we do on our home router?
Changing on repeater and save, change on my P2V+ and change, restart them both.

Correct?
...

Yes.. but it's a bit more complicated..

Installing the WebUI will allow you to make changes to any/all settings just as you're used to doing on your home router. The one caveat to this is that the repeater is in WDS Client mode. What this means is that IF the repeater is unable to connect to the Phantom, it does *NOT* show it's client side (Phantom_XXXXXX) wifi network. Thus, you can't get into it.

The way to make the change is the same as that I describe for enabling encryption in the 'Encrypt Phantom to Repeater' thread. The quick overview is that you must be able to connect to the hidden FC200_XXXXXX network (this name may be different for the P2V vs P2V+), change the Repeater first, , save&apply (it'll become inaccessible), then change the Phantom, save&apply.. after the Phantom re-initializes with the new channel, the Repeater will reconnect and you'll be good.

But, I recommend checking that other thread for detailed step-by-step. If you have any questions / issues, feel free to let me know.

LK


Hello again linuxkid.

Thx for the quick response here!

So basically, follow your webgui guide, then your encryption guide. I guess the channel settings are in the same menu area as the encryption part is.
I have connected to hidden wifi networks before using this method on my laptop (from step 2): http://www.7tutorials.com/how-connect-hidden-wireless-networks so that should not be a problem.

And to the puTTY part, just download the A Windows installer for everything except PuTTYtel from here? http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html No need for the Puttytel or the checksum parts?

Thx again!

EspenA
 
EspenA said:
Hello again linuxkid.

Thx for the quick response here!
Sure thing.. :)
EspenA said:
So basically, follow your webgui guide, then your encryption guide. I guess the channel settings are in the same menu area as the encryption part is.
Yep.. once you click on 'Edit' beside the WiFi network, you'll see it right at the top.
EspenA said:
I have connected to hidden wifi networks before using this method on my laptop (from step 2): http://www.7tutorials.com/how-connect-hidden-wireless-networks so that should not be a problem.
Ya, you should be good to go with this..

EspenA said:
And to the puTTY part, just download the A Windows installer for everything except PuTTYtel from here? http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html No need for the Puttytel or the checksum parts?

You actually don't need the entire installer. There's a link for just the 'putty.exe' part. That will do everything you need.. you'll just run it from your downloaded location instead of having a start menu entry for it.

LK

P.S Make sure you watch the screencast! It has some troubleshooting for common roadblocks during the WebUI install.
 
Okay I am logged into my phantom Range extender/repeater and are haveing an issue with the first code "/etc/init.d/lighttpd stop" This is not whats on my port 80, this is what is "LISTEN 993/uhttpd" Do i just change the name?
 
DC inspections said:
Okay I am logged into my phantom Range extender/repeater and are haveing an issue with the first code "/etc/init.d/lighttpd stop" This is not whats on my port 80, this is what is "LISTEN 993/uhttpd" Do i just change the name?

Yes, but since it's uhttpd, just stop the service, don't disable it.

i.e. Do This:
Code:
/etc/init.d/uhttpd stop

But Don't do this..
Code:
/etc/init.d/uhttpd disable

BTW.. Are you on a P2V or P2V+ ? Just trying to map the differences..

LK
 
linuxkidd said:
EspenA said:
Hello again linuxkid.

Thx for the quick response here!
Sure thing.. :)
EspenA said:
So basically, follow your webgui guide, then your encryption guide. I guess the channel settings are in the same menu area as the encryption part is.
Yep.. once you click on 'Edit' beside the WiFi network, you'll see it right at the top.
EspenA said:
I have connected to hidden wifi networks before using this method on my laptop (from step 2): http://www.7tutorials.com/how-connect-hidden-wireless-networks so that should not be a problem.
Ya, you should be good to go with this..

EspenA said:
And to the puTTY part, just download the A Windows installer for everything except PuTTYtel from here? http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html No need for the Puttytel or the checksum parts?

You actually don't need the entire installer. There's a link for just the 'putty.exe' part. That will do everything you need.. you'll just run it from your downloaded location instead of having a start menu entry for it.

LK

P.S Make sure you watch the screencast! It has some troubleshooting for common roadblocks during the WebUI install.

Hi again.

U mean the one you linked here http://www.phantompilots.com/viewtopic.php?f=27&t=17704, yep seen it twice already and will open it when I'm going to do the changes :)

I'll keep U posted on the progress and how the changes works out with my Datalink (iOS ground) setup ;)

Rgds,

EspenA.
 
Pv2 repeater, and the part where i told it to remove firewall3, it said No packages removed and so i went ahead and installed Luci it said configured.
after that i DON"T say disable move on to next step? OMG i don't wanna mess this up lol
 
DC inspections said:
Pv2 repeater, and the part where i told it to remove firewall3, it said No packages removed and so i went ahead and installed Luci it said configured.
after that i DON"T say disable move on to next step? OMG i don't wanna mess this up lol

You're doing great!! You should now disconnect, and reconnect (without the SSH Tunnel configured) and be able to start uhttpd.

LK
 
i own two vision 2's and one vision 2+

So i thank you for your guidance. my next step is to do the other pv2 repeater, cuz I'm going to configure them for the Sony camera :D
 
DC inspections said:
Okay this is weird how am i able to log into PV2 repeater that i have not touched???

In other threads around the forum, it appears that the LuCI WebUI is installed from the factory on older repeaters.. (maybe all of them for the P2V).. but was removed for newer (P2V+) repeaters.

LK
 
Okay so i just made a wireless connection between my laptop to my Sony camera, i then opened a cmd window and typed in "Ipconfig /all" and it shows under wireless networking, autoconfiguration ip address so i pinged it and the packets came back, i just find it weird that it says autoconfiguration ip Address i think that is what i used a wile back when using the tp link repeaters. just making sure this ip is different from the repeaters and it is. 169.254.XX.XX
 
linuxkidd said:
Interesting.. I had not attempted this myself. I have had my gear apart and know that at least in the p2v+, the Wi-Fi transmitter is entirely inside the copter.

I'm curious if when you disconnect the gimbal, if you're also disconnecting the camera...

Either way, sounds like it's not happy.

LK


Hi,

As you are looking inside the Phantom right now, can you tell which pins of the gimbal goes to the transmitter? As doing that we will be able to know if the logic part of the transmitter is inside the gimbal and the transmitter itself is just a dumb amplifier. I am asking you that because my camera came off by itself and I cannot open my Phantom while I am waiting for the warranty repair.
 

Recent Posts

Members online

No members online now.

Forum statistics

Threads
143,086
Messages
1,467,528
Members
104,965
Latest member
Fimaj