LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2005, 05:55 AM   #1
asifqaiyum
LQ Newbie
 
Registered: May 2005
Location: Pakistan
Distribution: Fedora Core3
Posts: 15

Rep: Reputation: 0
Fedora Core3: Problem in connecting internet


Hi everyone there,

Here is my system report.
Intel Pentium4
OS: Linux Fedora Core3 and WinXP

I am facing problem in connecting internet through gateway in linux. I have tried everything almost but failed. The following is the content of the file useful to you for identifying the problem.

file: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.26

file: /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=asifqa.abacus

Remember, I can ping the other system in my LAN successfully, but cann't connect internet. I can ping my gateway as well.

The DSN setting is also fine, but nslookup command does not work.

I have used system-config-network command to perform all settings.

Plz help me as it is really bothering me.

Thanks in advance

Asif Qaiyum
 
Old 05-27-2005, 06:21 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Are your ISPs nameservers listed in /etc/resolv.conf?
Code:
; generated by /sbin/dhclient-script
nameserver 205.244.112.20
nameserver 206.74.254.2
nameserver 207.40.113.20
nameserver 204.116.57.2
Is /etc/hosts correct?
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       uilleann        localhost.localdomain   localhost
192.168.0.1     modem
192.168.0.2     bones
192.168.0.3     tinwhistle
192.168.0.4     uilleann

Last edited by fancypiper; 05-27-2005 at 06:24 AM.
 
Old 05-27-2005, 06:33 AM   #3
asifqaiyum
LQ Newbie
 
Registered: May 2005
Location: Pakistan
Distribution: Fedora Core3
Posts: 15

Original Poster
Rep: Reputation: 0
Fedora Core 3: Problem in connecting with internet

yes, the /etc/resolve.cnf has following contents:

; generated by /sbin/dhclient-script
nameserver 202.147.176.40
nameserver 202.147.176.41

i think so, these are the DNS servers, i have also set in xp

and the contents of /etc/hosts is:
127.0.0.1 localhost.localdomain asifqa localhost
192.168.1.25 proto
192.168.1.20 salam

proto and salam is the systems on my local network;

Thanks for your reply

Looking forward to your reply

Asif Qaiyum
 
Old 05-27-2005, 06:42 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Can you identify the bottleneck with traceroute?
Code:
Fri May 27 06:40 AM root@uilleann ~ # traceroute yahoo.com
traceroute: Warning: yahoo.com has multiple addresses; using 66.94.234.13
traceroute to yahoo.com (66.94.234.13), 30 hops max, 38 byte packets
 1  208-34-232-1.skybest.com (208.34.232.1)  23.916 ms  26.618 ms  20.621 ms
 2  host73.sprintnetops.net (207.14.228.73)  22.140 ms  21.714 ms  19.990 ms
 3  sl-gw21-rly-5-0-TS7.sprintlink.net (160.81.38.209)  35.960 ms  35.754 ms  36 .039 ms
 4  sl-bb24-rly-3-0.sprintlink.net (144.232.14.53)  35.895 ms  35.782 ms  40.124  ms
 5  sl-st22-ash-6-0.sprintlink.net (144.232.20.189)  39.766 ms  41.044 ms  38.44 7 ms
 6  sl-st22-ash-14-0.sprintlink.net (144.232.29.204)  37.961 ms  41.571 ms  75.8 22 ms
 7  4.68.127.209 (4.68.127.209)  92.454 ms  60.454 ms  39.454 ms
 8  ae-1-55.bbr1.Washington1.Level3.net (4.68.121.129)  44.369 ms  37.832 ms  38 .009 ms
 9  ae-0-0.bbr2.SanJose1.Level3.net (64.159.1.130)  107.870 ms as-0-0.bbr1.SanJo se1.Level3.net (64.159.1.133)  107.857 ms ae-0-0.bbr2.SanJose1.Level3.net (64.15 9.1.130)  107.797 ms
10  ge-11-1.ipcolo3.SanJose1.Level3.net (4.68.123.107)  107.911 ms ge-10-0.ipcol o3.SanJose1.Level3.net (4.68.123.11)  132.006 ms ge-10-2.ipcolo3.SanJose1.Level3 .net (4.68.123.139)  119.968 ms
11  unknown.Level3.net (64.152.69.30)  119.927 ms  128.350 ms  127.893 ms
12  vl42.bas1-m.scd.yahoo.com (66.218.82.226)  142.433 ms UNKNOWN-66-218-82-230. yahoo.com (66.218.82.230)  146.381 ms vl42.bas1-m.scd.yahoo.com (66.218.82.226)  160.868 ms
13  * * *
14  *
 
Old 05-27-2005, 06:49 AM   #5
asifqaiyum
LQ Newbie
 
Registered: May 2005
Location: Pakistan
Distribution: Fedora Core3
Posts: 15

Original Poster
Rep: Reputation: 0
when i run 'traceroute yahoo.com'; it returned:

traceroute: unknown host yahoo.com

nslookup command also failed.

What to do?

Will it be possible for you to be online in yahoo or msn.....

My id is asifqaiyum@yahoo.com or asifqaiyum@hotmail.com....by the way

I am very disappointed with this situation.


Thanks in advance

Regards,
Asif Qaiyum
 
Old 05-27-2005, 06:53 AM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Sorry, I am out of ideas, unless your gateway has you blocked.

Mine worked out of the box on my install, but I don't use a gateway.

Last edited by fancypiper; 05-27-2005 at 06:55 AM.
 
Old 08-15-2007, 10:49 AM   #7
uma mahesh
LQ Newbie
 
Registered: Feb 2007
Posts: 15

Rep: Reputation: 0
Please Help me out if u got corrected

please help me out, i am suffering from same problem.
 
Old 08-15-2007, 10:49 AM   #8
uma mahesh
LQ Newbie
 
Registered: Feb 2007
Posts: 15

Rep: Reputation: 0
my email id is echo_mahesh@yahoo.co.in
 
Old 08-15-2007, 02:45 PM   #9
alexander_bosakov
Member
 
Registered: Mar 2006
Location: Plovdiv, Bulgaria
Distribution: OpenSuse 11.3
Posts: 55

Rep: Reputation: 15
Try to "ping" or better "traceroute" to some host given by IP, instead by host name. If it works, then your problem is in the name resolution - either you incorrectly set your namerservers, or they are not working correctly. But given the fact, that you have 4 of them, it's improbable all of them to be down. So, I suppose the problem is in the router and "traceroute" will fail after the gateway. Check if "ping" to a remote IP gives "Network unreachable", your router's NAT settings, the cables, the firewall settings (particularly the DNS service port), in this order.
 
  


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
Pctel Hsp56 with fedora core3 problem jasmeet93 Linux - Software 5 08-26-2005 11:13 PM
Sound Problem in Fedora Core3 and 4 reply2vinay Linux - Hardware 0 08-22-2005 06:36 AM
internet setup help in fedora core3? rodkate Fedora 2 07-09-2005 01:09 AM
Fedora Core3 Dual Hard drive problem Viruss1 Fedora - Installation 16 01-27-2005 09:18 PM
Fedora Core3 Enabling swap problem Dakkar Linux - Newbie 1 11-13-2004 12:32 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration