Jump to content

access my computer from the web - help please!


photoworks
 Share

Recommended Posts

You can click System/Configuration/Configure Your Computer.

 

In there, there should be an option for the LAN connection, where you can change static IP's etc.  You don't need to add a connection, since one will already exist.  You just need to change it from DHCP to static, and then give an IP.

 

Make sure you change the DHCP range on the router though, as it'll conflict if another machine tries to pick one up you allocated as static.

ok, i will try that tonight

Link to comment
Share on other sites

  • Replies 59
  • Created
  • Last Reply

Top Posters In This Topic

Yes, just change the start IP from .2 to .10, this will give you 9 spare then for anything you wish to allocate static IP addresses to.

ok, i tried yesterday to set the dhcp to static and assign an ip address in MCC, But when i do that, my network connection is lost so i just set it back to dhcp.

 

 

just wondering now, if someone is online, could you try this link to my machine :

 

http://82.17.144.113/fashionbug/

 

at he moment, my router setings are :

 

lan client restrictions page :

 

ip address : 192.168.2.1

 

ip address pool :

 

Start IP 192.168.2.2

end IP 192.168.2.40

 

domain name : work group

 

 

on virtual server :

private ip : 192.168.2.10 (this is my machine current ip address) - private port : 80 - Type : tcp - Public port 80

 

Special application settings :

 

Trigger Port  : 80  Trigger Type : tcp    Public Port : 80  Public Type : tcp

 

are my settings correct ? can anyone access to the link online.

 

:help:

Link to comment
Share on other sites

When you give static, you need to make sure you have DNS servers too, did you allocate these?

 

The easiest way to find out is check your /etc/resolv.conf when you're using DHCP and see what it says. If it lists your router, then make sure your Default Gateway and DNS are set to point to your router. Then you should be able to access the internet without any problems. If not, default gateway is still router, and then just configure the DNS entries a whatever appears in /etc/resolv.conf

 

Internet access normally fails when no DNS servers are selected, even if the Default Gateway is set. Because there's no name resolution.

 

And yes, I just tried the link and can view your page :P

Link to comment
Share on other sites

here is what i have on etc/resolve.conf :

 

search WorkGroup

nameserver 192.168.2.1

 

here is the status on my router :

 

Belkin Gateway Router

INTERNET

GATEWAY  INFORMATION

Cable/DSL :

CONNECTED

WAN IP: 82.17.144.113

Subnet Mask: 255.255.255.0

Gateway IP: 82.17.144.254

DNS: 194.168.8.100

Secondary DNS: 194.168.4.100

 

    IP Address:  192.168.2.1

Subnet Mask:  255.255.255.0

DHCP Server:  Enabled

NAT:  Enabled

Firewall:  Enabled

    Connected Clients:  1

Runtime Code Version:  V1.20.003

Boot Code Version:

V1.00

LAN MAC Address:

00-30-BD-26-97-F7

WAN MAC Address:

00-30-BD-26-97-F8

Hardware Version:  R01

Serial Num:  308KM04672

Link to comment
Share on other sites

OK, when you configure static IP, you can do one of two things.

 

Static IP - 192.168.2.2 (for example)

Subnet - 255.255.255.0

Gateway - 192.168.2.1

 

DNS 192.168.2.1 or these two entries:

 

194.168.8.100

194.168.4.100

 

I would recommend that you use the ISP DNS Server entries, rather than your router. The reason I say this is, that your router is acting as a DNS proxy. What this means is that your router receives the DNS query from your machine and then relays it to the ISP's DNS Servers based on it's connection config. Sometimes, this can be delayed, and cause problems. If you use the ISP ones instead, when allocating the static IP, the name resolution happens a lot faster.

 

Then, configure the Virtual server to point to the static IP you set up, check you can browse the internet first though, to make sure all is OK with the IP config, and you should be sorted! :P

 

I suggest you leave search domain blank, and zeroconf blank as well when you configure it all.

Link to comment
Share on other sites

That's a little odd. Can you post the results from an ifconfig when using static, and then can have a look at what is happening. Also, post your /etc/resolv.conf when you've allocated static IP too, and we'll see what we can do.

Link to comment
Share on other sites

ifconfig :

[root@ photoworks]# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:08:74:97:18:AE

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:11 Base address:0xec80

 

eth1      Link encap:Ethernet  HWaddr 00:02:2D:BC:51:7C

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:13016 errors:0 dropped:0 overruns:0 frame:0

          TX packets:10499 errors:9 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:14847668 (14.1 Mb)  TX bytes:2093620 (1.9 Mb)

          Interrupt:5 Base address:0x100

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:877 errors:0 dropped:0 overruns:0 frame:0

          TX packets:877 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:838083 (818.4 Kb)  TX bytes:838083 (818.4 Kb)

 

etc/resolv.conf :

 

search WorkGroup

nameserver 192.168.2.1

 

# ppp temp entry

Link to comment
Share on other sites

when you set the static IP on the PC make sure you enter DNS and GATEWAY

in MCC the "setup network ... doesn't ask for the gateway

add GATEWAY in the reconfigure network section

your gateway is very important at this point

once all numbers are good you should be able to

ping 192.168.2.1

 

your Gateway - 192.168.2.1

make sure the IP you choose for this PC is outside the scope/range of IP addresses being handed out by the router .

post-10346-1127695732_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...