Page MenuHomeFreeBSD

networking.7: Clarifications
ClosedPublic

Authored by ziaee on Apr 10 2025, 4:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 25, 9:55 PM
Unknown Object (File)
Sat, May 24, 7:31 AM
Unknown Object (File)
Thu, May 22, 8:27 PM
Unknown Object (File)
Wed, May 21, 12:42 PM
Unknown Object (File)
Wed, May 21, 11:13 AM
Unknown Object (File)
Tue, May 20, 8:04 PM
Unknown Object (File)
May 14 2025, 3:36 PM
Unknown Object (File)
May 13 2025, 10:29 PM

Details

Summary

It is no longer necessay to load the USB tetherning interface driver
in any supported release, as well as less ambiguous since there are
several drivers that populate ue interfaces. Use common, actively
developed 10g Ethernet and our most current and reliable usb wifi
drivers in the examples. Explain the bhyve(8) caveat as I promised
to allanjude on IRC in 2023. Finally, clean up some markup.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ziaee requested review of this revision.Apr 10 2025, 4:10 PM

s/bhyve(8)/bhyve(8) virtual machines./

Switch to the most common internal wifi devices.

AAFreeBSD_outlook.com added inline comments.
share/man/man7/networking.7
32

while its true that usb tethering devices do not have to be loaded manually, on ipheth(4) devices require manual steps. possibly have to be noted.

the same aforementioned manual steps are not required for android.

share/man/man7/networking.7
32

Do they? What are they?

share/man/man7/networking.7
32

ipheth(4) man page summarized is:

  1. identifying USB address using
# usbconfig | grep Apple
`
  1. getting the different configs available using
#usbconfig -d {USB_address} dump_all_config_desc | grep -E '(^ Conf|iConf)'
  1. you should now confirm to trust the device over your iphone.

figuring out which configuration lists USB tethering, you now send set_config to its index.

# usbconfig -d ${USB_address} set_config ${configuration}

3.5: extra step on some devices ( not needed for iphone 13 here)
sometimes usbmuxd(1) is neccessary and should be used before step 4.

# usbmuxd --enable-exit --foreground	--user root --verbose
  1. you should be able to see ue0 now:
# sysrc ifconfig_ue0 = "SYNCDHCP"
# service dhclient restart ue0
share/man/man7/networking.7
32

That is only for older iPhones. Newer iPhones and everything else Just Works. I do not want to add that.

quentin.thebault_defenso.fr added inline comments.
share/man/man7/networking.7
22
28
34
48
64
68

It's not a sentence and we already have a colon before so I think it would be easier on the eyes to just remove the second one.

If you keep it anyway: no space before punctuation in English.

95

Maybe we should explain what happens to jail networking, which might be different for VNET or non-VNET jails or interfaces.

share/man/man7/networking.7
68

Yes, I am a native English speaker. These spaces are part of the syntax of the Roff language. If you test the patch, they do not render with a space between.

95

This is a quick start guide for connecting to basic networks and getting yourself going. The caveat is that stopping netif stops networking, and it might not be obvious to people who are quick starting that some things are using networking internally. I do not want to digress here. Maybe I have digressed too much already by providing an example which is naturally incomplete.

share/man/man7/networking.7
68

You are right about rendering. I do not see any difference with or without the extra space. But that also means there is no benefit from having a space?

Regarding the colon, I checked with and without in the rendering, and I maintain that I think without ending colons is more readable. It makes the line look more like a (sub)section title, which it actually is.

I would add that if you test it with MANWIDTH=59, lines wrap and you end up with colons close to the one of the Example N: pattern, which I think hurts readability.

These spaces are part of the Roff language

But that also means there is no benefit from having a space?

No. See above. Removed punctuation and bhyve example.

adrian added a subscriber: adrian.

I think this is a good checkpoint to land and then iterate on some more in -head. Thanks for this!

Just bump the modified date :-)

This revision is now accepted and ready to land.Apr 23 2025, 2:33 PM

Ping? I would like to put these improvements in 14.3.

This revision was automatically updated to reflect the committed changes.

Thank you! Very excited about this one, demonstrating drivers for wifi 7 and 10 gbe hardware!