DNS Resolving/ Network related Problem [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Re: [Urgent] DNS Resolving/ Network related Problem

Postby chasha420 » Sun Jul 31, 2011 8:55

Thanks FitzCarraldo, I followed your steps...but even after removing ipv6...the problem persists. Although I've noticed some change, there was a game called "Open Arena" and while connected to this network I could't see any servers...but after this change the servers are now visible, etc.

Also I have a major problem, when I try to update entropy it says the "repository doesn't exist".
Code: Select all
sabayon irenicus # equo upgrade --ask
>>  @@ Calculating System Updates...
>>  @@ Nothing to update.
>>  @@ On the system there are packages that are not available anymore in the online repositories.
>>  @@ Even if they are usually harmless, it is suggested (after proper verification) to remove them.
>>  @@ These are the packages that should be MANUALLY removed:
>>  ## [sabayonlinux.org] sys-libs/db-4.6.21_p4 [7.3MB]
>>  ## [sabayonlinux.org] sys-kernel/linux-firmwares-2.6.39-r5 [2.4MB]
>>  ## [sabayonlinux.org] net-wireless/b43-firmware-4.150.10.5 [227.7kB]
>>  ## [sabayonlinux.org] net-wireless/ralink-rt2860-firmware-11 [30.1kB]
>>  ## [sabayonlinux.org] net-wireless/ralink-rt2870-firmware-8 [26.1kB]
>>  @@ Nothing to remove.
>>  @@ Configuration files scan complete.
sabayon irenicus # equo update --force
>>  @@ Repositories synchronization ...
>>   # Sabayon Linux Official Repository
>>   # Repository URL: http://pkg.sabayon.org/standard/sabayon-weekly/database/x86/5
>>   # Repository local path: /var/lib/entropy/client/database/x86/sabayon-weekly/standard/x86/5
>>   # Repository API: 3
>>    Downloading repository ...
>>    Attention: repository does not exist online.
sabayon irenicus # equo --version
entropy: 1.0_rc26
equo: 1.0_rc26


Should I go for a fresh install? I dunno...it seems like after I made the switch to Thailand I'm having way too many problems to cope up with...and also if I choose to make a fresh install...then would you suggest using the Sabayon 6 ISO or a more recent one from the weekly releases?

Thanks.

EDIT:

I was trying to update entropy through Portage...but it seems like Portage has trouble resolving the network...may be it also relies on Python?

Code: Select all
# emerge --sync

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/1Q-2009..............
/usr/portage/profiles/updates/2Q-2009.....................................................................................
/usr/portage/profiles/updates/3Q-2009......................................................
/usr/portage/profiles/updates/4Q-2009...................


!!! getaddrinfo failed for 'rsync.europe.gentoo.org': [Errno -2] Name or service not known
>>> Starting rsync with rsync://rsync.europe.gentoo.org/gentoo-portage...
rsync: getaddrinfo: rsync.europe.gentoo.org 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.8]
>>> Retrying...
!!! Exhausted addresses for rsync.europe.gentoo.org
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: [Urgent] DNS Resolving/ Network related Problem

Postby chasha420 » Sun Jul 31, 2011 15:20

Sorry for another double post...but I think this may well be the problem.

http://stackoverflow.com/questions/2075383/python-2-and-ipv6

According to that thread, they are saying that python needs to be configured with ipv6 support...and that it may be the reason why it fails.

How do I do that?

Thanks for the help in advance! :)
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: [Urgent] DNS Resolving/ Network related Problem

Postby micia » Tue Aug 02, 2011 9:40

As far as I know python on Sabayon is already configured for IPV6, this is done enabling the ipv6 USE flag in the python ebuild, which is enabled by default on Sabayon.
It seems that your problem is python, it can't resolve addresses, so neither entropy, nor emerge, are working properly.

I suspect a variant of the problem reported in the link posted by Fitzcarraldo or something similar.
Can you check the differences between the /etc/nsswitch,conf in your Ubuntu installation and the one in your Sabayon?
Try also to post it here, just in case.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: [Urgent] DNS Resolving/ Network related Problem

Postby chasha420 » Tue Aug 02, 2011 11:13

Thanks Micia....btw I already made the switch to Ubuntu Lol.

Also in Sabayon I noticed that my downloads were around 250-300+ kb/s at max but on ubuntu and using their servers in Thailand the download was pretty fast 800-1000+ kb/s...I wonder why there's so much difference :o

Anyway, sabayon is like the love of my life...but unless this situation is resolved permanently or I shift back to my country I can't use Sabayon yet....but I can try fixing the problem & test it through a live cd.

As for the config of nsswitch @ Ubuntu:
Code: Select all
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis


I will have to boot into sabayon and post it's config...in a few hours.

Thanks once again.
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: [Urgent] DNS Resolving/ Network related Problem

Postby chasha420 » Mon Aug 08, 2011 3:01

Hi, I got yet another clue about what my problem might be related to from Ubuntu.

Whenever I connect to my network for the first time I get this message:

Your current network has a .local domain which is not recommended and incompatible with avahi-daemon network service discovery. The service has been disabled.


Hmm...but I already had avahi-daemon disabled in my previous install, etc. so I'm not sure if it is responsible for that. If you guys have any ideas let me know.

Thanks :)
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: [Urgent] DNS Resolving/ Network related Problem

Postby Fitzcarraldo » Mon Aug 08, 2011 7:48

^In that case try changing the domain alias in /etc/hosts. Ask your network administrator what the domain alias should be in /etc/hosts.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: [Urgent] DNS Resolving/ Network related Problem

Postby chasha420 » Mon Aug 08, 2011 9:25

Well on Ubuntu...this is what I have on /etc/hosts

Code: Select all
127.0.0.1       localhost
127.0.1.1       ph03n1x

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


I'm not sure if it's the same for sabayon...I've to test it out from livecd...& I'll respond back :)
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: [Urgent] DNS Resolving/ Network related Problem

Postby popsUlfr » Mon Aug 08, 2011 9:33

This might be a silly question but... how do you connect to the internet? Using network manager or a manually configured net.ethX service? Did you configure it to use dhcp or did you gave your connection a static ip?
Your resolv.conf file looks weird, if you can delete or rename it and reset your connection afterwards. Otherwise ONLY put the Google dns addresses in it:
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4

reset your connection and see if it helps.

If you know you're using DHCP to get an IP address then try
to release your network interface with
Code: Select all
dhcpcd -k eth0

(I assume eth0 is your interface in use)
Let dhcpcd reconfigure the interface with
Code: Select all
dhpcd -g

Also:
Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
Code: Select all
dhcpcd -HD eth0


Taken from the Gentoo Handbook

Not sure if this will be of any help :(
popsUlfr
Young Hen
 
Posts: 34
Joined: Sun Aug 07, 2011 16:41

Re: [Urgent] DNS Resolving/ Network related Problem

Postby micia » Mon Aug 08, 2011 10:05

In my opinion copying the files from Ubuntu (maybe selectively, in order to spot the issue) should be enough, the suggestion from Fitzcarraldo looks promising.

I would also try the popsUlfr's one, if none of the previous works, just to test if a manual setup can work :D
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: [Urgent] DNS Resolving/ Network related Problem

Postby buywithcredit » Sat Sep 17, 2011 9:27

(Advanced apologies for hijacking an existing thread of the same topic matter)

This is what happened:
+ I installed Sabayon6/LXDE
+ Midori cannot name resolve, but manual name resolution works
+ entropy/equo cannot find sabayon-weekly respository
+ ping can name resolve

+ Tried suggestion to disable ipv6 and midori now can name resolve
+ entropy/equo still cannot find respository
+ pre-pended 8.8.8.8 to resolv.conf and entropy works

+ re-enabled ipv6
+ back to fresh-installation results
+ pre-pended 8.8.8.8 to resolv.conf and any program name resolves

Question:
1) How can I have these nameservers permanent without having resolvconf clobber it at every start up
2) Why is it that my gateway DNS doesn't work but 8.8.8.8 does?

Thanks in advance. Never thought transitioning from gentoo to sabayon would be this arduous...probably because of lack of ipv6 support? Although my Win7 box doesn't have this problem.
buywithcredit
Baby Hen
 
Posts: 2
Joined: Sat Sep 17, 2011 8:32

PreviousNext

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests