Hitchhiker's Guide to Openbsd


Download 1.27 Mb.
Pdf ko'rish
bet39/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   35   36   37   38   39   40   41   42   ...   258
Bog'liq
obsd-faq49

4.5.5 - First boot!
OpenBSD is now installed on your system and ready for its first boot, but before you do... 
Before you reboot
At this point, your system is installed and ready to be rebooted and configured for service. Before doing this, however, it 
would be wise to check out the 
Errata page
to see if there are any bugs that would immediately impact you. 
After you reboot
On your first boot, 
SSH
keys will be generated. On modern computers, this will take a few seconds, you may not even 
notice it happening. On older systems, it may take many minutes, potentially even an hour or more for really slow 
systems. 
One of your first things to read after you install your system is 
afterboot(8)

You may also find the following links useful: 

Adding users in OpenBSD
 

Initial Network Setup
 

Man Pages of popular/useful commands

OpenBSD man pages on the Web

The OpenBSD Packages and Ports system for installing software
 
4.5.6 - One last thing...
The OpenBSD developers ask you to 
Send in a copy of your dmesg
. This is really appreciated by the developers, and 
ultimately, all users. 
4.6 - Details for a more complex install
Sometimes you can't just take the defaults. Here are some more details on parts of the installation process. 
http://www.openbsd.org/faq/faq4.html (15 of 43)9/4/2011 10:01:58 AM


4 - OpenBSD 4.9 Installation Guide
4.6.1 - Setting up the network
If you don't have a DHCP server available, you will have to set up your network adapter(s) manually. Here's an example: 
Which one do you wish to configure? (or 'done') [xl0] Enter
IPv4 address for xl0? (or 'dhcp' or 'none') [dhcp] 192.168.1.37
Netmask? [255.255.255.0] 255.255.254.0
IPv6 address for xl0? (or 'rtsol' or 'none') [none] Enter
After that set of questions, you will be given a chance to configure any other network adapters that your machine has. If 
you specify another network adapter here, the above questions repeat. 
Available network interfaces are: xl0 vlan0.
Which one do you wish to configure? (or 'done') [done]
Now, you will set up the default gateway and DNS servers, things that impact all network adapters: 
Default IPv4 route? (IPv4 address, 'dhcp' or 'none') 192.168.1.1
add net default: gateway 192.168.1.1
DNS domain name? (e.g. 'bar.com') [my.domain] example.org
DNS nameservers? (IP address list or 'none') [none] 192.168.1.250 192.168.1.251
Note that multiple DNS servers can be listed, separated by spaces. 
Sometimes, you will have to do something more, for example set up a wireless access key or hard-set a duplex or speed 
setting (don't do this unless you absolutely HAVE to, fixing your switch configuration is a much better idea!). You are 
now given a chance to drop to the shell and do any manual configuration that you would like. 
Do you want to do any manual network configuration? [no] y
Type 'exit' to return to install.
ifconfig xl0 media
xl0: flags=8843 mtu 1500
lladdr 00:08:74:2c:df:9c
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
supported media:
media 10baseT
media 10baseT mediaopt full-duplex
media 100baseTX
media 100baseTX mediaopt full-duplex
media autoselect
inet 192.168.1.37 netmask 0xfffffe00 broadcast 192.168.1.255
ifconfig xl0 media 100baseTX mediaopt full-duplex
http://www.openbsd.org/faq/faq4.html (16 of 43)9/4/2011 10:01:58 AM


4 - OpenBSD 4.9 Installation Guide
ifconfig xl0
xl0: flags=8843 mtu 1500
lladdr 00:08:74:2c:df:9c
groups: egress
media: Ethernet 100baseTX full-duplex
status: active
inet6 fe80::208:74ff:fe2c:df9c%xl0 prefixlen 64 scopeid 0x1
inet 192.168.1.37 netmask 0xfffffe00 broadcast 192.168.1.255
exit
...setup resumes...
(back to where we might have been)
 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   35   36   37   38   39   40   41   42   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling