RE: Problem getting Linux connecting to internet

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

 



Couple of things here; you have the interface configured to use dhcp, and yet you specified an ip address; if you want to use a static ip address, then set BOOTPROTO=static , otherwise remove your ip address, netmask, gateway; next, check your /etc/resolv.conf file ; make sure it has good name servers listed, and then check /etc/host.conf to make sure your box is set to use dns for name information.  Hope this helps.

/etc/resolve.conf would like something like this:
Search mydomain.com
Nameserver 192.168.2.1

/etc/host.conf would like something like this:
Order, hosts, bind

Aaron 

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Yeo Hong Ming
Sent: Saturday, February 17, 2007 6:59 AM
To: General Red Hat Linux discussion list
Subject: Problem getting Linux connecting to internet

Hi all,
 
I am new to Linux Red Hat. I have installed red hat on my laptop and have been trying to get it connected to the net without success.
 
My setup is like this. My Linux laptop and my Windows PC is connected to my router in a LAN using ethernet cables. My PC is connected to the intenet through the router.  I have configured my ifcfg-eth0 file on my laptop to be like this:
 
DEVICE=eth0
BOOTPROTO=dchp
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
IPADDR=192.168.0.101
GATEWAY=192.168.0.1
NETMASK=255.255.255.0
 
 
My laptop is able to work in the LAN, as I am able to putty from my PC to the laptop. However I am unable to go the internet on Modzilla. Can anyone tell me what else do I need to configure for internet conection? 
 
Thanks.
 
Regards,
 
HM
_________________________________________________________________
Life is complicated.  Sharing yours shouldn't be.  Meet Muse. 
http://muse.live.com?source=wlmailtag&loc=us -- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Confidentiality Notice:
The information contained in this electronic message is intended for the exclusive use of the individual or entity named above and may contain privileged or confidential information.  If the reader of this message is not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that dissemination, distribution or copying of this information is prohibited.  If you have received this communication in error, please notify the sender immediately by telephone and destroy the copies you received.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux