Date: Sat, 26 Nov 2022 21:41:28 +0000 From: Graham Perrin <grahamperrin@freebsd.org> To: freebsd-net@freebsd.org Subject: ifconfig_em0: DHCP NOAUTO Message-ID: <991bbedf-95af-6203-cc41-b6c7c0f917e9@freebsd.org>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------nLKAHfXPTlGB9rQSvLNKQNF0 Content-Type: multipart/mixed; boundary="------------tXLHdYSGuV85gGwnB8K725ob"; protected-headers="v1" From: Graham Perrin <grahamperrin@freebsd.org> To: freebsd-net@freebsd.org Message-ID: <991bbedf-95af-6203-cc41-b6c7c0f917e9@freebsd.org> Subject: ifconfig_em0: DHCP NOAUTO --------------tXLHdYSGuV85gGwnB8K725ob Content-Type: multipart/alternative; boundary="------------TBjcr5CfiTsp0mZcXLU0V74I" --------------TBjcr5CfiTsp0mZcXLU0V74I Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 V2l0aCAqTk9BVVRPKiAoZm9yIHRoZSBpbnRlcmZhY2UgdG8gYmUgbipvdCogYmUgY29uZmln dXJlZCBhdCBib290KQ0KDQpXaGVuLCBzb21lIHRpbWUgYWZ0ZXIgYm9vdCwgSSAqZG8qIHdh bnQgdG8gdXNlIHRoZSBpbnRlcmZhY2UsIHdoYXQgc3RlcHMgDQphcmUgcmVxdWlyZWQgZm9y DQovdmFyL3J1bi9yZXNvbHZjb25mL2ludGVyZmFjZXMvZW0wDQp0byBiZSBjcmVhdGVkPw0K DQpFeGFtcGxlIGNvbnRleHQ6DQoNCg0KJSBkYXRlIDsgdXB0aW1lDQpTYXQgMjYgTm92IDIw MjIgMTU6MDA6MTEgR01UDQozOjAwcC5tLiDCoHVwIDEwIG1pbnMsIDggdXNlcnMsIGxvYWQg YXZlcmFnZXM6IDAuMzYsIDEuMDUsIDAuNzUNCiUgc3lzcmMgaWZjb25maWdfZW0wIGlmY29u ZmlnX3dsYW4wIGNsb25lZF9pbnRlcmZhY2VzDQppZ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2xvc3VyZSBtYW5hZ2VtZW50IGJyaWRnZT4gb24gYWhjaTANCnNlczAgYXQgYWhjaWVt MCBidXMgMCBzY2J1czIgdGFyZ2V0IDAgbHVuIDANCmVtMDogbGluayBzdGF0ZSBjaGFuZ2Vk IHRvIFVQDQpkZWJ1Z25ldF9hbnlfaWZuZXRfdXBkYXRlOiBCYWQgZG5faW5pdCByZXN1bHQg ZnJvbSBlbTAgKGlmcCANCjB4ZmZmZmY4MDAwMWI4ODAwMCksIGlnbm9yaW5nLg0KZW0wOiBs aW5rIHN0YXRlIGNoYW5nZWQgdG8gRE9XTg0KZW0wOiBsaW5rIHN0YXRlIGNoYW5nZWQgdG8g VVANCmVtMDogbGluayBzdGF0ZSBjaGFuZ2VkIHRvIERPV04NCmVtMDogbGluayBzdGF0ZSBj aGFuZ2VkIHRvIFVQDQpyb290QG1vd2EyMTktZ2pwNC04NTcwcC1mcmVlYnNkOn4gIw0KDQoN CmdpZjAgaXMgc29tZXRpbWVzIHVzZWQgZm9yIGEgdHVubmVsIGJldHdlZW4gMTkyLjE2OC4x LjEwIGFuZCBhbiBJUHY2IA0KdHVubmVsIGJyb2tlci4NCg0K --------------TBjcr5CfiTsp0mZcXLU0V74I Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html data-lt-installed=3D"true"> <head> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF= -8"> </head> <body> <p>With <b>NOAUTO</b> (for the interface to be n<b>ot</b> be configured at boot)</p> <p>When, some time after boot, I <b>do</b> want to use the interface, what steps are required for <br> <font face=3D"monospace">/var/run/resolvconf/interfaces/em0</font> = <br> to be created?=C2=A0</p> <p>Example context: <br> </p> <p><br> </p> <p><span style=3D"font-family:monospace"><span style=3D"color:#000000;background-color:#ffffff;">% date ; uptime </span><br> Sat 26 Nov 2022 15:00:11 GMT <br> 3:00p.m. =C2=A0up 10 mins, 8 users, load averages: 0.36, 1.05, 0.= 75 <br> % sysrc ifconfig_em0 ifconfig_wlan0 cloned_interfaces <br> ifconfig_em0: DHCP NOAUTO <br> ifconfig_wlan0: WPA DHCP <br> cloned_interfaces: gif0 <br> % ls /var/run/resolvconf/interfaces/ <br> wlan0 <br> % cat /var/run/resolvconf/interfaces/wlan0 <br> search lan <br> nameserver 192.168.1.1 <br> nameserver 192.168.1.1 <br> % ifconfig em0 | grep -e inet -e status <br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0inet 192.168.1.10 netma= sk 0xffffff00 broadcast 192.168.1.255 <br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0status: active <br> % su - <br> Password: <br> root@mowa219-gjp4-8570p-freebsd:~ # grep em0 /var/log/dmesg.today | grep -v -e umodem0 -e address <br> em0: <Intel(R) 82579LM> port 0x3020-0x303f mem 0xd0400000-0xd041ffff,0xd043a000-0xd043afff at device 25.0 on pci0 <br> em0: EEPROM V0.15-4 <br> em0: Using 1024 TX descriptors and 1024 RX descriptors <br> em0: Using an MSI interrupt <br> em0: netmap queues/slots: TX 1/1024, RX 1/1024 <br> ahciem0: <AHCI enclosure management bridge> on ahci0 <br> ses0 at ahciem0 bus 0 scbus2 target 0 lun 0 <br> em0: link state changed to UP <br> debugnet_any_ifnet_update: Bad dn_init result from em0 (ifp 0xfffff80001b88000), ignoring. <br> em0: link state changed to DOWN <br> em0: link state changed to UP <br> em0: link state changed to DOWN <br> em0: link state changed to UP <br> root@mowa219-gjp4-8570p-freebsd:~ # </span></p> <p><br> </p> <p><span style=3D"font-family:monospace">gif0 </span>is sometimes used for a tunnel between <span style=3D"font-family:monospace"><sp= an style=3D"color:#000000;background-color:#ffffff;">192.168.1.10<= /span> </span>and an IPv6 tunnel broker. <br> </p> </body> <lt-container></lt-container> </html> --------------TBjcr5CfiTsp0mZcXLU0V74I-- --------------tXLHdYSGuV85gGwnB8K725ob-- --------------nLKAHfXPTlGB9rQSvLNKQNF0 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmOCiAgFAwAAAAAACgkQt2dIb0oY1Avg ng//TnwMirRbddqHw20w9tbNTGkEvHr3v2ct/rmzT/HYtDWyKmVT+CHLOthS3qAaXGm1D+PE/09z qzLvWfs8X5yDJlGUvdBPeK7zg+EEG+ucrpbNpDpAfsim996E6skiYasxcLZhtzItNmkN9oeXSMfJ ldHxG98RJ2wIAzc/Dq0h+wKgPsP18rmcBhDAtyIH8//GNMwn9kjUzW60Vsx6FOHdiIYuubDgmgRy uLclV+jtk+QwqHg3Nae05BMfpraQYUS19v2od2wNmhlaFdk6uuYiwvB/ZSthXTVnAMbwXTvF2P98 5n5JOF3kFuP55rIom61pVfG+kiFDSPcj0XpUhzoEZjBE9p1+bfu6NjSnmd4epnoknQZgCFHt1vZF v2SpJldPKncKSkgq8n5XBxjmp1Vya5BM+neOLFQ85QPIypFgdPFpD9hwhxa1sB7eX1NvlRrn9D/3 hxdw7Lx7rcuGVcFTT8eZNGxBw2mXIv6H6cPV33ANoFYiaKTNscgwUTM2crAKnMGJO+MLdOHAWQl6 KXTPi4CW0Gwe2FV9sr26Q/GcsRL52db/SP9gPfzXU6n0Cvdola8X9Iq1/+PQBFM/lzqQot9MDWRg e/wtoZpvh2UGAVWBn9uH9swuZ/XDJPlAIe9anjqn/3CgoYuiRU30M8CU0RTmX5YZBVfjpXXZSiY1 Pfg= =omwM -----END PGP SIGNATURE----- --------------nLKAHfXPTlGB9rQSvLNKQNF0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991bbedf-95af-6203-cc41-b6c7c0f917e9>