-rw-r--r-- | root/etc/hosts | 3 | ||||
-rw-r--r-- | root/etc/inittab | 34 | ||||
-rw-r--r-- | root/etc/ppp/options | 11 | ||||
-rw-r--r-- | root/etc/ppp/scripts/winclient.chat | 3 |
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 @@ | |||
1 | 127.0.0.1localhost familiar | ||
2 | 192.168.1.101ipaq | ||
3 | 192.168.1.100desktop | ||
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 @@ | |||
1 | # /etc/inittab | ||
2 | # The default runlevel. | ||
3 | id:2:initdefault: | ||
4 | |||
5 | # Boot-time system configuration/initialization script. | ||
6 | # This is run first except when booting in emergency (-b) mode. | ||
7 | si::sysinit:/etc/init.d/rcS | ||
8 | |||
9 | # What to do in single-user mode. | ||
10 | ~~:S:wait:/sbin/sulogin | ||
11 | |||
12 | # /etc/init.d executes the S and K scripts upon change | ||
13 | # of runlevel. | ||
14 | # | ||
15 | # Runlevel 0 is halt. | ||
16 | # Runlevel 1 is single-user. | ||
17 | # Runlevels 2-5 are multi-user. | ||
18 | # Runlevel 6 is reboot. | ||
19 | |||
20 | l0:0:wait:/etc/init.d/rc 0 | ||
21 | l1:1:wait:/etc/init.d/rc 1 | ||
22 | l2:2:wait:/etc/init.d/rc 2 | ||
23 | l6:6:wait:/etc/init.d/rc 6 | ||
24 | # Normally not reached, but fallthrough in case of emergency. | ||
25 | z6:6:respawn:/bin/sh | ||
26 | |||
27 | # What to do when the power fails/returns. | ||
28 | pf::powerwait:/etc/init.d/powerfail start | ||
29 | pn::powerfailnow:/etc/init.d/powerfail now | ||
30 | po::powerokwait:/etc/init.d/powerfail stop | ||
31 | |||
32 | T0:45:respawn:/sbin/getty -L ttySA0 115200 vt100 | ||
33 | pd:23:respawn:/usr/sbin/pppd /dev/ttySA0 -detach | ||
34 | |||
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 @@ | |||
1 | #/etc/ppp/options | ||
2 | connect '/usr/sbin/chat -f /etc/ppp/scripts/winclient.chat' | ||
3 | idle 10 | ||
4 | -detach | ||
5 | asyncmap 0 | ||
6 | crtscts | ||
7 | local | ||
8 | lock | ||
9 | /dev/ttySA0 | ||
10 | 115200 | ||
11 | 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 @@ | |||
1 | # /etc/ppp/options/winclient.chat | ||
2 | TIMEOUT 3600 | ||
3 | CLIENT CLIENTSERVER\c | ||