{"id":28711,"date":"2026-01-04T15:01:01","date_gmt":"2026-01-04T06:01:01","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=28711"},"modified":"2026-01-04T15:01:01","modified_gmt":"2026-01-04T06:01:01","slug":"raspberry-pi5%e3%82%92%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ab%e4%bb%95%e7%ab%8b%e3%81%a6%e3%82%8b-3-static-ip%e3%81%afnmtui","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=28711","title":{"rendered":"Raspberry Pi5\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u4ed5\u7acb\u3066\u308b (3) Static IP\u306fnmtui"},"content":{"rendered":"\n<p>LAN&#20869;&#12391;&#65292;static IP&#12395;&#12377;&#12427;&#26041;&#27861;&#12399;&#22823;&#12365;&#12367;&#20998;&#12369;&#12390;2&#12388;&#12354;&#12426;&#12414;&#12377;&#65294;PC&#12398;&#20596;&#12398;&#35373;&#23450;&#12399;&#12356;&#12376;&#12425;&#12378;&#12395;DHCP&#12434;&#25552;&#20379;&#12375;&#12390;&#12356;&#12427;&#12469;&#12540;&#12496;&#12540;&#12398;&#35373;&#23450;&#12434;&#12375;&#12390;&#65292;&#29305;&#23450;&#12398;MAC&#12450;&#12489;&#12524;&#12473;&#12395;&#12399;&#12356;&#12388;&#12418;&#27770;&#12414;&#12387;&#12383;IP&#12450;&#12489;&#12524;&#12473;&#12434;&#21106;&#12426;&#25391;&#12427;&#12363;&#65292;PC&#12398;&#20596;&#12391;static IP&#12398;&#35373;&#23450;&#12434;&#12377;&#12427;&#12398;&#12393;&#12385;&#12425;&#12363;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p>DHCP&#12469;&#12540;&#12496;&#12540;&#12399;&#12503;&#12525;&#12496;&#12452;&#12480;&#12540;&#12398;&#12362;&#20181;&#30528;&#12379;&#12523;&#12540;&#12479;&#12540;&#12395;&#32068;&#12415;&#36796;&#12414;&#12428;&#12383;&#12418;&#12398;&#12434;&#20351;&#12387;&#12390;&#12356;&#12414;&#12377;&#65294;&#12381;&#12398;&#20181;&#27096;&#12391;&#22266;&#23450;IP&#12399;DHCP&#12395;&#21106;&#12426;&#24403;&#12390;&#12427;&#12503;&#12540;&#12523;&#12398;&#20013;&#12363;&#12425;&#12375;&#12363;&#36984;&#12409;&#12394;&#12356;&#12398;&#12391;&#12377;&#65294;&#20197;&#21069;&#20351;&#29992;&#12375;&#12390;&#12356;&#12383;&#12523;&#12540;&#12479;&#12540;&#12399;&#65292;DHCP&#12398;&#12503;&#12540;&#12523;&#22806;&#12363;&#12425;&#36984;&#12406;&#20181;&#27096;&#12391;&#65292;&#12381;&#12385;&#12425;&#12398;&#26041;&#12364;static IP&#12398;&#12469;&#12540;&#12496;&#12540;&#12392;&#12381;&#12398;&#20182;&#12398;&#12463;&#12521;&#12452;&#12450;&#12531;&#12488;&#12434;&#26126;&#30906;&#12395;&#20998;&#12369;&#12425;&#12428;&#12390;&#21028;&#12426;&#12420;&#12377;&#12356;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12381;&#12371;&#12391;&#65292;&#20170;&#22238;&#12399;PC&#20596;&#12392;&#12356;&#12358;&#12363;Raspberry Pi (RPi)&#20596;&#12391;&#35373;&#23450;&#12377;&#12427;&#12371;&#12392;&#12395;&#12375;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>RPi OS&#12399;&#22522;&#26412;&#30340;&#12395;&#12399;Debian&#12394;&#12398;&#12391;&#24773;&#22577;&#12399;&#12356;&#12367;&#12425;&#12391;&#12418;&#12354;&#12426;&#12414;&#12377;&#65294;&#12375;&#12363;&#12375;&#12381;&#12428;&#12364;&#28797;&#12356;&#12377;&#12427;&#12371;&#12392;&#12418;&#12354;&#12426;&#12414;&#12377;&#65294;&#20170;&#22238;&#12364;&#12414;&#12373;&#12395;&#12381;&#12428;&#12391;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Raspberry Pi OS static IP<\/code><\/pre>\n\n\n\n<p>&#12420;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Debian static IP<\/code><\/pre>\n\n\n\n<p>&#12391;&#26908;&#32034;&#12377;&#12427;&#12392;&#65292;<code>\/etc\/network\/interfaces<\/code>&#12434;&#32232;&#38598;&#12377;&#12427;&#12363;&#65292;<code>\/etc\/systemd\/network\/10-eth0.network<\/code>&#12434;&#20316;&#25104;&#12375;&#12390;&#32232;&#38598;&#12375;&#12429;&#12392;&#20986;&#12414;&#12377;&#65294;&#31558;&#32773;&#33258;&#36523;&#12398;&#35469;&#35672;&#12392;&#12375;&#12390;&#12418;&#12363;&#12388;&#12390;&#12381;&#12358;&#12375;&#12390;&#12365;&#12383;&#12398;&#12391;&#12381;&#12358;&#12384;&#12429;&#12358;&#12392;&#65292;&#35211;&#12388;&#12369;&#12383;&#24773;&#22577;&#12420;&#33258;&#20998;&#12364;&#12363;&#12388;&#12390;&#35373;&#23450;&#12375;&#12383;&#20206;&#24819;&#12510;&#12471;&#12531;&#12398;&#35373;&#23450;&#12434;&#21442;&#32771;&#12395;&#35373;&#23450;&#12501;&#12449;&#12452;&#12523;&#12434;&#32232;&#38598;&#12377;&#12427;&#12398;&#12391;&#12377;&#12364;&#65292;&#12356;&#12387;&#12371;&#12358;&#12395;<code>\/dev\/eth0<\/code>&#12395;&#24605;&#12387;&#12383;&#12424;&#12358;&#12395;static&#12394;IP address&#12364;&#35373;&#23450;&#12391;&#12365;&#12414;&#12379;&#12435;&#65294;<\/p>\n\n\n\n<p>&#12373;&#12425;&#12395;&#65292;&#35519;&#12409;&#12390;&#12415;&#12427;&#12392;&#65292;&#27491;&#35299;&#12399;<code>nmtui<\/code>&#12392;&#12356;&#12358;&#12467;&#12510;&#12531;&#12489;&#12391;&#35373;&#23450;&#12377;&#12427;&#12424;&#12358;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/qiita.com\/yatabe_s\/items\/4aa5f90bda486b72bf82\">Raspberry Pi &#22266;&#23450;IP&#12450;&#12489;&#12524;&#12473;&#35373;&#23450;&#65288;Raspberry Pi OS Lite &ndash; bookworm&#65289; Qiita<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux-jp.org\/?p=1244\">&#12300;nmtui&#12301;&#12484;&#12540;&#12523;&#12434;&#20351;&#12387;&#12390;IP&#12493;&#12483;&#12488;&#12527;&#12540;&#12463;&#12434;&#27083;&#25104;&#12377;&#12427;&#26041;&#27861; Linux-JP.org<\/a><\/li>\n<\/ul>\n\n\n\n<p>nmtui&#12434;&#20351;&#12360;&#12400;&#65292;&#29305;&#12395;&#33510;&#21172;&#12399;&#12354;&#12426;&#12414;&#12379;&#12435;&#12391;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>&#12393;&#12358;&#12418;&#12493;&#12483;&#12488;&#12398;&#35373;&#23450;&#12399;&#12381;&#12398;&#37117;&#24230;&#33510;&#21172;&#12375;&#12390;&#12418;&#65292;&#12381;&#12398;&#24460;&#12399;&#12381;&#12398;&#35373;&#23450;&#12398;&#12414;&#12414;&#20309;&#24180;&#12418;&#20351;&#12358;&#12398;&#12391;&#65292;&#26368;&#21021;&#12398;&#33510;&#21172;&#12399;&#24536;&#12428;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LAN\u5185\u3067\uff0cstatic IP\u306b\u3059\u308b\u65b9\u6cd5\u306f\u5927\u304d\u304f\u5206\u3051\u30662\u3064\u3042\u308a\u307e\u3059\uff0ePC\u306e\u5074\u306e\u8a2d\u5b9a\u306f\u3044\u3058\u3089\u305a\u306bDHCP\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u3057\u3066\uff0c\u7279\u5b9a\u306eMAC\u30a2\u30c9\u30ec\u30b9\u306b\u306f\u3044\u3064\u3082\u6c7a\u307e\u3063\u305fIP\u30a2\u30c9\u30ec\u30b9\u3092\u5272\u308a\u632f\u308b\u304b\uff0cPC\u306e\u5074\u3067static IP\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u306e\u3069\u3061\u3089\u304b\u3067\u3059\uff0e DHCP\u30b5\u30fc\u30d0\u30fc\u306f\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306e\u304a\u4ed5\u7740\u305b\u30eb\u30fc\u30bf\u30fc\u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e\u305d\u306e\u4ed5\u69d8\u3067\u56fa\u5b9aIP\u306fDHCP\u306b\u5272\u308a\u5f53\u3066\u308b\u30d7\u30fc\u30eb\u306e\u4e2d\u304b\u3089\u3057\u304b\u9078\u3079\u306a\u3044\u306e\u3067\u3059\uff0e\u4ee5\u524d\u4f7f\u7528\u3057\u3066\u3044\u305f\u30eb\u30fc\u30bf\u30fc\u306f\uff0cDHCP\u306e\u30d7\u30fc\u30eb\u5916\u304b\u3089\u9078\u3076\u4ed5\u69d8\u3067\uff0c\u305d\u3061\u3089\u306e\u65b9\u304cstatic IP\u306e\u30b5\u30fc\u30d0\u30fc\u3068\u305d\u306e\u4ed6\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u660e\u78ba\u306b\u5206\u3051\u3089\u308c\u3066\u5224\u308a\u3084\u3059\u3044\u3067\u3059\uff0e \u305d\u3053\u3067\uff0c\u4eca\u56de\u306fPC\u5074\u3068\u3044\u3046\u304bRaspberry Pi (RPi)\u5074\u3067\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff0e RPi OS\u306f\u57fa\u672c\u7684\u306b\u306fDebian\u306a\u306e\u3067\u60c5\u5831\u306f\u3044\u304f\u3089\u3067\u3082\u3042\u308a\u307e\u3059\uff0e\u3057\u304b\u3057\u305d\u308c\u304c\u707d\u3044\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\uff0e\u4eca\u56de\u304c\u307e\u3055\u306b\u305d\u308c\u3067\uff0c \u3084\uff0c \u3067\u691c\u7d22\u3059\u308b\u3068\uff0c\/etc\/network\/interfaces\u3092\u7de8\u96c6\u3059\u308b\u304b\uff0c\/etc\/systemd\/network\/10-eth0.network\u3092\u4f5c\u6210\u3057\u3066\u7de8\u96c6\u3057\u308d\u3068\u51fa\u307e\u3059\uff0e\u7b46\u8005\u81ea\u8eab\u306e\u8a8d\u8b58\u3068\u3057\u3066\u3082\u304b\u3064\u3066\u305d\u3046\u3057\u3066\u304d\u305f\u306e\u3067\u305d\u3046\u3060\u308d\u3046\u3068\uff0c\u898b\u3064\u3051\u305f\u60c5\u5831\u3084\u81ea\u5206\u304c\u304b\u3064\u3066\u8a2d\u5b9a\u3057\u305f\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u8a2d\u5b9a\u3092\u53c2\u8003\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u306e\u3067\u3059\u304c\uff0c\u3044\u3063\u3053\u3046\u306b\/dev\/eth0\u306b\u601d\u3063\u305f\u3088\u3046\u306bstatic\u306aIP address\u304c\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\uff0e \u3055\u3089\u306b\uff0c\u8abf\u3079\u3066\u307f\u308b\u3068\uff0c\u6b63\u89e3\u306fnmtui\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u3067\u3059\uff0e nmtui\u3092\u4f7f\u3048\u3070\uff0c\u7279\u306b\u82e6\u52b4\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\uff0e \u3069\u3046\u3082\u30cd\u30c3\u30c8\u306e\u8a2d\u5b9a\u306f\u305d\u306e\u90fd\u5ea6\u82e6\u52b4\u3057\u3066\u3082\uff0c\u305d\u306e\u5f8c\u306f\u305d\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u4f55\u5e74\u3082\u4f7f\u3046\u306e\u3067\uff0c\u6700\u521d\u306e\u82e6\u52b4\u306f\u5fd8\u308c\u3066\u3057\u307e\u3044\u307e\u3059\uff0e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"1","footnotes":""},"categories":[6,8,10,27],"tags":[],"class_list":["post-28711","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-network","category-rasapberry-pi"],"publishpress_future_action":{"enabled":false,"date":"2026-04-13 15:54:19","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/28711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28711"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/28711\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}