Re: Unable to Connect to Internet

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

 



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




[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