• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle


  • gerdesj@lemmy.mltoLinux@lemmy.mlRust for Linux revisited (by Drew DeVault)
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    4
    ·
    2 months ago

    “Every subsystem is a private fiefdom, subject to the whims of each one of Linux’s 1,700+ maintainers, almost all of whom have a dog in this race. It’s herding cats”

    There are three similes in that quote. When your considerations are that disorganized, you have not finished thinking everything through. Fiefdoms, dogs and cats … oh my! That’s on top of wild west and other trite, well worn and rather silly similes.

    Make your argument without recourse to inflammatory terminology and similes and you slighten the risk of pissing people off.

    Clarity is in the eye of the beholder or as someone once said: “You do you”.


  • There are so many options it is almost impossible to know where to start!

    Which distro is the VM running (is it even Linux)?

    If you want the VM to use the host’s VPN then you will need some routing and perhaps NAT/masquerade. This is non trivial to sort out. Can the VM have its own VPN connection to your supplier?

    You are starting to reach the point where VLANs/subnets and separate routers (real or VM) may be required. Depending what you use as your ISP router, we might be able to get a solution together - so what model is it and do you have any switches?


  • Please do a little research before trying random stuff. After checking to see if you are actually using the iwlwifi module, why not find out a bit about whether the mentioned param. is available to you and what it does:

    Am I using the module. If the output from this is blank, then no:

    $ lsmod | grep iwlwifi
    iwlwifi               622592  1 iwlmvm
    cfg80211             1331200  3 iwlmvm,iwlwifi,mac80211
    
    

    Also verify with lspci -k as above:

    $ lspci -k | grep iwlwifi -A2 -B2
            DeviceName: WLAN
            Subsystem: Intel Corporation Raptor Lake PCH CNVi WiFi
            Kernel driver in use: iwlwifi
            Kernel modules: iwlwifi
    00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
            Subsystem: Hewlett-Packard Company Alder Lake PCH Serial IO I2C Controller
    
    
    # modinfo iwlwifi
       ...
    parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
    parm:           11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
    parm:           amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 2K for AX210 devices, 4K for other devices 1:4K 2:8K 3:12K (16K buffers) 4: 2K (default 0) (int)
    parm:           fw_restart:restart firmware in case of error (default true) (bool)
    parm:           nvm_file:NVM file name (charp)
    parm:           uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
    parm:           enable_ini:0:disable, 1-15:FW_DBG_PRESET Values, 16:enabled without preset value defined,Debug INI TLV FW debug infrastructure (default: 16) (uint)
    parm:           bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
    parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
    parm:           power_save:enable WiFi power management (default: disable) (bool)
    parm:           power_level:default power save level (range from 1 - 5, default: 1) (int)
    parm:           disable_11ac:Disable VHT capabilities (default: false) (bool)
    parm:           remove_when_gone:Remove dev from PCIe bus if it is deemed inaccessible (default: false) (bool)
    parm:           disable_11ax:Disable HE capabilities (default: false) (bool)
    parm:           disable_11be:Disable EHT capabilities (default: false) (bool)
    
    

    sysfs is a pseudo filesystem with lots of info in it. cat the files here:

    $ ls -l /sys/module/iwlwifi/parameters/
    
    

    … to see what your current values are set at. You can install sysfstools and run this for a neat report:

    $ systool -vm iwlwifi
    Module = "iwlwifi"
    
      Attributes:
         ...
      Parameters:
        11n_disable         = "0"
        amsdu_size          = "0"
        bt_coex_active      = "Y"
        disable_11ac        = "N"
        disable_11ax        = "N"
        disable_11be        = "N"
        enable_ini          = "16"
        fw_restart          = "Y"
        led_mode            = "0"
        nvm_file            = "(null)"
        power_level         = "0"
        power_save          = "N"
        remove_when_gone    = "N"
        swcrypto            = "0"
        uapsd_disable       = "3"
    
    




  • I run (one of three partners) a small IT company in the UK. I’ve always Linuxed since around 1998. After messing with RedHat, Mandrake, Yggdrasil and others I settled down and ran Gentoo for many years and then Arch for some more.

    I’m gradually dumping the Windows servers and replacing with Linux based beasties. We are also in the throws of replacing VMware with Proxmox.

    I also have a pretty decent Kbuntu based desktop/laptop effort. I’ve done Windows client deployments in the 1000s so I have quite a good idea about compliance etc. An Ubuntu based box can run several AV solutions, secure boot and full disc encryption. Buzz words perhaps but also audit points and will get you over the line for Cyber Essentials Plus (UK).

    Libre Office works for me and I used to teach office suites in the 90’s! Things have moved on since but a decimal alignment stop is a decimal alignment stop today too (do you know what that means?). I run our Exchange system, and I migrated it from GroupWise back in the day because the kool kids “required” it. Anyway, Evolution with EWS will get you full functionality for a client but with far less faff.

    I’m taking my time. I already have at least two employees who are dyed in the wool Windows officianados begging me to migrate them to Linux. I will but it takes time. For example - “drive mappings” or in English: Remote mounts.

    CID - https://cid-doc.github.io/ . This is an easy to add Windows compat thing. Its rather good. For static desktops its fine but for laptops that move around a lot it can be hard to get the file system mounts working again quickly in a dynamic environment.

    CID uses a PAM mount based system and in the past I used another one (autofs I think). However it seems to me that mounts are not dynamic or responsive enough. In the end it is Samba and that might need some fettling as well.

    As I said earlier, I’m taking my time (I’m an engineer) but be assured that Linux is quite capable of driving your desktop.


  • I usually do Arch myself these days and spent many years with Gentoo. So I’m not too terrified of breakage!

    I am putting together a Linux distro strategy for my company. I am the MD of a very small IT company in the SW of England. I already have my office manager asking me to liberate her from Windows! I recently had a techie asking me to help his transition! This is organic stuff and not pushed down by me. The techie is a dyed in the wool Azure lover.

    I am used to being patient. It took me roughly five years to get a helicopter company that I worked for back in the day (late 1990s) to use DHCP properly - ie let them “roam free” and let DDNS pin them down. Sounds a bit ridiculous until you encounter “enterprise” grade nonsense.

    I have set up laptops with most of the usual suspects and tried them out. However, I have to comply with Cyber Essentials Plus which is a UK standard. It is fine but rather Windows n that 'centric. That means I need full disc encryption and anti virus (AV) and Secure Boot. I got away with ClamAV in the past but ideally I get cross platform and that means ESET for AV/web etc. I use the usual Linux FDE.

    I also need to join an Active Directory until I have got rid of AD! Oh and there is Exchange.

    https://cid-doc.github.io/ - AD and Evolution with the EWS addon for Exchange.

    So I dive in with Kubuntu after trying Rawhide and all sorts. Ubuntu is flexible enough whilst being stable enough for me. For example, Kerberos is screwed for the Firefox snap. I need Kerb for auth to my corp websites such as our wiki. Mozilla does a PPA - I dump the built in FF snap and use the Mozilla blessed PPA. All documented and all controllable in an enterprise sense.

    Closed In Directory (CID) is a configuration for Linux boxes joining into the MS world. Its a super piece of work, getting Samba, krb etc all working together well, and with a GUI. You can run scripts from your DC for that GPO feel with it.

    My needs are a bit more corp than your gaming shenanigans but my notes might help you decide what you want, what you really (really) want (zigazig … ahhhh!)

    Ubuntu PPAs are a bit like the AUR for Arch … well you have to decide what you really want. You could start from scratch: https://www.linuxfromscratch.org/


  • Bizarre article: “Recently, Linux-based firmware has emerged as a powerful alternative”

    I have a stack of Dell OS9 switches in my computer room - they boot BSD. I have sold and set up Dell OS10 switches - they boot Debian … on the control plane. To be fair they can run quite a few OS’s on the control plane. On both, you can switch to a shell (BASH) and fiddle with Ansible and the like or you stick with the usual interface.

    They are not glorified PCs! Frames and packets pass through some very fancy electronics and some very specialized memory (CAM - Content Addressable Memory) is employed for certain tasks. The manuals for these beasts run to 1500 pages.

    I also have a large fleet of pfSense and VyOS routers and a Mikrotik or two and a slack handful of Fortiwotsits, oh and a Cisco thing or two and some others. pfSense is BSD and the rest are Linux. The Fortis are a bit more like modern switches with their own rather odd and twitchy way of doing things, backed up with some fancy and not so fancy hardware.

    I have also played with all of the distros mentioned: Tomatoe/DD-WRT/OpenWRT and they are great for cheekying up a rather rubbish ISP provided router. They are also great for running on budget gear. They are basically superb for budget conscious consumers that are capable of reading some very decent docs. Prosumer is the term, I think.

    Anyway, this article is rather odd and is basically filler. The section titled: “Case Studies and Real-World Examples” is a contender for fluff of the month.


  • “I understand that Canonical has every right to make the decision about their product.”

    That seems fair. There are loads of distros available so why not try something else if you don’t like Ubuntu?

    Linux and other mainstream Unices such as FreeBSD or OpenBSD int al (that’s not something I ever thought I’d be able to say a few decades back) are not Windows or Apples or whatevs. You do you and not them!

    If Ubuntu fails to scratch your itch then move on. Debian is the upstream for Ubuntu so you’ll probably be fine with that instead. There is loads of documentation for Debian via the wiki etc and of course most Ubuntu docs will apply as well.


  • I’ve just moved my work PC from a cast off from a customer - it had a BIOS date stamped 2012, and was a rather shag Lenovo with a … Intel Core something and four GB RAM. Cheap though, ie free. I did wedge in a SSD to make it usable.

    I run KDE which isn’t known for being tiny and I have a Postgres DB and a few containers for experiments running. The new box is a i5 Intel G13 thingy - HP mini jobbie. Luxury

    To ensure that I am as disadvantaged as everyone else, I run ESET Endpoint AV and full disc encryption on it. It boots EFI and Secure Boot is enabled. I will pass a Cyber Essentials Plus audit (UK standard) without having to employ any misdirection. I’ve also read up on the US standards. The STIG for Ubuntu 22.04 is doable but my desktop is running 23.04 and 24.04 has just come out.

    I run my company and we have some customers who have some rather more stringent requirements than others. We also have our own standards.


  • Mmm first releases! Working from home, its nearly close of play. I know … I’ll update my work laptop.

    OK I now have LXDE for a fall back WM so I can read stuff rather more easily than using links in a TTY and switched out SDDM for LightDM - I needed sddm-git to get LXDE to start up. SDDM now simply crashes and dumps core - no idea why. Oh and I have switched to Wayland because X11 no longer works for me. I might put off updating the wife’s laptop for a while, at least until I’ve done my work desktop 8)

    I must say its all rather pretty and smooth. Scrolling now has drag and acceleration, which is nice. I’m sure I’ll get KRDC to talk to the sodding wallet so my 100s of RDP connections will work again. For now I’ll call xfreerdp from the konsole. Perhaps I’ll get around to configuring KeePassXC and get around to using that instead. I share several rather large .kdbx with the rest of the firm.



  • Mint is lovely, as are all other Linux distros. However, if you want the latest stuff without going off piste and compiling it yourself, then a rolling, bleeding edge distro might appeal to you. You do mention that you have prior Linux experience.

    I own a UK based IT company (as you do) with two other partners (I’m MD and not a doctor) and a slack handful of (lovely - obvs) employees. I personally like Arch on my gear. I used to sport Gentoo but my nadgers complained about being overheated too often. I still have a fair few Gentoo VMs lying around the place.

    You might like to try a https://manjaro.org/ effort - I prefer the Plasma desktop spin (KDE). That’s Arch with a few more GUIs. Their Konsole is quite something with zsh and a very stylish prompt.

    So far I have managed to get Linux to work on everything I have access to which is rather a lot of hardware. Back in the day wifi was a bit wanky and there was ndiswrapper but nowadays I generally find that laptops from HPE and Dell are just as well supported with Linux as Windows, often better.

    I finally ditched Windows on my stuff at Windows 7 - that was my wife’s laptop - a GPU update screwed up and that was the final straw. She has been an Arch user for a good seven years and could not give a shit about what is running on her laptop, provided it works and does stuff.


  • Nextcloud is simply software that runs on something. You might use DNS to find the something that your Nextcloud runs on … or not. A domain can cost as little as say £10/year (no details given - loose costing provided!) but you say you don’t want one.

    You could do some weird stuff involving something like this: Your clients update a database on the server with their current IP address(es) and the server reciprocates in kind regularly.

    For an internets conversation, both sides need to know IP address, protocol, and optionally port; for both ends. For example, a webby conversation might involve:

    My end: 192.168.100.20/24, tcp port 2399 -> NAT -> 33.22.4.66, tcp port 2245 Remote web server: 99.22.33.44/37, tcp port 443

    Now, provided both sides are warned off about changes to addresses and port numbers on a regular basis, then comms will still work.

    Say, your home external IP address changes, then your browser writes that new address to the remote server and comms continue. Provided one end knows all the details of the other end at any point in time and can communicate local changes then we are good.

    000000000000000000000000000000000000000000000000000000000000000000

    Maybe not. Lookup: Dynamic DNS.



  • gerdesj@lemmy.mltoLinux@lemmy.mlLinux reaches new high 3.82%
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    I use Linux (Arch actually) as my daily driver - I’m the MD of a small IT business in the UK. I have at least one employee who is asking me to create a Linux standard deployment to replace Windows because they don’t like it anymore - W11 is quite divisive.

    For a corp laptop/desktop you might need Exchange email - so that might be Evolution with EWS. You’ll want “drive letters” - Samba, Winbind and perhaps autofs. You’ll need an office suite - Libre Office works fine. There’s this too: https://cid-doc.github.io/ for more MS integration - if that’s your bag.

    I often see people getting whizzed up about whether LO can compete with MSO. I wrote a finite (yes, finite) capacity scheduler for a factory in MS Excel, back in 1995/6 - it involved a lot of VBA and a mass of checksums etc. I used to teach word processing and DTP (Quark, Word, Ventura and others). LO cuts it. It gets on my nerves when I’m told that LO isn’t capable by someone who is incapable of fixing a widow or orphan or for whom leading and kerning are incomprehensible.