* bug#30589: serial login not working
@ 2018-02-24 2:19 George myglc2 Clemmer
2018-03-08 1:26 ` myglc2
0 siblings, 1 reply; 5+ messages in thread
From: George myglc2 Clemmer @ 2018-02-24 2:19 UTC (permalink / raw)
To: 30589
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]
The recent move of agetty-service into #base-services caused serial
login to stop working here. Previously this worked ...
(agetty-service (agetty-configuration (tty "ttyS1")
(baud-rate "115200")))
First I tried removing the lines above. Then I tried ...
(define %my-services
(modify-services %base-services
(agetty-service-type config =>
(agetty-configuration
(tty "ttyS1")
(baud-rate "115200")))))
I can confirm that ...
root@g1 /home/g1# sudo echo 123 > /dev/ttyS1
... produces "123" on the serial line.
guix (GNU Guix) 0.14.0.2487-58246
config attached (my G54)
TIA - George
[-- Attachment #2: sys.scm --]
[-- Type: application/octet-stream, Size: 2358 bytes --]
;;; GuixSD headless server
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
admin
base ; glibc-utf8-locales
certs
cups
disk
emacs
freeipmi
linux ; mdadm
virtualization ; qemu
rsync
screen
ssh
version-control ; git
wget
xorg ; xauth
)
(define %my-services
(modify-services %base-services
(agetty-service-type config =>
(agetty-configuration
(tty "ttyS1")
(baud-rate "115200")))))
(operating-system
(host-name "g1")
(timezone "America/New_York")
(locale "en_US.utf8")
(kernel-arguments '("console=ttyS1,115200"))
;; RAID1 root : NVMe M.2SSD + 2 HDs
(bootloader (grub-configuration (target "/dev/nvme0n1")
(terminal-outputs '(console))
(terminal-inputs '(serial console))
(serial-speed 115200)
))
(initrd (lambda (file-systems . rest) (apply base-initrd file-systems
#:extra-modules '("raid1")
rest)))
(mapped-devices (list (mapped-device
(source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
(target "/dev/md3")
(type raid-device-mapping))))
(file-systems (cons (file-system
(title 'device)
(device "/dev/md3")
(mount-point "/")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems))
(swap-devices '("/dev/nvme0n1p2" ))
(users (cons* (user-account (name "g1")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory (string-append "/home/" name)))
(user-account (name "admin")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory (string-append "/home/" name)))
%base-user-accounts))
(packages (cons*
cups
emacs-no-x-toolkit
emacs-guix
emacs-zenburn-theme
freeipmi
git
glibc-utf8-locales
gnu-make
mdadm
magit
nss-certs ;for HTTPS access
openssh
parted
qemu
rsync
screen
smartmontools
tree
wget
xauth
%base-packages))
(services (cons* (static-networking-service
"enp3s0" "192.168.1.7"
#:gateway "192.168.1.1"
#:name-servers '("192.168.1.1" "46.17.102.24"))
(ntp-service)
(service openssh-service-type (openssh-configuration
(x11-forwarding? #t)))
%my-services)))
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-03-08 17:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-24 2:19 bug#30589: serial login not working George myglc2 Clemmer
2018-03-08 1:26 ` myglc2
2018-03-08 12:16 ` Danny Milosavljevic
2018-03-08 14:04 ` George myglc2 Clemmer
2018-03-08 16:59 ` Danny Milosavljevic
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.