How to have two active network interfaces on a laptop

2009-04-12 Thread Leslie Jensen


I'm wondering how I should handle my laptops network interfaces. I'm 
often forced to wait for bsdstats, ntpd and sshd to time out if I'm not 
connected. Even if I am connected on one interface the default gateway 
is assigned to the interface that is not connected.


I've found some information about profile.sh but it was unclear if this 
is still implemented in Freebsd.


How do I go about solving this?

Thanks

/Leslie
___
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: Multiple instances of MySQL

2009-04-12 Thread Mel Flynn
On Thursday 09 April 2009 21:43:36 Brent Bloxam wrote:
 Mel Flynn wrote:
  Any reason a jail can't be used? This would allow sharing the binary
  using null or union fs, little overhead, yet seperated from host install
  and no maintenance of port installed files, like rc.d/mysql-server.

 Unionfs, unix sockets and flush operations don't like each other from
 what I know, so make sure your database directory and socket aren't
 going to be located on a unionfs mount and you should be okay. Someone
 feel free to correct me if I'm wrong on this, but I definitely haven't
 been able to get MySQL to play nice with unionfs

Haven't tried. It makes no sense to me to union/null fs /var and /tmp. Just 
/usr/local to share binaries or /usr in case you also want to share OS 
binaries, but for a dedicated jail, the gain of that is minimal (OS upgrade 
doesn't require an extra installworld with jail DESTDIR, but mergemaster still 
needs to be done and requires most operator attention).
-- 
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: (OT) good laptop hardware repair group or forum

2009-04-12 Thread Chris Rees
2009/4/12 Chris Whitehouse cwhi...@onetel.com:
 Hi all

 very sorry for this OT post, does anyone know of a good usenet or other
 forum to ask about laptop hardware repair? My quite expensive and now
 out-of-warranty HP laptop has suddenly become very dead and I'm in shock :((

 Thanks

 Chris

Tried the HP fora?

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
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) good laptop hardware repair group or forum

2009-04-12 Thread Glen Barber
Hi, Chris

On Sat, Apr 11, 2009 at 9:13 PM, Chris Whitehouse cwhi...@onetel.com wrote:
 Hi all

 very sorry for this OT post, does anyone know of a good usenet or other
 forum to ask about laptop hardware repair? My quite expensive and now
 out-of-warranty HP laptop has suddenly become very dead and I'm in shock :((


Even though it's (OT), maybe some of us could be able to help.  What's
the problem?

-- 
Glen Barber
___
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


Cant get Java working with FireFox

2009-04-12 Thread Warren Liddell
im running FreeBSD7.1-STABLE portupgrade//world//kernel done today an 
still even from following a few howto's on the BSD site i cant get java 
to work or show up in the plugins .. anyone got any ideas on whats going 
on and/or how to fix this annoying problem ?

___
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: Cant get Java working with FireFox

2009-04-12 Thread Manolis Kiagias
Warren Liddell wrote:
 im running FreeBSD7.1-STABLE portupgrade//world//kernel done today an
 still even from following a few howto's on the BSD site i cant get
 java to work or show up in the plugins .. anyone got any ideas on
 whats going on and/or how to fix this annoying problem ?

Assuming you got the diablo-jdk or diablo-jre package installed, try
creating a symbolic link of  libjavaplugin_oji.so to
/usr/local/lib/firefox3/plugins

On my system that would be in

/usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so

for just the jre it would probably be in

/usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so
___
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) good laptop hardware repair group or forum

2009-04-12 Thread Chris Whitehouse

Chris Rees wrote:

2009/4/12 Chris Whitehouse cwhi...@onetel.com:

Hi all

very sorry for this OT post, does anyone know of a good usenet or other
forum to ask about laptop hardware repair? My quite expensive and now
out-of-warranty HP laptop has suddenly become very dead and I'm in shock :((

Thanks

Chris


Tried the HP fora?

Chris


Thanks, good idea. See, can't think when panicking
___
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) good laptop hardware repair group or forum

2009-04-12 Thread Chris Whitehouse

Glen Barber wrote:

Hi, Chris

On Sat, Apr 11, 2009 at 9:13 PM, Chris Whitehouse cwhi...@onetel.com wrote:

Hi all

very sorry for this OT post, does anyone know of a good usenet or other
forum to ask about laptop hardware repair? My quite expensive and now
out-of-warranty HP laptop has suddenly become very dead and I'm in shock :((



Even though it's (OT), maybe some of us could be able to help.  What's
the problem?


I will try the HP support forums as suggested but...

It's a nc6320 (RH383ET#ABU) and was in good condition not too much used 
and has never given trouble. It was booting, with mains and battery 
plugged in, when it suddenly and instantaneously lost power. Now it is 
completely dead, no LEDS. It made a couple of clicks as it died, one of 
which might have been the hard disk head parking.


The power supply is showing what looks like the right voltage. The 
battery has 6 connectors, I tested between all combinations of pairs but 
all were zero voltage. I also tested between all pairs of battery 
connector pins in the back of the laptop with the power plugged in, also 
zero voltage.


I am suspicious of the battery showing zero, I think it might need wake 
up power from the laptop. Does anyone know if this is the case and what 
pins need power?


I left the power supply plugged in and it and an area on the underside 
of the laptop were mildly warm after some time so some current is flowing.


That's all I can say. I will take the hard disk out and test. Luckily it 
didn't have critical data on it. I'm also competent to dismantle the 
laptop if anyone can suggest a fix.


Thanks

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


MPlayer experiment not working out well

2009-04-12 Thread Manish Jain

Robert Huff wrote:

Erik Gustafson writes:

  

 Have you tried the ports multimedia/mplayer or multimedia/vlc? I
 can't live without mplayer on my desktop and it usually just
 works on everything i try to play.



I use mplayer too, but (as far as I know) the list of supported
codecs hasn't changed in several years.  That's mostly not a
problem, but there are certain file types (.wmvs I have been told
are handled correctly by Windows Media Player 10/11; this may be a
DRM thing) that completely do not play.

  

 If you want a fancy GUI, search in ports/multimedia for mplayer
 and you will find kde-mplayer, gnome-mplayer and friends.



Mplayer has a gui (gmplayer) but it's pretty minimal.


Robert Huff


  


Hello Robert / Erik / All,

The mplayer installation went pretty smoothly - no problems with that. 
And the gui is more than acceptable - I don't need the gnome-mplayer 
add-on. But the application has failed to play any file/CD/DVD for me so 
far. The typical complaint for unencrypted vob files/iso-images is 'Too 
many packets in the buffer', whereas for encrypted DVD's the application 
produces garbage. (Please note it is willing to take dvd://1 on the 
commandline but not dvdnav://1, even though libdvd[nav/read/css] are all 
installed on my system). My DVD device in mplayer is /dev/dvd 
(permissions 644), which is a symlink to /dev/acd0 (permissions 444).


For .dat files copies straight from CD's, the playback seems to occur at 
the rate of one frame per annum. On more than a couple of occasions, I 
remember getting some warning message to the effect 'gl missing : be 
prepared for a severe performance penalty'.


Needless to say, my spirits are dampened after all the initial 
enthusiasm and effort. Maybe somebody can point out what might be wrong 
with my setup. Following is the output of my 'make showconfig' in 
/usr/ports/multimedia/mplayer :
=== The following configuration options are available for 
mplayer-0.99.11_12:

 DEBUG=off Include debug symbols in mplayer's binary files
 RTCPU=on Let mplayer dynamically check for CPU features
 OCFLAGS=on Use optimized compiler flags
 SIMD=on Allow mplayer to use vector engines (MMX...)
 IPV6=off Include inet6 network support
 X11=on Enable X11 support for mplayer's video output
 X11XV=on X11 video drivers: XV
 X11DGA=on X11 video drivers: DGA
 X11GL=on X11 video drivers: OpenGL
 X11XIN=on X11 video drivers: Xinerama
 X11VM=off X11 VidMode support
 GUI=on Enable GTK2 graphical user interface with X11
 SDL=off Enable SDL video output
 VIDIX=off Enable VIDIX video output on supported archs
 SKINS=on Force dependency on mplayer-skins
 FREETYPE=on Use freetype for OSD fonts (TrueType!)
 RTC=off Add support for kernel real time clock timing
 ARTS=off Enable KDE sound system support
 ESOUND=on Enable GNOME esound support
 JACK=off Enable JackIt audio server support
 NAS=off Enable NAS sound server support
 OPENAL=off Enable OpenAL sound support
 LIBUNGIF=on Enable gif support
 AALIB=off Enable aalib support
 LIBCACA=off Enable libcaca support
 SVGALIB=off Enable svgalib support
 LIBDV=off Enable libdv support
 MAD=on Enable mad MPEG audio engine support
 DTS=on Enable DTS audio codec support
 LIBMPCDEC=off Enable libmpcdec support
 LADSPA=off Enable LADSPA plugin support
 SPEEX=off Enable speex audio codec support
 TREMOR=on Use built-in tremor instead of libvorbis
 XMMS=on Enable XMMS plugin support
 THEORA=off Enable ogg theora video support
 WIN32=on Enable win32 codec set on the IA32 arch
 AMR=off Enable AMR audio codec support
 X264=on Enable x264 (H.264) video codec support
 XANIM=on Enable xanim DLL support
 XVID=on Enable XVID video codec support
 REALPLAYER=off Enable real player plugin
 LIVEMEDIA=off Enable LIVE555 streaming support
 SMB=off Enable Samba input support
 FRIBIDI=off Enable FriBiDi support
 LIRC=off Enable lirc support
 LIBCDIO=off Enable libcdio support
 CDPARANOIA=off Enable cdparanoia support
 LIBLZO=off Enable external liblzo library
 JOYSTICK=off Enable joystick support
=== Use 'make config' to modify these settings


In mplayer's Preferences/codecs, I am using the DirectShow codecs. Could 
that be a problem ?

Any help would be greatly appreciated.

--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
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: Cant get Java working with FireFox

2009-04-12 Thread Warren Liddell

Manolis Kiagias wrote:

Warren Liddell wrote:
  

im running FreeBSD7.1-STABLE portupgrade//world//kernel done today an
still even from following a few howto's on the BSD site i cant get
java to work or show up in the plugins .. anyone got any ideas on
whats going on and/or how to fix this annoying problem ?



Assuming you got the diablo-jdk or diablo-jre package installed, try
creating a symbolic link of  libjavaplugin_oji.so to
/usr/local/lib/firefox3/plugins

On my system that would be in

/usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so

for just the jre it would probably be in

/usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so


  
Thanks, i figured it was something that ff wasnt piccking up and  that 
did the trick thanks very much :)

___
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


ifconfig ndis0 up scan doesn't find my ap

2009-04-12 Thread Steve Franks
Hi,

I get this behavior on 2 completely different laptops, one on
7.0-release, and the other on 7-stable.  ndio0 [broadcom :( ] comes
right up in dmesg, and ifconfig(), but it won't find any AP's - is
this known? - because I can google people with lots of different ndis0
problems (mostly on 5.x and 6.x), but not this particular one...I seem
some warning about not supporting AP's in the handbook for ndis, but
it seems to be under the 'build your own AP from freebsd and a nic
section', so I'm hoping it doesn't apply, cause my shiny new lenovo
s10e has a really ugly looking broadcom slot, not minipci.  Must be
something new like micro pci, but at any rate, I would prefer not to
have to hack my bios to get it to boot with a non-broadcom nic in it
anyways.  ndisgen has always been an acceptable, if distasteful,
solution in past days.

Thanks,
Steve
___
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


'bwi' module question

2009-04-12 Thread Steve Franks
Anyone have experience building if_bwi (broadcom 43x)?  Found a tgz on
a freesd.org site, so I presume it's legit, but it's a bit short on
instructions, and I get a object directory not changed from origonal
/mnt/flash/bwi.01/ @- /usr/src/sys warning,  and an ln: @:
Operation not supported error, so I assume this goes in src
somewhere, but does dev, or modules?  There's not even a readme file
for it, and all I found was a link, not the origonal site (which just
seems to be an anutomated repository).  I'm a little worried, if I
stick it in modules, it's top-level makefile will overwite the one in
modules, so should I merge it in?  Obviously a bit past my abilities,
but I'm willing to play...

Best,
Steve
___
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


the 'make' command in the ports tree

2009-04-12 Thread dede

Hello,

I'm a long time user of BSDs, and I don't find man pages or 
documentation on the way I can master the port collection (specialy the 
fonction of make).
I found this, interesting: 
http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some 
interogations persist.
I search a command that list all availables variables that afect program 
installation, and all arguments I can give to the /usr/port/Makefile  (I 
know about 'make search key= and name=' is there another?).


Could anyone give me some cool addresses to learn on the subject?

Cordially

sserre...@gmail.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: Can I resume the perl upgrade?

2009-04-12 Thread David Southwell
On Saturday 11 April 2009 17:20:56 Chris Rees wrote:
 2009/4/11 David Southwell da...@vizion2000.net:
  On Friday 10 April 2009 11:43:33 kime...@gmail.com wrote:
  Paul Schmehl wrote:
   --On Friday, April 10, 2009 11:17:00 -0500 Paul Schmehl
  
   pschmehl_li...@tx.rr.com wrote:
   According to /usr/ports/UPDATING, if you want to upgrade to perl5.10,
   you do
   the following:
  
   Portupgrade users:
       0) Fix pkgdb.db (for safety):
           pkgdb -Ff
  
       1) Reinstall perl with new 5.10:
           portupgrade -o lang/perl5.10 -f perl-5.8.\*
  
       2) Reinstall everything that depends on Perl:
           portupgrade -fr perl
  
   My machine got rebooted right in the middle of step 3.  Is there a
   way to
   resume where I left off?  Or do I just start over?
  
   Let me rephrase.  I don't see a way in portupgrade to start over where
   I left off.  However, pkg_info -R lang/perl* shows that all my ports
   depend on 5.10 and no ports are still depending upon 5.8.  Is it safe
   to assume that the reboot happened after portupgrade had finished?
 
  Nope. With this info you can assume that step 2/3 worked. Not the step
  3/3. I dont know how to restart at the stage it was before reboot as I
  dont use portupgrade.
  Personnaly, as portmaster failed with some ports and abort the whole
  update process, I wrote a simple sh script which loop over the packages
  which need perl (got via the via pkg_info -R, need reordering
  thought...), exec portmaster ${PKG}, and keep a list of which reinstall
  succeed and which failed.
 
  Regards
 
  I hope it is not too far off topic but:
 
  Can anyone tell me how to fix this one:
 
  Stale dependency: bsdpan-Pod-Perldoc-3.15 - perl-5.8.9_2 (lang/perl5.8):
  can't convert nil into string
 
 
  My update to 10 seems to be OK except for this..
 
  I cannot find its origin so do not know what to deinstall and reinstall
 
  It would also be great to get all bsdpan into the pkgdb with their
  origins.. is there any way to do that?
 
  Thanks in advance
 
  David

 Perhaps you should start a new thread.

 Chris

Tried that last week to no avail
So asmy question was vaguely on topic I had hoped someone might be able to 
contribute something useful!!

No such luck!!
Thank you for your contribution
most helpful
David
___
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: MPlayer experiment not working out well

2009-04-12 Thread Roland Smith
On Sun, Apr 12, 2009 at 05:04:52PM +0530, Manish Jain wrote:
 
 The mplayer installation went pretty smoothly - no problems with that. 
 And the gui is more than acceptable - I don't need the gnome-mplayer 
 add-on. But the application has failed to play any file/CD/DVD for me so 
 far. The typical complaint for unencrypted vob files/iso-images is 'Too 
 many packets in the buffer', whereas for encrypted DVD's the application 
 produces garbage. (Please note it is willing to take dvd://1 on the 
 commandline but not dvdnav://1, even though libdvd[nav/read/css] are all 
 installed on my system). My DVD device in mplayer is /dev/dvd 
 (permissions 644), which is a symlink to /dev/acd0 (permissions 444).

I'm pretty sure that you need write access to the (real) DVD device as
well. A good way to do that would be to create a group named e.g. cdrom,
and add yourself to that group. Next you need to set the following in
/etc/devfs.conf: 

own acd0 root:cdrom
permacd0 0660
linkacd0 cdrom
linkacd0 dvd
 
 For .dat files copies straight from CD's, the playback seems to occur at 
 the rate of one frame per annum. On more than a couple of occasions, I 
 remember getting some warning message to the effect 'gl missing : be 
 prepared for a severe performance penalty'.

What video output are you using? If supported by you graphics card
driver, use the xv video device (vo=xv in ~/.mplayer/config).
 
 Needless to say, my spirits are dampened after all the initial 
 enthusiasm and effort. Maybe somebody can point out what might be wrong 
 with my setup. Following is the output of my 'make showconfig' in 
 /usr/ports/multimedia/mplayer :
  === The following configuration options are available for 

The config looks OK.

 In mplayer's Preferences/codecs, I am using the DirectShow codecs. Could 
 that be a problem. Any help would be greatly appreciated.

Are those the binary-only windows codecs? I've always run mplayer with
none in those preferences. Works fine here.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpYZTxgkW4i6.pgp
Description: PGP signature


change in kernel config file

2009-04-12 Thread Robert Huff

[posted here because could affect people who don't read curr...@]

I'm about to update a -CURRENT box, and came across this in
src/UPDATING:

GEOM_PART has become the default partition slicer for storage
devices, replacing GEOM_MBR, GEOM_BSD, GEOM_PC98 and GEOM_GPT
slicers. It introduces some changes:


1) In order for the new system to work, what - if anything - do
I need to put in the config file?
2) will adding options GEOM_PART_GPT cause problems?

With respect to the changes in the USB stack:
The old system was built in early February, before the new code
went in.  The config file has:

device  uhci
device  ohci
device  ehci
device  usb
device  ukbd
device  ums

Do I need to change anything?  (Pointers for explanations are
good.)
And is there a quick-but-dirty way to figure out which ports
use libusb?  I'm already set to rebuild devel/libusb.

Respectfully,


Robert Huff


___
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: make in the port tree: where can I find documentation?

2009-04-12 Thread Michael Powell
sebovick wrote:

 Hello,
 
 I'm a long time user of BSDs, and I don't find man pages or
 documentation on the way I can master the port collection (specialy the
 fonction of make).
 I found this, interesting:
 http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some
 interogations persist.
 I search a command that list all availables variables that afect program
 installation, and all arguments I can give to the /usr/port/Makefile  (I
 know about 'make search key= and name=' is there another?).
 
 Could anyone give me some cool addresses to learn on the subject?
 

Probably doesn't contain everything you're looking for but is good 
background material to start with:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html


-Mike




___
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


Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Yuri

I have FreeBSD-71 running with USB controller:
uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device 
16.0 on pci0


I connected to it Toshiba USB hard drive HDDR500E03X:
umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on 
uhub4

da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device

When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' 
it only achieves has 0.65MB/s transfer speed.


What's wrong, why is it so slow?

Yuri

___
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: the 'make' command in the ports tree

2009-04-12 Thread Pieter de Goeje
On Sunday 12 April 2009, dede wrote:
 I search a command that list all availables variables that afect program
 installation, and all arguments I can give to the /usr/port/Makefile  (I
 know about 'make search key= and name=' is there another?).

 Could anyone give me some cool addresses to learn on the subject?

Check out the ports(7) manual.

Regards,
Pieter de Goeje
___
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: the 'make' command in the ports tree

2009-04-12 Thread Polytropon
On Sun, 12 Apr 2009 20:08:21 +0200, dede sserre...@gmail.com wrote:
 Hello,
 
 I'm a long time user of BSDs, and I don't find man pages or 
 documentation on the way I can master the port collection (specialy the 
 fonction of make).

Did you try

% man ports

Don't miss

% man portsnap



 I found this, interesting: 
 http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some 
 interogations persist.

Which are those?



 I search a command that list all availables variables that afect program 
 installation, [...]

Those are usually specifig to the port and are, in most cases,
listed in its Makefile. Sometimes, they're documented, e. g.
in /usr/ports/multimedia/mplayer/Makefile you'll find a header
with explainations for the variables.

There may be globally set variables that do have an effect on
a specific port.

% man make.conf

gives a good summary, and have a look at the explainations given
in /usr/share/examples/etc/make.conf.



 [...] and all arguments I can give to the /usr/port/Makefile  (I 
 know about 'make search key= and name=' is there another?).

Yes, make install, make deinstall, make reinstall, make
config, make clean, make distclean, make package are
very common ones for the ports. In /usr/ports, you can even
use make update to update your ports collection.



 Could anyone give me some cool addresses to learn on the subject?

The FreeBSD Handbook, 4.5 Using the Ports Collection is excellent:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
You mentioned it already. 

The FAQ, Chapter 7 User Applications, covers other activities:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html



If you find things that are not documented enough, simply ask a
question here.




-- 
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: openoffice.org-3.01 packages available (i386)

2009-04-12 Thread Chris Whitehouse

Manolis Kiagias wrote:


Sure.  I'll do a test run with XFCE and we can discuss details afterwards.






That's great, look forward to the results

Chris
___
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) good laptop hardware repair group or forum

2009-04-12 Thread Tim Judd
On Sun, Apr 12, 2009 at 4:55 AM, Chris Whitehouse cwhi...@onetel.comwrote:

 Glen Barber wrote:

 Hi, Chris

 On Sat, Apr 11, 2009 at 9:13 PM, Chris Whitehouse cwhi...@onetel.com
 wrote:

 Hi all

 very sorry for this OT post, does anyone know of a good usenet or other
 forum to ask about laptop hardware repair? My quite expensive and now
 out-of-warranty HP laptop has suddenly become very dead and I'm in shock
 :((


 Even though it's (OT), maybe some of us could be able to help.  What's
 the problem?

  I will try the HP support forums as suggested but...

 It's a nc6320 (RH383ET#ABU) and was in good condition not too much used and
 has never given trouble. It was booting, with mains and battery plugged in,
 when it suddenly and instantaneously lost power. Now it is completely dead,
 no LEDS. It made a couple of clicks as it died, one of which might have been
 the hard disk head parking.

 The power supply is showing what looks like the right voltage. The battery
 has 6 connectors, I tested between all combinations of pairs but all were
 zero voltage. I also tested between all pairs of battery connector pins in
 the back of the laptop with the power plugged in, also zero voltage.

 I am suspicious of the battery showing zero, I think it might need wake up
 power from the laptop. Does anyone know if this is the case and what pins
 need power?

 I left the power supply plugged in and it and an area on the underside of
 the laptop were mildly warm after some time so some current is flowing.

 That's all I can say. I will take the hard disk out and test. Luckily it
 didn't have critical data on it. I'm also competent to dismantle the laptop
 if anyone can suggest a fix.

 Thanks

 Chris


My grandmother had a HP that just died too.  My brother took the first stab
at it, describing it as a likely DC-DC converter problem, and I was seeing
indication of a bad seat on the CPU.  It was working just fine and for the
CPU to become unseated is not likely.  I tore that machine apart until I
couldn't figure out how to get the top or bottom plate off that surrounds
the motherboard.  I didn't fix it, but we all gave up and she went and
bought another system.


The DC-DC converter is what takes the 18V (or whatever) the mains/battery
supplies, and breaks it out into the 3.3V, 5V, 12V, etc needed to power all
the various components.

We never ordered one and tried it.  We just replaced the machine.
___
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: Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Frederique Rijsdijk

Yuri wrote:

I have FreeBSD-71 running with USB controller:
uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device 
16.0 on pci0


I connected to it Toshiba USB hard drive HDDR500E03X:
umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on 
uhub4

da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device

When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' 
it only achieves has 0.65MB/s transfer speed.




I get around the same speeds if I do it that way.

But if I add 'bs=1m', speeds go up to 27MB/sec.

___
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: Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Yuri

Frederique Rijsdijk wrote:

I get around the same speeds if I do it that way.

But if I add 'bs=1m', speeds go up to 27MB/sec.

Do you also have VIA 83C572?
I was leaning towards a direction that VIA 83C572 is probably USB-1.X 
only and only has speeds up to 12 Mb/s.

But I can't find documentation proving/disproving this.

Yuri

___
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: /usr/bin/calendar in cgi script

2009-04-12 Thread Modulok
I don't know what program you're using for your CGI stuff, but
basically all that is needed is the 'pre/pre' tags. Here is an
example which uses PHP to call the system 'calendar' command:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
html
head
meta http-equiv=content-type content=text/html; charset=UTF-8
titleModulore Training Media/title
body
p
Hello world. Calling UNIX calendar program via PHP:
p
pre
?php
system(calendar -f calendar.history);
?
/pre
/body
/html

On 4/11/09, Charles Howse cho...@charter.net wrote:

 On Apr 11, 2009, at 2:07 PM, Robert Huff wrote:


 Charles Howse writes:

 Now, when I run that script in a terminal, the output is perfectly
 formatted, multiple lines (if there are multiple events on this
 date),
 date first, event, year.  Just right.

 But, when I put that in an include statement in a webpage, the
 output is a single line, regardless of whether there are multiple
 events.
 You can see a bad example here:

 http://bubbabbq.homeunix.net/history_cgi.shtml

 How can I make multiple events show on separate lines, like it
 does in terminal?

  Would I be correct in believing you're unfamiliar with html?

 You would most certainly NOT BE CORRECT.  I've had my own server
 running Apache for years.

 I don't think this is something that can be solved with html tags, but
 I will try Brad's suggestions.
 Read man calendar about how it uses cpp, and how the calendar.* files
 are formatted.
 If I recall, I used this same technique years ago and had a simple,
 elegant way of solving it using some default tool like col, though
 that doesn't seem to work now.

 ___
 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: Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Dan Nelson
In the last episode (Apr 12), Yuri said:
 I have FreeBSD-71 running with USB controller:
 uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device 16.0 
 on pci0
 
 I connected to it Toshiba USB hard drive HDDR500E03X:
 umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on uhub4
 da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device
 
 When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' 
 it only achieves has 0.65MB/s transfer speed.

 What's wrong, why is it so slow?

Increase your blocksize.  dd's default is 512 bytes.  Try bs=64k

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


Re: /usr/bin/calendar in cgi script

2009-04-12 Thread Charles Howse

Yes, I was reminded of the pre /pre tags, and that solved it.
Thanks!

On Apr 12, 2009, at 3:58 PM, Modulok wrote:


I don't know what program you're using for your CGI stuff, but
basically all that is needed is the 'pre/pre' tags. Here is an
example which uses PHP to call the system 'calendar' command:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
html
head
meta http-equiv=content-type content=text/html; charset=UTF-8
titleModulore Training Media/title
body
p
Hello world. Calling UNIX calendar program via PHP:
p
pre
?php
system(calendar -f calendar.history);
?
/pre
/body
/html

On 4/11/09, Charles Howse cho...@charter.net wrote:


On Apr 11, 2009, at 2:07 PM, Robert Huff wrote:



Charles Howse writes:


Now, when I run that script in a terminal, the output is perfectly
formatted, multiple lines (if there are multiple events on this
date),
date first, event, year.  Just right.

But, when I put that in an include statement in a webpage, the
output is a single line, regardless of whether there are multiple
events.
You can see a bad example here:

http://bubbabbq.homeunix.net/history_cgi.shtml

How can I make multiple events show on separate lines, like it
does in terminal?


Would I be correct in believing you're unfamiliar with html?


You would most certainly NOT BE CORRECT.  I've had my own server
running Apache for years.

I don't think this is something that can be solved with html tags,  
but

I will try Brad's suggestions.
Read man calendar about how it uses cpp, and how the calendar.* files
are formatted.
If I recall, I used this same technique years ago and had a simple,
elegant way of solving it using some default tool like col, though
that doesn't seem to work now.

___
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: Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Yuri

Dan Nelson wrote:


Increase your blocksize.  dd's default is 512 bytes.  Try bs=64k
  


This works, I am getting 25-27 MB/s. Still lower than this device 
supports (~50MB/s).

I guess because this VIA controller is very old.

Yuri

___
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: the 'make' command in the ports tree

2009-04-12 Thread Adam Vande More

dede wrote:

Hello,

I'm a long time user of BSDs, and I don't find man pages or 
documentation on the way I can master the port collection (specialy 
the fonction of make).
I found this, interesting: 
http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but 
some interogations persist.
I search a command that list all availables variables that afect 
program installation, and all arguments I can give to the 
/usr/port/Makefile  (I know about 'make search key= and name=' is 
there another?).


Could anyone give me some cool addresses to learn on the subject?


Not sure if I understand your question fully, but this is a great place 
to learn about different options available when manipulating ports.


http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+7.1-RELEASE+and+Portsformat=html
___
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: change in kernel config file

2009-04-12 Thread ill...@gmail.com
2009/4/12 Robert Huff roberth...@rcn.com:


        With respect to the changes in the USB stack:
        The old system was built in early February, before the new code
 went in.  The config file has:

 device          uhci
 device          ohci
 device          ehci
 device          usb
 device          ukbd
 device          ums

        Do I need to change anything?  (Pointers for explanations are
 good.)
        And is there a quick-but-dirty way to figure out which ports
 use libusb?  I'm already set to rebuild devel/libusb.


I don't rightly know to your first query, sorry.

As to libusb:
-CURRENT does not need (actually needs to not have)
devel/libusb since its functionality(?) is part of the base system
now (post feb09).
What I did:
pkg_delete -f libusb
pkgdb -F (this detected the dependancies as obsolete perfectly)
cd /usr/src  make delete-old  make delete-old-libs
(caue canem!  ^^stuff might break after this^^.  Badly)
rebuild everything that used to depend on libusb (I guess
running pkg_info -R /var/db/pkg/libusb\*  fruitbatexpress.txt
would be prudent prior to pkg_delete . . . )

NB: this is not a tutorial and is probably missing some stuff.
Please be careful, and always use protection.  Always.

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


make run-depends-list-recursive?

2009-04-12 Thread Chris Whitehouse

Hi

Is there a make target which will give a list of _all_ dependencies 
recursively not just next level up? Or a port? I tried 
ports-mgmt/pkg_tree but it only seems to work with installed ports.


I don't care if I get duplicates as long as every dependency is listed 
at least once.


Thanks

Chris
___
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) good laptop hardware repair group or forum

2009-04-12 Thread Graeme Dargie


-Original Message-
From: Tim Judd [mailto:taj...@gmail.com] 
Sent: 12 April 2009 21:38
To: Chris Whitehouse
Cc: Glen Barber; User Questions
Subject: Re: (OT) good laptop hardware repair group or forum

On Sun, Apr 12, 2009 at 4:55 AM, Chris Whitehouse cwhi...@onetel.comwrote:

 Glen Barber wrote:

 Hi, Chris

 On Sat, Apr 11, 2009 at 9:13 PM, Chris Whitehouse cwhi...@onetel.com
 wrote:

 Hi all

 very sorry for this OT post, does anyone know of a good usenet or other
 forum to ask about laptop hardware repair? My quite expensive and now
 out-of-warranty HP laptop has suddenly become very dead and I'm in shock
 :((


 Even though it's (OT), maybe some of us could be able to help.  What's
 the problem?

  I will try the HP support forums as suggested but...

 It's a nc6320 (RH383ET#ABU) and was in good condition not too much used and
 has never given trouble. It was booting, with mains and battery plugged in,
 when it suddenly and instantaneously lost power. Now it is completely dead,
 no LEDS. It made a couple of clicks as it died, one of which might have been
 the hard disk head parking.

 The power supply is showing what looks like the right voltage. The battery
 has 6 connectors, I tested between all combinations of pairs but all were
 zero voltage. I also tested between all pairs of battery connector pins in
 the back of the laptop with the power plugged in, also zero voltage.

 I am suspicious of the battery showing zero, I think it might need wake up
 power from the laptop. Does anyone know if this is the case and what pins
 need power?

 I left the power supply plugged in and it and an area on the underside of
 the laptop were mildly warm after some time so some current is flowing.

 That's all I can say. I will take the hard disk out and test. Luckily it
 didn't have critical data on it. I'm also competent to dismantle the laptop
 if anyone can suggest a fix.

 Thanks

 Chris


My grandmother had a HP that just died too.  My brother took the first stab
at it, describing it as a likely DC-DC converter problem, and I was seeing
indication of a bad seat on the CPU.  It was working just fine and for the
CPU to become unseated is not likely.  I tore that machine apart until I
couldn't figure out how to get the top or bottom plate off that surrounds
the motherboard.  I didn't fix it, but we all gave up and she went and
bought another system.


The DC-DC converter is what takes the 18V (or whatever) the mains/battery
supplies, and breaks it out into the 3.3V, 5V, 12V, etc needed to power all
the various components.

We never ordered one and tried it.  We just replaced the machine.
___
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


You could try re-seating the ram should be located in one of the hatches on the 
underside of the unit, its free and worth a go just incase, if that fails I 
would seriously consider a new laptop, I have seen prices for HP mainboards 
that run in the £300-500 region.

Regards

Graeme Dargie

___
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: Perl upgrade and bsdpan into pkgdb

2009-04-12 Thread Paul Schmehl
--On April 12, 2009 2:05:50 PM -0500 David Southwell 
da...@vizion2000.net wrote:


 I hope it is not too far off topic but:


It is, so note the change of subject


 Can anyone tell me how to fix this one:

 Stale dependency: bsdpan-Pod-Perldoc-3.15 - perl-5.8.9_2
 (lang/perl5.8): can't convert nil into string



Rather than installing directly from bsdpan, install all your perl modules 
from ports.  It takes a little getting used to, but many of the bsdpan 
modules are in ports with the convention p5-Name-Name.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
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: Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Erik Trulsson
On Sun, Apr 12, 2009 at 02:53:42PM -0700, Yuri wrote:
 Dan Nelson wrote:
 
  Increase your blocksize.  dd's default is 512 bytes.  Try bs=64k

 
 This works, I am getting 25-27 MB/s. Still lower than this device 
 supports (~50MB/s).
 I guess because this VIA controller is very old.

Although the theoretical max speed of USB 2.0 is 60MB/s it is not actually
possible to reach that speed.
In practice the best transfer speed one can get over USB is 35-40 MB/s and
most of the time not even that.

Anything over 30MB/s with USB should be considered quite good, so the
25-27MB/s you are seeing are actually not all that bad.
Some other controller *might* give you a few more MB/s but probably not
more than that.  



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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


Creating a custom install disk for Freebsd?

2009-04-12 Thread Steve Lake
Hi all.  I'm looking at trying to create a custom install disk for 
Freebsd based off an existing install to make reinstallation quick and 
painless, similar to how apt-on-cd works for Linux.  The reason behind this 
is I'm looking at going overseas for a couple years and will be leaving a 
bsd server in my brother-in-law's care.  Since he's a hardware guy, if the 
server fails, he can easily fix it and get it back up.  But he will be 
clueless as to how to reinstall the server itself and get it running 
afterwards (assuming the failure was caused by the HD failing).


So I want to leave behind a cd that's setup in such a way that all 
he has to do is pop it in, boot it up, and maybe answer a couple questions 
prior to install.  After that the cd does the rest.  And when it's 
finished, the system ends up with a fresh copy of the server as it was when 
the snapshot was created, including all settings and applications.  It's 
fine if the software isn't the latest.  I just need to make sure he can get 
it up quickly and easily and then I'll handle the rest of the stuff 
remotely from overseas, such as bringing it up to date. The goal is just to 
make it as absolutely easy as I can for him to get working.  He's really 
good with PC hardware, but he a total newb on the software side.


So, is there something like this for Freebsd, or would I be forced 
to use something like Clonezilla to create an image and go that route?  I'm 
not very found of the disk image idea myself, but I can go that route if 
need be.



Steven Lake
Owner/Technical Writer
Raiden's Realm
www.raiden.net
Bringing Linux and BSD to the World


___
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


java using 100% CPU

2009-04-12 Thread Warren Liddell
After finally managing to get java working with FF i find when i goto 
use it now, it uses 100% of my CPU ... how can i fix this annoyinng issue ?


Running FreeBSD 7.1-STABLE AMD64
___
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: make run-depends-list-recursive?

2009-04-12 Thread Tim Judd
On Sun, Apr 12, 2009 at 5:10 PM, Chris Whitehouse cwhi...@onetel.comwrote:

 Hi

 Is there a make target which will give a list of _all_ dependencies
 recursively not just next level up? Or a port? I tried ports-mgmt/pkg_tree
 but it only seems to work with installed ports.

 I don't care if I get duplicates as long as every dependency is listed at
 least once.

 Thanks

 Chris


make all-depends-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: Creating a custom install disk for Freebsd?

2009-04-12 Thread Polytropon
On Sun, 12 Apr 2009 20:45:11 -0400, Steve Lake steve.l...@raiden.net wrote:
  So I want to leave behind a cd that's setup in such a way that all 
 he has to do is pop it in, boot it up, and maybe answer a couple questions 
 prior to install.  After that the cd does the rest.  And when it's 
 finished, the system ends up with a fresh copy of the server as it was when 
 the snapshot was created, including all settings and applications. 

If any data loss is okay then (due to reinstallation a common
observation), you could easily create a bootable DVD (a CD would
be too small I think) that runs a simple shell script that

1. slices and partitions the disk,

2. newfses the partitions and

3. restores a dump onto the partitions.

These dumps you can generate from the server before you leave,
read: in the state that is desired for best operation. (Go into
SUM, unmount the partitions of the server and do a full dump.)

If you set up everything correctly, no interaction should be
required.

PRO:exact 1:1 copy of a running system
no interaction

CONTRA: need extra disk to save dump files
system in the state exactly prior dump



 It's 
 fine if the software isn't the latest. 

The software will of course have the date of the dump.



 I just need to make sure he can get 
 it up quickly and easily and then I'll handle the rest of the stuff 
 remotely from overseas, such as bringing it up to date.

Then my suggestion would be fine. I usually go the same route,
but without a custom boot CD. I use FreeSBIE to boot the system,
have a second hard disk with the partition images on it (e. g.
root.dump, var.dump, usr.dump, home.dump) and use sysinstall from
the CD to slice, partition and newfs the disk, and then restore
the backups onto the partitions (ad0s1a, ad0s1d-g). I think it
would even be okay to use the live file system of a FreeBSD disc
instead of FreeSBIE.

But I think in your case, involving a live system CD would be
too complicated (allthough it is not *that* complicated), so
the automated approach would be okay.



  So, is there something like this for Freebsd, or would I be forced 
 to use something like Clonezilla to create an image and go that route? 

No. FreeBSD is an excellent operating system that brings everything to
accomplish this task. The basic tools are dump, restore, a bit of
shell scripting, and a CD / DVD burning application.



 I'm 
 not very found of the disk image idea myself, but I can go that route if 
 need be.

It's not that bad, but be sure to make more than one of these
installation discs, just in case one gets damaged. :-)



If this isn't what you're searching for, maybe the make release
from the FreeBSD /usr/src tree will help you. You can furthermore
create a custom installation file for sysinstall. That's possible,
too.



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


Out of office autoreply.

2009-04-12 Thread Patricia Dahl
I will be away from the office until 14-Apr-09. If your message requires
urgent attention, please forward it to
danielademarzi...@cooperbrosgroup.com

Estaré fuera de la oficina hasta el 14-Abr-09. Si su mensaje requiere
atención urgente, favor re-transmitirlo a
danielademarzi...@cooperbrosgroup.com

Estarei fora do escritório até o dia 14-Abr-09. Se sua mensagem precisa de
atenção urgente, favor de repassar para
danielademarzi...@cooperbrosgroup.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


/libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol pixman_region32_init

2009-04-12 Thread firm...@gmail.com
Hi,

After installing Freebsd 7.1 with this as my uname -a:
7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0

And then updating the ports, and doing the following:

pkg_add -r xorg
pkg_add -r blackbox
pkg_add -r firefox3

I can start blackbox fine, but when I try to launch, say, firefox I get
this:

/libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol
pixman_region32_init

Any ideas?  I have no clue, and searching the web turns up nothing.
___
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: Creating a custom install disk for Freebsd?

2009-04-12 Thread Charles Howse


On Apr 12, 2009, at 7:45 PM, Steve Lake wrote:

   Hi all.  I'm looking at trying to create a custom install  
disk for Freebsd based off an existing install to make  
reinstallation quick and painless


Hi Steve,
FreeBSD's install can be scripted...
Quoted from BSD Hacks by Dru Lavigne
FreeBSD's install mechanism lives in /stand/sysinstall. Not  
surprisingly, man sysinstall
describes all of the scriptable bits of this program. I'll go over  
some useful parameters, but
you'll definitely want to skim through the manpage to see if there are  
additional parameters

suited to your particular environment.
FreeBSD also comes with a commented, ready-to-customize install  
script, located in
/usr/src/usr.sbin/sysinstall/install.cfg. Copy this file, then edit  
the copy in your favorite

editor.

OTOH, a bootable dvd with a cloned image on it would be a much simpler  
solution, IMHO.



--
Thanks,
Charles

Things you'd like to say out lout at work, but can't...
What am I? Flypaper for freaks!?

___
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: Creating a custom install disk for Freebsd?

2009-04-12 Thread Mehmet Erol Sanliturk
On Sun, Apr 12, 2009 at 8:45 PM, Steve Lake steve.l...@raiden.net wrote:

Hi all.  I'm looking at trying to create a custom install disk for
 Freebsd based off an existing install to make reinstallation quick and
 painless, similar to how apt-on-cd works for Linux.  The reason behind this
 is I'm looking at going overseas for a couple years and will be leaving a
 bsd server in my brother-in-law's care.  Since he's a hardware guy, if the
 server fails, he can easily fix it and get it back up.  But he will be
 clueless as to how to reinstall the server itself and get it running
 afterwards (assuming the failure was caused by the HD failing).

So I want to leave behind a cd that's setup in such a way that all
 he has to do is pop it in, boot it up, and maybe answer a couple questions
 prior to install.  After that the cd does the rest.  And when it's finished,
 the system ends up with a fresh copy of the server as it was when the
 snapshot was created, including all settings and applications.



 ...




 Steven Lake
 Owner/Technical Writer
 Raiden's Realm
 www.raiden.net
 Bringing Linux and BSD to the World



The following is not an answer to your question but only to suggest a
possible installation step to be able to use in such an instance and many
repeated installations .


There is such a facility in Mandriva Free 2008 ( www.mandriva.com  ) .
 During installation it is possible to use a diskette to save all of the
responses of the user for the installation .
Then , for a new installation on another PC , when this diskette is
submitted to the Mandriva installer , it is not asking any question about
installation and it is using the parameters stored in that diskette .

I wish that the FreeBSD is also applies such a step . It would be very
useful  for the installers because re-entry of all of the parameters for a
new install of the same operating system on the same machine or a similar
another machine really is very time consuming  .

Even such a facility may use XML files to make it usable for different
successive releases with a possible update of the XML files .

Instead of diskette , a USB stick may also be used because diskette drives
are disappearing slowly .


Thank you very much

Mehmet Erol Sanliturk
___
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