• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[QUOTE=mastersrp;51125791]Also keep your static IPs seperate from your DHCP pool, it makes these problems impossible.[/QUOTE] It was outside my DHCP pool, its just I was sequentially assigning raspberry pi's reserved DHCP IPs (outside of the pool's range) in the same area of my network. I just forgot I had this device in the first place.
[QUOTE=Cakebatyr;51128106]It was outside my DHCP pool, [b]its just I was sequentially assigning raspberry pi's reserved DHCP IPs (outside of the pool's range)[/b] in the same area of my network. I just forgot I had this device in the first place.[/QUOTE] I'm sorry but that doesn't make sense. It can't be "reserved DHCP IP" but outside the pool. That's the pool. The pool is what the DHCP server can give out. It's a list of IP addresses of one or more networks that are dynamically assignable (or even statically assignable through DHCP MAC bonding).
[QUOTE=mastersrp;51128178]I'm sorry but that doesn't make sense. It can't be "reserved DHCP IP" but outside the pool. That's the pool. The pool is what the DHCP server can give out. It's a list of IP addresses of one or more networks that are dynamically assignable (or even statically assignable through DHCP MAC bonding).[/QUOTE] Lets say my DHCP Pool is 192.168.1.100-192.168.1.109. I'm assigning (via my DHCP server) PC1's MAC to ..1.20, PC2 to ..1.21, PC3 to ..1.22, etc. If I gave a device a static IP of ..1.30 and forget about it, eventually I'm going to run into issues when PC10 needs to be assigned.
[QUOTE=Cakebatyr;51128233]Lets say my DHCP Pool is 192.168.1.100-192.168.1.109. I'm assigning (via my DHCP server) PC1's MAC to ..1.20, PC2 to ..1.21, PC3 to ..1.22, etc. If I gave a device a static IP of ..1.30 and forget about it, eventually I'm going to run into issues when PC10 needs to be assigned.[/QUOTE] Yes because youre assigning a static IP from within your dhcp pool, which is a big no no Either that or youve run out of space in the pool after .29?
[QUOTE=Cakebatyr;51128233]Lets say my DHCP Pool is 192.168.1.100-192.168.1.109. I'm assigning (via my DHCP server) PC1's MAC to ..1.20, PC2 to ..1.21, PC3 to ..1.22, etc. If I gave a device a static IP of ..1.30 and forget about it, eventually I'm going to run into issues when PC10 needs to be assigned.[/QUOTE] Listen, if you're going to be assigning shit statically using DHCP, don't configure devices to use static IP addresses. Let them all use DHCP, and let your DHCP server configure their static IP addresses. This is slower, but centralized. You won't forget about this ever either, because the server knows. If you're doing this, you're not manually assigning static IP addresses. If, however, you wish to manually assign static IP addresses, there's only one way: Keep a DHCP pool, and keep it dynamic. Manually assign static IP addresses OUTSIDE the pool, locally on each device. This is the fastest way in terms of performance. You will write down every single static IP you make, because there's no reasonable way to keep check of it otherwise. Document it.
[QUOTE=mastersrp;51128937]Listen, if you're going to be assigning shit statically using DHCP, don't configure devices to use static IP addresses. Let them all use DHCP, and let your DHCP server configure their static IP addresses. This is slower, but centralized. You won't forget about this ever either, because the server knows. If you're doing this, you're not manually assigning static IP addresses. If, however, you wish to manually assign static IP addresses, there's only one way: Keep a DHCP pool, and keep it dynamic. Manually assign static IP addresses OUTSIDE the pool, locally on each device. This is the fastest way in terms of performance. You will write down every single static IP you make, because there's no reasonable way to keep check of it otherwise. Document it.[/QUOTE] I realize that, this is why when I found out that it was a static IP I changed it to DHCP and made the original post saying "oops i had this device as a static IP and it's been causing issues with a recently setup computer set as DHCP". Everything I have goes though my router's DHCP server because it is centralized. You've also made it clear that what I considered the DHCP Pool, which I thought meant specifically the range of dynamic IPs the router will assign to devices connecting to it, is in fact the whole /24.
[QUOTE=Cakebatyr;51129122]I realize that, this is why when I found out that it was a static IP I changed it to DHCP and made the original post saying "oops i had this device as a static IP and it's been causing issues with a recently setup computer set as DHCP". Everything I have goes though my router's DHCP server because it is centralized. You've also made it clear that what I considered the DHCP Pool, which I thought meant specifically the range of dynamic IPs the router will assign to devices connecting to it, is in fact the whole /24.[/QUOTE] It isn't. The DHCP pool is just the pool of addresses your DHCP server can dynamically assign.
[QUOTE=Levelog;51129518]It isn't. The DHCP pool is just the pool of addresses your DHCP server can dynamically assign.[/QUOTE] Or statically assign through MAC bonding.
[QUOTE=mastersrp;51131295]Or statically assign through MAC bonding.[/QUOTE] Yes when you reserve an address in your pool, otherwise it's just a static IP not in the pool.
[QUOTE=~Kiwi~v2;51136057]Whoever thought that by default a mouse should have acceleration should be shot.[/QUOTE] I think pretty much every OS does it. It's not really a bad assumption, it's considered nice if you have a shitty mouse/mousepad, like most people do.
[QUOTE=thelurker1234;51136089]I think pretty much every OS does it. It's not really a bad assumption, it's considered nice if you have a shitty mouse/mousepad, like most people do.[/QUOTE] Not always, a lot of mice have acceleration built into the firmware and you can't turn it off at all. One of the big things about this Logitech G502 was that it has no acceleration of any kind.
I have been playing around with Fedora 24 and Plasma. So far it has been quite good, but I have this really strange issue where images get this strange pink-ish tint. The strange thing is that it only happens in some image viewers, for example Gwenview. Shotwell works just fine. [thumb]http://i.imgur.com/KmMZoIU.png[/thumb] Another strange observation: If I open the screenshot above in Gwenview, the colors between the two applications gets swapped around, so that Gwenview shows the true colors, and Shotwell goes pink. Anyone got any idea what is going on here? Although you got to admit, it does make that car look quite fabulous.
[QUOTE=drblah;51136357]I have been playing around with Fedora 24 and Plasma. So far it has been quite good, but I have this really strange issue where images get this strange pink-ish tint. The strange thing is that it only happens in some image viewers, for example Gwenview. Shotwell works just fine. [thumb]http://i.imgur.com/KmMZoIU.png[/thumb] Another strange observation: If I open the screenshot above in Gwenview, the colors between the two applications gets swapped around, so that Gwenview shows the true colors, and Shotwell goes pink. Anyone got any idea what is going on here?[/QUOTE] Seems like gwenview swaps around Green and Blue in RGB. [editline]1st October 2016[/editline] [IMG]http://s21.postimg.org/cn0817vkn/color_swap.png[/IMG] Both samples taken from approx the same place on the small car in each of the pictures.
[QUOTE=Van-man;51136363]Seems like gwenview swaps around Green and Blue in RGB. [editline]1st October 2016[/editline] Both samples taken from approx the same place on the small car in each of the pictures.[/QUOTE] That would explain why viewing the screenshot makes the image normal again. I wonder why though it does that in the first place.
[QUOTE=drblah;51136392]That would explain why viewing the screenshot makes the image normal again. I wonder why though it does that in the first place.[/QUOTE] No idea, but try and see if gwenview has some 'color palette' settings that can be fiddled with.
Fixed it. The default color profile in KDE Plasma for my primary monitor was bad. I swapped it with the one in Gnome and now everything seems fine again.
[QUOTE=Lyoko2;51080046]qt has superior theming engine, the problem here is that you don't have a proper default qt theme set. qt tries to be compatible with gtk based desktops and it does so well according to my knowledge. on the other hand, the current situtation with gtk apps is total mess, you have gtk3, gtk2 which are not compatible to each other unlike qt5 with qt4 that have nice compatability.[/QUOTE] Yeah apparently my GTK theme (Arc-OSX) is GTK3, so anything GTK2 looks like shit. Is there a way to combine them? Or should I look for a GTK2 theme that will automatically work for GTK3 apps? Although I don't get why a GTK3 theme would mess up GTK2 themes. If I switch to Ambiance (the default), the problem is resolved.
I can no longer reinstall Ubuntu 16.04 or Linux Mint 18, for some reason. Yesterday, I broke Linux Mint and decided to remove it completely and reinstall it. I have Windows 10 dual-booted with it. I removed it completely and removed Grub. Then I attempted to reinstall it but the installer kept crashing every time. So I tried to reinstall Ubuntu instead of Mint, but the installer also kept crashing every time. I even went as far as wiping my entire SSD (including wiping Windows 10), reinstalling Windows 10 and then trying to install Linux Mint again, but the installer still crashed. Did the recent Windows 10 update (updated to build 14393.0) do something that is preventing me from installing Ubuntu or Linux Mint? What could be causing this and how can I find out more about this. I couldn't find anything like this when I googled it, and I've never had this problem before.
[QUOTE=~Kiwi~v2;51158318] Does anyone use Sublime Text 2 for Linux specifically Arch?(using AUR package cause only thing available) I'm having several issues where the cursor is not updating on cut and it's also deleting random lines. I have already purged the config files in case it was the config fucking it up but that's not the case.[/QUOTE] I did before but I tend to use spacemacs or vim nowadays or even atom. Try using the [URL="https://aur.archlinux.org/packages/sublime-text-dev"]sublime-text-dev[/URL] package?
[QUOTE=~Kiwi~v2;51159311]sublime dev package seems to be a massive improvement in the little time i needed to use it[/QUOTE] True, but if you're doing light work why not use something like vim?
[QUOTE=~Kiwi~v2;51159473]I can't stand vi/vim. Also I only needed it to work for like the 5 minute changes I had to made. I do use Sublime Text daily :v:.[/QUOTE] Ah, fair enough. Use atom maybe? idk. [sp]vim is the future though, join the masterrace[/sp]
[QUOTE=~Kiwi~v2;51159561]I'll give atom a test run. [sp]NO. IT DONT FEEL RIGHT.[/sp][/QUOTE] Notepad++ via Wine over an Xpra X11 forwarder is the best way to edit in style on a headless server. [t]https://helifreak.duckdns.org/image/20161006083903570.png[/t] The compression artifacts add that touch of class.
Can anyone help me with the screen tearing that is going on in games and outside of it? I am using Antergos 64-bit and afaik the VBlank was supposed to remove it but it didn't. Using NVIDIA 340.xx driver on my GT240M GPU.
[QUOTE=~Kiwi~v2;51158318]If you've completely wiped the SSD that would also remove the boot records/MBR/UEFI for Windows and Grub so you shouldn't have any issues with installing Windows 10 with out UEFI and Linux(in your case Linux Mint 18 and/or Ubuntu 16.04) with out UEFI and using Grub as the boot loader. I also have a question. Does anyone use Sublime Text 2 for Linux specifically Arch?(using AUR package cause only thing available) I'm having several issues where the cursor is not updating on cut and it's also deleting random lines. I have already purged the config files in case it was the config fucking it up but that's not the case.[/QUOTE] All right, I'll try installing it without UEFI. Thanks for the help. Sublime Text use to be my favorite text editor, but then I found Atom, and my life improved. By the way, since we're talking about editors, why do files that I edit with Emacs seem like they have good indentation when I edit them with Emacs, but actually have messed up indentation if I open them with another editor? For example, I was once taking a Data Structures course and I was using Emacs for the practical part of the course. At the end of the semester, I had to submit some of my work to my teacher, so I opened them with Sublime Text to make sure that my code was correct and discovered that the indentation was messed up, even though it was fine on Emacs, which is what I used to make the files, in the first place. I tried opening them in another text editor (Gedit), and the indentation was also messed up. I had to manually edit every file and fix the indentation before submitting them. :( In Emacs, I was using Stroustrup's c-style, which indents with 4 spaces.
[QUOTE=~Kiwi~v2;51159561]I'll give atom a test run. [sp]NO. IT DONT FEEL RIGHT.[/sp][/QUOTE] You might also try joe
Please join the [del]evil forces[/del] lovely group of Visual Studio Code {p}artysans. We have TypeScript, IntelliSense, and cookies. Or use the convenient bash heredocs to input the source file line-by-line (god may help you if you realise you fucked up one life, you have to start over): [code] $ cat <<EOF > main.c #include <stdio.h> /* you are typing this shit right here until you have a line with EOF */ int main() { printf("why would you even do this\n"); return 0; } EOF $ gcc main.c ... [/code]
Why are you abusing your cat? [code]$ gcc -xc -[/code]
[QUOTE=lavacano;51161010]You might also try joe[/QUOTE] Joe was one of my favorite editors for some time. It's surprisingly good. For people who do happen to like vi/m, I'd also recommend looking at vis. It's pretty neat for those tiny editors. There's also ed but not a lot of people use it. It's scriptable though, like a LOT.
[QUOTE=~Kiwi~v2;51159561]I'll give atom a test run. [sp]NO. IT DONT FEEL RIGHT.[/sp][/QUOTE] Everyone tells me atom is slow which I don't get. Sure, maybe it takes like a second or two longer to startup than vim, but then it works just fine. My only problem with it is that it's electron so it's harder to make it look like the rest of my desktop but it has power mode which makes up for that 100%. [sp]I know people make fun of it and I should probably confess my usage of it to a priest but I can't help but use power mode[/sp] I also use ee for small things that I don't want atom for, like messing with config files. Only problem with ee is that it's from FreeBSD so most distros won't provide it. It's a little bit like nano, and is in the FreeBSD base system in-case you aren't kinky enough to punish yourself with vi. edit: it's usually packaged as easyedit so might lookup that if interested
[QUOTE=mastersrp;51162474]Joe was one of my favorite editors for some time. It's surprisingly good. For people who do happen to like vi/m, I'd also recommend looking at vis. It's pretty neat for those tiny editors. There's also ed but not a lot of people use it. It's scriptable though, like a LOT.[/QUOTE] joe's what I'm using on windows these days i used to use gvim but it keeps trying too hard to blend itself in as a windows program and i got sick of vim hotkeys not working because they changed it to something supposedly more windows-y taking "behave mswin" out of the vimrc didn't help either, somehow
Sorry, you need to Log In to post a reply to this thread.