• Rescan all SCSI buses, hassle free.

    1
    2 Votes
    1 Posts
    274 Views
    No one has replied
  • IBM Datapower on Linux

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    DustinB3403D

    Okay for anyone still around, I was able to get this sorted, it appears that the initial file I was using was either corrupted or maybe a patch for an existing installation.

    I've documented the process, copied below for reference. I won't be sharing IBMs RPM's on this post. You should be able to get these directly from IBM's website free of charge, but your mileage may vary.

    Installing IBM Datapower on CentOS 8/9 or Rocky Linux 8/9 to your Hypervisor/Cloud Provider

    Minimum System Requirements
    • 4 vCPU
    • 16 GiB RAM
    • 80 GiB Disk Space
    • 4 Network Interfaces – with DHCP or Statically Assigned IPs
    • 2 Available Loop devices – Documented Below
    • Default Partitioning will work, can be configured to meet any security requirements (separate LV for VAR for example)
    • Installation without a GUI recommended with these below features
    ◦ “Server Installation” Option
    ▪ Guest Agents (Drivers for Hypervisor/Cloud recommended)
    ▪ Remote Management for Linux recommended – SSH and or Cockpit
    • Root only account – User accounts are unnecessary
    • Security Policy to adhere to any State/Fed requirements (may effect Installation Destination configuration – not documented here).

    Configure Timezone and any other settings as required – no specific documentation needed

    Sample User: root
    Password: your-password

    Upon installation check for updates and install a few required repositories.

    sudo dnf update -y sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf update -y sudo dnf search schroot sudo dnf install schroot ipvsadm kmod telnet -y

    Post installation of dependencies we need to confirm our loop devices are configured.

    Confirm what loop devices exist (likely there is only 1) so we’ll need to create some with the below.

    List your loop devices:

    ls -l /dev/loop* brw-r----- 1 rootls disk 7, 0 Jul 24 17:49 /dev/loop-control

    We only have the loop-control device, so create two more loop devices with the below.

    mknod -m660 /dev/loop1 b 7 8 mknod -m660 /dev/loop2 b 7 8

    Confirm the devices are listed.

    ls -l /dev/loop* brw-rw----. 1 root root 7, 8 Nov 27 08:10 /dev/loop1 brw-rw----. 1 root root 7, 8 Nov 27 08:10 /dev/loop2 crw-rw----. 1 root disk 10, 237 Nov 27 07:51 /dev/loop-control

    Now transfer or download the Datapower and LibgCrypt RPMs to this system using something line wget or WinSCP depending on access. You can find libgcrypt here (https://rpmfind.net)

    Once transferred, you may have to decompress the installation files.

    tar -xf idg_lx10540.cd.ASL.prod.tar

    Now we can install the program

    sudo yum install idg_lx.10540.image.x86_64.rpm idg_lx10540.common.x86_64.rpm

    Once installed, you’ll connect to the system via telnet on the system’s loopback address

    telnet 127.0.0.1 2200 Initial login is: admin Initial Password is: admin

    Confirm to all prompts with Y and then run/create and confirm a new password

    You must restart the DataPower Gateway to make the Common Criteria policies effective.

    idg# configure terminal;web-mgmt;admin-state enabled;local-address 0 9090;exit Global mode Modify Web management service configuration

    Now you can go to the web console via your computer and using the primary IP address. In our example
    https://ip-address:9090

    You’ll use the login password you created while connected via SSH. You’ll have to create yet another new password.

    Once the password is updated, you’ll be able to login and complete the setup by accepting the license agreement.

    After accepting the licensing agreement the system will need to reboot. After logging in via SSH you’ll need to restart the web interface.

    telnet 127.0.0.1 2200 admin <password> idg<config> idg <config> configure terminal;web-mgmt;admin-state enabled;local-address 0 9090;exit

    That's the complete installation process from start to finish. The last step would be to setup initialization of the datapower service upon restart. I'll be working on this sometime this week probably so that the environment is fault tolerant.

  • How to get Chrome to remember which monitors to open on

    13
    0 Votes
    13 Posts
    1k Views
    ObsolesceO

    @CCWTech said in How to get Chrome to remember which monitors to open on:

    I gotta go back to Ubuntu I suppose... I just wish there were better games for it...

    I use Ubuntu as well, and never had an issue playing any and all Windows games on it. Some may not have behaved or performed as well as on Windows, but if you're that bad with Windows it's likely not going to be a show stopper for you.

  • a little off topic

    1
    1 Votes
    1 Posts
    347 Views
    No one has replied
  • Docker with Nvidia card access

    2
    0 Votes
    2 Posts
    486 Views
    travisdh1T

    Next up from the Docker site, how to actually enable the GPU in a Docker Compose file.

    Example of a Compose file for running a service with access to 1 GPU device

    services: test: image: nvidia/cuda:12.3.1-base-ubuntu20.04 command: nvidia-smi deploy: resources: reservations: devices: - driver: nvidia count: 1 capabilities: [gpu]
  • 1 Votes
    1 Posts
    487 Views
    No one has replied
  • Ubuntu 20.04 to 22.04 Breaks OpenLDAP

    1
    1 Votes
    1 Posts
    303 Views
    No one has replied
  • XCP-NG PV to HVM of Ubuntu 20.04 to 22.04 VM

    1
    1 Votes
    1 Posts
    341 Views
    No one has replied
  • Dell r720 and Hitachi Drive

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    gjacobseG

    @IThomeboy80

    I think I have already tried this and it didn’t work.
    That said, I also may not have work ask thing I have tried.

    When I got the 720, I also got a 710. The 720 had eight drives in it, but was given to a friend to host one of our games. Turns out those drives had windows 10 on them.

    We dropped them in the 720 and it will boot, but still complains about the iDrac…

    It’s been a bit crazy between a new roof, plumbing issues and rain from Helene. No damage to the house, but the an area has a lot of trees downed…. Nothing like this in NC or TN..

    I will try again and see what happens

  • Yealink T46p and Algo Ringer

    2
    0 Votes
    2 Posts
    436 Views
    gjacobseG

    Well,.. with the weather we had rip through Kentucky this past week (TS / TD Helene) Didn't get to circle back to this, but discovered one possible issue. the Headset button on the phone itself needed to be enabled. (duh)

    Yes, when I test this with another phone (T46p) and my Jabra headset, the headset doesn't ring when dialed. Checked to ensure that phone was enabled on the Jabra - but didn't seem to make a difference.

    I expect it is something simple,.. and easy to overlook, but not found it yet. And today I am trying to not think about work and work on the 720,.. Curious as to what else I can end up putting on this as a Proxmox host.

  • Proxmox os backup and restore

    8
    1 Votes
    8 Posts
    2k Views
    scottalanmillerS

    @IThomeboy80 said in Proxmox os backup and restore:

    Restore:

    Log in to the Proxmox web interface. Select the node or server where you want to restore the backup.

    That's for restoring VMs, not ProxMox. By the time you have this interface available, you've already restored ProxMox.

  • 0 Votes
    1 Posts
    441 Views
    No one has replied
  • RingCentral/AT&T Office at Hand Outage

    2
    2 Votes
    2 Posts
    469 Views
    dbeatoD

    @travisdh1 Thank you! Sounds good.

  • Last Pass TOTP?

    Solved
    3
    0 Votes
    3 Posts
    669 Views
    WrCombsW

    Here's how to create a TOTP for a password item in your LastPass vault:
    Find the password entry for the site you want to use in your vault
    Select Edit
    Copy the TOTP from the One-time passcode fiel

  • Remote Access software with good dual monitor support

    7
    0 Votes
    7 Posts
    881 Views
    S

    @Obsolesce I don't know. I never tried that. Possibly if it supports two connections, you could choose each monitor on their respective connections. I never tried this. Unfortunately, I no longer work at my old job to test it out.

  • 0 Votes
    5 Posts
    1k Views
    DustinB3403D

    @Obsolesce said in CrowdStrike blames kernel level access on last month Microsoft outage, claims to:

    @DustinB3403 said in CrowdStrike blames kernel level access on last month Microsoft outage, claims to:

    @Obsolesce said in CrowdStrike blames kernel level access on last month Microsoft outage, claims to:

    @DustinB3403 said in CrowdStrike blames kernel level access on last month Microsoft outage, claims to:

    want to find a non-kernel based solution and that the EU is at fault.

    https://www.csoonline.com/article/3483641/crowdstrike-backs-microsofts-demand-for-reducing-kernel-level-access.html

    I still say it could have been avoided if CrowdStrike had tested the change on a single device prior to releasing it publicly. It could have been a simple automated test as part of their release pipeline.

    Even a better rollout strategy could have prevented it from going too far.

    What's funny is that CS is now saying that they have decided to start testing their releases with the use of "besides showing interest in working with Microsoft to work on the “kernel-level restrictions” development, is also taking a new approach to certify each new sensor release through the “Windows Hardware Quality Labs."

    Whats also funny is that if you look at almost any open source software of similar caliber, they do all that stuff in their build and release pipelines or other work flows before public releases.

    Exactly!

  • Proxmox: iOS or Android tools

    7
    0 Votes
    7 Posts
    806 Views
    dbeatoD

    @IThomeboy80 Thanks, I have only used Scale Clusters which is the close I have tried so yeah.

  • APC PowerChute™ Personal Edition: Discontinued

    1
    1 Votes
    1 Posts
    884 Views
    No one has replied
  • 0 Votes
    1 Posts
    409 Views
    No one has replied
  • Mariadb command questions

    2
    0 Votes
    2 Posts
    487 Views
    M

    @WLS-ITGuy If you wanted to say that old domain is part of usernames, and you want to change only that part of the usernames, there is no single SQL statement, but I see 2 solutions:

    Write SQL script that will use LOOP to iterate through all records in table users and then replace username with new username....

    Use spreadsheet calculator (Excel or similar) to prepare multiple simple SQL UPDATE statements:

    Export table "users" (just necessary columns) and import it to Excel or similar _ - prepare new usernames in new column (use SUBSTITUTE() function in Excel) prepare simple UPDATE command for each username (in new column in Excel) - you can use functions like SUBSTITUTE or CONCATENTE to prepare you UPDATE statements with your usernames from previous column, i.e. =CONCATENATE("UPDATE users SET username = '", .... copy UPDATE statements from Excel and execute them

    I think secong approach (Excel) is much safer because you see results in spreadsheet before you execute UPDATEs.
    Always use WHERE clause when you use UPDATE

    If you want more exact statements/formulas, give more detailed structure of your table and usernames