forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DHCP

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
apache37



Joined: 04 Jun 2004
Posts: 76

PostPosted: Tue Nov 02, 2004 9:51 am    Post subject: DHCP Reply with quote

Is this an issue with PS2SMAP? It never seems to work and I was wondering if anyone has looked into it.
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Nov 02, 2004 11:40 am    Post subject: Reply with quote

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

PostPosted: Tue Nov 02, 2004 12:58 pm    Post subject: Reply with quote

Unless it's been changed in the past few months, PS2IP does not support DHCP.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
apache37



Joined: 04 Jun 2004
Posts: 76

PostPosted: Tue Nov 02, 2004 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
boomint



Joined: 13 Apr 2004
Posts: 80
Location: Sheffield, UK

PostPosted: Wed Nov 03, 2004 2:45 am    Post subject: Reply with quote

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
View user's profile Send private message
apache37



Joined: 04 Jun 2004
Posts: 76

PostPosted: Sun Nov 21, 2004 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Mon Nov 22, 2004 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
apache37



Joined: 04 Jun 2004
Posts: 76

PostPosted: Mon Nov 22, 2004 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Mon Nov 22, 2004 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tjd



Joined: 27 May 2004
Posts: 23
Location: Austin, TX

PostPosted: Sun Dec 05, 2004 7:03 am    Post subject: DHCP DOES work with PS2IP Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group