Re: Detailed Problem:Unable to Connect to Internet

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

 




hi i have installed a package dhclient.
I had a dhcpcd running first i removed
rpm -e dhcpcd
and then i installed rpm -ivh dhclient
my /etc/resolv.conf file looks like this now
; generated by /sbin/dhclient-script
search crema.unimi.it
nameserver 159.149.70.1

permissions of this file are 644
/var/lib/dhcp/dhclient-eth0.leases file looks like this

lease {
  interface "eth0";
  fixed-address 159.149.71.28;
  option subnet-mask 255.255.255.128;
  option dhcp-lease-time 172800;
  option routers 159.149.71.126;
  option dhcp-message-type 5;
  option dhcp-server-identifier 159.149.70.1;
  option domain-name-servers 159.149.70.1;
  option dhcp-renewal-time 86400;
  option dhcp-rebinding-time 151200;
  option domain-name "crema.unimi.it";
  renew 3 2003/6/25 04:49:57;
  rebind 4 2003/6/26 02:44:28;
  expire 4 2003/6/26 08:44:28;
}
lease {
  interface "eth0";
  fixed-address 159.149.71.28;
  option subnet-mask 255.255.255.128;
  option routers 159.149.71.126;
  option dhcp-lease-time 172800;
  option dhcp-message-type 5;
  option domain-name-servers 159.149.70.1;
  option dhcp-server-identifier 159.149.70.1;
  option dhcp-renewal-! time 86400;
  option dhcp-rebinding-time 151200;
  option domain-name "crema.unimi.it";
  renew 3 2003/6/25 04:18:00;
  rebind 4 2003/6/26 02:48:42;
  expire 4 2003/6/26 08:48:42;
}

I restarted the network services by typing
service network restart

Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]

when i run ping with ip address it works but if i run
[root@xxxxxx local]# ping www.yahoo.com
ping: unknown host www.yahoo.com
 
 I have a kernel 2.4.20-8 on an i686 however the package i downloaded and installed had name
dhclient-3.0pl1-23.i386.rpm. I downloaded it by going to http://fr.rpmfind.net/ and typing dhclient.
 
Markku Kolkka <markku.kolkka@xxxxxxxxxxxx> wrote:
Viestissä Tiistai 24. Kesäkuuta 2003 13:33, rebel indian kirjoitti:
> Hi folks:
>
> I don have /sbin/dhclient-script
> instead I have /sbin/dhcpd

Get rid of it (rpm -e dhcp) and install the dhclient package. You don't want a
DHCP server running on your machine, you need a DHCP _client_.

--
Markku Kolkka
markku.kolkka@xxxxxxxxxxxx


--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux