The officially official Devuan Forum!

You are not logged in.

#1 2022-05-21 16:39:09

erdos
Member
Registered: 2018-06-04
Posts: 74  

Renew my ip address (dhclient not found)

hi,

whenever i tried to run dhclient , i got error saying command not found.  however, 'dhclient' does exist in /sbin directory,  it looks that /sbin is not in my path.
erdos@htpc-devuan:~/Documents$ $PATH
bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory




how do i add /sbin to my PATH?

Offline

#2 2022-05-21 17:12:15

rolfie
Member
Registered: 2017-11-25
Posts: 673  

Re: Renew my ip address (dhclient not found)

Use su - to become root?

Offline

#3 2022-05-21 17:42:23

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,530  

Re: Renew my ip address (dhclient not found)

Clearly my signature is not omnipresent enough big_smile

Offline

#4 2022-05-21 19:36:51

erdos
Member
Registered: 2018-06-04
Posts: 74  

Re: Renew my ip address (dhclient not found)

thanks!

i was able to run dhclient after su - ,  is 'dhclient' supposed to run in root only?

Offline

#5 2022-05-21 20:34:17

golinux
Administrator
Registered: 2016-11-25
Posts: 2,604  

Re: Renew my ip address (dhclient not found)

erdos . . . next time make sure to read the Release Notes that accompany each new release.

Online

Board footer