NAS542: How do I establish serial connection?
All Replies
-
Mmmh, the format of the last post went wrong again... is it maybe possible that a code block must not end with a zero???
Code block that ends with the number0
Text after the code block.0 -
So openmediavault kills the network if you change the hostname? Nice.I can't find any event that might be causing it.This is Debian, right? In the firmware this is normal, the end of the startup script does a beep, so you know it's up. Maybe the developer mimicked this for Debian?I suppose the binary buzzerc is copied to be able to use the buzzer. It's quite easy to find out if and how it's used. Rename it to buzzerc.old, and then create a new, executable script named buzzerc:#!/bin/sh
logfile=/tmp/buzzerc.log
prefix=""
StackTrace()
{
local self=${1}
[ "${self}" = "1" ] && return # init
[ ! -d "/proc/${self}/fd" ] && return # parent doesn't exist anymore
local ppid=$( grep PPid /proc/${self}/status | awk '{print $2}' )
local cmdline=$( cat /proc/${self}/cmdline | tr '\0' ' ' )
StackTrace ${ppid}
echo "${prefix}${self}: ${cmdline}" >>${logfile}
prefix=" ${prefix}"
}
date >>${logfile}
StackTrace $$exec ${0}.old "$@"This way each call to buzzerc will be logged, complete with a caller stack.
1 -
Mijzelf said:
This is Debian, right? In the firmware this is normal, the end of the startup script does a beep, so you know it's up. Maybe the developer mimicked this for Debian?1510: /bin/sh /usr/local/bin/zy-ready 1520: /bin/sh /sbin/buzzerc -t 1
Regards0 -
FYI:
1.
most obvious
2.
disconnecting the fan will cause the stock os to beeb constantly
3.
don't miss those
4.
remove the larger part of the case by pushing it carefully to the front
5.
remove these
6.
and the same on the other side
7.
you could reach the pins from here
8.
I've changed the pins of a frontpanel-usb-to-mainboard-connector (it has mass-shielding - not that it would really matter at that transmission rate rate but still)
9.
luckily the heatsink was connected with pads instead of paste so it was safe to remove an re-attach it
I forgot to make a picture showing the five screws that hold the heat-sink but I'm that sure that nobody will have a problem finding those.
The cable fits nicely under the heatsink. I've re-assembled the device and left the cable attached. That way I have it available whenever I need it.0 -
Nice. I have 1 comment, according to your photos you used a 4 wire serial connection. Plain serial is 3 wire, GND, RX and TX. The 3.3V is a reference voltage, and is meant to either power the rs232 to TTL convertor, or supply a reference voltage for a multi voltage chip. As both cases are rare, it's better just to not connect it, it can only cause trouble.
0 -
Mijzelf said:Nice. I have 1 comment, according to your photos you used a 4 wire serial connection. Plain serial is 3 wire, GND, RX and TX. The 3.3V is a reference voltage, and is meant to either power the rs232 to TTL convertor, or supply a reference voltage for a multi voltage chip. As both cases are rare, it's better just to not connect it, it can only cause trouble.
I also noticed that I've uploaded same picture for 5 and 6 though I made different ones. But I guess nobody will have any difficulties spotting that screws.0 -
One more thing off topic: I wanted to try it and I'm gonna keep using it for now, but I'm not so sure whether I like OMV. I mean it sure is convenient and I guess it is a big help for lots of people but I'm used to have full control over my OS. Do you by chance know if there's a pure minimal debian image for NAS542?
Best regards0 -
Not that I'm aware of. But doesn't 'apt remove omv' do the trick? And else I think you can make your own with a cdebootstrap, combined with the specific deb files.
0 -
Mijzelf said:Not that I'm aware of. But doesn't 'apt remove omv' do the trick?Mijzelf said:And else I think you can make your own with a cdebootstrap, combined with the specific deb files.
Is there a way to select an answer as solution when you previously chose "no"? I'd like to select this post https://community.zyxel.com/en/discussion/comment/36279#Comment_36279 as solution because it answers the question of the post's title.
Enjoy the holidays, everyone!0 -
bugblatterbeast said:
Is there a way to select an answer as solution when you previously chose "no"?
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 149 Nebula Ideas
- 96 Nebula Status and Incidents
- 5.7K Security
- 263 USG FLEX H Series
- 271 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.4K Consumer Product
- 249 Service & License
- 387 News and Release
- 84 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.5K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 73 Security Highlight