wan_ifname

9 views
Skip to first unread message

Rail Aliev

unread,
Apr 19, 2007, 5:10:13 AM4/19/07
to neptune354-dev
Hi.

Trying to get ez-ipupdate working I decided to run it in daemon mode
and check with monitor_ps. Looking at router/rc/ddns.c:199 I saw
commented parameter for interface:
//"-i", nvram_safe_get("wan_ifname"),

But nvram_safe_get("wan_ifname") returns "eth1" (!). There is no eth1
interface BTW.

In shared/services.c I can see the following line:

char *wan_ifname = nvram_match("wan_proto", "pppoe") ? "ppp0" :
nvram_safe_get("wan_ifname");

but nvram_safe_get("wan_ifname") returns "dhcp" (?).

Do you think these cases are normal?

Reply all
Reply to author
Forward
0 new messages