LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 03-29-2006, 04:20 AM   #1
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
PPPOE connects but cant browse


Hi all
I am new to this forum (not my first time using linux though)
I searched around the forum , there are folks with similar issues but not exactly the same

I use Fedora C4 and winxp dual boot

My ISP provides a pppoe connection

The xp client works fine

On the fedora c4 I setup rppppoe

$pppoe-setup
//some few steps in whch I correctly give the info abt dns etc

$pppoe-start
... connected .

Then I try using firefox to get to google.com
It says "could not be found"

so I ping the DNS


$ping DNS
proper reply

Now i ping google.com

$ping "google"
//unreachabel

Can anyone please tell me where and what I am doing wrong
(I have seen that the eth0 is properly configed, and also abt dns etc)


The ISP support people have almost given up
I badly need internet access on fedora , please help some1
 
Old 03-29-2006, 04:56 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 30
I looks like you've answered your own question. As you can ping by IP but not by FQDN then you have a DNS resolution problem.

Search these forums for posts about configuring DNS settings (there are plenty).

(all though technically you should be pinging www.google.com)
 
Old 03-29-2006, 05:23 AM   #3
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
okmyx --> yes infact I did ping the url for google
I only wrote "google" because the forum did not allow me to post an external url,

furthermore I would like to add this to my earlier post

The setup process asks for a primary and secondar DNS

after $pppoe-start

I am able to ping the primary DNS but not the secondary one
and also not able to ping sites like "google"
(apologies for the confusion)

Also --> I have verified that DNS settings are fine,

Eagerly waiting for response (sick of windoze)
 
Old 03-29-2006, 06:42 AM   #4
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 30
Apologies,

Post the contents of your '/etc/resolv.conf' file.
 
Old 03-29-2006, 10:59 AM   #5
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Apologies for delayed response

Please see the contents of the file below

nameserver 202.63.175.194
nameserver 202.63.164.18


thanx
 
Old 03-30-2006, 04:04 AM   #6
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Folks
Any suggestions / help would be gratefully recd
I really am sick of windoze, also just curious whether using "DARWIN"
would be like using any of the Linux distros

However my main concern is with the PPPOE issue
Please Help
 
Old 03-30-2006, 04:49 AM   #7
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
ok, do the following things.

1. Get connected to internet #pppoe-start.
2. #ifconfig

Quote:
root@bond:/# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:x.y.z.186 P-t-P:203.101.x.y Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:364828 errors:0 dropped:0 overruns:0 frame:0
TX packets:274284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:266522713 (254.1 Mb) TX bytes:18053264 (17.2 Mb)
3. #route add default gw <that highlighted IP i.e 203.101.x.y>
( the command may be different for Fedora.....this one works on slackware )

Now open some site........it should work.

if it doesn't.....then post the entries of
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
and # ifconfig

regards

Last edited by b0nd; 03-30-2006 at 04:53 AM.
 
Old 03-30-2006, 05:59 AM   #8
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx Ruudra
I havent tried out your suggestions (since not at my workstation right now)
But as soon as I have tried it I will post the results
Thanx again
 
Old 03-30-2006, 06:48 AM   #9
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
A query about the procedure u have suggested rudra


On fedora is your process the same as adding

GATEWAY = A.B.C.D (after pppoe-start)

to
/etc/sysconfig/network

Thanx again
 
Old 03-30-2006, 09:11 AM   #10
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by tangolike
A query about the procedure u have suggested rudra


On fedora is your process the same as adding

GATEWAY = A.B.C.D (after pppoe-start)

to
/etc/sysconfig/network

Thanx again
i'm slackware user......so not pretty sure about how its done on Fedora. Just search for it in this forum....if you don't find then fire the corresponding query.

regards
 
Old 03-30-2006, 10:23 AM   #11
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
rudra


the tip didnt work
(i still wasnt able to ping anything)

Please see the data u asked for below , thanx:


contents of

[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:50:BF:51:C8:07
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=localhost.localdomain
IPADDR=10.40.208.51
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=yes
GATEWAY=10.40.208.1
IPV6INIT=no



[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BF:51:C8:07
inet addr:10.40.208.51 Bcast:10.40.208.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe51:c807/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:149466 errors:0 dropped:0 overruns:0 frame:0
TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10476544 (9.9 MiB) TX bytes:36693 (35.8 KiB)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2654 errors:0 dropped:0 overruns:0 frame:0
TX packets:2654 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2219650 (2.1 MiB) TX bytes:2219650 (2.1 MiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:221.128.162.91 P-t-P:202.63.175.194 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1538 (1.5 KiB) TX bytes:282 (282.0 b)
 
Old 03-30-2006, 12:50 PM   #12
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,022

Rep: Reputation: 45
Find the configuration options for your PPPoE connection. If it's not in some GUI then it's probably in the /etc/ppp/options file.

Change or add the DNS to automatic option: If editing the options file just uncomment or add the line:
Code:
usepeerdns
 
Old 03-30-2006, 08:37 PM   #13
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by tangolike
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:50:BF:51:C8:07
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=localhost.localdomain
IPADDR=10.40.208.51
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=yes
GATEWAY=10.40.208.1
IPV6INIT=no


[root@localhost ~]# ifconfig

ppp0 Link encap:Point-to-Point Protocol
inet addr:221.128.162.91 P-t-P:202.63.175.194 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1538 (1.5 KiB) TX bytes:282 (282.0 b)
202.63.175.194 should be the gateway and not the 10.40.208.1.
so check out the relevent files and edit it there.
Restart the network service and try pinging then.

regards
 
Old 03-30-2006, 11:29 PM   #14
tangolike
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Folks
Thanx for the prompt replies

Rudra --> I came across this topic before your reply

http://www.linuxquestions.org/questi...d.php?t=389709

The dude there had similar problems, so I removed
the line
GATEWAY=10.40.208.1

and tried connecting
still the same issue persists

although now after connecting (#pppoe-start)
I get the other gateway as default (which is ok, I think)

Again I am able to ping the primary dns , but not the secondary dns and therefore not able to ping the "outer world"



DARIN --> I will try out your suggestions and post the results
(Not at my work station again)

Thanx again Guys
 
Old 03-31-2006, 12:01 AM   #15
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by tangolike
The dude there had similar problems, so I removed
the line
GATEWAY=10.40.208.1

and tried connecting
still the same issue persists
buddy i asked you to replace the line instead of removing that.
If you don't have proper gateway then how your machine is suppose to get connceted to the outer world ???

Quote:
although now after connecting (#pppoe-start)
I get the other gateway as default (which is ok, I think)
It should be what i specified in my last post.

Quote:
Again I am able to ping the primary dns , but not the secondary dns and therefore not able to ping the "outer world"
your misconception here. Two DNS have been provided for reliablity. If one fails then second one will be there to support the network.
If you are not being able to ping the Second one that means there is some problem with that DNS.......so better ask your ISP about that.
If any one of them is working...you should be able to ping the outer world.

buddy......you are getting connected to internet....problem is with gateway only.

regards
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pppoe connects but i need to run 'ifconfig eth0 up' please help.... deepclutch Debian 3 12-08-2005 10:03 AM
PPPoE on Debian gateway disconnects continually when WinXP machine connects thelastboyscout Linux - Networking 4 09-05-2005 06:55 AM
Suse Linux 6.2 modem connects, but can't browse web sclem Linux - Newbie 2 01-18-2005 04:24 PM
Dial up connects, but can't ping or browse rob0t Linux - Networking 8 12-13-2004 10:27 PM
My modem dials-up, connects, but I can't browse Hugo Orlando Linux - Hardware 2 11-14-2003 08:14 PM


All times are GMT -5. The time now is 01:10 PM.

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