ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. marcinozga
    3. Posts
    M
    • Profile
    • Following 1
    • Followers 0
    • Topics 15
    • Posts 917
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Google Introduces Chrome Enterprise

      So we buy the device, but if we stop paying the subscription then what? Is there another OS out there that requires you to pay subscription fees to use it?
      $50 a year, that's more or less the cost of Windows license, considering device lifespan. Perhaps more if these things last for 3+ years.

      posted in News
      M
      marcinozga
    • RE: Keychain Issue in Mac

      Yes. Well, Keychain stores all info in 3 locations that I'm aware, so some data will remain.

      posted in IT Discussion
      M
      marcinozga
    • RE: Keychain Issue in Mac

      Just keep in mind, this will delete anything stored in that user's keychain.

      posted in IT Discussion
      M
      marcinozga
    • RE: Keychain Issue in Mac

      No, just keychain.

      posted in IT Discussion
      M
      marcinozga
    • RE: Keychain Issue in Mac

      Ok, so that solution in linked article should work. Set it as a cron job and forget it. If in doubt test it on a single machine.

      posted in IT Discussion
      M
      marcinozga
    • RE: Keychain Issue in Mac

      Why do you mean by reset? Removing all stored passwords? Or is it nagging you for a password?

      posted in IT Discussion
      M
      marcinozga
    • RE: Pi Hole

      I just installed in on Fedora 25. Installer is expecting ifcfg-eth0 (or whatever your interface is) file in /etc/sysconfig/network-scripts and if that doesn't exists, it fails. I touched that file and installation went smooth.

      posted in IT Discussion
      M
      marcinozga
    • RE: Pi Hole

      It fails on setting static IPv4 address in Fedora.

      posted in IT Discussion
      M
      marcinozga
    • RE: Pi Hole

      @nerdydad said in Pi Hole:

      @nerdydad said in Pi Hole:

      @scottalanmiller said in Pi Hole:

      @nerdydad said in Pi Hole:

      @marcinozga said in Pi Hole:

      @aaronstuder said in Pi Hole:

      What about installing it on Vultr?

      You can install it on any supported Linux system, mine runs in Centos 7 LXD container. It's how you set it up as DNS proxy/server. Although local DNS is always preferred, once your queries are cached, latency is much lower than querying cloud instance.

      Plus, the Raspberry Pi will pay for itself within a year of Vultr use.

      Not realistically. Figure $60 for a working RP setup minimum, not including space, heat or power draw (all small, but non-zero.) Vultr would be $30. It would take two years to break even, three years to RP cost savings minimum.

      If it lasts 3 years. Typically, power failure will cause the SD card to corrupt. Then, you'd have to reinvest into another SD card and start all over.

      I mean, its not hard to install Raspbian, sudo apt-get update && sudo apt-get upgrade, then curl Pi Hole. Could have another setup in an hour after failure.

      With containers and ansible, I had mine ready in probably less than 3 minutes. You can probably do it by hand just as fast.

      posted in IT Discussion
      M
      marcinozga
    • RE: Pi Hole

      @aaronstuder said in Pi Hole:

      What about installing it on Vultr?

      You can install it on any supported Linux system, mine runs in Centos 7 LXD container. It's how you set it up as DNS proxy/server. Although local DNS is always preferred, once your queries are cached, latency is much lower than querying cloud instance.

      posted in IT Discussion
      M
      marcinozga
    • RE: Pi Hole

      I implemented it at work about a week ago. Aside from sexy looks, it works like a charm. I plan to implement it at home, and use it as a internal DNS and DHCP server too.

      0_1503667048993_pi-hole.png

      posted in IT Discussion
      M
      marcinozga
    • RE: Disk2VHD/SQLServer

      @jimmy9008 said in Disk2VHD/SQLServer:

      @marcinozga said in Disk2VHD/SQLServer:

      Reboot the server, that usually fixes network profile assignment.

      That's not the issue. Like I said, the profile sees its self as domain. NOT private/public. Its domain.

      I would still reboot. It's Windows after all.

      posted in IT Discussion
      M
      marcinozga
    • RE: Disk2VHD/SQLServer

      Reboot the server, that usually fixes network profile assignment.

      posted in IT Discussion
      M
      marcinozga
    • RE: Sodium's new name! Looking for some input!

      Ba Co N

      Anything else is just profanity.

      posted in SodiumSuite
      M
      marcinozga
    • RE: Disk2VHD/SQLServer

      You answered your own question. Despite having the same MAC and IP, network card has different drivers, so Windows created new network connection, and probably assigned it to different network profile.

      posted in IT Discussion
      M
      marcinozga
    • RE: Sodium's new name! Looking for some input!

      Go to Google Adwords keyword tool and plug in sodium there. See what people are actually looking for. Perhaps add salt stack, salt app, etc.

      https://adwords.google.com/home/tools/keyword-planner/

      posted in SodiumSuite
      M
      marcinozga
    • RE: Witnessing Sexual Harassment

      Baseball bat in parking garage. That's how we solve these things in Europe. Unfortunately in US, country with 5% of world population and 95% of world's lawyers population, you would get sued for everything you got.

      posted in Water Closet
      M
      marcinozga
    • RE: Sodium: Machine list blank

      I just realized installing it with Ansible is really elegant solution here:

      ---
      - hosts: windows
        tasks:
        - name: Install sodium agent
          win_chocolatey:
            name: saltminion
            state: latest
        - name: Copy companyName.txt
          template:
            src: companyName.txt.j2
            dst: c:\salt\bin\lib\site-packages\salt\companyName.txt
        - name: Copy config file
          template: 
            src: mast.conf.j2
            dest: c:\salt\conf\minion.d\mast.conf
        - name: Set permissions
          win_acl:
            path: c:\salt\bin\Lib\site-packages\salt\
            user: "Authenticated Users"
            rights: Read
            type: allow
            state: present
          notify:
            - restart salt
        handlers:
          - name: restart salt
            win_service:
              name: salt-minion
              state: restarted
      

      And that would do it, one would need to create 2 files, companyName.txt.j2 and mast.conf.j2 with either variables, or just directly with proper values. If someone is already using Ansible, they should easily be able to do that.

      posted in SodiumSuite
      M
      marcinozga
    • RE: Sodium: Machine list blank

      This is what happens:

      Getting latest version of the Chocolatey package for download.
      Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.7.
      Extracting %LOCALAPPDATA%\Temp\chocolatey\chocInstall\chocolatey.zip to %LOCALAPPDATA%\chocolatey\chocInstall...
      Installing chocolatey on this machine
      Creating ChocolateyInstall as an environment variable (targeting 'Machine')
        Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
      WARNING: It's very likely you will need to close and reopen your shell
        before you can use choco.
      Restricting write permissions to Administrators
      We are setting up the Chocolatey package repository.
      The packages themselves go to 'C:\ProgramData\chocolatey\lib'
        (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
      A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
        and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.
      
      Creating Chocolatey folders if they do not already exist.
      
      WARNING: You can safely ignore errors related to missing log files when
        upgrading from a version of Chocolatey less than 0.9.9.
        'Batch file could not be found' is also safe to ignore.
        'The system cannot find the file specified' - also safe.
      WARNING: Not setting tab completion: Profile file does not exist at '\\path-to-my-documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
      Chocolatey (choco.exe) is now ready.
      You can call choco from anywhere, command line or powershell by typing choco.
      Run choco /? for a list of functions.
      You may need to shut down and restart powershell and/or consoles
       first prior to using choco.
      Ensuring chocolatey commands are on the path
      Ensuring chocolatey.nupkg is in the lib folder
      
      D:\download>choco install saltminion -y
      Chocolatey v0.10.7
      Installing the following packages:
      saltminion
      By installing you accept licenses for the packages.
      saltminion v2017.7.1 already installed.
       Use --force to reinstall, specify a version to install, or try upgrade.
      
      Chocolatey installed 0/1 packages.
       See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
      
      Warnings:
       - saltminion - saltminion v2017.7.1 already installed.
       Use --force to reinstall, specify a version to install, or try upgrade.
      
      D:\download>icacls "c:\salt\bin\Lib\site-packages\salt\" /grant "Authenticated Users":(OI)(CI)R
      Invalid parameter "Users:(OI)(CI)R   "
      
      D:\download>echo random-string-here  1>>c:\salt\bin\lib\site-packages\salt\companyName.txt
      
      D:\download>echo master: na1.waxquixotic.com   1>>c:\salt\conf\minion.d\mast.conf
      
      D:\download>Restart-Service salt-minion
      'Restart-Service' is not recognized as an internal or external command,
      operable program or batch file.
      

      This looks like it installed Chocolatey on top of existing one. I manage Chocolatey installs with Ansible, so latest version should be installed already.

      posted in SodiumSuite
      M
      marcinozga
    • RE: Stanford Removes Java in Favor of JavaScript in Intro to Computer Science Course

      I had a crash course with Pascal for a first week in Univ, then I didn't see any programming until 2nd semester. Then we moved to C, C++ and Assembler.

      posted in Developer Discussion
      M
      marcinozga
    • 1 / 1