1af07 pkg_add on a virtual guest bsd - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old January 7th, 2010, 12:21
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default pkg_add on a virtual guest bsd

Hi, I am trying to install compat6x-i386 on a VMware guest freeBSD.
Since I dont have vmWare tools installed, I cannot access other files through the BDS guest, except through vmWare virtual cdrom.
So I converted the package file into an .iso file and mounted it.
But I get message like pkg_add: can't stat package file '...'.

I need this package in order to finish installation of vmWare tools...
Reply With Quote
  #2  
Old January 7th, 2010, 12:24
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,845
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Enable sshd and ssh or scp the file to/from the virtual machine.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
emosms (January 7th, 2010)
  #3  
Old January 7th, 2010, 14:46
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Enable sshd and ssh or scp the file to/from the virtual machine.
do I do that from within the BSD console?
or these are vmWare features
Reply With Quote
  #4  
Old January 7th, 2010, 14:49
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,845
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Does your virtual machine have network?

Then download PuTTY and WinSCP.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
emosms (January 7th, 2010)
  #5  
Old January 7th, 2010, 15:09
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Does your virtual machine have network?

Then download PuTTY and WinSCP.
I dont think so, I just installed it..
I set some IP, gateway and so on settings at instalation time, but just exploring basic commands now. No graphic interface, no browser.
As I understand, I cannot directly acces the bds folder structure from windows, inside the vmware file that hosts freeBSD
Reply With Quote
  #6  
Old January 7th, 2010, 15:14
rhyous's Avatar
rhyous rhyous is offline
Member
 
Join Date: Apr 2009
Location: West Jordan, Utah
Posts: 136
Thanks: 1
Thanked 26 Times in 14 Posts
Default

What happens when in the virtual machine, as root you type:

pkg_add -r compat6x-i386
__________________
http://www.rhyous.com/freebsd-friday
The only thing you take with you when you die is your knowledge. Never stop acquiring it.
Reply With Quote
  #7  
Old January 7th, 2010, 15:43
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,845
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by emosms View Post
I dont think so, I just installed it..
I set some IP, gateway and so on settings at instalation time, but just exploring basic commands now.
Ok. Can you ping that IP address from the Windows host?

If that works go in the fbsd VM and edit /etc/rc.conf, add this:

Code:
sshd_enable="YES"
Reboot or start sshd by hand with # /etc/rc.d/sshd start.

On your Windows host, install PuTTY and use it to connect to the IP address of your virtual machine. You can use WinSCP to transfer files back and forth.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
emosms (January 7th, 2010)
  #8  
Old January 7th, 2010, 16:03
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

can I ping it from my... web browser? if so, it does not respond I am just studying putty
Reply With Quote
  #9  
Old January 7th, 2010, 16:21
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,845
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by emosms View Post
can I ping it from my... web browser?
No.

Back to basics... On Windows, Start -> Run... cmd.exe

On that prompt ping <ip address>.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
emosms (January 7th, 2010)
  #10  
Old January 7th, 2010, 17:14
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,178
Thanks: 43
Thanked 715 Times in 587 Posts
Default

A better test is to do it from the BSD side: ping <ip of windows>

If that works, then you have a working network, and can just use pkg_add -r <package name> to install packages automatically.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
The Following User Says Thank You to phoenix For This Useful Post:
emosms (January 7th, 2010)
  #11  
Old January 7th, 2010, 18:33
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Good in networking and protocols as much as in unix...
Actually I entered during instalation these IP, DNS and Gateway, given from my internet provider.
This is for the ethernet adapter Ipv6 protocol.
Thank u all
Reply With Quote
  #12  
Old January 7th, 2010, 18:36
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

So, now when I ping it is OK, but maybe I do ping my windows network adapter... :lol:
Reply With Quote
  #13  
Old January 7th, 2010, 18:39
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

from BSD's side:
Code:
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
...

Last edited by DutchDaemon; January 7th, 2010 at 18:44.
Reply With Quote
  #14  
Old January 7th, 2010, 18:43
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,845
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by emosms View Post
Actually I entered during instalation these IP, DNS and Gateway, given from my internet provider.
This is for the ethernet adapter Ipv6 protocol.
You cannot enter an IPv6 address during install. You can only turn on IPv6 support. Since you seem to have trouble enough with IPv4 I suggest leaving IPv6 for now.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #15  
Old January 7th, 2010, 20:02
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
You cannot enter an IPv6 address during install. You can only turn on IPv6 support. Since you seem to have trouble enough with IPv4 I suggest leaving IPv6 for now.
Obviously
How do I stop freeBSD to PING?
It comes up repeatedly on the screen, cant type any comand.
So I restart the OS from the vmWare's interface.
Reply With Quote
  #16  
Old January 7th, 2010, 21:51
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,178
Thanks: 43
Thanked 715 Times in 587 Posts
Default

Ctrl+c
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
The Following User Says Thank You to phoenix For This Useful Post:
emosms (January 7th, 2010)
  #17  
Old January 7th, 2010, 22:16
emosms emosms is offline
Junior Member
 
Join Date: Dec 2009
Posts: 38
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by phoenix View Post
Ctrl+c
thath was nifty
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
7.2 as Guest OS on Windows XP/Microsoft Virtual PC 2007 mraj Networking 3 July 17th, 2010 19:25
[Solved] Virtual Box Guest Additions hitchup Installation and Maintenance of FreeBSD Ports or Packages 12 December 31st, 2009 09:20
[Solved] FreeBSD 8.x Guest in VirtualBox TzunTzai X.Org 4 October 23rd, 2009 22:36
Installing vboxadditions in guest weziw Installation and Maintenance of FreeBSD Ports or Packages 6 September 7th, 2009 00:30
FreeBSD 7, runaway clock as guest OS on Microsoft Virtual Server sailorfej General 6 January 22nd, 2009 23:28


All times are GMT +1. The time now is 08:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0