Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

websever

dear all,

does anyone make websever on uclinux? could you tell me how to do ?

i want to do boa + cgi websever but there are some bugs in boa in UClinuxDist .

help me !! thanks

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by nwpu_zhf2004@Jul 27 2006, 11:22 AM

    dear all,

    does anyone make websever on uclinux? could you tell me how to do ?

    i want to do boa + cgi websever but there are some bugs in boa in uclinuxdist .

    help me !! thanks

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17163)

    --- quote end ---

    --- Quote End ---

    please check Nacide&#39;s update to boa,

    http://www.8ung.at/nacide_manfred/linuxtut...ml#boawebserver (http://www.8ung.at/nacide_manfred/linuxtutorial.html#boawebserver)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    dear all,

    does anyone make websever on uclinux? could you tell me how to do ?

    i want to do boa + cgi websever but there are some bugs in boa in UClinuxDist .

    help me !! thanks[/b]

    --- Quote End ---

    i am doing the same thing with u. i found the site hippo gave few days ago n still trying on it. mayb we can share some info. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by jwlam@Jul 26 2006, 11:10 PM

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    dear all,

    does anyone make websever on uclinux? could you tell me how to do ?

    i want to do boa + cgi websever but there are some bugs in boa in uclinuxdist .

    help me !! thanks

    --- Quote End ---

    i am doing the same thing with u. i found the site hippo gave few days ago n still trying on it. mayb we can share some info. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17166)</div>

    [/b]

    --- Quote End ---

    I try it according to hippo,only can ping the websever but can&#39;t see the websever page.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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&#39;: No such file or directory

    make[2]: *** [romfs] Error 1

    make[2]: Leaving directory `/home/jwlam/uClinux-dist-test/vendors/Altera/nios2nommu&#39;

    make[1]: *** [romfs] Error 2

    make[1]: Leaving directory `/home/jwlam/uClinux-dist-test/vendors&#39;

    make: *** [romfs] Error 1[/b]

    --- Quote End ---

    bin, usr n var dir under romfs dir is empty.

    pls advise. thx.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi ,everybody,

    I&#39;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&#39;t know whether it is running ,also the server doesn&#39;t work,(I can ping but browser does not work ),I just take the config as hippo&#39;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..
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    Hi ,everybody,

    I&#39;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&#39;t know whether it is running ,also the server doesn&#39;t work,(I can ping but browser does not work ),I just take the config as hippo&#39;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&#39;: No such file or directory

    make[2]: *** [romfs] Error 1

    make[2]: Leaving directory `/home/jwlam/uClinux-dist-test/vendors/Altera/nios2nommu&#39;

    make[1]: *** [romfs] Error 2

    make[1]: Leaving directory `/home/jwlam/uClinux-dist-test/vendors&#39;

    make: *** [romfs] Error 1[/b]

    --- Quote End ---

    bin, usr n var dir under romfs dir is empty.

    pls advise. thx.