Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > portage network connection problems

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-09-2009   #1 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 4
portage network connection problems

Hi.

So I'm installing Gentoo with KDE on a friend's laptop and I've come across an interesting problem. I had emerged kde-base and a couple extra applications to go with it (including firefox). I started X with KDE and got my nice desktop environment. Yay. From there I began to emerge more applications when, (as far as I can tell) randomly, I could no longer connect to any of the servers with emerge. Before this I could navigate the web with firefox; after I couldn't. If I ping a website (such as google.com) I get a response and if I use Konqueror I can navegate the web, but I still can't get firefox or portage working. Any thoughts or advice would be much appreciated. If you want to see the contents of a file, just let me know!

Thanks!
fdoubleprime is offline  


Reply With Quote
Old 07-09-2009   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,101
Hello and Welcome.
What happens when you try
Code:
emerge --sync
Please post the exact error messages.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 07-09-2009   #3 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 4
Thanks for the swift reply! That worked, but the problem persists. Attached is the full output from trying to emerge wine (though it is similar for any package with or without dependencies). I would have posted it inline, but there were some problems with having urls in it.
Attached Files
File Type: txt error.txt (3.2 KB, 7 views)
fdoubleprime is offline   Reply With Quote
Old 07-09-2009   #4 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,101
post a copy of this file please
Code:
/etc/resolv.conf
Are you using DHCP to get an IP address?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 07-09-2009   #5 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 4
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 192.168.0.1
# /etc/resolv.conf.tail can replace this line



Yes, I am using DHCP.
fdoubleprime is offline   Reply With Quote
Old 07-12-2009   #6 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Are you using some fancy network manager from within KDE?
Segfault is offline   Reply With Quote
Old 07-12-2009   #7 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
It seems your network is up, but there's a problem resolving DNS names.

Ideally, your dhcp client should fill your resolv.conf file with valid DNS servers, but it seems it doesn't for some reason. What dhcp client are you using?
i92guboj is offline   Reply With Quote
Old 07-12-2009   #8 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
Quote:
Originally Posted by i92guboj View Post
Ideally, your dhcp client should fill your resolv.conf file with valid DNS servers, but it seems it doesn't for some reason. What dhcp client are you using?
You may be right about this but I have identical contents in /etc/resolv.conf but the system is working (client dhcpcd). I got similar messages from emerge when I was playing with firewall settings ... I must confess at the time I didn't try firefox or konqueror to see if they still worked because I knew how I stopped emerge working. Maybe worth a quick check of firewall settings?
Jonathan183 is offline   Reply With Quote
Old 07-12-2009   #9 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,101
Quote:
Originally Posted by Jonathan183 View Post
You may be right about this but I have identical contents in /etc/resolv.conf but the system is working (client dhcpcd). I got similar messages from emerge when I was playing with firewall settings ... I must confess at the time I didn't try firefox or konqueror to see if they still worked because I knew how I stopped emerge working. Maybe worth a quick check of firewall settings?
This is exactly why I had not replied yet. I have seen this same example work on some systems.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline   Reply With Quote
Old 07-12-2009   #10 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Conqueror is working, Firefox is not. Let's leave emerge (rsync) alone for now.
How comes one browser is working and other is not? Is there a proxy in use? Conqueror probably gets net conf from KDE environment, Firefox from Gentoo.
Is 192.168.0.1 a valid DNS?
It seems ping is working and able to resolve domain names.
Segfault is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:28 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2