LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-04-2004, 01:34 AM   #1
thomasjor
LQ Newbie
 
Registered: Sep 2004
Posts: 27

Rep: Reputation: 15
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

Code:
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.

Code:
ifconfig output:

eth0
Link encap:Ethernet HWaddr (mac adress here)
inet addr: 192.168.0.102 Bcast: 192.138.0.225 Mask:255.255.255.0
etc, etc...
I assume this is also good.

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

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

The problem is that I cannot bring up any website using its domain name (example: linuxquestions.org 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.
 
Old 09-04-2004, 01:41 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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.
 
Old 09-04-2004, 02:46 AM   #3
thomasjor
LQ Newbie
 
Registered: Sep 2004
Posts: 27

Original Poster
Rep: Reputation: 15
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?
 
Old 09-04-2004, 03:40 AM   #4
thomasjor
LQ Newbie
 
Registered: Sep 2004
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
Old 09-04-2004, 11:12 AM   #5
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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.
 
Old 09-04-2004, 03:12 PM   #6
JCdude2525
Member
 
Registered: Mar 2004
Location: Berlinsville
Distribution: Slackware/Fedora
Posts: 103

Rep: Reputation: 15
/etc/resolv.conf

Arn't the DNS addresses stored in /etc/resolv.conf? Most linux distros I've used that's where they were....
 
Old 09-04-2004, 09:48 PM   #7
thomasjor
LQ Newbie
 
Registered: Sep 2004
Posts: 27

Original Poster
Rep: Reputation: 15
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:

Code:
emacs /etc/resolv.conf

nameserver ip.add.re.ss
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Connecting to the Internet jthomas98 Linux - Networking 1 10-29-2005 02:26 PM
Connecting to the internet... redkazan Linux - Newbie 12 01-22-2004 06:04 AM
connecting to internet reznik Linux - Networking 2 07-19-2003 07:37 PM
Connecting to the Internet mjl1297 Linux - Software 2 02-06-2002 04:33 AM


All times are GMT -5. The time now is 10:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration