miguipda wrote:@MMV
does it means it can simply work if I put the ipkg files in the htdocs folder used by xampp on my computer (by example) ? And simply give the router the path to this virtual wbserver ?
Another thing, my modem use pppoa (ADSL2+) and get automatically an IP, DNS IP but the router is automatically configured to get automatically IP that it well receive. But it doesn't go to internet. What's wrong ?!
As the modem get all the needed IPs and give it well to the router I presume the router doesn't need to be configure as pppoa (just pppoe available in the config). For me as it receive IP it doesn"t need anything else to get working.
Sincerely thanks and have a nice day.
Sorry for the late reply , got kinda busy with trunk compiling
If you have , say , your local comp with a local ip of 192.168.0.2 , your router adsl as 192.168.0.1 , then you just put the ip of the eth0 interface as
ifconfig eth0 192.168.0.10 up
and then
route add default gw 192.168.0.1
vi /etc/resolv.conf and replace the line
nameserver 127.0.0.1
with
nameserver 8.8.8.8
and you are good to go arround the net
If you have your web server up and ready , you could , with this setup , be capable of downloading anything from your local pc with something along the lines of
Opewrt:/tmp# wget http://192.168.0.1/package.ipk
from the /tmp directory and then
Opewrt:/tmp# opkg install package.ipk
easy as pie 