Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disable login on ttyGS0

Featured Replies

I'd like to be able to plug my laptop into the USB OTG port and use that serial connection to communicate with an application on the orange pi. The default configuration is to give me a login. What's the correct way to change the getty settings for ttyGS0?

 

Thanks!

  • Author

It seems to be somewhat nuanced (well, at least from the perspective of someone like me that hasn't done much systemctl stuff).

 

I tried that command previously and it didn't work. It seems you have to plug your USB cable in between the Orange Pi and the other computer you're using *before* you disable that tty. Doing so will make sure you have the other device available (on my Mac it's /dev/tty.usbmodem1411). Once you've done that, you can then disable serial-getty@ttyGS0.service.

 

Then you're able to use screen (or whatever) to communicate over that connection.

 

If you reboot with it *disabled*, upon reboot, you can't establish the connection (/dev/tty.usbmodem1411 doesn't populate on the other host). This is where I was stuck before.

 

The interesting thing is that the status from "sudo systemctl status serial-getty@ttyGS0.service" shows the same either way. Also, the kernel modules is loaded in each cases.

 

Anyway, I'll dig around and see if I can figure out what's causing that. Thanks for the input. It pushed me in the right direction and helped me find that little inconsistency.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.