Page 1 of 1

Serial Console Info

Posted: Sat Jan 10, 2015 4:59 pm
by CloneNum3
Here is the /etc/inittab info for the serial console.

Code: Select all

# Put a getty on the serial port
ttyAM0::respawn:/sbin/getty -L  ttyAM0 115200 vt100 # GENERIC_SERIAL


I have good luck with a cheap $2 USB to TTL Serial Console USB to COM Cable module Cable from ebay that has a Black, Green, White, and Red wire. The Red on mine is USB power which I don't use because my Wink is already powered when I'm using it. Black=GND, Green=RX, White=TX, Red=N/C.

Connecting via 115200 baud N81 works well for me.

Plug in power while connected, you should see some text no matter what firmware your wink has or if the serial is enabled or not. If you wait for a message saying the hub is ready, hit <ENTER>, you should get a prompt. If you don't, the /etc/inittab line above is probably commented out and there's really no way to interact via the serial console... maybe try SSH? or you may be at 00.47 (not prompting for an update) or 00.55 (current) and stuck at the moment.

Re: Serial Console Info

Posted: Tue Jan 27, 2015 9:11 am
by PhyrePhox
So, to confirm: in stock 00.55 (or higher) firmware, you cannot log in through the serial console?

Re: Serial Console Info

Posted: Sun Feb 01, 2015 3:01 pm
by CloneNum3
PhyrePhox wrote:So, to confirm: in stock 00.55 (or higher) firmware, you cannot log in through the serial console?


By default? no... You must have already rooted the hub and removed the "#" from the ttyAM0 serial console line.

BAD: (note the '#' at the very beginning of the line.)

Code: Select all

[root@flex-dvt ~]# cat /etc/inittab | grep ttyAM
#ttyAM0::respawn:/sbin/getty -L  ttyAM0 115200 vt100 # GENERIC_SERIAL

GOOD:

Code: Select all

[root@flex-dvt ~]# cat /etc/inittab | grep ttyAM
ttyAM0::respawn:/sbin/getty -L  ttyAM0 115200 vt100 # GENERIC_SERIAL


I believe that one character is the only thing preventing someone from logging into a 0.55 hub from the serial console. In 0.55, the username is "root" without the quotes and the password is NULL, Blank, "" (not sure the best way to describe nothing in text, but there isn't a password, just press enter)