6caa073760
it should work even if you don't assign a pidfile
2003-12-26 23:41:28 +00:00
d242e49c89
fix a long standing underallocation bug
2003-12-24 19:57:13 +00:00
a8992635b1
move debugging to safe place (before vfork)
2003-12-24 19:31:08 +00:00
4e864a36b6
Finish remerging busybox udhcp and udhcp. Some cleanups as well.
2003-12-18 22:25:38 +00:00
e30495654d
clean up some bad, bad formatting
2003-12-16 22:46:33 +00:00
76729b8c69
include headers with prototypes to make sure prototypes match
2003-12-16 20:44:15 +00:00
5f46f1c241
remove reference to missing header file which is breaking the build
2003-12-16 12:04:01 +00:00
6b3f757053
revert removal of define
2003-12-16 02:38:09 +00:00
4040d3d712
forgotten include
2003-12-16 02:34:28 +00:00
8b3845106a
why the complication of a static string rather than a define? gcc isn't dumb
2003-12-16 02:30:53 +00:00
4b77acafa6
start attempting to bring udhcp in busybox back to the state where it is (ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
2003-12-16 02:28:20 +00:00
7becf5987a
when compiled standalone, udhcp needs these headers
2003-12-16 01:42:18 +00:00
a3170d5aab
whoops
2003-12-16 01:33:38 +00:00
8f43126934
not sure who made this change, but it certainly mucks things up (note 'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
2003-12-16 01:29:40 +00:00
62419df95c
make udhcp work under uclinux, to an extent
2003-12-15 22:11:26 +00:00
4a9e34c148
options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox
2003-12-15 22:09:36 +00:00
c16686c1e2
Ulrich Marx writes:
...
hello
i had some trouble with the filedescriptor in udhcp.
Two things happened on my device:
1.) broken or not connected cable (no dhcp-server)
2.) daemonizing (starting with option -b)
i got a filedescriptor fd=0 from function raw_socket,
after daemonizing (daemon call) the fd is closed.
Client can't recieve data's anymore.
i fixed this problem (like pidfile handling):
2003-11-14 03:00:04 +00:00
88c916bdec
Andreas Mohr writes:
...
the busybox menuconfig triggered my "inacceptable number of spelling mistakes"
upper level, so I decided to make a patch ;-)
I also improved some wording to describe some things in a better way.
Many thanks for an incredible piece of software!
Andreas Mohr, random OSS developer
2003-10-22 09:58:56 +00:00
d9461f887e
Allow one to detect and handle the case where no lease could be obtained
...
via DHCP. (Just add a section "failed" to your script.)
Patch by Steven Scholz
2003-09-01 04:08:36 +00:00
29a05f56d5
"Without this patch, udhcpcd output may be buffered and delayed for
...
for minutes if stdout is not a tty." -vda@
2003-08-30 04:47:36 +00:00
8ce8f9b482
Remove stray '\n'
2003-08-29 15:19:44 +00:00
2233685f00
Remove unused files
2003-08-29 15:03:12 +00:00
cb81e6484d
Update a bunch of docs. Run a script to update my email addr.
2003-07-14 21:21:08 +00:00
e5642119ee
Patch from Thomas Cameron:
...
Hello all,
This patch adds more "Help" text to the config system. Almost
all applets now have a help entry. Also, I cleaned up the spacing of
the existing text so that things are consistent. This patch is against
this morning's CVS.
Thomas Cameron
CEI Systems, Inc.
2003-07-14 19:37:08 +00:00
1b2e7c3b2a
Make gcc not whine about "deprecated use of label at end of compound statement"
2003-06-20 09:20:28 +00:00
a8da17acef
Add missing pieces from vodz' last_patch88
2003-06-14 02:57:53 +00:00
24833430bc
Vodz, last_patch_88
2003-06-10 17:22:49 +00:00
cad5364599
Major coreutils update.
2003-03-19 09:13:01 +00:00
4a4c677fcc
Patch from Bastian Blank
...
- ip route flush
- different usage for telnetd in inetd mode
- changes for the default flags of the ip features
- if no /usr requested, udhcpc should use the script also without /usr.
2003-02-15 11:50:33 +00:00
858fad722f
sync with udhcp bug fixes
2003-02-12 22:20:19 +00:00
6393d69f76
merge fixes with udhcp
2003-01-21 22:39:34 +00:00
b2bfd34a7b
hehe. Screwed that one up. Lets do things right this time.
...
-Erik
2002-12-11 22:59:39 +00:00
1f1c3f9485
Makefile rework coordinate with Russ so udhcp will behave
...
-Erik
2002-12-11 22:45:33 +00:00
54fde9ea5c
slight change to reflect BB_VER change
2002-12-11 22:43:37 +00:00
9f4395c54e
sorry about all the noise, should be all synced up now
2002-12-11 21:40:46 +00:00
1eb7a17b12
resync with udhcp cvs
2002-12-11 21:12:45 +00:00
d7e1a6c6eb
Make sure we have a show_usage function prototype
...
-Erik
2002-12-11 07:46:30 +00:00
6b5bd0e5ab
Support using ip in udhcpc scripts.
...
Slightly modified version of patch by Bastian Blank
2002-12-08 22:17:54 +00:00
27e99c8f09
Fixup dumpleases compile problem
2002-12-06 21:42:56 +00:00
c9f20d9fb9
Yet another major rework of the BusyBox config system, using the considerably
...
modified Kbuild system I put into uClibc. With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system. I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
-Erik
2002-12-05 08:41:41 +00:00
a170e1c858
Change if(x)free(x); to free(x);
2002-11-28 11:27:31 +00:00
ae01fa99e1
udhcpc documentation update
2002-11-19 00:41:09 +00:00
da970859da
version number oops
2002-11-05 20:10:21 +00:00
f5ecd43473
sync to udhcp 0.9.8
2002-10-31 19:21:27 +00:00
1977a60de4
missed add for udhcp
2002-10-14 21:47:07 +00:00
61fb48930f
added full udhcp integration
2002-10-14 21:41:28 +00:00