Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with DNS info and/or more [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Tue Nov 16, 2010 2:57 am    Post subject: Issues with DNS info and/or more [SOLVED] Reply with quote

I've just recently chrooted into the Gentoo environment through an Ubuntu Live Disk. I can not run emerge --sync like the guide says to do. When I looked further into it, I found out that I couldn't ping any name website. But lets say I were to ping facebook.com
Quote:
ping facebook.com
ping: unknown host facebook.com

Yet when I find the IP address of facebook through another computer when I ping the same site, this is what happens.
Quote:
ping 69.63.189.16
PING 69.63.189.16 (69.63.189.16) 56(84) bytes of data.
64 bytes from 69.63.189.16: icmp_req=1 ttl=242 time=79.5 ms
64 bytes from 69.63.189.16: icmp_req=2 ttl=242 time=77.9 ms
64 bytes from 69.63.189.16: icmp_req=3 ttl=242 time=80.3 ms
^C
--- 69.63.189.16 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 77.959/79.271/80.344/1.040 ms


I looked into my resolve.conf file and found this:
Quote:
# Generated by NetworkManager
nameserver 97.64.168.12
nameserver 97.64.183.165

I added the resolv.conf from a friend to see if MAYBE it were to be something to do with what was inside the file:
Quote:
# Generated by NetworkManager
#nameserver 97.64.168.12
#nameserver 97.64.183.165


# Generated by dhcpcd from eth0, wlan0
# /etc/resolv.conf.head can replace this line
nameserver 128.104.254.254
nameserver 144.92.254.254
# /etc/resolv.conf.tail can replace this line
and it still didn't work. What am I missing?

Last edited by Ryuzaki on Mon Nov 22, 2010 3:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16022

PostPosted: Tue Nov 16, 2010 4:25 am    Post subject: Reply with quote

What is the output of dig www.google.com @128.104.254.254 ; dig www.google.com @8.8.8.8?
Back to top
View user's profile Send private message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Tue Nov 16, 2010 4:28 am    Post subject: Reply with quote

Um I'm sorry but I don't really know what you're talking about.
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Tue Nov 16, 2010 9:32 am    Post subject: Reply with quote

Ryuzaki wrote:
Um I'm sorry but I don't really know what you're talking about.


Install the package net-dns/bind-tools and then type the commands that Hu asked you to. Also, can you browse the web using a browser? Is it only ping that fails?
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Nov 16, 2010 10:06 am    Post subject: Reply with quote

did you copy the /etc/resolv.conf from the livecd to your chroot before chrooting?
Back to top
View user's profile Send private message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Fri Nov 19, 2010 3:36 am    Post subject: Reply with quote

rahulthewall wrote:
Ryuzaki wrote:
Um I'm sorry but I don't really know what you're talking about.


Install the package net-dns/bind-tools and then type the commands that Hu asked you to. Also, can you browse the web using a browser? Is it only ping that fails?

You want me to install this in the Gentoo environment? Because I can't download or get any kind of access to the internet like emerging.
Back to top
View user's profile Send private message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Fri Nov 19, 2010 3:38 am    Post subject: Reply with quote

richard.scott wrote:
did you copy the /etc/resolv.conf from the livecd to your chroot before chrooting?

Yes I did. this was the command I excuted while in the Ubuntu environment:
Quote:
# cp -L /etc/resolv.conf /mnt/gentoo/etc/

After that I began mounting the /proc and /dev filesystems and chrooting.

Also, I don't know if this next info will be helpful, but when I try "emerge --sync" while chrooting, this is the output:
Quote:
# emerge --sync --quite
Usage: emerge [options]

emerge: error: no such option: --quite
(chroot) ubuntu / # emerge --sync
Notice: [Errno -3] Temporary failure in name resolution
>>> Starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
>>> Checking server timestamp ...
rsync: getaddrinfo: rsync.gentoo.org 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
>>> Retrying...
Notice: [Errno -3] Temporary failure in name resolution


>>> Starting retry 1 of 3 with rsync://rsync.gentoo.org/gentoo-portage
>>> Checking server timestamp ...
rsync: getaddrinfo: rsync.gentoo.org 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
>>> Retrying...
Notice: [Errno -3] Temporary failure in name resolution


>>> Starting retry 2 of 3 with rsync://rsync.gentoo.org/gentoo-portage
>>> Checking server timestamp ...
rsync: getaddrinfo: rsync.gentoo.org 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
>>> Retrying...
Notice: [Errno -3] Temporary failure in name resolution


>>> Starting retry 3 of 3 with rsync://rsync.gentoo.org/gentoo-portage
>>> Checking server timestamp ...
rsync: getaddrinfo: rsync.gentoo.org 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
>>> Exceeded PORTAGE_RSYNC_RETRIES: 3
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Nov 19, 2010 5:08 am    Post subject: Reply with quote

could be a routing issue...

what does route return?
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Fri Nov 19, 2010 5:21 am    Post subject: Reply with quote

Veldrin wrote:
could be a routing issue...

what does route return?

Quote:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 2 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0

And just in case the jumble of text is a bit to confusing to sort out: http://img40.imageshack.us/img40/582/screenshotvfb.png
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Nov 19, 2010 9:16 am    Post subject: Reply with quote

does the Internet work in the Ubuntu environment?
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Fri Nov 19, 2010 2:05 pm    Post subject: Reply with quote

richard.scott wrote:
does the Internet work in the Ubuntu environment?


If it works in the Ubuntu environment, and does not in the Gentoo mode, it could also be an ipv6 issue. I had similar problems:

https://forums.gentoo.org/viewtopic-t-852484-highlight-.html
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Sun Nov 21, 2010 3:38 pm    Post subject: Reply with quote

richard.scott wrote:
does the Internet work in the Ubuntu environment?

Yeah I get internet in Ubuntu but not in the chrooted Gentoo.
Back to top
View user's profile Send private message
Ryuzaki
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2010
Posts: 96
Location: N/A

PostPosted: Sun Nov 21, 2010 3:57 pm    Post subject: Reply with quote

WHOW! I don't know what in the world happened, but I reverted my /etc/resolv.conf back to the way it was when I first opened it, and now I'm getting signal in Gentoo... That's really weird because that exact same code (or text not really sure which) wasn't working before. 8O
Back to top
View user's profile Send private message
shoaib12
n00b
n00b


Joined: 22 Nov 2010
Posts: 1
Location: 161

PostPosted: Mon Nov 22, 2010 7:53 am    Post subject: Reply with quote

hi. i think you can get much more info. when you search on Google .... i think you got it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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