Web Server
Web Server
I've made a web server for the PSP, it lets you browse your memory stick and internal flash devices.
http://www.microsith.com/psp-http/
The networking code is from pspet's wifi sample code, and has the same problem; it will only work with static IP addresses.
The home button doesn't work (its running as a kernel thread), but requesting /quit (or following one of the links to it) will make it return to the menu screen.
- Steve
http://www.microsith.com/psp-http/
The networking code is from pspet's wifi sample code, and has the same problem; it will only work with static IP addresses.
The home button doesn't work (its running as a kernel thread), but requesting /quit (or following one of the links to it) will make it return to the menu screen.
- Steve
works great, i posted a photo of it in action if anyone cant get it working or doesnt have a wifi card http://emuholic.emuboards.com/modules.p ... 829&tbid=6
Emuholic - PSP, DS, GBA and GP32 news
help
the program get stuck on looking for dhcp sever will fail plz help
i would love to use this
i would love to use this
Re: help
Read the orginial post:nosrak113 wrote:the program get stuck on looking for dhcp sever will fail plz help
i would love to use this
DHCP = not work.theno23 wrote: The networking code is from pspet's wifi sample code, and has the same problem; it will only work with static IP addresses.
on the PSP network settings you have to manually enter the IP address, its on the 3rd or 4th screen titled Address Settings, choose Custom then Manual on the following screen and then enter in the details there.
Emuholic - PSP, DS, GBA and GP32 news
Don't forget, that if you're behind a router, you need to have it set up to use static IP addresses... you can't just enter any random numbers there and have it work.
Edit:
About the DHCP thing... have you looked into looking into the source of dhclient on linux? I'm dont even have a clue on how a dhcp client talks to a server, but it's prolly somewhere in that source.
Edit:
About the DHCP thing... have you looked into looking into the source of dhclient on linux? I'm dont even have a clue on how a dhcp client talks to a server, but it's prolly somewhere in that source.
Last edited by Agoln on Fri Jul 01, 2005 11:43 pm, edited 1 time in total.
Its in the networking configuration, you have to use custom config. not easy.nosrak113 wrote:how do i make it so it has a static ip address
Set IP address setting to manual, give it an IP address (like one you get from DHCP, but not one in use), subnet mask will be 255.255.255.0 probably, and set anything for the primary DNS (its not used).
To get an address you can tell it to use DHCP, then write down the number you get back on the testing screen.
The kernel does the DHCP negotiation for you, as far as I can tell. But it looks like its waiting for a callback or similar so the app can choose some options. Its not really clear though, and I've not put any effort into fixing it.Agoln wrote: About the DHCP thing... have you looked into looking into the source of dhclient on linux? I'm dont even have a clue on how a dhcp client talks to a server, but it's prolly somewhere in that source.
Yeah, the psp already has support for it. We just need to figure out the callbacks and libs associated with it.theno23 wrote:The kernel does the DHCP negotiation for you, as far as I can tell. But it looks like its waiting for a callback or similar so the app can choose some options. Its not really clear though, and I've not put any effort into fixing it.Agoln wrote: About the DHCP thing... have you looked into looking into the source of dhclient on linux? I'm dont even have a clue on how a dhcp client talks to a server, but it's prolly somewhere in that source.
-
- Posts: 25
- Joined: Thu Apr 14, 2005 12:36 pm
No shit..... at one place it's 909090 etc etc.... you know how many times I have to press the key? It's about 19 presses for a 9, and 26 presses for a 0.rogerlike wrote:no way i'm deleting them all, you know how much of a pain those 128bit wep passwords are to type in? hehe. tia.
That adds up to 585 presses of the X button just to enter the wep!!!!
Lego of my Ago!
if you press Select you can easily switch between numbers and characters!Agoln wrote:No shit..... at one place it's 909090 etc etc.... you know how many times I have to press the key? It's about 19 presses for a 9, and 26 presses for a 0.rogerlike wrote:no way i'm deleting them all, you know how much of a pain those 128bit wep passwords are to type in? hehe. tia.
That adds up to 585 presses of the X button just to enter the wep!!!!
BTW, great work! Keep it up!
@rogerlike: you have to change only one setting of it, i have 4 different and changed the second one now it all working perfect!
re: DHCP
> ... We just need to figure out the callbacks and libs associated with it.
Exactly. Most of the structure is already there, just need to figure out what is missing (Wipeout Pure and Twisted Metal appear to do the same init, but they have adhoc features too)
Its on my list.
---
> hi, i have multiple accounts in network settings - which one will be chosen by httpd?
The important number is the parameter to "sceNetApctlConnect". The sample uses "0" which I think means the last connection added (or officially used by the system). If you just added a new Infrastructure Network configuration with a static IP, it *should* use that one.
For more explicit control: change that to "1" it will pick the first connection in the list (or 2, 3, 4 etc). That's a temporary work around. The next update of the WiFi sample will include code to enumerate the possible configs and let you pick them based on name/SSID. Hopefully fix the DHCP and other problems too.
> ... We just need to figure out the callbacks and libs associated with it.
Exactly. Most of the structure is already there, just need to figure out what is missing (Wipeout Pure and Twisted Metal appear to do the same init, but they have adhoc features too)
Its on my list.
---
> hi, i have multiple accounts in network settings - which one will be chosen by httpd?
The important number is the parameter to "sceNetApctlConnect". The sample uses "0" which I think means the last connection added (or officially used by the system). If you just added a new Infrastructure Network configuration with a static IP, it *should* use that one.
For more explicit control: change that to "1" it will pick the first connection in the list (or 2, 3, 4 etc). That's a temporary work around. The next update of the WiFi sample will include code to enumerate the possible configs and let you pick them based on name/SSID. Hopefully fix the DHCP and other problems too.
I'm not getting it
I can't get it to work. I just did a system update and I have a static IP set up.
However, 15 is reported as corrupted and 10 results in 'game cannot start'.
I put each folder in the games folder.
Am I doing it right? I looked all over for install docs, but came up empty.
the 15 folder had httpd and httpd% in it.
I'll try downloading it again.
Gordie
However, 15 is reported as corrupted and 10 results in 'game cannot start'.
I put each folder in the games folder.
Am I doing it right? I looked all over for install docs, but came up empty.
the 15 folder had httpd and httpd% in it.
I'll try downloading it again.
Gordie