{"id":18748,"date":"2025-04-11T19:07:53","date_gmt":"2025-04-11T11:07:53","guid":{"rendered":"https:\/\/www.bookcard.net\/wordpress\/?p=18748"},"modified":"2025-05-10T14:43:19","modified_gmt":"2025-05-10T06:43:19","slug":"openwrt_x86_x64","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/openwrt_x86_x64\/","title":{"rendered":"OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248"},"content":{"rendered":"<figure id=\"attachment_18750\" aria-describedby=\"caption-attachment-18750\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18750\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT.jpg\" alt=\"OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-18750\" class=\"wp-caption-text\">OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248<\/figcaption><\/figure>\n<figure id=\"attachment_18751\" aria-describedby=\"caption-attachment-18751\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT_.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18751\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT_.jpg\" alt=\"OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT_.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT_-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT_-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-18751\" class=\"wp-caption-text\">OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248<\/figcaption><\/figure>\n<figure id=\"attachment_18749\" aria-describedby=\"caption-attachment-18749\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT___.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18749\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT___.jpg\" alt=\"OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT___.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT___-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT___-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-18749\" class=\"wp-caption-text\">OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248<\/figcaption><\/figure>\n<figure id=\"attachment_18752\" aria-describedby=\"caption-attachment-18752\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT__.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18752\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT__.jpg\" alt=\"OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT__.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT__-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/04\/OpenWRT__-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-18752\" class=\"wp-caption-text\">OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f\u5d4c\u5165\u5f0f\u8def\u90f5\u8a2d\u8a08Linux\u7cfb\u7d71,\u5e02\u9762\u5927\u90e8\u5206\u8def\u90f5\u90fd\u4fc2\u7528\u4f62,\u63d0\u4f9b\u300e\u9632\u706b\u7246\u300f\u300eVPN\u300f\u300eIPv6\u300f\u300eWIFI\u300f\u300e4G\/5G\u300f.<\/p>\n<p>\u4f9d\u752b\u4fc2itx\u81fa\u5f0f\u96fb\u8166\u5c07\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f,\u89812\u7db2\u53e3\u4e00\u500bWAN\u53e3\u4e00\u500bLAN\u53e3.<\/p>\n<ol>\n<li>itx\u5e95\u677f\u300e<a href=\"https:\/\/www.bookcard.net\/wordpress\/supermicr_x10sdv_4c_tln2f\/\">SUPERMICR X10SDV-4C-TLN2F<\/a>\u300f<\/li>\n<li>\u78c1\u789f\u300e<a href=\"https:\/\/www.bookcard.net\/wordpress\/supermicr_sata_dom_g4gb\/\">SUPERMICR-SATA-DOM-G4GB<\/a>\u300f<\/li>\n<li>\u4e0b\u8f09\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300fx86\/x64\u7248\u93e1\u50cf<\/li>\n<li>\u523b\u9304\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f\u93e1\u50cfSATA\u78c1\u789f<\/li>\n<li>\u5b89\u5c07\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f\u6b64\u904e\u7a0b\u81ea\u52d5\u57f7\u884c<\/li>\n<li>\u914d\u7f6e\u7db2\u7d61\u300evim \/etc\/config\/network\u300f<\/li>\n<\/ol>\n<p>\u767b\u5165\u300e<a href=\"https:\/\/downloads.openwrt.org\/\">OpenWrt\u5b98\u7db2<\/a>\u300f\u4e0b\u8f09\u7a69\u5b9a\u7248\u300eOpenWrt 24.10.1\u300f,\u5c31\u4fc2\u4e0b\u8f09\u300eOpenWrt 24.10.0\u300fwifi\u4fe1\u865f\u6642\u6709\u6642\u5187,5G\u6a21\u584a\u5187USB,\u641e\u5de6\u500b\u5927\u982d\u4f5b.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/downloads.openwrt.org\/\">https:\/\/downloads.openwrt.org\/<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u786c\u4ef6\u7248\u672c\u5340\u5225<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"189\">X86\u67b6\u69cb<\/td>\n<td width=\"364\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"189\">64<\/td>\n<td width=\"364\">64bit-cpu,2007\u5e74\u5f8c\u51fa\u6240CPU\u90fd\u4fc264BIT.<\/td>\n<\/tr>\n<tr>\n<td width=\"189\">Generic<\/td>\n<td width=\"364\">i586\u9ad4\u7cfb, Pentium 4\u53ca\u4e4b\u5f8c32BIT-CPU.<\/td>\n<\/tr>\n<tr>\n<td width=\"189\">Legacy<\/td>\n<td width=\"364\">i386\u9ad4\u7cfb, Pentium 4\u4e4b\u524d32BIT-CPU-<\/td>\n<\/tr>\n<tr>\n<td width=\"189\">Geode<\/td>\n<td width=\"364\">\u5b9a\u5236\u8001\u820a\u7db2\u7d61\u8a2d\u5099.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6587\u6a94\u7cfb\u7d71<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"94\">\u6587\u6a94\u7cfb\u7d71<\/td>\n<td width=\"459\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"94\">squashfs<\/td>\n<td width=\"459\">\u50b3\u7d71\u4f48\u5c40, openwrt\u7cfb\u7d71\u81ea\u5e36\u7a0b\u5f0f,\u5b58\u5132\u8a2d\u5b9a\u4edd\u7a0b\u5f0f\u5206\u5340\u5f97230mb<\/td>\n<\/tr>\n<tr>\n<td width=\"94\">ext4<\/td>\n<td width=\"459\">\u9069\u5408\u64f4\u5bb9\u5c55,\u5f8c\u671f\u52a0\u88dd\u7a0b\u5f0f.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5f15\u5c0e\u6a19\u8a18<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">\u5f15\u5c0e\u6a19\u8a18<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u6a19efi<\/td>\n<td width=\"277\">uefi\u5f15\u5c0e-\u65b0bios<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u5187efu<\/td>\n<td width=\"277\">legacy\u5f15\u5c0e-\u820abios<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5f15\u5c0e\u6a21\u5f0f<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">uefi\u5f15\u5c0e<\/td>\n<td width=\"277\">legacy\u5f15\u5c0e<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u65b0\u5f0fbios , \u5716\u5f62\u4ecb\u9762<\/td>\n<td width=\"277\">\u820a\u5f0fbios<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u555f\u52d5\u901f\u5ea6\u5feb<\/td>\n<td width=\"277\">\u8f03\u6162<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">32Bit\/64Bit \u96fb\u8166<\/td>\n<td width=\"277\">32Bit\u96fb\u8166<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">GPT\u78c1\u789f\u5206\u5340,\u652f\u7de9\u9ad8\u90549.4ZB\u78c1\u789f<\/td>\n<td width=\"277\">MBR\u78c1\u789f\u5206\u5340,\u50c5\u652f\u7de92.1TB\u78c1\u789f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u652f\u7de9USB\u9375\u76e4\u9f20\u6a19, \u89f8\u63a7.<\/td>\n<td width=\"277\">\u50c5\u652f\u7de9PS2\u9375\u76e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u64b3\u300eOpenWrt 24.10.1\u300f-&gt;\u300ex86\u300f-&gt;\u300e64\u300f<\/p>\n<p>\u4e0b\u8f09\u300e<a href=\"https:\/\/downloads.openwrt.org\/releases\/24.10.1\/targets\/x86\/64\/openwrt-24.10.1-x86-64-generic-ext4-combined-efi.img.gz\">generic-ext4-combined-efi.img.gz<\/a>\u300f,<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/downloads.openwrt.org\/releases\/24.10.1\/targets\/x86\/64\/openwrt-24.10.1-x86-64-generic-ext4-combined-efi.img.gz\">https:\/\/downloads.openwrt.org\/releases\/24.10.1\/targets\/x86\/64\/openwrt-24.10.1-x86-64-generic-ext4-combined-efi.img.gz<\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"553\"><a href=\"https:\/\/downloads.openwrt.org\/releases\/24.10.0\/targets\/x86\/64\/openwrt-24.10.0-x86-64-generic-ext4-combined-efi.img.gz\">https:\/\/downloads.openwrt.org\/releases\/24.10.0\/targets\/x86\/64\/openwrt-24.10.0-x86-64-generic-ext4-combined-efi.img.gz<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7528\u300e<a href=\"https:\/\/www.bookcard.net\/wordpress\/physdiskwrite\/\">Physdiskwrite<\/a>\u300f\u523b\u9304\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f \u93e1\u50cf,<\/p>\n<p>\u5c07\u300e<a href=\"https:\/\/downloads.openwrt.org\/releases\/24.10.0\/targets\/x86\/64\/openwrt-24.10.0-x86-64-generic-ext4-combined-efi.img.gz\">generic-ext4-combined-efi.img.gz<\/a>\u300f\u89e3\u58d3\u51fa\u300eopenwrt-24.10.0-x86-64-generic-ext4-combined-efi.img\u300f<\/p>\n<p>\u78c1\u789f\u6e05\u96f6<\/p>\n<ol>\n<li>\u63d2\u300e<a href=\"https:\/\/www.bookcard.net\/wordpress\/supermicr_sata_dom_g4gb\/\">SUPERMICR-SATA-DOM-G4GB<\/a>\u300f\u78c1\u789f\u7cfb<\/li>\n<li><a href=\"https:\/\/www.bookcard.net\/wordpress\/windows10_administrator_cmd\/\">\u7cfb\u7d71\u7ba1\u7406\u54e1\u8eab\u4efd\u57f7\u884c\u547d\u4ee4\u8996\u7a97CMD<\/a><\/li>\n<li>\u57f7\u884c\u300ediskpart\u300f\u767b\u9304<\/li>\n<li>\u57f7\u884c\u300elist disk\u300f\u5217\u51fa\u78c1\u789f\u756a\u865f<\/li>\n<li>\u57f7\u884c\u300eselect disk x\u300f\u64c7\u7576\u524d\u64cd\u4f5c\u78c1\u789f.\u300ex\u300f\u66ff\u63db\u70ba\u78c1\u789f\u756a\u865f,\u6b64\u5eb6\u4fc2<\/li>\n<li>\u57f7\u884c\u300eclean\u300f\u6e05\u9664.<\/li>\n<\/ol>\n<p>\u523b\u9304\u300eopenwrt.img\u300f\u93e1\u50cf<\/p>\n<ol>\n<li>\u5c07\u300eopenwrt-24.10.0-x86-64-generic-ext4-combined-efi.img\u300f\u4edd\u300e<a href=\"https:\/\/www.bookcard.net\/wordpress\/physdiskwrite\/\">exe<\/a>\u300f\u64fa\u4fc2\u300ec:\u300f<\/li>\n<li><a href=\"https:\/\/www.bookcard.net\/wordpress\/windows10_administrator_cmd\/\">\u7cfb\u7d71\u7ba1\u7406\u54e1\u8eab\u4efd\u57f7\u884c\u547d\u4ee4\u8996\u7a97CMD<\/a><\/li>\n<li>\u57f7\u884c\u300e.\u300f\u7576\u524d\u8cc7\u6599\u593e\u300ec:\u300f<\/li>\n<li>\u57f7\u884c\u300ephysdiskwrite -u openwrt.img\u300f<\/li>\n<li>\u63c0\u78c1\u789f\u756a\u865f,\u6b64\u5eb6\u4fc2<\/li>\n<li>\u64b3\u300ey\u300f\u9375\u78ba\u8a8d, \u7b49\u5f85\u5beb\u5165\u7d50\u675f.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u5b89\u5c07\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f<\/p>\n<ol>\n<li>\u63d2\u300e<a href=\"https:\/\/www.bookcard.net\/wordpress\/supermicr_sata_dom_g4gb\/\">SUPERMICR-SATA-DOM-G4GB<\/a>\u300f\u7cfb\u8def\u90f5\u4e3b\u677f.<\/li>\n<li>\u986f\u793a\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f3\u79d2\u5f8c\u81ea\u52d5\u5b89\u5c07.<\/li>\n<li>\u7576\u547d\u4ee4\u884c\u505c\u6b62\u543e\u9b31,\u64b3\u300eEnter\u300f\u9375\u9032\u5165\u547d\u4ee4\u884c.<\/li>\n<li>\u7747\u5230\u300e<a href=\"https:\/\/openwrt.org\/zh-tw\/start\">OpenWrt<\/a>\u300f\u5e7e\u96bb\u5b57, \u6382.<\/li>\n<li>\u8a2d\u7f6eroot\u5bc6\u78bc,\u57f7\u884c\u300epasswd\u300f<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td width=\"291\">passwd<\/td>\n<td width=\"262\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"291\">Changing password for root<\/td>\n<td width=\"262\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"291\">new password:<\/td>\n<td width=\"262\">\u586broot\u5e33\u6236\u5bc6\u78bc<\/td>\n<\/tr>\n<tr>\n<td width=\"291\">Retype password:<\/td>\n<td width=\"262\">\u518d\u586b\u58f9\u6b21<\/td>\n<\/tr>\n<tr>\n<td width=\"291\">Password for root changed by root<\/td>\n<td width=\"262\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol start=\"6\">\n<li>\u57f7\u884c\u300eifconfig\u300f\u6307\u4ee4,\u9ed8\u8a8deth0\u7db2\u53e3\u662fLAN\u53e3, eth1\u7db2\u53e3\u662fWAN\u53e3<\/li>\n<\/ol>\n<table>\n<tbody>\n<tr>\n<td width=\"104\">br-lan<\/td>\n<td width=\"449\">\u865b\u64ec\u8a2d\u5099,\u5167\u7db2\u7db2\u53e3\u96c6\u5408<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">eth0<\/td>\n<td width=\"449\">\u771f\u5be6\u8a2d\u5099, \u7db2\u53e30<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">eth1<\/td>\n<td width=\"449\">\u771f\u5be6\u8a2d\u5099, \u7db2\u53e31<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">io<\/td>\n<td width=\"449\">\u865b\u64ec\u8a2d\u5099,\u56de\u74b0\u8a2d\u5099.<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">wlan0<\/td>\n<td width=\"449\">\u771f\u5be6\u8a2d\u5099,\u555f\u52d5wifi\u5f8c\u7522\u751f<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">wwan0<\/td>\n<td width=\"449\">\u771f\u5be6\u8a2d\u5099,\u555f\u52d54G\/5G\u6a21\u584a\u5f8c\u7522\u751f<\/td>\n<\/tr>\n<tr>\n<td width=\"104\">pppoe-wan<\/td>\n<td width=\"449\">\u865b\u64ec\u8a2d\u5099,pppoe\u64a5\u865f\u4e0a\u7db2\u5f8c\u7522\u751f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u57f7\u884c\u300ebrctl show\u300f\u67e5\u300ebr-lan\u300f\u6a4b\u72c0\u614b<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\">brctl show<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u300evim\u300f\u7de8\u8f2f\u6587\u6a94<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">\u64b3\u300ei\u300f\u6216\u300ea\u300f\u9375<\/td>\n<td width=\"277\">\u9032\u5165\u7de8\u8f2f\u6a21\u5f0f.<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u64b3\u300eesc\u300f\u9375,<\/td>\n<td width=\"277\">\u9000\u51fa\u7db8\u8f2f\u6a21\u5f0f.<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u57f7\u884c\u300e:wq\u300f\u64b3\u300eenter\u300f\u9375<\/td>\n<td width=\"277\">\u5132\u5b58\u5f8c\u9000\u51fa,\u5e36\u5192\u865f.<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u57f7\u884c\u300e:q!\u300f\u64b3\u300eenter\u300f\u9375<\/td>\n<td width=\"277\">\u543e\u5132\u5b58\u76f4\u63a5\u9000\u51fa.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7db2\u7d61\u914d\u7f6e\u6587\u6a94<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">vim \/etc\/config\/network<\/td>\n<td width=\"277\">\u6709\u7dda\u7db2\u7d61\u914d\u7f6e\u6587\u6a94.<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">vim \/etc\/config\/wireless<\/td>\n<td width=\"277\">\u5187\u7dda\u7db2\u7d61\u914d\u7f6e\u6587\u6a94.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8a2d\u5099\u540d<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">Ifname<\/td>\n<td width=\"277\">\u8a2d\u5099\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">eth0<\/td>\n<td width=\"277\">\u7db2\u53e30<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">eth1<\/td>\n<td width=\"277\">\u7db2\u53e31<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5354\u8b70\u985e\u578b<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">proto<\/td>\n<td width=\"277\">\u5354\u8b70\u985e\u578b<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">static<\/td>\n<td width=\"277\">\u975c\u614bIP\u5730\u5735<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">dhcp<\/td>\n<td width=\"277\">\u52d5\u614b\u7372\u53d6IPv4\u5730\u5735<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">dhcpv6<\/td>\n<td width=\"277\">\u52d5\u614b\u7372\u53d6IPv6\u5730\u5735<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">pppoe<\/td>\n<td width=\"277\">\u64a5\u865f\u4e0a\u7db2<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">pptp<\/td>\n<td width=\"277\">\u9060\u7a0bVPN\u4f3a\u670d\u6a5f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">3g<\/td>\n<td width=\"277\">\u9023\u63a53G\/4G\u5187\u7dda\u96fb\u8a71\u7db2\u7d61<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7db2\u53616\u5b57\u7bc0\u552f\u4e00\u7de8\u78bc<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">macaddr<\/td>\n<td width=\"277\">\u7db2\u5361MAC\u7de8\u78bc<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">XX:XX:XX:XX:XX:XX<\/td>\n<td width=\"277\">6\u5b57\u7bc0\u552f\u4e00\u7de8\u78bc<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>type\u7db2\u7d61\u985e\u578b<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">type<\/td>\n<td width=\"277\">\u7db2\u7d61\u985e\u578b<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">bridge<\/td>\n<td width=\"277\">\u6a4b\u63a5,\u4ea4\u63db\u6a5f\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">mac80211<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u9996\u5148\u7528eth0\u7db2\u53e3\u9023\u4e0a\u4e92\u806f\u7db2, \u8edf\u8def\u90f5\u8207\u4e3b\u8def\u90f5\u7db2\u7dda\u76f8\u9023,\u4e0b\u8f09\u76f8\u95dc\u9a45\u52d5.<\/p>\n<p>\u57f7\u884c\u300evim \/etc\/config\/network\u300f\u4fee\u6539\u6709\u7dda\u7db2\u7d61\u914d\u7f6e\u6587\u6a94.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">config interface &#8216;wan&#8217;<\/td>\n<td width=\"277\">\u5916\u7db2<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option ifname &#8216;eth0&#8217;<\/td>\n<td width=\"277\">\u8a2d\u5099\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option type &#8216;bridge&#8217;<\/td>\n<td width=\"277\">\u6a4b\u63a5,\u4ea4\u63db\u6a5f\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option device &#8216;eth0&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option proto &#8216;dhcp&#8217;<\/td>\n<td width=\"277\">\u52d5\u614b\u7372\u53d6IP\u5730\u5735192.168.1.x<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option metric &#8217;64&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option delegate &#8216;0&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">list ports\u00a0 &#8216;eth0&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">config interface &#8216;wan6&#8217;<\/td>\n<td width=\"277\">\u5916\u7db2ipv6<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option proto &#8216;dhcpv6&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option device &#8216;eth0&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option type &#8216;bridge&#8217;<\/td>\n<td width=\"277\">\u6a4b\u63a5,\u4ea4\u63db\u6a5f\u6a21\u5f0f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u300elan&#8217;\u5167\u7db2\u300f\u8a2d\u5099\u6539\u7528\u7db2\u6a4b\u300ebr-lan\u300f. \u543e\u7528\u7db2\u6a4b\u300ebr-lan\u300f\u624b\u6a5f\u9023wifi\u6703\u4e00\u76f4\u8655\u65bc\u300e\u6b63\u5728\u7372\u53d6IP\u4f4d\u5740\u300f<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">config interface &#8216;lan&#8217;<\/td>\n<td width=\"277\">\u5167\u7db2<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option type &#8216;bridge&#8217;<\/td>\n<td width=\"277\">\u6a4b\u63a5,\u4ea4\u63db\u6a5f\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option device &#8216;br-lan&#8217;<\/td>\n<td width=\"277\">\u7db2\u6a4b\u300ebr-lan\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option proto &#8216;static&#8217;<\/td>\n<td width=\"277\">\u975c\u614bIP\u5730\u5735<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option ipaddr &#8216;192.168.2.1&#8217;<\/td>\n<td width=\"277\">\u5047\u5b9a\u4e3b\u7531\u8def\u90f5ip\u5730\u5735192.168.1.1<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option netmask &#8216;255.255.255.0&#8217;<\/td>\n<td width=\"277\">\u63a9\u78bc<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">option ip6assign &#8217;60&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">list ports\u00a0 &#8216;eth1&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u58f9\u5b9a\u8981\u6709\u7db2\u6a4b\u300ebr-lan\u300f, \u7db2\u6a4b\u4e0b\u53ef\u52a0\u5165\u591a\u63a5\u53e3\u300ewwan\u300f\u300eeth0\u300f\u300eeth1\u300f\u300e\u2026\u300f, \u5187\u5de6\u7db2\u6a4b\u300ebr-lan\u300f\u9023wifi\u6703\u4e00\u76f4\u8655\u65bc\u300e\u6b63\u5728\u7372\u53d6IP\u4f4d\u5740\u300f<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">config device<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u00a0 option type \u00a0&#8216;bridge&#8217;<\/td>\n<td width=\"277\">\u6a4b\u63a5,\u4ea4\u63db\u6a5f\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u00a0 option name &#8216;br-lan&#8217;<\/td>\n<td width=\"277\">\u7db2\u6a4b\u300ebr-lan\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u00a0\u00a0list ports &#8216;eth1&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7db2\u6a4b\u300ebr-wan\u300f<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">config device<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u00a0 option type\u00a0 &#8216;bridge&#8217;<\/td>\n<td width=\"277\">\u6a4b\u63a5,\u4ea4\u63db\u6a5f\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u00a0 option name &#8216;br-wan&#8217;<\/td>\n<td width=\"277\">\u7db2\u6a4b\u300ebr-wan\u300f<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u00a0 list ports &#8216;eth0&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">list ports &#8216;usb0&#8217;<\/td>\n<td width=\"277\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u91cd\u555f\u7db2\u7d61, \u8edf\u8def\u90f5\u8207\u4e3b\u8def\u90f5\u7db2\u7dda\u76f8\u9023<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"553\">service network restart<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u57f7\u884c\u300eifconfig\u300f\u6307\u4ee4,\u5982\u679c\u300ebr-wan\u300f\u63a5\u53e3\u6709ip\u5730\u5740\u300e192.168.1.x\u300f,\u5bb6\u6642\u9023\u7db2\u7dda\u53ef\u4ee5\u4e0a\u7db2.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"277\">\u8def\u90f5<\/td>\n<td width=\"277\">ip<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u4e3b\u8def\u90f5ip<\/td>\n<td width=\"277\">192.168.1.1<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u8edf\u8def\u90f5-wan<\/td>\n<td width=\"277\">192.168.1.x<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u8edf\u8def\u90f5-lan<\/td>\n<td width=\"277\">192.168.2.1<\/td>\n<\/tr>\n<tr>\n<td width=\"277\">\u96fb\u8166ip<\/td>\n<td width=\"277\">192.168.2.x<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u57f7\u884c\u300eopkg update\u300f\u66f4\u65b0\u5b89\u88dd\u5305\u5217\u8868<\/p>\n<p>\u57f7\u884c\u300eopkg install luci\u300f\u5b89\u88dd\u5716\u5f62\u754c\u9762<\/p>\n<p>\u57f7\u884c\u300eopkg install luci-i18n-base-zh-tw\u300fOpenWRT\u6f22\u5316<\/p>\n<p>\u57f7\u884c\u300e\/etc\/init.d\/uhttpd enable\u300f\u6253\u958buhttpd\u670d\u52d9<br \/>\n\u57f7\u884c\u300e\/etc\/init.d\/uhttpd start\u300f\u8b93uhttpd\u81ea\u555f\u52d5<\/p>\n<p>\u9023\u7db2\u7dda\u96fb\u8166\u6253\u958b\u700f\u89bd\u5668\u9023\u63a5\u8edf\u8def\u90f5192.168.2.1, \u767b\u5165openwrt\u5f8c\u81fa<\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"283\">wifi<\/td>\n<td width=\"270\">\u5187\u7dda\u914d\u7f6e\u751f\u6548<\/td>\n<\/tr>\n<tr>\n<td width=\"283\">iwinfo<\/td>\n<td width=\"270\">\u5217\u51fa\u6240\u6709\u7121\u7dda\u7db2\u7d61\u4fe1\u606f<\/td>\n<\/tr>\n<tr>\n<td width=\"283\">ifconfig<\/td>\n<td width=\"270\">\u6709\u7dda\u7db2\u7d61<\/td>\n<\/tr>\n<tr>\n<td width=\"283\">service network restart<\/td>\n<td width=\"270\">\u91cd\u555f\u7db2\u7d61<\/td>\n<\/tr>\n<tr>\n<td width=\"283\">reboot<\/td>\n<td width=\"270\">\u91cd\u555fOPENWRT<\/td>\n<\/tr>\n<tr>\n<td width=\"283\">route<\/td>\n<td width=\"270\">\u67e5\u8def\u90f5<\/td>\n<\/tr>\n<tr>\n<td width=\"283\">ping ip<\/td>\n<td width=\"270\">Ping \u64b3\u300ectrl+z\u300f\u892a.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u300eOpenWrt\u300f\u5d4c\u5165\u5f0f\u8def\u90f5\u8a2d\u8a08Linux\u7cfb\u7d71,\u5e02\u9762\u5927\u90e8\u5206\u8def\u90f5\u90fd\u4fc2\u7528\u4f62,\u63d0\u4f9b\u300e\u9632\u706b\u7246\u300f\u300eVPN\u300f &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/openwrt_x86_x64\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">OpenWRT\u65c1\u90f5\u8def\u653b\u7565-x86\/x64\u96fb\u8166\u7248<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,13],"tags":[282,8,42],"class_list":["post-18748","post","type-post","status-publish","format-standard","hentry","category-network","category-pc","tag-openwrt","tag-network","tag-computer","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/18748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18748"}],"version-history":[{"count":5,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/18748\/revisions"}],"predecessor-version":[{"id":18940,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/18748\/revisions\/18940"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}