Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
7
Newest
 Curious
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
Jan
1
comment How to temporarily change the gateway of a secondary IP?
@DavidSchwartz Yes
Dec
28
comment How to temporarily change the gateway of a secondary IP?
@MariusMatutiae I'll try the below first answer; I hope you're wrong, but you migth be just right :)
Dec
27
comment How can I tell if my multiple network interfaces are working ok?
@MariusMatutiae would this do it in one line: ip route add from 192.168.0.0/24 gw 192.168.0.1 dev wlan1 or maybe ip route add from 192.168.0.0/24 via 192.168.0.1?
Dec
26
comment How can I tell if my multiple network interfaces are working ok?
Would ip route add 192.168.0.0/24 dev wlan1 (or ip route add 192.168.0.0/24 dev 192.168.0.1 do the trick of temporarily route all the packets for this subnet through that gateway?
Dec
26
comment How can I tell if my multiple network interfaces are working ok?
Actually my next question would have been what is the one liner command I can use to setup a temporary default gateway for a given IP address. Again, I don't want a static configuration, more than happy to input the one liner command each time. Thanks!
Dec
26
comment How can I tell if my multiple network interfaces are working ok?
You both are right, in fact if I use BIND_ADDR="192.168.0.4" LD_PRELOAD=./bind.so firefox, I can open the broadband router just fine (on 192.168.0.1).
Dec
26
comment How can I tell if my multiple network interfaces are working ok?
Thanks, this looks like the answer I was looking for. Do you know if there's a way to do it programmatically? Are the changes persistent?
Dec
26
comment How can I tell if my multiple network interfaces are working ok?
@Xyon I guess I'll have to write a simple test executable to see what errors the kernel is returning when creating TCP/UDP connections?
Dec
26
comment How can I tell if my multiple network interfaces are working ok?
@Xyon How can I verify that? Even if I use the bind shim? That LD_PRELOAD trick is supposed to force all binds and connect to 192.168.0.4?
Feb
1
comment Why does 'dd' produce different files for same USB stick?
@TOOGAM Isn't bs=xxx just determining the speed only? At the end of the day it shouldn't make any difference, right? I expect that if the last block is less than xxx, to be truncated automagically. Am I wrong?
Feb
1
comment Why does 'dd' produce different files for same USB stick?
I thought I'd been a bit of an idiot in having it mounted the first time around when I executed dd. I guess I'll keep the file taken with the device unmounted. Scary!
Feb
1
comment Why does 'dd' produce different files for same USB stick?
Nope. I guess I should have, right?
Dec
26
comment What can I do when my UPS overloads?
@Twisty I know, but I didn't check the label, and I asked specifically to have a UPS capable of supporting 500W... This is what I got sold... first (and last) time I trust them! Now I just bought a Trust Oxxtron 1500VA... this should be ok...
Dec
26
comment What can I do when my UPS overloads?
Noooaaaa when I bought this I was told it's 650W... Ofc it doesn't work! Those ***** at Maplin lied to me...
Dec
26
comment What can I do when my UPS overloads?
No, my two displays are not connected to the ups, neither printer nor anything else.
Jan
5
comment Is it ok to limit writes on SSD/EXT4 by setting commit parameter in fstab?
So changing from default 5 seconds to 30 seconds should increase corruption? You mean only in the case of a power outage, right? Btw I've got a UPS so this should be a quite rare event..
Jan
2
comment Is it ok to limit writes on SSD/EXT4 by setting commit parameter in fstab?
I was reading around a lot of unnecessary writes on SSD are just impacting on the H/W, reducing its lifespan.
Dec
28
comment Should I put the home directories on an SSD?
Thanks, I wanted to do this. What's the point of having and SSD and not using it? My only concern is related to durability, because my 'old OCZ has failed me... wouldn't want neither kernel neither home to disappear... :-)
Dec
28
comment Should I put the home directories on an SSD?
Just bought a 1 TB SSD Samsung 840 EVO. I'll partition on 2 and leave one partition for OS, another for /home then.
Dec
28
comment Should I put the home directories on an SSD?
The OS files should be mainly used in R/O mode, which is fine. Home directories instead are used in very R/W mode; I just wouldn't want to have a broken SSD, where I lose both my OS and home files...