[support] NEPL not starting? Can't access virtual terminal.

dfg dfg abxccd at msn.com
Mon Jan 18 13:01:06 JST 2010


Hi Sebastien,

 

Thank you for your reply. After more debugging and inspection, it seems that with the HAHA patch, if the configuration options for HAHA are not set up in the configuration file, the daemon will terminate. This was probably why I couldn't connect to the virtual terminal or see the daemon in the process list.

 

With that sorted, I am not able to launch the daemon with out it terminating. But here comes another problem. The daemon would keep doing this:

 

Mon Jan 18 14:58:02 mh_try_pad: Added 0 bytes for padding
Mon Jan 18 14:58:02 mh_send: sending MH type 10
from 2001:a:b:0:0:0:0:1
to 2001:a:b:0:0:0:0:1
Mon Jan 18 14:58:02 mh_send: sendmsg: Invalid argument
RELIABLE STATE: STABILIZING
RELIABLE STATE: CLAIMING
Mon Jan 18 14:58:04 mh_try_pad: Added 0 bytes for padding
Mon Jan 18 14:58:04 mh_send: sending MH type 10
from 2001:a:b:0:0:0:0:1
to 2001:a:b:0:0:0:0:1
Mon Jan 18 14:58:04 mh_send: sendmsg: Invalid argument
RELIABLE STATE: STABILIZING
RELIABLE STATE: CLAIMING


I am not sure why mh_send says sendmsg is getting an invalid argument.

 

My configuration file is as follows: 

 

NodeConfig HA;

DebugLevel 10;
Interface "eth2";
HaAcceptMobRtr enabled;

HaAcceptMCoAReg enabled;
SendMobPfxAdvs enabled;
SendUnsolMobPfxAdvs enabled;

 

# MNP configuration
HaServedPrefix 2001:a:b:0::/64;
BindingAclPolicy 2001:a:b:0::1 (2001:a:b:1::/64) MCoAReg allow;
DefaultBindingAclPolicy deny;

 

########### HAHA specific configuration ###########
# The below address is the Home Agent address that will 
# be used in the MN config file 
HaReliabilityGroupAddr 2001:a:b:0::ffff/64;

 

# Set HaReliabilityHardSwitch to "enabled" to enable Hard 
# Switch mode.
HaReliabilityHardSwitch disabled;

 

# This is the Group ID the HA belongs to. This is useful if 
# you have multiple groups of HA running the HAHA protocol on 
# the same link. It MUST be < 255.
HaReliabilityGroupId 1;

 

# Set this to the priority of the HA which will use this 
# config file. It must be different for each config file used 
# for each HA. The active HA is the one with the lowest 
# priority. It MUST be < 10.
HaReliabilityOurPrio 1;

 

# List the addresses and priority of all your Home Agents
HaReliabilityGroup {
 # List the addresses and priority of all your Home Agents,
 # including the one for which you write the config file.
 # Priorities MUST be < 10.
 HaReliabilityAddr 2001:a:b:0::1 (HaReliabilityPrio 1);
}

UseMnHaIPsec disabled;

KeyMngMobCapability disabled;

 

I have tried searching for posts and others with similiar issues, but was not able to come up with anything. Any suggestion is appreciated. :)

 
> Date: Mon, 18 Jan 2010 11:24:05 +0900
> From: sdecugis at hongo.wide.ad.jp
> To: support at ml.nautilus6.org
> Subject: Re: [support] NEPL not starting? Can't access virtual terminal.
> 
> Hi,
> 
> Can you see the pid of the daemon with ps command?
> 
> I am not familiar with the HA-HA patch, I don't know if it changes the
> behavior of the virtual terminal. Anyway, according to your logs, the vt
> should be accessible...
> 
> Also, do you have a core file? What is the result of "uname -c" in your
> terminal ? Can you launch the daemon directly, without the script ?
> 
> Best regards,
> Sebastien.
> 
> Le 16/01/2010 17:43, dfg dfg a écrit :
> > Hi everyone,
> > 
> > This is my first post to the mailing list, so please bear with me if I
> > make a mistake :)
> > 
> > I am currently setting up a test bench with 1 HA, 1 foreign network
> > and 1 mobile node.
> > 
> > I was able to install Ubuntu 9.10 and then recompile the kernel to
> > enable the modules as required in the NEPL HOW-TO. I was also able to
> > compile umip-0.4 patched with NEPL, MCoA and HAHA support. I also
> > created a start up script file as per the NEPL documentation.
> > 
> > So far, I have configured the home agent. When starting the home
> > agent, this is what I get:
> > 
> > mip6d[2468]: MIPL Mobile IPv6 for Linux v2.0.2-umip-0.4 started (Home
> > Agent)
> > Sat Jan 16 19:28:44 main: MIPL Mobile IPv6 for Linux started in debug
> > mode, not detaching from terminal
> > Sat Jan 16 19:28:44 conf_show: config_file = /etc/mip6d/mip6d.conf
> > Sat Jan 16 19:28:44 conf_show: vt_hostname = localhost
> > Sat Jan 16 19:28:44 conf_show: vt_service = 7777
> > Sat Jan 16 19:28:44 conf_show: mip6_entity = 2
> > Sat Jan 16 19:28:44 conf_show: debug_level = 10
> > Sat Jan 16 19:28:44 conf_show: debug_log_file = stderr
> > Sat Jan 16 19:28:44 conf_show: PolicyModulePath = [internal]
> > Sat Jan 16 19:28:44 conf_show: DefaultBindingAclPolicy = 129
> > Sat Jan 16 19:28:44 conf_show: NonVolatileBindingCache = disabled
> > Sat Jan 16 19:28:44 conf_show: KeyMngMobCapability = disabled
> > Sat Jan 16 19:28:44 conf_show: UseMnHaIPsec = disabled
> > Sat Jan 16 19:28:44 conf_show: MnMaxHaBindingLife = 262140
> > Sat Jan 16 19:28:44 conf_show: MnMaxCnBindingLife = 420
> > Sat Jan 16 19:28:44 conf_show: MnRouterProbes = 0
> > Sat Jan 16 19:28:44 conf_show: MnRouterProbeTimeout = 0.000000
> > Sat Jan 16 19:28:44 conf_show: InitialBindackTimeoutFirstReg = 1.500000
> > Sat Jan 16 19:28:44 conf_show: InitialBindackTimeoutReReg = 1.000000
> > Sat Jan 16 19:28:44 conf_show: UseCnBuAck = disabled
> > Sat Jan 16 19:28:44 conf_show: DoRouteOptimizationMN = enabled
> > Sat Jan 16 19:28:44 conf_show: MnUseAllInterfaces = disabled
> > Sat Jan 16 19:28:44 conf_show: MnDiscardHaParamProb = disabled
> > Sat Jan 16 19:28:44 conf_show: SendMobPfxSols = enabled
> > Sat Jan 16 19:28:44 conf_show: OptimisticHandoff = disabled
> > Sat Jan 16 19:28:44 conf_show: MobRtrUseExplicitMode = enabled
> > Sat Jan 16 19:28:44 conf_show: SendMobPfxAdvs = enabled
> > Sat Jan 16 19:28:44 conf_show: SendUnsolMobPfxAdvs = enabled
> > Sat Jan 16 19:28:44 conf_show: MaxMobPfxAdvInterval = 86400
> > Sat Jan 16 19:28:44 conf_show: MinMobPfxAdvInterval = 600
> > Sat Jan 16 19:28:44 conf_show: HaMaxBindingLife = 262140
> > Sat Jan 16 19:28:44 conf_show: HaAcceptMobRtr = enabled
> > Sat Jan 16 19:28:44 conf_show: HaAcceptMCoAReg = enabled
> > Sat Jan 16 19:28:44 conf_show: DoRouteOptimizationCN = enabled
> > RELIABLE: Hard Switch 0
> > RELIABLE: Group 0
> > RELIABLE: Prio 0
> > RELIABLE: Addr 0:0:0:0:0:0:0:0
> > RELIABLE: Prfx len 0
> > Sat Jan 16 19:28:44 xfrm_cn_init: Adding policies and states for CN
> > Sat Jan 16 19:28:44 xfrm_ha_init: Adding policies and states for HA
> > Sat Jan 16 19:28:44 ha_if_addr_setup: Joined anycast group
> > 2001:a:b:0:fdff:ffff:ffff:fffe on iface 6
> > RELIABLE STATE: STABILIZING
> > relha_main.c, get_above_prio, line:296
> > mip6d[2468]: relha_main.c, get_above_prio, line:296
> >
> > Does this mean that the home agent has been started properly? Why is
> > it that I can't access the virtual terminal using: telnet localhost
> > 7777? I also tried chaning the vt_service port to 1234, but that did
> > not make a difference. My umip was also compiled with --enable-vt.
> > 
> > Any help appreciated.
> > 
> > Cheers :)
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > Support mailing list
> > Support at ml.nautilus6.org
> > http://ml.nautilus6.org/mailman/listinfo/support
> > 
> _______________________________________________
> Support mailing list
> Support at ml.nautilus6.org
> http://ml.nautilus6.org/mailman/listinfo/support
 		 	   		  
_________________________________________________________________
Say Happy New Year with Messenger for Mobile.
http://go.microsoft.com/?linkid=9706117
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.nautilus6.org/pipermail/support/attachments/20100118/6f75aa65/attachment.htm 


More information about the Support mailing list