"how to config network card manually"
Hi,
Here i got some problem reg NIC card, to day i boot my sys then i got a message u r network card has been removed ... and it asks me optins llike "keep configuration ", "remove configuration", "no changes". then i select" remove config " option ... after i would like to config manually.... when ever iam trying to activate network card it gives me a message " cannot activate etho " configuration for etho not found " "usage /sbin/ifup <device name>" what should i do ..... iam new to linux admin just enter into it.. so can anybody do help regarding this issue.... Thanking you, zameer ahmed syed |
you need to configure your interfaces file.
Depening on your distribution it'll be called /etc/network/interfaces, or something similar. example: auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.138 |
Thanx for ur kind reply
Could u please send correct path. iam having Linux 9 version, where i could get correct info or site..... plz kindly reply |
linux 9 is not a distribution.
type man interfaces. that will tell you where you can find your interfaces file |
I typed man interfaces
but it shows no manual entries for interfaces... what's next to proceed Thanq |
Hai Siemens,
Sorry for the disturbances, I found one file in name "ifcfg-eth0" in the path /etc/sysconfig/networking/devices/ here i am having the following information DEVICE= eth0 ONBOOT=yes BOOTRECORD=dhcp USERCTL=no PEERDNS=no TYPE=ETHERNET IAM TOTALLY CONFUSED MY BOSS SAID THAT U PLZ RE INSTALLED BUT I DON'T WANT IT, PLZ SOLVE MY PROBLEM... RE INSTALL IS NOT THE SOLUTION I THINK..... HELP ME ...... THANQ |
ONE MORE THING IS BY TYPING /ETC/RESOLV.INF FROM TERMINAL USING CAT COMMAND IT SHOWS SERVER IP ADDRESS.........
THANQ |
Siemens,
first of all iam very thanqfull to ur patience...... Iam providing full information what happened... ACTUALLY PROBLEM IS... Here i got some problem reg NIC card, to day i boot my sys then i got a message u r network card has been removed ... and it asks me options llike "keep configuration ", "remove configuration", "no changes". then i select" remove config " option ... i think i can config it manually.... when ever iam trying to activate network card it gives me a message " cannot activate etho " configuration for etho not found " "usage /sbin/ifup <device name>" even it doesn't shows me a network card from hardware devices.... I use netconfig command through terminal , here i change IP Address , subnetmask , gateway address , and i clicked on... then i check through ifconfig command there i got Loopback address now tell me what to do... u have complete information ..... plz don't tell do whatever u boss said...... I will really appretiate if i solve this problem...... ThanQ Siemens for ur patience |
do you have a file called /etc/networking/interfaces ?
what linux distribution do you have? |
hai siemen, could you got any solution .................. plz help me......
thanq and sorry for inconvinience.................... bye, zameer ahmed syed |
well can you please answer my questions then?
|
hey man iam new for this linux admin .... however if possible i can but not sure man............
|
these are the questions:
do you have a file called /etc/networking/interfaces ? what linux distribution do you have? If you cannot answer these, then sorry but I cant help you further |
no i don't have
|
Hi zameer_india,
be patient and don't be confused........... Ok, now come to your ethernet card configuration, I think u might be using Red Hat 9, plz. check it by looking at message show and boot time , and u can even check this by runing these commands #dmesg |grep version #cat /etc/issue.net #uname -r and show me the output and try to find your self also through these commands output... now run as a root show me the output of this command do the following things as a root, #ifconfig and now steps to configure network card #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR= <enter the ip address of the system> NETMASK=255.255.255.0 (set it according to ur ip) NETWORK=192.168.1.0 (set it according to ur ip) BROADCAST=192.168.1.255 (set it according to ur ip) ONBOOT=yes MII_NOT_SUPPORTED=yes GATEWAY=192.168.1.1 (set it according to ur ip) #/etc/init.d/network restart #ifconfig now try pinging other system on the netwok --return back ?? |
All times are GMT -5. The time now is 01:35 PM. |