LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-27-2005, 02:06 AM   #1
anhvuvnn
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
can not connect to Internet, help me !


i have a question about Configuration Internet in Linux, although Lan is now connected(configured in etc/sysconfig/network-script) but still can not connect to Internet. how can i sucessful config now ? pls help me


ifcfg-eth0 :


DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.3.78
NETMASK=255.255.255.0
NETWORK=192.168.3.1
BROADCAST=192.168.3.255
DEFAULT=192.168.3.1
ONBOOT=yes
MII_NOT_SUPPORTED=yes

thanks for your help!
 
Old 10-27-2005, 03:47 AM   #2
gjagadish
Member
 
Registered: Oct 2005
Location: India
Distribution: Fedora Core
Posts: 88

Rep: Reputation: 15
Hi,

what's ur dns ip address.

can u ping yahoo ip address rather than yahoo hostname.
 
Old 10-28-2005, 02:51 AM   #3
anhvuvnn
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I configured my DNS server, is : 203.16.0.181 , but still not effected....
 
Old 10-28-2005, 03:43 AM   #4
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
I take it you're connecting through a gateway on the LAN? You'll need to tell your ethernet card about this. You'll need to find out the IP address of the box you connect through, then add the following line to your /etc/sysconfig/network file (assuming it's 192.168.12.254):
Code:
GATEWAY=192.168.12.254
If you can't find out the IP address easily, a lot of networks use DHCP to configure the ins and outs. If your network is DHCP-configured, then you should be able to get all the settings automatically (and thus connect) by changing your ifcfg-eth0 file to:
Code:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Note: I use Debian personally, so I can't guarantee that there isn't another step involved in setting up DHCP in Red Hat. It should work straight off the bat, though.

HTH,
Andrzej
 
Old 10-28-2005, 07:59 AM   #5
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Not a progamming question. Moving to Networking.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM
How to connect to the internet??? Hachaso Linux - Software 2 04-12-2002 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration