On 14 April 2011 09:13, deadeyes <gvm...@gmail.com> wrote: > deadeyes <gvm999 <at> gmail.com> writes: > > code that can be added in /etc/conf.d/net: > postup() { > local metric=0 > > case "${IFACE}" in > eth0) metric=0 ;; > eth1) metric=1 ;; > esac > ifmetric "${IFACE}" "${metric}" > > return 0 > } > > Seems like this works for me as well! :)
It does? I assume that eth1 above is wlan0 in your case. If you restart both eth0 and wlan0 so as to zero the packet counters, then start a download/upload from your a machine in your LAN, what packet counts do you get in ifconfig for each NIC? -- Regards, Mick