LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2017, 04:05 PM   #1
robertchenault
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
udhcpc - example default.script


I'm trying to figure out the easiest way to setup the udhcpc on my target. I've looked at the udhcpc manpages, but I wonder if there are any examples on the setup? At the minimum, maybe an example "/usr/share/udhcpc/default.script" file?

I'm running BusyBox on Linux 6.

Thanks in advance,
Robert Chenault
 
Old 03-15-2017, 09:46 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,789
Blog Entries: 13

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
There is an example. See the README which cites how to point to a script, also citing the default script that should be located in: /usr/share/udhcpc/default.script.

Have you looked at their default script and viewed this README to understand the options you have where you can then next determine what configuration best works for your situation?

I think the easiest way to set it up is to start with their defaults, then determine if you need any customized settings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
udhcpc for 2 NICs for embedded system 5883 Linux - Networking 0 01-14-2012 10:02 AM
[SOLVED] Shell script -> udhcpc lfs_mm Linux - General 4 11-19-2011 05:41 AM
user mode not able to execute 'udhcpc' hieswarmcaquest Linux - Networking 0 05-23-2011 11:21 AM
How can I use udhcpc? archieval Linux - Networking 2 04-07-2010 09:56 AM
udhcpc problems knobby67 Linux - Networking 10 12-23-2009 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration