Bug 173182 - usbus appears as a network device
Summary: usbus appears as a network device
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 9.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-29 08:10 UTC by Rick Richard
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Richard 2012-10-29 08:10:01 UTC
A change, apparently in later FBSD 8.x and in FBSD 9.x, causes usbus[0-n] devices to appear as network devices.  They do not show up in ifconfig -a but the do show up in netstat -i.

This causes a slowdown and errors at startup when both ifconfig_DEFAULT="DHCP" and synchronous_dhclient="YES" are set in rc.conf:

usbus0: not found
exiting.
Starting Network: usbus0.
usbus1: not found
exiting.
Starting Network: usbus1.

etc.

This has been mentioned in various places:
http://lists.freebsd.org/pipermail/freebsd-current/2011-October/028752.html

http://freebsd.1045724.n5.nabble.com/stable-9-usbus-entries-in-network-namespace-td5615804.html

http://permalink.gmane.org/gmane.os.freebsd.current/129625

http://freebsd.1045724.n5.nabble.com/Prevent-starting-network-on-usbus-td5142292.html

etc.

How-To-Repeat: edit /etc/rc.conf and add
ifconfig_DEFAULT="DHCP"
synchronous_dhclient="YES"

restart and observe errors at startup or manually produce the problem by executing
/etc/rc.d/netif start usbus0
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:21 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped