WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Control Panel -> Services dhcp service toggle appears broken  (Read 2060 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Control Panel -> Services dhcp service toggle appears broken
« on: December 24, 2015, 12:01:41 PM »
In both TC6.4 and dCore-jessie, Control Panel -> Services, toggling dhcp on/off appears broken, the 'light' does not stay on/off as one would expect and even when dhcp is apparently disabled there is no problem pinging in a terminal. Thanks.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Control Panel -> Services dhcp service toggle appears broken
« Reply #1 on: December 26, 2015, 12:19:31 PM »
Disabling dhcp does not bring the connection down; it kills the dhcp client, meaning any further IP changes won't happen. That's as intended.

edit: I tested the button in 6.4.1 - killing works fine, but it refuses to start it for a connection with an existing IP. This is also as intended, it shouldn't break an interface that may have a manual IP. I agree it's confusing for an user clicking it though.
« Last Edit: December 26, 2015, 12:22:21 PM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Control Panel -> Services dhcp service toggle appears broken
« Reply #2 on: December 26, 2015, 04:54:29 PM »
Maybe just my use case is different, this does not seem to be a very useful feature although i'm sure it was for whoever created it. If it brought ethernet down, for many users that might be something quite useful for blocking traffic. Tried using  sudo ifconfig eth0 up  and down. IIRC it killed the connection but did not re-establish, required reboot. That or maybe i don't know all the ins/outs. Thanks for the explanation.