aspose file tools*
The moose likes Linux / UNIX and the fly likes How to connect internet on RHEL 5.1? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to connect internet on RHEL 5.1?" Watch "How to connect internet on RHEL 5.1?" New topic
Author

How to connect internet on RHEL 5.1?

Abhijeet Ravankar
Ranch Hand

Joined: Mar 15, 2009
Posts: 62
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

Joined: Jun 06, 2009
Posts: 1
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

Joined: Mar 15, 2009
Posts: 62
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

Joined: Jun 25, 2001
Posts: 16014
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Abhijeet Ravankar
Ranch Hand

Joined: Mar 15, 2009
Posts: 62
HI all,

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

Thanks.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to connect internet on RHEL 5.1?