LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-08-2012, 04:39 PM   #1
Zahar2011
Member
 
Registered: Mar 2011
Distribution: rhel 6.0
Posts: 37

Rep: Reputation: 4
Can't connect (wired)to the internet on my toshiba laptop using redhat


hello i used to connect to the internet through the ethernet port of a router and the router connected to a medem, but all of a sudden i re-installed my rhel 6.0 and i had to go through the headache of detecting my ethernet card. Finally the card works. But now the problem is when plug the ethernet cable into the laptop port the two connection status screen on the taskbar change from no connection to connected but still i can't browse. I did the following:
1. ifup eth0 and ifconfig shows eth0 is working fine with the inet addr:192.168.5.102 Bcast:192.168.5.127 Mask:255.255.255.192

2. etc/sysconfig/network-scripts/ifcfg-eth0
Code:

DEVICE=eth0
BOOTPROTO=static
HWADDR=60:EB:69:A0:45:1B
IPADDR=192.168.5.102
NETMASK=255.255.255.192
ONBOOT=yes
GATEWAY= 192.168.5.1
# GATEWAY=ROUTER

3. /etc/sysconfig/network
Code:

NETWORKING=yes
GATEWAY=192.168.5.1

4./etc/resolv.conf
Code:

nameserver 41.184.111.2
nameserver 62.173.34.222

5. Then finally i restarted the network as follows but still i cant browse
Code:

/etc/init.d/network restart


remember that the 2 screen at the task bar that shows connection status shows i'm connected but still i cant browse. ANY HELP pls?
 
Old 09-09-2012, 07:56 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Please post ifconfig eth0 output.

Can you ping 192.168.5.1 ?
 
  


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
Can't connect via wired internet ( wireless is OK ) on HP G61 Laptop with Ubuntu 10.4 Funk_Junky Linux - Newbie 11 02-16-2012 07:37 AM
cannot connect to wired internet in slackware 13 K.D.Mishra Linux - Newbie 1 11-02-2009 06:08 AM
Connect to internet Wired Patie Linux - Laptop and Netbook 2 01-27-2006 11:35 AM
How to configure toshiba laptop to connect to the internet manojlo Linux - Laptop and Netbook 1 07-29-2004 10:16 AM
Cannot connect to internet via wired adapter psycovic23 Linux - Networking 1 06-05-2004 09:17 AM

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

All times are GMT -5. The time now is 02:49 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