Quote:
Originally Posted by summersgone
Hi guys,
I've just followed this tutorial :
http://blogs.23.nu/disLEXia/2004/08/antville-4485/
And when i executed the command 'ifconfig disc0 create' under centOS 5.2 , it returned with :
create : No address associated with name
What's wrong with it ? how do i create interface under centOS ?
Thank you ..
|
Hmm - disc0 is an interface name, and your system is unable to provide that interface.
This most likely means that a specific driver for your LAN chip / card is not loaded, or is set to come up as a differently named interface.
Have you tried substituting "disc0" with "eth0" or "eth1"?
I. e. on my FC10 system, I can do this:
Code:
/sbin/ifconfig eth0 169.254.255.20 netmask 255.255.255.0 broadcast 169.254.255.255 up
which means "on the eth0 interface, set the IP adress to 169.254.255.20, the netmask to 255.255.255.0, the broadcast to 169.254.255.255, and activate (up) the interfce"
Note that the eth0 is an ethernet device - which is provided by a "kernel module" (LAN card driver) that I have loaded. Usually, if you do not pass the driver / kernel module it a startup parameter, or it is automatically loaded by your startup scripts, your ethernet device will be eth0 - if there are other ethernet cards, they are usually enumerated in order - i. e. eth0, eth1, etc.
From what you posted, you do not have "disc0" device available in your system. The tut you posted seems pretty extensive, maybe this is a software loopback or something created seperately as a step before the one you tried?
No idea... but the gist is that it appears that your system does not have a "disc0" networking device... or it does, but you need to provide an address?
What does
Code:
ifconfig disc0 192.168.0.11 up
do?
Or a mixture of the above (with disc0 substituted for eth0) relative to my
Code:
/sbin/ifconfig eth0 169.254.255.20 netmask 255.255.255.0 broadcast 169.254.255.255 up
?
I. e.
Code:
/sbin/ifconfig disc0 192.168.0.11 netmask 255.255.255.0 broadcast 192.254.255.255 up
or
Code:
/sbin/ifconfig disc0 192.168.0.11 up
??