setting up network card
YAY! I finally got linux 7.1 mandyworking!
now another problem, i want to get onto the internet with my ethernet card but i don't know how to set it up. is there anyway to do like a hardware detection or anything? i really need to get onto the internet. |
what if i were to install the driver again? would that get it working? i it would how would i install it?
|
What type of internet connection do you have ? (Cable modem, DSL, etc)
What is your distribution ? (Mandrake, SuSE, etc) In order to configure your network card, you will have to open a console window and login as root: Code:
su - |
My internet connection is cable, and i'm hooked up through a switch. and my distribution is mandrake (7.1 if that makes a difference)
|
Open a console window and login as root.
To see if Linux has detected your Network card, type: Code:
dmesg | grep eth[0-9] You will need to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following: Code:
DEVICE=eth0 Code:
/etc/init.d/network restart Code:
ifconfig |
matheiu,
i tried what you siggested and it doesn't seem to work it typed it exactly how you did, nothing happened. say we don't need to find out, how do i edit that file? |
What kind of network card do you have ? (Type, model, manufacturer, etc)
Are you in a Graphical or Text mode ? To edit a file, open any text editor, go to the /etc/sysconfig/network-scripts directory and look for the ifcfg-eth0 file. However, if Linux did not detect your network card, editing the file will not make a difference. Also, take a look at the /etc/modules.conf file. Do you see a line that looks like this: Code:
alias eth0 ...driver_name... |
Quote:
the ifg-eth0 file is not there. and no i do not see a line that looks like this: Code:
alias eth0 ...driver_name... |
Quote:
Mandrake is based on RedHat, so it should work. |
thanks that really helps.
now all i need to know is a bit more here and there and your free to go mathieu. (thanks a lot!) now how do i build a compiler environment? then compile it into a binary code? |
All times are GMT -5. The time now is 07:57 PM. |