Difference between revisions of "Debian"

From Technologic Systems Manuals
(→‎Aging and Obsolescence: Added information about how Debian handles older versions of the operating system.)
 
(8 intermediate revisions by 2 users not shown)
Line 12: Line 12:
  
 
= Overview =
 
= Overview =
Debian is a lightweight, stable, and mature linux distribution that has been around since 1993 and has over 29,000 software packages.  The package design is quite modular, which allows developers to pick exactly what is needed for their project without building everything from source.
+
Debian is a lightweight, stable, and mature linux distribution that has been around since 1993 and has over 29,000 software packages.  The package design is quite modular, which allows developers to pick exactly what is needed for their project without building everything from source. Technologic Systems' default user account is 'root' with no password.  Some pre-2014 systems also include a user account 'eclipse' with the password 'eclipse'.
 +
 
 +
= Network Configuration =
 +
You can change the default IP address of 192.168.0.50 to something that suits your network a little more. If you're interested in setting up a dynamic IP address, simply use the "dhclient" command from within Debian or "udhcpc" from within the busybox/fastboot environment.  Older versions of Debian will use "pump" instead of dhclient. If you'd like a bit more control over the IP address, you can set the SBC up with a static IP address. From within Debian, edit "/etc/network/interfaces" to reflect the changes you'd like to make:
 +
 
 +
  # Used by ifup(8) and ifdown(8). See the interfaces(5) man page or
 +
  # /usr/share/doc/ifupdown/examples for more information.
 +
 
 +
  auto eth0
 +
  #iface eth0 inet dhcp
 +
  iface eth0 inet static
 +
          address 192.168.1.100
 +
          network 192.168.1.0
 +
          netmask 255.255.255.0
 +
          broadcast 192.168.1.255
 +
          gateway 192.168.1.1
 +
 
 +
 
 +
  #auto eth1
 +
  #iface eth1 inet dhcp
 +
Then, edit the "/etc/resolv.conf" file to reflect the DNS servers:
 +
 
 +
  #domain ts-local.net
 +
  #search ts-local.net
 +
  nameserver 208.67.222.222
 +
  nameserver 208.67.220.220
 +
Now, reset the eth0 interface by using the command:
 +
 
 +
<source lang=bash>
 +
ifdown eth0; ifup eth0
 +
</source>
 +
 
 +
Test the connection using the command:
 +
<source lang=bash>
 +
ping google.com
 +
</source>
 +
 
 +
For more advanced networking, see [http://www.debian.org/doc/manuals/reference/ch05.en.html Debian's documentation]
  
 
= Package Management =
 
= Package Management =
Debian will offer [[http://www.debian.org/doc/manuals/apt-howto/ better documentation on this subject]], but this should be enough to get started.
+
Debian will offer [http://www.debian.org/doc/manuals/apt-howto/ better documentation on this subject], but this should be enough to get started.
  
 
''' Update packages '''
 
''' Update packages '''
Line 36: Line 73:
 
''' Search for packages '''
 
''' Search for packages '''
 
<source lang=bash>
 
<source lang=bash>
ts7500:~# apt-cache search nmap  
+
apt-cache search nmap
doscan - port scanner for discovering services on large networks
 
foomatic-gui - GNOME interface for configuring the Foomatic printer filter system
 
honeyd - Small daemon that creates virtual hosts simulating their services and behaviour
 
knmap - KDE interface to nmap, the Network Mapper
 
lanmap - Network discovery tool that produces nice 2d images
 
libnmap-parser-perl - parse nmap scan data with perl
 
ndiff - Compares two nmap scans
 
nmap - The Network Mapper
 
zenmap - The Network Mapper Front End
 
nwatch - Network service detector
 
p0f - Passive OS fingerprinting tool
 
pads - Passive Asset Detection System
 
paketto - Unusual TCP/IP testing tools
 
pbnj - a suite of tools to monitor changes on a network
 
piwi - P(erl|relude) IDS Web Interface - A frontend to your Prelude database
 
pnscan - Multi threaded port scanner
 
psad - The Port Scan Attack Detector
 
python-scapy - Packet generator/sniffer and network scanner/discovery
 
scapy - dummy upgrade package for scapy -> python-scapy
 
xprobe - Remote OS identification
 
 
</source>
 
</source>
 +
 +
= Aging and Obsolescence =
 +
Debian, like many other operating system packages, is continually evolving and changing.  There comes a time in the lifespan of every revision when it is no longer in the organization's best interest to maintain active development on an older version.  When this happens in Debian, the organization signifies this by moving the distribution to its archives.  These are rarely or never updated, but provide an archival and functional repository for package versions through the current version when the distribution was placed in archive.  This allows older systems and implementations to continue to operate into the foreseeable future with only a small change to the core OS filesystem.  Further information on this topic is documented on Debian's web site [https://www.debian.org/distrib/archive here].

Latest revision as of 11:25, 20 May 2016

Debian.jpg
[[1]]
Documentation
Debian Wiki

1 Overview

Debian is a lightweight, stable, and mature linux distribution that has been around since 1993 and has over 29,000 software packages. The package design is quite modular, which allows developers to pick exactly what is needed for their project without building everything from source. Technologic Systems' default user account is 'root' with no password. Some pre-2014 systems also include a user account 'eclipse' with the password 'eclipse'.

2 Network Configuration

You can change the default IP address of 192.168.0.50 to something that suits your network a little more. If you're interested in setting up a dynamic IP address, simply use the "dhclient" command from within Debian or "udhcpc" from within the busybox/fastboot environment. Older versions of Debian will use "pump" instead of dhclient. If you'd like a bit more control over the IP address, you can set the SBC up with a static IP address. From within Debian, edit "/etc/network/interfaces" to reflect the changes you'd like to make:

  # Used by ifup(8) and ifdown(8). See the interfaces(5) man page or
  # /usr/share/doc/ifupdown/examples for more information.
  auto eth0
  #iface eth0 inet dhcp
  iface eth0 inet static
          address 192.168.1.100
          network 192.168.1.0
          netmask 255.255.255.0
          broadcast 192.168.1.255
          gateway 192.168.1.1


  #auto eth1
  #iface eth1 inet dhcp

Then, edit the "/etc/resolv.conf" file to reflect the DNS servers:

  #domain ts-local.net
  #search ts-local.net
  nameserver 208.67.222.222
  nameserver 208.67.220.220

Now, reset the eth0 interface by using the command:

ifdown eth0; ifup eth0

Test the connection using the command:

ping google.com

For more advanced networking, see Debian's documentation

3 Package Management

Debian will offer better documentation on this subject, but this should be enough to get started.

Update packages

apt-get update
apt-get upgrade

Install packages

apt-get update
apt-get install python2.4

Remove packages

apt-get remove python2.4

Search for packages

apt-cache search nmap

4 Aging and Obsolescence

Debian, like many other operating system packages, is continually evolving and changing. There comes a time in the lifespan of every revision when it is no longer in the organization's best interest to maintain active development on an older version. When this happens in Debian, the organization signifies this by moving the distribution to its archives. These are rarely or never updated, but provide an archival and functional repository for package versions through the current version when the distribution was placed in archive. This allows older systems and implementations to continue to operate into the foreseeable future with only a small change to the core OS filesystem. Further information on this topic is documented on Debian's web site here.