 3 edits | Just Installed OpenBSD on VMware Workstation but a few quest Just installed OpenBSD under VMware and I have a couple of questions here.
How can I install a Desktop enviroment like GNOME or KDE? I had install ALL of the file sets too. I thought the installation would give me an option to install some sort of GUI Desktop interface like Linux or Solaris did.....
Also, during the installation, I had skipped the Networking part. Now, once I have OpenBSD installed I can now logon using the console as ROOT. But to configure the Networking, can you please explain how? Do I have to use my VMware's ethernet virtual IP address, or should I configure everything that my Windows XP (host OS) uses like its router IP, DNS IP, and etc...???
And last....
I did the IFCONFIG command, but which network adapter should I use below for configuring? Should I use the one that VMware is using or the one that my Windows (host) OS is using?
lo0: inet 127.0.01
vic0: Media: Ethernet autoselect status: no carrier
enc0: flags=0 mtu 1536
Please help. Thanks. |
|
 scrummie02BentleyPremium join:2004-04-16 Arlington, VA Reviews:
·Verizon FiOS
·Comcast
1 edit | There is a file called /etc/hostname.enc0. You'll go there and configure it for a static or DHCP If you configure a static it will be like this:
inet 10.0.0.38 255.255.255.0 NONE
Then you have to configure /etc/mygate with the IP of your default router
Then /etc/resolv.conf with the IP's of hte DNS servers you want to use
Also it depends how you set up the interface in VMware. Is it bridged or is it NAT?
Please see this for further info" »www.openbsd.org/faq/faq6.html#Setup
-- 'A government big enough to give you everything you want, is strong enough to take everything you have.' Thomas Jefferson
|
|
 BinkVillains... knock off all that evil join:2006-05-14 Denver, CO kudos:4 Reviews:
·VOIPo
1 edit | reply to slajoh01 OpenBSD does not come with a bloated Desktop Environment like Gnome or KDEif you want one of those, you should install it via packages(7). As for configuring the adapter, bentman78 is mostly correct. The enc device is used to support IPSec, so youll want to configure vic0 instead. |
|
 scrummie02BentleyPremium join:2004-04-16 Arlington, VA 1 edit | oops...he's right. I have openbsd installed on ESXI and the interface is hostname.em0...so I just overlooked that. |
|
|
|
 3 edits | Yes, I selected Bridged Networking.
But, none of these directories exists.....when I do the /ETC commands.... It says no such file exists. And Im doing this under root.
But which adapter (from above listed) should I use though? And should the network be configured the same way as my HOST OS (Windows) or should I go with the VMware's IP addresses?? |
|
 scrummie02BentleyPremium join:2004-04-16 Arlington, VA Reviews:
·Verizon FiOS
·Comcast
2 edits | If you're bridged that means you will be using the same address scheme as your network. For example if you're using the 192.168.1.0/24 network you would pick an IP from that range and use the same gateway/DNS servers that your workstation uses..
Those files should be there. do this
ls /etc | grep hostname
what is the output of that? -- 'A government big enough to give you everything you want, is strong enough to take everything you have.' Thomas Jefferson
|
|
 GILXA1226Premium,MVM join:2000-12-29 Dayton, OH | reply to slajoh01 said by slajoh01:But, none of these directories exists.....when I do the /ETC commands.... It says no such file exists. And Im doing this under root. Are you using /ETC or /etc, like solaris, *BSD will be case sensitive.
said by slajoh01:And should the network be configured the same way as my HOST OS (Windows) or should I go with the VMware's IP addresses?? It should be configured in a similar manner, but it will need to have a different IP address from your Host OS. -- We don't give a d@mn for the whole state of Michigan... we're from OHIO! O!H! ... I!O! |
|
 1 edit | When ran the command ls /etc | grep hostname, I got this... Nothing..
#
Is there a way to go back and set the Network Configurations that prompt me to do so when first installing OpenBSD???
How can I go back to that? |
|
 GILXA1226Premium,MVM join:2000-12-29 Dayton, OH | can you post the output of the following command:
ls /etc
|
|
 2 edits | Its shows a list of files, EXCEPT the hostname file....
I just want to or wish to go back to setup the network details like I did during the installation....
also, my suspicion would be since I did not setup the Networking part during the install, maybe thats why it does not recognize the hostname directory...But I may be wrong.
And yes, maybe I will not install the GUI, since I will be using this as a server. And its MORE secure without the GUI running for that matter.
Also, I can always reinstall to setup the network again. But like I said, how do I know which ehternat adapter (from above) listed to use out of those THREE adapters??? UNLESS...theres a way to reconfigure without reinstalling.. |
|
 GILXA1226Premium,MVM join:2000-12-29 Dayton, OH | said by Bink: The enc device is used to support IPSec, so you’ll want to configure vic0 instead.
Reading comprehension. -- We don't give a d@mn for the whole state of Michigan... we're from OHIO! O!H! ... I!O! |
|
 | Ok, thanks.
So how can i go back to configure all this now, without reinstalling? |
|
 scrummie02BentleyPremium join:2004-04-16 Arlington, VA Reviews:
·Verizon FiOS
·Comcast
| yes... also configure /etc/mygate and /etc/resolv.conf. Unless you want to use dhcp.
After you have configured those do this
sh /etc/netstart
to enable the new configuration. Please read this: »www.openbsd.org/faq/faq6.html#Setup.if
-- 'A government big enough to give you everything you want, is strong enough to take everything you have.' Thomas Jefferson
|
|
 4 edits | i managed to reinstall OpenBSD but this time with the Network settings and now Im able to the cat /etc/hostname.vic0.
Heres my output: inet 192.168.1.105 255.255.255.0 NONE
This is the IP I chose since my Windows (Host OS) was using IP of 192.168.1.100. And my Router IP is 192.168.1.1
But still cannot use Lynx, unable to connect. |
|
 scrummie02BentleyPremium join:2004-04-16 Arlington, VA | DNS settings? Did you read the link I posted? You have to input your DNS settings in /etc/resolv.conf. |
|
 1 edit | /etc/resolv.conf does not come up. It says No such file or Directory. Sam thing happens with MYGATE.
And, when issuing /etc/resolv.conf command, I get a CANNOT EXECUTE - PERMISSION DEINIED (under ROOT)...
Why is that??? |
|
 BinkVillains... knock off all that evil join:2006-05-14 Denver, CO kudos:4 | Its because you have a lot to learn about UNIX-like operating systems. |
|
 GILXA1226Premium,MVM join:2000-12-29 Dayton, OH | reply to slajoh01
/etc/resolv.conf
is not a command, it's a file that stores nameserver information for DNS lookups. Did you even read the link scrummie02 posted? It would have answered most of the questions you've posted. As far as I'm concerned unless you're going to read it and as comprehension questions about what you've read you're never going to learn how BSD works, which will make it very hard to use and administer BSD. -- We don't give a d@mn for the whole state of Michigan... we're from OHIO! O!H! ... I!O! |
|
 scrummie02BentleyPremium join:2004-04-16 Arlington, VA | reply to slajoh01 Did you read the link I posted? OpenBSD's website has a lot of good documentation.
If you had just read the link you would have all of your questions answered by now. |
|
 3 edits | Ok, I know how to get to the files in OpenBSD. But I dont know which IP address to use. By taking the settings of this example below, can you please explain what fields I should add involving IP address?
My Windows workstation uses the following network scheme:
Just please explain on IP address or info should I use in each fields under the Network Config Settings below.
On the HOST OS: Router IP: 192.168.1.1 IP Address: 192.168.1.100 DNS IP: 82.2.XX.XX or whatever.
So, when installing OpenBSD under VMware, should I add these the same way (marked in BOLD) as above in the Network settings field below?
Configure the network? [yes] Enter Available interfaces are: fxp0 xl0. Which one do you wish to initialize? (or 'done') [fxp0] xl0 Symbolic (host) name for xl0? [puffy] Enter The media options for xl0 are currently media: Ethernet autoselect (100baseTX full-duplex) Do you want to change the media options? [no] Enter IPv4 address for xl0? (or 'dhcp') 192.168.1.100 Netmask? [255.255.255.0] Enter IPv6 address for xl0? (or 'rtsol' or 'none') [none] Enter Available interfaces are: fxp0. Which one do you wish to initialize? (or 'done') [fxp0] Enter Symbolic (host) name for fxp0? [puffy] Enter The media options for fxp0 are currently media: Ethernet autoselect (10baseT half-duplex) Do you want to change the media options? [no] Enter IPv4 address for fxp0? (or 'none' or 'dhcp') dhcp Issuing hostname-associated DHCP request for fxp0. DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 1 DHCPOFFER from 73.34.136.1 DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 73.34.136.1 bound to 69.241.244.76 -- renewal in 1800 seconds. IPv6 address for fxp0? (or 'rtsol' or 'none') [none] Enter No more interfaces to initialize. DNS domain name? (e.g. 'bar.com') [my.domain] example.com DNS nameserver? (IP address or 'none') [82.2.X.XX] Enter Use the nameserver now? [yes] Enter Default route? (IP address, 'dhcp' or 'none') [dhcp] Enter Edit hosts with ed? [no] Enter Do you want to do any manual network configuration? [no] Enter |
|