Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

SEAL62

Member
  • Content Count

    330
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    SEAL62 reacted to tikker in Python 2.7 Autobahn 19.11.2 Documentation   
    The documentation is likely still relevant. In any case it's recommended that you switch to Python 3 if possible, because 2 is end-of-life for a while now. These problems will only get worse.
  2. Like
    SEAL62 reacted to Uptivuptiz in What switch to buy for home 10Gb/s setup between my NAS and 2 PCs   
    I thought about buying an old datacenter switch but I'm deploying it in my home so noise is a big factor 🙂 
     
    Thank you both @SEAL62and @mariushmfor the suggestions.
  3. Like
    SEAL62 got a reaction from Uptivuptiz in What switch to buy for home 10Gb/s setup between my NAS and 2 PCs   
    QNAP QSW-M408S would be a cheap solution for what you want, 4 10 Gigabit SFP+ Ports, 8 Gigabit RJ45 Ports.
  4. Like
    SEAL62 reacted to Sauron in Netifaces error in python   
    yep, that was definitely the issue then.
    I would just uninstall python2 if I were you unless you have a specific need for it. Otherwise you can use an alias or specify you want python 3 by using "python3" instead of "python".
  5. Informative
    SEAL62 reacted to Sauron in Netifaces error in python   
    check what python version your terminal defaults to:
     
    python -V  
    it may be different from the one vscode uses
  6. Agree
    SEAL62 reacted to Levent in Old lttstore designs   
    You want us to help you or are you just making a status update as a thread? If you want help start by posting a picture of these mystery shirts.
  7. Agree
    SEAL62 reacted to whispous in Fastest PCI 3.0 M.2 Drive?   
    You're really not going to find much difference by replacing the MP510 with anything else. There will be faster, lower latency drives, but you won't make any noticable difference. The biggest Boot/launch problem is the mobile i5, and even if it was an i7, the extra speed wouldn't make a giant amount of difference.
  8. Informative
    SEAL62 reacted to Sauron in Getting my IP adress and adding it to a file in python   
    oh, just remove the "\n" here, I shouldn't have added it because it's already in the line
    new_config += line #+ "\n"  
    Try using netifaces
    pip install netifaces  
    import netifaces as ni local_ip = ni.ifaddresses('eth0')[ni.AF_INET][0]['addr'] #... rest of the code as before https://stackoverflow.com/a/24196955
  9. Informative
    SEAL62 reacted to Sauron in Getting my IP adress and adding it to a file in python   
    Wouldn't it be better to assign a static IP address to your machine?
     
    If you really want to do it this way...
    import socket local_ip = socket.gethostbyname(socket.getfqdn()) new_config = "" with open("/etc/pihole/setupVars.config", "r") as config: for line in config: if line[:12] == "IPV4_ADDRESS": #find correct line new_config += "IPV4_ADDRESS=" + local_ip + "/24\n" #replace ip address with the correct value else: new_config += line + "\n" #all other lines are kept as they are with open("/etc/pihole/setupVars.config", "w") as config: config.write(new_config) #overwrite the file with the new configuration  
  10. Informative
    SEAL62 reacted to Sauron in Getting my IP adress and adding it to a file in python   
    Please never, ever do this. Your program should not rely on system tools like "sudo" that may or may not be available, not to mention this will just prompt the user for their password for no reason. Use a native python module like socket:
    import socket local_ip = socket.gethostbyname(socket.getfqdn()) https://stackoverflow.com/a/166520
    Depends on the format of this configuration file.
  11. Agree
    SEAL62 reacted to Levent in I am out of ideas, and I don't know where to look.   
    lol.
    Rent a VPS from somewhere. SSH into said VPS. Either set your VPN from scratch (not that hard) or use something like angristan's openvpn-installer (Assuming your router supports opnevpn). Download the client configuration from the server.
    input the required values (or if your router supports importing .ovpn files, that also would work)
    Done.
    I am not sure what exactly you are trying to do. You havent given us anything to go by other than you "bruteforced the hostname" and you got a "asus" router.
  12. Like
    SEAL62 got a reaction from RockSolid1106 in Creating First Cheap NAS! Need Help!!   
    Other Option would be to get yourself a raspberry pi with any linux distro on it and run a samba share (or alike) file sharing server off of it. connect your HDDs for storing data via USB to the raspberry and share them over the network or with your own vpn server on the raspberry even on the go.
  13. Agree
    SEAL62 got a reaction from RockSolid1106 in Creating First Cheap NAS! Need Help!!   
    SATA or SAS are the better option of course but as you already stated, the budget is very tight, so you have to make some compromises. USB isn't that bad and does work, however that would be the first thing to switch as soon as there is some money available again.
  14. Agree
    SEAL62 reacted to SorryClaire in Creating First Cheap NAS! Need Help!!   
    At a budget that low, just get a prebuilt NAS and run in RAID 1. Synology DS220J can easily be had for around 200$ and you can find 4TB drives at around 70$. Or, you can just find any used PC with a LAN port, run TrueNAS, and load it in with new HDD with the rest of the budget that you have.
  15. Agree
    SEAL62 got a reaction from SorryClaire in What's up with the phone market   
    Accept that 3.5 mm is dead? yes, that has been the case for about 4 maybe 5 years now
    Who would have thought that newer bigger phones with way faster proccessors more RAm and so on need more power, therefore bigger batteries and what a surprise, get heavier. Just lay a S21 Ultra next to your S7 and you will see and feel why it is heavier but also why that is a benefit rather than a compromise.
    Can't really understand those "old times were better" type of arguments.
  16. Agree
    SEAL62 got a reaction from Mel0nMan in What's up with the phone market   
    Accept that 3.5 mm is dead? yes, that has been the case for about 4 maybe 5 years now
    Who would have thought that newer bigger phones with way faster proccessors more RAm and so on need more power, therefore bigger batteries and what a surprise, get heavier. Just lay a S21 Ultra next to your S7 and you will see and feel why it is heavier but also why that is a benefit rather than a compromise.
    Can't really understand those "old times were better" type of arguments.
  17. Like
    SEAL62 reacted to Lurick in Self-signed certificate on Synology NAS   
    Using the self signed cert utility I don't believe so, you can do it via openssl though and then import the certs
  18. Like
    SEAL62 reacted to Lurick in Self-signed certificate on Synology NAS   
    If it's similar to the QNAP you should see the expiration date in the certificate creation area of Synology. You should otherwise be able to see it in the browser, for Firefox if you click on the padlock > Connection Secure > More Information > Security, it will tell you when it expires. Chrome is similar, click on the Not Secure where the padlock is > Certificate (Invalid), and it will bring up a window that gives the start/expiration date for the cert.
  19. Agree
    SEAL62 reacted to Chris Pratt in Recomandation for Linux Distro   
    Pop_OS! is about as easy as it gets. There's a version with Nvidia proprietary driver support baked in, and you have an actual app store like experience for installing things.
  20. Agree
    SEAL62 reacted to 7heo in Make pc accessible for my gf from a remote location   
    Another way to circumvent the need for a "dynamic" DNS is to tunnel from one of your machines to a remote, internet-facing machine. Like you would do with a reverse proxy. That gives you the advantage of having the possibility to drastically restrict the access to said remote machine, and log/monitor all access through it without it itself being accessible.
     
    This is the concept behind bastions, such as ssh bastions. Yes, that requires an internet facing machine, but it also allows you to perform all the checks you desire (strong auth, fail2ban, 2FA, etc) while simultaneously monitoring and possibly alerting you of events.
  21. Agree
    SEAL62 got a reaction from 7heo in Make pc accessible for my gf from a remote location   
    Best practice is to use a VPN to your home network, you don't need to use your public IP but can (as you already stated) use a DynDNS as an example. RDP is safe over something like a VPN so no need to worry here. Open VPN usually works best for such usecases you can setup your own server on your machine that you are trying to gain acces to (as this machine would have to run for that acces anyway) or you could setup a rspberry pi in your network that runs the VPN server as an exmaple.
  22. Agree
    SEAL62 reacted to Oshino Shinobu in how do you remove a screw that won't stop turning, that's fixing a motherboard in a case?   
    You're probably unscrewing the standoff rather than the screw, sometimes it can happen. Is this the last screw holding it in? If you unscrew all the others, then unscrew this one while gently lifting the board, the board will come out, bringing the standoff with it. From there you can just grip the standoff with something and unscrew the screw from it. 
  23. Informative
    SEAL62 reacted to 8tg in Could you put anti-freeze into a custom loop vs water?   
    There are two things that are liquid at room temperature, are better than water for thermal transfer, won’t explode and can theoretically be put in a computers liquid cooling system.
    Mercury, and Hydrofluoric Acid.
     
    Now the issues for each, Mercury is extremely heavy and you need an obscene pump and stainless steel hardware. And if you were to spill something like a liter of Mercury in your home you’d have the EPA knocking down your door and locking down the entire towns water supply.
     
    Hydrofluoric acid is a controlled substance because it’s used to make antidepressants, it can also kill you extremely easily because it eats away at flesh as it mixes in with water. So while you could easily put it in either a glass/ceramic water cooling system with maybe copper or aluminum contact  plates, any spill would destroy your pc, the desk, create toxic vapor which would kill you, anything that got on you would kill you, and honestly it’s just not recommended.
     
    Water is the best for low heat dissipation use cases like computers.
    Antifreeze is primarily to keep the liquid from expanding or contracting too much, and in the name, keep it from freezing. Glycol that’s used in antifreeze is actually worse for thermal transfer than water.
    Putting antifreeze won’t help your system unless you put your pc outside in the winter.
     
  24. Agree
    SEAL62 got a reaction from CommanderAlex in Upgrading my Ram worth it?   
    The performance gain that you would get by switching from 3200 to 3600 MHz or CL16 to CL14 will probably only be measurable but you won't "feel" a difference. We are talking about a single digit percentage increase in performance at best.
  25. Agree
    SEAL62 reacted to Kilrah in Wifi Disconnects Randomly Windows 10   
    If all machines have the issue the problem is likely with the router/AP, not the PCs.
×