mpd as VPN-client in FreeBSD
Hi! I'm using mpd (as client)to connect to VPN-server. When I don't use mpd, my default route is 192.168.1.1. Then when i'm connected to the VPN-server, i have a new iface ng0 with ip 212.192.123.86. But default route is still 192.168.1.1! And I have to '# route change default 212.192.123.193' manually . The question : is there a line in mpd config files, that sets the new route automatically (after sucsessfull connection)? I've read the f*g manuals(both man and html files), but didn't find anything useful for me. Please help me ! Thanks for your time. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: custom shell script .. OT maybe .
On Thursday 04 November 2004 08:42, faisal gillani wrote: > Hello there ... > > well i want to make a simple/wieard shell script :) > which checks somehow > connection with the internet & rename some file files > if it finds > connectivity with the internet , & do nothing of it > dont find connectivity > with the internet ...is it possible with simple shell > script ? or do i have > to learn some scripting language for that ? > CAN U HELP !!! :) Try something like this : cut here - #!/bin/sh connection=0 ping -c 5 -t 6 some.host.on.the.internet && connection=1 if [ "${connection}" = "1" ]; then # This will be executed if we can ping the host echo "We have internet. :)" else # This will be executed if we can't ping the host (no connection) echo "Oh no!! Someone please help me." echo "We're not connected!!" fi end of script --- The "ping" command tries to ping some host on the internet 5 times and waits for a maximum of 6 seconds for a reply. If ping gets a reply, the variable "connection" will be set to 1. The "if" statement checks the "connection" variable and executes whatever you want to do then. grtz, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is UDP header compression (RFC 2508) supported in FreeBSD
Hi, Does anybody know whether RFC 2508 (Compressing IP/UDP/RTP Headers for Low-Speed Serial Links) is supported in FreeBSD? An elaborate search in the FreeBSD archives and the internet did not result in any useful hints. Support of this RFC is notably relevant in VoIP applications. Any help will very much be appreciated. Jan Knoppers The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PPP not loading at startup. Please help!
Hi! PPP does not start at system startup although ppp_enable="YES" is in /etc/rc.conf. It used to start allright just a couple of days before - and for months on end before. The problem is I did many things during these two days, and I just can't remember everything in particular. I slightly reconfigured kernel, installed isc-dhcp3-server, tried to run samba, edited rc.conf and some other config files - but I'm positive that I haven't done anything that should affect ppp behaviour directly. I haven't changed /etc/ppp/ppp.conf - and it's pretty basic. Here's the relevant part of rc.conf: ppp_enable="YES" ppp_mode="ddial" ppp_profile="mtu" ppp_user="root" ppp_nat="YES" All other entries in rc.conf are still effective and everything starts ok - except ppp. I can easily start ppp manually. There's nothing in ppp.log dated between system startup and manual ppp start. The only error in dmesg is: module_register: module netgraph already exists! linker_file_sysinit "netgraph.ko" failed to register! 17 but google has told me that this is not critical. My kernel config is as follows: machine i386 cpu I686_CPU ident SATBSDK maxusers64 options INET options FFS options FFS_ROOT options SOFTUPDATES options UFS_DIRHASH options MFS options NFS options PROCFS options COMPAT_43 options SCSI_DELAY=15000 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM options KBD_INSTALL_CDEV device isa device pci device ata device atadisk device atapicd options ATA_STATIC_ID device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device vga0at isa? device sc0 at isa? flags 0x100 device npx0at nexus? port IO_NPX irq 13 device miibus device rl pseudo-device loop pseudo-device ether pseudo-device tun 1 pseudo-device pty pseudo-device md pseudo-device bpf options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT options DUMMYNET options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_SOCKET options NETGRAPH_PPP options NETGRAPH_PPPOE My uname is: FreeBSD satbsd.local 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #10: Thu Nov 4 03:11:27 MSK 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SATBSDK i386 If you're out of ideas, maybe you could tell me, how's ppp started by ppp_enable="YES". I couldn't find it's literal invocation in /etc/rc. Please help! Thanks! Best regards, Andrew P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is UDP header compression (RFC 2508) supported in FreeBSD
On Thu, Nov 04, 2004 at 10:35:47AM +0100, Jan Knoppers wrote: >Does anybody know whether RFC 2508 (Compressing IP/UDP/RTP Headers for > Low-Speed Serial Links) is supported in FreeBSD? Look at the Authors of that RFC. Compare it with this statement in ppp(8): vjcomp Default: Enabled and Accepted. This option determines if Van Jacobson header compression will be used. Looks to me as if the answer is "Yes". Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpnrlwxtu5JM.pgp Description: PGP signature
Re: blackbox, bbkeys, and .xinit... (solved) --> UNIX behind the scenes
On Wednesday 03 November 2004 09:25 pm, Parv proclaimed: > in message <[EMAIL PROTECTED]>, wrote > Mike Hauber thusly... > > > I discovered that with the line "blackbox & bbkeys" in > > the script, the bbscript remains when I exit blackbox, > > and I have to close bbscript to return to KDM. > > ... > > > However, when I login and close bbkeys, then blackbox > > abruptly closes (apparently a clean kill), and I return > > to KDM. > > That's what you had asked for. Using '&' after a > command, a shell executes the command in the background. > Lack of '&' causes the command to be executed in the > foreground. Try these two commands in a bourne-like > shell (such as ash (FreeBSD sh), ksh93, bash2, bash3) ... > > sleep 15 && date & > > sleep 15 && date > First of all, I get the syntax. However, I do _not_ understand the apparent dependence between the first and the second binary (if you don't know what I'm referring to, then please read the rest of my last email). > > In your situation, blackbox runs in the background & > bbkeys in foreground. If you wanted to run bbkeys only > if blackbox runs, then do AND operation ... > > blackbox && bbkeys > Actually, no. If I were to put 'blackbox && bbkeys' in the script, then blackbox would appear, and then _after_ I exit blackbox bbkeys shows up on the KDM "root" background. Then when I close bbkeys, the KDM login window is restored. Vice-versa the other way around. Obviously, this is not what I'm after. I've found the solution (as indicated in my last email), but again, I don't understand the dependency that the second binary seems to have on the first (ie. close the second and the first disappears, but _not_ vice-versa). I haven't found the dependency documented anywhere, and therefore I don't understand _why_ it's the solution. > > ... optionally send the both commands in the background > (say, if there are more commands to be run after the two > commands)... > > blackbox && bbkeys & > > > See also... > > - Get a good introductory Unix book > > - Man page for the shell which will execute your .xinit > > - Search "Google Groups" at http://groups.google.com/ > ... > > + comp.unix.* newsgroups for "foreground background > process OR command shell" search term > > + comp.unix.* & comp.windows.x newsgroups for > "shell xinitrc OR xsession background" > > > - Parv > > -- You're probably right. This is more a NIX question in general rather than a FreeBSD-specific question. I'll post it to another board. Thanks. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Is UDP header compression (RFC 2508) supported in FreeBSD
>> Look at the Authors of that RFC. >> >> Compare it with this statement in ppp(8): >> >> vjcomp >> Default: Enabled and Accepted. This option determines if >> Van >> Jacobson header compression will be used. My understanding is that this vjcomp statement relates to TCP/IP header compression only as described in RFC 1144 (Jacobson, V., "TCP/IP Compression for Low-Speed Serial Links", February 1990). This RFC explicitly excludes UDP/IP header compression. RFC 2508 is intended to fill this gap. So, you may very well be right, and I hope you do, but I do not see it documented. Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: custom shell script .. OT maybe .
On 2004-11-04 09:26, "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]> wrote: > On Thursday 04 November 2004 08:42, faisal gillani wrote: > > Hello there ... > > > > well i want to make a simple/wieard shell script :) > > which checks somehow > > connection with the internet & rename some file files > > if it finds > > connectivity with the internet , & do nothing of it > > dont find connectivity > > with the internet ...is it possible with simple shell > > script ? or do i have > > to learn some scripting language for that ? > > CAN U HELP !!! :) > > Try something like this : > cut here - > #!/bin/sh > > connection=0 > ping -c 5 -t 6 some.host.on.the.internet && connection=1 Ping may be a bit unreliable at times. If you know the interface name you can probably get away by using ifconfig to short-cut through the checks. flags=$(ifconfig sis0 | grep '^sis0:' | \ sed -e 's/.*.*//' ) case $flags in *UP*) # interface is up, keep going ;; *) echo "sis0 interface is down." exit 1 ;; esac Replace sis0 with tun0 and you have something that works just fine for dialup PPP connections ;-) Just my USD $0.02. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problème d'installation de Freetype pour php4
Bonjour à tous, Je suis en train de migrer un serveur web de Debian vers FreeBSD (version 5.2.1) et a priori la version de php4 fournie n'est pas compilée avec le support de GD. Je me lance donc dans la compilation de php pour l'ajouter et là c'est le drame... J'ai bien récupérer toutes les sources nécessaires (zlib,freetype,libpng et gd) et tout c'est bien passé jusqu'à la compilation de Freetype. Il a fallu que j'installe makepp (sans probleme) puis j'ai modifié le fichier "configure" pour l'utiliser comme compilateur. La dessus un petit ./configure qui me donne: Loading makefile /usr/src/freetype-2.1.9/Makefile Loading makefile /usr/src/freetype-2.1.9/builds/amiga/makefile makepp: Entering directory `/usr/src/freetype-2.1.9' Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. FreeType build system -- automatic system detection The following settings are used: platformunix compilergcc configuration directory ./builds/unix configuration rules ./builds/unix/unix.mk If this does not correspond to your system or settings please remove the file `config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp ' again to build the library, or `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp refdoc' to build the API reference (the latter needs python). ** A priori déjà là il ya des erreurs dans le fichier Rule.pm Et le bouquet final lorsque je fais makepp: ** Loading makefile /usr/src/freetype-2.1.9/Makefile makepp: Entering directory `/usr/src/freetype-2.1.9' Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. ./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/src/freetype-2.1.9/objs -I./builds/unix -I/usr/src/freetype-2.1.9/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="" -oobjs/ftsystem.lo -obuilds/unix/ftsystem.c ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found libtool: compile: cannot determine name of library object from `' makepp: error (1), stopping now ** Donc voilà si quelqu'un voit ou est le problème ca m'aiderait bien :-) Cyril ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd-questions@freebsd.org
At 10:44 04/11/2004, you wrote: >Bonjour à tous, >Je suis en train de migrer un serveur web de Debian vers FreeBSD (version 5.2.1) et a >priori la version de php4 fournie n'est pas compilée avec le support de GD. >Je me lance donc dans la compilation de php pour l'ajouter et là c'est le drame... >J'ai bien récupérer toutes les sources nécessaires (zlib,freetype,libpng et gd) et >tout c'est bien passé jusqu'à la compilation de Freetype. Il a fallu que j'installe >makepp (sans probleme) puis j'ai modifié le fichier "configure" pour l'utiliser comme >compilateur. > >La dessus un petit ./configure qui me donne: "Hello," "I'm in the process of migrating a web server from Debian to FreeBSD (version 5.2.1) and the pre-compiled version of php4 that is supplied with was not compiled with support for GD. I threw myself at recompiling php4 in order to add it and there is drama... I downloaded all the necessary sources (zlib, freetype, libpng and gd) and all is well just to the point of compiling freetype. It was necessary that I install makepp (without problem), and then modified the file 'configure' in order to use it as the compiler. Below is a small ./configure that gives me:" > >Loading makefile /usr/src/freetype-2.1.9/Makefile >Loading makefile /usr/src/freetype-2.1.9/builds/amiga/makefile >makepp: Entering directory `/usr/src/freetype-2.1.9' >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. > >FreeType build system -- automatic system detection > >The following settings are used: > > platformunix > compilergcc > configuration directory ./builds/unix > configuration rules ./builds/unix/unix.mk > >If this does not correspond to your system or settings please remove the file >`config.mk' from this directory then read the INSTALL file for help. > >Otherwise, simply type `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp >' again to build the library, >or `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp >refdoc' to build the API reference (the latter needs python). >** >A priori déjà là il ya des erreurs dans le fichier Rule.pm > >Et le bouquet final lorsque je fais makepp: "So already there are errors in the supplied(*) file Rule.pm And the final boo-kay (of errors) as I call makepp:" (*) not the best translation of a priori, but hey. >** >Loading makefile /usr/src/freetype-2.1.9/Makefile >makepp: Entering directory `/usr/src/freetype-2.1.9' >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line >333. >./builds/unix/libtool --mode=compile gcc -pedantic -ansi >-I/usr/src/freetype-2.1.9/objs -I./builds/unix -I/usr/src/freetype-2.1.9/include -c >-Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON >-DFT_CONFIG_CONFIG_H="" -oobjs/ftsystem.lo -obuilds/unix/ftsystem.c >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >*** Warning: inferring the mode of operation is deprecated. >*** Future versions of Libtool will require -mode=MODE be specified. >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found >libtool: compile: cannot determine name of library object from `' >makepp: error (1), stopping now >** > >Donc voilà si quelqu'un voit ou est le problème ca m'aiderait bien :-) So if anyone can spot the problem, that'd help me out
[Q] Error in 'make buildworld'
Hello. I make cvsup 4.11.2004, RELENG_5_3. My make.conf: CFLAGS= -O3 -pipe NOPROFILE= true PERL_VER=5.8.5 PERL_VERSION=5.8.5 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo X_WINDOW_SYSTEM=xorg CUPS_OVERWRITE_BASE=yes NO_LPR=yes -- I have error 'make buildworld': -- -- skipped -- cc -fpic -DPIC -O3 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../ include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../ ../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/ lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DY P -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/net/res_init.c -o res_init.So In file included from /usr/src/lib/libc/net/res_debug.c:786: /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton': In file included from /usr/src/lib/libc/net/res_debug.c:786: /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton': In file included from /usr/src/lib/libc/net/res_debug.c:797: /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type In file included from /usr/src/lib/libc/net/res_debug.c:808: In file included from /usr/src/lib/libc/net/res_debug.c:797: /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type In file included from /usr/src/lib/libc/net/res_debug.c:808: /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of `precsize_aton' from incompatible pointer type *** Error code 1 *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error -- uname -a FreeBSD P-III.home.my 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 18 19:01:59 MSD 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/P-III i386 /usr/obj clean. Maybe i stipid... Any idea? Sy Anton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: no sound with snd_es137x
Ariff Abdullah <[EMAIL PROTECTED]> writes: > On 03 Nov 2004 14:51:20 + > Damien Chaumette <[EMAIL PROTECTED]> wrote: > > hi everyone, > > > > I am running 5.3-STABLE and have trouble with my Creative SB > > AudioPCI CT4730 soundcard. > > > > I tried to use sound and snd_es137x both as modules or as kernel > > parts but it doesn't change anything : there is no sound. > > [...] > > http://staff.mybsd.org.my/skywizard/FreeBSD/es137x.diff > > Patch your kernel, recompile, have fun. > > -- > > Ariff Abdullah Thanks dude I got my volume back ! Just to know, your patch was the old code removed ? Will you merge it ? Cheers -- Damien ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
smbfs and kldload
Hi, here is my (kind of) problem. At school, we are forced to backup our docs (e.g. java code and tex reports) on a windows server. So I always did it with smbclient. But now, I would love to do it with mount_smbfs, since I think it would be easier (read more pratical) But I compiled it statically (as I'm not sure it's the proper way to express it : it's not a module, it's in my kernel) Then, this happens : # mount_smbfs //[EMAIL PROTECTED]'s.server.samba/my_account /mnt/disque_u mount_smbfs: kldload(smbfs): File exists zsh: exit 71mount_smbfs //[EMAIL PROTECTED]'s.server.samba/my_account I looked at the man and at google, and did find people experiencing the same pb with vfsload instead of kldload, but no fix. So my question is : do I need to recompile a kernel w/o smbfs and then load it as a module, or is there another solution ? thx for reading this -- Grégory Nou ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Q] Error in 'make buildworld'
On Thursday 04 November 2004 03:18 am, Anton Kazak <[EMAIL PROTECTED]> wrote: > Hello. > I make cvsup 4.11.2004, RELENG_5_3. > My make.conf: > > CFLAGS= -O3 -pipe Maybe try with -O instead. Optimizations of -O2 and higher are not supported, and -O3 is known to fail. Also, are you running make -j4 buildworld? If so, try it without multiple processes (i.e., without the -j option). - jt > NOPROFILE= true > > PERL_VER=5.8.5 > PERL_VERSION=5.8.5 > PERL_ARCH=mach > NOPERL=yo > NO_PERL=yo > NO_PERL_WRAPPER=yo > > X_WINDOW_SYSTEM=xorg > > CUPS_OVERWRITE_BASE=yes > NO_LPR=yes > -- > > I have error 'make buildworld': > > -- > -- skipped -- > cc -fpic -DPIC -O3 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../ > include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE > -I/usr/src/lib/libc/../ > ../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE > -I/usr/src/ > lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN > -I/usr/src/lib/libc/rpc -DY > P -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c > /usr/src/lib/libc/net/res_init.c -o res_init.So > In file included from /usr/src/lib/libc/net/res_debug.c:786: > /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton': > In file included from /usr/src/lib/libc/net/res_debug.c:786: > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton': > In file included from /usr/src/lib/libc/net/res_debug.c:797: > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > In file included from /usr/src/lib/libc/net/res_debug.c:808: > In file included from /usr/src/lib/libc/net/res_debug.c:797: > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > In file included from /usr/src/lib/libc/net/res_debug.c:808: > /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of > `precsize_aton' > from incompatible pointer type > *** Error code 1 > *** Error code 1 > 2 errors > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > -- > > uname -a > FreeBSD P-III.home.my 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 18 > 19:01:59 MSD > 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/P-III i386 > > /usr/obj clean. > > Maybe i stipid... Any idea? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Multiple default gateway
Dear All, Is there any (future) release of FreeBSD concern about multiple default gateway ? Supposed i want to have load balancing and round robin connection in my FreeBSD firewall without routing daemon. regards reza ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problème d'installation de Freetype pour php4
Hello Cyril, as I think that there are many people out there able to help you solving your problem, but not speaking French, I added my (surely not perfect) translation to your message: Bonjour à tous, Je suis en train de migrer un serveur web de Debian vers FreeBSD (version 5.2.1) et a priori la version de php4 fournie n'est pas compilée avec le support de GD. Je me lance donc dans la compilation de php pour l'ajouter et là c'est le drame... J'ai bien récupérer toutes les sources nécessaires (zlib,freetype,libpng et gd) et tout c'est bien passé jusqu'à la compilation de Freetype. Il a fallu que j'installe makepp (sans probleme) puis j'ai modifié le fichier "configure" pour l'utiliser comme compilateur. Hello everyone, I am about to migrate a web server from debian to FreeBSD (version 5.2.1) and per default the shipped version of php4 is not compiled with GD support. Therefore I engaged in compiling php in order to add the feature. And that's where the trouble starts. I fetched all needed sources (zlib, freetype, libpng and gd) and all went well until the compilation of Freetype. I needed to install makepp (without any problem). Then I edited the "configure" file in order to use it as a compiler. [Est-ce que j'ai bien compris ce que tu voulais dire, Cyril?] La dessus un petit ./configure qui me donne: Following some of the output of ./configure: Loading makefile /usr/src/freetype-2.1.9/Makefile Loading makefile /usr/src/freetype-2.1.9/builds/amiga/makefile makepp: Entering directory `/usr/src/freetype-2.1.9' Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. FreeType build system -- automatic system detection The following settings are used: platformunix compilergcc configuration directory ./builds/unix configuration rules ./builds/unix/unix.mk If this does not correspond to your system or settings please remove the file `config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp ' again to build the library, or `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp refdoc' to build the API reference (the latter needs python). ** A priori déjà là il ya des erreurs dans le fichier Rule.pm At this point there are already errors in the file Rule.pm. Et le bouquet final lorsque je fais makepp: And when I do makepp it culminates in: ** Loading makefile /usr/src/freetype-2.1.9/Makefile makepp: Entering directory `/usr/src/freetype-2.1.9' Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333. ./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/src/freetype-2.1.9/objs -I./builds/unix -I/usr/src/freetype-2.1.9/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="" -oobjs/ftsystem.lo -obuilds/unix/ftsystem.c ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found ./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found libtool: compile: cannot determine name of library object from `' makepp: error (1), stopping now ** Donc voilà si quelqu'un voit ou est le problème ca m'aiderait bien :-) So, if som
Re: Multiple default gateway
> Is there any (future) release of FreeBSD concern about multiple default > gateway ? > Supposed i want to have load balancing and round robin connection in my > FreeBSD firewall without routing daemon. It can be done using ipfw, if you want to use only IPv4. An example is shown below. (Although it is not round robin connections.) # route add default GW1 # ipfw add prob 0.5 fwd GW2 ip from any to any out # ipfw add allow ip from any to any -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problème d'installation de Freetype pour php4
[Cyril Blaison, 2004-11-04] > > J'ai bien récupérer toutes les sources nécessaires (zlib,freetype,libpng et > > gd) et tout c'est bien passé jusqu'à la compilation de Freetype. Il a fallu > > que j'installe makepp (sans probleme) puis j'ai modifié le fichier > > "configure" pour l'utiliser comme compilateur. [Soenke Mueller, 2004-11-04] > I fetched all needed sources (zlib, freetype, libpng and gd) and all went > well until the compilation of Freetype. I needed to install makepp (without > any problem). Then I edited the "configure" file in order to use it as a > compiler. You don't need to fiddle with all that downloading of sources, patching and stuff in FreeBSD. Take a look at the ports-system, which does all that for you. After you've had a look at the ports(7) manpage, you probably would like to install the sysutils/portupgrade port. Then, all you need to do is: portinstall lang/php4 portinstall lang/php4-extensions The latter will let you choose which extensions to install. I did this for php5, but I guess the process of installing php4 would be quite similar. Svein Halvor___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ad0: WRITE command timeout...
Hello, After upgrading a computer from FreeBSD 4.8-something to 4.10-RELEASE-p3, I'm getting lots of the following: ad0: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done I cannot recall seeing these before. Would anyone know what this implies? It's still doing an installworld in single user mode, so I cannot post the disk make and model yet... And please CC me in your reply - I am not on the -questions list. Best regards, Are Bryne -- Communiqué DAOffice: +47 22 44 33 99 Postboks 9050 Grønland Mobile:+47 900 22 009 NO-0133 Oslo URL: http://www.communique.no___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ad0: WRITE command timeout...
Hello, After upgrading a computer from FreeBSD 4.8-something to 4.10-RELEASE-p3, I'm getting lots of the following: ad0: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done I cannot recall seeing these before. Would anyone know what this implies? It's still doing an installworld in single user mode, so I cannot post the disk make and model yet... And please CC me in your reply - I am not on the -questions list. Best regards, Are Bryne -- Communiqué DAOffice: +47 22 44 33 99 Postboks 9050 Grønland Mobile:+47 900 22 009 NO-0133 Oslo URL: http://www.communique.no___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pkg_create
When you do make install in a ports application /usr/ports/... Does it create a pkg in /var/db/pkg/... ? And do you use pkg_create like this pkg_create pkgname /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... Whats the difference between /var/db/pkg/... and /usr/ports/pakages/... ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
HomePNA SMC2821USB
Hello, Anyone tested this SMC adapter under FreeBSD? If not, could you give me some ideea to make it work? Regards, Claudiu C. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ad0: WRITE command timeout...
On Thu, 4 Nov 2004 14:10:42 +0100 (CET), Are Bryne <[EMAIL PROTECTED]> wrote: > > > Hello, > > After upgrading a computer from FreeBSD 4.8-something to 4.10-RELEASE-p3, > I'm getting lots of the following: > > ad0: WRITE command timeout tag=0 serv=0 - resetting > ata0: resetting devices .. done > Hi, Seen this once before and in my case it was a faulty hard drive cable. Check to see whether your cable is not loose or incorrectly inserted and perhaps try a new one. It may also be caused by an incorrect DMA setting if memory serves me correct. Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is UDP header compression (RFC 2508) supported in FreeBSD
On Thu, Nov 04, 2004 at 11:26:42AM +0100, Jan Knoppers wrote: > > >> Look at the Authors of that RFC. > >> > >> Compare it with this statement in ppp(8): > >> > >> vjcomp > >> Default: Enabled and Accepted. This option determines if > >> Van > >> Jacobson header compression will be used. > > My understanding is that this vjcomp statement relates to TCP/IP header > compression only as described in RFC 1144 (Jacobson, V., "TCP/IP Compression > for Low-Speed Serial Links", February 1990). This RFC explicitly excludes > UDP/IP header compression. RFC 2508 is intended to fill this gap. > > So, you may very well be right, and I hope you do, but I do not see it > documented. Good point. Looking at /usr/src/usr.sbin/ppp/vjcomp.c it does appear to only affect the headers. Probably your best bet would be to ask the last committer to work on that code directly -- see the README.changes file in that directory. That's the usermode PPP implementation, but the alternative kernel mode pppd(8) doesn't appear to have had much work done on it for some time. That's just VJ header compression too. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpj00zAlXojK.pgp Description: PGP signature
Re: pkg_create
On Thu, Nov 04, 2004 at 02:17:55PM +0100, Gert Cuykens wrote: > When you do make install in a ports application /usr/ports/... > Does it create a pkg in /var/db/pkg/... ? No. The stuff that gets stored in /var/db/pkg is *part* of what's required to make a package -- given that, and an installed port you can use # pkg_create -b pkg-name to generate a complete package. The contents of /var/db/pkg serve to document all of the files belonging to the package, their checksums, various scripts used to install or deinstall the package, what the package depends on, etc. > And do you use pkg_create like this pkg_create pkgname > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... > > Whats the difference between /var/db/pkg/... and /usr/ports/pakages/... ? No -- you shouldn't output anything to /var/db/pkg, except for what pkg_add(1) etc. produce automatically. Packages you create for later installation elsewhere can be profitably saved under /usr/ports/packages which lets other package management tools find them automatically. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpEvhe3HkDo9.pgp Description: PGP signature
Re: What is common practice on starting Tomcat on serverstartup?
Joachim Dagerot <[EMAIL PROTECTED]> writes: > When during startup is it good to start Tomcat 5.*, and do anyone have > any example scripts that can be of use? > > This is probably very common knowledge, because I can't find anything > useful Googeling around. The port seems to be able to do that for you. Also note that there's a whole article in the FreeBSD documentation collection covering use of Tomcat. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
traceroute: sendto: Permission denied (4.10-RELEASE)
Hello -questions: Lately (since a few days ago) I've been getting an oddity from traceroute, for example: traceroute to www.freebsd.org (216.136.204.117), 64 hops max, 44 byte packets traceroute: sendto: Permission denied 1 traceroute: wrote www.freebsd.org 44 chars, ret=-1 *traceroute: sendto: Permission denied traceroute: wrote www.freebsd.org 44 chars, ret=-1 * 10.108.0.1 (10.108.0.1) 7.212 ms [other hops that look just fine] 13 www.freebsd.org (216.136.204.117) 94.209 ms 87.449 ms 89.103 ms OS is 4.10-RELEASE, built from source acquired via cvsup. I get that "Permission denied" at the beginning regardless of where I might try tracing "outside" (external interface - dc0) e.g. it works just fine to my local net (local interface - dc1). Up until a few days ago, traceroute "worked fine" and never (as far as I recall) reported such a message. Btw, that 10.108.0.1 hop has been there for ages, and while I think it's "unusual" it has been there for ages & hasn't previously affected traces. The difference between previous & now is that "traceroute: sendto: Permission denied" message What does that mean? What is traceroute trying to do? I tried the "tracert" from a local (NATed) Win2k machine & that seems to work as it always has. {shrug} Any idea(s) what's (not) happening? Is my upstream connection blocking something (again)? Is there some kind of workaround/fix (perhaps my firewall config)? Thanks, -kc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Gnome Lite
Dear Friends : I finally installed my 5.2.1 version, I'm trying to solve some problems and, would like to know if someone could help me. I choose Gnome for my Desktop, but it's a lite version and, would like to know, if there is a way to download a new one to "correct" this ? And, if possible , is there a way to intall "package by package" ? I thought in download it , save into a CD and install. I'm having problems with my network (DHCP) but, slowly I'm better understanding this "new system", for me and, in the near future, I hope that all it OK. Also, I would like to talk with another people that English is not your native language, cause I'm a little surprised after I installed, my Gnome or KDE, without brazilian portuguese support. Is it a problem with the lite versions or a lack of support to another languages ? Thank you, for help me. Sincerely, Newton - Brazil ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Tools for program testing?
Hi, to the experienced developers out there, I would like to know if there are any tools that help in testing/debugging a program? To be specific, what I need to know is which lines of the code have been tested and which have not. AFAIK, gdb is the standard tool for debugging and I am using it. I heard that gprof is good for profiling where we can find which functions have been called. Any other related tools recommendations? Thanks. --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ Have you had your apple today? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using extra patches with the ports collection and qmail-mysql - Found Solution
For anyone else wondering here is how the problem was solved. put the patch (name doesn't matter it just does them in alphabetical order into the /work/qmail-1.03 directory. Did a make patch, which resulted in an error but after editing the Makefile the compile worked fine. Thanks everyone for suggestions On Fri, 29 Oct 2004 15:44:28 -0500, CHris Rich <[EMAIL PROTECTED]> wrote: > Ah I love this mailing listthanks for the suggestions will try > them as soon as possible. > > > > > On Fri, 29 Oct 2004 12:35:32 -0700, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Fri, Oct 29, 2004 at 01:29:43PM -0600, Danny MacMillan wrote: > > > > > Disclaimer: This could all be complete nonsense, and probably is. > > > > Looks right to me.. > > > > Kris > > > > > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_create
On Thu, 4 Nov 2004 13:52:11 +, Matthew Seaman <[EMAIL PROTECTED]> wrote: > On Thu, Nov 04, 2004 at 02:17:55PM +0100, Gert Cuykens wrote: > > When you do make install in a ports application /usr/ports/... > > Does it create a pkg in /var/db/pkg/... ? > > No. The stuff that gets stored in /var/db/pkg is *part* of what's > required to make a package -- given that, and an installed port you can use > ># pkg_create -b pkg-name > > to generate a complete package. The contents of /var/db/pkg serve to > document all of the files belonging to the package, their checksums, > various scripts used to install or deinstall the package, what the > package depends on, etc. > > > And do you use pkg_create like this pkg_create pkgname > > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... > > > > Whats the difference between /var/db/pkg/... and /usr/ports/pakages/... ? > > No -- you shouldn't output anything to /var/db/pkg, except for what > pkg_add(1) etc. produce automatically. Packages you create for later > installation elsewhere can be profitably saved under > /usr/ports/packages which lets other package management tools find > them automatically. > >Cheers, > >Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK > So a complete pakage is /var/db/pkg/... and /usr/ports/distfiles/... put together with pkg_create in /usr/ports/pakages/... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_create
On Thursday 04 November 2004 07:17 am, Gert Cuykens wrote: > When you do make install in a ports application /usr/ports/... > Does it create a pkg in /var/db/pkg/... ? > > And do you use pkg_create like this pkg_create pkgname > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... > > Whats the difference between /var/db/pkg/... and > /usr/ports/pakages/... ? > ___ Gert, Are you trying to create a package you can reinstall or move to another system? If this is the case, there are several ways it can be done. Two that I use are: make package or make make install make package or make install make package or make && make install && make package It can also be done from portupgrade. If you want to make a package while upgradeing a port: portupgrade -p "portname" I would also like to add, some ports are marked as not building a package, for licensing reasons and other reasons. If you have /usr/ports/packages, packages will be put there, otherwise they'll get put in the port. Don -- Donald J. O'Neill [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Is UDP header compression (RFC 2508) supported in FreeBSD
>> Good point. Looking at /usr/src/usr.sbin/ppp/vjcomp.c it does appear >> to only affect the headers. My point is not so much that only headers compression is affected, but that only TCP headers are affected. What I need is UPD (actually IP/UDP/RTP) header compression. The file you mention also seems to deal with TCP/IP header compression only. Best regards, Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem with XFree86-Libraries
k <[EMAIL PROTECTED]> writes: > When i try to install XFree86-Libraries-4.4.0_2 it gives me this error: > cp: /usr/X11R6/lib/X11/config/date.def: No such file or directory > *** Error Code 1 > > i'm running Freebsd-4.10 imake should have installed that file first. Sounds like you have problems with your imake installation; try reinstalling imake... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ad0: WRITE command timeout...
On Thu, 4 Nov 2004, Nelis Lamprecht wrote: > On Thu, 4 Nov 2004 14:10:42 +0100 (CET), Are Bryne wrote: > >> After upgrading a computer from FreeBSD 4.8-something to >> 4.10-RELEASE-p3, I'm getting lots of the following: >> >> ad0: WRITE command timeout tag=0 serv=0 - resetting >> ata0: resetting devices .. done > > Seen this once before and in my case it was a faulty hard drive > cable. [...] It may also be caused by an incorrect DMA setting if > memory serves me correct. I've seen these come as symptoms of a worn-out drive. Evidently that's not the only possible cause, but if I were you, I'd back up my stuff as soon as possible. Cheers, -Jan Christian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gprof
Rong-En Fan <[EMAIL PROTECTED]> writes: > few questions about usr.bin/gprof > > 1. is this one from the old BSD, right? Yes. > 2. why not have a devel/gprof port for GNU's gprof? No reason not to. Feel free to submit it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: printing over the internet
Searching the internet, I found that lpd uses port 515 and Internet Printing uses port 631. Do I have to install anything special to enable Internet Printing? I currently use apsfilter to configure my Okidata B4350 (with postscript upgrade). Is port 515 for local printing only? If I have my router forward port 515 and add a '+' to /etc/hosts.lpd, should print serving work over the internet without the Internet Printing protocol? Thanks, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_create
On Thu, 4 Nov 2004 09:16:53 -0600, Donald J. O'Neill <[EMAIL PROTECTED]> wrote: > On Thursday 04 November 2004 07:17 am, Gert Cuykens wrote: > > > > When you do make install in a ports application /usr/ports/... > > Does it create a pkg in /var/db/pkg/... ? > > > > And do you use pkg_create like this pkg_create pkgname > > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... > > > > Whats the difference between /var/db/pkg/... and > > /usr/ports/pakages/... ? > > ___ > > Gert, > > Are you trying to create a package you can reinstall or move to > another system? > > If this is the case, there are several ways it can be done. Two that > I use are: > make package > or > make > make install > make package > or > make install > make package > or > make && make install && make package > > It can also be done from portupgrade. If you want to make a package > while upgradeing a port: > portupgrade -p "portname" > > I would also like to add, some ports are marked as not building a > package, for licensing reasons and other reasons. > > If you have /usr/ports/packages, packages will be put there, > otherwise they'll get put in the port. > > Don > > -- > Donald J. O'Neill > [EMAIL PROTECTED] > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > no i just wanted to understand how the pkg_create works and if the following statemant was true "So a complete pakage is /var/db/pkg/... and /usr/ports/distfiles/... put together with pkg_create in /usr/ports/pakages/..." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: external hard drive
I re-installed the system last night. Weather was bad and I decided to close work down early. I got to thinking about it, and simply did a search for "da*" in the device directory. It came up with "da0" and "da0s1". "da0" produces errors. "da0s1" loaded my Buslink external HD fine. Problem solved for that drive. The small drive enclosure is a different matter The computer lights the power light up on the case, and causes the drive to make that ticking noise. But if I do a hotplug, I don't get any notices the way that I do with the Buslink HD. I'm beginning to think that I may have been mistaken about FreeBSD seeing this drive last spring. It doesn't appear to see it now. Or, else it sees it as something different. Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ad0: WRITE command timeout...
On Thu, 4 Nov 2004, Nelis Lamprecht wrote: On Thu, 4 Nov 2004 14:10:42 +0100 (CET), Are Bryne <[EMAIL PROTECTED]> wrote: [...] After upgrading a computer from FreeBSD 4.8-something to 4.10-RELEASE-p3, I'm getting lots of the following: ad0: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done The disk in question is a FUJITSU MPC3043AT/6018 using ATA/ATAPI rev 3 according to atacontrol. It is master on its controller and uses UDMA33 transfers, and has an idle PIO4 cd-rom player as a slave. The controller is identified in dmesg as: atapci0: port 0xe000-0xe00f at device 7.1 on pci0 [...] Hi, Seen this once before and in my case it was a faulty hard drive cable. Check to see whether your cable is not loose or incorrectly inserted and perhaps try a new one. Thank you - I will check that. It may also be caused by an incorrect DMA setting if memory serves me correct. I might try turning DMA off to see if that helps... Nelis Again, please CC me to make sure I see the whole thread. Regards, Are Bryne -- Communiqué DAOffice: +47 22 44 33 99 Postboks 9050 Grønland Mobile:+47 900 22 009 NO-0133 Oslo URL: http://www.communique.no___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: traceroute: sendto: Permission denied (4.10-RELEASE)
Kenneth W Cochran wrote: Hello -questions: Lately (since a few days ago) I've been getting an oddity from traceroute, for example: traceroute to www.freebsd.org (216.136.204.117), 64 hops max, 44 byte packets traceroute: sendto: Permission denied 1 traceroute: wrote www.freebsd.org 44 chars, ret=-1 *traceroute: sendto: Permission denied traceroute: wrote www.freebsd.org 44 chars, ret=-1 * 10.108.0.1 (10.108.0.1) 7.212 ms [other hops that look just fine] 13 www.freebsd.org (216.136.204.117) 94.209 ms 87.449 ms 89.103 ms OS is 4.10-RELEASE, built from source acquired via cvsup. I get that "Permission denied" at the beginning regardless of where I might try tracing "outside" (external interface - dc0) e.g. it works just fine to my local net (local interface - dc1). Up until a few days ago, traceroute "worked fine" and never (as far as I recall) reported such a message. Btw, that 10.108.0.1 hop has been there for ages, and while I think it's "unusual" it has been there for ages & hasn't previously affected traces. The difference between previous & now is that "traceroute: sendto: Permission denied" message What does that mean? What is traceroute trying to do? I tried the "tracert" from a local (NATed) Win2k machine & that seems to work as it always has. {shrug} Any idea(s) what's (not) happening? Is my upstream connection blocking something (again)? Is there some kind of workaround/fix (perhaps my firewall config)? Thanks, -kc In my limited experience, this is almost certainly a misconfiguration of the firewall ... (assuming, of course, that you wish the firewall to permit the use of traceroute) KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Naming confusion
Here's a new thread. Naming the computer host? I'm confused by this. As I understand it, I get a different DNS assignment every time that I hook into the Internet from a different location. Yet FBSD seems to want a permanent assignment which I would normally get from my ISP. I don't have a permanent ISP. I mainly use 2 services at locations all across the USA. Normally I simply assign a name to the computer, but it appears that FBSD wants a complete Internet address. This appears to me to be a conflict. I think that I read in "The Complete FreeBSD, 4th Edition" where there are some addresses to use if the computer will never be hooked into the Internet. But that is not the case here. Any ideas or help here? -- Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Naming confusion
> > Here's a new thread. > Naming the computer host? > > I'm confused by this. As I understand it, I get a different DNS > assignment every time that I hook into the Internet from a different > location. Yet FBSD seems to want a permanent assignment which I would > normally get from my ISP. I don't have a permanent ISP. I mainly use 2 > services at locations all across the USA. Normally I simply assign a > name to the computer, but it appears that FBSD wants a complete Internet > address. Check out DHCP. Once you have read up on that, see if you have further questions. Good luck, jerry > > This appears to me to be a conflict. I think that I read in "The > Complete FreeBSD, 4th Edition" where there are some addresses to use if > the computer will never be hooked into the Internet. But that is not the > case here. > > Any ideas or help here? > > -- > > Lloyd Hayes > > Email: [EMAIL PROTECTED] > URL: http://TalkingStaff.bravehost.com > E-FAX Number: (208) 248-6590 > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to check if one can install Net::LDAP via the ports
I ran the following command from /usr/ports mx1# make search key="net::ldap" Port: p5-ResourcePool-Resource-Net-LDAP-1.0002 Path: /usr/ports/net/p5-ResourcePool-Resource-Net-LDAP Info: A ResourcePool wrapper for Net::LDAP Maint: [EMAIL PROTECTED] B-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 R-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 But, I do not think this is what I am looking for - referencing: http://www-personal.umich.edu/~malth/gaptuning/postfix/ Anyway, what's the best way to search for a Perl module in the ports, such as Net::LDAP, and if I can't find it, what would Plan B, be? Thank you, ...D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to check if one can install Net::LDAP via the ports
In the last episode (Nov 04), Danny said: > I ran the following command from /usr/ports > > mx1# make search key="net::ldap" > Port: p5-ResourcePool-Resource-Net-LDAP-1.0002 > Path: /usr/ports/net/p5-ResourcePool-Resource-Net-LDAP > Info: A ResourcePool wrapper for Net::LDAP > Maint: [EMAIL PROTECTED] > B-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 > p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 > p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 > p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 > R-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 > p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 > p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 > p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 > > But, I do not think this is what I am looking for - referencing: > http://www-personal.umich.edu/~malth/gaptuning/postfix/ It looks like net/p5-perl-ldap is what you want; at least the manpages it installs say Net::LDAP in them. The COMMENT line for that port probably have Net::LDAP in it so "make search" can find it. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Grub and FreeBSD
Hello, I'm trying to get Grub running on 5.3-rc2 but I keep getting Error 29: Disk write error. I'm trying to install it directly to the MBR. I can't use the floppy method because there is one. I can use the FreeBSD loader but I'd like to use grub. This is the only OS on the laptop. If anyone has any suggestions I'd appreciate it. My fstab looks like this... bash-2.05b$ cat /etc/fstab # DeviceMountpoint FStype Options DumpPass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw 2 2 /dev/ad0s1d /varufs rw 2 2 /dev/cd0/cdrom cd9660 ro,noauto 0 0 This is the contents of /boot/grub... bash-2.05b$ ls /boot/grub/ device.mapfat_stage1_5 iso9660_stage1_5 menu.lst reiserfs_stage1_5 stage2vstafs_stage1_5 e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 minix_stage1_5stage1 ufs2_stage1_5 xfs_stage1_5 bash-2.05b$ This is what I entered in the Grub CLI.. bash-2.05b$ grub grub GNU GRUB version 0.95 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0,0, Possible partitions are: Partition num: 0, [BSD sub-partitions immediately follow] BSD Partition num: 'a', Filesystem type is ufs2, partition type 0xa5 BSD Partition num: 'b', Filesystem type unknown, partition type 0xa5 BSD Partition num: 'd', Filesystem type is ufs2, partition type 0xa5 BSD Partition num: 'e', Filesystem type is ufs2, partition type 0xa5 BSD Partition num: 'f', Filesystem type is ufs2, partition type 0xa5 grub> root (hd0,0,a) Filesystem type is ufs2, partition type 0xa5 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/ufs2_stage1_5" exists... yes Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... failed (this is not fatal) Running "embed /boot/grub/ufs2_stage1_5 (hd0,0,a)"... failed (this is not fatal) Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed Error 29: Disk write error grub> quit This e-mail message, including any attachment(s), is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and/or confidential. Lightship Telecom / www.lightship.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to check if one can install Net::LDAP via the ports
On Thu, Nov 04, 2004 at 12:11:56PM -0500, Danny wrote: > I ran the following command from /usr/ports > > mx1# make search key="net::ldap" > Port: p5-ResourcePool-Resource-Net-LDAP-1.0002 > Path: /usr/ports/net/p5-ResourcePool-Resource-Net-LDAP > Info: A ResourcePool wrapper for Net::LDAP > Maint: [EMAIL PROTECTED] > B-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 > p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 > p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 > p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 > R-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 > p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 > p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 > p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 > > But, I do not think this is what I am looking for - referencing: > http://www-personal.umich.edu/~malth/gaptuning/postfix/ > > Anyway, what's the best way to search for a Perl module in the ports, > such as Net::LDAP, and if I can't find it, what would Plan B, be? The convention is that a perl module Foo::Bar when turned into a port, is called p5-Foo-Bar. This applies to the vast majority of perl module ports: however there are some, largely historical exceptions (and those usually don't obey the standard module naming conventions on CPAN either). Examples of exceptions are: www/p5-libwww, biology/p5-bioperl, p5-Nysql-modules and various other p5-lib ports. On the specific question of Net::LDAP, the port you want is one of the exceptions: net/p5-perl-ldap. I found that but doing: % make search name=ldap which turned up a couple of likely suspects. A quick check of the pkg-plist confirmed that it was the right module: % less /usr/ports/net/p5-perl-ldap/pkg-plist Looking at the pkg-plist and pkg-descr file is usually enough to tell you what you need to know when looking for the appropriate port. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpI7BdjuGRcW.pgp Description: PGP signature
sane-plustek backend does not work
Hello! I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". it is USB scanner. so, I compile kernel with # USB support device uhci# UHCI PCI->USB interface device ohci# OHCI PCI->USB interface device usb # USB Bus (required) device ugen# Generic device uhid# "Human Interface Devices" device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner# Scanners after that I compile sane-backend port Now, when I attach the scanner I can see: # dmesg|tail ugen0: Canon CanoScan, rev 1.10/1.00, addr 2 ==> success, thinking I. # sane-find-scanner -q found USB scanner (vendor=0x04a9, product=0x220e) at libusb:/dev/usb2:/dev/ugen0 ==> success, thinking I. ==> moreover, in man sane-plustek we can read thet Canon has ==> vendor code 0x04a9, and LIDE 30 has product id 0x220e. Right! # vim /usr/local/etc/sane.d/plustek.conf ==> In this file I comment all and write: ==> [usb] 0x04a9 0x220e ==> devices /dev/ugen0 # scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). ==> Oops! All of my efforts to edit /usr/local/etc/sane.d/plustek.conf, does not lead success. -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Grub and FreeBSD
In the last episode (Nov 04), Briggaman, Jason said: > I'm trying to get Grub running on 5.3-rc2 but I keep getting Error > 29: Disk write error. I'm trying to install it directly to the MBR. I > can't use the floppy method because there is one. I can use the > FreeBSD loader but I'd like to use grub. This is the only OS on the > laptop. If anyone has any suggestions I'd appreciate it. I always make a grub boot disk, then install onto the hard drive from that. I don't trust the userland grub CLI to get my devicenames right. But if you have only one OS, there's no need for grub at all.. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kernel: Limiting open port RST
I am getting a tremendous amount of messages on a particular server saying something close to: kernel: Limiting open port RST response from 302 to 200 packets/sec I understand the reasons for the message, but I'm having a hard time tracking down a possible point source. Neither ethereal nor tcpdump seem to be picking up any packets with the TCP RST bit set. I have tried this, for example: # tcpdump 'tcp[tcpflags] & tcp-rst = 1' ... but get nothing. I have also tried adding a logging rule to ipfw, such as: # ipfw add allow log tcp from me to any tcpflags rst However, the logged results don't appear to be correct. Log messages do show up in /var/log/security, but at the rate of about 1 message every 4 or 5 seconds, which doesn't seem consistent with a rate limit of 200 packets/sec being implemented. Basically, I'm wanting to find out if the machine(s) causing this are coming from the internal network, or outside. And if coming from inside, which machine is flooding the server with bogus SYN requests to non-listening ports. TCP and UDP blackhole sysctls are also already setup, and it appears that the RST packets are being sent out to internet hosts with a dstport of 80. The machine being affected is running squid. Does anyone have advice on this? Thanks, Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49 pgp31ClWPpykK.pgp Description: PGP signature
Scrub Manufacturer
>Please disregard this message if incorrect. > We are> in the Manufacturing Business; we have been in business for over 25 years. Currently we have inventory on several scrub sets, styles, colors and sizes. >I am sending you my inventory along with a picture in order to avoid any misunderstandings. All material is made of 65/35 poly/cotton soft touch poplin, we can produce> endless quantities of different designs and prints and materials etc...if at all interested >please do not hesitate in calling for samples. If we can sell our product on your site also please contact me. Note: Suggested Retail Price $24.00/set, our wholesale $10.00/set, bulk orders are always negotiable > >Thank you for allowing me your time in reading this message. > >JSR Industries Inc. >Rick Navarro >V.P. Sales & Marketing [EMAIL PROTECTED] >(310) 523-9055 Ph. >(310) 523-9182 Fax <> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to check if one can install Net::LDAP via the ports
On Thu, 4 Nov 2004 17:30:37 +, Matthew Seaman <[EMAIL PROTECTED]> wrote: > The convention is that a perl module Foo::Bar when turned into a port, > is called p5-Foo-Bar. This applies to the vast majority of perl > module ports: however there are some, largely historical exceptions > (and those usually don't obey the standard module naming conventions > on CPAN either). Examples of exceptions are: www/p5-libwww, > biology/p5-bioperl, p5-Nysql-modules and various other p5-lib > ports. Useful information, thank you. > On the specific question of Net::LDAP, the port you want is one of the > exceptions: net/p5-perl-ldap. I found that but doing: > > % make search name=ldap > > which turned up a couple of likely suspects. A quick check of the > pkg-plist confirmed that it was the right module: > > % less /usr/ports/net/p5-perl-ldap/pkg-plist > > Looking at the pkg-plist and pkg-descr file is usually enough to tell > you what you need to know when looking for the appropriate port. Works for me. Case closed. Thank you Dan and Matthew. ...D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel: Limiting open port RST
On Nov 4, 2004, at 1:18 PM, Nathan Kinkade wrote: I am getting a tremendous amount of messages on a particular server saying something close to: kernel: Limiting open port RST response from 302 to 200 packets/sec This generally means the system is being portscanned. I understand the reasons for the message, but I'm having a hard time tracking down a possible point source. Neither ethereal nor tcpdump seem to be picking up any packets with the TCP RST bit set. I have tried this, for example: [ ... ] TCP and UDP blackhole sysctls are also already setup, and it appears that the RST packets are being sent out to internet hosts with a dstport of 80. The machine being affected is running squid. If you turn on the blackhole sysctls, then your machine will not generate RST packets. Caveat operator. :-) Does anyone have advice on this? If this machine is not supposed to be completely exposed on the 'net, consider putting it behind a firewall. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
connection problems with apache and mod_ssl
Hello, I've got the same problem on my apache server, could you say me if you have found a solution ? Best Regards Gaël JARRIAULT ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to check if one can install Net::LDAP via the ports
D> I ran the following command from /usr/ports D> mx1# make search key="net::ldap" D> Port: p5-ResourcePool-Resource-Net-LDAP-1.0002 D> Path: /usr/ports/net/p5-ResourcePool-Resource-Net-LDAP D> Info: A ResourcePool wrapper for Net::LDAP D> Maint: [EMAIL PROTECTED] D> B-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 D> p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 D> p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 D> p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 D> R-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 D> p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 D> p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 D> p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 D> But, I do not think this is what I am looking for - referencing: D> http://www-personal.umich.edu/~malth/gaptuning/postfix/ D> Anyway, what's the best way to search for a Perl module in the ports, D> such as Net::LDAP, and if I can't find it, what would Plan B, be? D> Thank you, D> ...D D> ___ D> [EMAIL PROTECTED] mailing list D> http://lists.freebsd.org/mailman/listinfo/freebsd-questions D> To unsubscribe, send any mail to "[EMAIL PROTECTED]" - "perl -MCPAN -e shell" this should open the CPAN shell you cann then install a module by typing "install Net::LDAP" this is served from memory. I would suggest that you read perl.org and cpan.org for more info on using the CPAN shell. (look at http://search.cpan.org/~andk/CPAN-1.76/lib/CPAN.pm) mfg Hexren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Gnome Lite
On Thu, 4 Nov 2004, Newton wrote: Dear Friends : I finally installed my 5.2.1 version, I'm trying to solve some problems and, would like to know if someone could help me. I choose Gnome for my Desktop, but it's a lite version and, would like to know, if there is a way to download a new one to "correct" this ? See the FreeBSD GNOME FAQ at http://www.freebsd.org/gnome/docs/faq2.html. There is a question specifically geared to upgrading from GNOME Lite to the full GNOME Desktop. And, if possible , is there a way to intall "package by package" ? Yes. The same FAQ talks about installing GNOME from packages from our Tinderbox. I thought in download it , save into a CD and install. I'm having problems with my network (DHCP) but, slowly I'm better understanding this "new system", for me and, in the near future, I hope that all it OK. Also, I would like to talk with another people that English is not your native language, cause I'm a little surprised after I installed, my Gnome or KDE, without brazilian portuguese support. Is it a problem with the lite versions or a lack of support to another languages ? Thank you, for help me. Sincerely, Newton - Brazil GNOME and GNOME Lite certainly support Brazilian Portuguese. Simply set your LANG environment variable to pt_BR.ISO8859-1, and start GNOME, and every app that has a Brazilian Portuguese translation will display it. I don't use KDE, but as I recall KDE is a bit different. You have to install the language bindings for your locale. Just install portuguese/kde3-i18n-pt_BR, and you should be set there (provided your LANG is correctly defined as mentioned above). Joe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" PGP Key : http://www.marcuscom.com/pgp.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cpdup How-to
Does anybody know of any tutorials or how-to's on using cpdup. So far I've only found very limited information on this port. Thanks in advance Bill Crenshaw - Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com/a ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS Question
Is there any way of knowing who is actively using NFS shares, or who has mounted partitions from it? -Dan -- Christ almighty... my EYES! They're melting! -Zaren, Efnet #macintosh, in response to: www.geocities.com/CollegePark/Classroom/1944 The WEBSITE DESIGN class that gave my fiancee a D. Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sane-plustek backend does not work
On Thu, Nov 04, 2004 at 08:30:23PM +0300, Eugene M. Minkovskii wrote: > Hello! > > I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". > it is USB scanner. Here's my setup for the LIDE 30: /usr/local/etc/sane.d/plustek.conf: --- # Plustek-SANE Backend configuration file # For use with LM9831/2/3 based USB scanners [usb] 0x04A9 0x220E option lampOff 120 option warmup 0 option lOffOnEnd 1 option posOffX 0 option posOffY 0 option tpaOffX 0 option tpaOffY 0 option negOffX 0 option negOffY 0 option posShadingY -1 option tpaShadingY -1 option negShadingY -1 option invertNegatives 0 option cacheCalData 0 option altCalibration 0 # for skipping whole calibration step option skipCalibration 1 option skipFine 0 option skipFineWhite 0 option red_gain -1 option green_gain -1 option blue_gain -1 option redGamma 1.0 option greenGamma 1.0 option blueGamma1.0 option grayGamma1.0 option enableTPA 0 device /dev/uscanner0 BEWARE: This file WILL be overridden if you reinstall or update sane-backends. Make a backup copy before doing that. The next step is to set the mode for /dev/uscanner0 correctly: /etc/devfs.conf: # ... among others set: permuscanner0 0666 = Then restart devfs after you plug in the LIDE 30: # /etc/rc.d/devfs stop # /etc/rc.d/devfs start That should be it. Cheers, cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to check if one can install Net::LDAP via the ports
Hexren wrote: D> I ran the following command from /usr/ports D> mx1# make search key="net::ldap" D> Port: p5-ResourcePool-Resource-Net-LDAP-1.0002 D> Path: /usr/ports/net/p5-ResourcePool-Resource-Net-LDAP D> Info: A ResourcePool wrapper for Net::LDAP D> Maint: [EMAIL PROTECTED] D> B-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 D> p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 D> p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 D> p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 D> R-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 D> p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 D> p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 D> p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 D> But, I do not think this is what I am looking for - referencing: D> http://www-personal.umich.edu/~malth/gaptuning/postfix/ D> Anyway, what's the best way to search for a Perl module in the ports, D> such as Net::LDAP, and if I can't find it, what would Plan B, be? D> Thank you, D> ...D D> ___ D> [EMAIL PROTECTED] mailing list D> http://lists.freebsd.org/mailman/listinfo/freebsd-questions D> To unsubscribe, send any mail to "[EMAIL PROTECTED]" - Are you sure its Net::LDAP? There is a ports/net/p5-perl-ldap port that looks promising. "perl -MCPAN -e shell" this should open the CPAN shell you cann then install a module by typing "install Net::LDAP" this is served from memory. I would suggest that you read perl.org and cpan.org for more info on using the CPAN shell. (look at http://search.cpan.org/~andk/CPAN-1.76/lib/CPAN.pm) mfg Hexren CPAN should only be used as a last resort in FreeBSD. This is why we have ports. Regards, Frank Laszlo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_create
On Thu, Nov 04, 2004 at 04:15:16PM +0100, Gert Cuykens wrote: > On Thu, 4 Nov 2004 13:52:11 +, Matthew Seaman > <[EMAIL PROTECTED]> wrote: > > On Thu, Nov 04, 2004 at 02:17:55PM +0100, Gert Cuykens wrote: > > > When you do make install in a ports application /usr/ports/... > > > Does it create a pkg in /var/db/pkg/... ? > > > > No. The stuff that gets stored in /var/db/pkg is *part* of what's > > required to make a package -- given that, and an installed port you can use > > > ># pkg_create -b pkg-name > > > > to generate a complete package. The contents of /var/db/pkg serve to > > document all of the files belonging to the package, their checksums, > > various scripts used to install or deinstall the package, what the > > package depends on, etc. > > > > > And do you use pkg_create like this pkg_create pkgname > > > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... > > > > > > Whats the difference between /var/db/pkg/... and /usr/ports/pakages/... ? > > > > No -- you shouldn't output anything to /var/db/pkg, except for what > > pkg_add(1) etc. produce automatically. Packages you create for later > > installation elsewhere can be profitably saved under > > /usr/ports/packages which lets other package management tools find > > them automatically. > > > >Cheers, > > > >Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > > Savill Way > > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > > Tel: +44 1628 476614 Bucks., SL7 1TH UK > > > > So a complete pakage is /var/db/pkg/... and /usr/ports/distfiles/... > put together with pkg_create in /usr/ports/pakages/... Not quite. There's a lot of compilation and stuff that has to happen first, and the contents of /var/db/pkg are derived from the pkg-plist file and several other sources from when the port was compiled and installed. The pkg-plist file, or the dynamic methods of generating it used in some ports provides the basis for the +CONTENTS file under /var/db/pkg/${PKGNAME}. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp5YlaCX2eOW.pgp Description: PGP signature
Re: CTM first time user needs your help
Mark Jayson Alvarez <[EMAIL PROTECTED]> writes: > Good day, >I have a workstation at office but I can only > access the internet through our proxy server. Someone > in this list have the same situation which was told to > use CTM. I'm currently using > 5.3RC1 and would want to keep in sync with the latest > sources of 5.3 and recompile my system. I already have > the sources and just want to update it. > > Upon reading the instructions I went to > > ftp.freebsd.org/pub/FreeBSD/CTM and found these > directories: > > cvs-cur > ports-cur > src3-cur > src4-cur > src5-cur > src-cur > > Here are what confuses me: > > 1. First, if I choose to enter the src5-cur directory > above, which file would I pick, the last/latest one > dated NOV 1? No, ALL of them (in order) since the date of your existing sources. > 2. What are those gzipped files and why are those > older files still exists? Each file is the difference from one day's source files to the next day's. > 3. Another thing is I can't really understand how the > CTM process works. Mind if you give me some brief > insight on how I will be able to get the latest > sources? I'm thinking perhaps its like the bittorrent > system wherein the torrent file contains the > information where to get the files. How about the CTM? Did you read the FreeBSD Handbook section on CTM? If so, what specifically do you not understand? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sane-plustek backend does not work
On Thu, Nov 04, 2004 at 08:34:38PM +0100, [EMAIL PROTECTED] wrote: " On Thu, Nov 04, 2004 at 08:30:23PM +0300, Eugene M. Minkovskii wrote: " > Hello! " > " > I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". " > it is USB scanner. " " Here's my setup for the LIDE 30: " " /usr/local/etc/sane.d/plustek.conf: " --- " " # Plustek-SANE Backend configuration file " # For use with LM9831/2/3 based USB scanners " " [usb] 0x04A9 0x220E " option lampOff 120 <.skiped.> " " device /dev/uscanner0 " " Thank's. All of instrucktions looks good, but when I do it it's breaks :(. I think may be I have wrong kernel? I have done static kernel with no modules. cat /etc/make.conf .. NO_MODULES=yes .. perhaps it may be important? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Question
In the last episode (Nov 04), Dan Mahoney, System Admin said: > Is there any way of knowing who is actively using NFS shares, or who > has mounted partitions from it? NFS is stateless so there's no need for the server to keep track of who has mounted a volume. The "showmount" command will print a list of machines the server thinks is accessing it, but the list may not be complete. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: blackbox, bbkeys, and .xinit... (solved) --> UNIX behind the scenes
Mike Hauber wrote: On Wednesday 03 November 2004 09:25 pm, Parv proclaimed: in message <[EMAIL PROTECTED]>, wrote Mike Hauber thusly... I discovered that with the line "blackbox & bbkeys" in the script, the bbscript remains when I exit blackbox, and I have to close bbscript to return to KDM. ... However, when I login and close bbkeys, then blackbox abruptly closes (apparently a clean kill), and I return to KDM. That's what you had asked for. Using '&' after a command, a shell executes the command in the background. Lack of '&' causes the command to be executed in the foreground. Try these two commands in a bourne-like shell (such as ash (FreeBSD sh), ksh93, bash2, bash3) ... sleep 15 && date & sleep 15 && date First of all, I get the syntax. However, I do _not_ understand the apparent dependence between the first and the second binary (if you don't know what I'm referring to, then please read the rest of my last email). In your situation, blackbox runs in the background & bbkeys in foreground. If you wanted to run bbkeys only if blackbox runs, then do AND operation ... blackbox && bbkeys Actually, no. If I were to put 'blackbox && bbkeys' in the script, then blackbox would appear, and then _after_ I exit blackbox bbkeys shows up on the KDM "root" background. Then when I close bbkeys, the KDM login window is restored. Vice-versa the other way around. Obviously, this is not what I'm after. I've found the solution (as indicated in my last email), but again, I don't understand the dependency that the second binary seems to have on the first (ie. close the second and the first disappears, but _not_ vice-versa). I haven't found the dependency documented anywhere, and therefore I don't understand _why_ it's the solution. ... optionally send the both commands in the background (say, if there are more commands to be run after the two commands)... blackbox && bbkeys & See also... - Get a good introductory Unix book - Man page for the shell which will execute your .xinit - Search "Google Groups" at http://groups.google.com/ ... + comp.unix.* newsgroups for "foreground background process OR command shell" search term + comp.unix.* & comp.windows.x newsgroups for "shell xinitrc OR xsession background" - Parv -- You're probably right. This is more a NIX question in general rather than a FreeBSD-specific question. I'll post it to another board. Thanks. Mike Greetings! Consider this: you start a shell script that in turn runs the two commands, right? If you do blackbox & bbkeys this puts blackbox in the background and runs bbkeys in the foreground. Now, if you close blackbox, bbkeys is still running, and thus the shellscript will also keep running (seeing as how the script is the parent process of bbkeys). On the other hand, if you do bbkeys & blackbox this will send bbkeys into the background and keep blackbox in the foreground. Now, when you exit blackbox, the shellscript will have reached the end of its execution (seeing as how all the children for which it has been told to wait have terminated) and will terminate. Being a child process of the script, bbkeys will also terminate as a result of this. I don't know if it's easier to see if I write it out as blacbox& bbkeys vs. bbkeys& blackbox Did this make things more clear? :-) -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Question
On Nov 4, 2004, at 2:32 PM, Dan Mahoney, System Admin wrote: Is there any way of knowing who is actively using NFS shares, or who has mounted partitions from it? Try "showmount -a". NFS is a stateless protocol, so the information may not be perfectly accurate... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to understand flock()
Ronald F. Guilmette wrote: Greetings friends, I wonder if someone would be kind enough to enlighten me about the semantics of the flock(2) function. I have RTFM'd, and I am sad to say that I am still rather mystified that flock() doesn't seem to do what it is documented as doing. (I am testing it on 4.10-RELEASE, by the way.) The short test program attached below illustrates the source of my abundant confusion. When I compile this program with -DUSE_FCNTL (thus forcing it to use fcntl(2) to implement exclusive file locking) and then execute it, the resulting behavior is exactly what I expect, i.e. the program prints the string "Temp file locked (1)", and then it pauses for 10 seconds, and then it prints "Temp file locked (2)". The delay time between the appearance of the two message indicates clearly that exclusive file locking is working as expected. When I compile this program WITHOUT the -DUSE_FCNTL option however (thus forcing the program to use flock() rather then fcntl() for file locking), there is no apparent delay between the printing of the first message and the printing of the second message. That is what has me mystified. Obviously, there is something (or maybe several things) about the actual semantics of flock(2) that I don't understand. I would appreciate it if someone would enlighten me about that. Regards, rfg P.S. My apologies in advance if you try to Cc: me directly on your reply to this posting, and if your response gets rejected by the local spam filters. It's nothing personal. Really. We just have about 2/5ths of the entire Internet blacklisted here due to past spamming incidents. I will look for replies also in the freebsd-general list archives, so if you prefer, you can just repl to the list. Thanks and hasta la vista. #include #include #include #include #include #include static void die (register char const *const fmt) { fprintf (stderr, fmt, strerror (errno)); fprintf (stderr, "\n"); exit (1); } static int lock_exclusive (register int const fd) { #if USE_FCNTL auto struct flock fl; fl.l_start = 0; fl.l_len = 0; fl.l_pid = 0; fl.l_type = F_WRLCK; fl.l_whence = SEEK_SET; return fcntl (fd, F_SETLKW, &fl); #else return flock (fd, LOCK_EX); #endif } int main (void) { static char template[] = "/tmp/temp.XX"; register int fd; fd = mkstemp (template); unlink (template); if (lock_exclusive (fd) == -1) die ("Error creating exclusive lock: %s"); fprintf (stderr, "Temp file locked (1)\n"); if (fork () == 0) { if (lock_exclusive (fd) == -1) die ("Error creating exclusive lock: %s"); fprintf (stderr, "Temp file locked (2)\n"); } sleep (10); close (fd); return 0; } Greetings! From the flock manpage: "...file descriptors duplicated through dup(2) or fork(2) do not result in multiple instances of a lock, but rather multiple references to the same lock." You're basically trying to place a lock you already hold, making the flock function return immediately (this is what I gather, anyhow). The fcntl function seems to operate slightly differently in this respect. This is the only explanation I can think of, others might think differently, though. -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Still heavy loading after mininest Opengl application windows
Dear all, there is still heavy loading when minniest window of OpenGL application,which includes in Xwindow(xorg). I am running Freebsd 5.3-RC2, X Window System Version 6.8.1. Does anybody got the same issue? and also I am not sure that is freebsd bugs, or Xorg bugs, or Xorg for freebsd. coz the issues didn't appears in Linux. -- Tommy Zhu <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Please help
Hi, I have a dell poweredge server with a Remote Access Card installed. I successfully installed FreeBSD 4.10 on this system and it works great. Unfortunately the RAC card does not accept input from a remote keyboard when there is not a local keyboard installed. I beleive this is because the kernel does not detect the keyboard and disables it and then switches the console to the serial device. My question is how do I force the keyboard to always be enabled? I am not positive where I would do this and what the flag would be. Perhaps atkdb=0x01 ??? Thank You very much ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: blackbox, bbkeys, and .xinit... (solved) --> UNIX behind the scenes
in message <[EMAIL PROTECTED]>, wrote Mike Hauber thusly... > > On Wednesday 03 November 2004 09:25 pm, Parv proclaimed: > > > > In your situation, blackbox runs in the background & bbkeys in > > foreground. If you wanted to run bbkeys only if blackbox runs, > > then do AND operation ... > > > > blackbox && bbkeys > > Actually, no. If I were to put 'blackbox && bbkeys' in the > script, then blackbox would appear, and then _after_ I exit > blackbox bbkeys shows up on the KDM "root" background. Oops; right you are! I should have seen the mistake of my ways from the "sleep 15 & date" example that i gave myself. Sorry to bother you. - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel: Limiting open port RST
On Thu, Nov 04, 2004 at 01:53:01PM -0500, Charles Swiger wrote: > On Nov 4, 2004, at 1:18 PM, Nathan Kinkade wrote: > >I am getting a tremendous amount of messages on a particular server > >saying something close to: > > > >kernel: Limiting open port RST response from 302 to 200 packets/sec > > This generally means the system is being portscanned. This is what I have suspected, and it doesn't bother me too much except for the fact that it has been happening since yesterday, which should rule out any simple portscan by a single host. Also, normal TCP-connect scans should never be able to get to the server through the firewall, except from inside our network, but the RST packets *seem* to be going to random Internet hosts. > If you turn on the blackhole sysctls, then your machine will not > generate RST packets. Caveat operator. :-) Yes, the blackhole sysctls are, and have been, on, which is part of the reason that I am baffled about the syslog messages. > >Does anyone have advice on this? > > If this machine is not supposed to be completely exposed on the 'net, > consider putting it behind a firewall. This machine is behind an ipfw firewall, and there is not a single rule that allow in-bound connections to this server. However, the firewall does allow all established connections through. Since this machine is running natd and squid it also has ipfw active. So when I add this rule: # ipfw add 350 allow log tcp from me to any tcpflags rst I get messages like the following in /var/log/security at the rate of about 1 every 4 or 5 seconds: kernel: ipfw: 350 Accept TCP :53505 65.216.123.144:80 out via xl0 kernel: ipfw: 350 Accept TCP :59624 66.244.221.7:80 out via xl0 kernel: ipfw: 350 Accept TCP :58126 219.129.216.116:80 out via xl0 kernel: ipfw: 350 Accept TCP :55069 207.68.167.254:80 out via xl0 kernel: ipfw: 350 Accept TCP :59656 65.77.211.156:80 out via xl0 I'm not sure I understand why the RST packets are begin sent to seemingly random Internet hosts, all to a dstport 80. So this just adds to the mystery of how any host is getting a SYN packet through to this machine through the firewall, and further why the blackhole sysctls are not causing the packets to be silently dropped. Has anyone seen something like this? This machine is running 5.2.1-RELEASE-p9. Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49 pgpkGyJRIxU88.pgp Description: PGP signature
Re: Is UDP header compression (RFC 2508) supported in FreeBSD
In a message dated 11/4/04 10:18:41 AM Eastern Standard Time, [EMAIL PROTECTED] writes: >> Good point. Looking at /usr/src/usr.sbin/ppp/vjcomp.c it does appear >> to only affect the headers. > >My point is not so much that only headers compression is affected, but that >only TCP headers are affected. What I need is UPD (actually IP/UDP/RTP) >header compression. RTP header compression is an entirely different animal. Its not (or at least shouldn't be) an Operating System issue. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question: how do I burn a UFS filesystem onto a CDROM
Murray Taylor <[EMAIL PROTECTED]> writes: > I wish to burn a CDROM that I can mount and show > people that "yes there really is readable data on it" > BUT I dont want it to be readable in a windows host. > > So I am thinking that instead of the usual mkisofs routine that > makes a cd9660 filestructure I would just burn a CDROM with > the data in a UFS structure... > > NB the actual cd burner is in a winblows laptop so I am > also thinking that I need to create an .iso image somehow > that I can burn in one pass on the burner pc, even though the > disk will not be accessible to that host once burnt. > > The question is : how ? > > I'm guessing that a way may be to create a vnode file system, > copy the data to it and then somehow make it into a burnable > disk image, but thats where the guessing runs out. That's just about right. The trick is that if you use a file-backed vn(4) device to build your UFS disk image, the backing file *is* the image that you want to burn to cdrom. [It's not an ISO file -- by definition, "ISO" files are ISO9660 format.] I was meaning to try it to give an exact recipe, but I haven't gotten around to it yet. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Q] Error in 'make buildworld'
On Thu, Nov 04, 2004 at 02:18:49PM +0300, Anton Kazak wrote: > Hello. > I make cvsup 4.11.2004, RELENG_5_3. > My make.conf: > > CFLAGS= -O3 -pipe Whoa there, cowboy! The make.conf documentation tells you not to do this, especially if you're going to report "errors" (the error is probably on your side of the keyboard :-) Kris pgpdEPaCQ93fE.pgp Description: PGP signature
FreeBSD 5.3 RC2 disk 1 ISO torrent available
This is more of an announcement than a question, but: In the past, I've noticed questions from people looking for ISO image file torrents for FreeBSD. To see if there really is a demand for this, I've set one up (only for FreeBSD 5.3RC2 i386 disk 1). You can download the torrent file from http://www.eng.ufl.edu/bobj/FreeBSD-5_3_RC2.torrent I'm using bnbt for the tracker and seeding it with ctorrent. For some reason it seems reluctant to seed to other copies of ctorrent, but works fine with other clients (e.g. qtorrent). When possible, I'll keep another seed up with a different client to try to make sure a usable seed is always up. I'll also try to upload a copy to http://www.suprnova.org to get it more exposure. - Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 RC2 disk 1 ISO torrent available
On Thu, Nov 04, 2004 at 06:07:57PM -0500, Bob Johnson wrote: > This is more of an announcement than a question, but: > > In the past, I've noticed questions from people looking for ISO image > file torrents for FreeBSD. To see if there really is a demand for this, > I've set one up (only for FreeBSD 5.3RC2 i386 disk 1). You can download > the torrent file from http://www.eng.ufl.edu/bobj/FreeBSD-5_3_RC2.torrent > > I'm using bnbt for the tracker and seeding it with ctorrent. For some > reason it seems reluctant to seed to other copies of ctorrent, but works > fine with other clients (e.g. qtorrent). When possible, I'll keep > another seed up with a different client to try to make sure a usable > seed is always up. > > I'll also try to upload a copy to http://www.suprnova.org to get it more > exposure. BTW, we're going to have 'official' torrents for the release this time. Thanks for doing this for rc2 though. Kris pgpFvjxvBhywk.pgp Description: PGP signature
Re: Naming confusion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lloyd Hayes wrote: | Here's a new thread. | Naming the computer host? | | I'm confused by this. As I understand it, I get a different DNS | assignment every time that I hook into the Internet from a different | location. Yet FBSD seems to want a permanent assignment which I would | normally get from my ISP. I don't have a permanent ISP. I mainly use 2 | services at locations all across the USA. Normally I simply assign a | name to the computer, but it appears that FBSD wants a complete Internet | address. | | This appears to me to be a conflict. I think that I read in "The | Complete FreeBSD, 4th Edition" where there are some addresses to use if | the computer will never be hooked into the Internet. But that is not the | case here. | | Any ideas or help here? | It doesn't matter what name you give the machine. Just add that name to /etc/hosts as the loop back address' lookup name. The only thing that could go wrong is if you us a name that is the same as another computer that you try to connect to. The system will resolve the name to be your computer and will connect to itself instead of the remote machine. - -- Jeremy Faulkner <[EMAIL PROTECTED]> -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBir8Zfb0Lle2MIEIRAh03AJsE1297tvKCWMKluvPTVht79h4FQgCeIn3y dudmmQEcDvvO8KmPsGSfT4A= =NMgA -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to understand flock()
In message <[EMAIL PROTECTED]>, you wrote: > From the flock manpage: > >"...file descriptors duplicated through dup(2) or fork(2) do not result >in multiple instances of a lock, but rather multiple references to the >same lock." > >You're basically trying to place a lock you already hold, making the >flock function return immediately (this is what I gather, anyhow). The >fcntl function seems to operate slightly differently in this respect. > >This is the only explanation I can think of, others might think >differently, though. Thank you. That seems to make sense, now that you have explained it for me. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sane-plustek backend does not work
On Thu, 4 Nov 2004, Eugene M. Minkovskii wrote: [edited...] I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". it is USB scanner. so, I compile kernel with # USB support device uscanner# Scanners after that I compile sane-backend port Now, when I attach the scanner I can see: # dmesg|tail ugen0: Canon CanoScan, rev 1.10/1.00, addr 2 ==> success, thinking I. ugen0 instead of uscanner0 means it is not seeing it as a scanner, just an unidentified USB device. 5.2.1 may not have had IDs for this scanner; see if /usr/src/sys/dev/usb/usbdevs.h contains this line (which will probably wrap when viewed): #define USB_PRODUCT_CANON_N1240U0x220e /* CanoScan N1240U */ If it does have that line, try a kernel recompile and reinstall again. Otherwise, maybe a cvsup to 5.3 is in order. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: traceroute: sendto: Permission denied (4.10-RELEASE)
Kevin D. Kinsey, DaleCo, S.P. wrote: > Kenneth W Cochran wrote: > >> Hello -questions: >> >> Lately (since a few days ago) I've been getting an oddity from >> traceroute, for example: >> >> traceroute to www.freebsd.org (216.136.204.117), 64 hops max, 44 byte >> packets >> traceroute: sendto: Permission denied >> 1 traceroute: wrote www.freebsd.org 44 chars, ret=-1 >> *traceroute: sendto: Permission denied >> traceroute: wrote www.freebsd.org 44 chars, ret=-1 >> * 10.108.0.1 (10.108.0.1) 7.212 ms >> >> [other hops that look just fine] -snip- > In my limited experience, this is almost certainly a misconfiguration > of the firewall ... (assuming, of course, that you wish the firewall to > permit the use of traceroute) > > KDK I used the following article to get traceroute working on my FreeBSD box (refer Page 3): http://www.onlamp.com/pub/a/bsd/2001/06/01/FreeBSD_Basics.html Also, because I was blocking outbound UDP, I had to enable a range of UDP ports. Traceroute's man page had the relevant range. I'm between installs and away from my notes at the moment so I can't give you the specifics, sorry. Hope that helps, Adrian. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adrian Waters [EMAIL PROTECTED] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Don't feed the (your word here): (was: Compatible NIC)
> > [EMAIL PROTECTED] writes: > > A member of the Gustapo said: > > This is offensive. get over it already. Nobody really cares anyway. > > > Its easy to dismiss people who ask hard questions as "trolls". Its > > a lot more difficult to answer the questions credibly. > > I don't think we should dignify your behaviour as a "troll". But > there's one thing you have in common with a troll: if we ignore you, > you will lose interest. I'd ask all other people on the list to take > any correspondence with our nameless one offline. Better would be no > correspondence at all. > > Greg Thats where you're wrong. I couldn't care less about you or the other 6 guys that pipe in with your whining time after time. Because somewhere there are people that want to read my comments, so that they can accept or reject them or at least consider that my experience has some value. Somewhere someone is reading my entire message, rather than just looking for a half sentence to attack out of context like yourself and the other bozos on here that waste just as much time as the people they criticize. The liberals have been ridiculing great men since the beginning of time, but they keep winning elections. No matter how true your words there will always be hecklers and fools. Dismissing them is easy, because they don't have anything useful to say themselves. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rc2, xorg and matrox g550 not working (please send me yourxorg.conf if your using a g550)
Hi, I install 5.3-rc2 and tried to install xorg. I've a 64mb agp matrox g550 graphic adapter. I'm loading the mga module through loader.conf. Here are my loaded modules: %kldstat Id Refs AddressSize Name 1 11 0xc040 5cdad0 kernel 21 0xc09ce000 57dc vesa.ko 31 0xc09d4000 16620mga.ko 4 14 0xc09eb000 537f0acpi.ko 51 0xc2885000 17000linux.ko X does not work when I launch with startx, I get a "no signal" error from my lcd screen. I have manually kill the server with "ctrl alt backspace". After killing the server, the following error appears: -- (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 5 00:26:58 2004 (==) Using config file: "/etc/X11/xorg.conf" (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0) xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" login: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" X connection to :0.0 broken (explicit kill or server shutdown). -- If I don't kill the server after a few seconds, I can't kill it anymore. I can't swith back to a console, as all my screens stay black. I checked the x11 driver direcotry and indeed there is no mga_hal.o in /usr/X11/lib/modules/drivers/ I googled a bit around and found that I may be I need to copy the original matrox linux drivers (mga_hal.o) to the directory (mentionned above). But it still doesn't work, now I get the following error: - (EE) MGA(0): MGAValidateMode from HALlib found the mode to be invalid. Error: 0xb1901112 (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found - Is someone running the g550? perhaps also in dual mode? If so, could you please send me your xorg.conf file? If you need more info, please tell me. Thx a lot Didier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: blackbox, bbkeys, and .xinit... (solved) --> UNIX behind the scenes
On Thursday 04 November 2004 03:43 pm, you proclaimed: > Mike Hauber wrote: > > On Wednesday 03 November 2004 09:25 pm, Parv proclaimed: > >>in message <[EMAIL PROTECTED]>, > >> wrote Mike Hauber thusly... > >> > >>>I discovered that with the line "blackbox & bbkeys" in > >>>the script, the bbscript remains when I exit blackbox, > >>>and I have to close bbscript to return to KDM. > >> > > Greetings! > > Consider this: you start a shell script that in turn runs > the two commands, right? If you do > > blackbox & bbkeys > > this puts blackbox in the background and runs bbkeys in > the foreground. Now, if you close blackbox, bbkeys is > still running, and thus the shellscript will also keep > running (seeing as how the script is the parent process > of bbkeys). > > On the other hand, if you do > > bbkeys & blackbox > > this will send bbkeys into the background and keep > blackbox in the foreground. Now, when you exit blackbox, > the shellscript will have reached the end of its > execution (seeing as how all the children for which it > has been told to wait have terminated) and will > terminate. Being a child process of the script, bbkeys > will also terminate as a result of this. > > I don't know if it's easier to see if I write it out as > > blacbox& > bbkeys > > vs. > > bbkeys& > blackbox > > Did this make things more clear? :-) Okay. I can understand where I was getting confused. I couldn't figure out why it seemed to work one way but not the other (just seemed weird). I now see the error of my own processes, and will return myself to the background. :) Thanks (Parv, Henry, and Henrik) for clearing this up. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
matrox, vesa and disapointing resolutions with vidcontrol, why?
I'm using a matrox g550 (agp with 64mb). i'm loading the vesa module at startup via loader.conf. I get very poor resolution in consoles with vidcontrol. I didn't compile the vga_width90 as I didn't want these resolutions. With module vesa loaded the only modes I'm able to set are: 0 (0x000) 0x0001 T 40x25 8x8 0xb8000 32k 32k 0x 32k 1 (0x001) 0x0001 T 40x25 8x8 0xb8000 32k 32k 0x 32k 2 (0x002) 0x0001 T 80x25 8x8 0xb8000 32k 32k 0x 32k 3 (0x003) 0x0001 T 80x25 8x8 0xb8000 32k 32k 0x 32k 19 (0x013) 0x0001 T 40x25 8x14 0xb8000 32k 32k 0x 32k 20 (0x014) 0x0001 T 40x25 8x14 0xb8000 32k 32k 0x 32k 21 (0x015) 0x0001 T 80x25 8x14 0xb8000 32k 32k 0x 32k 22 (0x016) 0x0001 T 80x25 8x14 0xb8000 32k 32k 0x 32k 23 (0x017) 0x0001 T 40x25 8x16 0xb8000 32k 32k 0x 32k 24 (0x018) 0x0001 T 80x25 8x16 0xb8000 32k 32k 0x 32k 30 (0x01e) 0x0001 T 80x50 8x8 0xb8000 32k 32k 0x 32k 32 (0x020) 0x0001 T 80x30 8x16 0xb8000 32k 32k 0x 32k 34 (0x022) 0x0001 T 80x60 8x8 0xb8000 32k 32k 0x 32k 112 (0x070) 0x T 80x43 8x8 0xb8000 32k 32k 0x 32k 113 (0x071) 0x0001 T 80x43 8x8 0xb8000 32k 32k 0x 32k 1) While googling I found users getting 132x60 for example, is that possible with a matrox card? 2) Which card for example support a 132x60 resolution? 3) Could you recommand me a dual-headed card (supported by xorg and freebsd) that also support console resolutions of 132x60? thanks a lot didier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MBONE Tunnel
I've recently become intrested in connecting to MBONE. I already have all the various video conferencing tools setup including mrouted on my router. I was able to do a local LAN conference, but now I'd like to try and connect to the real network. It appears that neither ISP that I use has MBONE available and I'll need to find a network to create a tunnel with. Where could I find a list of sites that I could connect to? Also, what exactly do I need to have open on my firewall for MBONE? A side question is how does a firewall affect sniffing programs like tcpdump? I've spent some time searching for information on mbone tunnels and schedule information and it looks like most pages aren't updated any newer than 1999, is mbone already dead? -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C pgpmcIaXufUQH.pgp Description: PGP signature
a little trouble with 5.2.1
hi there, Work Recently purchased a dell optiplex gx280. They come with a Broadcom NetXtreme 57xx Gigabit Controller and a 40g WD sata drive. When i installed 5.2.1 it complained that the disk geometey was incorrect(77504/16/63). I tried changing it to the correct (4863/255/63)setting by pressing (G) at the fdisk configuration screen, and the value 4863/255/63 was already entered in the pop up box. i saved it, and proceed with the rest of the install. At the network screen, it wasn't able to detect the network card. I was able to find that some people were able to get a 57xx working on their freebsd machine. There are a few other areas with "no driver attached" such as disply and audio, but i haven't looked into those of yet. After the installation completed i ran dmesg and the disk geometry didn't change to the new settings. Did i do something wrong with that? Can anyone point me in the right direction on how to get this sorted? Any reccomendations would be great. my thanks ams ps: if you can cc me when responding id appreciate it as im not on the list. - Find local movie times and trailers on Yahoo! Movies. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a little trouble with 5.2.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 eodyna wrote: | hi there, | | Work Recently purchased a dell optiplex gx280. They come with a Broadcom NetXtreme 57xx Gigabit Controller and a 40g WD sata drive. When i installed 5.2.1 it complained that the disk geometey was incorrect(77504/16/63). I tried changing it to the correct (4863/255/63)setting by pressing (G) at the fdisk configuration screen, and the value 4863/255/63 was already entered in the pop up box. i saved it, and proceed with the rest of the install. At the network screen, it wasn't able to detect the network card. I was able to find that some people were able to get a 57xx working on their freebsd machine. | There are a few other areas with "no driver attached" such as disply and audio, but i haven't looked into those of yet. | After the installation completed i ran dmesg and the disk geometry didn't change to the new settings. Did i do something wrong with that? | | Can anyone pointack the me in the right direction on how to get this sorted? Any reccomendations would be great. I just bought a GX280, and installed 5.3-RC on it. It works great once you get passed the USB keyboard problem (see posts on freebsd-current@). ~ The bge network interface works great. I don't think the PCI IDs were added into 5.2.1, so you'll either have to backport the 5.3 bge driver, or just go with 5.3. Joe | | my thanks | ams | | ps: if you can cc me when responding id appreciate it as im not on the list. | | | | - | Find local movie times and trailers on Yahoo! Movies. | ___ | [EMAIL PROTECTED] mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to "[EMAIL PROTECTED]" | - -- PGP Key : http://www.marcuscom.com/pgp.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBivWhb2iPiv4Uz4cRAp4rAJ9GStMmsTu82ChT2MntobGFRTPq7QCfdgVy vyhiwdJoEuX0a+11gvSkDzM= =5yPy -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OOT:kontes antar produk PC
Dear all denger kabar ada kontes benchmark pc yg ada di indonesia ( compaq,relion dll) di itb selama seminggu dgn 2 os ( linux dan microsoft ) kira kira ada yg nonton ndak atau kasih progres report . thx = SONJAYA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a little trouble with 5.2.1
Hi Joe, thanks for that, ill try 5.3. Hopefully i wont get as many problems. --ams Joe Marcus Clarke <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 eodyna wrote: | hi there, | | Work Recently purchased a dell optiplex gx280. They come with a Broadcom NetXtreme 57xx Gigabit Controller and a 40g WD sata drive. When i installed 5.2.1 it complained that the disk geometey was incorrect(77504/16/63). I tried changing it to the correct (4863/255/63)setting by pressing (G) at the fdisk configuration screen, and the value 4863/255/63 was already entered in the pop up box. i saved it, and proceed with the rest of the install. At the network screen, it wasn't able to detect the network card. I was able to find that some people were able to get a 57xx working on their freebsd machine. | There are a few other areas with "no driver attached" such as disply and audio, but i haven't looked into those of yet. | After the installation completed i ran dmesg and the disk geometry didn't change to the new settings. Did i do something wrong with that? | | Can anyone pointack the me in the right direction on how to get this sorted? Any reccomendations would be great. I just bought a GX280, and installed 5.3-RC on it. It works great once you get passed the USB keyboard problem (see posts on freebsd-current@). ~ The bge network interface works great. I don't think the PCI IDs were added into 5.2.1, so you'll either have to backport the 5.3 bge driver, or just go with 5.3. Joe | | my thanks | ams | | ps: if you can cc me when responding id appreciate it as im not on the list. | | | | - | Find local movie times and trailers on Yahoo! Movies. | ___ | [EMAIL PROTECTED] mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to "[EMAIL PROTECTED]" | - -- PGP Key : http://www.marcuscom.com/pgp.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBivWhb2iPiv4Uz4cRAp4rAJ9GStMmsTu82ChT2MntobGFRTPq7QCfdgVy vyhiwdJoEuX0a+11gvSkDzM= =5yPy -END PGP SIGNATURE- - Find local movie times and trailers on Yahoo! Movies. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: custom shell script .. OT maybe .
Nothing much for OP... in message <[EMAIL PROTECTED]>, wrote Giorgos Keramidas thusly... > > On 2004-11-04 09:26, "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]> wrote: > > On Thursday 04 November 2004 08:42, faisal gillani wrote: > > > > > > well i want to make a simple/wieard shell script :) which > > > checks somehow connection with the internet & rename some file > > > files if it finds connectivity with the internet , & do > > > nothing of it dont find connectivity with the internet ...is > > > it possible with simple shell script ? or do i have to learn > > > some scripting language for that ? In the long range, learning will be better. > > #!/bin/sh > > > > connection=0 > > ping -c 5 -t 6 some.host.on.the.internet && connection=1 > > Ping may be a bit unreliable at times. If you know the interface > name you can probably get away by using ifconfig to short-cut > through the checks. Problem w/ not actually testing a connection is that there may be an address assigned to the interface (and it would be up) but lacking a meaningful connection, say, courtesy of firewall/dhcp running order/configuration. Well that was my problem w/ ipf & dhcp involving a NIC anyway. - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 RC2 disk 1 ISO torrent available
On Thu, 4 Nov 2004 15:32:26 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Thu, Nov 04, 2004 at 06:07:57PM -0500, Bob Johnson wrote: > > This is more of an announcement than a question, but: > > > > In the past, I've noticed questions from people looking for ISO image > > file torrents for FreeBSD. To see if there really is a demand for this, > > I've set one up (only for FreeBSD 5.3RC2 i386 disk 1). You can download > > the torrent file from http://www.eng.ufl.edu/bobj/FreeBSD-5_3_RC2.torrent > > > > I'm using bnbt for the tracker and seeding it with ctorrent. For some > > reason it seems reluctant to seed to other copies of ctorrent, but works > > fine with other clients (e.g. qtorrent). When possible, I'll keep > > another seed up with a different client to try to make sure a usable > > seed is always up. > > > > I'll also try to upload a copy to http://www.suprnova.org to get it more > > exposure. > > BTW, we're going to have 'official' torrents for the release this > time. Thanks for doing this for rc2 though. > > Kris hey this is an awesome idea. a timely link here: http://in.tech.yahoo.com/041103/137/2ho4i.html (sorry for the repost /. readers) -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Wireless internet
Hello, I would like to set up my gnome FreeBSD (v 5.2.1) to connect wirelessly to my home network. I have a linksys 802.11b wireless router/ switch, how can I set up my computer to work wirelessly? I can't "hard wire", wireless is the only thing I have left. I've already learned from a FreeBSD dude that USB adaptors won't work. Right now I'm looking at a wireless B 802.11 linksys PCI adaptor. I also learned that I can make use of "project evil" to use windows XP drivers. Is this "project evil already on my system? Or do I have to download it, because if I have to install it. yea. I'm an annoying newbie to the Linux background, im slowly learning though. I was told if I left a message here, I might get some help. I don't know if this matters or not, but this computer will run as a 24/7 web server. Security isn't that big of a deal, I hear that's the big bummer with wireless. But with the web server part, I know where to find help for that. I cant even get it connected when I hook the computer up down by the router "hard-wire". Any help would be nice, please send it to my email ( [EMAIL PROTECTED] ). Thanks to the dudes that I seem to be bugging with my annoying questions, your help is greatly appreciated! Thanks, Blain ASUS A7N8X Deluxe Athlon XP 2500+ Western Digital 80GB Simple Tech DDR 400mhz 512mb Gnome FreeBSD 5.2.1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Linksys wmp11v4, NDISulator and FreeBSD 5.2.1 -current (6.0)
Hi there, I'm emailing you because I've tried everything else... and failed :) I've got a bsd box on 5.2.1 freshly updated to -current: FreeBSD 6.0-CURRENT FreeBSD 6.0-CURRENT #0: .../usr/src/sys/i386/compile/CUSTOM i386 Custom kernel with just what I need in it. I have a linksys wmp11v4 wireless card. I compiled the NDISulator (/sys/modules/ndis and /sys/modules/if_ndis) successfully. Both modules load fine (no panic, no make-time error except the object warning). I used the sys and inf from the card's CD: LSIPNDS.sys and LSIPNDS.inf. However, the ndis0 interface does not appear. Rebooting, unloading / reloading both modules did not help. dmesg.boot shows the following unknown card: pci1: at device 7.0 (no driver attached) pciconf shows it as well: [EMAIL PROTECTED]:7:0: class=0x02 card=0x00201737 chip=0x212017fe rev=0x00 hdr=0x00 vendor = 'InProComm Inc' class= network subclass = ethernet It is indeed the v4 linksys using the InProComm chip. I've verified the pci device IDs in the inf, and they seem to match the pciconf's description: Linksys.DeviceDesc% = IPN2120.ndi, PCI\VEN_17FE&DEV_2120&SUBSYS_00201737 I've tried ndiscvt'ing with bcmwl5.sys and lsbcmnds.inf from the CD root without success. I have tried compiling a GENERIC kernel, with same results. I have tried three different cards on both 4.9 stable and 5.2.1 current and stable: this wmp11v4, a d-link dwl-510 and dwl-520. None of them have been detected so far by wi. The 520 is one of those newer cards with a different chipset. The 510 is not supported by wi.. and now this third replacement, the wmp11 is yet again a new chipset.. am I out of luck? Dexter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
error when make in net-snmp
Dear all i try install net-snmp from source with this options #./configure --prefix=/usr/local/net-snmp bla bla then #make bla bla -I./.. -I.. -g -O2 -Dfreebsd5 -c mibII/tcpTable.c -fPIC -DPIC -o mibII/.libs/tcpTable.lo mibII/tcpTable.c: In function `tcpTable_next_entry': mibII/tcpTable.c:419: error: structure has no member named `inp_list' mibII/tcpTable.c: In function `tcpTable_free': mibII/tcpTable.c:429: error: structure has no member named `inp_list' mibII/tcpTable.c: In function `tcpTable_load': mibII/tcpTable.c:698: error: structure has no member named `xt_tp' mibII/tcpTable.c:702: error: structure has no member named `xt_inp' *** Error code 1 Stop in /usr/local/src/net-snmp-5.1/agent/mibgroup. *** Error code 1 Stop in /usr/local/src/net-snmp-5.1/agent. *** Error code 1 Stop in /usr/local/src/net-snmp-5.1. PAG_ROUTER# - i trys use ucd-snmp 4.2.6 same get error like this bellow gcc -g -O2 -Dfreebsd5 -I. -I.. -I. -I./.. -c scapi.c -fPIC -DPIC -o .libs/scapi.lo scapi.c: In function `sc_encrypt': scapi.c:612: error: incompatible type for argument 1 of `memset' scapi.c: In function `sc_decrypt': scapi.c:725: error: incompatible type for argument 1 of `memset' *** Error code 1 Stop in /usr/local/src/ucd-snmp-4.2.6/snmplib. *** Error code 1 Stop in /usr/local/src/ucd-snmp-4.2.6. PAG_ROUTER# what should i do i do it in linux box is no problem = SONJAYA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ad0: WRITE command timeout...
On Thu, 4 Nov 2004 16:55:30 +0100 (CET), Are Bryne <[EMAIL PROTECTED]> wrote: > On Thu, 4 Nov 2004, Nelis Lamprecht wrote: > > > On Thu, 4 Nov 2004 14:10:42 +0100 (CET), Are Bryne > > <[EMAIL PROTECTED]> wrote: > [...] > >> After upgrading a computer from FreeBSD 4.8-something to 4.10-RELEASE-p3, > >> I'm getting lots of the following: > >> > >> ad0: WRITE command timeout tag=0 serv=0 - resetting > >> ata0: resetting devices .. done > > The disk in question is a > FUJITSU MPC3043AT/6018 using ATA/ATAPI rev 3 according to atacontrol. > It is master on its controller and uses UDMA33 transfers, and has an idle > PIO4 cd-rom player as a slave. The cdrom drive may be forcing your hard drive to use a much slower UDMA. If I were you I would connect the cd-rom player on your secondary channel or at the very least disconnect it and see if your problem persists and you might even find you get better tranfer rates. Nelis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Redirecting console output to serial port to capture error message
I have been trying to capture the error message that I receive when trying to boot any of the Release 5.3 beta or release candidate iso images on my DEC Personal Workstation 333i+. The system is an LX440 chipset based dual processor (2x PII 333MHz). I have been trying to redirect the error to the serial port and worked a while to get to where I learned that this incantation: #mkisofs -U -R -V fbsd_bootonly \ -no-emul-boot -b boot/cdboot -c boot_catalog \ -o /home/mbcd.iso /home/bootcd/cdrom after adding a /boot/loader.conf.local file containing console=comconsole to the contents of the bootonly.iso copied to /home/bootcd/cdrom would actually redirect this much of the output to the serial port: /boot/kernel/kernel text=0x4363cc data=0x7cc00+0x4fe20 syms=[0x4+0x5a690+0x4+0x6f5d8] but after that, the error message still pours out only on the video console, repeated endlessly, rolling by much too fast to make any sense of. What am I missing about redirecting the console output? I'm reading section 20.6.6.1 of the the "fine" manual, as saying that this should do the trick. Roger L. Beeman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sane-plustek backend does not work
On Thu, Nov 04, 2004 at 05:29:19PM -0700, Warren Block wrote: " On Thu, 4 Nov 2004, Eugene M. Minkovskii wrote: " " >I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". " >it is USB scanner. " > " >so, I compile kernel with " ># USB support " >device uscanner# Scanners " > " >after that I compile sane-backend port " > " >Now, when I attach the scanner I can see: " > " ># dmesg|tail " >ugen0: Canon CanoScan, rev 1.10/1.00, addr 2 " >==> success, thinking I. " " ugen0 instead of uscanner0 means it is not seeing it as a scanner, just " an unidentified USB device. 5.2.1 may not have had IDs for this " scanner; see if /usr/src/sys/dev/usb/usbdevs.h contains this line (which " will probably wrap when viewed): " " #define USB_PRODUCT_CANON_N1240U 0x220e /* CanoScan N1240U */ " " If it does have that line, try a kernel recompile and reinstall again. " Otherwise, maybe a cvsup to 5.3 is in order. " " -Warren Block * Rapid City, South Dakota USA This line allready present in my /usr/src/sys/dev/usb/usbdevs.h, and I was compiled my kernel about a week ago. Do you think I need some patch? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Configure WEP on startup
I apologize in advance if this question has been asked and answered before, but I haven't really found a completely satisfactory answer anywhere that I looked. My question is: what is the correct way to configure my wireless network card to use WEP and to obtain an IP address from a DHCP server at at startup? What's the magic line to insert into rc.conf? uname -a: FreeBSD laptop.xsb-internal.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Nov 3 06:45:45 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 The closest thing I have found is https://cusg.eecs.berkeley.edu/~bira/freebsdwireless.html but this is for an older version of FreeBSD and it requires some weired hackery, such as inserting sleeps to (hopefully) allow the rest of the system to get to a point where wicontrol commands will work. Also, it seems to be for an older version of FreeBSD and uses deprecated wicontrol commands. (It would be nice if sysinstall would handle this). Please include me on any replies, as I am not subscribed to this list. TIA --Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"