FBSD or PCBSD?

2008-01-18 Thread Zbigniew Szalbot
Hello,

I have a basic Acer Aspire with Vista on it but I am very unhappy
about the speed of work on it. I do not want to wipe out MS system (at
least not yet) but would like to give FreeBSD or PCBSD a try.

1. Am I safe by installing FreeBSD alongside Vista? Will the
installation not destroy MS system?

2. I have installed FreeBSD a few times but only with console access,
never with X windows. Would it be better to install PCBSD on the Acer
machine? I have never configured X windows and not sure how long it
could take with FreeBSD (actually I mean things like Gnome or KDE).

3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any
chance such wireless card will be supported by FreeBSD or PCBSD?

Which is a better solution for a home user?

Thank you very much for your practical recommendations!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread Frank Staals

Zbigniew Szalbot wrote:

Hello,

I have a basic Acer Aspire with Vista on it but I am very unhappy
about the speed of work on it. I do not want to wipe out MS system (at
least not yet) but would like to give FreeBSD or PCBSD a try.

1. Am I safe by installing FreeBSD alongside Vista? Will the
installation not destroy MS system?
  
Just make sure you have free space and go. You probably want to use the 
FreeBSD Bootmanager but I'm not 100% sure about that ( Only running a 
dualboot system with FreeBSD and WinXP for which the FreeBSD bootmanager 
is required )

2. I have installed FreeBSD a few times but only with console access,
never with X windows. Would it be better to install PCBSD on the Acer
machine? I have never configured X windows and not sure how long it
could take with FreeBSD (actually I mean things like Gnome or KDE).
  
Depends on your needs. If you are planning on running an other WM/DE 
than KDE (Or at least I thought PCBSD came with KDE by default ) and you 
are familliar with the ports system you are better off choosing 
FreeBSD.  Setting up X is a piece of cake nowadays. In most cases Xorg 
wil generate it's own configfile at start and you don't realy have to 
worry about it. If something doesn't work or you want to configure it 
somehow you can just run 'Xorg --configure' which wil generate a 
configfile you can edit by hand. On the other hand if you are completely 
new to FreeBSD, the portsystem etc than I guess you're better off 
installing PCBSD.

3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any
chance such wireless card will be supported by FreeBSD or PCBSD?

  
I don't know in what way it is supported. Google will probably give you 
an answer. If it isn't supported natively take a look at ndis

Which is a better solution for a home user?

Thank you very much for your practical recommendations!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  

Good Luck,

--
-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to support my product on FreeBSD

2008-01-18 Thread Andrea Venturoli

navneet Upadhyay ha scritto:

1. *How to build my code into binaries* on FreeBSD , i have my unix make
files. Just to give an idea i have around 200 cpp files and they complile to
5 binaries . I am using multithreading(posix on linux) and sockets heavily.

I dont want to run my application in linux mode, i have clear cut
instructions to have BSD specific binaries.I have to see what is the
difference between Linux and Free BSD in terms of file management, their
structure, threading model etc.


You may want to look at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html.





2.* How to package the binaries*(RPM sort of thing). Idea is to provide a
package to user who can install them binaries using this package by issuing
single command.


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






 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk recovery tools...

2008-01-18 Thread Wojciech Puchar

From professional experience as a data recovery technician, I can tell

you that ufs2 drives are among the hardest to recover from after a


there is a little change as UFS2 use lazy inode initialization. so 
possibly lots can be recovered. but i don't know any soft that does it.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk recovery tools...

2008-01-18 Thread Wojciech Puchar

moving disks from an old server to a new one I suffered from a moment of
brain fade last night and newfs'ed a drive I shouldn't have. One of that
new crop that is so large you won't have an adequate backup for it... :(


no rescue. newfs overwrote inodes that contained your files metadata.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trying to support my product on FreeBSD

2008-01-18 Thread navneet Upadhyay
Hi ,
   My product is successfully running on Linux( all most all versions)
and HP- UX and Windows .

  *It is 100 % C++ code*.

 I am planning to support it on FreeBSD, i have two queries :

1. *How to build my code into binaries* on FreeBSD , i have my unix make
files. Just to give an idea i have around 200 cpp files and they complile to
5 binaries . I am using multithreading(posix on linux) and sockets heavily.

I dont want to run my application in linux mode, i have clear cut
instructions to have BSD specific binaries.I have to see what is the
difference between Linux and Free BSD in terms of file management, their
structure, threading model etc.


2.* How to package the binaries*(RPM sort of thing). Idea is to provide a
package to user who can install them binaries using this package by issuing
single command.



Please let me know if there is anyother forum where i can get answers to my
queries, as i will be needing lot of help in near future.

*Help will be appreciated.*

Thanks,
Navneet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Jan 18, 2008 at 10:10:11AM +0100, Zbigniew Szalbot wrote:
| Hello,
| 
| I have a basic Acer Aspire with Vista on it but I am very unhappy
| about the speed of work on it. I do not want to wipe out MS system (at
| least not yet) but would like to give FreeBSD or PCBSD a try.
| 
| 1. Am I safe by installing FreeBSD alongside Vista? Will the
| installation not destroy MS system?

Yup you're safe. But make sure you've read FreeBSD Handbook[1] before
proceeding to install.

| 2. I have installed FreeBSD a few times but only with console access,
| never with X windows. Would it be better to install PCBSD on the Acer
| machine? I have never configured X windows and not sure how long it
| could take with FreeBSD (actually I mean things like Gnome or KDE).

No ideas about FreeBSD supporting your Acer box. Anyways, it won't be
difficult configuring X in FreeBSD, but if you're new to FreeBSD, you
can try PC-BSD.

| 3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any
| chance such wireless card will be supported by FreeBSD or PCBSD?

No ideas.

| Which is a better solution for a home user?

I never used PC-BSD so no comments.

References:
[1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: FBSD or PCBSD?

2008-01-18 Thread Robin Becker

Zbigniew Szalbot wrote:



Which is a better solution for a home user?

Thank you very much for your practical recommendations!

...

I have had great success using PCBSD on various acers, I eventually got fed up 
with it being not quite identical to FreeBSD and I now have FreeBSD 6.2 on my 
current acer laptop (a 1680).

--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dell PowerEdge 1900

2008-01-18 Thread Doug Hardie
Has anyone used the 1900 with FreeBSD?  The NIC is listed as a Intel®  
PRO 1000PT Dual Port Server Adapter.  I didn't find any reference to  
that device in the 6.3 hardware information.___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gnumeric fails to install, 6.3-PRERELEASE

2008-01-18 Thread Laszlo Nagy

Enviroment:

cassiopeia# uname -a
FreeBSD cassiopeia.ronet 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #2: Tue 
Jan 15 04:41:41 EST 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CASSIOPEIA  amd64

cassiopeia# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
cassiopeia# portsnap update
Ports tree is already up to date.

The problem itself:

portupgrade -a fails to install gnumeric. I tried to do this:

cd /usr/ports/math/gnumeric
make distclean
make
make install

It starts to install gnumeric and stops with this:

gmake[4]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C/figures'
gmake[3]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C/figures'
gmake[3]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'
gmake[4]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/share/gnome/help/gnumeric/C
for file in about-authors.xml about-history.xml about-license.xml 
analysis-complexNumbers.xml analysis-goalseek.xml analysis-overview.xml 
analysis-scenarios.xml analysis-simulation.xml analysis-solver.xml 
analysis-statistical.xml appendix-glossary.xml appendix-keybindings.xml 
bugs.xml compiling.xml configuration-localization.xml 
configuration-overview.xml configuration-plugins.xml 
configuration-preferences.xml configuration-toolbars.xml 
data-commentNlink.xml data-delete.xml data-entry-advanced.xml 
data-entry-external.xml data-entry.xml data-format.xml data-generate.xml 
data-insert.xml data-modify.xml data-filter.xml data-move-copy.xml 
data-overview.xml data-selections.xml data-types.xml documenting.xml 
extending-functions.xml extending-overview.xml extending-plugins.xml 
extending-python.xml files-formats.xml files-email.xml files-opening.xml 
files-overview.xml files-saving.xml files-ssconvert.xml 
files-textopen.xml files-textsave.xml getting-involved.xml 
graphics-drawings.xml graphics-images.xml graphics-overview.xml 
graphics-plots.xml graphics-widgets.xml gui-menus.xml gui-mouse.xml 
gui-other-elements.xml gui-overview.xml gui-toolbars.xml installing.xml 
legal.xml manual-usage.xml morehelp.xml printing.xml quick-start.xml 
welcome.xml workbooks.xml worksheets.xml functions.xml gnumeric.xml; do \

 cp ./$file /usr/local/share/gnome/help/gnumeric/C; \
   done
if test figures; then \
 /bin/sh ../../mkinstalldirs 
/usr/local/share/gnome/help/gnumeric/C/figures; \

 for file in ./figures/*.png; do \
   basefile=`echo $file | sed -e  's,^.*/,,'`; \
   install  -o root -g wheel -m 444 $file 
/usr/local/share/gnome/help/gnumeric/C/figures/$basefile; \

 done \
   fi
test -z /usr/local/man/man1 || /usr/local/bin/gmkdir -p 
/usr/local/man/man1
install  -o root -g wheel -m 444 'gnumeric.1' 
'/usr/local/man/man1/gnumeric.1'
install  -o root -g wheel -m 444 'ssconvert.1' 
'/usr/local/man/man1/ssconvert.1'
install  -o root -g wheel -m 444 'ssindex.1' 
'/usr/local/man/man1/ssindex.1'

gmake  install-data-hook
gmake[5]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

/bin/sh ../../mkinstalldirs /usr/local/share/omf/gnumeric
for file in gnumeric-C.omf; do \
   install  -o root -g wheel -m 444 $file.out 
/usr/local/share/omf/gnumeric/$file; \

   done
install: gnumeric-C.omf.out: No such file or directory
gmake[5]: *** [install-data-hook-omf] Error 71
gmake[5]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[4]: *** [install-data-am] Error 2
gmake[4]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc'

gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/math/gnumeric.
*** Error code 1

Stop in /usr/ports/math/gnumeric.


Is this a known bug? Should I post a PR?

Thanks,

  Laszlo


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell PowerEdge 1900

2008-01-18 Thread Norman Maurer
We use a Poweredge 1950... works without probs..

bye
Norman

Am Freitag, den 18.01.2008, 01:43 -0800 schrieb Doug Hardie:
 Has anyone used the 1900 with FreeBSD?  The NIC is listed as a Intel®  
 PRO 1000PT Dual Port Server Adapter.  I didn't find any reference to  
 that device in the 6.3 hardware 
 information.___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to support my product on FreeBSD

2008-01-18 Thread Ivan Voras
navneet Upadhyay wrote:
 Hi ,
My product is successfully running on Linux( all most all versions)
 and HP- UX and Windows .
 
   *It is 100 % C++ code*.
 
  I am planning to support it on FreeBSD, i have two queries :
 
 1. *How to build my code into binaries* on FreeBSD , i have my unix make
 files. Just to give an idea i have around 200 cpp files and they complile to
 5 binaries . I am using multithreading(posix on linux) and sockets heavily.

gcc and g++ are included in FreeBSD base system - you get them by
default. Other possible dependencies (X11, etc.) you need to install
from the ports, then proceed as usual.

 I dont want to run my application in linux mode, i have clear cut
 instructions to have BSD specific binaries.I have to see what is the
 difference between Linux and Free BSD in terms of file management, their
 structure, threading model etc.
 
 
 2.* How to package the binaries*(RPM sort of thing). Idea is to provide a
 package to user who can install them binaries using this package by issuing
 single command.

Create a port directory structure, then create a binary package from the
port. Take care to read hier(7), specifically about the /usr/local tree
- that's where your application will install, and where the libraries
installed from ports will be installed (i.e. you need -L /usr/local/lib
and -I /usr/local/include, adapt as needed).




signature.asc
Description: OpenPGP digital signature


Re: Trying to support my product on FreeBSD

2008-01-18 Thread Wojciech Puchar


I am planning to support it on FreeBSD, i have two queries :

1. *How to build my code into binaries* on FreeBSD , i have my unix make
files. Just to give an idea i have around 200 cpp files and they complile to
5 binaries . I am using multithreading(posix on linux) and sockets heavily.



same as in linux.

possibly LITTLE code change (use ifdefs) may be needed as some libc things 
are different. but not much.



instructions to have BSD specific binaries.I have to see what is the
difference between Linux and Free BSD in terms of file management, their
structure, threading model etc.


i don't use threads so i won't tell you. rest is the same. open, read, 
write lseek works the same. mmap is mostly the same.





2.* How to package the binaries*(RPM sort of thing). Idea is to provide a
package to user who can install them binaries using this package by issuing
single command.


man pkg_create
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to support my product on FreeBSD

2008-01-18 Thread Wojciech Puchar

Hi ,
  My product is successfully running on Linux( all most all versions)
and HP- UX and Windows .

if your program has both unix (any) and windows version, porting to 
freebsd would be at most few % of work needed to port to windows. or less

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hello,

I have a basic Acer Aspire with Vista on it but I am very unhappy
about the speed of work on it. I do not want to wipe out MS system (at
least not yet) but would like to give FreeBSD or PCBSD a try.

1. Am I safe by installing FreeBSD alongside Vista? Will the
installation not destroy MS system?

2. I have installed FreeBSD a few times but only with console access,
never with X windows. Would it be better to install PCBSD on the Acer
machine? I have never configured X windows and not sure how long it
could take with FreeBSD (actually I mean things like Gnome or KDE).

3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any
chance such wireless card will be supported by FreeBSD or PCBSD?

Which is a better solution for a home user?

Thank you very much for your practical recommendations!

Zbigniew Szalbot

  
I happen to have an Acer Aspire laptop with both FreeBSD and Vista. Have 
a look at some of my past posts for hints on how to install both:


http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164389.html

http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/165171.html

As for your wifi, I can't really tell you. Mine has an Intel 3945 and 
lately there has been a lot of progress on the driver (Thank you 
Benjamin!). I do have a PCMCIA atheros based backup as well.
If you need to get to a GUI quickly rather than building it yourself, 
PCBSD (or DesktopBSD, try www.desktopbsd.net) would be your best bet. 
Depending on how you choose to setup your system, in pure FreeBSD, going 
graphical will take you anything from a few hours (using precompiled 
packages) to maybe a couple of days (using ports). Read the relevant 
handbook chapters for information.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd - ftp setup - giotissl - ASAP - SOS

2008-01-18 Thread Giotis Eugen
I have a dedicated server which is based on freebsd and i forgot to install
ftp at the installation.
I have no access for ftp but i have the root level accounts.
For control panel i have cpanel/whm.
Can i install the ftp now ?
How ?
Can you help me step by step ?


Please help me as soon as if its possible...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freesbie on USB stick + qemu

2008-01-18 Thread Michael S
I should have been clearer, I am running Freesbie from
a usb stick. However it is running inside Qemu with XP
being the host machine.

Michael 

--- William Bulley [EMAIL PROTECTED] wrote:

 According to Michael S [EMAIL PROTECTED]:
  
  Then I remembered Freesbie and
  decided to give it a try, running it from a usb
 stick
  using Qemu. I followed the instructions for Ubuntu
 

http://www.pendrivelinux.com/2008/01/11/run-ubuntu-710-from-windows/
  And the only thing that I had to do was to replace
 the
  Ubuntu ISO image with the one of Freesbie. It
 feels
  pretty snappy with Kqemu acceleration driver
 installed.
 
 G'day!
 
 I must be dense today, but I don't understand the
 QEMU
 connection in your above post.  Are you using QEMU
 on
 the host machine or on the Freesbie pendrive system?
 
 And if the former, what is the point (or benefit) to
 you?
 And does this have anything to do with your broken
 main
 board?  I take it you are running Freesbie on your
 OpenBSD
 laptop?  Else why make the reference to it?
 
 Like I said, I am confused...   :-(
 
 Regards,
 
 web...
 
 --
 William Bulley Email:
 [EMAIL PROTECTED]
 
 


Michael Sherman
http://msherman77.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freesbie on USB stick + qemu

2008-01-18 Thread Michael S
Good day all,

Just recently I discovered a new (for me) way of using
Freesbie and I wanted to share it with you. A few
months ago the motherboard on my FreeBSD machine gave
up, and I had no way of running Unix anymore (aside
from my ancient Toshiba that runs OpenBSD). I’ve
always liked Freesbie, but using it as a LiveCD and
rebooting between it and XP is daunting. 

Googling for “linux usb” brought me to this site
http://www.pendrivelinux.com/ . I tried most of the
Linux distros they have on that site, however for some
reason or another I was not satisfied, either it
didn’t have gcc (damn small) or couldn’t connect to
the internet (ubuntu). Then I remembered Freesbie and
decided to give it a try, running it from a usb stick
using Qemu. I followed the instructions for Ubuntu
http://www.pendrivelinux.com/2008/01/11/run-ubuntu-710-from-windows/
And the only thing that I had to do was to replace the
Ubuntu ISO image with the one of Freesbie. It feels
pretty snappy with Kqemu acceleration driver
installed. I can even store stuff on the stick; after
running the mountdisks script, an ext2fs partition is
mounted and I was able to save files on it and they
were there the next time I started Freesbie. I am able
to connect to the network. The only issue that I have
is when running X (startx), the window is tiny (800 X
600 pixels I believe), but it’s not a big deal.

Hope someone finds it interesting,
Michael


Michael Sherman
http://msherman77.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread Tore Lund
Frank Staals wrote:
 Just make sure you have free space and go. You probably want to use the 
 FreeBSD Bootmanager but I'm not 100% sure about that ( Only running a 
 dualboot system with FreeBSD and WinXP for which the FreeBSD bootmanager 
 is required )

FreeBSD boot manager shouldn't be required for WinXP.  I am using the
Windows 2000 boot loader myself.  It's very simple as long as FreeBSD is
on the first disk.  Watch your steps if FreeBSD is on another disk:

http://www.unixguide.net/freebsd/faq/09.10.shtml
-- 
Tore

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache coredump with 'mhash' php extension enabled

2008-01-18 Thread fbsdq
iH,
   Apache is dumping core if I have the following enabled in php/mod_php:

mailds:#grep -v ^# /usr/local/etc/php/extensions.ini
extension=mhash.so
mailds:#/usr/local/etc/rc.d/apache start
Starting apache.
mailds:#tail -3 /var/log/messages
Jan 18 07:57:37 mailds kernel: pid 95875 (httpd), uid 0: exited on signal
11 (core dumped)
Jan 18 07:58:30 mailds kernel: pid 95885 (httpd), uid 0: exited on signal
11 (core dumped)
Jan 18 07:58:31 mailds kernel: pid 95894 (httpd), uid 0: exited on signal
11 (core dumped)
nothing is being written to httpd-error.log
mailds:#tail -1 /var/log/httpd-error.log
[Thu Jan 17 12:49:18 2008] [notice] caught SIGTERM, shutting down

but with that php extension commented out:
mailds:#grep -v ^# /usr/local/etc/php/extensions.ini
mailds:#
mailds:#tail -3 /var/log/httpd-error.log
[Thu Jan 17 12:49:18 2008] [notice] caught SIGTERM, shutting down
[Fri Jan 18 08:01:29 2008] [notice] Apache/1.3.39 (Unix) PHP/5.2.5 with
Suhosin-Patch configured -- resuming normal operations
[Fri Jan 18 08:01:29 2008] [notice] Accept mutex: flock (Default: flock)
mailds:#ps auxw|grep httpd|wc -l
   6

I've also tried this another box,fresh install yesterday with latest cvsup
RELENG_7;
It does the same apache core dump, with only apache13/php5/php5-mhash
installed.
This was all installed from ports [make install], I've tested with my
httpd.conf file and default one, still this php extension causes apache to
coredump

mailds:#pkg_info |egrep apache|php|hash
apache-1.3.39_2 The extremely popular Apache http server. Very fast,
very c
mhash-0.9.9 An easy-to-use library for strong hashes such as MD5
and SH
php5-5.2.5  PHP Scripting Language
php5-gettext-5.2.5  The gettext shared extension for php
php5-iconv-5.2.5The iconv shared extension for php
php5-mbstring-5.2.5 The mbstring shared extension for php
php5-mhash-5.2.5The mhash shared extension for php
php5-openssl-5.2.5  The openssl shared extension for php
php5-pcre-5.2.5 The pcre shared extension for php
php5-pgsql-5.2.5The pgsql shared extension for php
php5-session-5.2.5  The session shared extension for php
php5-xml-5.2.5  The xml shared extension for php


   I've got the latest code cvsup from Jan 17, world rebuilt for RELENG_7,
latest portsnap from about the same time - this is fresh install of
7-beta4, cvsupped to 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Thu Jan
17 09:33:41 MST 2008
  I've got the mhash running on another box, but that was done awhile ago
with with version 0.9.7.. [it's required for squirrelmail].

  Any ideas anyone? gdb httpd /httpd.core doesn't give out much info, php
in debug mode, still not seeing anything in logs.
  php cli works fine: [php code from php.net mhash example]
mailds:#grep -v ^# /usr/local/etc/php/extensions.ini
extension=mhash.so
mailds:#php php.t
The hash is d03cb659cbf9192dcd066272249f8412br /
The hmac is 750c783e6ab0b503eaa86e310a5db738br /
 and with extension disabled [no surprise];
mailds:#grep -v ^# /usr/local/etc/php/extensions.ini
mailds:#php php.t
PHP Fatal error:  Call to undefined function mhash() in
/usr/local/etc/apache/php.t on line 6
  so I know it works, just curious if anyone has mhash 0.9.9 working with
apache13/any ideas about what is going on?


]Peter[


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.3 REL or not

2008-01-18 Thread Jerry McAllister
On Thu, Jan 17, 2008 at 08:56:32PM -0800, Jon wrote:

 Ok I was wondering around,
 Then found the 6.3 ISO's
 
 are these the real 6.3 release's ?

They are not release unless they say RELEASE.

Having said that, they are very much the same thing at this point.

 
 Can I use these ISO's as the 
 6.3 release CD's ?

You probably can.  

 
 I am asking because I never saw a word of 6.3 REL being ready.

It hasn't been officially announced yet.
I suspect that final copies and mirrors are being built.
Maybe there was a little setback because I notice a couple of
security bug announcements a couple days ago.  So, they 
probably had to start the builds over again with the fixes.

jerry

 
 Thanks 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(no subject)

2008-01-18 Thread fbsdq
I've  used /usr/ports/sysutils/testdisk to recover my BSD partitions, but
it was just a HD failure/MBR nukage, no newfs was run on it - Try that.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anycast DNS - anybody?

2008-01-18 Thread Ewald Jenisch
Hi,

Has anybody out there configured anycast DNS (where multiple instances
of a DNS-server run under the same IP-address in different parts of
the network) under FreeBSD?

I'm looking for some hints to get started, but googling around didn't
provide much info on that topic...

Thanks much in advance for any clue.

Regards,
-ewald

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk recovery tools...

2008-01-18 Thread fbsdq
with a subject this time...

I've  used /usr/ports/sysutils/testdisk to recover my BSD partitions, but
it was just a HD failure/MBR nukage, no newfs was run on it - Try that.


]Peter[

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anycast DNS - anybody?

2008-01-18 Thread Javier Henderson
On Fri, 18 Jan 2008 16:02:14 +0100, Ewald Jenisch wrote:

 Has anybody out there configured anycast DNS (where multiple instances
 of a DNS-server run under the same IP-address in different parts of
 the network) under FreeBSD?

Yes.

Nothing really special on the FreeBSD side though. Just an alias 
address on one of the NIC's.

-jav
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


L2TP over IPSec

2008-01-18 Thread Giles Williams
Hi Everyone.

I'm attempting to connect to my home network (running behind FreeBSD router)
using L2TP over IPSec. The client's are Windows XP machines.

I reckon I've got the IPSec running, but have no idea how to setup
certificate or keys.

Can anyone talk through the steps to get it all setup? I've already tried
and failed to setup openvpn too...

Thanks!
Giles Williams.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck_msdosfs failing

2008-01-18 Thread [EMAIL PROTECTED]
On 18/01/2008, Ben Williams [EMAIL PROTECTED] wrote:
 Hi all,

 I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors
 after a power-failure-induced reboot, and recommended that I run
 fsck_msdosfs manually. However, fsck_msdosfs fails:

 # fsck_msdosfs /dev/ad3s1
 ** /dev/ad3s1
 ** Phase 1 - Read and Compare FATs
 No space for FAT (Cannot allocate memory)#

 I've tried googling for it and I can't find anything other than a bug
 being mentioned/filed for netbsd which is obviously related, but no fix
 was forthcoming.

 Does anyone have any ideas how I can proceed?

Are you still in single user mode at this point?

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The Complete FreeBSD: errata and addenda

2008-01-18 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread williamkow

The FreeBSD Laptop Compatibility List
http://laptop.bsdgroup.de/freebsd/

http://en.wikipedia.org/wiki/Comparison_of_BSD_operating_systems

http://en.wikipedia.org/wiki/Freebsd

Both DesktopBSD  PC-BSD are suitable for home users.
http://en.wikipedia.org/wiki/PC-BSD
http://en.wikipedia.org/wiki/DesktopBSD

Architecture :
  Desktop Environment
   |
 Window Manager
   |
X Server (X.org/XFree.org)
   |
  Kernel
KDE
=
-  Memory consuming (but user friendly)
-  use QT library but may not free
(http://trolltech.com/products/qt/licenses)
-  Very suitable for home users - full multimedia support (eg. good CD
writer)
-  Highly customisable for window environment settings.

GNOME
==
-  Efficient memory usage (simple  fast)
-  uses Gtk library, is free  part of GNU project (http://www.gtk.org/)
-  major enterprise linux distributions (Redhat, Suse, Fedora, Debian,
CentOS,
-  Highest distribution due to popularity of Ubuntu
(http://distrowatch.com/)

KDE vs. GNOME, Which is better ?
http://itmanagement.earthweb.com/article.php/3671906

Which Has the Best Applications? KDE or GNOME
http://itmanagement.earthweb.com/osrc/article.php/3673321




Zbigniew Szalbot wrote:
 Hello,

 I have a basic Acer Aspire with Vista on it but I am very unhappy
 about the speed of work on it. I do not want to wipe out MS system (at
 least not yet) but would like to give FreeBSD or PCBSD a try.

 1. Am I safe by installing FreeBSD alongside Vista? Will the
 installation not destroy MS system?

 2. I have installed FreeBSD a few times but only with console access,
 never with X windows. Would it be better to install PCBSD on the Acer
 machine? I have never configured X windows and not sure how long it
 could take with FreeBSD (actually I mean things like Gnome or KDE).

 3. The wi-fi card is probably Acer InviLink 802.11b/g Wi-Fi. Any
 chance such wireless card will be supported by FreeBSD or PCBSD?

 Which is a better solution for a home user?

 Thank you very much for your practical recommendations!

 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading network card driver on FreeBSD 6.2 ?

2008-01-18 Thread Nomad
Just recently found out that FreeBSD 6.2 doesn't have native support for my
network card:

  Broadcom NetXtreme II BCM5708 1000Base-T (B2)

It does work on machines with the B0 rev.   In order to upgrade the driver,
is it sufficient to replace the contents of:

 /usr/src/sys/dev/bce/

??   Or are there other src files I also need to replace?


While browsing one of the ftp mirrors I noticed there were
6.3-RELEASEimages available but I'm always wary of using a brand new
release.

Any information would be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bind: Can't assign requested address using ssh (or anything else)

2008-01-18 Thread perlcat
Trying to access a vpn using ssh on 6.2 - STABLE. Haven't found an answer 
anywhere, and so I must be totally missing the right questions to ask or 
configurations to look at.

This problem is consistent regardless of port chosen or access method. I can 
duplicate at will with ssh. Here's the command that fails:

$ ssh -X -N -L 127.0.0.3:13390:192.168.1.44:3390 [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
bind: Can't assign requested address
channel_setup_fwd_listener: cannot listen to port: 13390
Could not request local forwarding.

I know that it can be done -- the guy next to me is working using Linux, but 
his answer to this issue was to edit the /etc/network/interfaces file. He 
figures that I didn't  have one or don't have the loopback started.
(his interfaces file):
~$ more /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0


Here's my config info:
==
ifconfig output:
smedley# ifconfig
fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
ether 02:e0:b8:02:9c:8e
ch 1 dma -1
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 72.37.126.77 netmask 0xff00 broadcast 72.37.126.255
ether 00:13:f7:35:39:5e
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/18Mbps)
status: associated
ssid UPRR_X channel 8 bssid 00:0f:90:7b:60:00
authmode OPEN privacy OFF txpowmax 36 bmiss 7 protmode CTS burst
bintval 100
==
rc.conf:
hostname=smedley.alltel.net
ifconfig_ath0=DHCP
inetd_enable=YES
keymap=us.iso
moused_enable=YES
linux_enable=YES
sshd_enable=YES
tcp_extensions=YES
usbd_enable=YES
nfs_client_enable=YES
cupsd_enable=YES
smartd_enable=YES
==

Maybe I need to get rid if the inet6 for the loopback?

Thanks!

Tyson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anycast DNS - anybody?

2008-01-18 Thread Ashish Shukla आशीष शुक्ल
 Regarding Anycast DNS - anybody?; Ewald Jenisch [EMAIL PROTECTED] adds:
Ewald Hi,

Ewald Has anybody out there configured anycast DNS (where multiple 
instances
Ewald of a DNS-server run under the same IP-address in different parts of
Ewald the network) under FreeBSD?

AFAIK, anycast requires magic at routing level. So that user will
connect to the nearest DNS server (holding the anycast address).

Ewald I'm looking for some hints to get started, but googling around didn't
Ewald provide much info on that topic...

It has do with routing so you need to investigate on routing
protocols, like RIP, etc.

192.168.1.1 10.0.0.1network 10.0.0.2 192.168.1.1
 [server1] --- [router1]  =[router2] ---  [server2]

router1, router2 -- redundant routers connecting to different ISPs

So if router2 receives packet destined for 192.168.1.1, instead of sending to
server1 it'll send it to server2, since server2 is nearest to it, and
vice versa. Above is a very simple configuration describing anycast.

Since Anycast works only for connection-less protocols, you don't need
to keep TCP connections synchronized between two servers, although both servers
should behave identically, i.e. return similar records.

BtW, I've never implemented anycast ever, so its fully based on my imagination.

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpdi5PO5FCnu.pgp
Description: PGP signature


Re: Eclipse and FreeBSD7

2008-01-18 Thread Jonathan Chen
On Fri, Jan 18, 2008 at 09:40:39PM +0100, Nicolas Letellier wrote:

[...]
 I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115) 
 which says that the last version has corrected the problem (3.2.2_1). 
 But the problem is the same. The new version doesn't install jdk*.
 I just installed diablo.

Eclipse will only work with the native-jdk. Use your installed
diablo-jdk to build the native-jdk, and then remove the diablo-jdk.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck_msdosfs failing

2008-01-18 Thread Ben Williams

Wojciech Puchar wrote:

fsck_msdosfs.

I am able to run top at the same time, as as far as I can tell, it 
doesn't actually run out of memory - Mem has ~564k free, and Swap has 
158mb free at its lowest when fsck_msdosfs is running. It's an old 
machine, with 192mb ram, and 359mb swap.


but ulimit's defaults possibly limit memory...
check ulimit -a


[EMAIL PROTECTED] ~]$ ulimit -a
core file size  (blocks, -c) unlimited
data seg size   (kbytes, -d) 524288
file size   (blocks, -f) unlimited
max locked memory   (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files  (-n) 2656
pipe size(512 bytes, -p) 1
stack size  (kbytes, -s) 65536
cpu time   (seconds, -t) unlimited
max user processes  (-u) 1328
virtual memory  (kbytes, -v) unlimited
[EMAIL PROTECTED] ~]$

 - Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck_msdosfs failing

2008-01-18 Thread Wojciech Puchar

fsck_msdosfs.

I am able to run top at the same time, as as far as I can tell, it doesn't 
actually run out of memory - Mem has ~564k free, and Swap has 158mb free at 
its lowest when fsck_msdosfs is running. It's an old machine, with 192mb ram, 
and 359mb swap.


but ulimit's defaults possibly limit memory...
check ulimit -a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck_msdosfs failing

2008-01-18 Thread Ben Williams

[EMAIL PROTECTED] wrote:

On 18/01/2008, Ben Williams [EMAIL PROTECTED] wrote:

Hi all,

I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors
after a power-failure-induced reboot, and recommended that I run
fsck_msdosfs manually. However, fsck_msdosfs fails:

# fsck_msdosfs /dev/ad3s1
** /dev/ad3s1
** Phase 1 - Read and Compare FATs
No space for FAT (Cannot allocate memory)#

I've tried googling for it and I can't find anything other than a bug
being mentioned/filed for netbsd which is obviously related, but no fix
was forthcoming.

Does anyone have any ideas how I can proceed?


Are you still in single user mode at this point?


Well, I was.

I have made a tiny bit of progress - I edited /etc/fstab and turned the 
fsck at boot time off for that drive, so I can boot normally now, just 
without that drive mounted. However, I still get the same error message 
from fsck_msdosfs.


I am able to run top at the same time, as as far as I can tell, it 
doesn't actually run out of memory - Mem has ~564k free, and Swap has 
158mb free at its lowest when fsck_msdosfs is running. It's an old 
machine, with 192mb ram, and 359mb swap.


 - Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


relocation and USB keyboards

2008-01-18 Thread pfgshield-freebsd
Hi guys;

I moved my computer to another room and in the process I unplugged all the USB
devices. After pluging everything again my USB keyboard doesn't respond unless
I start in single user mode first.
I tried changing the keyboard to all the other USB slots with no luck.

Any idea what is going on?

FWIW, this is and amd64x2 running 6.3-RC2.

cheers,

Pedro.


  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gutman Method on Empty Space

2008-01-18 Thread Chad Perrin
On Thu, Jan 17, 2008 at 12:10:02AM -0800, Jason C. Wells wrote:
 Can anyone recommend a utility for the secure overwriting of unused disc 
 space?  I am a satisfied customer of Eraser for Windows.  I'm looking 
 for the same thing for FreeBSD.

Have you looked into the `shred` utility (gshred on FreeBSD)?

  http://blogs.techrepublic.com.com/security/?p=388

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Kent Beck: I always knew that one day Smalltalk would replace Java.  I
just didn't know it would be called Ruby.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trying to setup a serial console on my desktop

2008-01-18 Thread आशीष श ुक्ल A shish Shukla
Hi,

I'm trying to setup serial console on my FreeBSD 7.0-BETA4, I'm facing
some issues.

88
[EMAIL PROTECTED] ~]$ cat /boot.config
-DP
[EMAIL PROTECTED] ~]$ cat /boot/loader.conf
sound_load=YES# Digital sound subsystem
snd_hda_load=YES  # Intel High Definition Audio (Controller)
snd_ds1_load=YES  # ds1
comconsole_speed=115200
boot_multicons=YES
boot_serial=YES
console=comconsole,vidconsole # A comma separated list of console(s)
[EMAIL PROTECTED] ~]$ cat /etc/ttys |grep -v ^# |fgrep -v none
ttyv0   /usr/libexec/getty Pc cons25  on  secure
ttyv1   /usr/libexec/getty Pc cons25  on  secure
ttyv2   /usr/libexec/getty Pc cons25  on  secure
ttyv3   /usr/libexec/getty Pc cons25  on  secure
ttyv4   /usr/libexec/getty Pc cons25  on  secure
ttyv5   /usr/libexec/getty Pc cons25  on  secure
ttyv6   /usr/libexec/getty Pc cons25  on  secure
ttyv7   /usr/libexec/getty Pc cons25  on  secure
ttyv8   /usr/local/bin/xdm -nodaemon  xterm   off secure
ttyd0   /usr/libexec/getty std.115200 vt220   on  secure
ttyd1   /usr/libexec/getty std.9600   dialup  off secure
ttyd2   /usr/libexec/getty std.9600   dialup  off secure
ttyd3   /usr/libexec/getty std.9600   dialup  off secure
dcons   /usr/libexec/getty std.9600   vt100   off secure
[EMAIL PROTECTED] ~]$ stty -a -f /dev/ttyd0
speed 115200 baud; 0 rows; 0 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
88

I've a desktop mobo (Intel D945GNTL) with onboard Intel Graphics. My
BIOS doesn't support redirecting its output to COM1.

Following are the issues:

1. comconsole_speed in /boot/loader.conf is not working. I wanted to
try 115200 baud rate, but its not working when set in loader.conf. If
I set comconsole_speed at
loader prompt, it works.

2. Keyboard doesn't work irrespective of '-P' being present in
/boot.config . So I can't login to any TTY or login to X via GDM.

I'm following 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
.

TIA
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Upgrading network card driver on FreeBSD 6.2 ?

2008-01-18 Thread Wojciech Puchar


/usr/src/sys/dev/bce/

??   Or are there other src files I also need to replace?


sorry. i should say probably enough.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Partnership

2008-01-18 Thread Thiago Matias
Good Afternoon.

I dsa TecnologiaBR school of Informatica in Brasilia, and would like to see
the possibility to achieve a partnership with FreeBSD, because I have a very
good demand of companies that training for the use of their products.
I Grato for your attention

-- 
Att,

Thiago Matias
Gerente de Treinamentos e Projetos
TecnologiaBR
www.tecnologiabr.com.br
[EMAIL PROTECTED] ou [EMAIL PROTECTED]
Skype: tmatias23
QI 15 lote 1/3 - Taguatinga Norte
SGAS 906 Conj F - Plano Piloto

TEL  5561 3354-3162 ou  5561 8423-4142

The TecnologiaBR, focuses on the area of education and development of
technology.
Our trainings have excellent technical level and didactic.
Our instructors are certified in the most important evidence of the market.
With excellent infrastructure and teaching material.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread John Nielsen

Quoting Robin Becker [EMAIL PROTECTED]:


Zbigniew Szalbot wrote:



Which is a better solution for a home user?

Thank you very much for your practical recommendations!

...

I have had great success using PCBSD on various acers, I eventually 
got fed up with it being not quite identical to FreeBSD and I now 
have FreeBSD 6.2 on my current acer laptop (a 1680).

--


I was unable to even boot my Wife's Acer (an Aspire 5520) with FreeBSD 
6.3-pre or 7.0-pre. I'm also pretty sure the Acer wireless is NOT 
supported by any native drivers; I haven't seen any success or failure 
stories from anyone trying NDIS. I expect the same will be true with 
PC-BSD, since AFAIK their kernel is pretty much stock FreeBSD (main 
differences are in the installer and package management).


JN

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting kungfu

2008-01-18 Thread Randy Pratt
On Fri, 18 Jan 2008 11:09:14 -0600
Paul Schmehl [EMAIL PROTECTED] wrote:

 I need to do the following:
 
 Take a list of various strings, one of which is a quoted IP address, and 
 extract the IPs.  (Done that.)
 
 Then take the list of IPs and convert them to a list of IPs with masks on a 
 single line.
 
 IOW, I have converted the original list to this:
 
 x.x.x.x
 x.x.x.x
 x.x.x.x
 x.x.x.x
 
 Now I need to remove the newlines and add /32, to the end of each IP so that 
 I 
 have this:
 x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.
 
 I got close with sed, but I'm not quite there.
 
 I got this:
 
 x.x.x.x/32,x.x.x.x
 x.x.x.x/32,x.x.x.x
 x.x.x.x/32,x.x.x.x
 
 Here's the code I used:
 cat hostlist | cut -d',' -f2 | cut -d'' -f2 | sort | uniq | grep -v inet | 
 sed '/[^*]$/N;s/\n */\/32,/'
 
 What am I missing?

I'm sure you'll get a lot of comments on this one ;-)

Here's my one-liner take:

while read line; do echo -n ${line}/32,; done  hostlist | sed 's/\,$//'

or to be a bit more understandable:

while read line; do
  echo -n ${line}/32,
done  hostlist | sed 's/\,$//'

the little sed part just removes the last comma from the list.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: going from 6.2 to 6.3 and custom kernel

2008-01-18 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hello,

I thought I would try to upgrade from 6.2 to 6.2-Release now that it
is officially avilable. However, I do have custom kernel on my
machine. And when using advice written by Colin (thanks!)
http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html
I get this warning:

WARNING: This system is running a szalbot kernel, which is not a
kernel configuration distributed as part of FreeBSD 6.2-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running freebsd-update.sh install.

How do I update the kernel manually then?

Do I have to fetch the latest source and then follow the advice given here?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Thanks!

Zbigniew Szalbot

  
It will not update your kernel, but if you do freebsd-update install you 
will get an updated GENERIC kernel in /boot/GENERIC.


This is what I did:

freebsd-update -r 6.3-RELEASE upgrade

(got the warning you mentioned)

freebsd-update install

Got a message about installing kernel updates. Got a new generic kernel 
in /boot/GENERIC (check to see this exists!)


Depending on whether you have console access to the machine or not:

1. If you don't have console access (you are doing this remotely), mv 
/boot/kernel /boot/mykernel.old and mv /boot/GENERIC /boot/kernel and 
reboot. This is because you can't (normally) interrupt the loader 
remotely - unless someone does it for you. Continue from step 3.


2. If you are in front of the machine, reboot. Stop the boot sequence 
when the boot loader comes up, and escape to loader prompt. Type:


   unload
   load /boot/GENERIC/kernel
   boot

3. You are now running a 6.3-RELEASE kernel, albeit a GENERIC one. Run 
freebsd-update install again to install the rest of the system.


4. Recompile your custom kernel the usual way, i.e.

   make buildkernel KERNCONF=MYKERNEL
   make installkernel KERNCONF=MYKERNEL
   reboot

5. You are done!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD or PCBSD?

2008-01-18 Thread Colin Brace
On Jan 18, 2008 3:27 PM, John Nielsen [EMAIL PROTECTED] wrote:

 Quoting Robin Becker [EMAIL PROTECTED]:

  I have had great success using PCBSD on various acers, I eventually
  got fed up with it being not quite identical to FreeBSD and I now
  have FreeBSD 6.2 on my current acer laptop (a 1680).

 I was unable to even boot my Wife's Acer (an Aspire 5520) with FreeBSD
 6.3-pre or 7.0-pre. I'm also pretty sure the Acer wireless is NOT
 supported by any native drivers;

FWIW, my Acer Aspire 5500Z has Intel 2200 wireless chipset which is
supported by FreeBSD and runs FreeBSD and PC-BSD fine.

Sounds like Acer laptops don't all have the same wireless NIC...

-- 
  Colin Brace
  Amsterdam
  http://lim.nl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


going from 6.2 to 6.3 and custom kernel

2008-01-18 Thread Zbigniew Szalbot
Hello,

I thought I would try to upgrade from 6.2 to 6.2-Release now that it
is officially avilable. However, I do have custom kernel on my
machine. And when using advice written by Colin (thanks!)
http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html
I get this warning:

WARNING: This system is running a szalbot kernel, which is not a
kernel configuration distributed as part of FreeBSD 6.2-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running freebsd-update.sh install.

How do I update the kernel manually then?

Do I have to fetch the latest source and then follow the advice given here?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Thanks!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Build server for ports and world...

2008-01-18 Thread Yuri Pankov
On Fri, Jan 18, 2008 at 11:32:37PM +, peter harrison wrote:
 I'd like to set up a build server at home to save me time when running 
 portupgrade and building world.
 
 I've read the handbook on this, and I'm happy with the process of NFS 
 mounting /usr/src /usr/obj and /usr/ports etc..
 
 I've two questions though.
 
 First, my home server currently runs 6.2-RELEASE - I update it using 
 freebsd-update and it doesn't have the source for world  kernel.
 Is it possible to put the 7.0 source on this and build for installation on my 
 desktop, or do I need to take the server to 7.0 before I do this?

Yes, it should be possible.

 Second, is there anyway of building packages without installing them?
 I'm not keen to put X and all my desktop gubbins on the server when I only 
 need it to build the packages.

Look at ports-mgmt/tinderbox, does exactly what you want :-)

 Thanks for any help.
 
 
 Peter Harrison.
 -- 
 `That young girl is one of the least benightedly 
 unintelligent organic life forms it has been my profound 
 lack of pleasure not to be able to avoid meeting.' 
 
 - Marvin's first ever compliment about anybody. 

HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading network card driver on FreeBSD 6.2 ?

2008-01-18 Thread Wojciech Puchar

It does work on machines with the B0 rev.   In order to upgrade the driver,
is it sufficient to replace the contents of:

/usr/src/sys/dev/bce/

??   Or are there other src files I also need to replace?


most probably yes.




While browsing one of the ftp mirrors I noticed there were
6.3-RELEASEimages available but I'm always wary of using a brand new
release.

Any information would be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gutman Method on Empty Space

2008-01-18 Thread RW
On Thu, 17 Jan 2008 08:59:44 -0800
Jason C. Wells [EMAIL PROTECTED] wrote:


 Gutmann method might be excessive but any software that uses it shows
 a seriousness about security. 

Gutmann himself regards the continued use of his method as Voodoo

Gutmann's paper was about wiping the kind of disks that were being
disposed of in 1996. The write patterns used in his method are specific
to drives that were already out of production at the time. For drives
that were in production, a few random passes are the best that can be
done. His opinion now is that with modern drive technologies the chances
of recovering anything useful are virtually zero.

I've never heard any indication that agencies like the FBI can do it,
or that commercial companies can provide such a service - at any
price.  If you are serious about security, one or two passes
from /dev/random to the device are fine. If you are paranoid about what
the NSA might be able to do, buy a pickaxe. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installation freezes

2008-01-18 Thread Lowell Gilbert
Nilesh Bedekar [EMAIL PROTECTED] writes:

 I am trying to install FreeBSD 6.2 on my system with the following
 configuration :
 Intel Core2Duo 2.00 GHz
 Intel 945 Mother Board
 1GB DDR2 Ram (Transcend)
 160 GB SATA Western Digital Hard Drive
 Sony DVD-RW (IDE)
 Realtek RTL 8168 10/100 On-Board Ethernet Controller
 Realtek High Definition Audio (On-Board)

 When I boot using the FreeBSD_Install disc (Disc-1) the system goes to
 Welcome to FreeBSD and if I let it take the default choice of 1 then it goes
 through the Device Probing and then freezes at the following line
 md0:Preloaded Image boot/mfsroot 4423680 bytes at a hex address.
 Nothing happens after this and the system comes to a stand still.
 I would be really greatful if you resolve my issue or give me any advise
 that would help me to get around this issue.

Have you tried letting it boot in the safe (I think that's what it's
called...) mode?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shell scripting kungfu

2008-01-18 Thread Paul Schmehl

I need to do the following:

Take a list of various strings, one of which is a quoted IP address, and 
extract the IPs.  (Done that.)


Then take the list of IPs and convert them to a list of IPs with masks on a 
single line.


IOW, I have converted the original list to this:

x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x

Now I need to remove the newlines and add /32, to the end of each IP so that I 
have this:

x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.

I got close with sed, but I'm not quite there.

I got this:

x.x.x.x/32,x.x.x.x
x.x.x.x/32,x.x.x.x
x.x.x.x/32,x.x.x.x

Here's the code I used:
cat hostlist | cut -d',' -f2 | cut -d'' -f2 | sort | uniq | grep -v inet | 
sed '/[^*]$/N;s/\n */\/32,/'


What am I missing?



--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting kungfu

2008-01-18 Thread ann kok
how about this

cat file | sed 's/\/32//g' |tr -s , \n

--- [EMAIL PROTECTED] wrote:

  I need to do the following:
 
  Take a list of various strings, one of which is a
 quoted IP address, and
  extract the IPs.  (Done that.)
 
  Then take the list of IPs and convert them to a
 list of IPs with masks on
  a
  single line.
 
  IOW, I have converted the original list to this:
 
  x.x.x.x
  x.x.x.x
  x.x.x.x
  x.x.x.x
 
  Now I need to remove the newlines and add /32, to
 the end of each IP so
  that I
  have this:
  x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.
 
  I got close with sed, but I'm not quite there.
 
  I got this:
 
  x.x.x.x/32,x.x.x.x
  x.x.x.x/32,x.x.x.x
  x.x.x.x/32,x.x.x.x
 
  Here's the code I used:
  cat hostlist | cut -d',' -f2 | cut -d'' -f2 |
 sort | uniq | grep -v
  inet |
  sed '/[^*]$/N;s/\n */\/32,/'
 
  What am I missing?
  you are missing 'tr' I guess;
 
 chernogorsk:#cat /tmp/x
 x.x.x.x
 x.x.x.x
 x.x.x.x
 x.x.x.x
 chernogorsk:#cat /tmp/x | sed 's/$/\/32,/g'|tr -d
 \r\n  /tmp/x2; echo
  /tmp/x2
 chernogorsk:#cat /tmp/x2
 x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,
 
 some fine tunning and getting rid of the trailing
 ',' you can add another
 sed pipe, etc.etc.
 
 ]Peter[
 
 
 
 
 
 
 
  --
  Paul Schmehl ([EMAIL PROTECTED])
  Senior Information Security Analyst
  The University of Texas at Dallas
  http://www.utdallas.edu/ir/security/
 
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd - ftp setup - giotissl - ASAP - SOS

2008-01-18 Thread Sergio Lenzi

Em Sex, 2008-01-18 às 14:27 +0200, Giotis Eugen escreveu:

 I have a dedicated server which is based on freebsd and i forgot to install
 ftp at the installation.
 I have no access for ftp but i have the root level accounts.
 For control panel i have cpanel/whm.
 Can i install the ftp now ?
 How ?
 Can you help me step by step ?
 
 
 Please help me as soon as if its possible...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

at the root console prompt.
sysinstall
go to the configure - networking- ftp
choose install option.
exit sysinstall and you are done


Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting kungfu

2008-01-18 Thread Vince Hoffman
Paul Schmehl wrote:
 I need to do the following:
 
 Take a list of various strings, one of which is a quoted IP address, and
 extract the IPs.  (Done that.)
 
 Then take the list of IPs and convert them to a list of IPs with masks
 on a single line.
 
 IOW, I have converted the original list to this:
 
 x.x.x.x
 x.x.x.x
 x.x.x.x
 x.x.x.x
 
 Now I need to remove the newlines and add /32, to the end of each IP so
 that I have this:
 x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.
 
 I got close with sed, but I'm not quite there.
 
 I got this:
 
 x.x.x.x/32,x.x.x.x
 x.x.x.x/32,x.x.x.x
 x.x.x.x/32,x.x.x.x
 
 Here's the code I used:
 cat hostlist | cut -d',' -f2 | cut -d'' -f2 | sort | uniq | grep -v
 inet | sed '/[^*]$/N;s/\n */\/32,/'
 
 What am I missing?
 
Its a bit heavy to fireup but
perl -pe 's/\n/\/32,/' hostlist
should work (if you then remove the final tailing ,)



Vince
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fsck_msdosfs failing

2008-01-18 Thread Ben Williams

Hi all,

I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors 
after a power-failure-induced reboot, and recommended that I run 
fsck_msdosfs manually. However, fsck_msdosfs fails:


# fsck_msdosfs /dev/ad3s1
** /dev/ad3s1
** Phase 1 - Read and Compare FATs
No space for FAT (Cannot allocate memory)#

I've tried googling for it and I can't find anything other than a bug 
being mentioned/filed for netbsd which is obviously related, but no fix 
was forthcoming.


Does anyone have any ideas how I can proceed?

Thanks,

 - Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting kungfu

2008-01-18 Thread fbsdq
 I need to do the following:

 Take a list of various strings, one of which is a quoted IP address, and
 extract the IPs.  (Done that.)

 Then take the list of IPs and convert them to a list of IPs with masks on
 a
 single line.

 IOW, I have converted the original list to this:

 x.x.x.x
 x.x.x.x
 x.x.x.x
 x.x.x.x

 Now I need to remove the newlines and add /32, to the end of each IP so
 that I
 have this:
 x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.

 I got close with sed, but I'm not quite there.

 I got this:

 x.x.x.x/32,x.x.x.x
 x.x.x.x/32,x.x.x.x
 x.x.x.x/32,x.x.x.x

 Here's the code I used:
 cat hostlist | cut -d',' -f2 | cut -d'' -f2 | sort | uniq | grep -v
 inet |
 sed '/[^*]$/N;s/\n */\/32,/'

 What am I missing?
 you are missing 'tr' I guess;

chernogorsk:#cat /tmp/x
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
chernogorsk:#cat /tmp/x | sed 's/$/\/32,/g'|tr -d \r\n  /tmp/x2; echo
 /tmp/x2
chernogorsk:#cat /tmp/x2
x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,

some fine tunning and getting rid of the trailing ',' you can add another
sed pipe, etc.etc.

]Peter[







 --
 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gutman Method on Empty Space

2008-01-18 Thread Bill Moran
In response to RW [EMAIL PROTECTED]:

 On Thu, 17 Jan 2008 08:59:44 -0800
 Jason C. Wells [EMAIL PROTECTED] wrote:
 
  Gutmann method might be excessive but any software that uses it shows
  a seriousness about security. 
 
 Gutmann himself regards the continued use of his method as Voodoo
 
 Gutmann's paper was about wiping the kind of disks that were being
 disposed of in 1996. The write patterns used in his method are specific
 to drives that were already out of production at the time. For drives
 that were in production, a few random passes are the best that can be
 done. His opinion now is that with modern drive technologies the chances
 of recovering anything useful are virtually zero.
 
 I've never heard any indication that agencies like the FBI can do it,
 or that commercial companies can provide such a service - at any
 price.  If you are serious about security, one or two passes
 from /dev/random to the device are fine. If you are paranoid about what
 the NSA might be able to do, buy a pickaxe. 

Many companies provide secure disposal services -- which generally involve
dramatic physical destruction of the media.  Seems to me that this the
accepted approach these days.  You know, they crush the drive, then burn
it, then stomp on the ashes ...

Of course, that only applies if you're disposing of an entire drive.  If
you just want to do a clean wipe of a file, rm -P is enough.  There's no
way for a logged in user to recover what was there before rm overwrote
the file with zeros.  If you're concerned about a user physically
examining a disk then you have to enforce physical security, either
through physically securing the device, or with HDD encryption (via geli
or similar).

If this is an isolated incident (i.e. you accidentally put a sensitive
file on an insecure drive), I think you'll be fine if you overwrite it
from /dev/random once or twice, then rm -P it.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KDE won't allow me to logout and restart kdm after upgrade to xorg 7.3

2008-01-18 Thread Andrew Falanga
Hi,

About two months ago (yes, I'm only now getting around to fixing this), I 
decided it was time to upgrade my Xorg install from 6.9 to the current.  I 
followed the instructions in /usr/ports/UPDATING from 20070519.  After the 
upgrade, everything was going ok, until I logged out of KDE.  I ended the 
session and was redirected to ttyv0.  The following was on the system 
console:

Jan 18 20:22:36 sniper kdm-bin[788]: X server for display :0 terminated 
unexpectedly
Jan 18 20:22:36 sniper kdm-bin: :0[948]: IO Error in XOpenDisplay
Jan 18 20:22:36 sniper kdm-bin[788]: Display :0 cannot be opened
Jan 18 20:22:36 sniper kdm-bin[788]: Unable to fire up local display :0; 
disabling.

I then went to another console and, as root, did:

sniper# sockstat | grep x
root kdm-bin788   9  stream /var/run/xdmctl/dmctl/socket

Which cleared out whatever was wrong and restarted kdm-bin and allowed me to 
start another session.  What exactly is going on here?  The reason it isn't 
too big a deal, and took me until now to mention it is because I'm about the 
only person who uses FreeBSD here at home and so when I logout, it's usually 
to shut off the computer.

Any thoughts on how to fix this?

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2008-01-18 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

HOW-TO get Flash9 work

2008-01-18 Thread Sergio Lenzi
Well...

after all the endless reading... and with the weekend ahead... May I
conclude that:

1) Flash 9 works as long as I relocate the libs in /compat
2) I must use version 6 of the linux libraries
3) Must use the linux firefox

Am I missing something???

Will try to put all the libraries in /usr/compat/lib
and try to run firefox???

Or will try to use nspluginwrapper code 

I will ask SUN about opensolaris and flash player...

I received an DVD from sun and the sistem installed without problems.
seems to be as fast as a FreeBSD, with a beautifull gnome 2.20
running...

It is a little bit closed,  and I have not enough time to test it.. but
seens 
very good.

May be an emulation of SVR4 in ELF  would solve the flash problem...

Thanks for the attention,

Sergio

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Eclipse and FreeBSD7

2008-01-18 Thread Nicolas Letellier

Hello,

I have a problem with FreeBSD7 and the last Eclipse. It doesn't work. I 
have this error when I launch :


JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar
-os freebsd
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 1000b
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar

I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115) 
which says that the last version has corrected the problem (3.2.2_1). 
But the problem is the same. The new version doesn't install jdk*.

I just installed diablo.

What must I do ?

Nicolas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Build server for ports and world...

2008-01-18 Thread peter harrison
I'd like to set up a build server at home to save me time when running 
portupgrade and building world.

I've read the handbook on this, and I'm happy with the process of NFS mounting 
/usr/src /usr/obj and /usr/ports etc..

I've two questions though.

First, my home server currently runs 6.2-RELEASE - I update it using 
freebsd-update and it doesn't have the source for world  kernel.
Is it possible to put the 7.0 source on this and build for installation on my 
desktop, or do I need to take the server to 7.0 before I do this?

Second, is there anyway of building packages without installing them?
I'm not keen to put X and all my desktop gubbins on the server when I only need 
it to build the packages.

Thanks for any help.


Peter Harrison.
-- 
`That young girl is one of the least benightedly 
unintelligent organic life forms it has been my profound 
lack of pleasure not to be able to avoid meeting.' 

- Marvin's first ever compliment about anybody. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Asus eee (was Re: G4 Quicksilver as Web Server?)

2008-01-18 Thread Garance A Drosehn

At 9:14 AM -0500 1/2/08, Ed Maste wrote:

On Tue, Jan 01, 2008 at 06:20:22PM +, James Jeffery wrote:


 Before i end the toipic, anyone got any feeback on the Asus Eee (mini
 laptops) with FreeBSD?


It works, but no drivers exist for the wireless or wired Ethernet ports.
The wireless is a newer Atheros part and ath(4) should gain support for
it, but I have no idea what the timeline will be.  The wired Ethernet
is an Atheros (formerly Attansic) L2 10/100, and I'm not aware of any
concrete plans for a driver for it.

I've used a Linksys USB200M USB ethernet (axe(4) driver) with mine and
that works well.


One of the guys I know is running FreeBSD on the Eee, and has written
up the following information for anyone who is interested in doing
what he did:

http://nighthack.org/wiki/EeeBSD

This includes tips on how to get the wireless working, and sound,
and some oddities with how X11 works.

--
Garance Alistair Drosehn =   [EMAIL PROTECTED]
Senior Systems Programmer   or   [EMAIL PROTECTED]
Rensselaer Polytechnic Institute; Troy, NY;  USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Eclipse and FreeBSD7

2008-01-18 Thread Wayne Sierke
On Sat, 2008-01-19 at 11:58 +1300, Jonathan Chen wrote:
 On Fri, Jan 18, 2008 at 09:40:39PM +0100, Nicolas Letellier wrote:
 
 [...]
  I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115) 
  which says that the last version has corrected the problem (3.2.2_1). 
  But the problem is the same. The new version doesn't install jdk*.
  I just installed diablo.
 
 Eclipse will only work with the native-jdk. Use your installed
 diablo-jdk to build the native-jdk, and then remove the diablo-jdk.

Does that only apply for 7.0 and/or eclipse-3.2? I previously had
eclipse-3.3 (eclipse-devel) running with diablo-jdk-1.5.0.07.01 on
RELENG_6.

eclipse is one of the few remaining ports I've yet to update since
moving this box to RELENG_7. It actually did get put through a
portupgrade cycle but I neglected to have WITHOUT_MOZILLA set which
seems to be necessary for eclipse to run on FreeBSD.


Wayne

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gutmann Method on Empty Space

2008-01-18 Thread Jason C. Wells

RW wrote:

On Thu, 17 Jan 2008 08:59:44 -0800
Jason C. Wells [EMAIL PROTECTED] wrote:



Gutmann method might be excessive but any software that uses it shows
a seriousness about security. 


Gutmann himself regards the continued use of his method as Voodoo


Yes well.  We lay people have only the best voodoo to go by. There are 
many things that I do with computers that can be called voodoo by virtue 
of the fact that I do them superstitiously. And if I don't happen to 
know the optimal patterns/passes to apply to a specific drive, then I'll 
do what was last known to be adequate until I hear otherwise. (As I have 
just now.)


It's interesting to note that Gutmann's earlier work said, loosely If 
you do this, you should be fairly certain you data is unrecoverable. 
He now says, A few passes of random data is as good as can be 
expected.  Those two standards of performance are very different.  Too 
bad wikipedia didn't cite the follow on work.


And no I don't want to physically shred my drive in a running server.  I 
just want to make sure that any given day that the police come take my 
functioning computers way that nothing can be recovered that I 
explicitly deleted.  The blank space should be blank.


Later,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]