LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-06-2002, 02:54 PM   #1
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Rep: Reputation: 15
Question no www name resolution when eth0 active


i have both a modem and a lan card, both internal. i can now get my modem to dial and connect; however, my browser cannot find a website if i have my lan eth0 activated. it works fine if i deactivate my lan connection. what have i done wrong?
 
Old 12-06-2002, 04:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Do you have any sort of DNS entries in /etc/resolv.conf ?? Not sure if those would conflict but when your dialing up, and with the LAN active, they might be trying to use those instead or something like that..
 
Old 12-06-2002, 05:23 PM   #3
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
yeap.
open your kppp settings go to account settings highligh the one that you use. click on edit and look for dns tab. type the dns servers of your ISP and you should be all set.
 
Old 12-07-2002, 06:11 AM   #4
bhefny
LQ Newbie
 
Registered: Nov 2002
Location: Egypt
Distribution: Mandrake 8.1
Posts: 16

Rep: Reputation: 0
I'm Having the exact Same Problem. And I tried this solution but it didn't work .
KPPP Statistics showed 5 more packets instead of nothing at all .
But I Guess The 5 more packets are ARP .
But Still No software Detects that I'm Online .

thanks ..
 
Old 12-07-2002, 07:20 AM   #5
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Depending on your distribution, the dialler script will put a "defaultroute" option into pppd when it dials which requests it creates a gateway setting in your routing table.
If you have another "gateway" setting in /etc/sysconfig/network or in the eth~ settings, it will take precedence when the interface comes up.

type "route" before and after the interfaces are up to see what is being changed.

By default, a ppp~ connection coming up will overwrite the /etc/resolv.conf with the ISP supplied numbers, whereas a static eth~ coming up won't.
 
Old 12-07-2002, 11:52 AM   #6
bhefny
LQ Newbie
 
Registered: Nov 2002
Location: Egypt
Distribution: Mandrake 8.1
Posts: 16

Rep: Reputation: 0
all You Said Is True but I didn't understand exactly what to do ??
And I'm Using Mandrake 8.1
 
Old 12-07-2002, 04:45 PM   #7
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Depending on how you set up the configuration, either via GUI or from the install,...
can you find your way back into the configuration settings?

Under KDE they are Start--System--Network, then configure the eth's to not have a gateway settting...
Then remove any gateway numbers from "/etc/sysconfig/network" file.
Type "route" from a command line and make sure there is no UG in the last line.
Practise bringing each interface up and checking the "route" output before and after.
 
Old 12-08-2002, 03:13 AM   #8
Penguinizer
LQ Newbie
 
Registered: Dec 2002
Location: Egypt
Distribution: Mandrake
Posts: 28

Rep: Reputation: 15
This Is still bhefny but I Cganged My Profile.
I Opened Netconf and removed any Gateway setting I could Find.

The "/etc/sysconf/network ":

GATEWAY=""
GATEWAYDEV=""

and when I type "route" the last line contains UG.
which is my defauly line.
I Have three lines :
IP FLAG interface
192.168.0.0 U eh0
127.0.0.1 U lo
default UG eh0

and yes, I'm using KDE.
Do I Have To remove what "balam" told me about DNS ??
Thanks
 
Old 12-08-2002, 05:11 PM   #9
Penguinizer
LQ Newbie
 
Registered: Dec 2002
Location: Egypt
Distribution: Mandrake
Posts: 28

Rep: Reputation: 15
Still Nothing Works .
The UG Flag Is Still On .

And I Have to Send all This From WINDOWS XP
 
  


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
Cannot ping self ??? eth0 not active ??? Wynand1 Linux - Networking 2 06-29-2006 12:11 AM
interface eth0 is not (yet?) active jorcas SUSE / openSUSE 1 11-22-2004 06:53 PM
3Com 509B It all works! except Internet? sees eth0 but can't go active kylecarrington Linux - Newbie 13 11-02-2004 07:42 PM
Network card wil not active on eth0 berryseyx Linux - Laptop and Netbook 5 12-16-2003 07:45 AM
eth0 not active on startup rocket84 Linux - Networking 6 07-21-2003 01:09 AM

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

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration