hipfw to Android for LSI support
Bug #1313729 reported by
Pupu Toivonen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HIPL |
Fix Committed
|
High
|
Pupu Toivonen |
Bug Description
The current status of the Android port is that hipd works and provides HIP connectivity through HITs. hipfw does not work yet.
Conversion of packet headers when communicating through LSIs is performed by hipfw. Its absence means that connections through LSIs do not work.
There is a branch for this:
https:/
The main obstacle seems to be libnetfilter-queue, which can be compiled on Android (http://
When writing this, hipfw seems to compile. Dynamic linking seems to fail when starting on Android device.
Changed in hipl: | |
status: | New → Fix Committed |
To post a comment you must log in.
What is currently in the repository branch should be able to compile hipfw for Android as well.
One must do everything that the current installation instructions for the android port say, and additionally:
Push hipfw to device:
adb push hipfw/hipfw /system/xbin/
adb push hipfw/hipfw.conf /system/etc/
Push libnetfilter_queue and dependencies to device: SYSROOT} /usr/lib/ libnetfilter_ queue.so. 1 /system/lib/ SYSROOT} /usr/lib/ libnfnetlink. so.0 /system/lib/ SYSROOT} /usr/lib/ libmnl. so.0 /system/lib/
adb push ${ANDROID_
adb push ${ANDROID_
adb push ${ANDROID_
Do not just push everything from that folder to the device; I did, and it broke everything.
hipfw -klF starts, and after starting hipd and adding a mapping, ping to the LSI did initiate a base exchange. I still need to fix my phone and get ESP working to confirm this, but it's looking good so far.