Click to See Complete Forum and Search --> : No internet, but can ping


dq386
07-28-2002, 10:16 PM
Skip to post #3 please, OS changed, but problem remains...

Saptech
07-28-2002, 11:05 PM
What's in your /etc/resolv.conf file?

dq386
07-30-2002, 10:25 AM
OK, I installed Peanut 9.3 and so far, it is much faster....

But, I have the same problem as before. I am able to ping LAN and WAN IPs and I can even ping www.yahoo.com, but I cannot connect to the interent. I couldn't even ping LAN until I disabled PNP OS in BIOS. I know this likely has something to do with the problem, but I don't know where to begin on look the rectify the situation.

Ifconfig results:
eht0
inet addr: 192.168.1.105
bcast: 192.168.1.255 ---- don't know hat this means
Mask: 255.255.255.0

lo
Link encap:Local Loopback
inet addr:127.0.0.1
Mask:255.0.0.0

Content of /etc/resolv.conf
search local
nameserver 192.168.1.1

X_console
07-30-2002, 12:25 PM
Please do not cross post. Post in one forum and wait for an answer.

/etc/resolv.conf must contain your nameservers. This should typically contain your ISP's nameservers.

dq386
07-30-2002, 12:52 PM
I don't know too much about linux, but I assume, since I can ping www.yahoo.com, it is not a DNS problem, I could be wrong. But all my other machines use the 192.168.1.1 gateway for DNS without problems. Sorry about the cross post, I thought the topic might be more appropriate in this forum. Sorry.

i_like_peanut_butter
07-30-2002, 01:08 PM
Do you have a firewall between you and the internet? I'm assuming since you have a private-net address on your linux box. Is it allowing port 80 traffic to get back to you? Other than ping, is there any other internet services working?

dq386
07-30-2002, 02:18 PM
On a different machine, I was able to connect to a web server running on the peanutbox(which I do not want) by typing in 192.168.1.105 This troubles me as I do not want, need or have the knowledge to be running a web server.

No other internet services are working. I tried to connect to a FTP site, but no luck there either.

I have a NAT router as a gateway on my LAN. I changed the IP of the peanutbox to an IP I know works, but still nothing. THis seems so strange to me.

Still have the same no internet trouble but now I also have to turn off some services, thanks for bringing it to my attention.

Anything else I should look at? I really don't know if a firewall is running on the peanutbox, but I am trying to find out.

dq386
07-30-2002, 07:14 PM
I really don't know for sure if I have a firewall running or not, I don't know how to tell what programs are running. There is a gfcc firewall app in the menu, but it is completely blank-no entries.

Also, I am able to connect to the enternal webserver on my router. So, I am really confused. If i type in http://64.58.76.178 I still cannot connect, but ping and tracert still work fine. Anyone??

Saptech
07-31-2002, 01:02 AM
Originally posted by dq386
Content of /etc/resolv.conf
search local
nameserver 192.168.1.1

/etc/resolv.conf

search local
nameserver 192.168.1.1

and should contain:

yourispname & isp ip numbers
somebody.com 204.24.34.3

Try adding your isp name and ip numbers to it.

great_a77
07-31-2002, 06:23 AM
Are you behind a firewall?
If you are trying to get a machine to work with any assigned IP address, you server should be configured for forwarding the packets from that IP address to the default gateway.
For example: Let's say that I have a machine with IP address w.x.y.z. Then the server should be told to forward packets from w.x.y.z to the default gateway.
You can achieve this by IP forwarding.

Regards

cowanrl
07-31-2002, 01:25 PM
Originally posted by dq386
I really don't know for sure if I have a firewall running or not, I don't know how to tell what programs are running. There is a gfcc firewall app in the menu, but it is completely blank-no entries.

Also, I am able to connect to the enternal webserver on my router. So, I am really confused. If i type in http://64.58.76.178 I still cannot connect, but ping and tracert still work fine. Anyone??

When you access the internal webserver on your router, are you using a port number other than port 80? In other words, when you access it are you typing in:

http://xxx.xxx.xxx.xxx:10000

Any number you typed in after a colon would be a port number other that 80. That could be why that web traffic works to it but no other web traffic does.
It sure looks like a firewall issue somewhere.

Saptech,
Just for your info., some of these small routers can act as sort of a DNS relay agent. I have a small 3Com router on my network for access to the Internet. I program my ISPs DNS addresses in to it, and point all the machines on my network to the router for their DNS server. The router actually has a 10 item table in it that I can put local addresses in it if I want. Any other DNS requests it gets it forwards to the ISPs DNS server.
Since all of his other machines are working using the router's address as the DNS server, I'm assuming it works similar to mine.

dq386
07-31-2002, 02:56 PM
I think I found the root of the problem thanks to an email I received from a member at this forum.

"The kernel does not contain support for your card" was a message in the /etc/rc.d/rc.inet1. I was told all other methods would "likely" fail if this issue was not resolved.

This must be the most basic newbie problem. I had even added my ISP's DNS to resolv.conf and nothing.

cowanrl, yes, we have a very similar setup indeed. DNS forwarding is handeled by the router. But, sadly, it wasn't a port issue.

great_a77, I am not really sure if I understand what you are saying correctly. I do not want a web/ftp server running on this machine at all, if I was, I understand why I would need to forward the incoming packets to that machine. IF you mean, for this machine to connect to the internet, I need to send all request from this machine to the gateway, isn't this what entering the gateway IP is for? If not, how would I go about asking a firewall to forward outgoing requests to the gateway? I think there is a firewall running (gfcc, ipchain or tables, I honestly can't remember dual boot-have to reboot to find out for certain) but all entries are blank at this time.

So, I appreciate the assistance, but from what I was told, I must now figure out how to add NIC support (linksys network everywhere fast ethernet nc100) to the kernel (2.4.19?) as I was told this is very likely to key to my problem. Recompiling sounds like a very daunting task for a newbie, so if there is another way, I would be more than willing to listen.

jumpedintothefire
08-01-2002, 08:53 AM
What do you have in /etc/modules.conf??
What does cat /proc/interrupts and cat /proc/ioports give you??
What is the output of route -n??

dq386
08-01-2002, 01:49 PM
Jumped:

The list was rather large, so I am attaching the results of the files you requested into one large txt file. Thanks for your interest.

dq386
08-01-2002, 03:44 PM
Problem is fixed! I now have internet access.

It seems the trouble was with my NIC being recognized as a different type. I was able to remove the # from the correct /etc/rd.c/rc.modules, rebooted and everything is working well.

Thanks for all the help.

...dq386