radvd and missing devices

Asked by Jon Smirl

My ipv6 device is a USB adapter running 802.15.4. When radvd starts at boot USB has not started yet. ravdvd starts, finds that the adapter is missing and exits.

syslog:Oct 13 17:57:45 terra radvd[7343]: interface usb0 is not UP
syslog:Oct 13 17:57:45 terra radvd[7343]: interface usb0 does not exist
syslog:Oct 13 17:57:45 terra radvd[7343]: error parsing or activating the config file: /etc/radvd.conf
failed

I have to restart it again manually after boot.

I believe later versions like radvd 1.5 (ubuntu is on 1.1) fix this. ravdvd will come up anyway if interfaces are missing and then add them when they appear. That would also solve the problem of me plugging the USB stick in later after boot.

I'm new to ipv6 and haven't figured out a fix yet.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu radvd Edit question
Assignee:
No assignee Edit question
Solved by:
Jon Smirl
Solved:
Last query:
Last reply:
Revision history for this message
Jon Smirl (jonsmirl) said :
#1

I believe the answer to this is to add " IgnoreIfMissing on;"
There have been fixes to "IgnoreIfMissing on;" between 1.1 and 1.5 in radvd.

jonsmirl@terra:~$ cat /etc/radvd.conf
interface usb0
{
    IgnoreIfMissing on;
    AdvSendAdvert on;
    AdvLinkMTU 1280;
    AdvCurHopLimit 128;
    AdvReachableTime 360000;
....