summaryrefslogtreecommitdiff
path: root/Distrib/DebianAfterInstall.mdwn
blob: fbafb57f967fde58a45d3812619094751c6fb653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<div>
  <center> [ <span style="background:"><font color="">Install Notes</font></span><a href="http://LOCATIONHurd/InstallNotes">?</a> | <span style="background:"><font color="">Get Network Running</font></span><a href="http://LOCATIONHurd/GetNetworkRunning">?</a> | <span style="background:"><font color="">Random Device</font></span><a href="http://LOCATIONHurd/RandomDevice">?</a> | <span style="background:"><font color="">Debian X</font></span><a href="http://LOCATIONHurd/DebianX">?</a> ] </center>
</div>

## <a name="First_steps_after_Install_"> First steps after Install. </a>

So you have managed to get past the first ./native-install runs in single-user mode?

Time to get to work.

### <a name="_Hurd_GetNetworkRunning_Setup_ne"> </a> [[Hurd/GetNetworkRunning]]

If your NIC was detected by Mach:

    settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 \
             -a 192.168.1.3 -g 192.168.1.1 -b 255.255.255.0

### <a name="_Hurd_RandomDevice_Setup_random_"> </a> [[Hurd/RandomDevice]]

You often need scp and ssh. Sadly the Debian GNU/Hurd does not come with any default random package installed. See [[Hurd/RandomDevice]] for details, the following is just a quick recap.

    cd && mkdir tmp && cd tmp
    wget http://kilobug.free.fr/hurd/random-64.tar.gz
    tar xvfz random-64.tar.gz
    cp random /hurd/

    settrans -c /dev/random /hurd/random \
               --seed-file /var/run/random-seed --secure
    settrans -c /dev/urandom /hurd/random \
               --seed-file /var/run/urandom-seed --fast
    chmod 0644 /dev/random /dev/urandom

    apt-get install ssh

### <a name="_Hurd_HurdConsole_Setup_Virtual_"> </a> [[Hurd/HurdConsole]]

The latest Hurd package in Debian, plus the /native-install script, creates all necessary device nodes and other magic. You just need to call console with the proper arguments:

    console -d vga -d pc_kbd --repeat=kbd -d pc_mouse --repeat=mouse \
            -d generic_speaker -c /dev/vcs

    cd /dev
    ln -s cons/kbd .
    ln -s cons/mouse .

### <a name="_Hurd_Xfree86_Setup_X_Window_"> </a> [[Hurd/Xfree86]]

Assuming you've installed WindowMaker and have tried running startx already:

    [/etc/X11/XF86Config-4]

    Section "Module"
    #        Load           "dri"
    #        Load           "speedo"
             .
             .
             .
    EndSection

    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"                "/dev/mouse"
            Option          "Protocol"              "osmouse"
    EndSection

    [/etc/profile]
    LD_LIBRARY_PATH=/X11R6/lib:$LD_LIBRARY_PATH

-- [[Main/JoachimNilsson]] - 17 Apr 2005

How about making an afterinstall man page � la [[OpenBSD]] afterboot man page? I could easily convert the current text into afterinstall.8 if someone is interested.

-- [[Main/JoachimNilsson]] - 19 Apr 2005