3,391 reputation
31436
bio website lekensteyn.nl
location Netherlands
age 20
visits member for 3 years, 1 month
seen 2 days ago

Former Kubuntu desktop user, now using Arch Linux. Open-source enthusiast, programmer.

Interests: network protocols, Linux kernel, server administration, Android, breaking & fixing stuff.


2d
comment How Debian package should create user accounts?
When adduser is used, it also needs to be depend on the package. See: lintian.debian.org/tags/…
Jul
19
comment How to run a specific program as root without a password prompt?
This advice is insecure. The sudo part of sudo chmod u+x create_dir.sh is unnecessary as the user has (presumably) ownership over his/her home dir. Since the user can write to create_dir.sh, you have effectively given a free root shell to that user.
Jul
16
comment How do I share an internet connection through USB?
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
Jul
16
answered Delete whole line if after “:” less than 4 chars
Jul
11
awarded  Nice Question
Jul
8
comment Make Linux load specific driver for given device (Realtek NIC)
By the way, for testing network throughput you should use iperf. On one side of the link, run iperf -s, on the other one iperf -c 10.1.2.3 (where 10.1.2.3 the IP address of the server side).
Jul
8
answered Make Linux load specific driver for given device (Realtek NIC)
Jul
8
comment Make Linux load specific driver for given device (Realtek NIC)
Hey, I see you have rev10 of the 8169 device. Could you do me a favor and send me a dump of your EEPROM? You need this patch: git.lekensteyn.nl/peter/linux/commit/…. I want to compare it against an older EEPROM dump I have, my card suffers from amnesia which leads to a broken device (advertised as 8129). Please contact me at peter@lekensteyn.nl for more information, I can also provide a datasheet if wanted.
Jul
7
revised How to type several file names with fewer key strokes
added quotes to prevent breakage on spaces
Jul
2
awarded  Curious
Jul
2
awarded  Popular Question
Jul
1
awarded  Civic Duty
Jul
1
comment How to disable a mouse movement input, while leaving mouse buttons enabled?
Neat hack. The available properties can be found with xinput list 6 (where 6 is the device). Documentation about the properties can be found here: x.org/wiki/Development/Documentation/PointerAcceleration
Jul
1
comment How to close ports in Linux?
In this answer, "closing the port" means "ignoring any traffic to it". The port is still open, but it cannot be reached anymore. Also note that DROP does as it says, it sees the packet and then ignores it. Normally (without iptables enabled), the kernel would send an ICMP port unreachable packet back (which can be simulated with the REJECT target instead of DROP).
Jun
30
answered How to 'simulate' a Fn key
Jun
30
comment Using three grep commands to sort and alphabetically order
man sort; man find; man ls. And please do not use an all-caps title.
Jun
30
awarded  Popular Question
Jun
29
awarded  Enlightened
Jun
29
answered Capture web traffic grouped by individual TCP streams
Jun
29
awarded  Nice Answer