PDA

View Full Version : host lookup failed - Evolution email


CiaW
25th October 2009, 01:17 AM
I just installed the F12 beta (via the X64 live cd) and after installing updates (though I think there was a yum error on installing the new kernel...) I still couldn't get online, wired network eth0.

So I added my local network IP (192.168.0.1) and the 2 open dns server IP's to the /etc/hosts.allow file, and got a ping back from google.com. Firefox wouldn't connect until after I disabled IPv6.

Then I tried to add the rpmfusion rawhide repos (using an rpm command line:
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
and received the message:
curl: (6) Couldn't resolve host 'download1.rpmfusion.org'
error: skipping http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm - transfer failed
Phooey, but no big deal. Then I figured I'd try to see if evolution email would work, so I entered my pop mail settings, and it wouldn't retrieve mail, I looked at the debug info. and it says:
host lookup failed: mail.my180.net: Temporary failure in name resolution

Is this related to the Network Manager issues? Is there a fix or do I file a bug report?

In case it matters, here's the info. from ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:67:0D:C7:77
inet addr:192.168.0.74 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::230:67ff:fe0d:c777/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57389 errors:0 dropped:0 overruns:0 frame:0
TX packets:39186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60083994 (57.3 MiB) TX bytes:5158984 (4.9 MiB)
Interrupt:27 Base address:0x6000


Also, I added the weather applet to the panel, added the city -- and it never updated, even when I pulled it up and it showed the city name (Spokane) and I clicked 'update' and it didn't work. I logged onto CentOS to get my email, and see the temp. is 50F ; so the applet server must be working.

I can also list lspci info. -- or the relevant parts if needed? If only some of it is relevant, please advise. Thanks.

diamond_ramsey
25th October 2009, 03:45 AM
...I still couldn't get online, wired network eth0.

So I added my local network IP (192.168.0.1) and the 2 open dns server IP's to the /etc/hosts.allow file, and got a ping back from google.com. Firefox wouldn't connect until after I disabled IPv6.

Then I tried to add the rpmfusion rawhide repos (using an rpm command line:
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
and received the message:
curl: (6) Couldn't resolve host 'download1.rpmfusion.org'
error: skipping http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm - transfer failed
Phooey, but no big deal. Then I figured I'd try to see if evolution email would work, so I entered my pop mail settings, and it wouldn't retrieve mail, I looked at the debug info. and it says:
host lookup failed: mail.my180.net: Temporary failure in name resolution

...

:) CiaW, how's this. :)

Just more these files and snippet back to this thread...no update. :)

* more /etc/resolv.conf

* more /etc/sysconfig/network-scripts/ifcfg-eth0

Diagnostics... :)

* ethtool eth0

* /etc/init.d/network restart

* ethtool eth0

* ifdown eth0

* ifup eth0

* ethtool eth0

Hope this helps. ;)

CiaW
25th October 2009, 06:35 AM

Thanks for the reply! ok, here goes (I've never heard of the 'more' command before, but I tried it and hey, it worked!)

more /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.0.1

more /etc/sysconfig/network-scripts/ifcfg-eth0
# nVidia Corporation MCP61 Ethernet
DEVICE=eth0
HWADDR=00:24:37:08:29:F0 [revised now=HWADDR=00:30:67:0D:C7:77]
TYPE=Ethernet
BOOTPROTO=dhcp
DNS1=208.67.222.222
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
ONBOOT=yes
PEERDNS=no
PEERROUTES=yes

ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes

/etc/init.d/network restart
Shutting down interface eth0: Device eth0 has MAC address 00:30:67:0D:C7:77, instead of configured address 00:24:37:08:29:F0. Ignoring.
[FAILED]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring.
[FAILED]
After above, I opened the network connections, b/c I'd changed the mac address to the one I found on my Netopia Router page (http://192.168.0.1) -- and I see that there are now 3 services under the wired connection tab: Auto Ethernet, System eth0 (the one I changed the MAC address for, and added the open dns IP under IPv4 settings) and Auto eth0, the 1st and 3rd ones have no MAC address showing.

Ok, here's the rest of the output:

ethtool eth0 (again), same output as previous

The ifdown eth0 command gave an error message about the MAC address being different. So I changed the system eth0 back to what it was for the MAC address (though it shows 'last used' as never).

Then, ifdown returns no error, and here's the next one:

ifup eth0

Determining IP information for eth0.../etc/sysconfig/network-scripts/ifup-eth: line 298: 2550 Terminated /sbin/dhclient ${DHCLIENTARGS} ${DEVICE}
failed.

Then ethtool eth0, same as previous output. I think that last bit with ifup eth0 contains a valuable clue, I just don't know what it is. :cool:

However -- I just tried evolution again after re-doing the MAC address, and it worked! I got mail... I did the ifdown and ifup again, and got the same info. as previous, though.

CiaW
25th October 2009, 06:38 AM
As a small addition to the previous, when I hit post reply I got a message that Firefox couldn't find the server. So I selected the connection of auto eth0, which connected and it succeeded in posting. So something is definitely not right..