Linux Embedded devices with PicoDebian Martin Noha 28.9.2006



Similar documents
OpenWRT - embedded Linux for wireless routers

HTTP-FUSE PS3 Linux: an internet boot framework with kboot

RH033 Red Hat Linux Essentials or equivalent experience with Red Hat Linux..

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Version 1.0. File System. Network Settings

Running Debian on Inexpensive Network Attached Storage Device

IT6204 Systems & Network Administration. (Optional)

EXPLORING LINUX KERNEL: THE EASY WAY!

II. Installing Debian Linux:

Open Network Install Environment

An Embedded Wireless Mini-Server with Database Support

Windows Server 2008 R2 Essentials

Ultra Thin Client TC-401 TC-402. Users s Guide

Managed Backup Service - Agent for Linux Release Notes

NG-NetMS Rel 3.1 User Install documentation

The Virtual Environment

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

SUSE LINUX Enterprise Server for SGI Altix Systems

RHCSA 7RHCE Red Haf Linux Certification Practice

CYAN SECURE WEB APPLIANCE. User interface manual

EZblue BusinessServer The All - In - One Server For Your Home And Business

Create a virtual machine at your assigned virtual server. Use the following specs

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

Setting up pfsense as a Stateful Bridging Firewall.

LSN 10 Linux Overview

ServerPronto Cloud User Guide

Zeroshell as filtering bridge with connection tracking log and HAVP proxy

A candidate following a programme of learning leading to this unit will be able to:

ENTERPRISE LINUX SYSTEM ADMINISTRATION

3.5 EXTERNAL NETWORK HDD. User s Manual

PZVM1 Administration Guide. V1.1 February 2014 Alain Ganuchaud. Page 1/27

What is included in the ATRC server support

PARALLELS SERVER BARE METAL 5.0 README

Navigating the Rescue Mode for Linux

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

Release Notes for Fuel and Fuel Web Version 3.0.1

EZblue BusinessServer The All - In - One Server For Your Home And Business

Syncplicity On-Premise Storage Connector

Parallels Cloud Server 6.0 Readme

ExtremeWireless Maintenance Guide

Parallels Cloud Server 6.0

OpenWRT. Khalid Baheyeldin Kitchener Waterloo Linux Users Group. August 2014

Chapter 8 Monitoring and Logging

Chapter 4 Management. Viewing the Activity Log

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive

Oracle Linux 7: System Administration Ed 1 NEW

What the student will need:

Windows Server 2008 Essentials. Installation, Deployment and Management

OS Installation Guide Red Hat Linux 9.0

GLS250 "Enterprise Linux Systems Administration"

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

PROPOSAL: OCP COMMON LINUX SWITCH DISTRIBUTION. Rob Sherwood and Mansour Karam OCP November 2013

Amahi Instruction Manual

ALTIRIS Deployment Solution 6.8 Preboot Automation Environment

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

LOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013

QuickStart Guide for Client Management. Version 8.7

QuickStart Guide for Managing Computers. Version 9.2

Plexxi Control Installation Guide Release 2.1.0

Basic System. Vyatta System. REFERENCE GUIDE Using the CLI Working with Configuration System Management User Management Logging VYATTA, INC.

Installing the Operating System or Hypervisor

Deployment - post Xserve

Embedded Linux Platform Developer

Gigabyte Management Console User s Guide (For ASPEED AST 2400 Chipset)

Documentation OpenScape Business V1 Linux Server

ML310 VxWorks QuickStart Tutorial. Note: Screen shots in this acrobat file appear best when Acrobat Magnification is set to 133.3%

Installing Operating Systems

Penetration Testing LAB Setup Guide

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

System administration basics

Open Network Install Environment (ONIE) LinuxCon North America 2015

USB 2.0 Flash Drive User Manual

CounterACT 7.0 Single CounterACT Appliance

Extreme Control Center, NAC, and Purview Virtual Appliance Installation Guide

LOCKSS on LINUX. Installation Manual and the OpenBSD Transition 02/17/2011

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

Getting Started Guide

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III

Pharos Control User Guide

Acronis Backup & Recovery 10 Workstation. Installation Guide

AdvLinux for i486sx User Manual V1.02

Ubuntu Sever Administration

Comtrend 1 Port Router Installation Guide CT-5072T

Where can I install GFI EventsManager on my network?

Quick Start Guide. Quick Start Guide. taskit GmbH. for Portux920T EU / SW Portux Mini-PC Portux Panel-PC Panel-Card MoLUX Stamp

Intel Entry Storage System SS4000-E

Building a Private Cloud Cloud Infrastructure Using Opensource

Customizing Boot Media for Linux* Direct Boot

NI Real-Time Hypervisor for Windows

Feature Comparison: idrac 7 & 8 and idrac8 License Chart

Paul McFedries. Home Server 2011 LEASHE. Third Edition. 800 East 96th Street, Indianapolis, Indiana USA

Hyper-V Installation Guide for Snare Server

OpenBSD in the wild...a personal journey

Oracle VM Server Recovery Guide. Version 8.2

Transcription:

Embedded systems Linux Embedded devices with PicoDebian Martin Noha 28.9.2006 24.03.2005 1

Agenda Why did I look in this stuff? What is an embedded device? Characteristic hardware global requirements for software some small distributions Pico Debian out of the box Customizing 24.03.2005 2

Why did I look in this stuff? costs Security convenience 24.03.2005 3

Why did I look in this stuff (2)? DSL termination AP basic services firewalling reporting compliant with dummies (girl friend) Conclusion: I want an embedded device 24.03.2005 4

What is an embedded device? no noise no hard disk, no fan > no moving parts may need keyboard and monitor Not very powerful processor Limited memory (64 128 MB) Compact flash instead of hard disk Limited capability for extensions No battery > no time buffering 24.03.2005 5

Characteristic hardware http://www.pcengines.ch 24.03.2005 6

Characteristic hardware (2) http://www.soekris.com 24.03.2005 7

Characteristic hardware (3) http://www.lex.com.tw Keyboard and Monitor connector Supports harddisk 24.03.2005 8

global requirements for software ability to boot from flash no write access to flash read only file system Capability to run within limited resources flexible configuration 24.03.2005 9

some small distributions Embedded Debian Monowall DSL (Dammed Small Linux) Trinux Linux Router Project Pebble > pyramid Linux PicoDebian 24.03.2005 10

PicoDebian out of the box thinned down version of the Debian Sarge hardware support depends on kernel uses Squashfs has two partitions (root and boot) generates RAM disk at boot image generation on development server configuration in chroot env. on dev. server Runs with 32MB CompactFlash Consists of two parts the SW itself and some scripts 24.03.2005 11

PicoDebian out of the box (2) Advantages flexible with all Debian packets in the background Same administration like a standard Debian system Disadvantages Squashfs requires new image and reboot for each config change chroot env has problems with module installation devices may miss in /dev all logs are deleted at power down problem with update of image online 24.03.2005 12

PicoDebian out of the box (3) Scripts are used for Image generation setting up the chroot environment Installation process Partitioning of flash in dev server install boot loader (grub) in MBR Adopt boot image to size of boot partition adopt system specific parameter e.g. fd device, boot parameter, mount table, root password, etc. generate image and copy it to flash (dd best) move flash to target system and boot 24.03.2005 13

PicoDebian out of the box (4) what can go wrong what went wrong no monitor no info about boot process > serial connection needed kernel not found > reconfigure grub Panic because of wrong root device > reconfigure grub network device not supported > new kernel needed no access because of missing passwords > Horrible update method 24.03.2005 14

PicoDebian customizing tecnical track Customizing step 1 own kernel without modules kernel update impacts only /boot change of partitions adding a seconded system extending the scripts Mainly adding a copy function and parameter adding a RW section in the boot partition that is copied to the RAM disk at boot 24.03.2005 15

PicoDebian customizing (2) tecnical track Customizing step 2 integrating unionfs change of partitions adding a 5 MB system HW adding an Atheros based WLAN mini PCI Card adding madwifi driver to kernel building AP kernel must support modules again Kernel installation is more complex E.g depmod a does not work in chroot 24.03.2005 16

PicoDebian customizing (3) tecnical track Customizing Kernel download from www.kernel.org and unpack patch with squashfs patch with unionfs patch with configure new options Make debian kernel package, unionfs tools, madwifi modules Install kernel, and unionfs tools and madwifi modules (manual work needed) Customize grub menu 24.03.2005 17

PicoDebian customizing (2) tecnical track Normal operating Update mode / / /boot /boot /etc /etc /root /root /. /. 10MB /boot Hda1 ext2 25 MB / update system Hda2 Squashfs 50 MB / (normal) root Hda3 Squashfs 5 MB for union FS ext2 selection at boot via grub or predefined (problem: /boot must be rw mounted 24.03.2005 18

PicoDebian customizing (4) tecnical track Update method enter chroot env on dev server modify elements (apt get update, upgrade ) generate image boot into update mode transfer image for hda1 and hda 3 (dd via ssh) and reboot copy main env to update env Generate update image and transfer to hda2 that s all 24.03.2005 19

PicoDebian customizing (5) tecnical track Services running DSL termination Default system applications (syslog etc) iptables firewall with wondershaper basic services ntp, dns, dhcp, ssh, snmpd squid some ipv6 stuff (not relevant) Dyndns client Hostapd and radius bridge 24.03.2005 20

PicoDebian customizing (6) tecnical track Versions based on debian sarge (tried ubuntu too) Kernel 2.6.17.11 Squashfs 3.0 (supports up to 2.6.15 officially) snapshot of unionfs (2006/06/20) official release supports only 2.6.15.x Madwifi 0.91 hostapd with 801.x authentication (TLS) Radius server 24.03.2005 21

PicoDebian rescue system for mailserver Different use case rescue system for a company mail server boots by default into a PicoDebian installation offers maintenance without mounted filesystem needes one partition and 50 MB remote hands needs to press reset only all filemgt toos are includes in the image kernel has to be patched with squashfs uses same kernel as productive system 24.03.2005 22