Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building click in ubuntu 18.04 #56

Open
fruganyumisa opened this issue Jun 21, 2020 · 3 comments
Open

Building click in ubuntu 18.04 #56

fruganyumisa opened this issue Jun 21, 2020 · 3 comments

Comments

@fruganyumisa
Copy link

I adopted the firmware built for netgear r6100 but when I try using the click and click-align binaries dont work they give an error, Am I supposed to use my own click and click-align applications in the APs. If yes what environment do i need to build them I use ubuntu 18.04

@josemariasaldana
Copy link
Member

Hi, you also need to cross-complie click and click-align binaries. They have to work in the Netgear, so you cannot use those compiled for Ubuntu.

Follow these instructions: https://github.com/Wi5/odin-wi5/wiki/Cross-compiling-Click-Modular-Router-for-Odin

@fruganyumisa
Copy link
Author

Thank you @josemariasaldana but I am a bit confused when you say I have to use binaries that work in the Netgear, I want to build click on ubuntu 18.04 and ship it to Netgear is that correct ? Assuming that I created first the environment to build openwrt firmware for Netgear

@josemariasaldana
Copy link
Member

Yes, that is correct. You first build in your Ubuntu machine an environment for building OpenWrt
https://github.com/Wi5/odin-wi5/wiki/Create-OpenWrt-bin-image-including-openvswitch-and-the-ath9k-patch
https://oldwiki.archive.openwrt.org/toh/netgear/netgear_r6100

And then you use that same environment for cross-compiling Click (cross-compiling means that you compile in a machine an executable file that will run in another machine)
https://github.com/Wi5/odin-wi5/wiki/Cross-compiling-Click-Modular-Router-for-Odin

And then you copy the cross-compiled executable from Ubuntu to the Netgear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants