BenV's notes

Tag: linux

The Humble Indie Bundle

by BenV on May.05, 2010, under Software

Hej folks.

The guys over at Wolfire Games have a sweet deal this week if you’re into fun cross platform indy games.
It’s simple: you go over to the Humble Bundle, determine how much you would like to pay for a bundle of DRM free, cross platform (Linux, Mac OSX and Windows) games and on top of that you also get to say who gets how much of the money (the developers, EFF or Child’s Play).
Isn’t that sweet?

The games are good too, we’re talking about World of Goo, Aquaria, Gish, Lugaru HD, and Penumbra.

So go over to the Humble Bundle and get yourself a copy while paying them what you think it’s worth!
I did :)

Leave a Comment :, , , more...

Minor annoyance about linux

by BenV on Aug.31, 2009, under Morons, Software

So I’m working on a little info script (check out Infoscreen) so I can have a nice overview
of my server when I look at console number one without having to log in etc.

Simple question:
“Where in /proc can I find a list of IP addresses with corresponding interfaces?”

Simple answer:
Try /proc/net/if_inet6!

wouter@wouter-laptop:~:0>cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80       lo
20010888148d0000022100fffe221352 04 40 00 00    wlan1
fe80000000000000022100fffe221352 04 40 20 80    wlan1

… that’s great…. but I really wanted the IPv4 addresses as well.
“/proc/net/if_inet4″ or “/proc/net/if_inet”? Noooooo….

Conclusion: KANKER LINUX!

Obviously I can get the address by calling ‘ip addr show‘, ‘ifconfig‘ or a heap of other solution involving calling ioctl on sockets or using the netlink interface… but seriously, blegh.

The most retarded thing is that pretty much every other statistic about my network devices is there… including active connections and whatnot, but ipv4 addresses? Nooooo….. *RAAH*

Leave a Comment :, , , , more...