• AI success story

    From Creon@21:1/5 to All on Sun Apr 27 04:26:11 2025
    XPost: alt.computer.workshop

    Actually had a success story with AI to share.

    Using ChatGPT, regarding Linux, I was able to give it my current
    output of "ifconfig -a" and have it generate an accurate netplan
    yaml file for network configuration -- which worked.

    Then I had it add some policy routing, which also worked.

    I did this to renumber three servers. The only snag was when
    I went to reconfigure the Red Hat-based server...it was so
    old, it didn't support Red Hat's more modern network configuration
    scriptlets. So I had ChatGPT walk me through writing a script
    to do the configuration, then set up a systemd unit file to run
    the script when the networking service started. All done.

    I was pleasantly surprised at how accurate ChatGPT was with
    its configuration directives, scripting, and unit file setup.

    --
    -c System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
    OS: Linux 6.14.4 Release: Mint 22.1 Mem: 258G
    "Anything will fit if you push hard enough"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David@21:1/5 to Brock McNuggets on Sun Apr 27 06:58:59 2025
    XPost: alt.computer.workshop

    On 27/04/2025 06:03, Brock McNuggets wrote:
    On Apr 26, 2025 at 9:26:11 PM MST, "Creon" wrote <[email protected]>:

    Actually had a success story with AI to share.

    Using ChatGPT, regarding Linux, I was able to give it my current
    output of "ifconfig -a" and have it generate an accurate netplan
    yaml file for network configuration -- which worked.

    Then I had it add some policy routing, which also worked.

    I did this to renumber three servers. The only snag was when
    I went to reconfigure the Red Hat-based server...it was so
    old, it didn't support Red Hat's more modern network configuration
    scriptlets. So I had ChatGPT walk me through writing a script
    to do the configuration, then set up a systemd unit file to run
    the script when the networking service started. All done.

    I was pleasantly surprised at how accurate ChatGPT was with
    its configuration directives, scripting, and unit file setup.

    Thanks for sharing.

    I also had some success today... decided to see if I could use it to make an alternative lookup for Message IDs. I had to fiddle a bit and it still does error handling poorly, but got this:

    https://jmp.sh/im88Qhhh

    Happy to have it as a tool.

    Can you make it into an App available to all - through the Apple App Store?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to Creon on Thu May 1 01:12:36 2025
    XPost: alt.computer.workshop

    On 27 Apr 2025 04:26:11 GMT, Creon <[email protected]> wrote in <[email protected]>:

    Actually had a success story with AI to share.

    Using ChatGPT, regarding Linux, I was able to give it my current output
    of "ifconfig -a" and have it generate an accurate netplan yaml file for network configuration -- which worked.

    Then I had it add some policy routing, which also worked.

    I did this to renumber three servers. The only snag was when I went to reconfigure the Red Hat-based server...it was so old, it didn't support
    Red Hat's more modern network configuration scriptlets. So I had
    ChatGPT walk me through writing a script to do the configuration, then
    set up a systemd unit file to run the script when the networking service started. All done.

    I was pleasantly surprised at how accurate ChatGPT was with its
    configuration directives, scripting, and unit file setup.

    Here is the netplan yaml file, with IP addresses anonymized:

    network:
    version: 2
    renderer: networkd

    ethernets:
    eth0:
    match:
    macaddress: 00:11:22:33:44:55
    set-name: eth0
    addresses:
    - 192.0.2.10/29 # Source IP 1
    - 198.51.100.10/28 # Source IP 2
    dhcp4: no
    dhcp6: no
    ipv6-link-local: [auto]

    routing-policy:
    - from: 192.0.2.10
    table: 100
    - from: 198.51.100.10
    table: 200

    routes:
    # Table 100 for 192.0.2.10
    - to: 0.0.0.0/0
    via: 192.0.2.1
    table: 100
    metric: 100
    - to: 192.0.2.0/29
    scope: link
    table: 100

    # Table 200 for 198.51.100.10
    - to: 0.0.0.0/0
    via: 198.51.100.1
    table: 200
    metric: 200
    - to: 198.51.100.0/28
    scope: link
    table: 200

    # Fallback default route
    - to: 0.0.0.0/0
    via: 198.51.100.1
    metric: 500

    eth1:
    match:
    macaddress: 00:11:22:33:44:66
    set-name: eth1
    addresses:
    - 10.0.0.10/24
    dhcp4: no
    dhcp6: no
    routes:
    - to: 10.0.0.0/24
    scope: link

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)