Help answer threads with 0 replies.
Go Back > Blogs
User Name



powering down a USB port

Posted 06-08-2012 at 10:25 AM by neonsignal

A USB device can be powered down by setting the power level parameter:
echo suspend >/sys/bus/usb/devices/usb-device/power/level
However, note that the power suspend is done by the slave device, not by the port. Not all USB devices can be suspended (particularly parasitic ones such as lights that have no communications interface).

The device can be turned back on by setting it to auto mode:
echo auto >/sys/bus/usb/devices/
Senior Member
Posted in Uncategorized
Views 376 Comments 0 neonsignal is offline

running Windows inside VirtualBox

Posted 06-04-2012 at 05:13 AM by neonsignal
Updated 06-04-2012 at 06:59 PM by neonsignal

The VirtualBox project provides full x86 virtualization, and was developed by innotek and Sun (now Oracle). The licence is GPL, although there are some optional proprietary extensions, which include USB drivers and RDP support. On newer processors (with AMD-V or VT-x processor), there are other libre alternatives such as KVM.

To install VirtualBox is just a matter of installing the package:
apt-get install virtualbox-ose
Because the software is...
Senior Member
Posted in Uncategorized
Views 333 Comments 0 neonsignal is offline

using NTP to synchronize the system clock

Posted 06-01-2012 at 09:45 PM by neonsignal

The network time protocol (NTP) is used to synchronize the system clock with a network of high accuracy clock sources around the world.

A typical way of using ntp is to just install the ntp package, and then edit /etc/ntp/conf and choose a time server, for example:
The ntp daemon will then maintain the local system clock on an ongoing basis.

On a minimal system, to avoid the memory overhead of the ntp daemon,...
Senior Member
Posted in Uncategorized
Views 346 Comments 0 neonsignal is offline

automated network settings for a laptop

Posted 05-24-2012 at 07:09 AM by neonsignal

Sometimes when a laptop is used on multiple networks (such as work and home), there are different network settings to be configured (particularly if static settings are required).

The guessnet package can be used to augment ifupdown for this purpose; guessnet allows automated tests to be run when the network interface is initializing (such as testing the router mac address) as a way of choosing a configuration.

An example would be mapping eth0 to a static network setting...
Senior Member
Posted in Uncategorized
Views 328 Comments 0 neonsignal is offline

building a Debian kernel

Posted 11-27-2011 at 07:14 PM by neonsignal

To build a Debian kernel, first install the build tools. The ncurses package is used by the configuration menu.
apt-get install kernel-package ncurses-dev
Also get the source package
apt-get install linux-source-2.6
The source is archived, and has to be extracted into /usr/src:
tar xfj linux-source-2.6.32.tar.bz2
It is helpful for other tasks (such as modules) to have access to the linux...
Senior Member
Posted in Uncategorized
Views 317 Comments 0 neonsignal is offline


All times are GMT -5. The time now is 04:43 PM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration