kamoj
Very Senior Member
The same issue you noticed, exist in both net-wan and net-br
That can be patched like this:
and a reboot.
PS
Patches will not survive a FW update.
PPS
To uninstall these patches:
That can be patched like this:
Code:
sed -i 's/h $DHCPNAME/h $u_hostname/g' /etc/init.d/net-br
sed -i 's/h $DHCPNAME/h $u_hostname/g' /etc/init.d/net-wan
PS
Patches will not survive a FW update.
PPS
To uninstall these patches:
Code:
\cp -p /rom/etc/init.d/net-br /etc/init.d/net-br
\cp -p /rom/etc/init.d/net-wan /etc/init.d/net-wan
I have not given up yet, been trying things all week and learning alot about this little box.
I am currently pursuing udhcpc and I used echo into a temp file to save the command line used.
I am talking about the line which starts "udhcpc -b -i $WAN_IF -h $DHCPNAME -r $($CONFIG get wan_dhcp_ipaddr)"
in setup_interface_dhcp().
grabbing that line reveals:
udhcpc -b -i brwan -h /tmp/dhcp_name.conf -r xxx.xxx.xxx.236 -N xxx.xxx.xxx.236
in other words the host name passed in is "/tmp/dhcp_name.conf" instead of it's contents "R7800"
doesn't really affect the connection per-se, but seems wrong none the less.
Really puzzles me that .62 works fine and .63 and later don't. Without re-flashing my box is it possible to get net-wan from .62?
Also - i expected I would see two passes through this setup_interface_dhcp().
1 ) for initial boot
2) after I unplug-count 5-plug the WAN wire
Last edited: