|
|
| Next: [News] Canonical Continues Turning Linux into Bus.. |
| Author |
Message |
kracks External

Since: Jun 08, 2007 Posts: 33
|
Posted: Sun Aug 05, 2007 11:04 pm Post subject: query in viewing my webserver in internet Archived from groups: comp>os>linux>development>apps (more info?) |
|
|
Hi,
I have embedded linux in my target board.
I have thttpd webserver also
I made a simple webpage.
I was able to see my webpage through LAN(ie. between linux PC and
target board)
If i want to see my webpage in internet what are the things i have to
do.
In kernel side and PC side.
I connected my target board to internet.
I have registered IP address.
Regards,
Kirthika |
|
| Back to top |
|
 |
kracks External

Since: Jun 08, 2007 Posts: 33
|
Posted: Mon Aug 06, 2007 2:51 am Post subject: Re: query in viewing my webserver in internet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Aug 6, 12:08 pm, markhob....RemoveThis@hotpop.deletethisbit.com (Mark Hobley)
wrote:
> kracks <kirthikai....RemoveThis@gmail.com> wrote:
> > I connected my target board to internet.
>
> > I have registered IP address.
>
> Is this a direct connection, or are you going through a NAT router? If you are
> using a NAT router, you will need to forward port 80 to the service port on
> your target device.
>
> Regards,
>
> Mark.
>
> --
> Mark Hobley
> 393 Quinton Road West
> QUINTON
> Birmingham
> B32 1QE
>
> Email: markhobley at hotpop dot donottypethisbit com
>
> http://markhobley.yi.org/
Hi,
My target board is connected to PC having internet connection.
Regards,
Kirthika |
|
| Back to top |
|
 |
Mark Hobley External

Since: Aug 31, 2004 Posts: 198
|
Posted: Mon Aug 06, 2007 7:08 am Post subject: Re: query in viewing my webserver in internet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
kracks <kirthikaiitm.TakeThisOut@gmail.com> wrote:
> I connected my target board to internet.
>
> I have registered IP address.
Is this a direct connection, or are you going through a NAT router? If you are
using a NAT router, you will need to forward port 80 to the service port on
your target device.
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/ |
|
| Back to top |
|
 |
Mark Hobley External

Since: Aug 31, 2004 Posts: 198
|
Posted: Mon Aug 06, 2007 5:08 pm Post subject: Re: query in viewing my webserver in internet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
kracks <kirthikaiitm.RemoveThis@gmail.com> wrote:
> Hi,
> My target board is connected to PC having internet connection.
Ok. I presume that the PC is acting as a router or gateway between the target
board and the internet. Is that correct?
Is the PC also running Linux?
How does the PC connect to the internet? Tell me about cables, modems,
routers, etc.
In simple terms, you need incoming traffic on port 80 of your PC to be
forwarded to the service port (presumably port 80) on your target board.
(You need to configure port forwarding on the PC and routers).
Out of interest, what is the application of this "target board"? Why not just
run the web server on the PC? Are you setting up some sort of remote access
controller? (I'm just being nosey here ... you don't have to tell me, if you
don't want to.) [I used to be a techhie]
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/ |
|
| Back to top |
|
 |
kracks External

Since: Jun 08, 2007 Posts: 33
|
Posted: Mon Aug 06, 2007 10:43 pm Post subject: Re: query in viewing my webserver in internet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Aug 6, 10:08 pm, markhob... RemoveThis @hotpop.deletethisbit.com (Mark Hobley)
wrote:
> kracks <kirthikai... RemoveThis @gmail.com> wrote:
> > Hi,
> > My target board is connected to PC having internet connection.
>
> Ok. I presume that the PC is acting as a router or gateway between the target
> board and the internet. Is that correct?
>
> Is the PC also running Linux?
>
> How does the PC connect to the internet? Tell me about cables, modems,
> routers, etc.
>
> In simple terms, you need incoming traffic on port 80 of your PC to be
> forwarded to the service port (presumably port 80) on your target board.
> (You need to configure port forwarding on the PC and routers).
>
> Out of interest, what is the application of this "target board"? Why not just
> run the web server on the PC? Are you setting up some sort of remote access
> controller? (I'm just being nosey here ... you don't have to tell me, if you
> don't want to.) [I used to be a techhie]
>
> Regards,
>
> Mark.
>
> --
> Mark Hobley
> 393 Quinton Road West
> QUINTON
> Birmingham
> B32 1QE
>
> Email: markhobley at hotpop dot donottypethisbit com
>
> http://markhobley.yi.org/
Hi,
My target board has thttpd webserver and i want to access my
webpage(inside
target board) in internet.
My target board is connected to Linux PC having internet connection.
My modem is ADSL.
I am not sure to configure my target board so that i can access
everywhere in
internet.
Regards,
Kiruthika |
|
| Back to top |
|
 |
Bill Marcum External

Since: Dec 18, 2006 Posts: 286
|
Posted: Tue Aug 07, 2007 8:05 pm Post subject: Re: query in viewing my webserver in internet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Mon, 06 Aug 2007 22:43:11 -0700, kracks
<kirthikaiitm.TakeThisOut@gmail.com> wrote:
>
>
> Hi,
> My target board has thttpd webserver and i want to access my
> webpage(inside
> target board) in internet.
> My target board is connected to Linux PC having internet connection.
> My modem is ADSL.
> I am not sure to configure my target board so that i can access
> everywhere in
> internet.
>
You need to configure your ADSL modem. The modem either functions as a
router, assigning your target board a private IP address (192.168.x.x or
10.x.x.x); or as a bridge, which gives your board a publicly visible IP
address. If the modem functions as a router, you configure it to
forward port 80 to the target board. Clients on the internet will need
to know the modem's IP address.
--
Inheritance taxes are getting so out of line, that the deceased family
often doesn't have a legacy to stand on. |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|