ifconfig ip address doesn't work
I have two wireless cards, wlan0 and wlan1
I want to configure wlan1 with an IP address 192.168.1.254
in run-level 3 mode
then I typed
ifconfig wlan1 192.168.1.254
it shows the ip address for wlan1 is 192.168.1.254
however, after tens of seconds, there is no IPV4 addresses for wlan1. What is wrong with this?
a similiar phenomenon is if I use "ifconfig wlan0 down" to disable wlan0, and then I type
, "wlan0" is not shown. However, after some time, it shows again.