If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:udhcpc.sh

From BoxMatrix
(Redirected from udhcpc.sh)


BoxMatrix >> Shell-Commands >> udhcpc.sh @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Chipset-Command

Goto:   RTL-Research  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

udhcpc.sh is a udhcpc helper script for libmib.so.

fw 7.30 simnplified:

PIDFILE=/var/run/dhcrelay.pid

flash get UPNP

if [ $1 = 'bound' ] || [ $1 = 'renew' ]; then

       /var/udhcpc/udhcpc.$interface   

       if [ "$ip" != '' ]; then

               if [ $UPNP = 1 ]; then
 
                       upnpctrl down $interface br0
                       upnpctrl up $interface br0
               fi

               updateddctrl $interface 1
               ethctl route add  
         
               if [ -f $PIDFILE ]; then

                       PID=`cat $PIDFILE`
                       echo "Kick dhcrelay to sync interface-1"
                       kill -17 $PID    
       
               fi

       fi

elif [ $1 = 'deconfig' ]; then

       /etc/scripts/udhcpc.deconfig
       
elif [ $1 = 'nak' ]; then

       echo "dhcp nak event occurs"

fi

Since upnpctrl, updateddctrl and ethctl are missing in RTL86 Linux only the deconfig and nak options are usable.
Both are not used in RTL86 FRITZ!OS, same for udhcpc.

RTL-Research

Note that research on the RTL86 chipset and its Linux and drivers is very difficult and the results are highly unfinished.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-27 07:31 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-27 05:16 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 5690 Pro (rtl) 7.59 - 7.60 /etc/scripts 589
FRITZ!Box 7520 v2 (arm) /etc/scripts 589
FRITZ!Box 7520 v2 (rtl) /etc/scripts 589
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-27 07:31 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

u