LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-16-2006, 11:11 AM   #1
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Fedora 5 Internet Issue


I'm having some problems connecting to the internet on my Fedora Core 5 machine. My connection comes into the PC by ethernet connection into the motherboard. We have a DSL connection that comes to a gateway. There is no problem with the connection from the computer to the gateway. I can access it and make changes. There is nothing wrong with the internet as I can use any other machine with that gateway. I hope I've given enough information. If you need to know anything more just ask and I'll get it to you. I would realy like to get this working ASAP. Thank You.
 
Old 04-16-2006, 01:18 PM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
post the o/p of #cat /etc/resolv.conf

regards
 
Old 04-16-2006, 03:43 PM   #3
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Ok. I'm not sure exactly what o/p means. But I went and did "cat /etc/resolv.conf" and this was the output

; generated by /sbin/dhclient-script
search domain.actdsltmp
nameserver 192.168.0.1
nameserver 216.165.129.157

If thats not what your looking for then you'll need to explain more. If that is what your looking for. I'd kinda like to know what significance this is.
 
Old 04-16-2006, 08:27 PM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by Wierd_Kid
I'm having some problems connecting to the internet on my Fedora Core 5 machine. My connection comes into the PC by ethernet connection into the motherboard. We have a DSL connection that comes to a gateway. There is no problem with the connection from the computer to the gateway. I can access it and make changes. There is nothing wrong with the internet as I can use any other machine with that gateway. I hope I've given enough information. If you need to know anything more just ask and I'll get it to you. I would realy like to get this working ASAP. Thank You.
o/p : out put
i'm assuming that you have a DSL modem which is connected to the NIC of your machine.
How did you setup the internet connection ?
was it using "pppoe-setup" or something else ?
your /etc/resolv.conf is showing that you have assigned 192.168.0.1 IP address to your modem. Is it so ?

post the o/p of #route -n
and
#cat /etc/sysconfig/network-scripts/ifcfg-eth0

regards

Last edited by b0nd; 04-16-2006 at 08:32 PM.
 
Old 04-17-2006, 08:15 AM   #5
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Gosh i'm stupid. Output, that makes sense. What I have is a modem/gateway. And my machine connects to that using an ethernet cable. The connection was set up when I installed fedora so I don't really know. Yes the address of my modem is 192.168.0.1

the o/p of route -n is as such
bash: route: command not found

and the o/p of the other is as this
# Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller
Device=etho0
Bootproto=dhcp
Hwaddr=00:14:85:BF:06:50
Onboot=yes
Usercntl=no
Peerdns=yes
Type=Ethernet


That should be it. Except the command that didn't work. I don't know about that one. But if I figure it out i'll post the O/p Of that.
 
Old 04-19-2006, 08:32 PM   #6
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
what you do to connect to the internet ? i.e which application you run.
and can you ping your DNS server "nameserver 216.165.129.157"??
#ping 216.165.129.157

regards
 
Old 04-19-2006, 08:35 PM   #7
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I'm using firefox. And yes I can ping it.
 
Old 04-19-2006, 08:56 PM   #8
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by Wierd_Kid
I'm using firefox. And yes I can ping it.
I intended to ask the way you get the internet connection up.
e.g i use #pppoe-start / #adsl-start.
So what you do ?

regards
 
Old 04-20-2006, 05:57 AM   #9
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
FC5 internet access problem

I also having the same problem when first FC5 installed, firefox can not access internet.

Primary and secondary DNS ip need to added in network->DNS settings or in /etc/resolv.conf

Last edited by fhleung; 04-20-2006 at 06:05 AM.
 
Old 04-20-2006, 09:42 AM   #10
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ruudra
I intended to ask the way you get the internet connection up.
e.g i use #pppoe-start / #adsl-start.
So what you do ?

regards
I didn't. When I installed the OS it did it automaticly.

Quote:
Originally Posted by fhleung
I also having the same problem when first FC5 installed, firefox can not access internet.

Primary and secondary DNS ip need to added in network->DNS settings or in /etc/resolv.conf
I have both DNS ip's in their proper slots.


Edit.

HAHA. Well, I though I had the DNS ips in the right place. But I didn't. I went and put them in their proper slots. And it worked.

Last edited by Wierd_Kid; 04-20-2006 at 09:52 AM.
 
Old 04-21-2006, 06:01 AM   #11
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by Wierd_Kid
Ok. I'm not sure exactly what o/p means. But I went and did "cat /etc/resolv.conf" and this was the output

; generated by /sbin/dhclient-script
search domain.actdsltmp
nameserver 192.168.0.1
nameserver 216.165.129.157
hi,
216.165.129.157. Isn't it your DNS ???
and what settings did you changed to make your internet connection work ?

regards
 
Old 04-21-2006, 07:51 AM   #12
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ruudra
hi,
216.165.129.157. Isn't it your DNS ???
and what settings did you changed to make your internet connection work ?

regards
Yes. It is. What I did to fix it. I went to System>Administration>Network>DNS In there I noticed that my router was listed as the main DNS IP. I looked at my router, and figured out that wasn't the way it should be. So I pluged in the info my router gave me on DNS into the settings, and TA DA. Internet.
 
Old 04-21-2006, 11:01 AM   #13
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by Wierd_Kid
Yes. It is. What I did to fix it. I went to System>Administration>Network>DNS In there I noticed that my router was listed as the main DNS IP. I looked at my router, and figured out that wasn't the way it should be. So I pluged in the info my router gave me on DNS into the settings, and TA DA. Internet.
hi,
could you please post your current resolv.conf...
#cat /etc/resolv.conf

regards
 
Old 04-21-2006, 12:04 PM   #14
Wierd_Kid
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
; generated by /sbin/dhclient-script
search domain.actdsltmp
nameserver 216.165.129.157
nameserver 216.170.153.146
 
Old 04-21-2006, 12:43 PM   #15
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by Wierd_Kid
; generated by /sbin/dhclient-script
search domain.actdsltmp
nameserver 216.165.129.157
nameserver 216.170.153.146
ok.
So you made changes in this file only ??? or somewhere else too.
b'coz initially the first entry was for your modem in /etc/resolv.conf but the second entry was for DNS. So your modems IP wasn't of any use there but your internet applications ( e.g broswer ) must have looked down for the second entry of DNS existing in the /etc/resolv.conf. In that case too you should have access to internet although a bit slower ( the time it waste looking the IP of modem).

regards
 
  


Reply



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
Internet connection issue space_invader64 SUSE / openSUSE 2 03-15-2006 03:32 PM
Internet Connection issue AzNsnake666 Linux - Software 2 12-30-2005 06:42 PM
internet issue easykillsoft Linux - Networking 1 11-21-2005 09:53 PM
Internet Connectivity Issue sdr0715 Linux - General 2 09-28-2005 01:11 PM
Knoppix- Cable Internet Issue iatemyfingers Linux - Networking 6 01-12-2005 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:02 PM.

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
Open Source Consulting | Domain Registration