Jump to content


Photo

Apache


  • Please log in to reply
61 replies to this topic

#1 Emu&Co

Emu&Co

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 222 posts
  • Gender:Male
  • Location:Germany / Bavaria
  • Interests:GP32, GP2X, Computer, ReactOS, Cars

Posted 12 November 2004 - 06:45 PM

Today I managed to install an USB LAN Card on my GP. But how can I communicate with my PC (IP???) AND how can I set it up as a server on NET?

#2 Vimacs

Vimacs

    Don't be evil!

  • X-treme Team
  • 5213 posts
  • Location:Germany

Posted 13 November 2004 - 05:39 AM

you cant install apache, just httpd or something, and rtfm and you find it out

#3 ingeras

ingeras

    GP Mania

  • GP Guru
  • 388 posts
  • Location:Europe

Posted 13 November 2004 - 04:08 PM

you can install boa too
and you can use ftp to communicate with your pc
or vnc(not tested)

#4 Emu&Co

Emu&Co

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 222 posts
  • Gender:Male
  • Location:Germany / Bavaria
  • Interests:GP32, GP2X, Computer, ReactOS, Cars

Posted 21 November 2004 - 08:24 PM

Can I get em precompiled somewhere (httpd, rtfm, ftp, proftpd)

#5 Horscht

Horscht

    Banned?

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1575 posts
  • Location:Germany

Posted 22 November 2004 - 04:44 PM

Can I get em precompiled somewhere (httpd, rtfm, ftp, proftpd)

View Post


er................I donīt think "rtfm" is a prog, Reimi. Thatīs probably "read the fucking manual" :blink:

#6 Protoss

Protoss

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 271 posts
  • Location:Houston, Texas

Posted 23 November 2004 - 01:15 AM

Yea, he was saying to read the f-ing manual and you'll find out how to compile it yourself ;)

#7 Emu&Co

Emu&Co

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 222 posts
  • Gender:Male
  • Location:Germany / Bavaria
  • Interests:GP32, GP2X, Computer, ReactOS, Cars

Posted 23 November 2004 - 03:45 PM

OK, thanks for nothing. This is one of the best examples, why people leave the scene. They are asking a question and the reply "read the fucking manual". Thanks one more time.

#8 Protoss

Protoss

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 271 posts
  • Location:Houston, Texas

Posted 23 November 2004 - 10:43 PM

I'll admit sometimes they are a bit harsh..but most questions are answered if you search, as long as what you are looking for is 4+ letters -_- <_<

#9 ravuya

ravuya

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 443 posts
  • Location:AB Canada

Posted 24 November 2004 - 03:06 PM

You probably should read the manual that came with the Apache distribution, I think you just need the ./configure, make, make install dance as root.

edit: I have no clue if gplinux has gnu make.

Edited by ravuya, 24 November 2004 - 03:06 PM.


#10 cyberic

cyberic

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 153 posts

Posted 26 November 2004 - 02:53 PM

Hi

You cannot compile apache on the gp, it has not enough memory (at least I think so) and you do not have write access to the SMC.
You could try to compile it on a mounted network drive...

PM me if you want more precise info

Thanks

Cyberic

#11 ravuya

ravuya

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 443 posts
  • Location:AB Canada

Posted 26 November 2004 - 03:01 PM

Oh, okay. Does GP32 Linux have NFS and SSH capability? If so, I should probably run out and order a GP32 right now!

#12 cyberic

cyberic

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 153 posts

Posted 26 November 2004 - 07:31 PM

Oh, okay. Does GP32 Linux have NFS and SSH capability? If so, I should probably run out and order a GP32 right now!

View Post

Yes it should. I have already compiled openssh, and I could compile a kernel with NFS support.
I have even received a usb to eth dongle, which should be supported by GPLinux. The only problem is that I am running out of time.

But I can provide a kernel with NFS, and also ssh binaries, if someone is interested. Maybe this combination (or using telnet) will enable us to natively compile GP32 apps (you will have to be patient and have a dc adaptor I think ;-) )

If you are interested, Ravuya, or anyone else, tell us.

Emu&Co, about your question: sorry for the previous reply, my boss was just behind me ;-)

Did u get to the point to get your network card recognized by gplinux? does a new eth interface show up?

I will here assume you succeded.

- Now you have to link the PC and the GP with an eth cable, and set the IPs with ifconfig.
(I will provide a binary in a few minutes).

test that it works by pinging each other.

- Next, you have to cross compile web server, or to compile it natively on the GP on a network mounted drive.

Toholl succeeded in compiling boa, which is a simple webserver.

- Then, you have to configure your firewall to redirect the incoming port 80 to the GP's IP, with iptables (that you have to compile) or with a simple port redirector (which should be easier to compile)

- Launch boa on the gp

And you are done!


If some things are not clear enough, ask me. If anybody can provide additional help, you're welcome.

Sorry if it sounds complicated, but I cannot summarise a linux/network lesson here.

I'm waiting for your remarks, and the busybox binaries are coming....

C ya

#13 cyberic

cyberic

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 153 posts

Posted 26 November 2004 - 08:04 PM

Here are the binaries:

http://cyberic.free.fr/GPlinux

There is a kernel with usb network cards, nfs and samba client support, and a new busybox including ping, ifconfig, telnet, telnetd and so on (look at the .links file to see every app included)
Please refer to http://www.busybox.n...ds/BusyBox.html for the docs.

There are also some ipkgs I compiled, including ssh. I may have forgotten to include some libs, just ask me. I would suggest to use telnet instead, because the server is already included into busybox.

You can use ipkg-extract to extract the ipks.


I did it in a rush so nothing might work at all... Sorry I have no time to test but I can help you if you correctly report problems.

But if you use all this correctly, you should be able to log on your gp and to run a webserver (I forgot to mention: busybox also contains httpd, so you do not even need to compile a webserver.

I have NOT said it would be simple, but it IS certainly doable, for sure.

If you have some knowledge and time, here you go.
Keep us updated!

Hope this helps

Cyberic

#14 Protoss

Protoss

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 271 posts
  • Location:Houston, Texas

Posted 27 November 2004 - 03:29 PM

Ok gonna try it now...
Nvm...I dont have a usb>ethernet or a wifi card that would work.

Edited by Protoss, 27 November 2004 - 03:35 PM.


#15 cyberic

cyberic

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 153 posts

Posted 27 November 2004 - 05:33 PM

Ok gonna try it now...
Nvm...I dont have a usb>ethernet or a wifi card that would work.

View Post

Ingeras managed to get his wifi card to work, after a lot of work...
You have to ensure first that you card is suported with linux 2.4.13