Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with DNS [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Fri Sep 18, 2009 7:40 pm    Post subject: Problem with DNS [Solved] Reply with quote

After booting minimal install CD, I set up network using net-setup eth0. Then partitioning, mounting. Then I want to use links, but I cant connect to www.gentoo.org.
I tryed pinging, doesnt work. I looked in /etc/resolv.conf and there was as nameserver, 192.168.1.2, but should be 192.168.1.1. I changed it, saved, but pinging doesnt work.(I can ping main router, but no internet site - DNS problem. But after setting using net-setup pinging sites worked. I also restarted pc, everything from start, but doesnt help. Can anybodoy help?


Last edited by rado3105 on Sat Sep 19, 2009 7:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Sep 18, 2009 7:45 pm    Post subject: Reply with quote

Can you ping by IP address?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Sep 18, 2009 7:50 pm    Post subject: Reply with quote

Are your /etc/conf.d/net and /etc/hosts files correctly configured?

Do you have net.eth0 started?
Code:
rc-status
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3612

PostPosted: Fri Sep 18, 2009 7:57 pm    Post subject: Reply with quote

Hi,
What will happen when you boot from LiveCD and immediately try to ping?
Also is this the only machine you have? Is it a dual-boot?

It sounds like firewall/router security issue...

Thank you.
Back to top
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Fri Sep 18, 2009 8:43 pm    Post subject: re Reply with quote

ping works using net-setup. After mount, it works. When I cd to /mnt/gentoo it stops to work and change nameserver in /etc/resolv.conf to 192.168.1.2.
There is no firewall, or router problem. No dualboot. After inserting media and net-setup ping works, but when I cd to /mnt/gentoo it stops. I can ping all time by ip, so it is dns problem.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Sep 18, 2009 9:18 pm    Post subject: Reply with quote

change /etc/resolv.conf to read
Quote:
nameserver 4.2.2.6
Back to top
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Fri Sep 18, 2009 9:50 pm    Post subject: Reply with quote

Quote:
change /etc/resolv.conf to read
Quote:
nameserver 4.2.2.6


dont understand what you mean, you mean to change it to ip of my dns: 192.168.1.1? I did it , without success.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Sep 18, 2009 10:10 pm    Post subject: Reply with quote

no, i meant 4.2.2.6, a public nameserver

just as a BTW
Code:
cd /mnt/gentoo
should effect nothing except the result of using non absolute pathnames. Is it correct to assume that entering the chroot is what is causing the behavior change?
Back to top
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Fri Sep 18, 2009 11:05 pm    Post subject: re Reply with quote

Thanks for help, I didnt enter chroot. I formated hardisk, made again partitions and it works now. I dont know where was the problem.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Sep 19, 2009 1:52 am    Post subject: Reply with quote

Strange events, please edit the title of your first post to add [Solved].
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum