Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Server issues with cable Internet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Mon Sep 01, 2003 5:52 pm    Post subject: Server issues with cable Internet Reply with quote

I don't know exactly how else to describe this problem. Ever since I moved to my apt. using cable Internet I can not access my server. If I type in localhost then I get some search page that searches for localhost. I can type localhost:631 and get the cups page though. And if I type my IP in, I get a "connection was refused" error.

Here is some output:
Code:

$ifconfig
eth0      Link encap:Ethernet  HWaddr 00:03:6D:16:51:63
          inet addr:192.168.1.104  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:8789231 (8.3 Mb)  TX bytes:924689 (903.0 Kb)
          Interrupt:5 Base address:0x9800

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:584 errors:0 dropped:0 overruns:0 frame:0
          TX packets:584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:209395 (204.4 Kb)  TX bytes:209395 (204.4 Kb)
Back to top
View user's profile Send private message
metalac
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 191
Location: Seattle, USA

PostPosted: Mon Sep 01, 2003 7:34 pm    Post subject: Reply with quote

is there some sort of a router or something going on there? because your IP is NOT 192.168.1.104

Your IP should be whatever the IP of that modemr or external IP on that router.

So look into it.
_________________
>>>>> Ignorance is bliss <<<<<
Back to top
View user's profile Send private message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Mon Sep 01, 2003 8:04 pm    Post subject: Reply with quote

yes, I have a router. The IP I use to access the web interface of the router is 192.168.1.1 but that's got to be intranet, not internet, because it was a generic IP used in the instruction manual of the router.

So, I'm not sure what to use.
Back to top
View user's profile Send private message
graybeard
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 118
Location: a blue state

PostPosted: Mon Sep 01, 2003 9:09 pm    Post subject: Reply with quote

Can you ping to the router?

Code:

$ ping 192.168.1.1


And can you ping to the outside world? (ie. www.google.com)

Code:

$ ping 216.239.53.99


If you pass the first test but fail the second it is possible that your router is not set up right or needs to be reset. Mine has a release/renew button on an internal setup HTML page, for when communication between the cable modem and the router gets hosed up. Let us know.

-dan
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Mon Sep 01, 2003 9:35 pm    Post subject: Re: Server issues with cable Internet Reply with quote

Could this be something similar to what you are trying to do ?
http://shorewall.net/FAQ.htm#faq14
Back to top
View user's profile Send private message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Mon Sep 01, 2003 9:41 pm    Post subject: Reply with quote

hmmm. funny. I can ping 192.168.1.1 but not www.google.com. Strange since I can access the sites fine. I tried the dhcp release / renew thing and it still doesn't work. However, I did see the external IP addy for my router listed on that page. I still don't know how to find mine though.
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Mon Sep 01, 2003 10:36 pm    Post subject: Reply with quote

ryan83vt wrote:
hmmm. funny. I can ping 192.168.1.1 but not www.google.com. Strange since I can access the sites fine. I tried the dhcp release / renew thing and it still doesn't work. However, I did see the external IP addy for my router listed on that page. I still don't know how to find mine though.


This is interesting reading as well
http://homepage.ntlworld.com/robin.d.h.walker/docsdiag/
Back to top
View user's profile Send private message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Thu Sep 04, 2003 3:45 am    Post subject: Reply with quote

none of those links really helped -- the 1st link showed the problem I had but a solution that did not really apply to me. I'm suprised more people don't have this problem.
Back to top
View user's profile Send private message
st. anger
Apprentice
Apprentice


Joined: 30 Oct 2002
Posts: 273

PostPosted: Thu Sep 04, 2003 3:50 am    Post subject: Reply with quote

the external IP for your router is your IP. simply forward port 80(or whatever external port you want to use) to your servers internal-IP:port number.

also, you should be able to see localhost if your server is set up correctly. instead of typing localhost, try http://192.168.1.104 (your servers IP) or http://127.0.0.1 to verify that the server is running.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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