パワーマネジメントの無効化2019年01月04日 01:08

RaspberryPiへの無線アクセスが不安定になる事がある原因の一つとして
パワーマネジメントの影響があるらしく無効化を行った。
無効化後は急に繋がらなくなったりといった現象は非常に少なくなった
ので、備忘録として記録。
※1年以上前に設定済。
設定は/etc/network/interfacesにwireless-power offを追記。

allow-hotplug wlan0
iface wlan0 inet manual
wireless-power off < 追記
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

再起動し iwconfig wlan0コマンドでPower Management:offになっていることを確認。

pi@rpi3:~ $ sudo reboot
pi@rpi3:~ $ iwconfig wlan0

wlan0 IEEE 802.11bgn ESSID:"hogehoge"
Mode:Managed Frequency:2.462 GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=72.2 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off < これを確認
Link Quality=70/70 Signal level=-40 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:228 Invalid misc:0 Missed beacon:0

※こちらのブログを参考。
https://azriton.github.io/2016/11/25/Raspbian-Jessie-Lite%E3%81%AEWi-Fi%E8%A8%AD%E5%AE%9A/

5インチHDMI 800x480 TFT ディスプレイモニター2017年03月11日 14:01

5インチHDMI 800x480 TFT ディスプレイモニター接続時のメモ
買ったのはこれ
https://www.amazon.co.jp/gp/product/B013JECYF2/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

/boot/config.txt

# 5inch HDMI Display Settings
hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0
framebuffer_width=1120
framebuffer_height=672

# 5inch HDMI LCD with Touch Panel XPT2046(SPI,IRQ=GPI025,CEI)
dtparam=spi=on
dtoverlay=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150

RaspberryPi IP固定2017年03月06日 22:53

自宅内サーバ用
有線&無線

/etc/dhcpcd.conf

#Eth0 Static IP Address Settings
interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

#wlan0 Static IP Address Settings
interface wlan0
static ip_address=192.168.11.100/24
static routers=192.168.11.1
static domain_name_servers=192.168.11.1

RaspberryPiのroot2017年03月06日 21:17

コンソールでroot化
sudo su -

RaspberryPiの標準エディタ2017年03月06日 21:15

nano <filename>