View previous topic :: View next topic |
Author |
Message |
jaydoc n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jan 2009 Posts: 61 Location: Miami, FL
|
Posted: Tue Jan 20, 2009 7:52 am Post subject: Portage cannot resolve any address... newbie needs help |
|
|
Hi
I had trouble coonecting to the internet after doing a fresh install of Gentoo. I use Wicd, a GUI network manager to connect to my wireless network. initially Firefox would not connect to any website, though I could successfully ping google as well as gentoo. I googled for it, and found that I had wrong IPV6 settings. I took a shotgun approach to this, and tried all the following settings.
Quote: |
1. added " alias ipv6 off " " alias net-pf-10 off " to /etc/modprobe.conf
2. Opened "about:config", filter by ipv6 and set it to true
3. /etc/hosts changed (IPv6 section)
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
#ff02::3 ip6-allhosts |
After all this at some point, Firefox was able to connect to the internet. However I still cannot use emerge anything. I get this error with any emerge command....
I have tried searching the forums and tried some suggestions like adding another nameserver to resolv.conf, but nothing helps. I know for sure that i have a correct resolv.conf as i can get the wifi to connect, and also now am able to browse using firefox.
Any help is appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
baeksu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1128520219437953a40ed7f.jpg)
Joined: 26 Sep 2004 Posts: 609 Location: Seoul, Korea
|
Posted: Tue Jan 20, 2009 8:05 am Post subject: |
|
|
Portage uses wget to download the files. Maybe you installed wget with ipv6 USE flag?
Can you post outputs from 'emerge -pv wget' and 'emerge --info'? _________________ Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jaydoc n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jan 2009 Posts: 61 Location: Miami, FL
|
Posted: Tue Jan 20, 2009 8:10 am Post subject: |
|
|
Quote: | emerge -pv wget
These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild U ] net-misc/wget-1.11.4 [1.10.2] USE="ipv6 nls ssl -debug -socks5 -static (-build%)" 933 kB
Total: 1 package (1 upgrade), Size of downloads: 933 kB
TheKremlin / # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r1, 2.6.28-ARCH i686)
=================================================================
System uname: Linux-2.6.28-ARCH-i686-Intel-R-_Core-TM-2_Duo_CPU_T5550_@_1.83GHz-with-glibc2.0
Timestamp of tree: Mon, 19 Jan 2009 22:35:01 +0000
app-shells/bash: 3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.2
sys-apps/sandbox: 1.3.2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowext a52 aac aalib acl acpi audiofile bash-completion berkdb bluetooth bonobo bzip2 cairo cdr cli cracklib crypt cups curl dbus dga doc dri dts dv dvd dvdr dvdread esd examples ffmpeg firefox flac fortran gd gdbm gnutls gphoto2 gpm hal hddtemp howl iconv idn ieee1394 ipv6 isdnlog jack java jpeg laptop lcms libcaca lm_sensors midi mmx mmxext mudflap ncurses nls nptl nptlonly nsplugin odbc openal openmp pam pcre perl ppds pppd python readline reflection scanner session slp smartcard sndfile speex spl sse sse2 ssl startup-notification svg svga sysfs tcltk tcpd tetex theora tidy tiff unicode usb vcd vorbis wifi win32codecs wmf x86 xcomposite xine xinerama xml xorg xscreensaver xulrunner xvid zlib" ALSA_CARDS="snd-hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
thanks for a quick response.. as you sais, I do seem to have wget compiled with ipv6 USE flag. what can i do now...?[/quote] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vaguy02 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1630139893473503dc2fcb0.png)
Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Tue Jan 20, 2009 1:17 pm Post subject: |
|
|
Two possible things you can do in my mind.
1.)Remove ipv6 from your use flags in make.conf and recompile.
2.)Specify specific Use flags for wget and recompile _________________ Linux Registered User #458185
Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jaydoc n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jan 2009 Posts: 61 Location: Miami, FL
|
Posted: Tue Jan 20, 2009 5:00 pm Post subject: |
|
|
Thanks for the solution... I recompiled wget using -ipv6 as an USE flag... And I am now able to emerge and compile away, as usual.
But what is this ipv6...? and by disabling this will my system be short of critical functionality...? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vaguy02 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1630139893473503dc2fcb0.png)
Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Tue Jan 20, 2009 5:02 pm Post subject: |
|
|
http://en.wikipedia.org/wiki/IPv6
In short, it's a new system to replace the current set of IP addresses because apparently we are running out ![Wink ;)](images/smiles/icon_wink.gif) _________________ Linux Registered User #458185
Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|