Archive

For February, 2014

How to use the command line to make the internal speaker beep

No Comments

Two simple steps:

Install the beep utility. Executing beep on the command line will make the internal speaker beep.

apt-get install beep

Add pcspkr to /etc/modules to load it at boot time. You can load it manually by executing

modprobe pcspkr

How to prevent SSHD to listen on an address family

No Comments

It is possible to control on which address family sshd will listen to. In /etc/ssh/sshd_config, simply add

AddressFamily any

to listen to IPv4 and IPv6 addresses. This is the default. Alternatively, add one of these to listen only to IPv4 (inet) or IPv6 (inet6) respectively.


AddressFamily inet
AddressFamily inet6

Lexar USB Stick Case

No Comments

A “Lexar USB Stick Case” is now available. More details at Lexar USB Stick Case.

How to assign a static IP address in Ubuntu

No Comments

Setting a static IP address in Ubuntu involves editing /etc/network/interfaces. If the interface is currently using DHCP, you will find these lines in the file.

auto lan
iface lan inet dhcp

You will have to replace the above lines with a section that looks like:

auto lan
iface lan inet static
address 192.168.1.80
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.200
dns-nameservers 8.8.8.8

Make the changes effective by either rebooting or by issuing this command:

sudo /etc/init.d/networking restart

How to change the network interface name in Ubuntu 12/13

No Comments

Two files need to be modified to change the name of a network interface in Ubuntu. For example, if you want to change eth0 for lan, simply change the NAME attribute from eth0 to lan in these files and reboot. Do not modify the KERNEL attribute.

/etc/udev/rules.d/70-persistent-net.rules
/etc/network/interfaces

Simple, Yet Stylish Phone Stand Printable Rods

No Comments

A “Simple, Yet Stylish Phone Stand Printable Rods” is now available. More details at Simple, yet stylish phone stand Printable Rods.

605ZZ Bearing Mockup

No Comments

A “605ZZ Bearing Mockup” is now available. More details at 605ZZ Bearing Mockup.

40 Mm Fan Deflector

No Comments

A “40 Mm Fan Deflector” is now available. More details at 40 mm Fan Deflector.

Blue Taste Theme created by Jabox