On Tue, May 20, 2008 at 10:35:23AM +0200, Tobias Walkowiak wrote: > On Mon, May 19, 2008 at 03:06:21PM -0700, Kendall Shaw wrote: > > I'm an openbsd novice. I replaced cards on computers in my home network > > with gigabit ethernet and got a a gigabit switch. Can I determine what > > speed or maybe what media my re0 interface is using? > > you can use iperf or ttcp from the packages. >
Isn't it insane to figure out the media options of a interface with iperf? I think looking at ifconfig(8) output would be sufficent. e.g. ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:01:8e:b3:8b:ca media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet6 fe80::201:8eff:feb3:8bca%re0 prefixlen 64 scopeid 0x6 -- :wq Claudio