dhcpcd-discuss

Re: Wireless interface metric not being set as described in man

Roy Marples

Mon Sep 08 14:38:51 2014

Hi

On 2014-09-08 15:20, Joe M wrote:
I am using dhcpcd 6.4.3 on gentoo.

The "man dhcpcd" says that wireless interfaces have a metric of 200 +
if_nametoindex + 100.
But, I do not see +100 added to my wireless interface.

I am running wpa_supplicant as a different process and not through
dhcpcd. I am not sure if that could cause this issue.

$ sudo ip route show | grep --color --ignore-case wifi
default via 192.168.1.1 dev wifi0  metric 203
192.168.1.0/24 dev wifi0  proto kernel  scope link  src 192.168.1.132
metric 203

I'm going to guess that you don't have WEXT support compiled into your kernel :) I should really try and write some code to work out SSID via the new cfg80211 kernel options, but that will probably add more bloat than I want to dhcpcd.

Roy

Follow-Ups:
Re: Wireless interface metric not being set as described in manJoe M
References:
Wireless interface metric not being set as described in manJoe M
Archive administrator: postmaster@marples.name