LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices

Uncategorized Entries with no category
Old

powering down a USB port

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

A USB device can be powered down by setting the power level parameter:
Code:
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:
Code:
echo auto >/sys/bus/usb/devices/
...
Senior Member
Posted in Uncategorized
Views 358 Comments 0 neonsignal is offline
Old

running Windows inside VirtualBox

Posted 06-04-2012 at 04:13 AM by neonsignal
Updated 06-04-2012 at 05: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:
Code:
apt-get install virtualbox-ose
Because the software is...
Senior Member
Posted in Uncategorized
Views 320 Comments 0 neonsignal is offline
Old

using NTP to synchronize the system clock

Posted 06-01-2012 at 08: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:
Code:
server au.pool.ntp.org
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 327 Comments 0 neonsignal is offline
Old

automated network settings for a laptop

Posted 05-24-2012 at 06: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 308 Comments 0 neonsignal is offline
Old

building a Debian kernel

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

To build a Debian kernel, first install the build tools. The ncurses package is used by the configuration menu.
Code:
apt-get install kernel-package ncurses-dev
Also get the source package
Code:
apt-get install linux-source-2.6
The source is archived, and has to be extracted into /usr/src:
Code:
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 300 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement

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