openwrt / odhcp6c

This repository is a mirror of https://git.openwrt.org/?p=project/odhcp6c.git. It is for reference only and is not active for checks-ins or reporting issues; issues should be reported at: https://bugs.openwrt.org. Pull requests will be accepted which will be merged in odhcp6c.git
GNU General Public License v2.0
78 stars 84 forks source link

What's "Command failed: Not found" #59

Closed chuacw closed 5 years ago

chuacw commented 5 years ago

I ran this command:

odhcp6c -s /lib/netifd/dhcpv6.script -Ntry -P0 -t120 eth1.2

I got this response:

Command failed: Not found

Can the code be improved to specify what is "Not found"? What is the something that is not found?

dedeckeh commented 5 years ago

The trace is generated by one of the ubus calls in the dhcpv6 script; nothing can be done in the odhcp6c code to fix this trace

brianjmurrell commented 4 years ago

I get this also and the interface does not get it's assigned address.

Any clues how to debug this in ubus?

dedeckeh commented 4 years ago

You can add logger statements in the dhcv6 script to find out which cmd triggers this trace

brianjmurrell commented 4 years ago

I already did. The problem is that $INTERFACE is not always set and the script ends up with ubus calls where interface: "".