Raspberry Pi setup Lan & WLan Interface Standard Share This: Facebook Twitter Google+ Stumble Digg วิธีการตั้งค่า interface ของ raspberry pi ให้แก้ไขที่ไฟล์ etc/network/interfaces $vi etc/network/interfaces จากนั้นตั้งค่า ip ของแต่ละ interface โดยที่ชื่อ interface สามารถดูได้ด้วยคำสั่ง $ifconfig -aเมื่อรู้ชื่อ interface ที่จะกำหนด ip แล้ว ก็นำชื่อนั้นมาใส่ที่ iface xxx iface eth0 inet static address 192.168.1.221 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 wireless lan ก็สามารถกำหนดได้ การตั้งค่าก็จะเหมือนกับ lan แต่มีส่วนของ wpa-ssid คือชื่อ access-point ที่จะให้ตัว raspberry pi ไปเชื่อมต่อกับ wpa-psk คือ password ของ access-point iface wlan0 inet static address 192.168.1.222 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 wpa-ssid MIINIQ-WIFI wpa-psk my-wifi-password ส่งอีเมลข้อมูลนี้BlogThis!แชร์ไปยัง Xแชร์ไปที่ Facebook Related Posts:Raspberry Pi setup Lan & WLan Interface วิธีการตั้งค่า interface ของ raspberry pi ให้แก้ไขที่ไฟล์ etc/network/interfaces $vi etc/network/interfaces จากนั้นตั้งค่า ip ของแต่ละ interfa… Read More
0 ความคิดเห็น:
แสดงความคิดเห็น