[Show all top banners]

daum
Replies to this thread:

More by daum
What people are reading
Subscribers
Subscribers
[Total Subscribers 1]

nepali_kanchho
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 RED HAT LINUX
Keywords associated with this thread

linux network interface eth0 system-config-network
[VIEWED 5381 TIMES]
SAVE! for ease of future access.
Posted on 01-04-10 1:09 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Dear sajha users,


I just finished installing red hat enterprise linux


WS Version 4 Update 5


Now, the internet is not being connected, there's an error message coming like this:


Cannot activate network device eth0:1!
/sbin/ifup: configuration for eth0:1 not found.
Usage: ifup<device name>



Q. 1. The problem in installation ( I installed using 5 CDs)?
      [I'm using LAN internet connection]


Q. 2. I heard that we can download from open source somewhere in internet called SANTOSH. Any suggestions or links?


 


 


 
Posted on 01-04-10 12:27 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

daum,


Q. 1. The problem in installation ( I installed using 5 CDs)?
      [I'm using LAN

internet connection]

If you know it is an installation problem, re-install it!

Q. 2. I heard that we can download from open source somewhere in internet called SANTOS. Any suggestions or links?


I am not sure what SANTOS is, if you meant to say CentOS then here is the link:

http://centos.org/

Also, this might be just a simple issue, you  may want to Google it.






Last edited: 04-Jan-10 12:27 PM

 
Posted on 01-04-10 7:09 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

You can easily setup network through linux command from terminal as root user(# prompt) :

system-config-network

But if you do not have this command installed then you have to setup network manually.
1. Check to see if kernel can see your network card by running the following command-
    ifconfig
   If it returns with "eth0:" which is ethernet interface 0  then your kernel can see network card . You will also see lo:  local loopback interface. If you cannot see eth0 or eth1 then you will need to download network driver from internet.
2. Now, make sure your network cable is connected properly -check the link light (green light on the    network socket) turns green on successful physical connection.
3. Setup IP address: If you are using dhcp (dynamic ip ) from your router/network(which is common)  then you can setup ip address simply by running the following command from terminal:
   dhclient eth0
  But, if you are setting up ip address manually then run the following command (replace with proper ip address):
   ifconfig eth0 192.168.0.100 netmask 255.255.255.0
4. Test connection by pinging your gateway(router) :
    ping 192.168.0.1
    If you can successfully ping your gateway then your box is connected to your local network.

Other things to check for successful internet connection are:
Default gateway - "route -n" will show all your gateway. If you have to set manually then you can set the default gateway as "route add default gateway 192.168.0.1 " (if 192.168.0.1 is your router/gateway address). Default gateway is required to route any packet outside your local network (IE to internet).
DNS - "cat /etc/resolv.conf" this will show your dns servers. You can edit the file /etc/resolv.conf to add dns server address. Your entry should be as "nameserver IP_address_of_dns_server". DNS server is required for your box to translate domain name to ip address.

If you have these setting then you should be able to access internet.

There is no need to install CentOS it is a ditto copy of Red Hat Enterprise Linux.
Good luck



Last edited: 04-Jan-10 07:19 PM
Last edited: 04-Jan-10 07:23 PM

 
Posted on 01-04-10 10:18 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Thank you sac-town1 and /dev/null for your valuable information. I will follow the instructions. Hope it will work.


-daum


 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 7 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
ढ्याउ गर्दा दसैँको खसी गनाउच
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters