I am running FreeBSD 11 on a raspberrypi-B. The built-in ethernet adapter is working fine with no extra configuration. I have bought an external USB ethernet adapter and trying to get it to work.
The external adapter is recognized by the kernel: in /var/run/dmesg.boot there are the following lines:
As you can see, the built-in ethernet adapter is recognized as ue0, whereas the external one (DAVICOM DM9621A) is ue1.
However, when I try
while
Notice that there is no media and no status line.
Also, if I plug the network cable into the external adapter and restart the network, ue1 stays in the above state, with no media / status information.
I have tested the adapter in the shop (on Windows) and on my desktop (Debian GNU/Linux) and it works. Do I need a special driver? Do you have any hints?
The external adapter is recognized by the kernel: in /var/run/dmesg.boot there are the following lines:
Code:
ugen0.3: <vendor 0x0424> at usbus0
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
smsc0: chip 0xec00, rev. 0002
miibus0: <MII bus> on smsc0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: <USB Ethernet> on smsc0
ue0: Ethernet address: b8:27:eb:3a:47:29
ugen0.4: <DAVICOM> at usbus0
ugen0.5: <Iomega> at usbus0
umass0: <MSC Bulk-Only Transfer> on usbus0
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <ST350082 0AS > Fixed Direct Access SCSI-2 device
da0: Serial Number 955FFFFFFFFF
da0: 40.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
warning: no time-of-day clock registered, system time will not be set accurately
random: unblocking device.
smsc0: chip 0xec00, rev. 0002
ue0: link state changed to DOWN
ue0: link state changed to UP
cdce0: <DAVICOM DM9621A USB To FastEther, class 2/0, rev 2.00/1.01, addr 4> on usbus0
ue1: <USB Ethernet> on cdce0
ue1: Ethernet address: 00:60:6e:b3:5e:2e
However, when I try
sudo ifconfig ue0
I get
Code:
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
ether b8:27:eb:3a:47:29
inet 192.168.2.108 netmask 0xffffff00 broadcast 192.168.2.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
sudo ifconfig ue1
gives
Code:
ue1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:60:6e:b3:5e:2e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Also, if I plug the network cable into the external adapter and restart the network, ue1 stays in the above state, with no media / status information.
I have tested the adapter in the shop (on Windows) and on my desktop (Debian GNU/Linux) and it works. Do I need a special driver? Do you have any hints?