Re: Messed up my ISP/Networkmanager connection !?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Case wrote:

First problem; my 'hosts' file backup was recovered. So I think that was
what I had. Every manual and the file itself said don't touch this file.
I touched it.  Did I get it back to its original shape? I tried
replacing 127.0.0.1 with 192.168.1.3 which 'ifconfig' and 'hostname -va'
say is my inet addr.  (Why it is not 192.168.1.1 is a question for
another day).

My ifcfg-eth0 script says:
# nVidia Corporation MCP51 Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:1a:92:e5:dc:47
ONBOOT=yes
DHCP_HOSTNAME=CASE
NM_CONTROLLED=no
TYPE=Ethernet
DNS1=192.168.1.1

'route' also lists the default as 192.168.1.1 not xxx.xxx.x.3

If you are using DHCP, you usually do not want to specify your name servers. (DNS1)

Also, your default route should point to your gateway to the Internet. If you are using a firewall/router, it should point to that address.

You may also want to look at /etc/resolv.conf and see what name server(s) you have listed.

I don't remember if you said, gut is your problem that you can not connect using host names, but you can using IP addresses?

Also, is the network service running, or the NetworkManager service running? Because the way you have ifcfg-eth0, it does not look like NetworkManager is controlling it.

service network status
service NetworkManager status

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux