-   Linux - Networking (
-   -   help connecting to internet (

thomasjor 09-04-2004 01:34 AM

help connecting to internet
Sorry to start a new thread but I have searched these threads for hours (read: days) without a whole lot of progress. There are thousands of "Help connect to internet!" threads already I know but im stumped here. My problem is:

I have a compaq armada m300 (laptop) with intel etherexpress 10/100 NIC. I am running Slackware 10 with 2.6.8 kernel.

The OS sees the NIC


lspci -v output:

00:09.0 Ethernet Controller: Intel corp 82557/8/9 [Ethernet Pro 100] Rev 9
etc, etc...

I assume this is a good thing. Next, the computer is using the NIC to do something.


ifconfig output:

Link encap:Ethernet HWaddr (mac adress here)
inet addr: Bcast: Mask:
etc, etc...

I assume this is also good.

Next, I can ping the router and get 0% loss. I can also ping ( without loss. Also a step forward.

I can also bring up in Konqueror by entering the IP.

The problem is that I cannot bring up any website using its domain name (example: does not work).

Can anyone give me some direction? It is like I have 95% of a internet connection here.

I am semi-new to linux so please gear your response accordingly. :-) Thanks in advance.

bruno buys 09-04-2004 01:41 AM

Internet is already set, indeed. You only need a dns server. You either have to tell slackware to use your isp's dns server (there must be one), or you can run one locally.
Post again on how to do this, or google for it.

thomasjor 09-04-2004 02:46 AM

I am pretty new to this so I am not sure where to start searching. Google'ing "How to tell slack my dns" does not return a whole lot of useful results. Can we give a more n00b-ified answer by chance?

thomasjor 09-04-2004 03:40 AM

I have it working now, though I am not completely sure what I did to get here. If I narrow it down I will post again so this thread could be helpful to someone else.

bruno buys 09-04-2004 11:12 AM

A dns server will be queried "which ip owns this domain?" type, by the OS. The query sends the domain, the server outputs an ip. To resolve names into ip's, you have to tell your slack an ip of a server where it can send its queries.
In my suse, I set it to "update name servers with dhcp". Dhcp is the protocol through which I connect to the internet. So, basically, what you should do is figure out where is this config stored in slack.

JCdude2525 09-04-2004 03:12 PM

Arn't the DNS addresses stored in /etc/resolv.conf? Most linux distros I've used that's where they were....

thomasjor 09-04-2004 09:48 PM

Yes I believe you to be right JCDude, resolv.conf is where you find the DNS servers, I guess. I opened my router config page and found a couple IP addresses which I added to /etc/resolv.conf like so:


emacs /etc/resolv.conf


I saved the file, exited emacs, exited Konsole, rebooted.

I was then able to connect to the internet. I also did about 1000 other things beforehand that may have had an effect. I am still changing one variable at a time to see what causes me to loose connection.

My concern is that this is my laptop, thus I take it places and connect to the internet in a number of environments. If this is only going to work at my house then I have only won half the battle.

Stay tuned for more as I understand it...

All times are GMT -5. The time now is 05:43 AM.