FreeBSD question

Sorcerer

Senior member
Jul 9, 2001
235
0
0
Can anyone tell me how to check to see if my NIC is set to:
1. 10 or 100
2. full or half duplex

It's running a small web/ftp server over DSL, so the speed is not real critical, but lastnight, I transfered several iso's onto it, & it took forever.

It's running Samba, so when I initially loaded it, I just used my main system (win) to just drag the entire directory structure I wanted onto the filesystem where I wanted it. That was something like 40G, so I just started it, & went to bed. No idea how long it really took then.

Thanks for any help.

 

GigaCluster

Golden Member
Aug 12, 2001
1,762
0
0
You can use the ifconfig command to see information about your network devices.
Here's the output of my server:

dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 216.90.3.186 netmask 0xfffffff8 broadcast 216.90.3.191
inet6 fe80::2a0:ccff:fed7:52f%dc0 prefixlen 64 scopeid 0x1
ether 00:a0:cc:D7:05:2f
media: autoselect (100baseTX <full-duplex>) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP none
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::220:78ff:fe18:9c90%ed0 prefixlen 64 scopeid 0x2
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:20:78:18:9c:90

On the second NIC it doesn't seem to report any information. Strange.
What you can also do, if your NIC supports it, is to look at its lights -- they usually indicate various states. Mine does, for example. Or on a router / switch, it will show whether it's 10 Mbps or 100 Mbps, and full/half duplex info.