View previous topic :: View next topic |
Author |
Message |
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Wed Apr 18, 2012 5:00 am Post subject: No connection |
|
|
Ok, I just installed Gentoo with a help of a friend, but he's in another city. I don't have a GUI I tried installing Gnome 3, but received this after changing the USE according to how it instructed(well what I could see of it):
Code: | Resolving gnu.mirror.iweb.com... failed: Name or service not known.
wget: unable to resolve host address 'gnu.mirror.iweb.com'
>>>Downloading 'ftp://aeneas.mit.edu/pub/gnu/gperf/gperf-3.0.4.tar.gz'
--2012-04-18 04:07:34-- ftp://aeneas.mit.edu/pub/gnu/gperf/gper-3.0.4.tar.gz
=> '/usr/portage/distfiles/gperf-3.0.4.tar.gz'
Resolving aeneas.mit.edu... failed: Name or service not known.
wget: unable to resolve host addres 'aeneas.mit.edu'
!!! Couldn't download 'gperf-3.0.4.tar.gz'. Aborting.
* Fetch failed for '/var/tmp/portage/dev-util/gperf-3.0.4', Log file:
* '/var/tmp/portage/dev/util/gperf-3.0.4/temp/build.log'
>>> Failed to emerge dev-util/gperf-3.0.4, Log file:
>>> '/var/tmp/portage/dev-util/gperf-3.0.4/temp/build.log'
* Messages for package dev-util/gperf-3.0.4:
* Fetch failed for 'dev-util/gperf-3.0.4', Logfile:
* '/var/tmp/portage/dev-util/gperf-3.0.4/temp/build.log' |
My friend then told me that this is similar to the error 404. I checked my network and received Where exactly do I go from here. Thank you for all those that help.
This is not from the Live CD. this is from the computer itself |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Apr 18, 2012 6:42 am Post subject: |
|
|
if works
Code: | nano /etc/resolv.conf |
edit to Quote: | nameserver 8.8.8.8 |
_________________ Defund the FCC. |
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Wed Apr 18, 2012 7:31 pm Post subject: |
|
|
Thank you. That helped with the situation. It fixed the connection issue. Now I have another issue. Now though, I have an issue with my original problem concerning emerge gnome.
Code: | Resolving distfiles.gentoo.org... failed: Name or service not known
wget: unable to resolve host address 'distfiles.gentoo.org'
>>Downloading 'http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.xz'
--2012-04-18 18:13:49-- http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar
.xz
Resolving downloads.xiph.org... failed: Name or service not known.
wget: unable to resolve host address 'downloads.xiph.org'
!!! Couldn't download 'libogg-1.3.0.tar.xz'. Aborting.
* Fetch failed for 'media-libs/libogg-1.3.0', Log file
* '/var/tmp/portage/media-libs/libogg-1.3.0/temp/build.log'
>>> Failed to emerge media-libs/libogg-1.3.0, Log file:
>>> '/var/tmp/portage/media-libs/libogg-1.3.0/temp/build.log'
* Messages for package media-libs/libogg-1.3.0:
* Fetch failed for 'media-libs/libogg-1.3.0' Log file:
* '/var/tmp/portage/media-libs/libogg-1.3.0/temp/build.log' |
Thank you for the help so far |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Apr 18, 2012 7:51 pm Post subject: |
|
|
it appears that /etc/resolv.conf has been written over once again.
repeat Code: | nano /etc/resolv.conf | edit to Quote: | nameserver 8.8.8.8 | if it has changed then Code: | ping -c 2 google.com | if that works it tends to confirm that something is overwriting /etc/resolv.conf. the usual cause of that behavior is having a line like Quote: | dns_domain_lo="homenetwork" | in /etc/conf.d/net. If you have a line like that delete it. If you feel that /etc/resolv.conf is changing without you changing it but there is no line similar to dns_domain_lo= post the content of /etc/conf.d/net for analysis. _________________ Defund the FCC. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Wed Apr 18, 2012 11:49 pm Post subject: |
|
|
Just to add DONAHUE's observations/comments.
1) /etc/resolv.conf.head will make sure that the name server is persistent.
2) make sure wget is not using ipv6. You can check this with emerge -pv wget If it is using ipv6, rebuild with that flag disabled. You can force wget to use ipv4 to fetch its source code or use a browser like Firefox or chromium to download the file and copy it to the location that emerge was trying to save it. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Thu Apr 19, 2012 2:15 am Post subject: |
|
|
penguin swordmaster wrote: | 2) make sure wget is not using ipv6. You can check this with emerge -pv wget If it is using ipv6, rebuild with that flag disabled. You can force wget to use ipv4 to fetch its source code or use a browser like Firefox or chromium to download the file and copy it to the location that emerge was trying to save it. | For some users, IPv6 connectivity works fine. Also, I would expect it to fail differently if the problem was that he was using IPv6 in a network where it was not supported. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Thu Apr 19, 2012 2:47 am Post subject: |
|
|
Quote: | For some users, IPv6 connectivity works fine. Also, I would expect it to fail differently if the problem was that he was using IPv6 in a network where it was not supported. |
I am sure it works for some internet configurations, or the option would not exist. I experienced an error like this a while back and as I recall it produced an error just like the OP's. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Thu Apr 19, 2012 7:29 am Post subject: |
|
|
OK, I am so sorry, I know I was a lot closer, but due to a huge mistake I made I accidentally deleted everything and had to start from scratch. So now I started again. I am back to my original error, but this time is returning me with Code: | connect: Network is unreachable |
help please? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 19, 2012 4:57 pm Post subject: |
|
|
For convenience, I suggest boot a system rescue cd to a GUI and network connection and run (identify your equipment and drivers) and post the result here. Then enter the chroot, nominally: Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1" | then Code: | emerge wgetpaste pciutils dhcpcd linux-firmware
wgetpaste /usr/src/linux/.config
ifconfig -a | wgetpaste
ifconfig | wgetpaste
ls -a /etc/init.d/net* | wgetpaste
cat /etc/conf.d/net | wgetpaste
| post the url's returned here. Needed drivers or firmware or applications or configuration seems to have been lost during the rebuild. _________________ Defund the FCC. |
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Thu Apr 19, 2012 5:17 pm Post subject: |
|
|
One problem, the only comp that has a CD drive is the one I'm working on, and I don't have a flash drive. I would go out and get one, but right now, I am kind of with a broken ankle. any other suggestions? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Fri Apr 20, 2012 2:54 pm Post subject: |
|
|
ummm... perhaps it's not properly understood, but the one I'm trying to install Gentoo on is the only computer that has a CD drive. the netbook can take a flash drive, but I don't have a flash drive. I can't buy one because I am in a cast |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Apr 20, 2012 3:31 pm Post subject: |
|
|
sorry, missed your statement that you had no usb flash drive on hand when I wrote plan a. However, plan b should work if I understand correctly that you have a cd drive on the target computer, and presuming that you do have some brand of linux livecd;
just boot any livecd of same bitness as your intended install. (If not a gentoo livecd, do what it requires to be root and run)
Then enter the chroot, nominally: Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1" |
then
Code: |
emerge wgetpaste pciutils dhcpcd linux-firmware
lspci -k | wgetpaste
wgetpaste /usr/src/linux/.config
ifconfig -a | wgetpaste
ifconfig | wgetpaste
ls -a /etc/init.d/net* | wgetpaste
cat /etc/conf.d/net | wgetpaste |
post the url's returned here. Needed drivers or firmware or applications or configuration seems to have been lost during the rebuild. _________________ Defund the FCC. |
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Fri Apr 20, 2012 10:58 pm Post subject: |
|
|
Thanks for your dedication on this. It really is appreciated. I am running an error on this line: I don't think that it's much of a good sign if I already get Code: | cp: cannot stat '/etc/resolv.conf' : No such file or directory | when I run Code: | cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf |
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Apr 21, 2012 12:38 am Post subject: |
|
|
Code: | nano /mnt/gentoo/etc/resolv.conf |
edit to Quote: | nameserver 8.8.8.8 |
should give a working solution (bypassing the block)
BTW, what cd are you using? _________________ Defund the FCC. |
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Sat Apr 21, 2012 1:02 am Post subject: |
|
|
the Live CD or Gentoo I originally installed Gentoo with |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Apr 21, 2012 1:07 am Post subject: |
|
|
ok
that does make no /etc/resolv.conf a strange event
you did establish a network connection with the cd? (net-setup eth0) _________________ Defund the FCC. |
|
Back to top |
|
|
DaBeaner n00b
Joined: 11 Apr 2012 Posts: 13
|
Posted: Sat Apr 21, 2012 1:18 am Post subject: |
|
|
yes |
|
Back to top |
|
|
|