|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD Installer / Install Script Basic Questions
Had a few questions about when I am installing:
Thanks all! Feel free to inquire on any questions you may have. |
|
|||
Please provide the complete output of dmesg(8). The install script is constantly being tweaked by the developers, & without knowing what version of OpenBSD is being used, little can be said to answer your questions.
|
|
|||
Using 5.7 the latest amd64. This is the initial install of the system. Nothing more.
Is this in regards to question 4? Any input on the others? |
|
||||||
I don't have the install script available at this moment, so I can only provide limited answers.
Quote:
Quote:
Quote:
Quote:
I've never run into your use case, which appears to be using different network interfaces for boot and install. Quote:
Quote:
|
|
|||
ok so for #1:
When I am installing I have 2 nics. Now being that em0 will be my link to the cable modem and em1 will be my internal lan, wouldn't it make sense to have the friendly name be on the internal lan (em1) so they would be looking to that hostname? This is the "symbolic" hostname for the interface not the system hostname. Which one should i pick to apply the symbolic. it allows me to choose em0 or em1. Should i pick the egress or should i pick the lan facing nic? the egress will of course be the default route since it is forward facing the internet ------------------------- |
|
||||
Perhaps I wasn't clear. That name is not assigned to a network interface. It's combined with your selected domain name (which can come from dhcp, or if dhcp is not used, can be "my.domain" or any name you select. This only populates the /etc/myname file. See myname(5) for more information.
|
|
|||
yes i understand that, however we aren't talking about the hostname we're talking about the symbolic hostname. it associates it with that specific IP which is unique to that interface in /etc/hosts not /etc/myname.
If i select during install to setup em0 first, it will NOT prompt for symbolic name. But when setting up em 1 it will then prompt me for em1s symbolic name but not prompt for em0 If i select during install to setup em1 first, it will NOT prompt for symbolic name. But when setting up em 1 it will then prompt me for em0s symbolic name but not prompt for em1 See the confusion, it only prompts for the second interface configured. i will have 2 lan facing nics (em1, em2). Each for a different subnet and network and one nic for egress. Therefore it only wants it on one interface. I can't have the same host name in /etc/hosts for 3 separate ips (em0, em1, em2). |
|
|||
Quote:
Can I change it after the fact? The only place I would need to change it is in /etc/hosts? naming convention is: <IP ADDRESS of INT> arbitraryname1.<domainname> arbitraryname1 <IP ADDRESS of INT> arbitraryname2.<domainname> arbitraryname1 That about it? |
|
||||
Yes, you can edit the file. The format generally for each record is <ip address> <FQDN> [<alias1> ... [<aliasN>]] . See hosts(5) for details.
Remember, this is just the local hosts file, a local-system-only text-based domain name resolver which is only used when your resolv.conf(5) configuration specifies its use. Which the installer will do, and, like all other files in /etc, you can change. It's been my experience that, most often, you'll want all IP addresses on your host to resolve to the same name, which is why the default at install is the system name you defined. But you may also want to refer to your NIC addresses with unique FQDNs, so you have the option to change them. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Some basic questions regarding pkgsrc use | gezley | NetBSD Package System (pkgsrc) | 15 | 30th April 2015 04:25 PM |
How to create a portable, bootable OpenBSD -NOT INSTALLER-? | Crypto333 | OpenBSD Installation and Upgrading | 35 | 29th December 2014 07:44 AM |
openbsd basic questions | barti | OpenBSD General | 12 | 17th July 2012 08:38 PM |
basic rsync questions | unixjingleman | FreeBSD General | 5 | 27th May 2011 04:39 AM |
Basic starter questions ??? | dennky | OpenBSD Installation and Upgrading | 10 | 5th December 2009 07:21 PM |