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

Notices


Uncategorized Entries with no category
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 883 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 876 Comments 0 neonsignal is offline
Old

public key for repositories

Posted 11-26-2011 at 06:14 AM by neonsignal
Updated 11-26-2011 at 06:16 AM by neonsignal

When adding a new apt repository and calling apt-get update, the following message indicates that the signing key for that repository has not been added to the apt keyring:
Code:
The following signatures couldn't be verified because the public key is not available
These keys can be added in manually, although this may vary between repositories. For example, on the debian-multimedia.org, the keys can be obtained by installing the package debian-multimedia-keyring....
Senior Member
Posted in Uncategorized
Views 808 Comments 0 neonsignal is offline
Old

preserving the master boot record

Posted 11-21-2011 at 07:54 PM by neonsignal

The master boot record (MBR) from an unmounted drive can be preserved using dd. For example, boot from a live CD and copy the master boot record of the hard drive sda to a usb key mounted at /mnt/sdb1:
Code:
dd if=/dev/sda of=/mnt/sdb1/mbr.img bs=512 count=1
The MBR can be restored in a similar way. Be very cautious at this step, because the MBR typically holds the partition table and the initial boot loader stage, so a mistake can be difficult to recover from....
Senior Member
Posted in Uncategorized
Views 884 Comments 0 neonsignal is offline
Old

removing extra console terminals

Posted 11-20-2011 at 06:12 PM by neonsignal

Many Linux distros are installed to have multiple consoles, selected using ctrl-alt-f1 through to ctrl-alt-f6. Where memory is extremely tight, this can be reduced to save some space, by commenting out the relevant [i/]/sbin/getty[/i] lines in /etc/inittab. This will also mean that X will be invoked from a different ctrl-alt-f sequence.

Note that this will only save around half a meg of resident memory per console, so for conventional desktop/laptop systems it is not worth changing....
Senior Member
Posted in Uncategorized
Views 811 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration