Estoy tratando de compartir mi interfaz wifi con el puerto ethernet externo conectado en el macbook, después de reiniciar el dispositivo conectado en el puerto ethernet no recibe ninguna dirección IP, he mirado alrededor de algunos hilos y encontré que me enfrento a la misma cuestión en la que bootpd no se inicia automáticamente, pero cuando empecé manualmente tampoco funciona. No estoy seguro de cómo depurar esto, esto es muy molesto que una característica simple como el intercambio de Internet no funciona en MacOS.
------------ Before unloading and reloading bootps ------------
aravind.datla@~{aravind.datla}:» sudo launchctl load -w /System/Library/LaunchDaemons/bootps.plist
/System/Library/LaunchDaemons/bootps.plist: service already loaded
Load failed: 17: File exists
aravind.datla@~{aravind.datla}:» sudo launchctl list | grep -i boot
Password:
Sorry, try again.
Password:
- 0 com.apple.mdmclient.daemon.runatboot
- 0 com.apple.bootpd
576 0 com.apple.bootinstalld
------------ After unloading and reloading bootps ------------
aravind.datla@~{aravind.datla}:» sudo launchctl unload -w /System/Library/LaunchDaemons/bootps.plist
aravind.datla@~{aravind.datla}:» sudo launchctl load -w /System/Library/LaunchDaemons/bootps.plist
aravind.datla@~{aravind.datla}:» sudo launchctl list | grep -i boot
Password:
- 0 com.apple.mdmclient.daemon.runatboot
- 0 com.apple.bootpd
576 0 com.apple.bootinstalld
------------- Connected device en7, A bridge100 is automatically created -------------
aravind.datla@~{aravind.datla}:» ifconfig
en7: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=404<VLAN_MTU,CHANNEL_IO>
ether 8c:ae:4c:eb:de:54
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: inactive
bridge100: flags=8a63<UP,BROADCAST,SMART,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
ether be:d0:74:60:d6:64
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::bcd0:74ff:fe60:d664%bridge100 prefixlen 64 scopeid 0x16
inet6 fd5d:439c:cdd:79df:890:ba3a:ea3a:49b prefixlen 64 autoconf secured
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en7 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 21 priority 0 path cost 0
nd6 options=201<PERFORMNUD,DAD>
media: <unknown type>
status: inactive
-------------- log stream --info --debug output -------------------
2023-05-30 10:47:54.720776-0500 0xa9e3 Debug 0x0 338 0 configd: [com.apple.SystemConfiguration:SCDynamicStore] copy : 167179 : State:/Network/Interface/en7/Link
2023-05-30 10:47:54.721127-0500 0xa9e3 Debug 0x0 338 0 configd: [com.apple.SystemConfiguration:SCDynamicStore] copy : 132231 : State:/Network/Interface/en7/Link
2023-05-30 10:47:57.643589-0500 0xdf0 Default 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: ARP router: No leases to query for
2023-05-30 10:47:57.643724-0500 0xdf0 Info 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: symptom failure already reported
2023-05-30 10:47:57.644864-0500 0xdf0 Default 0x0 0 0 kernel: bpf0 attached to en7
2023-05-30 10:47:57.645072-0500 0xdf0 Default 0x0 0 0 kernel: bpf0 closed and detached from en7 fcount 0 dcount 0
2023-05-30 10:47:57.645222-0500 0xdf0 Default 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: INIT waiting at 60 for 8.688059
2023-05-30 10:48:06.338526-0500 0xdf0 Default 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: ARP router: No leases to query for
2023-05-30 10:48:06.338728-0500 0xdf0 Info 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: symptom failure already reported
2023-05-30 10:48:06.338811-0500 0xdf0 Debug 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] bootp_client_close_socket(en7): refcount 0
2023-05-30 10:48:06.338860-0500 0xdf0 Debug 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] bootp_client_close_socket(): scheduling delayed close
2023-05-30 10:48:06.341868-0500 0xdf0 Default 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] LINKLOCAL en7: publish success { IPv4 }
2023-05-30 10:48:06.341946-0500 0xdf0 Default 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: status = 'no server'
2023-05-30 10:48:06.343312-0500 0xdf0 Info 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] DHCP en7: not busy
2023-05-30 10:48:06.343378-0500 0xdf0 Info 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] en7: not busy
2023-05-30 10:48:06.345616-0500 0xa9dd Debug 0x0 338 0 configd: [com.apple.SystemConfiguration:SCDynamicStore] *remove : 42243 : State:/Network/Interface/en7/IPConfigurationBusy
2023-05-30 10:48:06.345643-0500 0xa9dd Debug 0x0 338 0 configd: [com.apple.SystemConfiguration:SCDynamicStore] *remove : 42243 : State:/Network/Interface/en7/ActiveDuringSleepSupported
2023-05-30 10:48:07.343027-0500 0xdf0 Debug 0x0 338 0 configd: (IPConfiguration) [com.apple.IPConfiguration:Server] bootp_session_delayed_close(): closing bootp socket 26