Re: find sources to build Handbook and FAQ for FreeBSD?
On Sat, Apr 21, 2012 at 1:31 AM, Antonio Olivares wrote: > On Sat, Apr 21, 2012 at 1:04 AM, Polytropon wrote: >> On Sat, 21 Apr 2012 00:50:20 -0500, Antonio Olivares wrote: >>> On Fri, Apr 20, 2012 at 8:45 PM, Warren Block wrote: >>> > On Fri, 20 Apr 2012, Antonio Olivares wrote: >>> > >>> >> Does anyone know where the source(s) for the FreeBSD Handbook and >>> >> FreeBSD FAQ are found? >>> > >>> > >>> > SGML source is in /usr/doc/en_US.ISO8859-1/books/handbook/ and >>> > /usr/doc/en_US.ISO8859-1/books/faq/, or other subdirectories under >>> > /usr/doc >>> > for other languages. There's build infrastructure in /usr/doc/share. >>> >>> [olivares@tricorehome ~]$ cd /usr/doc/share >>> bash: cd: /usr/doc/share: No such file or directory >>> [olivares@tricorehome ~]$ cd /usr/doc/ >>> bash: cd: /usr/doc/: No such file or directory >> >> See the /usr/ports/misc/freebsd-doc* ports. They will install >> the documentation in a freebsd/ subtree at the obvious location. >> >> % ls /usr/local/share/doc/freebsd >> de@ en@ faq@ >> de_DE.ISO8859-1/ en_US.ISO8859-1/ handbook@ >> >> As you can see from this example, I have the "en" and "de" >> languages installed. The articles/ and books/ subtrees will >> contain the HTML files. >> > Is there a way I can modify Makefile to pull in the sources but not > pull in tetex? > It will pull in tetex and create conflict with texlive-freebsd ports > by Romain Tartiere. > > tricorehome# cd freebsd-doc-en/ > tricorehome# ls > Makefile pkg-plist.extras pkg-plist.pdf > distinfo pkg-plist.html pkg-plist.ps > pkg-descr pkg-plist.html-common pkg-plist.txt > pkg-plist.common pkg-plist.html-split > tricorehome# ls -l > total 134 > -rw-r--r-- 1 root wheel 3068 Mar 9 00:10 Makefile > -rw-r--r-- 1 root wheel 150 Mar 9 00:10 distinfo > -rw-r--r-- 1 root wheel 102 Feb 23 2009 pkg-descr > -rw-r--r-- 1 root wheel 5496 Oct 16 2011 pkg-plist.common > -rw-r--r-- 1 root wheel 709 Mar 29 2009 pkg-plist.extras > -rw-r--r-- 1 root wheel 4124 Aug 29 2011 pkg-plist.html > -rw-r--r-- 1 root wheel 25433 Jan 15 07:25 pkg-plist.html-common > -rw-r--r-- 1 root wheel 72199 Mar 6 04:29 pkg-plist.html-split > -rw-r--r-- 1 root wheel 4053 Aug 29 2011 pkg-plist.pdf > -rw-r--r-- 1 root wheel 3982 Aug 29 2011 pkg-plist.ps > -rw-r--r-- 1 root wheel 4181 Aug 29 2011 pkg-plist.txt > tricorehome# cat Makefile | more > # New ports collection makefile for: freebsd-doc-en > # Date created: 13 August 2008 > # Whom: Marc Fonvieille > # > # $FreeBSD: ports/misc/freebsd-doc-en/Makefile,v 1.46 2012/03/09 > 06:10:59 blackend Exp $ > # > # Several knobs can be used to select the documentation formats. > # > # WITH_HTML_SPLIT allows the build of the "html-split" format: > # This is the default format, it is the same format used on > # www.FreeBSD.org. It is a collection of small, linked HTML files > # (index.html, plus images and secondary files). > # > # WITH_HTML allows the build of the "html" format: > # a single HTML file per document (article.html or book.html, as > # appropriate, plus images). > # > # WITH_PDF allows the build of the "pdf" format: > # Adobe Portable Document Format, for use with Adobe > # Acrobat Reader or Ghostscript (article.pdf or book.pdf, as > # appropriate). > # > # WITH_PS allows the build of the "ps" format: > # Postscript (article.ps or book.ps, as appropriate). > # > # WITH_TXT allows the build of the "txt" format: > # Plain text (article.txt or book.txt, as appropriate). > # > > PORTNAME= freebsd-doc > PORTVERSION= 20120308 > CATEGORIES= misc docs > MASTER_SITES= LOCAL/blackend > PKGNAMEPREFIX?= en- > > MAINTAINER= doc...@freebsd.org > COMMENT?= Documentation from the FreeBSD Documentation Project > > WRKSRC= ${WRKDIR}/doc > PLIST_SUB= DOCSDIR=${DOCBASE} \ > DOCLANG=${DOCLANG} \ > DOCLANG_PREFIX=${DOCLANG_PREFIX} > MAKE_ARGS= FORMATS="${DOCFORMAT}" \ > DOC_LANG="${DOCLANG}" \ > INSTALL_COMPRESSED= \ > DOCDIR=${PREFIX}/${DOCBASE} \ > DOCOWN=${SHAREOWN} \ > DOCGRP=${SHAREGRP} > > DOCLANG?= en_US.ISO8859-1 > DOCLANG_PREFIX?= ${DOCLANG:C/_.*$//} > DOCBASE?= share/doc/freebsd > > PLIST= ${WRKDIR}/pkg-plist > > OPTIONS= HTML "Single HTML file per document" Off \ > HTML_SPLIT "The default HTML format used on > www.FreeBSD.org" On \ > PDF "PDF format" On \ > PS "PostScript format" Off \ > TXT "Plain text" Off > > .include > > AVAILABLEFORMATS= HTML HTML_SPLIT PDF PS TXT > > # if PACKAGE_BUILDING=yes, enable all of $AVAILABLEFORMATS. > .if defined(PACKAGE_BUILDING) > .for F in ${AVAILABLEFORMATS} >
Re: converting UTF-8 to HTML
On 21/04/2012 07:58, Matthias Apitz wrote: Is there something in the port to convert UTF-8 text to HTML encondings, like: $ echo ü | iconv -f utf-8 -t html ü of the encondings in hex based on the codepoint? AFAIK it's not possible. Browsers understand UTF-8 perfectly, simply add to the html header. Problems with character sets and maintaining a web site usually occur when you mix character sets due to improper editor setup. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157 ___ 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/local/java/jboss5 fails to build
Hi can you please try with patch -p1 < patch.pom pom.xml.orig is only the copy to keep the original pom.file... br horst here the complete pom file On 20.04.2012, at 12:17, vermaden wrote: > Hi, > > I am not able to apply the patch ... > > > > mysql# pwd > /usr/ports/java/jboss5 > mysql# make clean > ===> Cleaning for jboss-5.1.0.GA_1,1 > mysql# make extract > ===> License check disabled, port has not defined LICENSE > ===> Extracting for jboss-5.1.0.GA_1,1 > => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > mysql# cd work/jboss-5.1.0.GA-src/ > mysql# patch < /home/vermaden/patch.pom > Hmm... Looks like a context diff to me... > The text leading up to this was: > -- > |*** pom.xml.orig Thu Apr 19 18:29:15 2012 > |--- pom.xmlThu Apr 19 20:40:37 2012 > -- > Patching file pom.xml using Plan A... > (Fascinating--this is really a new-style context diff but without > the telltale extra asterisks on the *** line that usually indicate > the new style...) > Hunk #1 failed at 280. > Hunk #2 failed at 302. > Hunk #3 failed at 362. > 3 out of 3 hunks failed--saving rejects to pom.xml.rej > done > > > --- > > > mysql# pwd > /usr/ports/java/jboss5 > mysql# make clean > ===> Cleaning for jboss-5.1.0.GA_1,1 > mysql# make patch > ===> License check disabled, port has not defined LICENSE > ===> Extracting for jboss-5.1.0.GA_1,1 > => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > ===> Patching for jboss-5.1.0.GA_1,1 > ===> Applying FreeBSD patches for jboss-5.1.0.GA_1,1 > mysql# cd work/jboss-5.1.0.GA-src/ > mysql# patch < /home/vermaden/patch.pom > Hmm... Looks like a context diff to me... > The text leading up to this was: > -- > |*** pom.xml.orig Thu Apr 19 18:29:15 2012 > |--- pom.xmlThu Apr 19 20:40:37 2012 > -- > Patching file pom.xml using Plan A... > (Fascinating--this is really a new-style context diff but without > the telltale extra asterisks on the *** line that usually indicate > the new style...) > Hunk #1 failed at 280. > Hunk #2 failed at 302. > Hunk #3 failed at 362. > 3 out of 3 hunks failed--saving rejects to pom.xml.rej > done > > > Could You please attach the whole modified working POM.XML? ;) > > Thanks, > veramden > > > "Horst Leitenmueller" pisze: >> hi vermaden, >> >> here is the howto and all needed changes... >> >> >> installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6 >> >> what is missing is a settings.xml which must be located in the home >> directory of root, or the one who is installing ports >> >> /root/.m2/settings.xml >> >> file is attached in this file the depricated jboss dependencies are kept; >> otherwise you will not be able to build >> >> second thing is i removed/changed things from the pom.xml file in the >> portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ >> >> there are changes for >> >> and >> >> >> >> the entries glassfish i have removed >> http://maven.glassfish.org/content/groups/glassfish they just deliver not >> working response >> >> how to patch, i run "make install" in /usr/ports/java/jboss5 >> when jboss-src is downloaded and extracted i interrupted the build >> >> patched the pom.xml (problem was, i thougth install will work, but it was >> running and downloading garbage from glassfish repo...) >> rm -rf /root/.m2/repository/ helps also if some garbage is collected >> >> jboss-team has announced there will be a repo change already some time ago, >> but i also did not recognize it :-) until it was turned off... >> >> for the portmaintainer ? how to handle the settings.xml ? the other things >> can be patched… >> >> >> and settings.xml >> > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ... > ___ > freebsd-j...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-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: converting UTF-8 to HTML
On 21/04/2012 06:58, Matthias Apitz wrote: > Is there something in the port to convert UTF-8 text to HTML encondings, > like: > > $ echo ü | iconv -f utf-8 -t html > ü > > of the encondings in hex based on the codepoint? www/tidy-devel (which is effectively a fork of the original www/tidy project, and has quite a lot of new functionality) If you specify 'ascii' for the output format, it should generate appropriate character escapes. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: find sources to build Handbook and FAQ for FreeBSD?
On Sat, Apr 21, 2012 at 1:04 AM, Polytropon wrote: > On Sat, 21 Apr 2012 00:50:20 -0500, Antonio Olivares wrote: >> On Fri, Apr 20, 2012 at 8:45 PM, Warren Block wrote: >> > On Fri, 20 Apr 2012, Antonio Olivares wrote: >> > >> >> Does anyone know where the source(s) for the FreeBSD Handbook and >> >> FreeBSD FAQ are found? >> > >> > >> > SGML source is in /usr/doc/en_US.ISO8859-1/books/handbook/ and >> > /usr/doc/en_US.ISO8859-1/books/faq/, or other subdirectories under /usr/doc >> > for other languages. There's build infrastructure in /usr/doc/share. >> >> [olivares@tricorehome ~]$ cd /usr/doc/share >> bash: cd: /usr/doc/share: No such file or directory >> [olivares@tricorehome ~]$ cd /usr/doc/ >> bash: cd: /usr/doc/: No such file or directory > > See the /usr/ports/misc/freebsd-doc* ports. They will install > the documentation in a freebsd/ subtree at the obvious location. > > % ls /usr/local/share/doc/freebsd > de@ en@ faq@ > de_DE.ISO8859-1/ en_US.ISO8859-1/ handbook@ > > As you can see from this example, I have the "en" and "de" > languages installed. The articles/ and books/ subtrees will > contain the HTML files. > Is there a way I can modify Makefile to pull in the sources but not pull in tetex? It will pull in tetex and create conflict with texlive-freebsd ports by Romain Tartiere. tricorehome# cd freebsd-doc-en/ tricorehome# ls Makefilepkg-plist.extraspkg-plist.pdf distinfopkg-plist.html pkg-plist.ps pkg-descr pkg-plist.html-common pkg-plist.txt pkg-plist.commonpkg-plist.html-split tricorehome# ls -l total 134 -rw-r--r-- 1 root wheel 3068 Mar 9 00:10 Makefile -rw-r--r-- 1 root wheel150 Mar 9 00:10 distinfo -rw-r--r-- 1 root wheel102 Feb 23 2009 pkg-descr -rw-r--r-- 1 root wheel 5496 Oct 16 2011 pkg-plist.common -rw-r--r-- 1 root wheel709 Mar 29 2009 pkg-plist.extras -rw-r--r-- 1 root wheel 4124 Aug 29 2011 pkg-plist.html -rw-r--r-- 1 root wheel 25433 Jan 15 07:25 pkg-plist.html-common -rw-r--r-- 1 root wheel 72199 Mar 6 04:29 pkg-plist.html-split -rw-r--r-- 1 root wheel 4053 Aug 29 2011 pkg-plist.pdf -rw-r--r-- 1 root wheel 3982 Aug 29 2011 pkg-plist.ps -rw-r--r-- 1 root wheel 4181 Aug 29 2011 pkg-plist.txt tricorehome# cat Makefile | more # New ports collection makefile for:freebsd-doc-en # Date created: 13 August 2008 # Whom: Marc Fonvieille # # $FreeBSD: ports/misc/freebsd-doc-en/Makefile,v 1.46 2012/03/09 06:10:59 blackend Exp $ # # Several knobs can be used to select the documentation formats. # # WITH_HTML_SPLIT allows the build of the "html-split" format: # This is the default format, it is the same format used on # www.FreeBSD.org. It is a collection of small, linked HTML files # (index.html, plus images and secondary files). # # WITH_HTML allows the build of the "html" format: # a single HTML file per document (article.html or book.html, as # appropriate, plus images). # # WITH_PDF allows the build of the "pdf" format: # Adobe Portable Document Format, for use with Adobe # Acrobat Reader or Ghostscript (article.pdf or book.pdf, as # appropriate). # # WITH_PS allows the build of the "ps" format: # Postscript (article.ps or book.ps, as appropriate). # # WITH_TXT allows the build of the "txt" format: # Plain text (article.txt or book.txt, as appropriate). # PORTNAME= freebsd-doc PORTVERSION=20120308 CATEGORIES= misc docs MASTER_SITES= LOCAL/blackend PKGNAMEPREFIX?= en- MAINTAINER= doc...@freebsd.org COMMENT?= Documentation from the FreeBSD Documentation Project WRKSRC= ${WRKDIR}/doc PLIST_SUB= DOCSDIR=${DOCBASE} \ DOCLANG=${DOCLANG} \ DOCLANG_PREFIX=${DOCLANG_PREFIX} MAKE_ARGS= FORMATS="${DOCFORMAT}" \ DOC_LANG="${DOCLANG}" \ INSTALL_COMPRESSED= \ DOCDIR=${PREFIX}/${DOCBASE} \ DOCOWN=${SHAREOWN} \ DOCGRP=${SHAREGRP} DOCLANG?= en_US.ISO8859-1 DOCLANG_PREFIX?=${DOCLANG:C/_.*$//} DOCBASE?= share/doc/freebsd PLIST= ${WRKDIR}/pkg-plist OPTIONS=HTML"Single HTML file per document" Off \ HTML_SPLIT "The default HTML format used on www.FreeBSD.org" On \ PDF "PDF format" On \ PS "PostScript format" Off \ TXT "Plain text" Off .include AVAILABLEFORMATS= HTML HTML_SPLIT PDF PS TXT # if PACKAGE_BUILDING=yes, enable all of $AVAILABLEFORMATS. .if defined(PACKAGE_BUILDING) .for F in ${AVAILABLEFORMATS} WITH_${F}= yes .endfor .endif # translate "WITH_FOO=yes" into "DOCFORMAT+=FOO". .for F in ${AVAILABLEFORMATS} .if defined(WITH_${F}) && !empty(WITH_${F}) DOCFORMAT+= ${F:L:S,_,-,} .endif .endfor # set a default value when DOCFORMAT is empty .if e
Re: find sources to build Handbook and FAQ for FreeBSD?
On Sat, 21 Apr 2012 00:50:20 -0500, Antonio Olivares wrote: > On Fri, Apr 20, 2012 at 8:45 PM, Warren Block wrote: > > On Fri, 20 Apr 2012, Antonio Olivares wrote: > > > >> Does anyone know where the source(s) for the FreeBSD Handbook and > >> FreeBSD FAQ are found? > > > > > > SGML source is in /usr/doc/en_US.ISO8859-1/books/handbook/ and > > /usr/doc/en_US.ISO8859-1/books/faq/, or other subdirectories under /usr/doc > > for other languages. There's build infrastructure in /usr/doc/share. > > [olivares@tricorehome ~]$ cd /usr/doc/share > bash: cd: /usr/doc/share: No such file or directory > [olivares@tricorehome ~]$ cd /usr/doc/ > bash: cd: /usr/doc/: No such file or directory See the /usr/ports/misc/freebsd-doc* ports. They will install the documentation in a freebsd/ subtree at the obvious location. % ls /usr/local/share/doc/freebsd de@ en@ faq@ de_DE.ISO8859-1/ en_US.ISO8859-1/ handbook@ As you can see from this example, I have the "en" and "de" languages installed. The articles/ and books/ subtrees will contain the HTML files. > > Some description about the doc tools is in the FreeBSD Documentation Project > > Primer at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html > > Thanks, but I am looking for \TeX{}/\LaTeX{} source files that are > used to build the *.pdf versions of HANDBOOK, & FAQ. If one does a > properties on a PDF, we can see maker dvips + ghostscript 8.71. This > is what I am looking for, the files to produce that document[sources > in tex/latex form] and see if I can produce it with what is readily > available in kertex now. > > If I look in /usr/local/share/doc, these are not there either I think that's because of the move of documentation out of the base system, into separate ports for the supported languages. SGML source files are in /usr/src/release/doc (part of the system sources). -- Polytropon 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"
converting UTF-8 to HTML
Hello, Is there something in the port to convert UTF-8 text to HTML encondings, like: $ echo ü | iconv -f utf-8 -t html ü of the encondings in hex based on the codepoint? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ 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: find sources to build Handbook and FAQ for FreeBSD?
On Fri, Apr 20, 2012 at 8:45 PM, Warren Block wrote: > On Fri, 20 Apr 2012, Antonio Olivares wrote: > >> Does anyone know where the source(s) for the FreeBSD Handbook and >> FreeBSD FAQ are found? > > > SGML source is in /usr/doc/en_US.ISO8859-1/books/handbook/ and > /usr/doc/en_US.ISO8859-1/books/faq/, or other subdirectories under /usr/doc > for other languages. There's build infrastructure in /usr/doc/share. [olivares@tricorehome ~]$ cd /usr/doc/share bash: cd: /usr/doc/share: No such file or directory [olivares@tricorehome ~]$ cd /usr/doc/ bash: cd: /usr/doc/: No such file or directory > > Some description about the doc tools is in the FreeBSD Documentation Project > Primer at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html Thanks, but I am looking for \TeX{}/\LaTeX{} source files that are used to build the *.pdf versions of HANDBOOK, & FAQ. If one does a properties on a PDF, we can see maker dvips + ghostscript 8.71. This is what I am looking for, the files to produce that document[sources in tex/latex form] and see if I can produce it with what is readily available in kertex now. If I look in /usr/local/share/doc, these are not there either [olivares@tricorehome /usr/local/share]$ cd doc/ [olivares@tricorehome /usr/local/share/doc]$ ls ImageMagick graphvizneon NVIDIA_GLX-1.0 gsf netpbm OpenEXR gsfonts nettle OpenSP hal-0.5.14 ntp Terminalhtml2text open-motif Thunar icedtea-web orage Xaw3d inputproto pcre automakeja pdfjam bashjasper pdflib bigreqsprotojbigpeps-2.0 bitstream-vera jpegpkg-config cdrtoolslamepkgtools check-0.9.8 lcmspoppler cmake lcms2 py-gtk compositeproto libFS py-iniparse cppunit libICE py-libxml2 cupslibXaw py-lxml curllibXmu pygobject cvsps libXrender randrproto damageproto libXvMC rar db41liba52 rarian db42libao renderproto dbus-glib libasprintf ristretto dejavu libcaca rsvg-2.0 djvulibre libdaemon rsync dmidecode libdv rtmpdump docbook libevdocument ruby18 docbook-xml libevview sdl docbook-xsl libexecinfo setuptools dvd+rw-toolslibexif snmp dvdauthor libgcrypt sqlite3 encalibgda subversion evince libgpg-errort1lib exo libgphoto2 texi2html ffmpeg libgphoto2_port thunar-vfs figlet libiconvtidy fixesproto libidn tiff flaclibkate transcode fluxbox libmpeg2ttfm fontconfig libnautilus-extension twolame fontsproto libogg type1inst frei0r libsigc++-2.0 unique fusefs libsndfile unrar gcr-0 libtasn1unzip gd libtextcat v4l_compat getopt libvorbis vigra gettext libwmf wmicons ghostscript9libwps x48 giflib libxcb xfce-utils gkrellm libxklavier xfce4-panel gnome-keyring lua51 xfce4-session gnuplot lxdvdripxfdesktop gnutls lzo2xfwm4 goffice-0.8 mdbtoolsxmlcatmgr gp11mpfrxorg-docs gperf nasmxtrans [olivares@tricorehome /usr/local/share/doc]$ Best Regards, Antonio ___ 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"
Gnome2.32 Doesn't auto mount sd cards
Hello, gnome-mount -t -d /dev/mmcsd0s1 -/media/.hal-mtab is- /dev/mmcsd0s1 10010 msdosfs nosuid,longnames,-u=1001,-L=ja_JP.UTF-8,-D=CP932/media/mmcsd0s1 gnome-umount -t -d /dev/mmcsd0s1 It is OK. It is a question from here. With my computer of Nautilus, since a mass storage drive appears, if it clicks, "A place cannot be mounted" will be displayed. Although it thinks that a setup of HAL is insufficient, how to write a configuration file(.fdi) is not known. Would you teach? -uname -a is- FreeBSD tamago-two.tamago.local 9.0-STABLE FreeBSD 9.0-STABLE #15: Mon Apr 16 20:36:00 JST 2012 matubara@tamago-two.tamago.local:/usr/obj/usr/src/sys/TAMAGO-TWO amd64 -pciconf -lv is- sdhci0@pci0:13:0:0: class=0x080500 card=0x213317aa chip=0xe8221180 rev=0x01 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'MMC/SD Host Controller' class = base peripheral subclass = SD host controller none3@pci0:13:0:1: class=0x088000 card=0x213417aa chip=0xe2301180 rev=0x01 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'Memory Stick Host Controller' class = base peripheral -lshal is- udi = '/org/freedesktop/Hal/devices/pci_1180_e822' freebsd.driver = 'sdhci' (string) freebsd.unit = 0 (0x0) (int) info.parent = '/org/freedesktop/Hal/devices/pci_8086_3b4a' (string) info.product = 'MMC/SD Host Controller' (string) info.subsystem = 'pci' (string) info.udi = '/org/freedesktop/Hal/devices/pci_1180_e822' (string) info.vendor = 'Ricoh Co Ltd' (string) pci.device_class = 8 (0x8) (int) pci.device_protocol = 0 (0x0) (int) pci.device_subclass = 5 (0x5) (int) pci.freebsd.bus = 13 (0xd) (int) pci.freebsd.device = 0 (0x0) (int) pci.freebsd.function = 0 (0x0) (int) pci.freebsd.secondary_bus = 0 (0x0) (int) pci.product = 'MMC/SD Host Controller' (string) pci.product_id = 59426 (0xe822) (int) pci.subsys_product_id = 8499 (0x2133) (int) pci.subsys_vendor = 'Lenovo' (string) pci.subsys_vendor_id = 6058 (0x17aa) (int) pci.vendor = 'Ricoh Co Ltd' (string) pci.vendor_id = 4480 (0x1180) (int) udi = '/org/freedesktop/Hal/devices/pci_1180_e230' info.parent = '/org/freedesktop/Hal/devices/pci_8086_3b4a' (string) info.product = 'Memory Stick Host Controller' (string) info.subsystem = 'pci' (string) info.udi = '/org/freedesktop/Hal/devices/pci_1180_e230' (string) info.vendor = 'Ricoh Co Ltd' (string) pci.device_class = 8 (0x8) (int) pci.device_protocol = 0 (0x0) (int) pci.device_subclass = 128 (0x80) (int) pci.freebsd.bus = 13 (0xd) (int) pci.freebsd.device = 0 (0x0) (int) pci.freebsd.function = 1 (0x1) (int) pci.freebsd.secondary_bus = 0 (0x0) (int) pci.product = 'Memory Stick Host Controller' (string) pci.product_id = 57904 (0xe230) (int) pci.subsys_product_id = 8500 (0x2134) (int) pci.subsys_vendor = 'Lenovo' (string) pci.subsys_vendor_id = 6058 (0x17aa) (int) pci.vendor = 'Ricoh Co Ltd' (string) pci.vendor_id = 4480 (0x1180) (int) -lshal(When Insert SD) is- udi = '/org/freedesktop/Hal/devices/pci_1180_e822_storage' block.device = '/dev/mmcsd0' (string) block.is_volume = false (bool) block.major = 0 (0x0) (int) block.minor = 149 (0x95) (int) block.storage_device = '/org/freedesktop/Hal/devices/pci_1180_e822_storage' (string) freebsd.device_file = '/dev/mmcsd0' (string) freebsd.driver = 'mmcsd' (string) freebsd.unit = 0 (0x0) (int) info.capabilities = {'block', 'storage'} (string list) info.category = 'storage' (string) info.parent = '/org/freedesktop/Hal/devices/pci_1180_e822' (string) info.product = 'Storage Device' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/pci_1180_e822_storage' (string) storage.automount_enabled_hint = false (bool) storage.bus = 'platform' (string) storage.drive_type = 'disk' (string) storage.hotpluggable = false (bool) storage.media_check_enabled = false (bool) storage.model = '' (string) storage.no_partitions_hint = false (bool) storage.originating_device = '' (string) storage.removable = false (bool) storage.removable.support_async_notification = false (bool) storage.requires_eject = false (bool) storage.vendor = '' (string) udi = '/org/freedesktop/Hal/devices/volume_uuid_D854_5247' block.device = '/dev/mmcsd0s1' (string) block.is_volume = true (bool) block.major = 0 (0x0) (int) block.minor = 150 (0x96) (int) block.storage_device = '/org/freedesktop/Hal/devices/pci_1180_e822_storage' (string) info.capabilities = {'block', 'volume'} (string list) info.category = 'volume' (string) info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) info.parent = '/org/freedesktop/Hal/devices/pci_1180_e822_storage' (string) info.product = 'Volume (vfat)' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_D
Re: find sources to build Handbook and FAQ for FreeBSD?
On Fri, 20 Apr 2012, Antonio Olivares wrote: Does anyone know where the source(s) for the FreeBSD Handbook and FreeBSD FAQ are found? SGML source is in /usr/doc/en_US.ISO8859-1/books/handbook/ and /usr/doc/en_US.ISO8859-1/books/faq/, or other subdirectories under /usr/doc for other languages. There's build infrastructure in /usr/doc/share. Some description about the doc tools is in the FreeBSD Documentation Project Primer at http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.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: recommendation(s) for new computer
On Fri, Apr 20, 2012 at 10:19 AM, Christian Baer < christian.b...@uni-dortmund.de> wrote: > Most of these components aren't all that thrilling (because they will > run with just about anything), but you are welcome to comment on them if > you think I could/should rethink an aspect. Remember that I live in > Germany and my choice fell on things that I can easily get on the German > market. I took a look at the costs and the prices that Intel wants for > their CPUs and mainboards just blew my socks off! Therefore, I decided > that this will be an AMD-computer (again). > I'm not sure where the power/performance/price ratio is at currently, but it wasn't that long ago purchasing an intel was a much better deal long term. It was something like it took a year and half of an AMD and intel cpu idling to draw even in total price all the while having a much greater performance potential with Intel. I say this as someone who hopes AMD will succeed. There is much more to it than just raw upfront cost. -- Adam Vande More ___ 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: VLANs, default route not working on boot
On Apr 20, 2012, at 5:12 PM, Nikos Vassiliadis wrote: > This is not the correct syntax. From the rc.conf manual page: Thanks Nikos. Not sure how I came up with the incorrect syntax, but correcting that fixed my issue. -Chad___ 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: VLANs, default route not working on boot
On 4/20/2012 9:54 PM, Chad M Stewart wrote: cloned_interfaces="vlan4 vlan7" ifconfig_vlan4="inet 192.168.4.21 netmask 255.255.255.0 vlan 4 vlandev em0" ifconfig_vlan7="inet 192.168.7.21 netmask 255.255.255.0 vlan 7 vlandev em0" ifconfig_vlan7="alias 192.168.7.31 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.41 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.41 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.51 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.61 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.71 netmask 255.255.255.255" defaultrouter="192.168.7.1" This is not the correct syntax. From the rc.conf manual page: ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-5/28" It is also possible to add IP alias entries using ifconfig(8) syntax. Assuming that the interface in question was ed0, it might look something like this: ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0x" ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0x" HTH, Nikos ___ 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: recommendation(s) for new computer
On Fri, 20 Apr 2012 15:42:23 -0500 Mark Felder articulated: >On Fri, 20 Apr 2012 15:34:11 -0500, Dale Scott >wrote: > >> As do Intel (video) drivers > >Not if they require GEM/KMS like all the modern variants do; they're >not supported in FreeBSD yet. I have a laptop (Google CR48) that's >running the very experimental GEM/KMS code because otherwise it's >stuck with a horrible resolution. Even with a custom kernel and custom >ports/X11 patches it still has quirks like not being able to get your >vty back after you start X. This is one of those "damned if you do, damned if you don't" scenarios. If you have confidence in FreeBSD being able to supply fully compatible drivers for the Intel cards, then I would consider them. However, considering the speed with which FreeBSD creates drivers for hardware (see wireless N cards for starters) I would probably choose the nVidia cards. They works well and nVidia supplies the drivers so you know that they are going to work. As a side bar, be careful what NIC card you get. FreeBSD still does not support many "wireless N" cards if you plan on going that route. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: how often to update ports?
On Fri, Mar 30, 2012 at 1:31 PM, Aleksandr Miroslav wrote: > >From what I've gleaned from this list and other BSD mailing lists that > I'm on, is that some people don't update their port-installed packages > nearly as frequently (security patches/updates aside). Some people go > for months/years without doing so. > > So I'm curious, how often do you keep your ports update, and what are > the reasons for doing so? I may be more lax than most. I update ports when one of three things happens: 1. I upgrade to a new FreeBSD release. 2. portaudit flags a security problem. 3. I need some feature that's only in a newer version. I don't do a gratuitous update just because a new version is out; I like to avoid disturbing things that are working, basically. ___ 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: Changing psm (mouse) resolution?
In message <20120420004050.9b3f1a3a.free...@edvax.de>, Polytropon wrote: >On Thu, 19 Apr 2012 14:25:48 -0700, Ronald F. Guilmette wrote: >> >> >> The man page for the psm driver says: >> >> ... The current resolution can be changed at runtime. >> >> Unfortunately, it fails to mention any sort of command line utility >> that would provide this functionality. >... >> Is there a command line utility that provides this functionality? Or do >> I need to write one from scratch, using the ioctl calls that are documented >> in the man page? > >See "man moused" for details, especially the -r option >should be useful. You can combine it with -f for testing. According >to the manpage, something like > > # moused -f -r 300 -a 2.0 -p /dev/psm0 -t ps/2 First, thanks to both Polytropon and Dan Nelson for replying with relevant information. Unfortunately, even though I now know about the -r option for moused, this has not been enough to resolve the problem I am having, and I'm going to need to delve into this more deeply. Here is the problem in a nutshell: My old mouse was (is) a relatively ancient Logitech M-BJ69. This is a wired mouse. It works great and I have been using it for many years. But it was getting long in the tooth (and I never mich liked the wire, which somehow always got tangled) so recently I acquired I new Logitech MX600 wireless mose. (This is actually an older model now, but still much newer than my M-BJ69. I got the MX600 specifically because the specs for it seemed to indicate that it would work also with a DVI+PS/2 KVM I have here, and also with my old Windows 2000 system.) My new MX600 does indeed ``work'' (for some value of ``work'') on both my Freebsd 8.2 system and also on my Win 2000 system, and also with my KVM. The problem however is that its sensitivity is (by my mesurement) at least 3x what my old mouse... the one that I am accustomed to using... had. So when I move the MX600 just a little, the mouse cursor flys all of the way across my screen. For me, this makes my brand new MX600 unusable. And given that I just purchased it, I am disappointed, as you might imagine. OK, so since Polytropon and Dan Nelson were kind enough to respond the other day, I have now added the following to my /etc/rc.conf file and then rebooted: moused_flags="-r low" This apparently made no difference at all in the behavior of the mouse, so I am now greatly disheartened. But I would still very much like to solve this problem, and I would like to receive suggestions as to how to proceed. First however, allow me to provide one data point which is relevant to all this... On Windows, Logitech supplies a small program called "SetPoint" which allows a user of one of their mice to adjust the sensitivity aka "resolution" (or what Logitech calls "pointer speed") of the currently connected mouse. Although I can't yet get this program to work properly on Windows 2000, I have a Windows 7 system where it does work, and I've tried hooking up my new MX600 to that (Win 7) system and then running Logitech's SetPoint program. The interesting thing is that SetPoint provides a slider in the user interface that allows the user to adjust the "pointer speed". I have just now checked, and there are a grand total of 11 different positions along this slider which the user can select when the MX600 is connected to the system in question. The only point I am getting at is that in an ideal Universe, even under FreeBSD a user would be able to select any one of these same 11 resolution values for the currently attached mouse. I am dissuaded from thinking that FreeBSD currently supports selection of any one of those different resolution levels by the code I am looking at within /usr/src/sys/dev/atkbdc/psm.c: ... if (mode.resolution >= 200) mode.resolution = MOUSE_RES_HIGH; else if (mode.resolution >= 100) mode.resolution = MOUSE_RES_MEDIUMHIGH; else if (mode.resolution >= 50) mode.resolution = MOUSE_RES_MEDIUMLOW; else if (mode.resolution > 0) mode.resolution = MOUSE_RES_LOW; ... In that same hypothetical ideal Universe, it would also be quite Nice to be able to adjust the mouse sensitivity level EVEN while running X, whereas given that (under FreeBSD) the mouse resolution is fixed at moused invocation time, it seems that it is not possible to adjust this value AT ALL, ever, except, effectively, at boot time. (Yes, I did try writing a small program that would make an ioctl() to change the resolution on the fly, but apparently, once moused has gotten ahold of the device file, one cannot even open it again in preparation for making the ioctl() call. I see that moused supports SIGHUP reinitialization. Given that it already supports THAT, it is really a cryin' shame that there ain't no such thing as /etc/moused.con
Re: recommendation(s) for new computer
On Fri, 20 Apr 2012 15:34:11 -0500, Dale Scott wrote: As do Intel (video) drivers Not if they require GEM/KMS like all the modern variants do; they're not supported in FreeBSD yet. I have a laptop (Google CR48) that's running the very experimental GEM/KMS code because otherwise it's stuck with a horrible resolution. Even with a custom kernel and custom ports/X11 patches it still has quirks like not being able to get your vty back after you start X. ___ 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: recommendation(s) for new computer
As do Intel (video) drivers - Original Message - From: "Mark Felder" To: freebsd-questions@FreeBSD.org Sent: Friday, April 20, 2012 1:49:13 PM Subject: Re: recommendation(s) for new computer nvidia drivers just work. That's what matters. ___ 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: VLANs, default route not working on boot
Those errors are usually from it trying to create interfaces that already exist. It looks like it created your default route, though. Time to file a PR because the network boot stuff is not doing the order right. ___ 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: VLANs, default route not working on boot
On Apr 20, 2012, at 3:00 PM, Mark Felder wrote: > On Fri, 20 Apr 2012 14:54:46 -0500, Chad M Stewart wrote: > >> Anyone have some suggestions how I can fix this? > > > I'm guessing having the default route on a tagged vlan was not tested and the > default route is attempted before the vlan interface is all the way up. After > the system is booted up does the default route work if you run "sh > /etc/netstart" ? That should prove whether or not it's handling the rc.conf > syntax OK. Yes running it manually after the system is booted works, though I see two errors that may indicate something. See below. relay02# sh /etc/netstart devd already running? (pid=1099). Setting hostuuid: 44454c4c-3400-105a-804d-b7c04f303731. Setting hostid: 0x9061cce4. ifconfig: create: bad value ifconfig: create: bad value I edited /etc/netstart and /etc/rc.d/netif and 'set -x' in both. Those two errors are coming from netif. I'm still looking into what it does not like. ifconfig: SIOCSETVLAN: Device busy Starting Network: lo0 em0 em1 vlan4 vlan7. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff00 nd6 options=21 em0: flags=8843 metric 0 mtu 1500 options=9b ether 00:11:43:dc:ba:98 inet6 fe80::211:43ff:fedc:ba98%em0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active em1: flags=8802 metric 0 mtu 1500 options=9b ether 00:11:43:dc:ba:99 nd6 options=29 media: Ethernet autoselect status: no carrier vlan4: flags=8843 metric 0 mtu 1500 options=3 ether 00:11:43:dc:ba:98 inet 192.168.4.21 netmask 0xff00 broadcast 192.168.4.255 inet6 fe80::211:43ff:fedc:ba98%vlan4 prefixlen 64 scopeid 0x8 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active vlan: 4 parent interface: em0 vlan7: flags=8003 metric 0 mtu 1500 ether 00:00:00:00:00:00 inet 192.168.7.31 netmask 0x broadcast 192.168.7.31 inet6 fe80::211:43ff:fedc:ba98%vlan7 prefixlen 64 tentative scopeid 0x9 inet 192.168.7.41 netmask 0x broadcast 192.168.7.41 inet 192.168.7.51 netmask 0x broadcast 192.168.7.51 inet 192.168.7.61 netmask 0x broadcast 192.168.7.61 inet 192.168.7.71 netmask 0x broadcast 192.168.7.71 inet 192.168.7.75 netmask 0xff00 broadcast 255.255.255.255 nd6 options=29 vlan: 0 parent interface: add net default: gateway 192.168.7.1 route: writing to routing socket: File exists add net :::0.0.0.0: gateway ::1: route already in table route: writing to routing socket: File exists add net ::0.0.0.0: gateway ::1: route already in table route: writing to routing socket: File exists add net fe80::: gateway ::1: route already in table route: writing to routing socket: File exists add net ff02::: gateway ::1: route already in table relay02# netstat -rn|head Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.7.1UGS 00 vlan7 127.0.0.1 link#7 UH 00lo0 192.168.4.0/24 link#8 U 010501 vlan4 192.168.4.21 link#8 UHS 00lo0 192.168.7.0/24 link#9 U 05 vlan7 192.168.7.31 link#9 UHS 0 54lo0 => -Chad ___ 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: VLANs, default route not working on boot
On Fri, 20 Apr 2012 14:54:46 -0500, Chad M Stewart wrote: Anyone have some suggestions how I can fix this? I'm guessing having the default route on a tagged vlan was not tested and the default route is attempted before the vlan interface is all the way up. After the system is booted up does the default route work if you run "sh /etc/netstart" ? That should prove whether or not it's handling the rc.conf syntax OK. ___ 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: domain required for FreeBSD install and isc dhcp
On Apr 20, 2012, at 12:40 PM, Chris Whitehouse wrote: > I've wondered this for ages. When you set up networking as part of installing > FreeBSD one of the pieces of information requested is a domain name. Also > setting up dhcp.conf one of the fields is domain name. What do you do if you > don't have your own domain? There have been a few domains which are permanently reserved and will never be assigned elsewhere: http://www.ietf.org/rfc/rfc2606.txt You can reasonably claim to be part of your ISP's domain, if you prefer. .lan might be reasonable, or .local, although the latter might conflict with Bonjour/Zeroconf. > I've never supplied a domain name when installing FreeBSD and it doesn't seem > to have been a problem. I'm just setting up dhcp for the first time and I > don't know if it matters here. It's mainly used to setup the default search domain which clients use to find local unqualified hosts. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
VLANs, default route not working on boot
I can't figure out why on boot the default route is not being setup correctly. I'm coming back to FreeBSD, having spent many years using OpenBSD primarily. The server has 2 NICs, of which em0 is the one being used. I did see something during boot about not adding the default route but it scrolled to fast for me to read it completely. relay02# uname -a FreeBSD relay02 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 relay02# cat /etc/rc.conf hostname="relay02" sshd_enable="YES" ntpd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" ifconfig_em0="up" cloned_interfaces="vlan4 vlan7" ifconfig_vlan4="inet 192.168.4.21 netmask 255.255.255.0 vlan 4 vlandev em0" ifconfig_vlan7="inet 192.168.7.21 netmask 255.255.255.0 vlan 7 vlandev em0" ifconfig_vlan7="alias 192.168.7.31 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.41 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.41 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.51 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.61 netmask 255.255.255.255" ifconfig_vlan7="alias 192.168.7.71 netmask 255.255.255.255" defaultrouter="192.168.7.1" syslog_ng_enable="YES" syslogd_enable="NO" ezjail_enable="YES" relay02# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire 127.0.0.1 link#7 UH 09lo0 192.168.4.0/24 link#8 U 010360 vlan4 192.168.4.21 link#8 UHS 00lo0 192.168.7.0/24 link#9 U 05 vlan7 192.168.7.31 link#9 UHS 0 54lo0 => 192.168.7.31/32link#9 U 00 vlan7 192.168.7.41 link#9 UHS 01lo0 => 192.168.7.41/32link#9 U 00 vlan7 192.168.7.51 link#9 UHS 01lo0 => 192.168.7.51/32link#9 U 00 vlan7 192.168.7.61 link#9 UHS 01lo0 => 192.168.7.61/32link#9 U 00 vlan7 192.168.7.71 link#9 UHS 01lo0 => 192.168.7.71/32link#9 U 00 vlan7 192.168.7.75 link#9 UHS 0 17lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRSlo0 ::1 ::1 UH lo0 :::0.0.0.0/96 ::1 UGRSlo0 fe80::/10 ::1 UGRSlo0 fe80::%em0/64 link#1U em0 fe80::211:43ff:fedc:ba98%em0 link#1UHS lo0 fe80::%lo0/64 link#7U lo0 fe80::1%lo0 link#7UHS lo0 fe80::%vlan4/64 link#8U vlan4 fe80::211:43ff:fedc:ba98%vlan4link#8UHS lo0 fe80::%vlan7/64 link#9U vlan7 fe80::211:43ff:fedc:ba98%vlan7link#9UHS lo0 ff01::%em0/32 fe80::211:43ff:fedc:ba98%em0 U em0 ff01::%lo0/32 ::1 U lo0 ff01::%vlan4/32 fe80::211:43ff:fedc:ba98%vlan4 U vlan4 ff01::%vlan7/32 fe80::211:43ff:fedc:ba98%vlan7 U vlan7 ff02::/16 ::1 UGRSlo0 ff02::%em0/32 fe80::211:43ff:fedc:ba98%em0 U em0 ff02::%lo0/32 ::1 U lo0 ff02::%vlan4/32 fe80::211:43ff:fedc:ba98%vlan4 U vlan4 ff02::%vlan7/32 fe80::211:43ff:fedc:ba98%vlan7 U vlan7 relay02# Post boot I can login from a box on the same LAN and manually add the default route no problem. Anyone have some suggestions how I can fix this? Thank you, Chad ___ 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: blu ray recorders
On 21/04/2012 00:29, Wojciech Puchar wrote: dvd's. From the info I can see that cdrecord and growisofs list blu-ray in features. already found - growisofs (which i use regularly) do support blu ray recording. so i will buy BD-recorder. the problem is - FreeBSD seems not to support >4GB files on CD9660 filesystem. mkisofs --iso-level 3 create it fine Even windoze can then see it properly, but FreeBSD shows multiple files. The mkisofs man page says iso/joliet/udf supports disk size up to 8TB and maximum single file up to 8TB with udf only up to 200GB single file. Personally I use the -UDF option to make an iso/udf hybrid as well as iso-level 3 and get a message that "files larger than 2GB found. These files will only be fully accessible if mounted with UDF" Just tested a disk now - on a dvd-r medium. One file of 4.3G and another of 29M If I mount_udf I see one file of 4.3G and one 29M. I find if I use mount_cd9660 I see two copies of the same file - showing as 4G each and one 29M. I don't see any difference using any of the options. -r--r--r-- 1 root wheel 4294965248 21 Apr 03:57 tester.file While that file size isn't a full 32 bit value it is close. My guess would be that the iso driver is still using a 32bit filesize df -h shows the cd9660 mounted size at 4.4G [leader:/] shane# mount_cd9660 /dev/cd0 /mnt/CD [leader:/] shane# ls -lah /mnt/CD/ total 8388612 dr-xr-xr-x 3 root wheel 2.0k 21 Apr 04:09 . drwxr-xr-x 4 root wheel 512B 6 Apr 15:40 .. -r--r--r-- 1 root wheel29M 8 Apr 14:34 animation.mp4 -r--r--r-- 1 root wheel 4G 21 Apr 03:57 tester.file -r--r--r-- 1 root wheel 4G 21 Apr 03:57 tester.file [leader:/] shane# umount /mnt/CD/ [leader:/] shane# mount_udf /dev/cd0 /mnt/CD [leader:/] shane# ls -lah /mnt/CD/ total 4551764 dr-xr-xr-x 2 root wheel 2.0k 21 Apr 04:09 . drwxr-xr-x 4 root wheel 512B 6 Apr 15:40 .. -r--r--r-- 1 root wheel29M 8 Apr 14:34 animation.mp4 -r--r--r-- 1 root wheel 4.3G 21 Apr 03:57 tester.file [leader:/] shane# umount /mnt/CD/ [leader:/] shane# uname -a FreeBSD leader.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012 root@:/usr/obj/usr/src/sys/GENERIC 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: recommendation(s) for new computer
nvidia drivers just work. That's what matters. ___ 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"
domain required for FreeBSD install and isc dhcp
hi, I've wondered this for ages. When you set up networking as part of installing FreeBSD one of the pieces of information requested is a domain name. Also setting up dhcp.conf one of the fields is domain name. What do you do if you don't have your own domain? I've never supplied a domain name when installing FreeBSD and it doesn't seem to have been a problem. I'm just setting up dhcp for the first time and I don't know if it matters here. 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: find -printf
On Fri, Apr 20, 2012 at 3:12 PM, Chuck Swiger wrote: > On Apr 20, 2012, at 12:08 PM, Eugen Konkov wrote: > > checking 'man find' there is no -printf parametr. > > > > Does FreeBSD has different version of find utility compare to linux? > > Yes. Linux comes with GNU find. > > > Maybe some knows workaroud for that? > > Install GNU find. > If you are working in a heterogenous environment, and do not want to install lots of tools for consistency, I would recommend sticking to the POSIX defined functionality/behaviors in all cases: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html If you only use functionality that is defined there, it should work on all modern find implementations, regardless of OS, etc (that's more or less the entire reason for the specification ...). For older systems you might want to stick to the 2004 specification: http://pubs.opengroup.org/onlinepubs/009604599/utilities/find.html > > Regards, > -- > -Chuck > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > -- regards, matt ___ 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[2]: find -printf
Здравствуйте, Chuck. Вы писали 20 апреля 2012 г., 22:12:50: CS> On Apr 20, 2012, at 12:08 PM, Eugen Konkov wrote: >> checking 'man find' there is no -printf parametr. >> >> Does FreeBSD has different version of find utility compare to linux? CS> Yes. Linux comes with GNU find. >> Maybe some knows workaroud for that? CS> Install GNU find. cd /usr/ports/misc/findutils && make isntall clean thank you. that works =) ___ 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: find -printf
On Apr 20, 2012, at 12:08 PM, Eugen Konkov wrote: > checking 'man find' there is no -printf parametr. > > Does FreeBSD has different version of find utility compare to linux? Yes. Linux comes with GNU find. > Maybe some knows workaroud for that? Install GNU find. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Samba 3.6.4 winbindd
Has anyone out there gotten winbindd from Samba 3.6.anything to work on FreeBSD 9.0-STABLE? It starts up with no obvious problems--although with Samba's usual cryptic error messages it's hard for me to tell--and then just sits there doing nothing. Wbinfo commands time out and pam_winbind.so doesn't work. When I run /usr/local/etc/rc.d/samba stop, it hangs waiting for winbindd to die, and I have to kill -KILL winbindd. I'm using security = domain. Other settings, logs, etc. available upon request. I've had to drop back to Samba 3.5.14_1 to get most things to work, but I really need to go to 3.6.* for the NTLMv2 support. -- J. Porter Clark ___ 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"
find -printf
Hi I have downloaded asvn script to save also filepermitions for files on FreeBSD in svn repository http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/asvn but this script fails with: checking /some/dir for symlinks find: -printf: unknown primary or operator in source of script there is a command: find "$dir" \( -type l -printf "file='%f' dest='%l'\n" \) -o -type d ! -name "`basename \"$dir\"`" -prune checking 'man find' there is no -printf parametr. Does FreeBSD has different version of find utility compare to linux? Maybe some knows workaroud for that? -- Eugen mailto:kes-...@yandex.ru ___ 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"
strange system corruption (freebsd 9.0)
Hi, folks! I am in the middle of really creepy problem with my new FreeBSD box. I would appreciate any ideas about what the hell happened. I've installed FreeBSD 9.0 from CD on IBM System x3550 server (with RAID-5 on 4 hard drives) and moved on it the most of config's from my old FreeBSD (8.2) box, and everything seemed working fine for some days. Long story short, today I realised, that I can't login nether through ssh or console, some third-party soft doesn't work, and most of utilities from base system doesn't work too. My /usr/sbin and /usr/libdata are completely gone, /usr/libexec is empty, /usr/bin contains only dtrace dir and librt.so.1 many files from /usr/bin are gone, /usr/src contains only directory with my kernconf (there was all sources) and /usr/ports contains only ports I've installed. Time of access to all deleted or semi-deleted dirs is almost the same, but I didn't find any weird actions in logs. First, I thought that portsnap (runned by cron) somehow corrupted my system, but it was executed like eight hours earlier. No one but me has access to this box, so it's unlikely mean joke. So, please, please, help me. I really do not know what I suppose to do now. I can't find out why this happened, so it would be useless just reinstall system -- I'll have this situation again. All this stuff repeated twice -- so it is not kind of glitch (last time a cvsuped sources and ports and thought it was the reason of crash). ___ 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"
recommendation(s) for new computer
Mellow greetings, y'all! :-) After several years, I think it's about time for a new computer, since my current one is slowly aging to a meltdown. Well, that and I currently have the dough for a new one. So before I spend it uselessly on women, I'll see to it that I get my new machine ASAP. ;-) Usage: I want to select the components to make them FreeBSD-friendly. Just about anything will run under Windows, so I won't make a fuss there. Windows will run on this machine (too), because from time to time I do enjoy a little gaming. I am not a hardcore-gamer though. About 80% of my time at the computer is spent "in non-gaming-mode". And I certainly will not spend extra money to play Crisis in full detail beyond 1080p. I do a lot of writing, reading, some programming, lots of photo-work and watch a movie from time to time. Nearly all of these 80% will bei done running FreeBSD (or PCBSD). Most of these components aren't all that thrilling (because they will run with just about anything), but you are welcome to comment on them if you think I could/should rethink an aspect. Remember that I live in Germany and my choice fell on things that I can easily get on the German market. I took a look at the costs and the prices that Intel wants for their CPUs and mainboards just blew my socks off! Therefore, I decided that this will be an AMD-computer (again). - Asus Sabertooth 990FX - AMD FX-8150 - Corsair Vengeance 16GB Kit [Note: This combination is known to work because a friend has exactly those components.] - Enermax Platimax 600W - LG CH10LS28 I'll leave the case and the fans out of this discussion. :-) And SSD (probably 256GB) is planned too. I just don't know which one yet. You might have noticed that there is no graphics board. That is the actually problem I am having: Should I go with AMD or nVidia? I remember a while back that I had trouble getting an AMD graphics board to work properly under X. The board was too old for the official driver from AMD and the open source driver gave me the feeling that I was back at my old 80386. I doubt that I will be doing any gaming under FreeBSD (although I once did get Warcraft 3 to run using Wine). However, I do want to be able to use 3D effects on the desktop. What I am asking basicly is, what vendor has better support? As an indication, should I buy an AMD-board, it will be something like a 7950 or 7970. Thanks for your time, thoughts and suggestions! Cheers! 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: blu ray recorders
On Fri, 20 Apr 2012 16:59:36 +0200 (CEST) Wojciech Puchar articulated: >already found - growisofs (which i use regularly) do support blu ray >recording. so i will buy BD-recorder. > >the problem is - FreeBSD seems not to support >4GB files on CD9660 >filesystem. mkisofs --iso-level 3 create it fine > >Even Windows can then see it properly, but FreeBSD shows multiple >files. Try filing a PR against it. Perhaps somebody might actually look into it. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: Does 9.0-stable installer support full disc encryption
Wasn't able to find something about this: Do I have a chance to do direct installation of a FreeBSD into a full encrpyted environment where not only /home, but also e.g. /usr is encrypted? Currently I've got such as i always say the best installer is no installer, as it supports everything you want exactly because YOU do the (simple) instalation steps as you want. Actually except the really first time i tried FreeBSD, i never used it. both old sysinstall and new that i even don't know as i don't compile it. REALLY - grab some usable self-containted DVD/CD/pendrive that boots into complete FreeBSD, add compressed install files (may be like distro or your own), then just make partitions, newfs then, perform bsdlabel -B (or gpart), and unpack. or make partitions, geli init+geli attach right one, newfs and unpack. if you want ALL encrypted then: - make very small /b partition like 100-200 megs unencrypted - after unpacking from your / partition move /boot to /b/boot, then make a link /boot -> b/boot - in loader.conf add vfs.root.mountfrom="ufs:yourrootpartition" ex. vfs.root.mountfrom="ufs:ada0d.eli" with standard generic kernel you need geom_eli_load="YES" in loader.conf too after all works compile your kernel, make sure GEOM_ELI is compiled in (no need for module), and - if you have one of the latest intel CPU, or one of the "less latest" VIA CPU apply a driver for hardware accelerated AES encryption. speedup of encryption from 50MB/s to 2-3GB/s is quite normal :) actually i usually encrypt everything on such hardware as encryption load is not noticable. ___ 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: blu ray recorders
dvd's. From the info I can see that cdrecord and growisofs list blu-ray in features. already found - growisofs (which i use regularly) do support blu ray recording. so i will buy BD-recorder. the problem is - FreeBSD seems not to support >4GB files on CD9660 filesystem. mkisofs --iso-level 3 create it fine Even windoze can then see it properly, but FreeBSD shows multiple files. ___ 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: Does 9.0-stable installer support full disc encryption
On 20/04/2012 10:21, Frank Lanitz wrote: > Wasn't able to find something about this: Do I have a chance to do > direct installation of a FreeBSD into a full encrpyted environment where > not only /home, but also e.g. /usr is encrypted? Currently I've got such > a setup running with Linux inside a crypto lvm and don't want to miss it > ;) However, currently looking what's the best way in getting a fresh > installed FreeBSD into this state. This isn't provided as one of the standard options in bsdinstall. However, you can set it up by booting the install media into Live CD mode, and doing the disk partitioning, encryption setup and so forth by hand. It's a bit tedious, but not really difficult, so long as you know how to work commands like gpart(8) and newfs(8). Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Post-installation error on two disks
Le 27 mars 2012 21:06, Gökşin Akdeniz a écrit : > Boot system in single mode and run fsck on all partitions of WD drive. > I hope it fixes > Hi, Thank you for your answer, I run a fsck on all the partitions and it seems to work. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: /usr/local/java/jboss5 fails to build
Hi, I am not able to apply the patch ... mysql# pwd /usr/ports/java/jboss5 mysql# make clean ===> Cleaning for jboss-5.1.0.GA_1,1 mysql# make extract ===> License check disabled, port has not defined LICENSE ===> Extracting for jboss-5.1.0.GA_1,1 => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. mysql# cd work/jboss-5.1.0.GA-src/ mysql# patch < /home/vermaden/patch.pom Hmm... Looks like a context diff to me... The text leading up to this was: -- |*** pom.xml.orig Thu Apr 19 18:29:15 2012 |--- pom.xmlThu Apr 19 20:40:37 2012 -- Patching file pom.xml using Plan A... (Fascinating--this is really a new-style context diff but without the telltale extra asterisks on the *** line that usually indicate the new style...) Hunk #1 failed at 280. Hunk #2 failed at 302. Hunk #3 failed at 362. 3 out of 3 hunks failed--saving rejects to pom.xml.rej done --- mysql# pwd /usr/ports/java/jboss5 mysql# make clean ===> Cleaning for jboss-5.1.0.GA_1,1 mysql# make patch ===> License check disabled, port has not defined LICENSE ===> Extracting for jboss-5.1.0.GA_1,1 => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. ===> Patching for jboss-5.1.0.GA_1,1 ===> Applying FreeBSD patches for jboss-5.1.0.GA_1,1 mysql# cd work/jboss-5.1.0.GA-src/ mysql# patch < /home/vermaden/patch.pom Hmm... Looks like a context diff to me... The text leading up to this was: -- |*** pom.xml.orig Thu Apr 19 18:29:15 2012 |--- pom.xmlThu Apr 19 20:40:37 2012 -- Patching file pom.xml using Plan A... (Fascinating--this is really a new-style context diff but without the telltale extra asterisks on the *** line that usually indicate the new style...) Hunk #1 failed at 280. Hunk #2 failed at 302. Hunk #3 failed at 362. 3 out of 3 hunks failed--saving rejects to pom.xml.rej done Could You please attach the whole modified working POM.XML? ;) Thanks, veramden "Horst Leitenmueller" pisze: > hi vermaden, > > here is the howto and all needed changes... > > > installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6 > > what is missing is a settings.xml which must be located in the home directory > of root, or the one who is installing ports > > /root/.m2/settings.xml > > file is attached in this file the depricated jboss dependencies are kept; > otherwise you will not be able to build > > second thing is i removed/changed things from the pom.xml file in the > portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/ > > there are changes for > > and > > > > the entries glassfish i have removed > http://maven.glassfish.org/content/groups/glassfish they just deliver not > working response > > how to patch, i run "make install" in /usr/ports/java/jboss5 > when jboss-src is downloaded and extracted i interrupted the build > > patched the pom.xml (problem was, i thougth install will work, but it was > running and downloading garbage from glassfish repo...) > rm -rf /root/.m2/repository/ helps also if some garbage is collected > > jboss-team has announced there will be a repo change already some time ago, > but i also did not recognize it :-) until it was turned off... > > for the portmaintainer ? how to handle the settings.xml ? the other things > can be patched… > > > and settings.xml > -- ... ___ 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: Best practices about Jails
On 04/04/12 16:06, Fbsd8 wrote: This is overkill. I single ports tree on the host is fine. Matter of fact I use packages for everything accept for php which I have to compile in apache module. I even pre-install all of php's dependents as packages before doing "make install" on the php port. As far as portsclean goes its only for the paranoid. Ok, I've gone this way. If you dont have full ports tree in the jail then no need for portaudit in the jail. Portaudit doesn't check the port tree; it checks installed ports. Best practices is not to create a jail environment by hand as documented in the Freebsd handbook. The port utility qjail simplifies and automates the process to the point where you dont even have to know about the jail command. http://qjail.sourceforge.net/ use the port version for 8.x & 9.0 I've had a look at qjail; it seems very simliar to ezjails, which I used (I didn't do jails by hand). bye & Thanks av. ___ 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"
Does 9.0-stable installer support full disc encryption
Hi folks, Wasn't able to find something about this: Do I have a chance to do direct installation of a FreeBSD into a full encrpyted environment where not only /home, but also e.g. /usr is encrypted? Currently I've got such a setup running with Linux inside a crypto lvm and don't want to miss it ;) However, currently looking what's the best way in getting a fresh installed FreeBSD into this state. Cheers, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"