0

Sixfab 4G/3G ベースハットと Quectel EC25-EU 4G/LTE PCIe モジュールがインストールされた Raspberry Pi 4 B+ があります。少し変更した構成で RaspAP を実行しています。

  • /var/www/html/rasp/var/www/htmlルートフォルダーの代わりに
  • lighttpdポート上でルートとして実行さ803れる のインスタンスと交差しないようにポート上にあります(これは問題になる可能性がありますか?)nginx80/var/www/html
  • SSIDとパスワードを自分に合わせて変更
  • dnsmasq構成は標準のdhcpcdRaspAP 構成です

問題: 4G モデムにサービスがない場合、RaspAP は再起動後ほぼ正確に 10 分間起動に失敗します。エラー ログは、wlan0インターフェイスが使用できないことを示しています。ログは私に十分に教えてくれません。このコマンドを実行すると:

sudo /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf

それは出力します:

Configuration file: /etc/hostapd/hostapd.conf
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/hostapd/wlan0' manually if it is not used anymore
Failed to setup control interface for wlan0
wlan0: Unable to setup interface.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED 
wlan0: CTRL-EVENT-TERMINATING 
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0

wlan0RaspAP をセットアップする前に、ワイヤレス インターネットに接続したり、設定を変更したりしたことはありません。実行dmesgすると、AP が起動する前に次のエラーが発生します。

ieee80211 phy0: brcmf_cfg80211_stop_ap: setting AP mode failed -52

dmesgまた、RaspAP がインストールされているかどうかにかかわらず、起動時に毎回これも表示されることに注意してください。

[    9.639873] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled

この問題を 2 つの異なるハットとモデム、および 2 つの異なる Raspberry Pi 4B で再現しました。3 つ目の Raspberry で 2 つのモデムのうちの 1 つを使用してテストしたところ、nginx がなくても正常に動作しました。nginx がこれを実行できるとは想像しがたいです。私がこれまでに持っている唯一の理論は、ECM モードの現在の構成の前に、両方のモデムが PPP およびおそらく QMI モード用に構成されているという事実に基づいています。ファームウェアを「クリーン」にする方法が見つかりませんでした。古い構成が Raspbian のネットワーク マネージャーと交差して、何かを妨げている可能性がありますか?

これらのコンポーネントはすべてプラスチック製の筐体に収められています。内部の温度を測定したところ、Quectel モジュールのすぐそばで 45 ℃ に達しました。Raspberry は最大 71 C で動作しますが、それ以上熱くなりません。これは起動時に常に発生するため、ラズベリーの観点からは熱の問題ではないと思いますが、熱のために発生した可能性がある4Gサービスが低下した場合、実行中にも発生しました. この仮説を確認するためのアイデアは歓迎されます。私はこれを解決しようとして頭がいっぱいです!

4

1 に答える 1