Playstation 2 Linux Tutorial - Setup guide V.01
Aka The Linux kit (for PlayStation® 2)
I WONT HELP ANYONE WITH GETTING THE THINGS DETAILED HERE WORKING (instructions are VERY basics)
TODO / NOT INCLUDED IN THIS TUTORIAL
(help me figure out how to do this):
Turning OFF PS2Linux by pressing R1+L1+START on PS2 Joypad, creating a keyboard shortcut for turning OFF PS2Linux, installing a different Window Manager (e.g. IceWM or Fluxbox) and using it on PS2Linux
PS2linux Facts
You can buy official Kit here:
USA / CANADA: http://us.playstation.com/hardware/more/SCPH-97047.asp 200 $
Europe, Africa and the Middle East: http://www.linuxplay.com (249 Euros + Tax + delivery)
New Zealand: http://nz.playstation.com/nz.playstation.com/technology/linuxkit.jhtml
($599.95 NZ)
Kernel stuff
2.2.1 ; its is VERY difficult to update kernel, but you can use the Black-Rhino BETA kernel (http://playstation2-linux.com/projects/xrhino-kernel/ ) or SWAP completely to the Black-Rhino [debian] Distribution (http://blackrhino.xrhino.com/main.php?page=home )
KDE and GNOME + other Window Managers are included but OUTDATED.
Do I have to use PS2LINUX, if I want Linux on my PS2?
Currently: YES!
You can use Black Rhino (a distribution based on Debian), but in order to install it, you HAVE TO have PS2Linux installed. I heard some rumours about someone trying to port GENTOO to PS2, but I don’t think they’ll be successful…
What does the Linux Kit include?
- Internal hard disc drive (for PlayStation 2) (HDD) with a 40 GB capacity
- Network Adaptor (Ethernet) (for PlayStation 2) 10/100 Base-T Ethernet interface
- Computer Monitor Cable (for PlayStation 2) (with audio connectors)
- USB Keyboard and Mouse (for PlayStation 2)
- Linux (for PlayStation 2) version 1.0 software distribution on 2 DVD-ROM Discs
- DISC 1 contains the Runtime Environment and the PlayStation 2 System Manuals and is Sony Computer Entertainment Copyright material.
- DISC 2 contains the Software Packages to be installed. This is the main Linux distribution. Each software package has its own license.
What do I REALLY need from the Kit?
You actually ONLY need the Setup DVDs (You can use a standard SONY Network Adapter, your Memory Card, any HDD, any USB keyboard + mouse and you can use your TV as display [[[LOW-RES]]] )
Useful Commands (please do a search with google on them)
Login, Exit, Halt (turns off PS2Linux), Reboot (reboots PS2Linux, Find, Locate, TAR, RPM, Make, ./Configure, CD, CP, Mkdir, Chown, Chmod, “TAB-Button”, dir, mount, umount, Patch, Setcrtmode
Important Links
http://playstation2-linux.com/
http://playstation2-linux.com/projects/cfyc/
http://playstation2-linux.com/softwaremap/megatree.php
http://playstation2-linux.com/faq.php
http://www.ps2linux.com/ (Japanese, use BABELFISH)
http://blackrhino.xrhino.com/main.php?page=home
http://babelfish.altavista.com/
Links
http://www.bacup.freeserve.co.uk/PS2/PS2GUIDE.htm
http://www.playstation-family.vze.com/
http://phatbox.sixpak.org/ps2linux/
http://www.0xd6.org/
http://playstation2-linux.com/faq.php
https://playstation2-linux.com/files/mozilla-ps2/ps2mousewheel_1.0.html
https://playstation2-linux.com/files/cfyc/HOWTO_setup_samba.html
http://playstation2-linux.com/docs/netstation2/display_doc.php?docid=35&raw=1
https://playstation2-linux.com/download/cfyc/HOWTO_blindly_install_ps2linux.html
Basic Installation Tips
SELECT + R1
You can install PS2Linux without having a monitor, simply press these button combinations at the “Playstation 2” LOGO (prior to Disc spinning up; hold down till you see a blue screen)
Video mode Key combination
VGA Select + L1
NTSC Select + R1
PAL Select + R2
(thanks to M R Brown for this)
Language (Keyboard Layout)
You can select your regional keyboard layout during the installation process ( I use de-latin1-NODEADKEYS for german keyboard layout)
Install All
Instead of choosing the the 1. of the 3. selection possibilities, choose NO. 3, (CUSTOM installation) and select ALL packages
Manually Setting up Network
During the setup process, you will be asked to configure your network… do so, if you use a router to connect to your broadband service.
IF YOU USE A ROUTER
disable DHPS, and put in your data
( you need to know this:
1) The IP address to be used for the playstation2
2) The Subnet Mask to be used.
3) The Primary Server.
4) The default gateway.
(This is the IP address thru which the PS2 will connect to the Internet)
Setup PS2Linux to boot on TV-Screen after installing
At the very end of the setup process, PS2Linux installer will ask you to put in a MemoryCard, AFTER formatting it(ca 45 seconds) DO NOT PRESS ANY KEYS, do this:
Press "Alt+F2"
Press enter .
Type "chroot /mnt/sysimage /bin/bash" and enter .
Type "mount /mnt/mc00" and enter .
- If you are in PAL territories:
Type "echo display=pal > /mnt/mc00/p2lboot.opt" and enter . (Do not forget to hold shift when pressing ">"). - If you are in NTSC territories:
Type "echo display=ntsc > /mnt/mc00/p2lboot.opt" and enter . (Do not forget to hold shift when pressing ">").
Type "umount /mnt/mc00" and enter .
Type "exit" and enter .
Press "Alt+F1" and continue…
SDR (choose GUI)
When you boot PS2Linux for the first time, type the command sdr at the BASH for choosing your desired GUI:
There are quite a few and i suggest you try them all and use the one you are most comfortable with. I suggest starting of with the KDE as it is very similar to the windows environment which most people are used to.
To choose the GUI use the up and down arrow Keys to move through the list and TAB to change columns. Once your choice has been highlighted press 'q' to quit; the first time you choose a GUI you have to say yes twice ( type 'y' ).
StartX (starts graphical environment)
Type startx at the bash ( startx -- -screen 0 NTSC OR startx -- -screen 0 PAL )
Setup Tips
Runlevel (set Runlevel to 5 if you want to boot up directly to a graphical environment, do NOT do this if you want to use AUTOLOGIN!)
Edit this file: /etc/inittab
Change id:3:initdefault: to id:5:initdefault:
Recompiling Kernel (you need this if you want to enable autofs and other stuff in the kernel)
1) cd /mnt
2) mount mc00
3) cd /usr/src/linux
4) su (enter your root password) (If you already logged in as root, skip this step)
5) make mrproper
6) make xconfig (you need a GUI running; need to change anything here but you must ' save & exit `)
7) make dep
8) make clean
9) make
10) make modules
11) make modules_install
12) cp /usr/src/linux/vmlinux /mnt/mc00
13) cd /mnt
14) umount mc00
15) reboot
Smap.O (update Ethernet Driver)
More info and download is available at:
http://playstation2-linux.com/projects/ps2linux
there are 2 ways of installing this update, I like the one with recompiling kernel:
cd /usr/src/linux/drivers/ps2
mv smap.c smap.c.orig
cp smap.c.us /usr/src/linux/drivers/ps2/smap.c
cd /usr/src/linux
cp config_ps2 .config
--> RECOMPILE KERNEL and REBOOT
Modem Patch (enables modem for use in PS2Linux)
AGAIN: there are 2 ways, i prefer the one with recompiling kernel:
Download this file: linux-2.2.1_ps2-modem.diff from
http://playstation2-linux.com/projects/ps2linux ,use the PATCH command at BASH
to apply the patch (this SHOULD work:
copy the patch to /usr/src/linux, type patch –p0 < linux-2.2.1_ps2-modem.diff in /usr/src/linux
--> RECOMPILE KERNEL and REBOOT
AutoFS (automounts your built-in CDROM when needed, unfortunately NO long filenames are supported)
--> RECOMPILE KERNEL
(with filesystem/automounting set to YES) and REBOOT
mkdir /vol
chmod 755 /vol
Create this FILE : /etc/auto.vol with following contents :
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
cdrom -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
edit this FILE: /etc/init.d/autofs with following contents:
#!/bin/sh
#
# autofs This script starts autofs
#
/usr/sbin/automount -t3 /vol file /etc/auto.vol
exit 0
then you need to set permissions of the file autofs:
chmod 755 /etc/init.d/autofs and
rmdir /mnt/cdrom
ln -s /vol/cdrom /mnt/cdrom
IMPORTANT: for some reason PS2Linux creates WRONG names for links to /etc/init.d/autofs in /etc/rcX.d/ folders (X=number), you need to check it and RENAME filenames that are SIMILAR to this: K08autofs to S08autofs, if you do NOT do this, automounting WONT work.
FStab (automount MemoryCard 1)
Edit this file: /etc/fstab and remove Noautomount in the line with mc00 to make Memorycard 1 be automatically mounted on boot, make sure that the order in the file stays in COLUMNS
Remove margins around image when in Tv-Mode
Download this file: http://phatbox.sixpak.org/ps2linux/Xgsx.bz2
Close GUI…
Copy file Xgsx to /usr/X11R6/bin/ and replace exisiting file
Memory Card Crack (lets you copy SaveGames to HDD)
Download this file: http://www21.brinkster.com/psfamily/no-bwlinux-check-2.2.1.diff
Copy it to: /usr/src/linux , go into /usr/src/linux and type at BASH:
patch -p1 < no-bwlinux-check-2.2.1.diff
--> RECOMPILE KERNEL and REBOOT
MouseWheel (enables MouseWheel in various applications)
edit this file: /etc/X11/XGSConfig and make these changes:
Protocol "IMPS/2"
Device "/dev/mouse"
ZAxisMapping 4 5
AND
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Emulate3Buttons
# Emulate3Timeout 50
Resolution and Display
Edit /etc/X11/XGSConfig and change some settings in
# Screen section
Autologon + StartX (starts directly to GUI without asking for login+password)
Dowload this file: http://krzywanek.de/linux/autostart.zip
Copy the file autologin to /sbin/
Edit this file: /etc/inittab :
Change "1:2345:respawn:/sbin/mingetty tty1" TO "1:2345:respawn:/sbin/autologin tty1 login -f username" ,(username is YOUR username, I used root)
edit YOUR bash_profile file (I edited /root/bash_profile): add “startx” at the bottom.
Wu-FTPD FTP-Server
Edit file: /etc/inetd.conf
Add „ ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l –a” at the bottom
NOW you can use a login/password YOU created in PS2Linux to login to your PS2Linux HDD (I created the folder /SHARE/ to upload stuff, IMPORTANT: use a graphical filebrowser to change owner/permissions on that folder, so you can upload and create stuff!!!
SAMBA (I didn’t try this myself, but it SHOULD work)
To setup Samba it will be necessary to edit the files on the Playstation2 that are used for configuring Samba.
I will provide Instructions of how I configured Samba for use and examples of the actual files that I use on my PS2.
By following the instructions and modifying the files provided to suit your needs it should be possible for you to successfully configure samba for your use.
The Table below shows the settings of my PC and the PS2 and the user accounts used on both machines. (note that the passwords shown are not hte proper passwords, these are intended for demonstration purposes only. in order to highlight the fact that the PC account uses the same password as the Linux account on the PS2).
There are three files that you will need to edit on the playstation2. To edit these files you will need to be logged in as root. If unfamiliar with linux I suggest opening up your GUI and using a text editor for editing the files instead of using vi (vi is a text editor which can be difficult for novice users). Before editing the files I created a folder in the home directory of rdj1 on the PS2. The folder is what I use for sharing files between the two pcs. Alternatively you can use the actual home directory of the user but you will have to modify the smb.config file accordingly.
I created the folder mysambashare which is what I use as a shared folder between the two machines. I did this with the following command:
mkdir /home/rdj1/mysambashare
The files you will need to edit are:
/etc/hosts
/etc/smbconfig
/etc/smbusers
I reccomend creating a backup of the above files before starting the editing process.
1)
Lets start with the /etc/hosts file. This file contains IP addresses on the left and names on the right. The names can be used instead of the IP address when wanting to communicate with another machine. For example with the file below (my copy of the /etc/hosts file I can Ping my PC by issueing the Ping command followed by RICHARD instead of the IP address. Edit your /etc/hosts file to contain a new entry for your PC. The new entry I made is highlighted Below in red.
/etc/hosts
127.0.0.1 localhost
192.168.0.1 RICHARD RICHARD.MSHOME.com
2)
Now lets move onto the smbusers file. Similar in functionality to the /etc/hosts file. It allows you to assign (associate) user account names from other systems with a user account on the Linux system. For example it allows me to associate the username Richard from the PC with the User name rdj1 on my PS2. This file stops you having to create duplicate accounts on your PC and PS2. (If user Richard Communicates with the PS2 from the PC the user will be considered to be rdj1). The file below is an exact replica of the file I use for smbusers. Again the addition I made to the file is shown in red bold. You can associate more than one external name with an account on the PS2, simply provide a list of names each seperated by a space as shown in the entry for root.
/etc/smbusers
root = administrator admin
rdj1 = Richard
3)
Now for the big file. the smb.config file. Do not worry as you do not have to change this file much. Remember this file is configured for the use of my shared folder 'mysambashare' you will have to change path names and usernames accordingly in your copy. I will highlight in red the parts you will probably need to change and give a small idea as to what they should be changed to.
/etc/smb.config
[global]
coding system = euc
client code page = 932
workgroup = MSHOME (replace with the workgroup name for your network)
netbios name = flash (replace with the name you gave your PS2 machine)
server string = Samba %v
encrypt passwords = Yes
map to guest = Bad User
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
guest account = smbguest
os level = 1
[mysambashare]
path = /home/rdj1/mysambashare (replace with the path to your shared folder)
valid users = rdj1 (replace with the user name of the user who can access this folder. rdj1 is an account on my PS2)
browseable = yes
public = no
writeable = yes
[homes]
comment = %U's Home directory
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
print ok = Yes
browseable = No
Hopefully you should be able to use the above files and modify them to suit your needs. I can assure you that the above files do work As I use them myself.
There is still a few things needed to be done however before the configuration is complete.
If you are in a GUI then you should now open a terminal window or logout of the GUI and return to the command prompt.
now using the command smbpasswd you will add a user account and password to samba. for my account rdj1 with the password richardpw I issued the following command:
smbpasswd -a rdj1
I was then prompted for a password twice. I entered the same password used for the account as that used by Linux. (richardpw)
I had then added the user rdj1 to samba.
In order To use Samba you must start the daemons that work in the background. The simplest way to do this is to issue the command:
samba start
Note you will have to issue this command each time at boot up unless you specify in a boot up script for it to occur automatically. Unfortunately I have not yet learnt how to do this so I can not pass on this little Gem.
If you make any modifications to your configuration files once you have already started samba you will need to restart the daemons. This can be done with the following command:
/etc/rc.d/init.d/smb restart (note: you may have to be logged on as route)
You should now be able to access the PS2 from your PC. Login to the PC with the account you have specified (associated) in the smbusers file as an aliase for the Linux account. Go to my network places (network neighbourhood) and you should see the shared folders of the PS2. If you view the workgroup computrs you should be able to see a computer recognised as the PS2. To transfer files between the PS2 and PC it is now simply a matter of drag and drop between the folders.
For your copy-and-paste pleasure (these are my files):
Autologin:
#!/bin/bash
# Scriptname: autologin
# autologin-script based on article in Linux Journal 58
# Put script in /sbin and make root owner
# Edit /etc/inittab and change the line(s) that looks like this:
# 1:2345:respawn:/sbin/mingetty tty1
# to
# 1:2345:respawn:/sbin/autologin tty1 login -f username
# where username is your username
# reboot to take effect
exec 0</dev/$1 1>/dev/$1 2>&1
cat /etc/issue
shift
exec $*
Inittab:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Things to run in every runlevel.
ud::once:/sbin/update
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/autologin tty1 login -f root
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
XGSConfig:
# File generated by anaconda.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
# **********************************************************************
# Keyboard section
# **********************************************************************
Section "Keyboard"
Protocol "Standard"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Protocol "Xqueue"
AutoRepeat 500 5
# Let the server do the NumLock processing. This should only be
# required when using pre-R6 clients
# ServerNumLock
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Xleds 1 2 3
# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:
LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control
# To disable the XKEYBOARD extension, uncomment XkbDisable.
XkbDisable
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# XkbModel "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# XkbModel "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# XkbLayout "de"
# or:
# XkbLayout "de"
# XkbVariant "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# XkbOptions "ctrl:nocaps"
XkbRules "xfree86"
XkbModel "pc102"
XkbLayout "de"
XkbVariant "nodeadkeys"
EndSection
# **********************************************************************
# Pointer section
# **********************************************************************
Section "Pointer"
Protocol "IMPS/2"
Device "/dev/mouse"
ZaxisMapping 4 5
Buttons 5
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Protocol "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice
# BaudRate 9600
# SampleRate 150
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Emulate3Buttons
# Emulate3Timeout 50
# ChordMiddle is an option for some 3-button Logitech mice
# ChordMiddle
EndSection
# **********************************************************************
# Screen section
# **********************************************************************
# The GS server
Section "Screen"
Driver "gsx"
Device "Graphics Synthesizer"
# DefaultColorDepth 24
DefaultColorDepth 16
FrameRate 50
# FrameRate 60
# FrameRate 75
VideoMode "VESA"
# VideoMode "NTSC" "interlace"
VideoMode "PAL" "interlace"
# VideoMode "PAL" "nointerlace"
# VideoMode "DTV"
# interlace-mix 35
Subsection "Display"
Depth 16
# Modes "480p" "720p" "1080i"
Modes "1280x1024" "1024x768" "800x600" "640x480"
# Modes "1024x768" "800x600" "1280x1024""640x480"
EndSubsection
Subsection "Display"
Depth 24
# Modes "480p" "720p"
# Modes "1024x768" "800x600" "640x480"
Modes "800x600" "640x480"
EndSubsection
EndSection
#####################################################
# Module section
####################################################
Section "Module"
# Load "xf86Jstk.so"
Load "ps2Pad.so"
EndSection
#####################################################
# XInput section
####################################################
Section "XInput"
# SubSection "joystick"
# Port "/dev/js0"
# MaximumXposition 255
# MinimumXposition 1
# MaximumYposition 255
# MinimumYposition 1
# CenterX 128
# CenterY 128
# Delta 4
# AlwaysCore
# TimeOut 100
# EndSubSection
SubSection "Ps2Pad"
# CenterX 128
# CenterY 128
# DeadZone 16
# Scale 0.005
# AlwaysCore
# TimeOut 16
# Button1 CIRCLE
# Button2 CROSS
# Button3 SQUARE
EndSubSection
EndSection
Auto.vol:
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
cdrom -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Auto.master:
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
#/misc /etc/auto.misc --timeout 60
/mnt/cdrom/ /etc/auto.vol --timeout 20
Autofs:
#!/bin/sh
#
# autofs This script starts autofs
#
/usr/sbin/automount -t3 /vol file /etc/auto.vol
exit 0
Fstab:
/dev/hda2 / ext2 check=none 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro,check=r 0 0
/dev/hda1 swap swap defaults 0 0
/dev/ps2mc00 /mnt/mc00 ps2mcfs owner 0 0
/dev/ps2mc10 /mnt/mc10 ps2mcfs noauto,owner 0 0
none /proc/bus/usb usbdevfs defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
Bash_Profile:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME ENV PATH
mesg n
startx
inetd.conf:
#
# inetd.conf This file describes the services that will be available
# through the INETD TCP/IP super server. To re-configure
# the running INETD process, edit this file, then send the
# INETD process a SIGHUP signal.
#
# Version: @(#)/etc/inetd.conf 3.10 05/27/93
#
# Authors: Original taken from BSD UNIX 4.3/TAHOE.
# Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
# Modified for Debian Linux by Ian A. Murdock <imurdock@shell.portal.com>
#
# Modified for RHS Linux by Marc Ewing <marc@redhat.com>
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# Echo, discard, daytime, and chargen are used primarily for testing.
#
# To re-read this file after changes, just do a 'killall -HUP inetd'
#
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
#
# These are standard services.
#
#ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
#
# Shell, login, exec, comsat and talk are BSD protocols.
#
#shell stream tcp nowait root /usr/sbin/tcpd in.rshd
#login stream tcp nowait root /usr/sbin/tcpd in.rlogind
#exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
#comsat dgram udp wait root /usr/sbin/tcpd in.comsat
#talk dgram udp wait nobody.tty /usr/sbin/tcpd in.talkd
#ntalk dgram udp wait nobody.tty /usr/sbin/tcpd in.ntalkd
#dtalk stream tcp wait nobody.tty /usr/sbin/tcpd in.dtalkd
#
# Pop and imap mail services et al
#
#pop-2 stream tcp nowait root /usr/sbin/tcpd ipop2d
#pop-3 stream tcp nowait root /usr/sbin/tcpd ipop3d
#imap stream tcp nowait root /usr/sbin/tcpd imapd
#
# The Internet UUCP service.
#
#uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
#
# Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers." Do not uncomment
# this unless you *need* it.
#
#tftp dgram udp wait root /usr/sbin/tcpd in.tftpd
#bootps dgram udp wait root /usr/sbin/tcpd bootpd
#
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers." Many sites choose to disable
# some or all of these services to improve security.
#
#finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd
#cfinger stream tcp nowait root /usr/sbin/tcpd in.cfingerd
#systat stream tcp nowait guest /usr/sbin/tcpd /bin/ps -auwwx
#netstat stream tcp nowait guest /usr/sbin/tcpd /bin/netstat -f inet
#
# Authentication
#
# identd is run standalone now
#
#auth stream tcp wait root /usr/sbin/in.identd in.identd -e -o
#
# End of inetd.conf
linuxconf stream tcp wait root /bin/linuxconf linuxconf --http
swat stream tcp nowait.400 root /usr/sbin/tcpd swat
ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l -a