background preloader

Debian

Facebook Twitter

Jens' (un-)official debian-repository for the Code::Blocks - IDE - Iceweasel. View topic - HOWTO: Install ECLIPSE with C/C++ Development Tools & gdb - Iceweasel. Chapter 5. Network setup. The functionalities described here are completely optional. I, being lazy and minimalist, rarely bother to use these. Here is how to use the ifplugd package for the internal Ethernet port, e.g. eth0. Remove stanza in "/etc/network/interfaces": "auto eth0" or "allow-hotplug eth0". Keep stanza in "/etc/network/interfaces": "iface eth0 inet …" and "mapping …". Install the ifplugd package.

Run "sudo dpkg-reconfigure ifplugd". Now, the network reconfiguration works as you desire. Upon power-on or upon hardware discovery, the interface is not brought up by itself. We skipped explaining the mapping stanza in the "/etc/network/interfaces" in Section 5.5.2, “The basic syntax of "/etc/network/interfaces"” to avoid complication.

Mapping <interface_name_glob> script <script_name> map <script_input1> map <script_input2> map ... Let's follow the execution of the following. $ sudo ifup eth0 $ sudo ifup eth0=$(echo -e '<script_input1> \n <script_input2> \n ...' | <script_name> eth0) Installing Debian Lenny on a ThinkPad T61. Hardware ThinkPad T61 7663-13G Overview Kernel Configuration Version: 2.6.22 SATA Issues Currently, SATA mode is set to "Compatibility" in the BIOS and I'm using the ATA_PIIX driver, which finds both the hard and the cdrom drive. Running in the AHCI mode worked for me - the hard drive showed up as /dev/sda and the cdrom as /dev/hda. IRQ Issues Occasionally, I get messages like irq 23: nobody cared (try booting with the "irqpoll" option) [<c>] __report_bad_irq+0x24/0x80 [<c0156b11>] note_interrupt+0x251/0x290 [<c0155d65>] handle_IRQ_event+0x25/0x50 [<c015725b>] handle_fasteoi_irq+0xbb/0xf0 [<c0106bfb>] do_IRQ+0x3b/0x70 [<c0104b53>] common_interrupt+0x23/0x28 [<f>] acpi_processor_idle+0x21e/0x3e2 [processor] [<f>] acpi_processor_idle+0x0/0x3e2 [processor] [<c>] cpu_idle+0x84/0xe0 [<c0387a3f>] start_kernel+0x2ef/0x370 [<c03871f0>] unknown_bootoption+0x0/0x260 ======================= handlers: [<f888b530>] (usb_hcd_irq+0x0/0x60 [usbcore]) Disabling IRQ #23 Temporary Workaround Temporary Workaround 2.

View topic - keyboard not working after upgrade. Xorg. Translation(s): English - French - Italiano Xorg is the default X Window server since Debian 4.0 (etch). It replaces XFree86 and is maintained in Debian by the XStrikeForce. Current Status The current versions shipped in Debian are listed on packages.debian.org: Jessie: xorg (7.7), xserver-xorg-core (1.16). Version numbers Xorg version numbering has changed since xorg 7.0. Debian version number follows upstream convention. Configure X To reconfigure keyboard settings in Squeeze (and later) run as root in a terminal: # dpkg-reconfigure keyboard-configuration Edit xorg.conf Some settings are only accessible through editing xorg.conf by hand. How can I edit my xorg config file? Open a terminal (or console) as root, then run : # editor /etc/X11/xorg.conf What if I do not have an xorg config file?

If xorg.conf is missing for some reason, Xorg will probe your hardware on every startup. Switch to a console as root (not a terminal emulator in X), then run: $ cd /etc/X11/ # Xorg -configure Run X $ startx. LSBInitScripts. Translation(s): none A status page for dependency based boot sequencing is available. This is a short documentation about how to make an Init Script LSB (Linux Standard Base)-compliant based on the Chapter 20 of the LSB 3.1. LSB-compliant init scripts need to: provide, at least, the following actions: start, stop, restart, force-reload, and status.

And should also follow Debian Policy, chapter 9.4 Console messages from init.d scripts) Full information on the actions (and return codes) that LSB scripts have to honor are available at LSB 3.1, Chapter 20.2. Run-time dependencies Adding run-time dependencies was a release goal for Lenny, and dependency based boot sequencing is the default in Squeeze. By documenting the run-time dependencies for init.d scripts, it becomes possible to verify the current boot order, order the boot using these dependencies, and run boot scripts in parallel to speed up the boot process.

Add a block like this in the init.d script: # {keyword}: arg1 [arg2...] LSBInitScripts/DependencyBasedBoot. Translation(s): none Debian was converted to order the boot sequence using the LSB fields in the header of each init.d script. This has removed several bugs in the former boot sequence, and now makes it easier to keep the sequence correct.

Advantages Did you ever need to insert a init.d scripts Y before init.d scripts Z and after init.d script X, where both Z and X is started using boot sequence number 20 (as in 20X and 20Z)? Adding your script as 20Y would not cut it, because you need Z to start before X. Some examples of such problems are 256699 294053, 279297, 311057 and 475626 . How to add a service when using dependency-based booting In Debian releases prior to 6.0, a service could be added with update-rc.d: update-rc.d mydaemon defaults Starting with Debian 6.0, the insserv command is used instead, if dependency-based booting is enabled: insserv mydaemon Where mydaemon is an executable init script placed in /etc/init.d. insserv will produce no output if everything went OK.

Status. Bash - Exit Shell Script Based on Process Exit Code. Debian Cleanup Tip #1: Get rid of useless configuration files. Cleaning up a Debian GNU/Linux system. Posted by pupeno on Thu 9 Nov 2006 at 10:04 You arrive at a Debian GNU/Linux server which has some history of neglection. Let's suppose someone else neglected it but if your new-year resolution is to stop neglecting your beloved server, this applies as well. One form of neglection is to install, install, install and never un-install any package.

The common utility to perform installation and un-installation of packages is apt-get which adds to the problem because it doesn't have automatic removal of non-needed dependences. That means that when phpMyAdmin was installed it also installed Apache, PHP and ton of other packages. phpMyAdmin was removed when it was no longer needed but Apache, PHP and the ton of packages remain there. Aptitude to the rescue. That is nice, but since the neglecting previous administrator didn't use Aptitude, all the packages are marked as non automatically installed. A little explanation about this. Aptitude search ~i | grep -v "i A" | cut -d " " -f 4.

The Debian GNU/Linux FAQ. [ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ next ] Abstract This document answers questions frequently asked about Debian GNU/Linux. Copyright Notice Copyright © 1996-2013 by Software in the Public Interest, portions copyright © 2004, 2005, 2006 Kamaraju Kusumanchi Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Contents The Debian GNU/Linux FAQ. The Debian GNU/Linux FAQ - Customizing your installation of Debian GNU/Linux. [ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ next ] 11.1 How can I ensure that all programs use the same paper size? Install the libpaper1 package, and it will ask you for a system-wide default paper size. This setting will be kept in the file /etc/papersize. Users can override the paper size setting using the PAPERSIZE environment variable. For details, see the manual page papersize(5). 11.2 How can I provide access to hardware peripherals, without compromising security?

Many device files in the /dev directory belong to some predefined groups. If you want a certain user to have access to one of these devices, just add the user to the group the device belongs to, i.e. do: adduser user group This way you won't have to change the file permissions on the device. If you do this from within a user's shell or a GUI environment you have to logout and login again to become an effective member of that group.

Do not: Debian GNU/Linux 6.0 Squeeze - Initial Settings - Set Command Alias. The Debian Maintenance HOWTO. 5.1 System cloning After a crash or when a second system should be set up as a backup server, it is helpful to simply clone the first system into the second one instead of manually installing everything. This is actually possible and can be achieved without much work. All you need as additional software is dselect even though you may have considered it archane. In section Installed Packages, Section 3.3 you have already been told how to dump the status of all packages known to the system into a file. This file needs to be transferred to the second machine and imported there via dpkg --set-selections. Afterwards start dselect and let it update its internal database.

When this is done, hit the install target and let dselect finish the job. 5.2 Keyboard This section only covers the keyboard layout for (virtual) text consoles. The default.kmap.gz file is a compiled and compressed keymap, generated from /usr/share/keymap with all #include statements expanded. 5.3 Time and Timezone . 5.6.2 less. Debian Reference - Debian package management. [ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ A ] [ next ] aptitude is now the preferred text front end for APT, the Advanced Package Tool. It remembers which packages you deliberately installed and which packages were pulled in through dependencies; the latter packages are automatically de-installed by aptitude when they are no longer needed by any deliberately installed packages.

It has advanced package-filtering features but these can be difficult to configure. synaptic is now the preferred Gtk GUI front end for APT. Its package filtering capability is easier to use than aptitude's. To reduce the network load on the Debian repositories and to speed up your downloads you should get packages from Debian mirror sites.

If you need to install the same package on several machines on your local network then you can set up a local HTTP proxy using squid for packages downloaded through APT. 6.1 Introduction and type.