summaryrefslogtreecommitdiff
path: root/root/etc
Side-by-side diff
Diffstat (limited to 'root/etc') (more/less context) (show whitespace changes)
-rw-r--r--root/etc/hosts3
-rw-r--r--root/etc/inittab34
-rw-r--r--root/etc/ppp/options11
-rw-r--r--root/etc/ppp/scripts/winclient.chat3
4 files changed, 51 insertions, 0 deletions
diff --git a/root/etc/hosts b/root/etc/hosts
new file mode 100644
index 0000000..c489672
--- a/dev/null
+++ b/root/etc/hosts
@@ -0,0 +1,3 @@
+127.0.0.1 localhost familiar
+192.168.1.101 ipaq
+192.168.1.100 desktop
diff --git a/root/etc/inittab b/root/etc/inittab
new file mode 100644
index 0000000..092694b
--- a/dev/null
+++ b/root/etc/inittab
@@ -0,0 +1,34 @@
+# /etc/inittab
+# The default runlevel.
+id:2:initdefault:
+
+# Boot-time system configuration/initialization script.
+# This is run first except when booting in emergency (-b) mode.
+si::sysinit:/etc/init.d/rcS
+
+# What to do in single-user mode.
+~~:S:wait:/sbin/sulogin
+
+# /etc/init.d executes the S and K scripts upon change
+# of runlevel.
+#
+# Runlevel 0 is halt.
+# Runlevel 1 is single-user.
+# Runlevels 2-5 are multi-user.
+# Runlevel 6 is reboot.
+
+l0:0:wait:/etc/init.d/rc 0
+l1:1:wait:/etc/init.d/rc 1
+l2:2:wait:/etc/init.d/rc 2
+l6:6:wait:/etc/init.d/rc 6
+# Normally not reached, but fallthrough in case of emergency.
+z6:6:respawn:/bin/sh
+
+# What to do when the power fails/returns.
+pf::powerwait:/etc/init.d/powerfail start
+pn::powerfailnow:/etc/init.d/powerfail now
+po::powerokwait:/etc/init.d/powerfail stop
+
+T0:45:respawn:/sbin/getty -L ttySA0 115200 vt100
+pd:23:respawn:/usr/sbin/pppd /dev/ttySA0 -detach
+
diff --git a/root/etc/ppp/options b/root/etc/ppp/options
new file mode 100644
index 0000000..3ddcac8
--- a/dev/null
+++ b/root/etc/ppp/options
@@ -0,0 +1,11 @@
+#/etc/ppp/options
+connect '/usr/sbin/chat -f /etc/ppp/scripts/winclient.chat'
+idle 10
+-detach
+asyncmap 0
+crtscts
+local
+lock
+/dev/ttySA0
+115200
+ipaq:desktop
diff --git a/root/etc/ppp/scripts/winclient.chat b/root/etc/ppp/scripts/winclient.chat
new file mode 100644
index 0000000..52d4d9e
--- a/dev/null
+++ b/root/etc/ppp/scripts/winclient.chat
@@ -0,0 +1,3 @@
+# /etc/ppp/options/winclient.chat
+TIMEOUT 3600
+CLIENT CLIENTSERVER\c