ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. 1337
    3. Best
    1
    • Profile
    • Following 0
    • Followers 0
    • Topics 273
    • Posts 3,519
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Change the install behavior by setting variables when running the script

      The special sauce in the script is a form of conditional expression.

      VAR1=${VAR1:-~/examples/hello-world}
      means that VAR1 will be set to ~/examples/hello-world if it's not already set.

      Can also be done with if...then like this:
      if [[ -z ${VAR1} ]]; then VAR1=~/examples/hello-world; fi

      This is the conditional expression:
      ${VAR1:-SOMETHING}

      It means if VAR1 is null the return SOMETHING else return VAR1

      PS. Your title is a little misleading. The only thing that happens is if you set the variable VAR1 before executing the script, it will use that value instead of the default inside the script.

      posted in IT Discussion
      1
      1337
    • RE: Change the install behavior by setting variables when running the script

      @Obsolesce said in Change the install behavior by setting variables when running the script:

      What's this all about? Script parameters?

      Kind of. To be very specific it's local environment variables.

      You set them before running the script and can use them in scripts but if you restart the shell they are gone.


      Parameters are those variables that are assigned from the command line. They are referred to as $1 $2 $3 etc inside the script.

      So if you do run hello-world.sh ~/examples/hello-world
      Inside the script $1 will then be set to '~/examples/hello-world'.

      posted in IT Discussion
      1
      1337
    • RE: Tool for Finding Rogue DHCP

      This is what it looks like with tcpdump when you have two dhcp servers:

      Captured on the DHCP client when the interface goes up.
      dhcp_capture.png

      DHCP server 1 is x.x.x.251
      DHCP server 2 is x.x.x.252
      Client IP becomes x.x.x.150

      If you add the option -v for verbose you can see all the info inside the DHCP offer/ack.
      For instance mac-address, lease-time, domain, ntp server etc.

      When you have only one DHCP server and everything is working you will just see the IP from the one DHCP server. If you look closer at the communication you'll see that the first line will be the offer from the DHCP server and the second will be the acknowledge.

      posted in IT Discussion
      1
      1337
    • Does ChromeOS make sense for a desktop?

      Does ChromeOS make sense for a desktop only computer?

      I'm thinking about something like Asus Chromebox but maybe there are other hardware options as well.

      posted in IT Discussion chromeos chromebox desktop
      1
      1337
    • RE: Auto provisioning server for yealink T21P

      Here you have all the info you need on the Yealink T21p:
      http://support.yealink.com

      posted in IT Discussion
      1
      1337
    • RE: Auto provisioning server for yealink T21P

      @akiliss said in Auto provisioning server for yealink T21P:

      @Pete-S
      thank you @Pete-S your feedback, I will try to configure two configuration files as test 805DC01243ED.CFG and common.cfg
      I think that the file common.cfg contains the common configuration between the various phones, However the file 805DC01243ED.CFG contains the parameters for each phone ?

      Small things can also ruin everything. For example is 805DC01243ED.CFG not the same as 805dc01243ed.cfg or 805DC01243ED.cfg
      So you need to know what the phone is asking for.

      posted in IT Discussion
      1
      1337
    • RE: HP Z440’s Bricked Hard

      @G-I-Jones said in HP Z440’s Bricked Hard:

      @G-I-Jones Just confirmed with HP tech support that you do indeed need RAID drivers that don't typically exist on a base Win10 install disk. They are having me download a bootable they sent me.

      You are probably better off using Intel drivers since that is what it is. Rebranded drivers that HP and Dell uses are typically usually many versions old.

      Might not make much off a difference for the installation itself though.

      PS. To use a driver during install you just put it on an USB drive and when the Windows 10 install want to know where you want to install the OS you click on the "Load Driver".

      posted in IT Discussion
      1
      1337
    • RE: HP Z440’s Bricked Hard

      Posted this regarding live booting: https://mangolassi.it/topic/21070/live-boot

      Regarding adding a driver during Windows 10 install:
      Youtube Video

      posted in IT Discussion
      1
      1337
    • RE: New IT Position UK, any advice/feedback?

      @Jimmy9008 said in New IT Position UK, any advice/feedback?:

      @Pete-S said in New IT Position UK, any advice/feedback?:

      @Jimmy9008

      I don't know Jim, but it does sound like you want to find one IT support guy that somehow has the skill of five specialists.

      I am trying to set somebody with mostly IT Support with some Entry Level Infrastructure, I understand I wont get everything on the job spec, nobody ever does... and those more expert skills are some they would build whilst working here with courses we pay for, but to start with some knowledge would help...

      What do you think it should change to?

      I don't have much experience hiring people so I have to refer to others on that one.

      But maybe it would makes sense, at least in your mind, to specify what skills and experience the person really needs and then the rest can be areas that the person can grow into.

      And the skills you are looking for has to be things that you are likely to find in an employee at that level. For instance you might need someone that cleans the office and takes out the trash 20% of the time and works with IT security issues 80% of the time but you will not find that in one person.

      posted in IT Discussion
      1
      1337
    • RE: ESXi 6.7 Troubleshooting

      @G-I-Jones said in ESXi 6.7 Troubleshooting:

      The H330 is like for labs or testing. Shouldn't be found in a production environment. It's a fine card for what it is, just not a production use card 🙂

      Begs the question why when ordering a server for a specific purpose, they would even ship that out.

      People mix up the H330 and the HBA330.
      Both are LSI SAS3008 cards but with different firmware.
      It can do one million IOPS and transfer 6GB/sec but it doesn't have any cache.

      Entry and mid-level servers come with the H330.
      HBA330 is primarily a Host Bus Adapter and it's what you order for running vSAN or any type of software raid.

      Both have their place in production servers. It just depends on what they are used for.

      posted in IT Discussion
      1
      1337
    • RE: Win 10 + older HP laserjet printers

      You can use any PCL5 driver from any manufacturer for your HP printer.

      A while back I encounter some problem installing another HP printer and I didn't have time to troubleshoot so I just used another driver that was already installed. Worked like a charm.

      PCL6 is xml based so it's completely different than PCL5.

      posted in IT Discussion
      1
      1337
    • RE: Using GNU\Linux on your workstation is rubbish

      @Obsolesce said in Using GNU\Linux on your workstation is rubbish:

      It's not the OS vendor's responsibility to provide drivers for all the hardware in the world. Microsoft doesn't. It's up to the hardware vendor to provide drivers for it's own hardware. If a hardware vendor doesn't provide drivers for your OS of choice, buy different hardware or choose an OS the hardware vendor supports.

      That's true. But it's because few hardware manufacturer gives a shit about a couple of nerds running linux desktops when the rest of the worlds desktops are windows, and a couple of macs.

      The only reason linux survives on the desktop is because it's open source. If it wasn't, it would have been as dead as Windows Mobile/Phone (...and a long list of other dead operating systems).

      posted in IT Discussion
      1
      1337
    • Which Edgerouter for SOHO, max 100 Mbps?

      Which Edgerouter should I get for SOHO use, maximum WAN speed is 100/100 Mbps.

      posted in IT Discussion edgerouter
      1
      1337
    • RE: HyperVisor

      At some point old tech just becomes too old.

      R710 for instance doesn't have pcie 3.0, doesn't have sata 3 on the cpu, doesn't have aes-ni instructions (big deal for encryption) and it's power hungry.

      I suggesting R720 with Ivy Bridge CPUs, E5-2600 v2, as the oldest tech that is still decent today.

      Then you have 22nm technology, 12 core CPUs, pcie 3.0 (means you have the I/O capacity for fast raid cards, pci based flash etc). You have sata3 on the cpu so you can use sata ssd to it's full potential. You're also on the last generation of CPUs that uses ddr3 RAM so you can load up the server with lots of GB for a modest price.

      posted in IT Discussion
      1
      1337
    • Quality difference Dell Optiplex micro versus HP Prodesk/Elitedesk mini?

      Is there any difference in quality between Dell's versus HP's small micro computers?

      Any difference in the Windows installations on these?

      posted in IT Discussion hp dell
      1
      1337
    • How to handle inbox with multiple users in Zoho or O365?

      How do you handle email accounts that are for certain functions and handled by one of several employees, for instance [email protected]?

      Can you access several inboxes at the same time from your personal login?

      posted in IT Discussion o365 zoho email
      1
      1337
    • RE: How to mount remote filesystem over ssh (both Windows & Linux)

      @dafyre said in How to mount remote filesystem over ssh (both Windows & Linux):

      @black3dynamite said in How to mount remote filesystem over ssh (both Windows & Linux):

      @dafyre Installing sshfs and winfsp via choco is older than the ones from GitHub.

      If you installed them via choco do this to mount at the host root directory or other directories.
      https://github.com/billziss-gh/sshfs-win/issues/102

      Host root directory
      \\sshfs\remoteuser@host\..\..

      Specific directory like /var/www
      \\sshfs\remoteuser@host\..\..\var\www

      Thanks for the pointer. I did install using choco. I'm able to make it work now.

      Edit: Just to see if I can, I may go back and do straight installs.

      As I said above with the latest version I mount the root directory with \\sshfs.r\user@host

      However, if you want to mount another directory like /var/www you have to do:
      \\sshfs.r\user@host\var\www\
      The trailing \ is very important!
      It just doesn't work without it if your path is more than one directory deep. You also need to use backslash and not the forward slash.

      posted in IT Discussion
      1
      1337
    • RE: Looking for a high performance game server

      @Dashrender said in Looking for a high performance game server:

      @Pete-S said in Looking for a high performance game server:

      There are no high GHz server CPUs.

      I was wondering if this was the case - I'm expecting that Intel is building more for modern multi-threaded applications today, so there isn't as much need for high CPU speeds.

      They have both those that are optimized for maximum number of cores and those that are optimized for highest frequency.
      But I think they run them a little less "hot" to maximize reliability.

      Best single thread performance Xeons are the E2200 series. It's not a "real" server CPU with massive I/O capability, lots of cache and multi-CPU capability but it might be perfect for this application. E-2288G is the fastest overall model with 8 cores @ 3.7GHz.

      posted in IT Discussion
      1
      1337
    • RE: Nginx setup

      @scottalanmiller said in Nginx setup:

      I think all browser default to https now when not specified.

      I think not. I'm not even sure Chrome does it.

      But 99.9% of all sites redirect http to https so for normal users it's invisible. Also search engines default to showing https results.

      posted in IT Discussion
      1
      1337
    • RE: Windows Server 2012 - Task Scheduler Issue

      How many tasks are we talking about?

      I would probably export them, delete and import just to be certain.

      And make sure task history is enabled.

      posted in IT Discussion
      1
      1337
    • 1 / 1