Re: Network Question

2013-09-13 Thread Frank Leonhardt

On 12/09/2013 20:16, Daniel Nang wrote:

That was easier than I thought. My initial approach already looked
something like
this, except that for the ip address I always put the machine's name as in:

machine1# ssh u...@machine2.example.com

which results in

ssh: Could not resolve hostname machine2.example.com: hostname nor servname
provided, or not known

I think the problem here lies with the /etc/hosts file where machine1 and
machine2 have
to be registered respectively. The thing here is that the ip isn't static
which makes
this approach somewhat difficult to realize.

Got it.

Thanks.



On Fri, Sep 13, 2013 at 2:51 AM, Adam Vande More wrote:


On Thu, Sep 12, 2013 at 1:45 PM, Daniel Nang wrote:


Hello,

I have two computers, both running FreeBSD, accessing the
web via DHCP from the router. The setup looks like this:


Internet
 |
 |
 |
machine1.example.com --- Router --- machine.2.example.com
  - DHCP -- DHCP -


Both computers can access the internet with no problems.
So far so good...

My question is, if I can simultaneously have the computers access
the net as in the given picture and also let them communicate with
each other e.g. via ssh?



machine1# ssh `ip of machine2`


--
Adam Vande More


___



If you really only have two (or a very few machines) just give them 
static local IP addresses and add the host names to /etc/hosts on each 
box. Find out the address pool used by the DHCP server (presumably in 
the router) and choose your static addresses to avoid it.


If you use dynamic IP addresses (form DHCP) you may have some fun and 
games when it comes to security certificates.


Regards, Frank.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Geom Multipath

2013-09-13 Thread Dan Nelson
In the last episode (Sep 12), Outback Dingo said:
> does geom_multipath have some automatic type detection of mutipath drives? 
> like in solaris?  or is it all a manual process of labelling and such ??

It's all manual.  Your two options are either "gmultipath create", which
will build a temporary device that will be forgotten on reboot, or
"gmultipath label", which writes a metadata block to the end of your disk.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


which port (qt4 part?) contains linguist.dcf et al.?

2013-09-13 Thread Gary Aitken
Can someone tell me which port is the source for linguist.dcf and friends?

I have lprof-devel installed, but not the full qt4, and these files are 
missing so the lprof help doesn't work.  I suspect a missing dependency,
but would prefer not to install all of qt4 to find out.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: which port (qt4 part?) contains linguist.dcf et al.?

2013-09-13 Thread Chris Kelley
Just a quick search through ports/x11-toolkits:

/usr/ports/x11-toolkits # grep -R "linguist.dcf" *
qt33/pkg-plist:share/doc/qt/html/linguist.dcf

Looks to be x11-toolkits/qt33.

Cheers,
Chris

On Sep 13, 2013, at 9:34 AM, Gary Aitken  wrote:

> Can someone tell me which port is the source for linguist.dcf and friends?
> 
> I have lprof-devel installed, but not the full qt4, and these files are 
> missing so the lprof help doesn't work.  I suspect a missing dependency,
> but would prefer not to install all of qt4 to find out.
> 
> Thanks.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: which port (qt4 part?) contains linguist.dcf et al.?

2013-09-13 Thread Gary Aitken
On 09/13/13 10:47, Chris Kelley wrote:
> Just a quick search through ports/x11-toolkits:
> 
> /usr/ports/x11-toolkits # grep -R "linguist.dcf" *
> qt33/pkg-plist:share/doc/qt/html/linguist.dcf
> 
> Looks to be x11-toolkits/qt33.

How old is your ports tree?
According to freshports it expired on 20130-7-01

# portmaster x11-toolkits/qt33

===>>> The x11-toolkits/qt33 port has been deleted: Has expired: No upstream 
activity since 2008; unmaintained
===>>> Aborting update

Is there an easy way to get the distfile when the port has been deleted?
Maybe the files have been moved to some qt4 port, but after doing a make 
extract on some of them I couldn't find them.

> On Sep 13, 2013, at 9:34 AM, Gary Aitken  wrote:
> 
>> Can someone tell me which port is the source for linguist.dcf and friends?
>>
>> I have lprof-devel installed, but not the full qt4, and these files are 
>> missing so the lprof help doesn't work.  I suspect a missing dependency,
>> but would prefer not to install all of qt4 to find out.
>>
>> Thanks.
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Network Question

2013-09-13 Thread Al Plant

Eugene wrote:

Hi Daniel,

The easiest way is to check the LAN Config (or similar) page of the 
router. They usually allow one to specify fixed IP and hostname for the 
DHCP clients based on the MAC addresses.


Best wishes
Eugene

-Original Message- From: Daniel Nang
Sent: Thursday, September 12, 2013 11:16 PM
To: Adam Vande More
Cc: freebsd-questions@freebsd.org
Subject: Re: Network Question

That was easier than I thought. My initial approach already looked
something like
this, except that for the ip address I always put the machine's name as in:

machine1# ssh u...@machine2.example.com

which results in

ssh: Could not resolve hostname machine2.example.com: hostname nor servname
provided, or not known

I think the problem here lies with the /etc/hosts file where machine1 and
machine2 have
to be registered respectively. The thing here is that the ip isn't static
which makes
this approach somewhat difficult to realize.

Got it.

Thanks.



On Fri, Sep 13, 2013 at 2:51 AM, Adam Vande More 
wrote:


On Thu, Sep 12, 2013 at 1:45 PM, Daniel Nang 
wrote:



Hello,

I have two computers, both running FreeBSD, accessing the
web via DHCP from the router. The setup looks like this:


   Internet
|
|
|
machine1.example.com --- Router --- machine.2.example.com
 - DHCP -- DHCP -


Both computers can access the internet with no problems.
So far so good...

My question is, if I can simultaneously have the computers access
the net as in the given picture and also let them communicate with
each other e.g. via ssh?




machine1# ssh `ip of machine2`


--
Adam Vande More


___
#


Aloha,

For many years I have 8 Freebsd boxes behind a PF firewall on a static 
labeled lan. Only one public address feeds the lan.  All the boxes can 
work the internet and can ssh.


I found that easier than dhcp.

:)

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Installworld on amd64 fails on libc.a on r255342

2013-09-13 Thread Eir Nym
I get this error for a while, and don't know what to do with.

I build the world, then try to install it into DESTDIR. And at this point I
always get error that libc.a can't be found.

To eliminate any mistakes in commits I've run snapshot r255342 from FTP in
VM and build sources it contains.

my building and installing world with following commands:

 # make toolchain buildworld __MAKE_CONF=/dev/null SRCCONF=src.conf
 # make hierarchy distrib-dirs distribution installworld

some notes:
 * Targets like hierarchy, disturb-dirs and distribution are described in
FreeBSD Handbook in this order
 * Target distribution doesn't install anything, but configuration files.

SRCCONF has following contents:

WITHOUT_AMD="YES"
WITHOUT_ASSERT_DEBUG="YES"
WITHOUT_BIND="YES"
WITH_BMAKE="YES"
WITH_BSD_GREP="YES"
WITH_CLANG="YES"
WITH_CLANG_EXTRAS="YES"
WITH_CLANG_FULL="YES"
WITH_CLANG_IS_CC="YES"
WITH_CTF="YES"
WITHOUT_CTM="YES"
WITHOUT_DYNAMICROOT="YES"
WITHOUT_FLOPPY="YES"
WITH_ICONV="YES"
WITHOUT_HTML="YES"
WITHOUT_IPFILTER="YES"
WITHOUT_IPFW="YES"
WITHOUT_IPX="YES"
WITHOUT_IPX_SUPPORT="YES"
WITH_LDNS_UTILS="YES"
WITH_LIBCPLUSPLUS="YES"
WITH_LIBICONV_COMPAT="YES"
WITHOUT_NCP="YES"
WITHOUT_NIS="YES"
WITHOUT_NLS="YES"
WITHOUT_NLS_CATALOGS="YES"
WITH_OPENSSH_NONE_CIPHER="YES"
WITHOUT_PC_SYSINSTALL="YES"
WITHOUT_RCMDS="YES"
WITHOUT_SYSINSTALL="YES"
WITHOUT_TCSH="YES"
WITH_USB_GADGET_EXAMPLES="YES"

-- Eir Nym
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Network Question

2013-09-13 Thread Eugene

Hi,

Yes, I have a similar setup at work (though currently migrating it to DHCP 
to accommodate mobile clients and simplify management). But I suppose OP 
would like to basically keep his the architecture intact =)


Best wishes
Eugene

-Original Message- 
From: Al Plant

Sent: Friday, September 13, 2013 10:28 PM
To: Eugene
Cc: freebsd-questions@freebsd.org ; Daniel Nang
Subject: Re: Network Question

Eugene wrote:

Hi Daniel,

The easiest way is to check the LAN Config (or similar) page of the 
router. They usually allow one to specify fixed IP and hostname for the 
DHCP clients based on the MAC addresses.




Aloha,

For many years I have 8 Freebsd boxes behind a PF firewall on a static
labeled lan. Only one public address feeds the lan.  All the boxes can
work the internet and can ssh.

I found that easier than dhcp.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: which port (qt4 part?) contains linguist.dcf et al.?

2013-09-13 Thread Chris Kelley
Fair enough. I grabbed that from a vanilla 9.1-RELEASE install that hasn't had 
any updates to the tree.
I now see that it has been removed after updating the ports tree on that box.

/usr/ports.old/x11-toolkits/qt33 # cat distinfo 
SHA256 (KDE/qt-x11-free-3.3.8.tar.bz2) = 
e8c3f703d00a4e2ab9ba63fd474caa8a9d0aa3d7f1d5451dd162bec9d778a449
SIZE (KDE/qt-x11-free-3.3.8.tar.bz2) = 14360483

Looks like it's still available here (sha256 matches):
http://ftp.freebsd.org/pub/FreeBSD/distfiles/KDE/qt-x11-free-3.3.8.tar.bz2


Cheers,
Chris


On Sep 13, 2013, at 11:33 AM, Gary Aitken  wrote:

> On 09/13/13 10:47, Chris Kelley wrote:
>> Just a quick search through ports/x11-toolkits:
>> 
>> /usr/ports/x11-toolkits # grep -R "linguist.dcf" *
>> qt33/pkg-plist:share/doc/qt/html/linguist.dcf
>> 
>> Looks to be x11-toolkits/qt33.
> 
> How old is your ports tree?
> According to freshports it expired on 20130-7-01
> 
> # portmaster x11-toolkits/qt33
> 
> ===>>> The x11-toolkits/qt33 port has been deleted: Has expired: No upstream 
> activity since 2008; unmaintained
> ===>>> Aborting update
> 
> Is there an easy way to get the distfile when the port has been deleted?
> Maybe the files have been moved to some qt4 port, but after doing a make 
> extract on some of them I couldn't find them.
> 
>> On Sep 13, 2013, at 9:34 AM, Gary Aitken  wrote:
>> 
>>> Can someone tell me which port is the source for linguist.dcf and friends?
>>> 
>>> I have lprof-devel installed, but not the full qt4, and these files are 
>>> missing so the lprof help doesn't work.  I suspect a missing dependency,
>>> but would prefer not to install all of qt4 to find out.
>>> 
>>> Thanks.
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>> 
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"