[hipl-users] Re: Image on Andorid platform

  • From: Miika Komu <mkomu@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Sat, 10 Apr 2010 00:18:44 +0300

On 04/01/2010 03:55 PM, Frances Gao wrote:

Hi Frances,

the port numbers are wrong because the Android build is based on an older version of HIPL. You can try to change them in /etc/hip/hipd_config:

port local 10500
port peer 10500

Our servers are using the new port number. You can also set up your own server using the old port numbers. It might be a while before I have time restart the Android port. Feel free to volunteer for developing it if you have too much free time :)

Hi,
The new steps:
1.Edit  /data/hip/hosts :

   2001:1b:a9be:c6a6:34e5:8361:c07f:a990 crossroads

   193.167.187.134  crossroads
2.start hipd
3.hipconf add server rvs 193.167.187.134 5000
4.hipconf ha get all
  Action = 9Number of arguments : 2  Supplied 4 TYPE ARG =  2 Sending
user message 22 to HIPD on socket 3
  Sent 40 bytes
  Waiting to receive daemon info.
  232 bytes received from HIP daemon
  HA is I1-SENT
   Local HIT: 2001:0010:689d:35c3:e02e:acfa:4904:ce07
   Peer  HIT: 2001:001b:a9be:c6a6:34e5:8361:c07f:a990
   Local LSI: 1.0.0.1
   Peer  LSI: 1.0.0.2
   Local IP: 10.0.2.15
   Local NAT traversal UDP port: 50500
   Peer  IP: 193.167.187.134
   Peer  NAT traversal UDP port: 50500
   Peer  hostname:
Seems the HA is not ESTABLISHED.
My questions:
1.Is there any way to make the base exchange  ESTABLISHED?
2.Under this situation,the LSI didn't work,right?
   I test with wget : wget http:// 1.0.0.2 ,no response.
3. The right way to use LSI ?
Thanks for your time .


2010/4/1 Miika Komu <miika.komu@xxxxxxx <mailto:miika.komu@xxxxxxx>>

    On 01/04/10 13:23, Frances Gao wrote:

    Hi,

        Hi,
        1.I just dowload the image to run and didn't update the kernel to
        support IPv6. I tried ping6 on adb shell,command not found.
        2.Here is my steps :
           Without changeing /data/hip/hosts ,use "hipconf add server rvs
        193.167.187.134",then hipconf get ha all.
        Result:Sometimes can see HA is I1-sent.
        3.Here is the steps change hosts file :
           1) Define the HIT and IP address mapping in /data/hip/hosts :
            2001:1b:a9be:c6a6:34e5:8361:c07f:a990 193.167.187.134
        crossroads.infrahip.net <http://crossroads.infrahip.net/>
        <http://crossroads.infrahip.net <http://crossroads.infrahip.net/>>


    you should have:

    2001:1b:a9be:c6a6:34e5:8361:c07f:a990 crossroads

    193.167.187.134  crossroads

    on separate lines.


          2)log in adb shell and start hipd
          3)hipconf add server rvs 193.167.187.134


    you have supply also a life time value:

    hipconf add server rvs 193.167.187.134 5000


           4) hipconf get ha all
        Result: HA is UNASSOCIATED
        My questions:
        1.How to update the Android to support ping6?Can you list the
        steps for me?


    I am not sure how to do this, sorry. Any application with IPv6
    support should be fine. Or alternatively, you can use the LSI
    support for IPv4 apps.


        2.Are these test steps proper?


    No, there was some errors.






Other related posts: