Messed up my ISP/Networkmanager connection !?
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Tue Aug 5 18:29:03 UTC 2008
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080805/4bfb54f0/attachment-0001.sig>
More information about the fedora-list
mailing list