niall.sec
@niall-lynch · Nisan 2026 tarihinde katıldı
IT and security admin · manufacturing · 5 years in the field
- Konular
- 0
- Yanıtlar
- 7
- Puan
- 0
Oluşturulan forum yanıtları
Yapay zekâ tarafından English dilinden çevrildi ·
Özel alan adı yanıt vermeyi bıraktığında bildirim e-postalarındaki bağlantılara ne olur? Kişiler kırık bir bağlantı mı alır?
What happens to links in notification e-mails if the custom domain stops serving? Do people get a dead link?
Yapay zekâ tarafından English dilinden çevrildi ·
Hayır. io-homecontrol, her kurulum için ayrı anahtarlarla kimlik doğrulaması yapar; tekrar oynatılan bir iletim kabul edilmez ve işe yarasa bile bir binanın açıklıklarının böyle bir hack ile kontrol edilmesini istemem. Desteklenen arayüzlerde kalın.
No. io-homecontrol is authenticated with keys per installation, a replay won’t be accepted and I wouldn’t want a building’s openings controlled by a hack like that even if it worked. Stay on supported interfaces.
Yapay zekâ tarafından English dilinden çevrildi ·
Sorun terminal programında değil, Pi tarafında. SSH’nin bedavaya sağladığı iki şey seri girişte eksik.Terminal türü: SSH, TERM değerinizi iletir (PuTTY’den xterm-256color). Seri getty ise TERM’i vt220 olarak ayarlar; bunda renk yoktur, bu yüzden TERM’e bakan programlar geri döner ya da ham kodlar basar. echo $TERM ile kontrol edin.Pencere boyutu: Seri hat, Pi’ye pencerenizin boyutunu bildirmenin bir yolunu sunmaz; bu yüzden 80×24 varsayar ve hiç değişmez.Konsola bağlandığım her makinede bunu ~/.bashrc dosyasına koydum:
case "$(tty)" in
/dev/ttyS0|/dev/ttyAMA0|/dev/serial0)
export TERM=xterm-256color
stty rows 50 cols 160 # match your PuTTY window
;;
esac
xterm paketini kurarsanız boyutu sabit kodlamak yerine resize yazabilirsiniz; terminale sorar ve ayarlar.Betiğinizin renkleri, günlük kütüphanesi TERM’i kontrol ediyorsa çalışacaktır.
It’s the Pi side, not the terminal program. Two things are missing on a serial login that SSH gives you for free.
The terminal type: SSH passes your TERM along (xterm-256color from PuTTY). The serial getty sets TERM to vt220, which has no colour, so programs that check TERM fall back or print raw codes. Check with echo $TERM.
The window size: there’s no way for the serial line to tell the Pi how big your window is, so it assumes 80×24 and never changes.
I put this in ~/.bashrc on every box I console into:
case "$(tty)" in
/dev/ttyS0|/dev/ttyAMA0|/dev/serial0)
export TERM=xterm-256color
stty rows 50 cols 160 # match your PuTTY window
;;
esac
If you install the xterm package you can type resize instead of hardcoding the size, it asks the terminal and sets it.
Your script’s colours will then work, assuming the logging library checks TERM.
Yapay zekâ tarafından English dilinden çevrildi ·
Eklemek istediğim bir şey: yerel depolamaya bir üst sınır koyun. Bir keresinde bir saha 9 days boyunca çevrimdışı kaldı ve disk doldu. Saklama süresinden eski okumalar zaten reddediliyor.
One thing to add: cap the local store. We had a site offline for 9 days once and the disk filled up. Readings older than your retention get refused anyway.
Yapay zekâ tarafından English dilinden çevrildi ·
Bu gerçek, gateway konuları belgelenmiş ve herkes bunları uygulayabilir. Ama o zaman yamaları, SD kartın bozulmasını, tamponlama mantığını ve cihazdaki kimlik bilgilerini de siz üstlenmiş olursunuz. Güvenlik tarafı olarak, birinin sahibi olarak adlandırılmadığı sürece bir Pi için onay vermem.
It’s real, the gateway topics are documented and anyone can implement them. But then you own the patching, the SD card dying, the buffering logic, credentials on the box. From the security side I’d only sign off on a Pi if someone is named as owner of it.
Also check the device’s Log tab for the disconnect reasons. If you see “Taken over by a new session”, another board is using the same token.
Yapay zekâ tarafından English dilinden çevrildi ·
Sorduğun soru bu değil ama madem bunla uğraşıyorsun: bir imzalama anahtarı kaydet ve o profilde “İmzasız imajlara izin ver” seçeneğini kapalı tut. İmzasız imajlar yalnızca test cihazları içindir, yolda giden römorklar ise test cihazı değildir.
Not your question, but while you’re at it: register a signing key and keep “Allow unsigned images” off on that profile. Unsigned is meant for test devices only, and trailers on the road aren’t test devices.

