Link to home
Start Free TrialLog in
Avatar of kapil
kapil

asked on

NETWORK CARD

HOW TO CONFIGURE A NETWORK CARD AFTER INSTALLING LINUX???
Avatar of psimation
psimation
Flag of South Africa image

in X,  open a console, type netconf, and you should get a graphical user interface to setup your network.
Now, there is much more to it than just this. If for some reason, during setup, you chose NOT to install networking , you will have to go through a bit more trouble. Generally though, you should come right with just netconf.
PS, I am working on RedHat 6.1, but I presume it should apply to almost all distro's.

PPS, you *might* have to recompile the kernel, but don't try that unless you know what you're doing or you know someone that does.
ASKER CERTIFIED SOLUTION
Avatar of allym
allym

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marcelvh
marcelvh

for slackware but it can be compatible with other distribution
1) uncomment /etc/rc.d/rc.modules to fire the module that concern your card ( for ne2000 compatible you must know the physical add - if you don't know it , simply boot with the net.i boot disk it will search for different kind of card . If it don't see a card then you have a conflict with the addresses that you must resolve in the bios setup - frequent with old isa cards - and verify if they don't utilise irq 3, that's a very bad idea .
2) verify if you have the request module in /lib/modules/net, if not you must find him in your distribution disk or recompile your kernel ( that seems an hard work but if you know what you will and what you do it's quiet simple )
3) reboot and verify if the kernel recognize your card
4) the last thing to do, is to attribute your IP information on your card - go to /ect/rc.d/rc.inet1 edit it and fill in your own parameters.
5) execute rc.inet1 or reboot - after that with executing:
'ifconfig ' you must see an eth0 with your parameters
'netsat -n' different routes to your own segment or to going to the outside world if you have GW's.
' ping <a-pc-of-your segment-number>' lets you see if you can sending packets to an other machine
6) edit also:
'/etc/HOSTNAME' with the name of your 'pc.domain'
'/etc/NETWORKING' with 'yes'
'/etc/hosts' if you want to use names in place of IP addresses
7) if you have access to a DNS edit the '/etc/resolv.conf'
.... for all other services like NIS, ...

8)remarque: if you want dynamical address you must have a DHCP serveur ( like the cable providers) and install a DHCP client on your PC in place of configure your card manualy

voila , i think that's all

marcel