<div class='quotetop'>QUOTE </div>
--- Quote Start ---
Hi ,everybody,
I'm working on porting a tiny webserver onto the de2 board,and I choose "goahead "server,I change some codes of Makefile and could compile successfully with nios2-gcc,but when running on the board,I did "hostname localhost"and "webs",no running informations ,I really don't know whether it is running ,also the server doesn't work,(I can ping but browser does not work ),I just take the config as hippo's NET in the Wiki ,I know we need ip addr and the port to browse the webpage,but what else config should I make in the kernel configuratiion.considering cgi,asp,and so on ,pratically.,and is the port number of the board is default added (eg.webserver browser:80)??
Please info me some instructions.Thanks very much..[/b]
--- Quote End ---
i tried it with romfs n encounter the same problem as urs. den i tried using rootfs n got the oom-killer. mayb de2 doesnt have enuf memory to run goahead. i den switched to boa n successfully run it on de2.
i repeat my problem here... i manage to get boa to run n serve static webpages. i want cgi, so i do according to hippo in BuildrootGuide step 14: Customize Vendor/User Settings (NEW) to select cgi generic.
when make romfs, i got this:
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
chmod 620 /home/jwlam/uClinux-dist-test/romfs/dev/@[pt]ty[pqrsPQRS][0-9a-f],*
romfs-inst.sh -s /var/tmp /tmp
romfs-inst.sh /etc/inittab
cp: cannot stat `inittab': No such file or directory
make[2]: *** [romfs] Error 1
make[2]: Leaving directory `/home/jwlam/uClinux-dist-test/vendors/Altera/nios2nommu'
make[1]: *** [romfs] Error 2
make[1]: Leaving directory `/home/jwlam/uClinux-dist-test/vendors'
make: *** [romfs] Error 1[/b]
--- Quote End ---
bin, usr n var dir under romfs dir is empty.
pls advise. thx.