Skip to content

DHCP client does not start when changing client-interface #1207

@mattiaswal

Description

@mattiaswal

Current Behavior

The startup config had DHCP client on wifi0, changed configuration to bridging the wifi interface instead, but the dhcp client remain on wifi0.

admin@wires-gp:~$ ps |grep dhc
 1086 root      0:00 [kworker/R-sdhci]
 1103 root      0:00 [kworker/R-sdhci]
 4982 root      0:00 udhcpc -f -p /run/dhcp-client-wifi0.pid -t 3 -T 5 -A 30 -a1000 -S -R -o -O 42 -O 28 -O 15 -O 12 -O 6 -O 3 -O 1 -i wifi0 -V Infix v25.09.0-90-g171b757a
 5276 admin     0:00 grep dhc
admin@wires-gp:~$ 
admin@wires-gp:~$ 
admin@wires-gp:~$ 
admin@wires-gp:~$ cli

See the 'help' command for an introduction to the system

admin@wires-gp:/> show 
admin@wires-gp:/> configure 
admin@wires-gp:/config/> show dhcp-client 
client-if br0 {
  option broadcast
  option dns-server
  option domain
  option hostname
  option netmask
  option ntp-server
  option router
}
admin@wires-gp:/config/> 

Expected Behavior

DHCP on br0 as configured.

Steps To Reproduce

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions