Re: Detailed Problem:Unable to Connect to Internet

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

 



Hi folks:
 
I don have /sbin/dhclient-script
instead I have /sbin/dhcpd
when I run it
 
[root@xxxxxx root]# /sbin/dhcpcd
****  /sbin/dhcpcd: already running
****  /sbin/dhcpcd: if not then delete /etc/dhcpc/dhcpcd-eth0.pid file
 
$vim /etc/resolv.conf
nameserver 159.149.70.1
search crema.unimi.it
 
 
$vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
PEERDNS=yes
TYPE=Ethernet
USERCTL=no
There is nothing in dhcp.leases file
$vim /var/lib/dhcp/dhcpd.leases
$vim /etc/dhcpc/dhcpcd-eth0.info
IPADDR=159.149.71.28
NETMASK=255.255.255.128
NETWORK=159.149.71.0
BROADCAST=159.149.71.127
GATEWAY=159.149.71.126
DOMAIN=crema.unimi.it
DNS=159.149.70.1
DHCPSID=159.149.70.1
DHCPGIADDR=159.149.71.126
DHCPSIADDR=0.0.0.0
DHCPCHADDR=00:10:A4:FF:11:E0
DHCPSHADDR=00:01:F4:0F:97:A5
DHCPSNAME=
LEASETIME=172800
RENEWALTIME=86400
REBINDTIME=151200
INTERFACE=eth0
CLASSID=""

I don have dhclient so when I run
$dhcpd -d eth0
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Can't open /etc/dhcpd.conf: No such file or directory
exiting.
------------------------------------------------------------------
 
I am logged in as root. I have determined not to change my OS and I want to fix this problem. Please help,
Waiting for your suggestions,
Sincerely
Rebel

Stephen Carville <carville@xxxxxxx> wrote:
On Monday June 23 2003 06:03 am, rebel indian wrote:
> Hi,
> I have upgraded my Linux from Red Hat 7.3 (Valhalla) to Red hat 9 (shrike).
> I am on the LAN but I am not able to connect to the Internet. I am on a
> laptop and use DHCP. I have checked I have enabled DHCPservice.
> When I run Netscape its says..unable to connect to ..host. etc etc
> and when I go on a shell and type
> ping www.yahoo.com
> it says no host yahoo.com found.
> I switched back to windows its a Linux problem or network problem. Internet
> is working on windows. Please help me how can I connect to the Internet on
> this Red Hat 9. earlier on 7.3 I was using Internet very smoothly. Thanks
> in Advance
> Rebel

I don't know what your specific problem is but....

Make sure /etc/sysconfig/network-scripts/ifcfg-eth0 sez something like:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
DHCP_HOSTNAME=mupplesnarf
PEERDNS=yes
TYPE=Ethernet

Then restart the networking:

$ sudo service network restart

Check /etc/resolv.conf for DNS servers. If the first line is not someothng
like: "; generated by /sbin/dhclient-script" check the permissions. The
should be 644.

Check /var/lib/dhcp/dhclient-eth0.leases to see want information was sent with
your lease. The DNS sever _should_ be in there.

option domain-name-servers 192.168.124.10,192.168.124.20;

It should also tell you where you got the lease from:

option dhcp-server-identifier 192.168.124.10;

If NOTA helps, bring the networking down

$ sudo service network stop

then try running dhclient from the command line with debuging.

$ sudo dhclient -d eth0

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

--
Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
------------------------------------------------------------------
Mom & Pop were just a couple of kids when they got married. He was
eighteen, she was sixteen and I was three."
-- Billie Holiday


--
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