| View previous topic :: View next topic |
| Author |
Message |
apache37
Joined: 04 Jun 2004 Posts: 76
|
Posted: Tue Nov 02, 2004 9:51 am Post subject: DHCP |
|
|
| Is this an issue with PS2SMAP? It never seems to work and I was wondering if anyone has looked into it. |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Nov 02, 2004 11:40 am Post subject: |
|
|
I was surprised that DHCP even existed as a feature.
I looked at lwip, sure enough its there. LWIP_DHCP or something like that.
But it requires a #define to be made in the makefile.
And since it is made from the ps2ips or ps2ip makefiles, the define should be made there. But there is a different #define there, PS2IP_DHCP or something like that, and as far as I can tell, it is the wrong #define and doesn't affect the LWIP_DHCP macro being set.
So the question is, is the dhcp.o actually made, and is it actually getting turned on in lwip ? I would certainly rather use DHCP if I can. |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Tue Nov 02, 2004 12:58 pm Post subject: |
|
|
Unless it's been changed in the past few months, PS2IP does not support DHCP. _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
apache37
Joined: 04 Jun 2004 Posts: 76
|
Posted: Tue Nov 02, 2004 1:35 pm Post subject: |
|
|
| Well there is a dhcp.c and dhcp.h in lwp/src/include and lwp/src/core. Is this feature just off? I understood that if I didn't pass IP params when loading ps2smap.irx then it would try and use dhcp. |
|
| Back to top |
|
 |
boomint
Joined: 13 Apr 2004 Posts: 80 Location: Sheffield, UK
|
Posted: Wed Nov 03, 2004 2:45 am Post subject: |
|
|
Indeed there is the structure for DHCP in the LWIP package - however the dhcp.o file is not built and linked by default.
I had a brief foray into this with the view of implementing it, however time constraints have shelved it for a while.
You can build the latest tagged (V_1_0_ I believe) LWIP package without too much modification, speaking to Oobles and Pukko may help you along the way if you intend to persue it. _________________ --( someone stole my sig! )-- |
|
| Back to top |
|
 |
apache37
Joined: 04 Jun 2004 Posts: 76
|
Posted: Sun Nov 21, 2004 2:25 pm Post subject: |
|
|
Well my ps2sdk setup must have problems. I tried to compile ps2ip.irx with DHCP support and that hung. In fact when I tried to compile without DHCP it still hung. So my setup is hosed.
Can someone compile ps2ip.irx with DHCP enabled?? Then I can test the irx.
Thanks :) |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Mon Nov 22, 2004 5:26 am Post subject: |
|
|
eh if you aint willing to put the time down into making dhcp happen dont ask others to do it for you. _________________ Kung VU |
|
| Back to top |
|
 |
apache37
Joined: 04 Jun 2004 Posts: 76
|
Posted: Mon Nov 22, 2004 5:50 am Post subject: |
|
|
| Well AFAIK it just needs to be enabled in the makefile. I can do that but like I said something is wrong with my setup. I'm not being lazy in the slightest. I don't know why my ps2sdk setup isn't right. |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Mon Nov 22, 2004 7:31 pm Post subject: |
|
|
dhcp as far as i know has never been tested, and I doubt its just a matter of enabling it in the makefile. _________________ Kung VU |
|
| Back to top |
|
 |
tjd
Joined: 27 May 2004 Posts: 23 Location: Austin, TX
|
Posted: Sun Dec 05, 2004 7:03 am Post subject: DHCP DOES work with PS2IP |
|
|
Folks;
After reading these posts about DHCP I was greatly concerned. I've been revving our stack up to PS2IP and had worked my way down the the last item-- DHCP.
However, all is fine. But you DO need to recompile ps2ip, ps2ip2, and smap, and your apps of course if they touch netif. This is because of a little conditional compilation bomb in the netif structure. It expands differently if DHCP is not defined by all parties. So just set PS2IP_DHCP to 1 and LWIP_DHCP also (for good measure).
Have fun-
tjd |
|
| Back to top |
|
 |
|