kimberli

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Specific static IP address of tap0 interface? #49132
    kimberli
    Participant

    I guess that’s a limitation of the tap/tun interface. I tried searching there are workarounds, but not really a good way.

    Thank you for the information. I believe it will make it more convenient to share access to services between Clients and NX Server, and possibly between servers.
    (Sound seems like Kubernetes 😀 )

    in reply to: Connect USB Devices to a Docker container? #49023
    kimberli
    Participant

    Strangely, these devices still appear in dmesg logs, but don’t work.

    ———————————————————————————-

    [Aug 3 08:16] nxusb: loading out-of-tree module taints kernel.
    [  +0.000101] nxusb: module verification failed: signature and/or required key missing – tainting kernel
    [  +0.000691] nxusb_vhci_hcd: NXUSB Virtual Host Controller Interface — Version 1.1 (2020-06-02)
    [  +0.000100] nxusb_vhci_iocifc: User-mode IOCTL-interface for NXUSB VHCI — Version 1.1 (2020-06-02)
    [  +0.000021] nxusb_vhci_iocifc: Successfully registered the character device.
    [  +0.000001] nxusb_vhci_iocifc: The major device number is 244.

    [ +11.159893] nxusb_vhci_hcd nxusb_vhci_hcd.0: NXUSB Virtual Host Controller Interface — Version 1.1 (2020-06-02)
    [  +0.000002] nxusb_vhci_hcd nxusb_vhci_hcd.0: –> Backend: USB VHCI user-mode IOCTL-interface
    [  +0.000003] nxusb_vhci_hcd nxusb_vhci_hcd.0: NXUSB Virtual Host Controller Interface
    [  +0.000005] nxusb_vhci_hcd nxusb_vhci_hcd.0: new USB bus registered, assigned bus number 1

    [  +0.000005] usb usb1: Product: NXUSB Virtual Host Controller Interface
    [  +0.000001] usb usb1: Manufacturer: Linux 4.15.0-213-generic nxusb_vhci_hcd
    [  +0.000001] usb usb1: SerialNumber: nxusb_vhci_hcd.0

    [  +0.000255] nxusb_vhci_hcd nxusb_vhci_hcd.0: NXUSB Virtual Host Controller Interface
    [  +0.000001] nxusb_vhci_hcd nxusb_vhci_hcd.0: new USB bus registered, assigned bus number 2
    [  +0.000010] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
    [  +0.000015] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [  +0.000001] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  +0.000001] usb usb2: Product: NXUSB Virtual Host Controller Interface
    [  +0.000001] usb usb2: Manufacturer: Linux 4.15.0-213-generic nxusb_vhci_hcd
    [  +0.000000] usb usb2: SerialNumber: nxusb_vhci_hcd.0
    [  +0.000280] hub 2-0:1.0: USB hub found
    [  +0.000004] hub 2-0:1.0: 15 ports detected
    [  +0.000402] nxusb_vhci_iocifc: Usb HS bus #1
    [  +0.000000] nxusb_vhci_iocifc: Usb SS bus #2
    [Aug 3 08:19] usb 1-1: new low-speed USB device number 2 using nxusb_vhci_hcd

    [Aug 4 16:33] nxusb_vhci_hcd: NXUSB Virtual Host Controller Interface — Version 1.1 (2020-06-02)
    [  +0.000063] nxusb_vhci_iocifc: User-mode IOCTL-interface for NXUSB VHCI — Version 1.1 (2020-06-02)
    [  +0.000018] nxusb_vhci_iocifc: Successfully registered the character device.
    [  +0.000000] nxusb_vhci_iocifc: The major device number is 244.
    [  +0.072352] nxusb_vhci_hcd nxusb_vhci_hcd.0: NXUSB Virtual Host Controller Interface — Version 1.1 (2020-06-02)
    [  +0.000014] nxusb_vhci_hcd nxusb_vhci_hcd.0: –> Backend: USB VHCI user-mode IOCTL-interface
    [  +0.000002] nxusb_vhci_hcd nxusb_vhci_hcd.0: NXUSB Virtual Host Controller Interface
    [  +0.000003] nxusb_vhci_hcd nxusb_vhci_hcd.0: new USB bus registered, assigned bus number 1
    [  +0.000054] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [  +0.000001] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  +0.000001] usb usb1: Product: NXUSB Virtual Host Controller Interface
    [  +0.000001] usb usb1: Manufacturer: Linux 4.15.0-213-generic nxusb_vhci_hcd
    [  +0.000000] usb usb1: SerialNumber: nxusb_vhci_hcd.0
    [  +0.000106] hub 1-0:1.0: USB hub found
    [  +0.000004] hub 1-0:1.0: 15 ports detected
    [  +0.000770] nxusb_vhci_hcd nxusb_vhci_hcd.0: NXUSB Virtual Host Controller Interface
    [  +0.000002] nxusb_vhci_hcd nxusb_vhci_hcd.0: new USB bus registered, assigned bus number 2
    [  +0.000016] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
    [  +0.000016] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [  +0.000001] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  +0.000001] usb usb2: Product: NXUSB Virtual Host Controller Interface
    [  +0.000001] usb usb2: Manufacturer: Linux 4.15.0-213-generic nxusb_vhci_hcd
    [  +0.000001] usb usb2: SerialNumber: nxusb_vhci_hcd.0
    [  +0.000102] hub 2-0:1.0: USB hub found
    [  +0.000004] hub 2-0:1.0: 15 ports detected
    [  +0.000255] nxusb_vhci_iocifc: Usb HS bus #1
    [  +0.000001] nxusb_vhci_iocifc: Usb SS bus #2
    [ +15.857440] usb 1-1: new high-speed USB device number 2 using nxusb_vhci_hcd
    [  +0.714968] usb 1-1: New USB device found, idVendor=5986, idProduct=02d2
    [  +0.000002] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  +0.000001] usb 1-1: Product: Integrated Camera
    [  +0.000001] usb 1-1: Manufacturer: Ricoh Company Ltd.
    [  +0.291008] uvcvideo: Found UVC 1.00 device Integrated Camera (5986:02d2)
    [  +0.306120] input: Integrated Camera: Integrated C as /devices/platform/nxusb_vhci_hcd.0/usb1/1-1/1-1:1.0/input/input23
    [Aug 4 16:42] usb 1-1: USB disconnect, device number 2
    [Aug 4 16:46] usb 1-1: new low-speed USB device number 3 using nxusb_vhci_hcd
    [  +0.682286] usb 1-1: New USB device found, idVendor=046d, idProduct=c077
    [  +0.000002] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  +0.000009] usb 1-1: Product: USB Optical Mouse
    [  +0.000001] usb 1-1: Manufacturer: Logitech
    [  +0.276806] input: Logitech USB Optical Mouse as /devices/platform/nxusb_vhci_hcd.0/usb1/1-1/1-1:1.0/0003:046D:C077.000E/input/input24
    [  +0.000439] hid-generic 0003:046D:C077.000E: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-nxusb_vhci_hcd.0-1/input0
    [Aug 4 16:51] usb 1-1: USB disconnect, device number 3

    kimberli
    Participant

    Thanks, I forgot it could just do that. 😀

    I configured it on a proof of concept machine and copied all of its config to all the remaining machines. Perhaps there was an error somewhere when configuring manually.

    I think for crontab is quite simple, I will check every 30 minutes, and if any host has problems, it will automatically call ssh with the command “/etc/NX/nxserver –restart” to restart the nxserver on that host.

    But it’s the immediate solution…. I will find out the reason why it is forced to restart (or it will hang and cannot be accessed).

Viewing 3 posts - 1 through 3 (of 3 total)