hi,
i have an server, an wireless access point and a wireless network card on the server
server is few switches away from me
now ! i want server to work with wired connection, but in the case i have lan connection fail (server is in another building) i would like to be able to enter server via wireless connection (wireless access point is close to me) and do some debugging (or something)
but, the problem is that be cause both wired and wireless connections are on the same LAN (i use access point for other wireless connections, so i cannot make it dedicated only to this backup access to server) seems like that without any reason server is start using wireless connection instead of wired one
i tried to put a different subnet on wireless, i tried to change metrics in routing table, still the same problem
my guess is what i need is to change interfaces metrics ... but ...
I CANNOT CHANGE INTERFACES METRICS IN ... LINUX !
this is really and i mean REALLY incredible by itself, i can do that just fine in windows,
ifconfig even have the metric option, can display the metrics of interfaces but refuse to change them with the error: "SIOCSIFMETRIC: Operation not supported", and that is about linux generally, not driver or anything be cause it don't work on any interface (wired, wireless, or even loopback)
after reading
Setting metric for eth interfaces?
i tried ifmetric ... this program is not reporting anything of what it does ! (if it does anything at all), it cannot show/list metrics of interfaces in the system and according to ifconfig no metric is changed (all interfaces metrics remains set to 1 no matter what i do)
so ! any ideea for my problem or/and (i'm curios REALLY about this) how to set metrics on network connections in linux ?