java jdk16 port

2009-07-17 Thread Joe R. Jah
Hello all,

I want to install java jdk16 port.  Make build spits this:

--8--
 Because of licensing restrictions, you must fetch the distribution
 manually.

 Please open http://java.sun.com/javase/downloads/index.jsp
 in a web browser and follow the Download link for
 JDK US DST Timezone Update Tool - 1_3_11 to obtain the
 time zone update file, tzupdater-1_3_11-2008i.zip.

 Please place the downloaded file(s) in /usr/ports/distfiles.

*** Error code 1

Stop in /usr/ports/java/diablo-jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
--8--

The only tzupdater available on that website is tzupdater-1_3_15-2009g.zip.
During the build there were several similar messages and I could download
the needed files; tzupdater-1_3_15-2009g.zip happens to be one of them.

Does anyone know where to download tzupdater-1_3_11-2008i.zip, or knows a
workaround to install jdk16 without it?


Regards,

Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ahj...@cloud.ccsf.cc.ca.us
___
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: java jdk16 port

2009-07-17 Thread Jochen Neumeister
Am Thu, 16 Jul 2009 23:09:46 -0700 (PDT)
schrieb Joe R. Jah j...@cloud.ccsf.cc.ca.us:

 Hello all,
 
 I want to install java jdk16 port.  Make build spits this:
 
 --8--
  Because of licensing restrictions, you must fetch the distribution
  manually.
 
  Please open http://java.sun.com/javase/downloads/index.jsp
  in a web browser and follow the Download link for
  JDK US DST Timezone Update Tool - 1_3_11 to obtain the
  time zone update file, tzupdater-1_3_11-2008i.zip.
 
  Please place the downloaded file(s) in /usr/ports/distfiles.
 
 *** Error code 1
 
 Stop in /usr/ports/java/diablo-jdk16.
 *** Error code 1
 
 Stop in /usr/ports/java/jdk16.
 *** Error code 1
 
 Stop in /usr/ports/java/jdk16.
 --8--
 
 The only tzupdater available on that website is
 tzupdater-1_3_15-2009g.zip. During the build there were several
 similar messages and I could download the needed files;
 tzupdater-1_3_15-2009g.zip happens to be one of them.
 
 Does anyone know where to download tzupdater-1_3_11-2008i.zip, or
 knows a workaround to install jdk16 without it?

Found into the FreeBSD-Forum: 
http://forums.freebsd.org/showpost.php?p=22144postcount=5
 
 
 Regards,
 
 Joe

Have Fun...

Jochen

___
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: java jdk16 port

2009-07-17 Thread Ott Köstner

Joe R. Jah wrote:

Hello all,

I want to install java jdk16 port.  Make build spits this:
  

Seems, that you have not updated your ports tree before starting java
port install.

See

# pwd
/usr/ports/java/diablo-jre16

# cat distinfo
MD5 (diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2) =
e32080c1f09e59bf77891287a0225b0a
SHA256 (diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2) =
b019b485acafdcfe2a2770ea9d2a547f3918f78ba76191714072c57b47935eef
SIZE (diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2) = 27577577

Greetings,
Ott Köstner



--8--
 Because of licensing restrictions, you must fetch the distribution
 manually.

 Please open http://java.sun.com/javase/downloads/index.jsp
 in a web browser and follow the Download link for
 JDK US DST Timezone Update Tool - 1_3_11 to obtain the
 time zone update file, tzupdater-1_3_11-2008i.zip.

 Please place the downloaded file(s) in /usr/ports/distfiles.

*** Error code 1

Stop in /usr/ports/java/diablo-jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
--8--

The only tzupdater available on that website is tzupdater-1_3_15-2009g.zip.
During the build there were several similar messages and I could download
the needed files; tzupdater-1_3_15-2009g.zip happens to be one of them.

Does anyone know where to download tzupdater-1_3_11-2008i.zip, or knows a
workaround to install jdk16 without it?


Regards,

Joe
  



___
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: Install from a USB Pen

2009-07-17 Thread Fbsd1

Randi Harper wrote:

On Wed, Jul 15, 2009 at 6:50 PM, Fbsd1 fb...@a1poweruser.com wrote:


Randi Harper wrote:


On 7/14/09, Fbsd1 fb...@a1poweruser.com wrote:


What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


Sigh. Reply-to-all fail. Resending.

It's all in the email about the 8.0 BETA(s). Use dd, a memstick that
 is of equal to or greater size than the memstick.img, and no, it's
 different from disc1. It currently lacks packages, but it does include
 livefs.

 -- randi


 The email about 8.0 BETA(s) was not posted to the questions list that is

why I did not see it.

This is what I tried

 Plugging in the stick auto generated these messages

# /root umass0: vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/2.00,
addr  2 on uhub1
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤żňÚktń

 I have to hit enter key to get prompt
 of=da0  or of=da0s1 resulted in same thing, no img on stick

# /usr dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync
57412+0 records in
57412+0 records out
587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec)

Can not mount with (mount /dev/da0s1 /mnt)
But (mount_msdosfs /dev/da0s1 /mnt) does work but
stick still contains the original data.
Has not been overwritten by the 8.0-BETA1-i386-memstick.img

What is the problem here?



You're writing to a file called da0 inside /usr instead of /dev/da0.

-- randi
___
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




dd if=8.0-BETA1-i386-memstick.img of=/dev/da0   worked

I used my laptop to boot from the usb memstick. The 8.0 sysinstall 
started right up but it has problems. In this test i am booting off a 
2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and 
installing on a second 8gb memstick.


While trying to do a [STANDARD/KERNEL DEVELOPER] distribution 
sysinstall issues error msg saying package index not on current media 
them gos on to tell me that docproj, manpages, proflibs, dict, info, 
sbace, ssys and srce are not on the media.


I take this to mean that they are missing from the 
8.0-BETA1-i386-memstick.img.


So I tried to install again this time doing a minimal selection. This 
when through to completion but the resulting memstick was not bootable.


I'll try this test again when BETA2 is released.


___
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: 8.0 and GPT_PART and core-dump

2009-07-17 Thread Paul B. Mahol
On 7/16/09, Patrick Lamaiziere patf...@davenulle.org wrote:
 Hello,

 With 8.0, FreeBSD see my disk with several parts instead slices.
 That works fine but the kernel is not able to core dump to my swap
 (ad4p3a) and I can't break into the debuger (laptop with an usb
 keyboard).
For first one it looks like table is broken.
The last one is unrelated to gpart


 So I would like to revert to slices like with FreeBSD 7.2?

 Thanks, regards.

 baby-jane:~$ gpart show
 =   34  312581741  ad4  GPT  (149G)
  34  6   - free -  (3.0K)
  40 4096001  efi  (200M)
  409640  2262302722  !48465300--11aa-aa11-00306543ecac
 (108G)
   226639912 262144   - free -  (128M)
   226902056   856797123  !ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
 (41G)
   312581768  7   - free -  (3.5K)

 =   0  85679712  ad4p3  BSD  (41G)
  0   4194304  2  freebsd-swap  (2.0G)
4194304   1572864  1  freebsd-ufs  (768M)
5767168   2097152  4  freebsd-ufs  (1.0G)
7864320   2097152  5  freebsd-ufs  (1.0G)
9961472  75718240  6  freebsd-ufs  (36G)

 ___
 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



-- 
Paul
___
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: 5000' ethernet?

2009-07-17 Thread perryh
David Kelly dke...@hiwaay.net wrote:
 Not directly FreeBSD related, but how much of a chance is there
 that two machines could communicate directly over 5,000 feet of
 cat5 with no special hardware?

After reading (at least most of) the discussion that has arisen
from this, I've had another thought which would use the wire
already ordered -- although it does involve special hardware.
Maybe you could set up what would amount to your own two-point
telco:

Option 1:  Put a T1 frame-relay box at each end.  I don't know how
far a T1 can run without a booster of some sort, but I'd think it
must be more than a mile or it would not have been commercially
feasible.

Option 2:  Put an ordinary DSL modem at one end and a DSLAM at the
other end.  Again I'm not sure what the range is, but DSL used to
be referred to as the solution for the last mile from the telco
to the customer so it may be up to the job.

AFAIK neither of these really needs the signal quality of Cat 5 --
they both should work just fine over Cat 3 -- but surely the higher
grade wire can't hurt (and it may increase the usable DSL distance).
___
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: 5000' ethernet?

2009-07-17 Thread Olivier Nicole
Hi,

 AFAIK neither of these really needs the signal quality of Cat 5 --
 they both should work just fine over Cat 3 -- but surely the higher
 grade wire can't hurt (and it may increase the usable DSL distance).

I think I remember that the gauge of Ethernet cable is smaller than
the one of phone cable: Ethernet cores are smaller, there can be an
issue with the quality/strength of the signal.

Of course DSL can go over one mile.

Olivier
___
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


First European Union multilingual B2B portal start.

2009-07-17 Thread Mr. Storm, EU B2B
Welcome on our multilingual B2B portal on http://eu-B2B.eu

The European Union would like to get better business contacts to all EU members.
EU-B2B.EU make a new B2B portal available in differently European languages.
The user can search over all categories in his language (German, Spain ..) look 
for products and find your products!

All products descriptions can you use in all language what you like.

Not more one B2B for English, other for German, French, and other for .. ONLY 
ONE B2B business data base for all European languages.

Use this unique chance and register certainly today.

You can use the temporary test phase / End-Release C. (to 20 August) and you 
notify performances of company, products, completely free of charge in EU-B2B 
portal.

(The test-phase is not optimal balanced and work with 50% speed.)

The benefits you will get from End-Release version of EU B2B International 
Edition are :

* First-level Priority Listing

* Exclusive Full Access to Buying Leads

* Premium Company Website

* Tradeshow Promotion Opportunity

* Big Buyer Promotion Opportunity

* 5 Product Showcase

*

*

-This value over 200 Euro is FREE for you !

Start with http://eu-b2b.eu/

Best Regards!
Alex Storm, EU Comm.Support
E-Mail: supp...@eu-b2b.eu mailto:supp...@eu-b2b.eu
EU-B2B Corp. Brussel, Belgie, Aven. La Foch 1

Please do not reply to this email. This mailbox is not monitored and you will 
not receive a response.

You get this e-mail as a recipient International B2B portals. If you are not 
the intended recipient, please delete the e-mail and unsubscribe. If you don't 
want to receive any further information’s please send this e-mail with message 
UNSUBSCRIBE to e-mail address: unscr...@eu-b2b.eu

© 2009 EU-B2B Copyright

EU-B2B.EU

___
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: 8.0 and GPT_PART and core-dump

2009-07-17 Thread Patrick Lamaiziere
Le Fri, 17 Jul 2009 09:30:25 +0200,
Paul B. Mahol one...@gmail.com a écrit :

  With 8.0, FreeBSD see my disk with several parts instead slices.
  That works fine but the kernel is not able to core dump to my swap
  (ad4p3a) and I can't break into the debuger (laptop with an usb
  keyboard).
 For first one it looks like table is broken.

It's a Macbook Pro partitionned with the Apple bootcamp utility. 
I'm not sure if I shall fill a PR for this, it looks to be a hack just
for running MS-Windows on a Mac. But that worked fine with 7.X

 The last one is unrelated to gpart

I know, I meant I really need to be able to dump a panic.

Any hint is welcome.

Regards.
___
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: 5000' ethernet?

2009-07-17 Thread Michelle Konzack
Hi,

Am 2009-07-17 00:47:57, schrieb per...@pluto.rain.com:
 Option 2:  Put an ordinary DSL modem at one end and a DSLAM at the
 other end.  Again I'm not sure what the range is, but DSL used to
 be referred to as the solution for the last mile from the telco
 to the customer so it may be up to the job.

I could recommend this too,  because  a  Lucent Stinger IP DSLAM  with
24 ports with 8 Mbit Downstream and 1 Mbit upstream cost arround 800 US$
and you can use inexpensive 2 wire (or multiple) telephone cable.

The Lucent Stinger IP DSLAM support 8 Mbit in a distance of 6000ft and
DSL lite with 384 kbit on 15000ft.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947Blumenstasse 2 MSN LinuxMichi
+33/6/61925193 77694 Kehl/Germany IRC #Debian (irc.icq.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


Re: 8.0 and GPT_PART and core-dump

2009-07-17 Thread Ivan Voras

Patrick Lamaiziere wrote:

Le Fri, 17 Jul 2009 09:30:25 +0200,
Paul B. Mahol one...@gmail.com a écrit :


With 8.0, FreeBSD see my disk with several parts instead slices.
That works fine but the kernel is not able to core dump to my swap
(ad4p3a) and I can't break into the debuger (laptop with an usb
keyboard).

For first one it looks like table is broken.


It's a Macbook Pro partitionned with the Apple bootcamp utility. 
I'm not sure if I shall fill a PR for this, it looks to be a hack just

for running MS-Windows on a Mac. But that worked fine with 7.X


The last one is unrelated to gpart


I know, I meant I really need to be able to dump a panic.

Any hint is welcome.


When the kernel attempts a dump on the device, do you perhaps see a 
message like partition type unsupported?. One thing that's changed in 
GPART is that it will not allow dumps on partitions marked like they 
contain a file system.


Specifically, if you're using GPT, the dump partition's type needs to be 
 either gpt_uuid_freebsd_swap or gpt_uuid_linux_swap. For FreeBSD swap, 
it's 516e7cb5‐6ecf‐11d6‐8ff8‐00022d09712b.


___
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: FreeBSD FIBs (setfib) - How to modify?

2009-07-17 Thread Ivan Voras

Mel Flynn wrote:

I guess the main question here is what is 10? or what is an FIB?. How does 
one create such an FIB id (which I can't find in docs either). For example, on 
my system if I do:

% setfib 2 fetch http://www.freebsd.org/docs.html
setfib: 2: invalid FIB (max 0)

I would expect to see some info in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html


You could suggest it at the docs@ list ...

___
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: 8.0 and GPT_PART and core-dump

2009-07-17 Thread Patrick Lamaiziere
Le Fri, 17 Jul 2009 12:27:32 +0200,
Ivan Voras ivo...@freebsd.org a écrit :

 When the kernel attempts a dump on the device, do you perhaps see a 
 message like partition type unsupported?. 

Yes at boot-time :
GEOM_PART: Partition 'ad4p3' not suitable for kernel dumps (wrong type?)

One thing that's changed
 in GPART is that it will not allow dumps on partitions marked like
 they contain a file system.
 
 Specifically, if you're using GPT, the dump partition's type needs to
 be either gpt_uuid_freebsd_swap or gpt_uuid_linux_swap. For FreeBSD
 swap, it's 516e7cb5‐6ecf‐11d6‐8ff8‐00022d09712b.

I do not have a GPT partition for the swap. My swap is in ad4p3b
=   0  85679712  ad4p3  BSD  (41G)
 0   4194304  2  freebsd-swap  (2.0G)

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: 5000' ethernet?

2009-07-17 Thread Heiner Strauß

  Option 2:  Put an ordinary DSL modem at one end and a DSLAM at the
  other end.  Again I'm not sure what the range is, but DSL used to
  be referred to as the solution for the last mile from the telco
  to the customer so it may be up to the job.
 
 I could recommend this too,  because  a  Lucent Stinger IP DSLAM
 with
 24 ports with 8 Mbit Downstream and 1 Mbit upstream cost arround 800
 US$
 and you can use inexpensive 2 wire (or multiple) telephone cable.
 
 The Lucent Stinger IP DSLAM support 8 Mbit in a distance of 6000ft
 and
 DSL lite with 384 kbit on 15000ft.
 
 
 

If T1/E1 speed is enough, there are cards working with FreeBSD. If the
CSU/DSU is on the card, I think you don't need extra equip and you have
a symmetrical line. Should be OK for some miles with ordinary field
telephone cable. You configure these cards almost like normal network
cards if you run IP over them.

Greetings,
Heiner


___
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: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Drew Tomlinson

Jason Garrett wrote:

snip everything that don't matter


8. Install ZFS boot:
# gpart bootcode -b /zroot/boot/pmbr ad0
# gpart bootcode -p /zroot/boot/gptzfsboot -i 1 ad0

9. Change mount points for zroot pool and reboot.



IT WORKS!!!

Step 8 was CRUCIAL to the setup. All along, following the guides, I 
was doing this. The ONLY difference was after I built the loader with 
LOADER_ZFS_SUPPORT=YES I did this step from /mnt2/boot/pmbr and 
/mnt2/boot/gptzfsboot. One guide even had me do this first. This is 
the one thing that made it work. I am now happy to be testing 
8.0-BETA1 on my machine.


Congratulations!  Now I have new hope.  :)  Hopefully I will get some 
time this weekend to try again.


Cheers,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.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


Re: 5000' ethernet?

2009-07-17 Thread Jeff Dickens

Check www.gnswireless.com (this from a satisfied customer)

That said, I also use the method of placing mini ethernet switches or 
hubs (electrically a multiport repeater and damned hard to find now) 
every so often to reach distant parts of our warehouses.  These are 
powered, of course.  POE might work if you only needed one or two repeaters.



mikel.k...@olivent.com wrote:

20090715202734.gh29...@tamay-dogan.net 
20090715210752.ge16...@grumpy.dyndns.org
From: Mikel mikel.k...@olivent.com
Date: Wed, 15 Jul 2009 17:38:21 -0400
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit

David,

 
You can run upto 1.5 miles on a lx fiber based solution but will likely 
require a skilled installer to setup that much cable for you.


Depending on your locale I am may be able to put connect you to a supplier.

Have you considered a wireless direct beam solution?  Especially 
considering the 'temporary' nature of this install.


___
Cheers,
Mikel King
CEO, Olivent Technologies

follow-me http://twitter.com/mikelking

.. Original Message ...
On Wed, 15 Jul 2009 16:07:52 -0500 David Kelly dke...@hiwaay.net wrote:
  

On Wed, Jul 15, 2009 at 10:27:35PM +0200, Michelle Konzack wrote:


Hello David,

Am 2009-07-15 14:47:18, schrieb David Kelly:
  
Not directly FreeBSD related, but how much of a chance is there that 


two
  

machines could communicate directly over 5,000 feet of cat5 with no
special hardware?


I do not know hoe much a feet is in meters but AFAIK arround 0,3 which
mean, you are talking about 1.5km or 1 mile ?
  

Yes, roughly a mile which is 5280 feet. Maybe less, but no more than a
mile. Won't really know until I get there and start running cable.



There are inexpensive FiberOptic Transponder (I am using a bunch  of
it from Transmode for my CWDM 1GE and DWDM 10GE network)

The 100 Mbit Transponder cost  arround  600 Euro  (each)  and  for
your 5000 feets you need only  an  inexpensive  FiberOptic  cable.
EVEN  the cheapes one would transfer 1 Gbit at this distance.
  

What I'm not (yet) seeing is a fiber optic transceiver listed with
matching fiber optic cable. The transceivers seem inexpensive vs the cost
of the cable.



Are there any particular range extenders you have used and would
recommend for making this task a sure thing on the first try?
Perhaps I should put an inexpensive ethernet switch at each junction
to serve as a regenerative repeater?


You have to use at least 3 Repeaters which NEED electricity. Do you
know this?
  

Yes, of course.



5000 feet CAT5, 3 Repeater plus electric installation  cost  more,
then the FiberOptic Cable with two Transponder.  And of course,  no
one  can sniff traffic on FiberOptic and you have no worry about
magnetic  fields disturbing your 5000 feet...
  

No one is going to sniff *this* one.

Am not finding sources of fiber optic cable as easily as I can find
fiber optic transceivers.

100baseT ethernet switches are about $25 each if one will serve as a
regenerative repeater.

Did I mention this is a temporary installation?

--
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
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
  


__
 Scanned by Google Message Security  - Leaving Seaman Paper
___
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: Resetting user password in cron

2009-07-17 Thread Lowell Gilbert
Glen Barber glen.j.bar...@gmail.com writes:

 On Thu, Jul 16, 2009 at 8:39 PM, Jos Chrispijnj...@webrz.net wrote:
 Can someone tell me how I can reset a user's password best in a cron job?
 If I do a password change from the prompt, I now have to re-enter the
 password, which I would not like to do in a cron job. Thanks/


 Hi, Jos

 You can use chpass(1) in root's crontab:
 http://www.freebsd.org/cgi/man.cgi?query=chpasssektion=1

And note the '-p' option in particular.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: java jdk16 port

2009-07-17 Thread Joe R. Jah
On Fri, 17 Jul 2009, Jochen Neumeister wrote:

 Date: Fri, 17 Jul 2009 08:55:26 +0200
 From: Jochen Neumeister joc...@daten-chaos.de
 To: freebsd-questions@freebsd.org
 Cc: Joe R. Jah j...@cloud.ccsf.cc.ca.us
 Subject: Re: java jdk16 port

 Am Thu, 16 Jul 2009 23:09:46 -0700 (PDT)
 schrieb Joe R. Jah j...@cloud.ccsf.cc.ca.us:

  Hello all,
 
  I want to install java jdk16 port.  Make build spits this:
 
  --8--
   Because of licensing restrictions, you must fetch the distribution
   manually.
 
   Please open http://java.sun.com/javase/downloads/index.jsp
   in a web browser and follow the Download link for
   JDK US DST Timezone Update Tool - 1_3_11 to obtain the
   time zone update file, tzupdater-1_3_11-2008i.zip.
 
   Please place the downloaded file(s) in /usr/ports/distfiles.
 
  *** Error code 1
 
  Stop in /usr/ports/java/diablo-jdk16.
  *** Error code 1
 
  Stop in /usr/ports/java/jdk16.
  *** Error code 1
 
  Stop in /usr/ports/java/jdk16.
  --8--
 
  The only tzupdater available on that website is
  tzupdater-1_3_15-2009g.zip. During the build there were several
  similar messages and I could download the needed files;
  tzupdater-1_3_15-2009g.zip happens to be one of them.
 
  Does anyone know where to download tzupdater-1_3_11-2008i.zip, or
  knows a workaround to install jdk16 without it?

 Found into the FreeBSD-Forum:
 http://forums.freebsd.org/showpost.php?p=22144postcount=5
 
 
  Regards,
 
  Joe

 Have Fun...

 Jochen

Thank you so much Jochen.  It worked like a charm.

Regards,

Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ahj...@cloud.ccsf.cc.ca.us
___
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: java jdk16 port

2009-07-17 Thread Joe R. Jah
On Fri, 17 Jul 2009, Ott K?stner wrote:

 Date: Fri, 17 Jul 2009 09:54:32 +0300
 From: [ISO-8859-1] Ott K?stner o...@zzz.ee
 To: freebsd-questions@freebsd.org
 Subject: Re: java jdk16 port

 Joe R. Jah wrote:
  Hello all,
 
  I want to install java jdk16 port.  Make build spits this:
 
 Seems, that you have not updated your ports tree before starting java
 port install.

Actually diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2 was in one of
the first messages, which I successfully downloaded and had the build
continue until it got to tzupdater-1_3_11-2008i.zip.

Thanks to Jochen I downloaded tzupdater and built jdk16.


 See

 # pwd
 /usr/ports/java/diablo-jre16

 # cat distinfo
 MD5 (diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2) =
 e32080c1f09e59bf77891287a0225b0a
 SHA256 (diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2) =
 b019b485acafdcfe2a2770ea9d2a547f3918f78ba76191714072c57b47935eef
 SIZE (diablo-latte-freebsd6-amd64-1.6.0_07-b02.tar.bz2) = 27577577

 Greetings,
 Ott K?stner


  --8--
   Because of licensing restrictions, you must fetch the distribution
   manually.
 
   Please open http://java.sun.com/javase/downloads/index.jsp
   in a web browser and follow the Download link for
   JDK US DST Timezone Update Tool - 1_3_11 to obtain the
   time zone update file, tzupdater-1_3_11-2008i.zip.
 
   Please place the downloaded file(s) in /usr/ports/distfiles.
 
  *** Error code 1
 
  Stop in /usr/ports/java/diablo-jdk16.
  *** Error code 1
 
  Stop in /usr/ports/java/jdk16.
  *** Error code 1
 
  Stop in /usr/ports/java/jdk16.
  --8--
 
  The only tzupdater available on that website is tzupdater-1_3_15-2009g.zip.
  During the build there were several similar messages and I could download
  the needed files; tzupdater-1_3_15-2009g.zip happens to be one of them.
 
  Does anyone know where to download tzupdater-1_3_11-2008i.zip, or knows a
  workaround to install jdk16 without it?

Regards,


Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ahj...@cloud.ccsf.cc.ca.us___
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

Newsletter 4 - Abris de jardin et portails

2009-07-17 Thread Decofinder
 Cliquez-ici pour visualiser ce message au format HTML

Envoyer ? un ami Envoyer * un ami   fr gb de it es
http://www.decofinder.com
  [IMG]

Abris de jardin  Portailsnews ...
Qu'on veuille se protéger
de la pluie, de l'ombre ou| ARMANI CASA  RUBELLI 
de ses voisins, se réfugier   Ces deux maisons de luxe
dans un espace intime ou  s'associent pour lancer une
convivial, les équipementscollection de tissus
de jardin répondent à tousd'ameublement Armani/Casa
nos désirs. Traité comme  Exclusive Textiles by   [IMG]
une pièce à part entière, Rubelli. La 1ère Jusqu'au 30 août,
le jardin est aménagé aveccollection sera disponibleParis/ Design en
autant de soin que la en septembre prochain en  mutation présente
maison. On en profite toutexclusivité dans les show onze designers ...
au long de l'année grâce àrooms Armani Casa et
des installations stylées Rubelli. |  MARCEL WANDERS
et fonctionnelles. Designer néerlandais
Les pergolas, structures de   parmi les plus influents au
canisse ou de toile   monde, Marcel Wanders signe
adossées, et les tentes dela décoration intérieure
jardin ...originale de l'hôtel Kameha
  ...
  Lire la suite Lire la suiteLire la suite
 CADIOU INDUSTRIEJT Deco
 [IMG]  En recherche constante d'innovations, le  [IMG]
fabricant de portails CADIOU INDUSTRIE Partenaires
vient de lancer sur le marché une [IMG]
nouvelle gamme de portails alu avec   [IMG]
moteur intégré et donc invisible.   Consultez le site
Fruit d'une collaboration avec un   www.ac-verandas.ch
ingénieur spécialiste en motorisation,[IMG]
cette avancée technique vient renforcer
l'offre produits de l'entreprise
bretonne. L'objectif est à la fois ...
  En savoir +
 MPF d*co jardin
MPF Deco Jardin offre une gamme étendue[IMG]
d'objets décoratifs pour le jardin. Ils
vendent exclusivement aux professionnels
à Rungis, si vous êtes particuliers et
intéressés par leurs fontaines,
gloriettes, poteries, treillages,
statues... adressez-vous à votre
fleuriste, paysagiste, décorateurs ou
jardineries ou consultez leur catalogue
en ligne.
www.mpfdecojardin.com
 JardinDeco.com
 [IMG]  Nouveau venu sur le marché du e-commerce,
Jardindeco vous propose depuis septembre
2007 des produits de déco extérieur comme
intérieur : Abris et chalets de jardin,
serres, outils, barbecues, mobilier
d'extérieur, jeux pour enfants, saunas
... tous ces objets incontournables pour
vivre dehors et vous accompagner dans vos
moments de détente. Jardindeco est un
site qui se veut proche de ses clients à
l'image des petits commerçants de ...
  En savoir +
  MATHIEU LEHANNEUR, Designer
Mathieu Lehanneur (1974), designer [IMG]
français, marque sa singularité dès son
projet de fin d'études (ENSCI-Les
Ateliers) sur la manière de concevoir des
médicaments en intégrant les relations du
patient avec sa maladie. Le point de
départ de tout son travail de création
est l'être humain dans toute sa
complexité. Il colle à la réalité et
tente de répondre aux besoins que nous
avons au quotidien en adoptant une
démarche scientifique. Ses créations
peuvent ...
  En savoir +
 Arbres extraordinaires de France
 [IMG]  0ù se trouve le plus gros arbre de France
? Quel village peut s'honorer de posséder
le plus vieil arbre de notre pays ? la
France possède un patrimoine arboré
extraordinaire, dans lequel les arbres
remarquables tiennent une place de plus
en plus reconnue. Depuis une vingtaine
d'années, Georges Feterman recense et
photographie les arbres d'exception qui
font la richesse de notre patrimoine
naturel. Tous racontent une partie de
notre histoire, ...
  En savoir +
Contacter la r*daction * pr...@decofinder.com Devenez partenaire de la
Newsletter Decofinder partena...@decofinder.com
  copyright DISTRIMART SA - 2000 - 2009 - D*claration CNIL N* 1064231

question

2009-07-17 Thread Zohreh
Dear Sir/Madam 
 
i have a question about free bsd and squid that was installed on it.
i insatlled squid 2.6 stabled 20 on freebsd 7. and i enabled firewall on 
freebsd .
now i brows http sites on internet but i cannot brows ftp site and i cannot 
pass pop3 through of my squid .
can you hlep me , how to config squid and freebsd to pass ftp and pop3 ?
thank you for your attention 
 
best regards 
zohreh 
 



___
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: question

2009-07-17 Thread Giorgos Keramidas
On Fri, 17 Jul 2009 10:51:57 -0700 (PDT), Zohreh zohreh...@yahoo.com wrote:
 Dear Sir/Madam 
  
 i have a question about free bsd and squid that was installed on it.
 i insatlled squid 2.6 stabled 20 on freebsd 7. and i enabled firewall
 on freebsd .  now i brows http sites on internet but i cannot brows
 ftp site and i cannot pass pop3 through of my squid .  can you hlep me
 , how to config squid and freebsd to pass ftp and pop3 ?  thank you
 for your attention   best regards zohreh  

You seem to have blocked FTP access by tweaking the firewall ruleset.

Either show us the ruleset you are using, or try setting in the
environment of the squid proxy the option FTP_PASSIVE_MODE=1.

___
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: question

2009-07-17 Thread David Kelly
On Fri, Jul 17, 2009 at 10:28:16PM +0300, Giorgos Keramidas wrote:
 On Fri, 17 Jul 2009 10:51:57 -0700 (PDT), Zohreh zohreh...@yahoo.com wrote:
  Dear Sir/Madam 
  ?
  i have a question about free bsd and squid that?was?installed on it.
  i insatlled squid 2.6 stabled 20 on freebsd 7. and i enabled firewall
  on freebsd .  now i brows http sites on internet but i cannot brows
  ftp site and i cannot pass pop3 through of my squid .  can you hlep me
  , how to config squid and freebsd to pass ftp and pop3 ?  thank you
  for your attention ? best regards zohreh ?
 
 You seem to have blocked FTP access by tweaking the firewall ruleset.

Client side passive ftp can function through simple firewalls but
non-passive (which is *not* active) requires very special handling.

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
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: 5000' ethernet?

2009-07-17 Thread Elliot Finley
Just for the archives:
A T1 can only run about 600 feet.  Yes, that's right, 600 feet.  When people
talk about T1s running long distances, the reference to 'T1' is only the
signalling at the end.  In the middle, that T1 will be carried by other
methods such as SONET over fiber for very long distances.  For the last
mile it will be carried on HDSL or similar technology.  Or if it's a fairly
long copper path, it can be carried on T-carrier.

But bottom line:  The T1 signal that comes off of a CSU/DSU will reach about
600 feet.

On Fri, Jul 17, 2009 at 1:47 AM, per...@pluto.rain.com wrote:

 David Kelly dke...@hiwaay.net wrote:
  Not directly FreeBSD related, but how much of a chance is there
  that two machines could communicate directly over 5,000 feet of
  cat5 with no special hardware?

 After reading (at least most of) the discussion that has arisen
 from this, I've had another thought which would use the wire
 already ordered -- although it does involve special hardware.
 Maybe you could set up what would amount to your own two-point
 telco:

 Option 1:  Put a T1 frame-relay box at each end.  I don't know how
 far a T1 can run without a booster of some sort, but I'd think it
 must be more than a mile or it would not have been commercially
 feasible.

 Option 2:  Put an ordinary DSL modem at one end and a DSLAM at the
 other end.  Again I'm not sure what the range is, but DSL used to
 be referred to as the solution for the last mile from the telco
 to the customer so it may be up to the job.

 AFAIK neither of these really needs the signal quality of Cat 5 --
 they both should work just fine over Cat 3 -- but surely the higher
 grade wire can't hurt (and it may increase the usable DSL distance).
 ___
 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


ROCK SENSATION

2009-07-17 Thread francis
VISIT THE NEW ROCKSENSATION FROM GERMANY/SWEDEN - FRANCIS SOTO 
BAND

www.francissoto-band.com

www.myspace.com/francissotoband 

greetings

___
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 8.0 updated OpenSSH version

2009-07-17 Thread Jerry
I noticed on the FreeBSD 8.0 page that OpenSSH is being updated from
4.5p1 to 5.1p1. [MERGED]; however, according to the OpenSSH page, the
present version is OpenSSH 5.2/5.2p1 released February 23, 2009.

I was just wondering why the FreeBSD team decided not to go with the
latest stable version available? since the latest version was released
in February, there appears that time was not a factor.

-- 
Jerry
ges...@yahoo.com

To be intoxicated is to feel sophisticated but not be able to say it.
___
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: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Drew Tomlinson

Andrey V. Elsukov wrote:

Jason Garrett wrote:
Top Post, I know... but has anyone on @current tried a full on ZFS on 
ROOT

with GPTZFSBOOT?

Both Drew and I have both tried the guide at
http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ 
(dead

link now :( )

I get as far as the message I detailed before using parts from another
guide. I am hoping for both of us, that someone here knows even a little
bit.


I installed 8.0-BETA1 on ZFS 2 days ago. It works. I did following steps:

1. Boot from bootable USB-flash (Minimal FreeBSD installation with 
copy of install CD).
I can't figure out how to create bootable USB from Windows.  Do not have 
FBSD system with USB to create.  Thus I have booted from DVD made from 
8.0-BETA2-amd64-dvd1.iso


2. Create partitions
# gpart show ad0
=   34  312581741  ad0  GPT  (149G)
 342561  freebsd-boot  (128K)
29041943042  freebsd-swap  (2.0G)
4194594  2516582403  freebsd-zfs  (120G)
  255852834   56728941   - free -  (27G)

3. Create zpool and filesystem hierarchy

4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall 
with custom

options (Install Root and Media Type)


I am stuck at this point.  I have my zpool mounted at /zpool in the 
FixIt environment.  Then I exit FixIt and choose  Custom from 
sysinstall.  I set appropriate  Options.  Next I select my 
distributions.  Finally I hit Commit but systinstall complains that I 
haven't labeled any disks.  What step am I missing?


Thanks,

Drew



5. Create /etc/fstab, /etc/rc.conf, /etc/src.conf, /boot/loader.conf
   http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-118

6. Install ZFS aware /boot/loader
   http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-144

7. Create zpool.cache

8. Install ZFS boot:
# gpart bootcode -b /zroot/boot/pmbr ad0
# gpart bootcode -p /zroot/boot/gptzfsboot -i 1 ad0

9. Change mount points for zroot pool and reboot.

It's all.

___
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: SSO solution in ports?

2009-07-17 Thread John Almberg
Well, after a week of looking, I think I am going to go with a CAS  
solution, rubycas-server and rubycas-client. This supports several  
methods of authentication, including SQL, ActiveDirectory, LDAP, and  
GoogleAccounts. SQL is probably good enough for my application at the  
moment, but the LDAP option might come in handy someday. And it  
integrates nicely with Rails apps, which is my target platform.


I looked at OpenID, which Rails also has good support for, but to my  
mind, it's just too complicated for the average user to use. I  
remember the first time I had to set one up, it was quite difficult  
to understand what it was they were looking for. I think it would  
scare away the average, non-technical, website user.


Thanks for the ideas!

Brgds: John


On Jul 16, 2009, at 1:03 PM, Mel Flynn wrote:


On Thursday 16 July 2009 06:54:39 Bill Moran wrote:

In response to John Almberg jalmb...@identry.com:

I am trying to build a set of web applications that are accessed
through a web portal that uses a Single Sign On (SSO) solution.
Problem is, there are MANY competing SSO solutions. Since building
the client side of the SSO system is more than enough for me, I was
wondering if there are any SSO servers in ports that I can just
install and use? A CAS solution would be the best, but I'll look at
anything.


The most widely supported I know of is LDAP, and OpenLDAP works  
pretty

well.


That won't really work as LDAP can't read a browser cookie or  
maintain session

information. LDAP is a good choice as storage backend.

Your best bet is probably to use an OpenID based solution, as  
support for this
sign on method is growing in web applications, so you lessen the  
chance of
having to maintain your custom glue into the application. The  
security/phpmyid
port is one implementation that allows you to run your own OpenID  
server.


http://openid.net/
--
Mel
___
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


~~
Websites and Marketing for On-line Collectible Dealers
~~
IDENTRY, LLC
John Almberg - Managing Partner
(631) 546-5079
jalmb...@identry.com
www.identry.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


Re: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Jason Garrett
I will post my exact steps around 1800 CDT, and probably put it up on
my webserve later on.

Do only @freebsd.org members have access to the FreeBSD wiki?

I'm posting from my bb at work so sorry if this top posts or messes
anything else up.

On 7/17/09, Drew Tomlinson d...@mykitchentable.net wrote:
 Andrey V. Elsukov wrote:
 Jason Garrett wrote:
 Top Post, I know... but has anyone on @current tried a full on ZFS on
 ROOT
 with GPTZFSBOOT?

 Both Drew and I have both tried the guide at
 http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/
 (dead
 link now :( )

 I get as far as the message I detailed before using parts from another
 guide. I am hoping for both of us, that someone here knows even a little
 bit.

 I installed 8.0-BETA1 on ZFS 2 days ago. It works. I did following steps:

 1. Boot from bootable USB-flash (Minimal FreeBSD installation with
 copy of install CD).
 I can't figure out how to create bootable USB from Windows.  Do not have
 FBSD system with USB to create.  Thus I have booted from DVD made from
 8.0-BETA2-amd64-dvd1.iso

 2. Create partitions
 # gpart show ad0
 =   34  312581741  ad0  GPT  (149G)
  342561  freebsd-boot  (128K)
 29041943042  freebsd-swap  (2.0G)
 4194594  2516582403  freebsd-zfs  (120G)
   255852834   56728941   - free -  (27G)

 3. Create zpool and filesystem hierarchy

 4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall
 with custom
 options (Install Root and Media Type)

 I am stuck at this point.  I have my zpool mounted at /zpool in the
 FixIt environment.  Then I exit FixIt and choose  Custom from
 sysinstall.  I set appropriate  Options.  Next I select my
 distributions.  Finally I hit Commit but systinstall complains that I
 haven't labeled any disks.  What step am I missing?

 Thanks,

 Drew


 5. Create /etc/fstab, /etc/rc.conf, /etc/src.conf, /boot/loader.conf
http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-118

 6. Install ZFS aware /boot/loader
http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-144

 7. Create zpool.cache

 8. Install ZFS boot:
 # gpart bootcode -b /zroot/boot/pmbr ad0
 # gpart bootcode -p /zroot/boot/gptzfsboot -i 1 ad0

 9. Change mount points for zroot pool and reboot.

 It's all.

___
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: question

2009-07-17 Thread RW
On Fri, 17 Jul 2009 10:51:57 -0700 (PDT)
Zohreh zohreh...@yahoo.com wrote:

 Dear Sir/Madam 
  
 i have a question about free bsd and squid that was installed on it.
 i insatlled squid 2.6 stabled 20 on freebsd 7. and i enabled firewall
 on freebsd . now i brows http sites on internet but i cannot brows
 ftp site and i cannot pass pop3 through of my squid .

Squid doesn't proxy pop3, it will only proxy ftp if the client is
configured to use a proxy - interception doesn't work with ftp.
___
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: SSO solution in ports?

2009-07-17 Thread Brian A. Seklecki
On Thu, 2009-07-16 at 10:52 -0400, John Almberg wrote:
 I am trying to build a set of web applications that are accessed  
 through a web portal that uses a Single Sign On (SSO) solution.  

Combine your SSO (LDAP mostly, Kerberos is a waking nightmare) with a
2FA/TFA (Second Factor Authentication) solution such as grid cards,
FOBs, or an OTP password list.

I recommend Entrust IdentityGuard.   Our pam_radius works fine with it,
and web application can run NSS functionality out of LDAP and PAM
functionality out of Entrust's SOAP-XML Authentication API. 

 ~BAS


___
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: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Scot Hetzel
2009/7/17 Drew Tomlinson d...@mykitchentable.net:
 4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall with
 custom
 options (Install Root and Media Type)

 I am stuck at this point.  I have my zpool mounted at /zpool in the FixIt
 environment.  Then I exit FixIt and choose  Custom from sysinstall.  I set
 appropriate  Options.  Next I select my distributions.  Finally I hit
 Commit but systinstall complains that I haven't labeled any disks.  What
 step am I missing?


Just follow these steps to install FreeBSD from the Fixit environment:

http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD

Scot
___
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


badly munged system

2009-07-17 Thread Eitan Adler
I tried to do a make buildworld, make buildkernel, make installkernel,
reboot, make installworld from an old version of 7.2-STABLE to revision
195666. I was in single user mode the entire time.
The first three steps worked perfectly. The final step resulted in an
error which I forgot to log. I then proceeded to do a make clean and try
to rebuild the world.
This results in the following error:
cc -O2 -fno-strict-aliasing -pipe
-I/usr/obj/home/src/stable7/tmp/legacy/usr/in

clude -c /home/src/stable7/usr.bin/makewhatis/makewhatis.c
/home/src/stable7/usr.bin/makewhatis/makewhatis.c:146: warning: 'struct
dirent'

declared inside parameter list

/home/src/stable7/usr.bin/makewhatis/makewhatis.c:929: error:
dereferencing poin

ter to incomplete type
*** Error code 1

Stop in /home/src/stable7/usr.bin/makewhatis.
*** Error code 1
...

Along with this error I am now missing quite a number of system files:
among them include /usr/share/mk/bsd.port.mk
/libexec/ld-elf.so.1: sort: Shared object has no run-time symbol table
and man.

How could I get out of this state without losing data?
___
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: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Jason Garrett
Currently ther are a few errors that prevent the trhing from booting
in that guide. I will be happy to share them as soon as I get home. (I
used your guide for the most part.) About an hour and a half and ill
be ready to post.

On 7/17/09, Scot Hetzel swhet...@gmail.com wrote:
 2009/7/17 Drew Tomlinson d...@mykitchentable.net:
 4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall with
 custom
 options (Install Root and Media Type)

 I am stuck at this point.  I have my zpool mounted at /zpool in the FixIt
 environment.  Then I exit FixIt and choose  Custom from sysinstall.  I
 set
 appropriate  Options.  Next I select my distributions.  Finally I hit
 Commit but systinstall complains that I haven't labeled any disks.  What
 step am I missing?


 Just follow these steps to install FreeBSD from the Fixit environment:

 http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD

 Scot
 ___
 freebsd-curr...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-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: badly munged system

2009-07-17 Thread Chuck Swiger

On Jul 17, 2009, at 1:55 PM, Eitan Adler wrote:

How could I get out of this state without losing data?


Start by making a backup of the existing system.  Do a clean  
reinstall, preferably on other disk or system, and then restore your  
data files onto this other disk/system and test before making any  
further changes to the problematic disk.


Regards,
--
-Chuck

___
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: Attempting ZFS Only Install of 7.2

2009-07-17 Thread Drew Tomlinson

Scot Hetzel wrote:

2009/7/17 Drew Tomlinson d...@mykitchentable.net:
  

4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall with
custom
options (Install Root and Media Type)
  

I am stuck at this point.  I have my zpool mounted at /zpool in the FixIt
environment.  Then I exit FixIt and choose  Custom from sysinstall.  I set
appropriate  Options.  Next I select my distributions.  Finally I hit
Commit but systinstall complains that I haven't labeled any disks.  What
step am I missing?




Just follow these steps to install FreeBSD from the Fixit environment:

http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD


Thanks.  I followed those steps to get the system installed and the rest 
of the steps in Andrey's post.


I had one more issue before I got a full working system.  I had to add:

vfs.root.mountfrom.options=rw

to /boot/loader.conf.  Without that line, I got some error telling me to 
try 'set vfs.root.mountfrom.options=rw' and it left me at a mountfrom 
prompt.  But unfortunately, my USB keyboard didn't work at that prompt.  
Thus I rebooted from FixIt and added the line above.  One more reboot 
and voila!  ZFS on Root.


Thanks for all the help,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.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


OT: wget bug

2009-07-17 Thread Joe R. Jah
Hello all,

I want to wget a site at regular intervals and only get the updated pages,
so I use the this wget command line:

wget -b -m -nH http://host.domain/Directory/file.html

It works fine on the first try, but it fails on subsequent tries with the
following error message:

--8--
Connecting to host.domain ... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
--8--

I can change directory from which to run wget every time, but that defeats
the purpose of downloading only the changed files.

I googled wget fails on second try and found this small patch in a Linux
group that should supposedly fix the problem:

--8--
--- wget-1.10.2/src/ftp.c.cwd   2006-12-03 13:23:08.801467652 +0100
+++ wget-1.10.2/src/ftp.c   2006-12-03 20:30:24.641876672 +0100
@@ -1172,7 +1172,7 @@
len = 0;
   err = getftp (u, len, restval, con);

-  if (con-csock != -1)
+  if (con-csock == -1)
con-st = ~DONE_CWD;
   else
con-st |= DONE_CWD;
--8--

My wget is the latest version in the ports, 1.11.4.

Any ideas or advise is greatly appreciated.

Regards,

Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ahj...@cloud.ccsf.cc.ca.us
___
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: OT: wget bug

2009-07-17 Thread John Nielsen
On Friday 17 July 2009 06:12:33 pm Joe R. Jah wrote:
 I want to wget a site at regular intervals and only get the updated
 pages, so I use the this wget command line:

 wget -b -m -nH http://host.domain/Directory/file.html

 It works fine on the first try, but it fails on subsequent tries with
 the following error message:

 --8--
 Connecting to host.domain ... connected.
 HTTP request sent, awaiting response... 401 Unauthorized
 Authorization failed.
 --8--

 I can change directory from which to run wget every time, but that
 defeats the purpose of downloading only the changed files.

 I googled wget fails on second try and found this small patch in a
 Linux group that should supposedly fix the problem:

 --8--
 --- wget-1.10.2/src/ftp.c.cwd   2006-12-03 13:23:08.801467652 +0100
 +++ wget-1.10.2/src/ftp.c   2006-12-03 20:30:24.641876672 +0100
 @@ -1172,7 +1172,7 @@
 len = 0;
err = getftp (u, len, restval, con);

 -  if (con-csock != -1)
 +  if (con-csock == -1)
 con-st = ~DONE_CWD;
else
 con-st |= DONE_CWD;
 --8--

 My wget is the latest version in the ports, 1.11.4.

 Any ideas or advise is greatly appreciated.

I can't tell if your patch has already been applied upstream or if it's 
a reverse patch. The current distfile matches the +++ version at line 
1185. (normally the +++ file is the new version but it's easy to get 
the order reversed if you're not used to running diff).

You could always just try the patch. Something along the lines of this:

cd /usr/ports/ftp/wget
make clean
make patch  #extract the distfiles and apply FreeBSD patches
cd work/wget-1.11.4/src
vi ftp.c#or any editor you like
  ...go to line 1185 and change == to !=
  ...save and quit the editor
cd /usr/ports/ftp/wget
make
make deinstall  make reinstall
  ... try your procedure again.

If you don't like the results a make clean will erase your (modified) 
work directory and you can build the original version again.

JN
___
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


upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Chad Perrin
So . . . how do I upgrade Firefox from 3.0 to 3.5 without running the
risk of losing everything (bookmarks, a 100-tab session, et cetera)?  For
some reason, it seems that the upgrade has to be made by deleting 3.0 and
installing 3.5 afterward.  What's up with that?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Malaclypse the Younger: 'Tis an ill wind that blows no minds.


pgpZxhKavhpBC.pgp
Description: PGP signature


Re: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Polytropon
On Fri, 17 Jul 2009 16:48:37 -0600, Chad Perrin per...@apotheon.com wrote:
 So . . . how do I upgrade Firefox from 3.0 to 3.5 without running the
 risk of losing everything (bookmarks, a 100-tab session, et cetera)? 

Well, I don't think those settings get altered in any way - they do not
reside in the port's directories (where it will be installed into).
To be sure, make a backup copy of your ~/.mozilla/ directory before.



 For
 some reason, it seems that the upgrade has to be made by deleting 3.0 and
 installing 3.5 afterward.  What's up with that?

No idea. Anyway, user's files won't be touched.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Chad Perrin
On Sat, Jul 18, 2009 at 01:43:47AM +0200, Polytropon wrote:
 On Fri, 17 Jul 2009 16:48:37 -0600, Chad Perrin per...@apotheon.com wrote:
  So . . . how do I upgrade Firefox from 3.0 to 3.5 without running the
  risk of losing everything (bookmarks, a 100-tab session, et cetera)? 
 
 Well, I don't think those settings get altered in any way - they do not
 reside in the port's directories (where it will be installed into).
 To be sure, make a backup copy of your ~/.mozilla/ directory before.

Does that cover both bookmarks *and* my tab session?


  For
  some reason, it seems that the upgrade has to be made by deleting 3.0 and
  installing 3.5 afterward.  What's up with that?
 
 No idea. Anyway, user's files won't be touched.

Do you know this from personal experience, or are you just assuming that
I won't pull out all my hair five seconds after I discover it deleted a
bunch of shit I wanted to keep?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Naguib Mahfouz: You can tell whether a man is clever by his
answers. You can tell whether a man is wise by his questions.


pgpFt9ldtypEs.pgp
Description: PGP signature


Re: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Polytropon
On Fri, 17 Jul 2009 18:07:36 -0600, Chad Perrin per...@apotheon.com wrote:
 On Sat, Jul 18, 2009 at 01:43:47AM +0200, Polytropon wrote:
  On Fri, 17 Jul 2009 16:48:37 -0600, Chad Perrin per...@apotheon.com wrote:
   So . . . how do I upgrade Firefox from 3.0 to 3.5 without running the
   risk of losing everything (bookmarks, a 100-tab session, et cetera)? 
  
  Well, I don't think those settings get altered in any way - they do not
  reside in the port's directories (where it will be installed into).
  To be sure, make a backup copy of your ~/.mozilla/ directory before.
 
 Does that cover both bookmarks *and* my tab session?

I think so. Because a !root user cannot write to Firefox's directories
(inside the /usr/local/ subtree), data local to the user will be stored
in his home directory. The correct path is ~/.mozilla/firefox and maybe
~/.mozilla/default.

I can at least confirm it for the bookmarks. I haven't checked for
tab sessions because I'm not using that feature.

But just judging from a conceptual point of view: WHY NOT? :-)



   For
   some reason, it seems that the upgrade has to be made by deleting 3.0 and
   installing 3.5 afterward.  What's up with that?
  
  No idea. Anyway, user's files won't be touched.
 
 Do you know this from personal experience, or are you just assuming that
 I won't pull out all my hair five seconds after I discover it deleted a
 bunch of shit I wanted to keep?

As I said, I can confirm it for bookmarks in Firefox. It's a similar
thing with Thunderbird's mailboxes.

The rest is just deduction from UNIX principles, formed into a kind
of counter-question: Why (and how) should user data be saved within
the application's directory structures?

The update process will ONLY have effect on the files installed by the
port. Are your user files mentioned in the corresponding control files
of the port? Surely not - how could they? The port will only delete
those files that are list as have been installed by the port, nothing
more, nothing less.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: OT: wget bug

2009-07-17 Thread Joe R. Jah
On Fri, 17 Jul 2009, John Nielsen wrote:

 Date: Fri, 17 Jul 2009 18:52:46 -0400
 From: John Nielsen li...@jnielsen.net
 To: freebsd-questions@freebsd.org
 Cc: Joe R. Jah j...@cloud.ccsf.cc.ca.us
 Subject: Re: OT: wget bug

 On Friday 17 July 2009 06:12:33 pm Joe R. Jah wrote:
  I want to wget a site at regular intervals and only get the updated
  pages, so I use the this wget command line:
 
  wget -b -m -nH http://host.domain/Directory/file.html
 
  It works fine on the first try, but it fails on subsequent tries with
  the following error message:
 
  --8--
  Connecting to host.domain ... connected.
  HTTP request sent, awaiting response... 401 Unauthorized
  Authorization failed.
  --8--
 
  I can change directory from which to run wget every time, but that
  defeats the purpose of downloading only the changed files.
 
  I googled wget fails on second try and found this small patch in a
  Linux group that should supposedly fix the problem:
 
  --8--
  --- wget-1.10.2/src/ftp.c.cwd   2006-12-03 13:23:08.801467652 +0100
  +++ wget-1.10.2/src/ftp.c   2006-12-03 20:30:24.641876672 +0100
  @@ -1172,7 +1172,7 @@
  len = 0;
 err = getftp (u, len, restval, con);
 
  -  if (con-csock != -1)
  +  if (con-csock == -1)
  con-st = ~DONE_CWD;
 else
  con-st |= DONE_CWD;
  --8--
 
  My wget is the latest version in the ports, 1.11.4.
 
  Any ideas or advise is greatly appreciated.

 I can't tell if your patch has already been applied upstream or if it's
 a reverse patch. The current distfile matches the +++ version at line
 1185. (normally the +++ file is the new version but it's easy to get
 the order reversed if you're not used to running diff).

 You could always just try the patch. Something along the lines of this:

 cd /usr/ports/ftp/wget
 make clean
 make patch#extract the distfiles and apply FreeBSD patches
 cd work/wget-1.11.4/src
 vi ftp.c  #or any editor you like
   ...go to line 1185 and change == to !=
   ...save and quit the editor
 cd /usr/ports/ftp/wget
 make
 make deinstall  make reinstall
   ... try your procedure again.

 If you don't like the results a make clean will erase your (modified)
 work directory and you can build the original version again.

Thank you John.  That was a simple procedure, but unfortunately the patch
did not fix the problem.

Regards,

Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ahj...@cloud.ccsf.cc.ca.us
___
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: badly munged system

2009-07-17 Thread Daniel Marsh
Eltan,

The actual problem is the fact you installed the kernel, booted the
new kernel and are using the old world.

You can boot the old kernel and do a make installworld and it will work.

The world and the kernel will have problems, especially if there are
major version differences between the new and old builds!

Keep the kernel the same version of the world by installing world and
kernel at the same time.

Regards

Daniel

On 7/18/09, Eitan Adler eitanadlerl...@gmail.com wrote:
 I tried to do a make buildworld, make buildkernel, make installkernel,
 reboot, make installworld from an old version of 7.2-STABLE to revision
 195666. I was in single user mode the entire time.
 The first three steps worked perfectly. The final step resulted in an
 error which I forgot to log. I then proceeded to do a make clean and try
 to rebuild the world.
 This results in the following error:
 cc -O2 -fno-strict-aliasing -pipe
 -I/usr/obj/home/src/stable7/tmp/legacy/usr/in

 clude -c /home/src/stable7/usr.bin/makewhatis/makewhatis.c
 /home/src/stable7/usr.bin/makewhatis/makewhatis.c:146: warning: 'struct
 dirent'

 declared inside parameter list
 
 /home/src/stable7/usr.bin/makewhatis/makewhatis.c:929: error:
 dereferencing poin

 ter to incomplete type
 *** Error code 1

 Stop in /home/src/stable7/usr.bin/makewhatis.
 *** Error code 1
 ...

 Along with this error I am now missing quite a number of system files:
 among them include /usr/share/mk/bsd.port.mk
 /libexec/ld-elf.so.1: sort: Shared object has no run-time symbol table
 and man.

 How could I get out of this state without losing data?
 ___
 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


-- 
Sent from my mobile device


http://buymeahouse.stiw.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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Erich Dollansky
Hi,

On 18 July 2009 am 08:07:36 Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 01:43:47AM +0200, Polytropon wrote:
  On Fri, 17 Jul 2009 16:48:37 -0600, Chad Perrin 
per...@apotheon.com wrote:
   So . . . how do I upgrade Firefox from 3.0 to 3.5 without
 
  No idea. Anyway, user's files won't be touched.

 Do you know this from personal experience, or are you just
 assuming that I won't pull out all my hair five seconds after I
 discover it deleted a bunch of shit I wanted to keep?


just copy it. If all fails, copy it back.

Erich
___
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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Chad Perrin
On Sat, Jul 18, 2009 at 02:28:22AM +0200, Polytropon wrote:
 On Fri, 17 Jul 2009 18:07:36 -0600, Chad Perrin per...@apotheon.com wrote:
  
  Do you know this from personal experience, or are you just assuming that
  I won't pull out all my hair five seconds after I discover it deleted a
  bunch of shit I wanted to keep?
 
 As I said, I can confirm it for bookmarks in Firefox. It's a similar
 thing with Thunderbird's mailboxes.
 
 The rest is just deduction from UNIX principles, formed into a kind
 of counter-question: Why (and how) should user data be saved within
 the application's directory structures?

I've learned a long time ago to not rely on deducing things from a Unixy
perspective when it comes to big, fat, bloated GUI applications.  If that
worked most of the time with such applications, Firefox would be a very
different application today.  I found the fact that Firefox switched from
plain text to an unreadable database format for storing cookie exceptions
somewhat surprising (and it broke a cookie policy exception searching
utility I had written because Firefox doesn't provide worthwhile cookie
policy exception searching).


 
 The update process will ONLY have effect on the files installed by the
 port. Are your user files mentioned in the corresponding control files
 of the port? Surely not - how could they? The port will only delete
 those files that are list as have been installed by the port, nothing
 more, nothing less.

Good point.

Thanks for the perspective.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Henry Spencer: Those who don't understand Unix are doomed to
reinvent it, poorly.


pgpxlhC1drtzR.pgp
Description: PGP signature


Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
Hi amazing list...

I want to set up Samba PDC with LDAP
I Have installed the following package:

smblap-tools-0.9.5.tgz
samba-3.0.35.tar.gz
nss_ldap-264.tar.gz
openldap-2.4.16.tgz

all the installation are successful, but when I'm going to populate the
database I get this weird error saying:

#smbldap-populate -u 1 -g 1 -r 1

erreur LDAP: Can't contact master ldap server for writing
(IO::Socket::INET:connect: Conneciton refused) at
/usr/local/lib/perl4/site_perl/5.8.9/smbldap_tools.pm line 322

when I look at the smblap_tools.pm at line 322 this is what it look likes
and sorry I cant understand the code:

else {
$ldap_master = Net::LDAP-new(   --This is line 322
$config{masterLDAP},
port= $config{masterPort},
version = 3,
timeout = 60,

By the way:

##This is my slapd.conf


include /usr/local/etc/openldap/schema/cosine.schema

include /usr/local/etc/openldap/schema/inetorgperson.schema

include /usr/local/etc/openldap/schema/misc.schema

include /usr/local/etc/openldap/schema/nis.schema

include /usr/local/etc/openldap/schema/openldap.schema

include /usr/local/etc/openldap/schema/samba.schema



loglevel 256



pidfile /var/run/openldap/slapd.pid

argsfile/var/run/openldap/slapd.args



# Load dynamic backend modules:

modulepath  /usr/local/libexec/openldap

moduleload  back_bdb



###

# BDB database definitions

###



databasebdb

suffix  dc=mydomain,dc=local

rootdn  cn=Manager,dc=mydomain,dc=local

#rootpw = very-secure-password

rootpw  {SSHA}X5/8nZm2DLooMyZgsUcWnRC1kXyCh+v



directory   /usr/local/var/db/openldap-data



# Indices to maintain

index   objectClass eq

index   cn  pres,sub,eq

index   sn  pres,sub,eq

index   uid pres,sub,eq

index   displayName pres,sub,eq

index   uidNumber   eq

index   gidNumber   eq

index   memberUID   eq

index   sambaSIDeq

index   sambaPrimaryGroupSIDeq

index   sambaDomainName eq

index   default sub


Note: service slapd is running

Does anyone here have the same problem?
Any idea?


-- 
RhueL
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
Hi,

 when I look at the smblap_tools.pm at line 322 this is what it look likes
 and sorry I cant understand the code:
 
 else {
 $ldap_master = Net::LDAP-new(   --This is line 322
 $config{masterLDAP},
 port= $config{masterPort},
 version = 3,
 timeout = 60,

Are you sure about your configuration of smbldap?

Are you sure ldap is running? Have you tried a manual access through
ldapsearch(1)?

Olivier
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 10:07 AM, Olivier Nicole o...@cs.ait.ac.th wrote:

 Hi,

  when I look at the smblap_tools.pm at line 322 this is what it look
 likes
  and sorry I cant understand the code:
 
  else {
  $ldap_master = Net::LDAP-new(   --This is line 322
  $config{masterLDAP},
  port= $config{masterPort},
  version = 3,
  timeout = 60,

 Are you sure about your configuration of smbldap?

 Are you sure ldap is running? Have you tried a manual access through
 ldapsearch(1)?

 Olivier


Hello,
Im sure with my smblap..why?Is there something wrong with my config?

And yes ldap is running
#ps -aux | grep slap

ldap   1522  0.0  6.6 341992  7756  ??  Is   10:15AM   0:00.08
/usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap://
0.0.0.0/ldap://192.168.5.0/ldap://127.0

root   1678  0.0  0.2   388   268  p0  R+   10:20AM   0:00.00 grep slap


Its running right?

I also tried the ldapsearch and it says it cant contact the ldap server
#ldapsearch

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
any more ideas?

thanks for your reply

-- 
Ruel Luchavez
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
Ruel,

 And yes ldap is running
 #ps -aux | grep slap

That the process slapd is running does not mean you can access it.

That: 

 /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap://
 0.0.0.0/ldap://192.168.5.0/ldap://127.0

looks strange to me, I am used to someting like:

/usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
ldaps://192.41.170.6/ ldap://192.41.170.6/ -u ldap -g ldap

with space between each URL on the command line.

You should first assert that LDAP is running the way you want, if it
is, you should be able to find a set of options to use with ldapsearch
to be able to access your LDAP server.

Basically, these options will have to be transposed into smbldap
configuration.

Good luck,

Olivier
___
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


Clearing ttyv0 after boot

2009-07-17 Thread Joe Snikeris
Hi all,

As the subject suggests, I'd like to clear ttyv0 immediately after
booting so that it looks exactly like the other ttys.  I suspect I
might have to add a local rc script, but I'm fairly new to FreeBSD and
am not sure if this is the correct way to go.

Does anyone have any pointers?

Thanks in advance,
Joe
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 10:25 AM, Olivier Nicole o...@cs.ait.ac.th wrote:

 Ruel,

  And yes ldap is running
  #ps -aux | grep slap

 That the process slapd is running does not mean you can access it.

 That:

  /usr/local/libexec/slapd -h
 ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap://
  0.0.0.0/ldap://192.168.5.0/ldap://127.0

 looks strange to me, I am used to someting like:

/usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/
 ldaps://192.41.170.6/ ldap://192.41.170.6/ -u ldap -g ldap

 with space between each URL on the command line.

 You should first assert that LDAP is running the way you want, if it
 is, you should be able to find a set of options to use with ldapsearch
 to be able to access your LDAP server.

 Basically, these options will have to be transposed into smbldap
 configuration.

 Good luck,

 Olivier


Hey,

I tried you idea with NO SPACE between each URL but when i restart the LDAP
it does not start anymore...hmmm
what did i mess here!!??

Anyway thanks for your immediate responds..maybe i try to dig more to solve
this.

Those who have more idea, you are welcome to comment...


-- 
Ruel Luchavez
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole
Ruel,

 I tried you idea with NO SPACE between each URL but when i restart the LDAP
 it does not start anymore...hmmm
 what did i mess here!!??

in /etc/rc.conf I have:

   slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
ldaps://192.41.170.6/ ldap://192.41.170.6/;'

see the specific use of quotes.

Olivier
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 11:11 AM, Olivier Nicole o...@cs.ait.ac.th wrote:

 Ruel,

  I tried you idea with NO SPACE between each URL but when i restart the
 LDAP
  it does not start anymore...hmmm
  what did i mess here!!??

 in /etc/rc.conf I have:

   slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps://
 192.41.170.6/ ldap://192.41.170.6/;'

 see the specific use of quotes.

 Olivier


Hey Oliver,

Still it does not start the LDAP, hers my /etc/rc.conf:

slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps://
192.168.5.0/ ldap://127.0.0.1/;'

I still have no LUCK...:-(

Thanks
-- 
RhueL
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
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


hald: kmem_malloc error

2009-07-17 Thread Andrey Shuvikov
Hello,

I'm trying to configure X and according to the manual enabled DBUS and
HALD. But when hald is starting up I get kernel panic:

kmem_malloc: entry not found or misaligned

Does anyone know what could be wrong? I have memory dump if it can
help but it's big (173M).
I noticed that hald start-up script requires usbd but didn't find
any script supplying that. Could it be the problem?

Thank you,
Andrey
___
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: Clearing ttyv0 after boot

2009-07-17 Thread Polytropon
On Fri, 17 Jul 2009 21:11:56 -0500, Joe Snikeris j...@snikeris.com wrote:
 Hi all,
 
 As the subject suggests, I'd like to clear ttyv0 immediately after
 booting so that it looks exactly like the other ttys.  I suspect I
 might have to add a local rc script, but I'm fairly new to FreeBSD and
 am not sure if this is the correct way to go.
 
 Does anyone have any pointers?

You could add the command

/usr/bin/tput clear

as the last line (prior to exit 0) to /etc/rc - but it's not encouraged
to modify this file because it can cause trouble on updating. But
it will work.

Note that you can still press the Scroll Lock key and see the messages
that have been scrolled off the terminal. If you want, you can use
an additional call to /usr/sbin/vidcontrol to clear the buffer. Refer
to the vidcontrol manpage for how to do that.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Install from a USB Pen

2009-07-17 Thread Fbsd1

Fbsd1 wrote:




dd if=8.0-BETA1-i386-memstick.img of=/dev/da0   worked

I used my laptop to boot from the usb memstick. The 8.0 sysinstall 
started right up but it has problems. In this test i am booting off a 
2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and 
installing on a second 8gb memstick.


While trying to do a [STANDARD/KERNEL DEVELOPER] distribution sysinstall 
issues error msg saying package index not on current media them gos on 
to tell me that docproj, manpages, proflibs, dict, info, sbace, ssys and 
srce are not on the media.


I take this to mean that they are missing from the 
8.0-BETA1-i386-memstick.img.


So I tried to install again this time doing a minimal selection. This 
when through to completion but the resulting memstick was not bootable.


I'll try this test again when BETA2 is released.




OK used the 8.0-BETA2-i386-memstick.img.

Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to 
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another 
method of creating the memstick.img so it downloads faster. dd does no 
compression of the data.


dd the memstick.img to my 2gb memstick ok. It booted ok.

Using a 8gb memstick as the target to install 8.0 on took 2 times longer 
than disc1 cd installing to same 8gb memstick.


Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed 
successfully, but the new 8.0 8gb memstick was not recognized as bootable.


Here is a script i have used in the past to convert the disc1.iso to 
bootable memstick. Maybe its better to add this script to the place 
where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img.

That way the 3 times larger memstick.img is not needed any more.



#!/bin/sh
#Purpose = Use to transfer the FreeBSD install cd1 to
#  a bootable 1GB USB flash drive so it can be used to install 
from.

#  First fetch the FreeBSD 7.1-RELEASE-i386-disc1.iso to your
#  hard drive /usr. Then execute this script from the command line
# fbsd2usb /usr/7.1-RELEASE-i386-disc1.iso /usr/7.1-RELEASE-i386-disc1.img
# Change system bios to boot from USB-dd and away you go.

# NOTE: This script has to be run from root and your 1GB USB flash drive
#   has to be plugged in before running this script.

# On the command line enter fbsd2usb iso-path img-path

# You can set some variables here. Edit them to fit your needs.

# Set serial variable to 0 if you don't want serial console at all,
# 1 if you want comconsole and 2 if you want comconsole and vidconsole
serial=0

set -u

if [ $# -lt 2 ]; then
echo Usage: $0 source-iso-path output-img-path
exit 1
fi

isoimage=$1; shift
imgoutfile=$1; shift

# Temp  directory to be used later
#export tmpdir=$(mktemp -d -t fbsdmount)
export tmpdir=$(mktemp -d /usr/fbsdmount)

export isodev=$(mdconfig -a -t vnode -f ${isoimage})

ISOSIZE=$(du -k ${isoimage} | awk '{print $1}')
SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4))
#SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2))

echo  
echo ### Initializing image File started ###
echo ### This will take about 4 minutes ###
date
dd if=/dev/zero of=${imgoutfile} count=${SECTS}
echo ### Initializing image File completed ###
date

echo  
ls -l ${imgoutfile}
export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile})

bsdlabel -w -B ${imgdev}
newfs -O1 /dev/${imgdev}a

mkdir -p ${tmpdir}/iso ${tmpdir}/img

mount -t cd9660 /dev/${isodev} ${tmpdir}/iso
mount /dev/${imgdev}a ${tmpdir}/img

echo  
echo ### Started Copying files to the image now ###
echo ### This will take about 15 minutes ###
date

( cd ${tmpdir}/iso  find . -print -depth | cpio -dump ${tmpdir}/img )

echo ### Completed Copying files to the image ###
date

if [ ${serial} -eq 2 ]; then
echo -D  ${tmpdir}/img/boot.config
echo 'console=comconsole, vidconsole'  
${tmpdir}/img/boot/loader.conf

elif [ ${serial} -eq 1 ]; then
echo -h  ${tmpdir}/img/boot.config
echo 'console=comconsole'  ${tmpdir}/img/boot/loader.conf
fi

echo  
echo ### Started writing image to flash drive now ###
echo ### This will take about 30 minutes ###
date
dd if=${imgoutfile} of=/dev/da0 bs=1m
echo ### Completed writing image to flash drive at ###
date

cleanup() {
umount ${tmpdir}/iso
mdconfig -d -u ${isodev}
umount ${tmpdir}/img
mdconfig -d -u ${imgdev}
rm -rf ${tmpdir}
}

cleanup

ls -lh ${imgoutfile}

echo ### Script finished ###




___
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: Samba PDC with LDAP backend

2009-07-17 Thread Olivier Nicole

 Still it does not start the LDAP, hers my /etc/rc.conf:
 
 slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldaps://
 192.168.5.0/ ldap://127.0.0.1/;'

At this point it would be usefull that you have a look in the logs at
/var/log and see what is wrong in your command line.

It may also be usefull to set rc_debug=YES in /etc/rc.conf, so you
can see the exact command line that is tried when you start ldap
server with /usr/local/etc/rc.d/slapd start

Olivier
___
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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-17 Thread Mel Flynn
On Friday 17 July 2009 16:28:22 Polytropon wrote:
 On Fri, 17 Jul 2009 18:07:36 -0600, Chad Perrin per...@apotheon.com wrote:
  On Sat, Jul 18, 2009 at 01:43:47AM +0200, Polytropon wrote:
   On Fri, 17 Jul 2009 16:48:37 -0600, Chad Perrin per...@apotheon.com 
wrote:
So . . . how do I upgrade Firefox from 3.0 to 3.5 without running the
risk of losing everything (bookmarks, a 100-tab session, et cetera)?
  
   Well, I don't think those settings get altered in any way - they do not
   reside in the port's directories (where it will be installed into).
   To be sure, make a backup copy of your ~/.mozilla/ directory before.
 
  Does that cover both bookmarks *and* my tab session?

 I think so. Because a !root user cannot write to Firefox's directories
 (inside the /usr/local/ subtree), data local to the user will be stored
 in his home directory. The correct path is ~/.mozilla/firefox and maybe
 ~/.mozilla/default.

 I can at least confirm it for the bookmarks. I haven't checked for
 tab sessions because I'm not using that feature.

 But just judging from a conceptual point of view: WHY NOT? :-)

Sessions are stored in sessionstore.js. Bookmarks, user modified settings even 
extensions are in ~/.mozilla/firefox. If you don't trust what people here say, 
feel free to run find ~/.mozilla/firefox -type f and deduct from the file and 
directory names what is stored per user. Most files are plain text, so you can 
enlighten yourself when in doubt.
-- 
Mel
___
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: Samba PDC with LDAP backend

2009-07-17 Thread Ruel Luchavez
On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole o...@cs.ait.ac.th wrote:


  Still it does not start the LDAP, hers my /etc/rc.conf:
 
  slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/
 ldaps://
  192.168.5.0/ ldap://127.0.0.1/;'

 At this point it would be usefull that you have a look in the logs at
 /var/log and see what is wrong in your command line.

 It may also be usefull to set rc_debug=YES in /etc/rc.conf, so you
 can see the exact command line that is tried when you start ldap
 server with /usr/local/etc/rc.d/slapd start

 Olivier


Thanks...

I'll try your idea..I'll be back



-- 
Ruel Luchavez
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
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: Clearing ttyv0 after boot

2009-07-17 Thread Mel Flynn
On Friday 17 July 2009 18:11:56 Joe Snikeris wrote:

 As the subject suggests, I'd like to clear ttyv0 immediately after
 booting so that it looks exactly like the other ttys.  I suspect I
 might have to add a local rc script, but I'm fairly new to FreeBSD and
 am not sure if this is the correct way to go.

 Does anyone have any pointers?

This recently came up on this list:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=83142+0+/usr/local/www/db/text/2009/freebsd-questions/20090510.freebsd-questions

To do this during at the end of rc stage take hints from
/etc/rc.d/syscons, the rc(8) manpage and rcorder(8) about when to launch
this script. Ideally you want to REQUIRE what the last script reported
by rcorder PROVIDEs and possibly delay execution a bit (see
/etc/rc.d/bgfsck for an example of that), since you can't really hook
into the login prompt is now displayed event.

Also, if you want the console to stay the same, you will need to
configure /etc/syslog.conf and change the line that sends to /dev/console
to send it to /var/log/console.log. newsyslog.conf(5) is already
configured to rotate that log.
-- 
Mel
___
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