Gateway and static IP with custom firmware

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
zx-81
Posts: 11
Joined: Fri Apr 07, 2006 5:38 pm
Location: France
Contact:

Gateway and static IP with custom firmware

Post by zx-81 »

I can't get the static IP stuff to work with several homebrews such as peldet, pspssh, pspirc, pspvnc etc ...

So for debug purposes, i'm using the sample test program given with the SDK to test Wireless connection functions, that i've modified a bit.
You can find the source here :
main.c

The makefile i use to compile it under linux is here :
Makefile

While running this small test program under a 3.40-OE firmware, it works perfectly with a DHCP connection, i can do a telnet on the port 23 from any location on my networks, through routers etc ...

But when i try it with a static IP configuration it works only on the subnetwork of the given IP, as if it was unable to reach or to find my gateway. Even if i can display the right gateway IP with the Apctl get info function.

I've seen that raf has encountered the same issue with pspradio, and i wonder if any solution has been found for now ?

Many thanks for your help.
The only good is knowledge and the only evil is ignorance.
Post Reply