Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to connect internet on RHEL 5.1?

 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to Linux. I am using RHEL 5. How should I connect my computer to the internet? My ethernet card is not getting detected.

My ethernet card is: Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC. But, that driver is not shown in the list of available drivers for ethernet.

I am using broadband internet connection (PPPOE).
IP Address: a.a.a.a
Subnet Mask: b.b.b.b
Default Gateway: c.c.c.c
DNS Server: x.x.x.x / y.y.y.y

I have downloaded the driver for my ethernet card from the website of the manufacturer. Its "r8168-8.012.00.tar" file.

I am completely new to Linux.
Can anybody guide me step-by-step about this problem (with commands if any)? I shall be really thankful.

Thanks in advance.
 
John Sifu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open a terminal mode and type the following: [user]$ tar -xzvf filename.tar.gz You may need to be root or superuser to do this. You can become super user by type su in front of the command example I provided.
 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

Thanks for your reply. I have installed RHEL 5.3 and the new kernel has detected my ethernet card. The old kernel was not detecting the card.

Now please tell me how to connect to internet. I have broadband connection. The service provider's name is "YouTele" and it provides installer for Windows only & does not provide support for Linux machines. (I want to completely shift to Linux).

In Windows, in Local Area Network Properties (TCP/IP Properties), I see that the
"Obtain an IP address automatically" --> is disabled.
"Use the following IP Address" ---> is enabled with the following:

IP Address: a.a.a.a
Subnet Mask: b.b.b.b
Default Gateway: c.c.c.c

"Obtain the DNS Server address automatically" --> is disabled
"Use the following DNS Server addresses" --> is enabled with the following:

Preferred DNS Server: x.x.x.x
Alternate DNS Server: y.y.y.y

In Linux, I click on System->Administration->Networking. Now should I enter all these values? I tried but still its not getting connected to internet?

I am lost??
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18014
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're trying to connect to the Internet from the RHEL box while the Windows box is still online, you'll have problems. Only one box can own an IPv4 address at a time.

If that's not the problem, do a "/sbin/ifconfig" and paste the output into a reply. Preferably using the Code formatter.

You're indicating a fixed IP address based on your Windows config. If it's actually supposed to be DHCP-assigned, that would be an issue, too.
 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all,

Thanks for suggestions. I was able to configure internet finally. Upgraded the kernel. Manually installed drivers.

Thanks.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic