WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dhcpcd on start up (Solved)  (Read 2592 times)

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
dhcpcd on start up (Solved)
« on: June 17, 2011, 09:56:47 PM »
 Can anybody explain to me how I can get dhcpcd to start when the system starts?I have it placed in onboot but it does not start unless I open a terminal and issue the command sudo dhcpcd and that's a pain in the ass to have to do that everytime. Do I have too write a script in order to get dhcpcd to automatically start when the system starts and if soo then how do I write it? Example please...

Thanks, George.




EDIT: Nevermind - It was a stupid question! lol -----------------------> ANSWER is to put dhcpcd into bootlocal.sh using the command sudo dhcpcd.
« Last Edit: June 18, 2011, 07:27:29 AM by cURIOUSgEORGE »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: dhcpcd on start up (Solved)
« Reply #1 on: June 20, 2011, 12:38:01 PM »
Do not use sudo in bootlocal.sh, as it is already running as root.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: dhcpcd on start up (Solved)
« Reply #2 on: June 20, 2011, 04:14:47 PM »
 Thank you Gerald. Yesterday I learned how to tie my shoes and now this! I had no idea, so thank ya and will fix that now.