virtual network with qemu
Hi to all. I'd like to implement a little virtual network using QEMU 0.10.2, but, until now, I have failed. This is the situation. Host: AMD 64 running FreeBSD 7.2 #ifconfig nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=10bRXCSUM,TXCSUM,VLAN_MTU,TSO4 ether 00:15:f2:44:2d:f9 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 I've create an image using the FreeBSD 7.2 DVD: #qemu-img create -f qcow2 hda fbsd72.img 10G The image has been created. #qemu -L /usr/local/share/qemu/ -cdrom /dev/acd0 -m 512 -boot d fbsd72.img Alfter a long time, the installation of the guest system has been completed. When the installation program asked for information about network configuration, as a first step, I chose DHCP configuration and, as usualy, the network has been set like this: IP 10.0.2.15/255.255.255.0 gateway 10.0.2.2 nameserver 10.0.2.3 When the installation of the guest PC was finished, I've copied the image to pc01.img, to keep the original untouched. After that I've started qemu like this: #qemu -L /usr/local/share/qemu -localtime -net nic,macaddr=00:15:f2:44:2d:01 -net socket,mcast=230.0.0.1:1234 -hda pc01.img -cdrom /dev/acd0 but the network in the guest system does not work. ifconfig in the guest system tells: #ifconfig -a ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:15:f2:44:2d:01 media: Ethernet 10baseT/UTP full-duplex plip0: ... lo0: ... If I try: #ping 10.0.2.2 (the gateway) all packets are lost. For this reason, I've tryed a static IP configuration like this: IP 10.0.2.4/255.255.255.0 gateway 10.0.2.2 nameserver 10.0.2.3 but the gateway does not respond. So it is useless to try with a second guest system. Please help. Sorry for my bad english. Marco ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp/security on 7.1-Release
Hello, Ever since upgrading from 7.0-Release to 7.1-Release I get the following in the daily security reports: master.lc-words.com kernel log messages: +++ /tmp/security.yMzCQbS8 2009-05-13 03:01:25.0 +0200 +re0: watchdog timeout +re0: link state changed to DOWN +re0: link state changed to UP It just happens around 3 a.m. each day and so I wonder if I should be concerned about it...? Thank you in advance for your suggestions! I can bet it's NIC related problem, probably your re0 is sharing IRQ with something and it's going up/down. The time you see (~3.oo AM) is the moment periodic works, so it doesn't mean the problem happend then. I've seen similar problems on cheap PC hardware with integrated NIC and/or external PCI NIC (re/rl/em). Search for 're0: watchdog timeout' on google. The solution is to replace re with something else - em for example, but there is no guarantee it's going to work - I had same problems on crappy hardware with two identical interfaces plugged in (some model of em - IRRC Intel PRO/1000 GT) Yes, you are most likely right but I am left wondering why this has never been a problem on 7.0-Release...? So either the problem in question did not occur on 7.0 or it did occur but wasn't reported. Thanks! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xorg in a Jail... :)
Probably for the umpteenth time this subject line has shown up :) Why break convention? I'll start here as my audience might be greater: how is this made possible? I know Alexander Leidinger was working on something, but this isn't compiling on 7.1 atm (kern_jail.c: In function 'prison_priv_check': kern_jail.c:754: error: 'jail_dev_io_access_allowed' undeclared (first use in this function), kern_jail.c: 754: error: (Each undeclared identifier is reported only once for each function it appears in.), kern_jail.c: 761: error: 'jail_dev_io_access_allowed_hostname' undeclared (first use in this function), Error code 1) (Patch failed on hunk 1 of 2 - rev on file is 1.70.2.4.2.1). More importantly I've read in posts elsewhere that a fb (framebuffer) device is being worked on. Besides this, I'm interested in the security of these methods. From what I've examined (on the system and on the net) only Xorg is using /dev/io and /dev/mem, so I'm wondering whether it might be possible to tighten security more with regards X AND in doing so make it easier to run X in a jail. I'm guessing that IF Xorg can be configured (manually?) then access to io could be restricted? Then only fb would be needed instead of /dev/mem? I'm only shooting off at the hip here- I'm not entirely up on Xorg runnings... (Docs might be handy? Pointers?) I'll admit that I might not be in a great position to put this in code (I'm trying to help with a network driver currently- in my spare time :P), I have 2 kids, a couple of businesses (one of which is the wife's), so I'm kinda strapped. But I do have plenty of good ideas, and not enough time for my projects on my list- plus I'm still kinda green on driver writing so its a slow process. But I'm willing to brain storm, and definitely test :) Anyway, I'd like to work with whats out there currently to run X in a jail, but I need to get it to compile first (or setup) so some clarity on how to get this done would be great. Cheers Msg sent via @Mail - http://atmail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lagg failover
Hello We trying to configure FreeBSD 7.1 to work with two network interfaces with lagg failover protocol. Configuring, but when le0 (MASTER) losing link, le1 should be up, but it doesn't... Please help. # ifconfig le0 up # ifconfig le1 up # ifconfig lagg0 create # ifconfig lagg0 up laggproto failover laggport le0 laggport le1 # ifconfig lagg0 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0c:29:26:a7:37 inet 192.168.10.32 netmask 0xff00 broadcost 192.168.10.255 media: Ethernet autoselect status: active laggproto failover laggport: le1 flags=0 laggport: le0 flags=5MASTER,ACTIVE Daniel Vanags Information Technology Department IT infrastructure system engineer JSC SMP Bank www.smpbank.lv Phone:+371 67019386 E-mail: daniels.van...@smpbank.lv mailto:daniels.van...@smpbank.lv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Opera: X Shared memory extension is not available. ZPixmap not supported
On Thu, 14 May 2009 09:03:25 + (GMT) Saifi Khan saifi.k...@twincling.org wrote: Running Opera 9.64 on X.org 7.4 leads to freeze ups in Opera. The error reported is Opera: X Shared memory extension is not available. ZPixmap not supported My system is Intel CeleronM 1.6GHz, Intel 945GM mobo. I get this message too, it is just a note stating a feature of X is missing to support ZPixmap properly so Opera will not use it. I have not seen any big problems with Opera for years, so maybe you have got some faulty hardware or other configuration issues. Also please try to correct your time / time zone settings, all your mails are arriving from the future. Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpMqnCp5TrSJ.pgp Description: PGP signature
Re: virtual network with qemu
marco.borsat...@poste.it wrote: When the installation program asked for information about network configuration, as a first step, I chose DHCP configuration and, as usualy, the network has been set like this: IP 10.0.2.15/255.255.255.0 If I recall correctly qemu has a built-in DHCP server. That's the one that served you, not a real DHCP server running on your LAN, that is, you are not in any way connected to the real network. #qemu -L /usr/local/share/qemu -localtime -net nic,macaddr=00:15:f2:44:2d:01 -net socket,mcast=230.0.0.1:1234 -hda pc01.img -cdrom /dev/acd0 but the network in the guest system does not work. It makes sense, that the multicast option will work between virtual hosts only. That is, it uses multicast to provide a virtual broadcast domain, which appears to the host operating system as a ethernet device. ifconfig in the guest system tells: #ifconfig -a ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:15:f2:44:2d:01 media: Ethernet 10baseT/UTP full-duplex plip0: ... lo0: ... If I try: #ping 10.0.2.2 (the gateway) all packets are lost. For this reason, I've tryed a static IP configuration like this: IP 10.0.2.4/255.255.255.0 gateway 10.0.2.2 nameserver 10.0.2.3 but the gateway does not respond. So it is useless to try with a second guest system. No, infact it's the exact opposite. This type of device will work *only* if you add another virtual system. To get connected to the real network, you must use tap devices. Correction: Browsing the qemu's wiki I found out that there is a newer and simpler approach that I am not familiar with: http://calamari.reverse-dns.net:980/cgi-bin/moin.cgi/user-net So, if you do want internet access, just remove all network associated options and it will work automagically. If you just want to connect guest systems together use multicast or socket or ... HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
portupgrade -R problems
FreeBSD7. I wanted to upgrade print/cups-base and print/hplip From a portsnap run: cups-base-1.3.9_3 needs updating (index has 1.3.10_1) hplip-2.8.2_3 needs updating (index has 2.8.2_4) # cd /usr/ports/print/cups # portupgrade -R cups [Exclude up-to-date packages done] # What does this mean, does it think it is already up-to-date ?? Then I tried # cd /usr/ports/print/hplip # portupgrade -R hplip this upgraded a large number of dependent packages (even openldap, apache) added tcl and tk, and eventually even began to upgrade cups-base-1.3.9_3 to 1.3.9.10_1 but ends with: ... == Installing for cups-client-1.3.10_1 === cups-client-1.3.10_1 depends on file: /usr/local/bin/python2.5 - found === cups-client-1.3.10_1 depends on file: /usr/local/include/php/main/php.h - found === Generating temporary packing list === Checking if print/cups-client already installed === cups-client-1.3.10_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of print/cups-client without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/print/cups-client. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/hplip. *** Error code 1 Stop in /usr/ports/print/hplip. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.29487.1 en v UPGRADE_TOOL=portupgrade UPGRADE_PORT=hplip-2.8.2_3 UPGRADE_PORT_VER=2.8.2_3 m ake ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! misc/help2man (help2man-1.36.4_2) (unknown build error) ! print/hplip (hplip-2.8.2_3) (unknown build error) I tried, # cd /usr/ports/print/cups-client # make deinstall === Deinstalling cups-client-1.3.10_1 pkg_delete: file '/usr/local/man/man1/cups-config.1.gz' doesn't exist pkg_delete: file '/usr/local/bin/cups-config' doesn't exist pkg_delete: file '/usr/local/include/cups/adminutil.h' doesn't exist pkg_delete: file '/usr/local/include/cups/array.h' doesn't exist pkg_delete: file '/usr/local/include/cups/backend.h' doesn't exist pkg_delete: file '/usr/local/include/cups/cups.h' doesn't exist pkg_delete: file '/usr/local/include/cups/dir.h' doesn't exist pkg_delete: file '/usr/local/include/cups/file.h' doesn't exist pkg_delete: file '/usr/local/include/cups/http.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ipp.h' doesn't exist pkg_delete: file '/usr/local/include/cups/language.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ppd.h' doesn't exist pkg_delete: file '/usr/local/include/cups/language.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ppd.h' doesn't exist pkg_delete: file '/usr/local/include/cups/sidechannel.h' doesn't exist pkg_delete: file '/usr/local/include/cups/transcode.h' doesn't exist pkg_delete: file '/usr/local/lib/libcups.so' doesn't exist pkg_delete: file '/usr/local/lib/libcups.so.2' doesn't exist pkg_delete: file '/usr/local/include/cups' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/include/cups' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) # make reinstall .. === Compressing manual pages for cups-client-1.3.10_1 === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for cups-client-1.3.10_1 # cd /usr/ports/print/hplip # portupgrade -R hplip [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 620 packages found ( -2 +1) (...). done] [Exclude up-to-date packages done] # pkg_info | grep hplip empty # pkg_info | grep cups-base empty What is going on and how to remedy? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can't get ndis0 working
Hello, I tried to activate my Acer's Aspire 5315 wireless card with FreeBSD 7.2 i386 and had no luck. What i did: 1) #prtconf -lv no...@pci0:6:0:0: class=0x028000 card=0x04221468 chip=0x431114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Dell Wireless 1390 WLAN Mini-PCI Card' class = network 2) i Downloaded the R112196.EXE archive from the Dell ftp server and extracted bcmwl5.inf and bcmwl5.sys 3) i copied those files to /sys/modules/if_ndis 4) # iconv -c -f utf-16 -t ascii bcmwl5.inf bcmwl5.inf.ascii 5) with ndisgen and bcmwl5.inf.ascii/bcmwl5.sys i created successful bcmwl5_sys.ko. The ndisgen wrote a message at sys file loading: This .SYS file appears to be in Windows(r) PE format 6) # cp bcmwl5_sys.ko /boot/kernel 7) # kldload bcmwl5_sys.ko kldload: cant't load bcmwl5_sys.ko # kldloat /boot/kernel/bcmwl5_sys.ko kldload: cant't load /boot/kernel/bcmwl5_sys.ko 8) Next try with help from http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers # rm /boot/kernel/bcmwl5_sys.ko # rm /sys/modules/if_ndis/bcmwl5_sys.ko 9)cd /sys/modules/if_ndis # ndiscvt -i bcmwl5.inf.ascii -s bcmwl5.sys -o ndis_driver_data.h 10) # make make install Warning: Object directory not changed from original /usr/src/sys/modules/if_ndis @ - /usr/src/sys machine - /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs : opt_usb.h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pci.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pccard.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_usb.c ld -d -warn-common -r -d -o if_ndis.kld if_ndis.o if_ndis_pci.o if_ndis_pccard.o if_ndis_usb.o : export_syms awk -f /usr/src/sys/modules/if_ndis/../../conf/kmod_syms.awk if_ndis.kld export_syms | xargs -J% objcopy % if_ndis.kld ld -Bshareable -d -warn-common -o if_ndis.ko if_ndis.kld objcopy --strip-debug if_ndis.ko install -o root -g wheel -m 555 if_ndis.ko /boot/kernel kldxref /boot/kernel 11) # kldload if_ndis # kldstat Id Refs AddressSize Name 1 19 0xc040 9fab28 kernel 21 0xc0dfb000 6a45cacpi.ko 31 0xc4767000 22000linux.ko 41 0xc489c000 9000 i915.ko 51 0xc48a5000 13000drm.ko 61 0xc532c000 c000 if_ndis.ko 71 0xc5338000 16000ndis.ko 12) # ifconfig ndis0 up ifconfig: interface ndis0 does not exist I've no idea whats going wrong , perhaps anyone can help ? Best regards, Richard HOB RD VPN - einfach, sicher und flexibel auf alle Unternehmensanwendungen und -daten zugreifen Praesentation unter: http://www.hob.de/rdvpn2/ HOB GmbH Co. KG
Re: portupgrade -R problems
Pieter Donche escribió: FreeBSD7. I wanted to upgrade print/cups-base and print/hplip From a portsnap run: cups-base-1.3.9_3 needs updating (index has 1.3.10_1) hplip-2.8.2_3 needs updating (index has 2.8.2_4) # cd /usr/ports/print/cups # portupgrade -R cups [Exclude up-to-date packages done] # What does this mean, does it think it is already up-to-date ?? The package you want to update is cups-base, not cups. And also it's not required to jump inside the port's directory. Then I tried # cd /usr/ports/print/hplip # portupgrade -R hplip this upgraded a large number of dependent packages (even openldap, apache) added tcl and tk, and eventually even began to upgrade cups-base-1.3.9_3 to 1.3.9.10_1 but ends with: ... == Installing for cups-client-1.3.10_1 === cups-client-1.3.10_1 depends on file: /usr/local/bin/python2.5 - found === cups-client-1.3.10_1 depends on file: /usr/local/include/php/main/php.h - found === Generating temporary packing list === Checking if print/cups-client already installed === cups-client-1.3.10_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of print/cups-client without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/print/cups-client. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/hplip. *** Error code 1 Stop in /usr/ports/print/hplip. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.29487.1 en v UPGRADE_TOOL=portupgrade UPGRADE_PORT=hplip-2.8.2_3 UPGRADE_PORT_VER=2.8.2_3 m ake ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! misc/help2man (help2man-1.36.4_2) (unknown build error) ! print/hplip (hplip-2.8.2_3) (unknown build error) As far as I can see, this problem is related to the first one.The package hplip depends on a more recent version of cups-client than the one you've currently installed. I tried, # cd /usr/ports/print/cups-client # make deinstall === Deinstalling cups-client-1.3.10_1 pkg_delete: file '/usr/local/man/man1/cups-config.1.gz' doesn't exist pkg_delete: file '/usr/local/bin/cups-config' doesn't exist pkg_delete: file '/usr/local/include/cups/adminutil.h' doesn't exist pkg_delete: file '/usr/local/include/cups/array.h' doesn't exist pkg_delete: file '/usr/local/include/cups/backend.h' doesn't exist pkg_delete: file '/usr/local/include/cups/cups.h' doesn't exist pkg_delete: file '/usr/local/include/cups/dir.h' doesn't exist pkg_delete: file '/usr/local/include/cups/file.h' doesn't exist pkg_delete: file '/usr/local/include/cups/http.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ipp.h' doesn't exist pkg_delete: file '/usr/local/include/cups/language.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ppd.h' doesn't exist pkg_delete: file '/usr/local/include/cups/language.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ppd.h' doesn't exist pkg_delete: file '/usr/local/include/cups/sidechannel.h' doesn't exist pkg_delete: file '/usr/local/include/cups/transcode.h' doesn't exist pkg_delete: file '/usr/local/lib/libcups.so' doesn't exist pkg_delete: file '/usr/local/lib/libcups.so.2' doesn't exist pkg_delete: file '/usr/local/include/cups' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/include/cups' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) # make reinstall .. === Compressing manual pages for cups-client-1.3.10_1 === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for cups-client-1.3.10_1 # cd /usr/ports/print/hplip # portupgrade -R hplip [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 620 packages found ( -2 +1) (...). done] [Exclude up-to-date packages done] # pkg_info | grep hplip empty # pkg_info | grep cups-base empty What is going on and how to remedy? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org See the man page for portupgrade, as I think that the option you want to use is -r and not -R I've always keep my installed ports up to date with portupgrade -ar Matias. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl upgrade
Hi Jerry, Jerry wrote: Perl-5.10 was released to the public over a year ago. Another year transpired before it was released into the ports system. There was an immediate problem that was corrected when the maintainer switched to 'bison' from 'YACC'. Other than that, it has performed flawlessly as far as I can tell. Thanks, I didn't know that as it only appeared in UPDATING at 280309. regards, Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it serves no purpose except foot-shooting. - csh cannot redirect stderr seperately from stdout - on pipes the exit status from the first command is the exit status of the total command - will not expand matches without a user provided part, for *every* component of a path There's plenty of reasons not to use csh and if you know what you're doing, BSD lets you. And no, I don't want to type exec zsh when I'm finally logged into the box that has a load of 100+. I think the problem with that is he meant changing the root shell to /usr/local/bin/bash. You're better off using /bin/sh if you want a Bourne-type shell, or using toor with /usr/local/bin/bash. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Building gimp without gvfs
On Sunday 10 May 2009, Roland Smith wrote: On Sun, May 10, 2009 at 03:00:26PM +0100, Mike Clarke wrote: Each time gimp-app gets upgraded I lose the ability to open URI's with Open location or by dragging images from firefox. [snip] The gimp-app port Makefile should be hacked so that it adds --without-gvfs to CONFIGURE_ARGS if the existing GVFS option is set to no. You can try the attached patch 'gimp-app.Makefile.diff'. If it works, you can submit it with a PR. From the first link, I understand that it _could_ be that the --without-gnomevfs currently in CONFIGURE_ARGS needs to be added to the first part of the if-statement. If the first patch isn't sufficient, restore the original Makefile and try the second patch 'gimp-app2.Makefile.diff'. Thanks for the patches Roland. I've tried both and each of them cures the problem for me if I leave GVFS set to no with make config. I've submitted a PR, ports/134536 -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
virtual network with qemu
First, thank you. You are right, qemu has an internal DHCP server, which should be perfect for me, becuse I would like to emulate a network without any contact with external (real) world. The problem is that my virtual PC can't ping the gateway. For my idea (this is just a way to study a project for a network without a real network) the communication is intended only among virtual PCs. But If I can't contact the (virtual) gateway will it be possible to contact another virtual PC on a different subnet? Or even on the same subnet? In my idea I would like to create a little but complex net with one master controller, a slave controller, a little number of client belonging to different subnets. Maybe with or without a DHCP server. Marco -- Original Header --- From : Nikos Vassiliadis nvass9...@gmx.com To : marco.borsat...@poste.it marco.borsat...@poste.it Cc : freebsd-questions@freebsd.org Date : Thu, 14 May 2009 11:28:59 +0300 Subject : Re: virtual network with qemu marco.borsat...@poste.it wrote: When the installation program asked for information about network configuration, as a first step, I chose DHCP configuration and, as usualy, the network has been set like this: IP 10.0.2.15/255.255.255.0 If I recall correctly qemu has a built-in DHCP server. That's the one that served you, not a real DHCP server running on your LAN, that is, you are not in any way connected to the real network. #qemu -L /usr/local/share/qemu -localtime -net nic,macaddr=00:15:f2:44:2d:01 -net socket,mcast=230.0.0.1:1234 -hda pc01.img -cdrom /dev/acd0 but the network in the guest system does not work. It makes sense, that the multicast option will work between virtual hosts only. That is, it uses multicast to provide a virtual broadcast domain, which appears to the host operating system as a ethernet device. ifconfig in the guest system tells: #ifconfig -a ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:15:f2:44:2d:01 media: Ethernet 10baseT/UTP full-duplex plip0: ... lo0: ... If I try: #ping 10.0.2.2 (the gateway) all packets are lost. For this reason, I've tryed a static IP configuration like this: IP 10.0.2.4/255.255.255.0 gateway 10.0.2.2 nameserver 10.0.2.3 but the gateway does not respond. So it is useless to try with a second guest system. No, infact it's the exact opposite. This type of device will work *only* if you add another virtual system. To get connected to the real network, you must use tap devices. Correction: Browsing the qemu's wiki I found out that there is a newer and simpler approach that I am not familiar with: http://calamari.reverse-dns.net:980/cgi-bin/moin.cgi/user-net So, if you do want internet access, just remove all network associated options and it will work automagically. If you just want to connect guest systems together use multicast or socket or ... HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't get ndis0 working
On Thu, May 14, 2009 at 4:00 AM, Walter, Richard richard.wal...@hob.de wrote: Hello, I tried to activate my Acer's Aspire 5315 wireless card with FreeBSD 7.2 i386 and had no luck. What i did: 1) #prtconf -lv no...@pci0:6:0:0: class=0x028000 card=0x04221468 chip=0x431114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Dell Wireless 1390 WLAN Mini-PCI Card' class = network 2) i Downloaded the R112196.EXE archive from the Dell ftp server and extracted bcmwl5.inf and bcmwl5.sys 3) i copied those files to /sys/modules/if_ndis 4) # iconv -c -f utf-16 -t ascii bcmwl5.inf bcmwl5.inf.ascii 5) with ndisgen and bcmwl5.inf.ascii/bcmwl5.sys i created successful bcmwl5_sys.ko. The ndisgen wrote a message at sys file loading: This .SYS file appears to be in Windows(r) PE format 6) # cp bcmwl5_sys.ko /boot/kernel 7) # kldload bcmwl5_sys.ko kldload: cant't load bcmwl5_sys.ko # kldloat /boot/kernel/bcmwl5_sys.ko kldload: cant't load /boot/kernel/bcmwl5_sys.ko 8) Next try with help from http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers # rm /boot/kernel/bcmwl5_sys.ko # rm /sys/modules/if_ndis/bcmwl5_sys.ko 9)cd /sys/modules/if_ndis # ndiscvt -i bcmwl5.inf.ascii -s bcmwl5.sys -o ndis_driver_data.h 10) # make make install Warning: Object directory not changed from original /usr/src/sys/modules/if_ndis @ - /usr/src/sys machine - /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs : opt_usb.h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pci.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pccard.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_usb.c ld -d -warn-common -r -d -o if_ndis.kld if_ndis.o if_ndis_pci.o if_ndis_pccard.o if_ndis_usb.o : export_syms awk -f /usr/src/sys/modules/if_ndis/../../conf/kmod_syms.awk if_ndis.kld export_syms | xargs -J% objcopy % if_ndis.kld ld -Bshareable -d -warn-common -o if_ndis.ko if_ndis.kld objcopy --strip-debug if_ndis.ko install -o root -g wheel -m 555 if_ndis.ko /boot/kernel kldxref /boot/kernel 11) # kldload if_ndis # kldstat Id Refs Address Size Name 1 19 0xc040 9fab28 kernel 2 1 0xc0dfb000 6a45c acpi.ko 3 1 0xc4767000 22000 linux.ko 4 1 0xc489c000 9000 i915.ko 5 1 0xc48a5000 13000 drm.ko 6 1 0xc532c000 c000 if_ndis.ko 7 1 0xc5338000 16000 ndis.ko 12) # ifconfig ndis0 up ifconfig: interface ndis0 does not exist I've no idea whats going wrong , perhaps anyone can help ? Perhaps I can indirectly help
Re: Linux Wolfenstein Enemy Territory - no sound
Hi, I was going nuts with this Wolfenstein Enemy Territory sound issue. I have installed the game, but the sound was not working at all. I have tried almost all available solutions from the Internet. None worked. However I have managed to make one solution work properly for me and voila! I HAVE SOUND MUSIC NOW! )) Read on how I made it: 1. I have downloaded this script: http://nullkey.ath.cx/~stuff/et-sd [...] -sound.gz. (Alternative mirror: http://members.lycos.co.uk/lordban [...] l-sound.gz ) 2. The script was not working from scratch. I have had to edit it manually. First locate where your Wolfenstein installation directory is (via locating et.x86 file. The dir/folder where the file is, is your installation dir. In my case it was /usr/local/games/enemy-territory ) 3. Now open downloaded script wolfsp-sdl-sound file with text editor (on my Mandriva I just used KWrite, but for other distro just use default one) 4. At the beginning of the file you will find disabled grey text/comment. There will be such a text (search for it): # You can set this in GAME_PATH environment variable and just underneath the text there will be the variable called GAME_PATH=. 5. Remove the hash (#) from before the GAME_PATH variable. The text may become colorful as it is no longer disabled comment. 6. Now type in your full path to Wolfenstein installation dir between inverted comas. In my case it looked like this: GAME_PATH=/usr/local/games/enemy-territory. It is like this by defauld, so you may just use it, if you haven't change installation dir. 7. Now go down the file, and locate another variables which are GAME_BIN and GAME_DIR. 8. Change value of GAME_BIN to GAME_BIN='et.x86' 9. Change value of GAME_DIR to your Wolfenstein installation dir only (not a path!). In my case it was: GAME_DIR='enemy-territory'. It's default folder (directory/catalog whatever you call it...) so if you haven't change it during installation, use that one. 10. That's it! 11. Now drag and drop your edited wolfsp-sdl-sound file into the console window and execute it by pressing ENTER. Voila! The Wolfenstein is running with SOUND now! 12. [applause] The main problem with Linux is this damned console/script thing. I mean how they are going to beat Windows, as main Windows advantage is GRAPHICALLY operated environment, not TEXT operated one! This must be changed and all console commands/scripts should have GRAPHICAL (icon to click) equivalent. Enjoy! Banter - Brand new advanced Amiga compatible! Visit www.natami.net - -- View this message in context: http://www.nabble.com/Linux-Wolfenstein-Enemy-Territory---no-sound-tp19021118p23539161.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fixit console with sshd
2009/4/28 n j nin...@gmail.com: I was just wondering if someone could give me a quick advice on how (or at least confirm it's possible) to start sshd in fixit console i.e. how to boot FreeBSD off the CD1 (6.4-RELEASE) and enable SSH access to it. I believe booting off a live CD and restoring a backup over network should be a relatively common recovery scenario, but googling around produced no usable results other than get FreeSBIE live cd. or you can build your own live cd: # BUILDDIR=/home/my_live_cd # mkdir $BUILDDIR # cd /usr/src # make buildworld # make buildkernel # make installworld DESTDIR=$BUILDDIR # make distribution DESTDIR=$BUILDDIR # make installkernel DESTDIR=$BUILDDIR echo '/dev/acd0 / cd9660 ro 0 0' $BUILDDIR/etc/fstab echo 'init_script=/etc/rc.my' $BUILDDIR/boot/loader.conf echo exec /bin/sh $BUILDDIR/etc/rc.my # you probably should script /etc/rc.my and # mount rw memory fs over /var, /tmp, and others # add useful packages mount -t devfs devfs $BUILDDIR/dev for pkg in apg-2.3.0b_1 bonnie++-1.93.04 stress-1.0.0; do cp /home/pkgs/${pkg}.tbz $BUILDDIR/ chroot $BUILDDIR pkg_add /${pkg}.tbz rm $BUILDDIR/${pkg}.tbz done umount $BUILDDIR/dev # generate ssh keys chroot $BUILDDIR /etc/rc.d/sshd keygen # mkisofs -quiet -b boot/cdboot -no-emul-boot -r -iso-level 4 -V my live cd -o /home/my_live_cd.iso $BUILDDIR # burncd -v -s max data /home/my_live_cd.iso fixate You can even read some new manpages while fixing servers :) -- Artis Caune Everything should be made as simple as possible, but not simpler. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis0 interrrupt storm
On 5/13/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: On 5/12/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: Just typing bt on db prompt for now should be enough. panic: sleeping thread cpuid = 0 KDB: enter: panic [thread pid 1497 tid 100073 ] Stopped atkdb_enter+0x3a: movl$0,kdb_why db bt Tracing pid 1497 tid 100073 td 0xc356c900 kdb_enter(c0c3d8fa,c0c3d8fa,c0c42726,d4001b68,0,...) at kdb_enter+0x3a panic(c0c42726,,0,cc,4,...) at panic+0x136 propagate_priority(c0d9df84,0,c0c4249e,2e1,c356d180,...) at propagate_priority+0x18c turnstile_wait(c356d180,c37b2240,0,18d,c34fc06c,...) at turnstile_wait+0x44d _mtx_lock_sleep(c34fc06c,c356c900,0,c38de072,6b4,...) at mtx_lock_sleep+0x18e _mtx_lock_flags(c34fc06c,0,c38de072,6b4,c089dc98,...) at mtx_lock_flags+0xf7 ndis_ticktask(c3821700,c34fc000,c37e8e3c,c3916bd0,c38fc6e0,...) at ndis_ticktask+0x3a _end(c37e8e3c,d4001d38,c0c39438,333,c37ab548,...) at _end+0x321d fork_exit(c38fc600,c37e8e3c,d4001d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0 esp = 0xd4001d70, ebp = 0 --- Typed by hand but I'm pretty sure it is correct. Don't know if it is significant but repeating the panic gave quite a few different values. Post them too. If only numbers are different and stack is same that could help even more. Is photos ok or do you need text? Whatever, just let it be complete. This is on i386? yes -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Welcome to the freebsd-questions mailing list
based on Linus Torvalds (which we ALL know is RIGHT) states that when asked if the name GNU/Linux was justified: Well, I think it's justified, but it's justified if you actually make a GNU distribution of Linux ... the same way that I think that Red Hat Linux is fine, or SuSE Linux or Debian Linux, because if you actually make your own distribution of Linux, you get to name the thing, but calling Linux in general GNU Linux i I think is just ridiculous. (G)ot (N)othing (U)nique takes years since 1989 for http://is.gd/zGZh Hope this helps. thanks Saifi. And in the end, the world almost never heard of Linux and would have had BSD everywhere. Linus stated that he prob would have never made Linux if the litigation around BSD 4.4 had ended earlier. But why he feels like he can take over the GNU OS just because he made the kernel never made sense to me. I'm glad the GNU project finally got Hurd going though, even though they too almost went with a BSD 4.4 based kernel before Linux came along -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
AW: Can't get ndis0 working
Hello, thank you for the fast answer, it's good to hear that I wasn't totally wrong with my efforts. I will try some other drivers, but I won't spend too much time. I think I will buy one of the supported USB sticks. Best regards Richard -Ursprüngliche Nachricht- Von: Neal Hogan [mailto:nealho...@gmail.com] Gesendet: Donnerstag, 14. Mai 2009 13:57 An: Walter, Richard Cc: freebsd-questions@freebsd.org Betreff: Re: Can't get ndis0 working On Thu, May 14, 2009 at 4:00 AM, Walter, Richard richard.wal...@hob.de wrote: Hello, I tried to activate my Acer's Aspire 5315 wireless card with FreeBSD 7.2 i386 and had no luck. What i did: 1) #prtconf -lv no...@pci0:6:0:0: class=0x028000 card=0x04221468 chip=0x431114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Dell Wireless 1390 WLAN Mini-PCI Card' class = network 2) i Downloaded the R112196.EXE archive from the Dell ftp server and extracted bcmwl5.inf and bcmwl5.sys 3) i copied those files to /sys/modules/if_ndis 4) # iconv -c -f utf-16 -t ascii bcmwl5.inf bcmwl5.inf.ascii 5) with ndisgen and bcmwl5.inf.ascii/bcmwl5.sys i created successful bcmwl5_sys.ko. The ndisgen wrote a message at sys file loading: This .SYS file appears to be in Windows(r) PE format 6) # cp bcmwl5_sys.ko /boot/kernel 7) # kldload bcmwl5_sys.ko kldload: cant't load bcmwl5_sys.ko # kldloat /boot/kernel/bcmwl5_sys.ko kldload: cant't load /boot/kernel/bcmwl5_sys.ko 8) Next try with help from http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers # rm /boot/kernel/bcmwl5_sys.ko # rm /sys/modules/if_ndis/bcmwl5_sys.ko 9)cd /sys/modules/if_ndis # ndiscvt -i bcmwl5.inf.ascii -s bcmwl5.sys -o ndis_driver_data.h 10) # make make install Warning: Object directory not changed from original /usr/src/sys/modules/if_ndis @ - /usr/src/sys machine - /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs : opt_usb.h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pci.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pccard.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_usb.c ld -d -warn-common -r -d -o if_ndis.kld if_ndis.o if_ndis_pci.o if_ndis_pccard.o if_ndis_usb.o : export_syms awk -f /usr/src/sys/modules/if_ndis/../../conf/kmod_syms.awk if_ndis.kld export_syms | xargs -J% objcopy % if_ndis.kld ld -Bshareable -d -warn-common -o if_ndis.ko if_ndis.kld objcopy --strip-debug if_ndis.ko install -o root -g wheel -m 555 if_ndis.ko /boot/kernel kldxref /boot/kernel 11) # kldload if_ndis # kldstat
Re: virtual network with qemu
marco.borsat...@poste.it wrote: First, thank you. You are right, qemu has an internal DHCP server, which should be perfect for me, becuse I would like to emulate a network without any contact with external (real) world. The problem is that my virtual PC can't ping the gateway. For my idea (this is just a way to study a project for a network without a real network) the communication is intended only among virtual PCs. But If I can't contact the (virtual) gateway will it be possible to contact another virtual PC on a different subnet? Or even on the same subnet? In my idea I would like to create a little but complex net with one master controller, a slave controller, a little number of client belonging to different subnets. Maybe with or without a DHCP server. Yes, hosts on the same IP network, which of course are on the same broadcast domain, are able to communicate with each other with no other intermediates. A gateway is required only if you want to communicate with other networks. So, you have to create, let's say, 3 virtual PCs: 1) host_a on network A 2) host_b on network B 3) router_a on both networks A and B That's all. I guess, qemu uses the multicast solution to create virtual broadcast domains, like a switch does. qemu, I guess, has no knowledge of what happens on these ethernets, like a real ethernet switch. It's a real cool solution, since the user is able to create networks than can span several physical machines. Maybe you should use socket instead of mcast, don't really know the pros and cons of those two. Last but not least, since you seem to look for a learning tool, let me suggest two great ones: 1) imunes, you need vmware player for a quick start. http://www.imunes.net/virtnet/ 2) netkit http://wiki.netkit.org/index.php/Download_Official I have extensively used imunes and it's great. You should also check netkit. In case, it matters, the latter is GNU/Linux based. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: virtual network with qemu
Thank you twice: the communication between 2 virtual PCs works. Now should I configure another virtual PC as a gateway with a netmask, say, 255.0.0.0? The virtual PC have a calss B netmask. I will also try the tools I've suggested to me. Marco -- Original Header --- From : Nikos Vassiliadis nvass9...@gmx.com To : marco.borsat...@poste.it marco.borsat...@poste.it Cc : freebsd-questions@freebsd.org Date : Thu, 14 May 2009 16:08:01 +0300 Subject : Re: virtual network with qemu marco.borsat...@poste.it wrote: First, thank you. You are right, qemu has an internal DHCP server, which should be perfect for me, becuse I would like to emulate a network without any contact with external (real) world. The problem is that my virtual PC can't ping the gateway. For my idea (this is just a way to study a project for a network without a real network) the communication is intended only among virtual PCs. But If I can't contact the (virtual) gateway will it be possible to contact another virtual PC on a different subnet? Or even on the same subnet? In my idea I would like to create a little but complex net with one master controller, a slave controller, a little number of client belonging to different subnets. Maybe with or without a DHCP server. Yes, hosts on the same IP network, which of course are on the same broadcast domain, are able to communicate with each other with no other intermediates. A gateway is required only if you want to communicate with other networks. So, you have to create, let's say, 3 virtual PCs: 1) host_a on network A 2) host_b on network B 3) router_a on both networks A and B That's all. I guess, qemu uses the multicast solution to create virtual broadcast domains, like a switch does. qemu, I guess, has no knowledge of what happens on these ethernets, like a real ethernet switch. It's a real cool solution, since the user is able to create networks than can span several physical machines. Maybe you should use socket instead of mcast, don't really know the pros and cons of those two. Last but not least, since you seem to look for a learning tool, let me suggest two great ones: 1) imunes, you need vmware player for a quick start. http://www.imunes.net/virtnet/ 2) netkit http://wiki.netkit.org/index.php/Download_Official I have extensively used imunes and it's great. You should also check netkit. In case, it matters, the latter is GNU/Linux based. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: virtual network with qemu
On Thu, 14 May 2009 13:39:17 +0200 marco\.borsati...@poste\.it marco.borsat...@poste.it wrote: First, thank you. You are right, qemu has an internal DHCP server, which should be perfect for me, becuse I would like to emulate a network without any contact with external (real) world. The problem is that my virtual PC can't ping the gateway. For my idea (this is just a way to study a project for a network without a real network) the communication is intended only among virtual PCs. But If I can't contact the (virtual) gateway will it be possible to contact another virtual PC on a different subnet? The problem is that ping is a setuid binary, so qemu cant send a ping into the outside world as an ordinary user process. I think you may be able to ping between two emulated machine within qemu. Even if you can't it might be worth staying with qemu's networking, if pings aren't essential, as it sounds closer to what you need than networking via tap. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
windows vista clients cannot connect on this mpd5 server
Hi, I have a mpd5 server running on FreeBSD 7.1 . My clients are mikrotiks and it works fine to them. 2 days ago i had to allow some users to connect on this Server but only winXP clients. Windows vista clients can´t connect. Trinity# cat mpd.conf startup: set user admin mamamia admin set console self 127.0.0.1 5005 set console open set web self 0.0.0.0 5006 set web open default: load pptp_server pptp_server: create bundle template PPTP set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set ipcp yes vjcomp # set ipcp dns 172.16.0.1 set ippool add LANPOOL 172.16.0.2 172.16.0.10 set ipcp ranges 172.16.0.1/32 ippool LANPOOL # set bundle disable compression create link template Clients pptp set link latency 0 set link action bundle PPTP set link enable multilink #set link yes acfcomp protocomp set link no pap chap set link enable chap # load radius set link keep-alive 10 60 set link mtu 1460 set pptp self 0.0.0.0 set link enable incoming set bundle enable compression set bundle enable crypt-reqd #set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless Trinity# PF.conf pass in quick on $ext_if proto tcp from any to $ext_if port 1723 synproxy state logs: [Clients-1] LCP: parameter negotiation failed [Clients-1] LCP: state change Req-Sent -- Stopped [Clients-1] LCP: LayerFinish [Clients-1] PPTP call terminated [Clients-1] Link: DOWN event [Clients-1] LCP: Close event [Clients-1] LCP: state change Stopped -- Closed [Clients-1] LCP: Down event [Clients-1] LCP: state change Closed -- Initial [Clients-1] Link: SHUTDOWN event [Clients-1] Link: Shutdown ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipnat port-range
2009/5/14 Odhiambo ワシントン odhia...@gmail.com: On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote: On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote: i need to redirect bunch of ports, or port-range from outside to my jail # /etc/rc.d/ipnat reload /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES. /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f /etc/ipnat.rules 0 entries flushed from NAT table 2 entries flushed from NAT list syntax error error at port-range, line 8 # grep port-range /etc/ipnat.rules rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp # -- http://alexus.org/ that rule is wrong to begin with as rdr doesn't work with ranges, i guess I need to use something else.. anyone done something like that? use ipnat to map range of ports? this is for ftp PASV Looks like it's time to convert your rules into PF then start using PF. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain i'm pretty sure people have asked that in the past but i guess whats the pros and cons one vs another, we have 3 candidates ipfw - FreeBSD ipf pf - OpenBSD and why not all of 'em at once?:) bit a hassle to maintane but it seems like ipf can't do what i need, yet pf can ipfw i can limit traffic i dont know if ipf or pf can .. it seems like they all have something that the other can't -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipnat port-range
2009/5/14 alexus ale...@gmail.com 2009/5/14 Odhiambo ワシントン odhia...@gmail.com: On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote: On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote: i need to redirect bunch of ports, or port-range from outside to my jail # /etc/rc.d/ipnat reload /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES. /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f /etc/ipnat.rules 0 entries flushed from NAT table 2 entries flushed from NAT list syntax error error at port-range, line 8 # grep port-range /etc/ipnat.rules rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp # -- http://alexus.org/ that rule is wrong to begin with as rdr doesn't work with ranges, i guess I need to use something else.. anyone done something like that? use ipnat to map range of ports? this is for ftp PASV Looks like it's time to convert your rules into PF then start using PF. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain i'm pretty sure people have asked that in the past but i guess whats the pros and cons one vs another, we have 3 candidates ipfw - FreeBSD ipf pf - OpenBSD and why not all of 'em at once?:) bit a hassle to maintane but it seems like ipf can't do what i need, yet pf can ipfw i can limit traffic i dont know if ipf or pf can .. it seems like they all have something that the other can't They can co-exist when you know what you are doing, yes:) AFAIK, PF should have all that IPFW can do. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
issues with Intel Pro/1000 and 1000baseTX
I have a FreeBSD v7.0 box it has two Intel Pro/1000 NICs, the one in question is: em1: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port 0x2020-0x203f mem 0xd806-0xd807,0xd804-0xd805 irq 19 at device 0.1 on pci4 what we get after boot is: em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:xx:xx:xx inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active The problem is that the NIC refuses to connect at 1000baseTX. It's connected to a HP Procurve 1700-24 switch which supports 1000baseTX on ports 23 and 24. This particular computer is connected on port 24. I have a much older end user system which uses the same card (but earlier revision), runs Windows XP and is plugged in to port 23. The end user system has no problem connecting at 1000baseTX. I have of course tried switching ports. Attempting to force 1000baseTX via: ifconfig em1 media 1000baseTX mediaopt full-duplex gets me: status: no carrier After forcing the NIC to go 1000baseTX the LEDs on the backpane are both off. I can only come to the conclusion that this is a driver issue based on previous experience and the simple fact that the end user system is capable of connecting at 1000baseTX. Anybody have any suggestions? I'm hoping I'm wrong. I'd rather not do an in-place upgrade, this is a production system and the main gateway for an entire school, when I do not even know for sure whether this will fix the problem. It's worth it to me though, having a 1000baseTX uplink from the switch would remove a major bottleneck for me. Any help would be appreciated. -- James Tanis Technical Coordinator Computer Science Department Monsignor Donovan Catholic High School ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
On Thu, May 14, 2009 at 9:12 AM, James Tanis jta...@mdchs.org wrote: I have a FreeBSD v7.0 box it has two Intel Pro/1000 NICs, the one in question is: em1: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port 0x2020-0x203f mem 0xd806-0xd807,0xd804-0xd805 irq 19 at device 0.1 on pci4 what we get after boot is: em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:xx:xx:xx inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active The problem is that the NIC refuses to connect at 1000baseTX. It's connected to a HP Procurve 1700-24 switch which supports 1000baseTX on ports 23 and 24. This particular computer is connected on port 24. I have a much older end user system which uses the same card (but earlier revision), runs Windows XP and is plugged in to port 23. The end user system has no problem connecting at 1000baseTX. I have of course tried switching ports. Attempting to force 1000baseTX via: ifconfig em1 media 1000baseTX mediaopt full-duplex gets me: status: no carrier After forcing the NIC to go 1000baseTX the LEDs on the backpane are both off. I can only come to the conclusion that this is a driver issue based on previous experience and the simple fact that the end user system is capable of connecting at 1000baseTX. Anybody have any suggestions? I'm hoping I'm wrong. I'd rather not do an in-place upgrade, this is a production system and the main gateway for an entire school, when I do not even know for sure whether this will fix the problem. It's worth it to me though, having a 1000baseTX uplink from the switch would remove a major bottleneck for me. Any help would be appreciated. -- James Tanis Technical Coordinator Computer Science Department Monsignor Donovan Catholic High School I'm going to point the finger at the possibility of the Ethernet cable itself. Gigabit link requires CAT5e or better (CAT6). A CAT5 alone is NOT enough to give gigabit speeds. Check the markings on the cable, replace if it's not a 5e or 6 and try again. This includes the discussion of proper terminating and twist requirements. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
In response to James Tanis jta...@mdchs.org: I have a FreeBSD v7.0 box it has two Intel Pro/1000 NICs, the one in question is: em1: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port 0x2020-0x203f mem 0xd806-0xd807,0xd804-0xd805 irq 19 at device 0.1 on pci4 what we get after boot is: em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:xx:xx:xx inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active The problem is that the NIC refuses to connect at 1000baseTX. It's connected to a HP Procurve 1700-24 switch which supports 1000baseTX on ports 23 and 24. This particular computer is connected on port 24. I have a much older end user system which uses the same card (but earlier revision), runs Windows XP and is plugged in to port 23. The end user system has no problem connecting at 1000baseTX. I have of course tried switching ports. Attempting to force 1000baseTX via: ifconfig em1 media 1000baseTX mediaopt full-duplex gets me: status: no carrier After forcing the NIC to go 1000baseTX the LEDs on the backpane are both off. I can only come to the conclusion that this is a driver issue based on previous experience and the simple fact that the end user system is capable of connecting at 1000baseTX. Anybody have any suggestions? I'm hoping I'm wrong. I'd rather not do an in-place upgrade, this is a production system and the main gateway for an entire school, when I do not even know for sure whether this will fix the problem. It's worth it to me though, having a 1000baseTX uplink from the switch would remove a major bottleneck for me. While it's _possible_ that this is a driver issue, it's much more likely (in my experience) that it's a mismatch between the two network devices (the HP and the NIC). Try forcing on both ends (I assume the Procurve will allow you to do that). One thing I've seen consistently is that if you force the speed/duplex on one end, the other end will still try to autoneg, and will end up with something stupid like 100baseT/half-duplex, or will give up and disable the port. Also, try autoneg on both ends. Make absolutely sure the Procurve is set to autoneg. Replace the cable. If the cable is marginal, autoneg will downgrade the speed to ensure reliability. Use a cable that you know will produce 1000baseTX because you've tested it on other systems. Try switching out the NIC. Manufacturing QA isn't 100% reliable, sometimes you get a card that's just flaky. Hope this helps. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: php5 pcre
On Thu, 14 May 2009, gdn wrote: Hi all! I'm using on CURRENT apache22 with php5. When I install php5-extensions, all packages make fine. But module pcre not work. -- php -m [PHP Modules] bz2 date libxml mbstring mysql pdf pdo_dblib Reflection session SimpleXML standard xml xmlrpc zip zlib [Zend Modules] - Log file of php: -- [14-May-2009 18:04:50] PHP Warning: PHP Startup: Unable to load dynamic librar y '/usr/local/lib/php/20060613/pcre.so' - /usr/local/lib/php/20060613/pcre.so: Undefined symbol quot;php_pcre_freequot; in Unknown on line 0 [14-May-2009 18:04:50] PHP Warning: Cannot load module 'PDO' because required module 'spl' is not loaded in Unknown on line 0 --- Haw fix this problem? Thanks, Dmitry. Please go back to directory /usr/ports/lang/php5-extensions run make config and select PCRE and SPL among the extensions Usually it is selected by default along with CTYPE, DOM, FILTER, HASH, ICONV, JSON, PDO, PDO_SQLITE, POSIX, SESSION, SIMPLEXML, SQLITE, TOKENIZER, XML, XMLREADER, XMLWRITER. Please try a re-build and confirm. thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it serves no purpose except foot-shooting. - csh cannot redirect stderr seperately from stdout - on pipes the exit status from the first command is the exit status of the total command - will not expand matches without a user provided part, for *every* component of a path There's plenty of reasons not to use csh and if you know what you're doing, BSD lets you. And no, I don't want to type exec zsh when I'm finally logged into the box that has a load of 100+. I think the problem with that is he meant changing the root shell to /usr/local/bin/bash. You're better off using /bin/sh if you want a Bourne-type shell, or using toor with /usr/local/bin/bash. I've never understood the resistance to just use toor instead of root if one wants a nonstandard administrative shell. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Anonymous: It is easier to measure something than to understand what you have measured. pgpLxGzSrBdxA.pgp Description: PGP signature
Re: scrotwm can't find bsd.prog.mk
On Thursday 14 May 2009 10:54:43 Saifi Khan wrote: Hi: Trying to compile scrotwm (from OpenBSD ports) http://www.peereboom.us/scrotwm/html/scrotwm.html on my FreeBSD 8.x 200905 i386 system. and make can't find .include bsd.prog.mk .include bsd.xorg.mk The directory /usr/ports/Mk/ has bsd.xorg.mk file but not bsd.prog.mk The OpenBSD ports system is not the same as the FreeBSD ports one. FreeBSD ports all use bsd.port.mk, which pulls in prog.mk from /usr/share/mk automagically. xorg.mk is also automagically pulled in when USE_XORG is set. You need to port the port, compile by hand or ask someone to port the port. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
Bill Moran wrote: In response to James Tanis jta...@mdchs.org: .. snip .. Attempting to force 1000baseTX via: ifconfig em1 media 1000baseTX mediaopt full-duplex gets me: status: no carrier After forcing the NIC to go 1000baseTX the LEDs on the backpane are both off. I can only come to the conclusion that this is a driver issue based on previous experience and the simple fact that the end user system is capable of connecting at 1000baseTX. Anybody have any suggestions? I'm hoping I'm wrong. I'd rather not do an in-place upgrade, this is a production system and the main gateway for an entire school, when I do not even know for sure whether this will fix the problem. It's worth it to me though, having a 1000baseTX uplink from the switch would remove a major bottleneck for me. Try forcing on both ends (I assume the Procurve will allow you to do that). One thing I've seen consistently is that if you force the speed/duplex on one end, the other end will still try to autoneg, and will end up with something stupid like 100baseT/half-duplex, or will give up and disable the port. Ok, I just did that -- I have now attempted to force 1000baseTX on both sides and on one side while the other was left auto, all three possible combinations resulted in the same behavior (no carrier). Also, try autoneg on both ends. Make absolutely sure the Procurve is set to autoneg. This was the original set up. It is also how I have it set up currently, it results in 100baseTX full-duplex on both sides. Replace the cable. If the cable is marginal, autoneg will downgrade the speed to ensure reliability. Use a cable that you know will produce 1000baseTX because you've tested it on other systems. Well, I don't have any verified working cable of the appropriate length so I simply switched out the cables for the main server and the backup server. They are both cat6 cables crimped with cat5e modules by me. For what reason (bad crimp job?) that seemed to fix the issue. Thanks for the advice! -- James Tanis Technical Coordinator Computer Science Department Monsignor Donovan Catholic High School ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: virtual network with qemu
On Thu, May 14, 2009 at 07:53:32AM +0200, marco.borsat...@poste.it wrote: Hi to all. I'd like to implement a little virtual network using QEMU 0.10.2, but, until now, I have failed. This is the situation. Host: AMD 64 running FreeBSD 7.2 #ifconfig nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=10bRXCSUM,TXCSUM,VLAN_MTU,TSO4 ether 00:15:f2:44:2d:f9 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 I've create an image using the FreeBSD 7.2 DVD: #qemu-img create -f qcow2 hda fbsd72.img 10G The image has been created. #qemu -L /usr/local/share/qemu/ -cdrom /dev/acd0 -m 512 -boot d fbsd72.img Alfter a long time, the installation of the guest system has been completed. It would probably be faster to use a FreeBSD ISO image instead of the real CD drive. When the installation program asked for information about network configuration, as a first step, I chose DHCP configuration and, as usualy, the network has been set like this: IP 10.0.2.15/255.255.255.0 gateway 10.0.2.2 nameserver 10.0.2.3 When the installation of the guest PC was finished, I've copied the image to pc01.img, to keep the original untouched. After that I've started qemu like this: #qemu -L /usr/local/share/qemu -localtime -net nic,macaddr=00:15:f2:44:2d:01 -net socket,mcast=230.0.0.1:1234 -hda pc01.img -cdrom /dev/acd0 but the network in the guest system does not work. Try the following command instead: qemu -L /usr/local/share/qemu -localtime -net nic -net user -hda pc01.img Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpASfY2VzOsL.pgp Description: PGP signature
Re: ipnat port-range
alexus said the following on 2009-05-13 20:09: On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote: i need to redirect bunch of ports, or port-range from outside to my jail # /etc/rc.d/ipnat reload /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES. /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f /etc/ipnat.rules 0 entries flushed from NAT table 2 entries flushed from NAT list syntax error error at port-range, line 8 # grep port-range /etc/ipnat.rules rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp # that rule is wrong to begin with as rdr doesn't work with ranges, i guess I need to use something else.. anyone done something like that? use ipnat to map range of ports? this is for ftp PASV Have you tried this? # $FreeBSD: src/share/examples/ipfilter/ipnat.conf.sample,v 1.1.34.1 2008/11/25 02:59:29 kensmith Exp $ map ed1 192.168.0.0/24 - 192.168.1.110/32 portmap tcp/udp 4:65000 map ed1 192.168.0.0/24 - 192.168.1.110/32 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
2009/5/14 Chad Perrin per...@apotheon.com: On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it serves no purpose except foot-shooting. - csh cannot redirect stderr seperately from stdout - on pipes the exit status from the first command is the exit status of the total command - will not expand matches without a user provided part, for *every* component of a path There's plenty of reasons not to use csh and if you know what you're doing, BSD lets you. And no, I don't want to type exec zsh when I'm finally logged into the box that has a load of 100+. I think the problem with that is he meant changing the root shell to /usr/local/bin/bash. You're better off using /bin/sh if you want a Bourne-type shell, or using toor with /usr/local/bin/bash. I've never understood the resistance to just use toor instead of root if one wants a nonstandard administrative shell. People don't seem to understand that toor and root are equivalent. Or their muscle memory says 'root'! -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update: cannot open files/.gz: No such file or directory
I've been trying every few days to update from 7.1-P5 to 7.2 using freebsd-update. It always goes as follows: statler # freebsd-update upgrade -r 7.2-RELEASE Looking up update.FreeBSD.org mirrors... 6 mirrors found. Fetching metadata signature for 7.1-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. WARNING: This system is running a statler kernel, which is not a kernel configuration distributed as part of FreeBSD 7.1-RELEASE. This kernel will not be updated: you MUST update the kernel manually before running /usr/sbin/freebsd-update install. The following components of FreeBSD seem to be installed: src/base src/sys world/base world/dict world/games world/info world/manpages The following components of FreeBSD do not seem to be installed: kernel/generic src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/tools src/ubin src/usbin world/catpages world/doc world/proflibs Does this look reasonable (y/n)? y Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.1-RELEASE for merging... done. Preparing to download files... done. /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory snip - a bunch of these repeat Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/mail/mailer.conf Press Enter to edit this file in vi and resolve the conflicts manually... ^C Any thoughts? Thanks for your time! -- Brian Hoort ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make.conf options based on DESTDIR?
On Wednesday 13 May 2009 20:16:47 David Wassman wrote: I have setup several jails that use a master template similar to the advanced jail configuration in the handbook. Currently, I build the master jail with several build options turned off using a separate make.conf file and setting __MAKE_CONF to it. I was wondering if there is a way to set /etc/make.conf up so that if DESTDIR is set to the master jail location, make would use those options but not use them during a standard build process with DESTDIR not defined or pointed somewhere else. I have read through the man pages on make and make.conf, and have tried: .if DESTDIR=/usr/Jail/master WITHOUT_ACPI=YES WITHOUT_BOOT=YES ... .endif Almost: # head -3 /etc/make.conf .if defined(DESTDIR) (${DESTDIR:M/usr/jails/tpl} != ) WITH_FOO=yes .endif # cat Makefile all: @echo WITH_FOO=${WITH_FOO} # make WITH_FOO= # make DESTDIR=/usr/jails/tpl WITH_FOO=yes -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
On Thursday 14 May 2009 12:38:30 Chris Rees wrote: 2009/5/13 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: Kind of like how those coming over from a Linux environment all seem to want to change root's shell to bash, it serves no purpose except foot-shooting. - csh cannot redirect stderr seperately from stdout - on pipes the exit status from the first command is the exit status of the total command - will not expand matches without a user provided part, for *every* component of a path There's plenty of reasons not to use csh and if you know what you're doing, BSD lets you. And no, I don't want to type exec zsh when I'm finally logged into the box that has a load of 100+. I think the problem with that is he meant changing the root shell to /usr/local/bin/bash. You're better off using /bin/sh if you want a Bourne-type shell, or using toor with /usr/local/bin/bash. sh is worse then csh. And I said if you know what you're doing. My root shell is less prone to break then the standard csh shell, because I compile it statically (and also on the / partition). On Thursday 14 May 2009 18:03:25 Chad Perrin wrote: I've never understood the resistance to just use toor instead of root if one wants a nonstandard administrative shell. Habit, mostly. toor is one way of doing things, just changing the shell is the other. Maybe it's my paranoia that I might be running software that does string matches for root logins, rather then uid to disallow access ;) -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
csup source tree as of a certian date
hello, I would like to know how to obtain the FreeBSD -CURRENT source tree as of 4-29-2009 (anywhere in that day is fine) I normally run this command to follow -CURRENT csup -g -L 2 -h cvsup15.freebsd.org /usr/share/examples/cvsup/standard-supfile as my kernel now panics on a i386 kernel as of today, as well as 5-1-2009 (A source tree I had on a alternate machine) What would I have to modify to move my source tree back to say the april 29th or so? I have a kernel from 4-13-2009 that works fine. so I have a window to track down the trouble. Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
On Wednesday 13 May 2009 09:21:46 manish jain wrote: I want to move vi to /bin so that I have an editor available in single-user mode. The only reason to need an editor and not have /usr and /var available is to edit /etc/fstab. It is trivial to spot errors with /rescue/cat and fix with /rescue/sed, without having to worry about a terminal. In all other cases: fsck -p /etc/rc.d/mountcritlocal start /etc/rc.d/ldconfig start And one can use any editor one would want. Don't forget to export or setenv TERM to cons25 from 'dumb'. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: virtual network with qemu
marco.borsat...@poste.it wrote: Thank you twice: the communication between 2 virtual PCs works. Now should I configure another virtual PC as a gateway with a netmask, say, 255.0.0.0? The virtual PC have a calss B netmask. Yes, read bellow. I will also try the tools I've suggested to me. All IP addressing is pretty much automated in imunes, so you can create quickly the needed simulation environment. It's also somehow integrated with quagga, so you can use dynamic routing(OSPF, RIP, BGP and maybe IS-IS) besides static routing. But, anyway, it's a time saver to have all network interfaces configured automatically by the program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /tmp/security on 7.1-Release
On Thursday 14 May 2009 08:35:40 Zbigniew Szalbot wrote: Hello, Ever since upgrading from 7.0-Release to 7.1-Release I get the following in the daily security reports: master.lc-words.com kernel log messages: +++ /tmp/security.yMzCQbS8 2009-05-13 03:01:25.0 +0200 +re0: watchdog timeout +re0: link state changed to DOWN +re0: link state changed to UP It just happens around 3 a.m. each day and so I wonder if I should be concerned about it...? Thank you in advance for your suggestions! I can bet it's NIC related problem, probably your re0 is sharing IRQ with something and it's going up/down. The time you see (~3.oo AM) is the moment periodic works, so it doesn't mean the problem happend then. I've seen similar problems on cheap PC hardware with integrated NIC and/or external PCI NIC (re/rl/em). Search for 're0: watchdog timeout' on google. The solution is to replace re with something else - em for example, but there is no guarantee it's going to work - I had same problems on crappy hardware with two identical interfaces plugged in (some model of em - IRRC Intel PRO/1000 GT) Yes, you are most likely right but I am left wondering why this has never been a problem on 7.0-Release...? Run a 7.0-RELEASE kernel to be sure of this. It can just be that the hardware went bad around the same time you upgraded. Bad cable or negotiation with a switch are also causes of this. See the DIAGNOSTICS section of the re driver. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: csup source tree as of a certian date
On Thu, 14 May 2009 12:45:51 -0500 Sam Fourman Jr. said: hello, I would like to know how to obtain the FreeBSD -CURRENT source tree as of 4-29-2009 (anywhere in that day is fine) I normally run this command to follow -CURRENT csup -g -L 2 -h cvsup15.freebsd.org /usr/share/examples/cvsup/standard-supfile as my kernel now panics on a i386 kernel as of today, as well as 5-1-2009 (A source tree I had on a alternate machine) What would I have to modify to move my source tree back to say the april 29th or so? I have a kernel from 4-13-2009 that works fine. so I have a window to track down the trouble. Sam Fourman Jr. Have you tried: *default date=2009.04.28.23.59.59 Back when I had to get the old XOrg, *default date' in my ports-supfile returned me to sanity ... -- Don Readdon_r...@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: csup source tree as of a certian date
Have you tried: *default date=2009.04.28.23.59.59 Back when I had to get the old XOrg, *default date' in my ports-supfile returned me to sanity ... -- Don Read don_r...@att.net Worked Great, Thanks Don, although 4-29-2009 still caused the panic I could see from the csup output that I was getting the date specified. I will just keep going back further. Thanks Again. Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
In response to James Tanis jta...@mdchs.org: Bill Moran wrote: Replace the cable. If the cable is marginal, autoneg will downgrade the speed to ensure reliability. Use a cable that you know will produce 1000baseTX because you've tested it on other systems. Well, I don't have any verified working cable of the appropriate length so I simply switched out the cables for the main server and the backup server. They are both cat6 cables crimped with cat5e modules by me. For what reason (bad crimp job?) that seemed to fix the issue. QC on patch cables is sketchy. Most places are usually good, but even the best companies will have a bad crimp every now and again. Add to that how they are generally handled ... I mean, statistically there's a good chance that cable was on the floor and someone stepped on it or something ... -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Welcome to the freebsd-questions mailing list
2009/5/14 Saifi Khan saifi.k...@twincling.org: On Wed, 13 May 2009, Sean Cavanaugh wrote: -- From: Saifi Khan saifi.k...@twincling.org Sent: Wednesday, May 13, 2009 9:04 PM To: Sean Cavanaugh millenia2...@hotmail.com Cc: jerr...@msu.edu; korikov...@gmail.com; freebsd-questions@freebsd.org Subject: RE: Welcome to the freebsd-questions mailing list On Wed, 13 May 2009, Sean Cavanaugh wrote: (The true nomenclature is GNU/Linux when refering to a Linux based OS). Not true. Please see http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy thanks Saifi. based on the wiki page (which we ALL know is NEVER wrong) states that GNU/Linux is the correct form and the ONLY reason for calling it just Linux is that its easier to say and that's how its known overall in mainstream media. based on Linus Torvalds (which we ALL know is RIGHT) states that when asked if the name GNU/Linux was justified: Well, I think it's justified, but it's justified if you actually make a GNU distribution of Linux ... the same way that I think that Red Hat Linux is fine, or SuSE Linux or Debian Linux, because if you actually make your own distribution of Linux, you get to name the thing, but calling Linux in general GNU Linux i I think is just ridiculous. (G)ot (N)othing (U)nique takes years since 1989 for http://is.gd/zGZh Hope this helps. thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org [ch...@amnesiac]~% echo http://en.wikipedia.org/wiki/GNU_Hurd; | wc -c 38 [ch...@amnesiac]~% echo http://is.gd/zGZh |wc -c 18 Seriously, please don't obfuscate URLs when there's no real need to. Those of us who are careful prefer not to follow strange looking links; it's counterproductive. is.gd and tinyurl are great if you have to type in monstrous links like http://port25.technet.com/archive/2006/10/13/Using-Vista_2700_s-Boot-Manager-to-Boot-Linux-and-Dual-Booting-with-BitLocker-Protection-with-TPM-Support.aspx However, there's no need when it's either copy-paste or click, and just confuses things. Also, Torvalds talks about stuff like that far too much. It's only fair to call it GNU/Linux; it IS GNU on top of the Linux kernel. It's like calling Mac OS X Darwin, or NeXTSTEP Mach (or worse, FreeBSD!). Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Announcing: FreeBSD custom build iso available
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I believe this list (and probably the forums) would be the best place to announce one of my little projects, namely the building of custom FreeBSD install discs (DVD sized for desktops, CD sized for servers) with the latest release and updated packages. I have been experimenting lately with 'make release' and ports' building using ports-mgmt/tinderbox. I am using a dedicated system for building the base system and packages. The purpose of this experiment (besides the educational value of it) is to allow me to build FreeBSD discs with custom and up to date packages. These will in turn reduce significantly the amount of time required to install new systems (esp. desktops which need hundred of packages). Glen Barber, who is also frequenting this list, has once again offered (as with the openoffice packages) lots of his webspace and bandwidth, allowing me to host the images so others can also benefit from this work. At this time, the first image is already uploaded and you can obtain it from this directory: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/ This is just short of 1GB and contains the following: - - FreeBSD 7.2-RELEASE base system (standard bootable / installable disc) - - Selection of custom packages that can be installed either during installation via sysinstall or at a later time (again using sysinstall or pkg_add etc). Here is a short list of packages contained in this: abiword, aspell, bash, bluefish, cdrtools, dvd+rw-tools, firefox3, gimp, gnash, evince, gnumeric, gnupg1, inkscape, pkg_rmleaves, portaudit, portupgrade, rar, unrar, zip, unzip, sudo, ristretto, samba3, thunderbird, wbar, xfce4, some xfce4 plugins, xfburn, xorg, linux_base-fc4 Many other useful packages are also included as dependencies of the ones listed above. This iso does not contain openoffice (to keep the size smaller) and multimedia apps (to avoid licensing problems). Future versions of the builds may have broader / different selection of packages, depending on the feedback received by the community. Installation is no different than an official FreeBSD CD, other than when you reach the package selection screen, you will be shown the custom set of packages. The ports tree included in the CD is the one used to actually build the packages. I will soon upload a tarball with the options used - not all packages where built with the default options. When you finish downloading, I recommend checking the integrity of the file using the MD5 or SHA256 file that are also present in the download directory. An 'asc' gpg signature file is also present and can be used to verify the authenticity of the download. This is particularly important if you obtain the iso file from means other than the download link supplied here. It is signed with the same key as this email. Obviously I can built many different images (only 32bit for the moment though), like i.e. a GNOME or KDE4 version. I started up with XFCE since this is not provided by default in the official isos. I also intend to track the FreeBSD 7.2-RELEASE security branch for the base system. Feedback, ideas, requests, criticism are all welcome. Please contact me via email. Thanks! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoMgFoACgkQZ/MxGm4PtJSdoQCZAcCoft/pVTPMyj6Fm4Z9pMJ4 Kv4An2+ChNBDb1vyMIurznRgv21Tb8if =K/O7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Announcing: FreeBSD custom build iso available
2009/5/14 Manolis Kiagias sonic200...@gmail.com: Hey all, I believe this list (and probably the forums) would be the best place to announce one of my little projects, namely the building of custom FreeBSD install discs (DVD sized for desktops, CD sized for servers) with the latest release and updated packages. snip Nice work - I'll be looking at this. Excellent service to the community, sir. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis0 interrrupt storm
Paul B. Mahol wrote: On 5/13/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: On 5/12/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: Just typing bt on db prompt for now should be enough. panic: sleeping thread cpuid = 0 KDB: enter: panic [thread pid 1497 tid 100073 ] Stopped atkdb_enter+0x3a: movl$0,kdb_why db bt Tracing pid 1497 tid 100073 td 0xc356c900 kdb_enter(c0c3d8fa,c0c3d8fa,c0c42726,d4001b68,0,...) at kdb_enter+0x3a panic(c0c42726,,0,cc,4,...) at panic+0x136 propagate_priority(c0d9df84,0,c0c4249e,2e1,c356d180,...) at propagate_priority+0x18c turnstile_wait(c356d180,c37b2240,0,18d,c34fc06c,...) at turnstile_wait+0x44d _mtx_lock_sleep(c34fc06c,c356c900,0,c38de072,6b4,...) at mtx_lock_sleep+0x18e _mtx_lock_flags(c34fc06c,0,c38de072,6b4,c089dc98,...) at mtx_lock_flags+0xf7 ndis_ticktask(c3821700,c34fc000,c37e8e3c,c3916bd0,c38fc6e0,...) at ndis_ticktask+0x3a _end(c37e8e3c,d4001d38,c0c39438,333,c37ab548,...) at _end+0x321d fork_exit(c38fc600,c37e8e3c,d4001d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0 esp = 0xd4001d70, ebp = 0 --- Typed by hand but I'm pretty sure it is correct. Don't know if it is significant but repeating the panic gave quite a few different values. Post them too. If only numbers are different and stack is same that could help even more. Is photos ok or do you need text? Whatever, just let it be complete. http://www.fishercroft.plus.com/ndis.panic.bt.1 http://www.fishercroft.plus.com/ndis.panic.bt.2 http://www.fishercroft.plus.com/ndis.panic.bt.3 http://www.fishercroft.plus.com/ndis.panic.bt.4 This is on i386? yes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
abiword wierdness
I installed abiword from the 7.2-release binaries online. When I try to type, the cursor doesn't move forward and the characters are appearing on top of the previous characters. Is anyone else having this problem? Any suggestions? Thanks, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: abiword wierdness
Andrew Gould wrote: I installed abiword from the 7.2-release binaries online. When I try to type, the cursor doesn't move forward and the characters are appearing on top of the previous characters. Is anyone else having this problem? Any suggestions? Thanks, Andrew It happened to me recently. I think it was fixed when I installed few true type fonts from ports. Try x11-fonts/webfonts, dejavu, urwfonts-ttf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: abiword wierdness
On Thu, May 14, 2009 at 4:07 PM, Manolis Kiagias son...@otenet.gr wrote: Andrew Gould wrote: I installed abiword from the 7.2-release binaries online. When I try to type, the cursor doesn't move forward and the characters are appearing on top of the previous characters. Is anyone else having this problem? Any suggestions? Thanks, Andrew It happened to me recently. I think it was fixed when I installed few true type fonts from ports. Try x11-fonts/webfonts, dejavu, urwfonts-ttf Thanks. I'll do that tonight. Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: In search of a video card
On Thu, 14 May 2009, Rick C. Petty wrote: I just bought an nVidia and an ATI on newegg for under $30 each (plus mail-in rebates), buth PCI x16, DVI+VGA, 512MB. I have tried them both on amd64 and this is what I've discovered: - The ATI is quite fast for xvideo (via mplayer) and somewhat fast on 3D, there seems to be some cursor-related artifacts (I've tried a number of cards with the same results). If you mean flickering lines around the cursor in certain screen columns, try a software cursor. The downside of that is that X coredumps when you switch back to it from vty: https://bugs.freedesktop.org/show_bug.cgi?id=21275 -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Solved: RE: abiword weirdness
On Thu, May 14, 2009 at 4:07 PM, Manolis Kiagias son...@otenet.gr wrote: Andrew Gould wrote: I installed abiword from the 7.2-release binaries online. When I try to type, the cursor doesn't move forward and the characters are appearing on top of the previous characters. Is anyone else having this problem? Any suggestions? Thanks, Andrew It happened to me recently. I think it was fixed when I installed few true type fonts from ports. Try x11-fonts/webfonts, dejavu, urwfonts-ttf That did the trick! Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: subversion / dav_svn_module : Fatal error 'Recurse on a private mutex.'
Hi Mel, On Wed, 2009-05-13 at 22:21 +0200, Mel Flynn wrote: I'm still thinking there's two different (threading|bdb) libraries linked into httpd, but not sure to ask for which ldd...httpd or mod_dav. The db version could be a red herring or that only one of the formats requires this mutex . This is how it currently looks:(I'll try recompiling some packages later next week): $ ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libz.so.3 = /lib/libz.so.3 (0x800681000) libaprutil-0.so.9 = /usr/local/lib/apache2/libaprutil-0.so.9 (0x800795000) libdb-4.2.so.2 = /usr/local/lib/libdb-4.2.so.2 (0x8008ab000) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x800a87000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x800ba9000) libapr-0.so.9 = /usr/local/lib/apache2/libapr-0.so.9 (0x800da2000) libm.so.4 = /lib/libm.so.4 (0x800ec2000) libcrypt.so.3 = /lib/libcrypt.so.3 (0x800fde000) libc.so.6 = /lib/libc.so.6 (0x8010f7000) $ ldd /usr/local/libexec/apache2/mod_dav_svn.so /usr/local/libexec/apache2/mod_dav_svn.so: libsvn_repos-1.so.0 = /usr/local/lib/libsvn_repos-1.so.0 (0x800964000) libsvn_fs-1.so.0 = /usr/local/lib/libsvn_fs-1.so.0 (0x800a8b000) libsvn_delta-1.so.0 = /usr/local/lib/libsvn_delta-1.so.0 (0x800b91000) libsvn_subr-1.so.0 = /usr/local/lib/libsvn_subr-1.so.0 (0x800c9c000) libintl.so.8 = /usr/local/lib/libintl.so.8 (0x800de8000) libaprutil-0.so.9 = /usr/local/lib/apache2/libaprutil-0.so.9 (0x800ef1000) libdb-4.2.so.2 = /usr/local/lib/libdb-4.2.so.2 (0x801007000) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x8011e3000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x801305000) libapr-0.so.9 = /usr/local/lib/apache2/libapr-0.so.9 (0x8014fe000) libm.so.4 = /lib/libm.so.4 (0x80161e000) libcrypt.so.3 = /lib/libcrypt.so.3 (0x80173a000) libsvn_fs_fs-1.so.0 = /usr/local/lib/libsvn_fs_fs-1.so.0 (0x801853000) libsvn_fs_base-1.so.0 = /usr/local/lib/libsvn_fs_base-1.so.0 (0x801978000) libsvn_fs_util-1.so.0 = /usr/local/lib/libsvn_fs_util-1.so.0 (0x801aa3000) libz.so.3 = /lib/libz.so.3 (0x801ba5000) libsqlite3.so.8 = /usr/local/lib/libsqlite3.so.8 (0x801cb9000) libpthread.so.2 = /lib/libpthread.so.2 (0x801e23000) $ ldd /usr/local/bin/svn /usr/local/bin/svn: libsvn_client-1.so.0 = /usr/local/lib/libsvn_client-1.so.0 (0x800653000) libsvn_wc-1.so.0 = /usr/local/lib/libsvn_wc-1.so.0 (0x800796000) libsvn_ra-1.so.0 = /usr/local/lib/libsvn_ra-1.so.0 (0x8008da000) libsvn_diff-1.so.0 = /usr/local/lib/libsvn_diff-1.so.0 (0x8009e4000) libsvn_ra_local-1.so.0 = /usr/local/lib/libsvn_ra_local-1.so.0 (0x800aee000) libsvn_repos-1.so.0 = /usr/local/lib/libsvn_repos-1.so.0 (0x800bf6000) libsvn_fs-1.so.0 = /usr/local/lib/libsvn_fs-1.so.0 (0x800d1d000) libsvn_fs_fs-1.so.0 = /usr/local/lib/libsvn_fs_fs-1.so.0 (0x800e23000) libsvn_fs_base-1.so.0 = /usr/local/lib/libsvn_fs_base-1.so.0 (0x800f48000) libsvn_fs_util-1.so.0 = /usr/local/lib/libsvn_fs_util-1.so.0 (0x801073000) libsvn_ra_svn-1.so.0 = /usr/local/lib/libsvn_ra_svn-1.so.0 (0x801175000) libsvn_ra_neon-1.so.0 = /usr/local/lib/libsvn_ra_neon-1.so.0 (0x801288000) libsvn_delta-1.so.0 = /usr/local/lib/libsvn_delta-1.so.0 (0x8013aa000) libsvn_subr-1.so.0 = /usr/local/lib/libsvn_subr-1.so.0 (0x8014b5000) libsqlite3.so.8 = /usr/local/lib/libsqlite3.so.8 (0x801601000) libpthread.so.2 = /lib/libpthread.so.2 (0x80176b000) libaprutil-0.so.9 = /usr/local/lib/apache2/libaprutil-0.so.9 (0x801896000) libdb-4.2.so.2 = /usr/local/lib/libdb-4.2.so.2 (0x8019ac000) libapr-0.so.9 = /usr/local/lib/apache2/libapr-0.so.9 (0x801b88000) libm.so.4 = /lib/libm.so.4 (0x801ca8000) libneon.so.28 = /usr/local/lib/libneon.so.28 (0x801dc4000) libssl.so.4 = /usr/lib/libssl.so.4 (0x801ee7000) libz.so.3 = /lib/libz.so.3 (0x80201f000) libgssapi.so.8 = /usr/lib/libgssapi.so.8 (0x802133000) libkrb5.so.8 = /usr/lib/libkrb5.so.8 (0x802242000) libasn1.so.8 = /usr/lib/libasn1.so.8 (0x802386000) libcrypto.so.4 = /lib/libcrypto.so.4 (0x8024af000) libroken.so.8 = /usr/lib/libroken.so.8 (0x8026f6000) libcrypt.so.3 = /lib/libcrypt.so.3 (0x802804000) libcom_err.so.3 = /usr/lib/libcom_err.so.3 (0x80291d000) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x802a1f000) libintl.so.8 = /usr/local/lib/libintl.so.8 (0x802b41000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x802c4a000) libc.so.6 = /lib/libc.so.6 (0x802e43000) regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to
Re: Wake-on-LAN support in FreeBSD?
I just noticed my 7.2-R i386 PC-Engines ALIX2 board with vr devices show up (WOL_UCAST,WOL_MAGIC) in the ifconfig listing. Seems they're making some of it available in 7.2-RELEASE I'll have to test/try this out, I'm glad I'm starting to see it happen. Unfortunately we're pretty much stuck on 7.0... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
Well, I don't have any verified working cable of the appropriate length so I simply switched out the cables for the main server and the backup server. They are both cat6 cables crimped with cat5e modules by me. For what reason (bad crimp job?) that seemed to fix the issue. On stranded cable, it often happens that some wire will swap when you insert the connector. Remember that to work at gigabit, you need the four twisted pairs to be properly set: more risks to make a mistake... I know I prefer to buy my patch cords (stranded cables) ready made, while I can do the wall wiring (solid cable) by myself. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Announcing: FreeBSD custom build iso available
#secure method=pgpmime mode=sign On Thu, 14 May 2009 23:34:34 +0300, Manolis Kiagias sonic200...@gmail.com wrote: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/ This is just short of 1GB and contains the following: - FreeBSD 7.2-RELEASE base system (standard bootable / installable disc) - Selection of custom packages that can be installed either during installation via sysinstall or at a later time (again using sysinstall or pkg_add etc). Hi Manoli, I just installed one of the freebies from FOSSCOMM minutes ago, and everything seems to work fine. Thanks! pgp18XFu3DxPp.pgp Description: PGP signature
Emailing 100+ PDFs, one at a time, to a given address
I need to email 100s of PDFs, 1 per email, to a given address. What's the easiest way to do this? /usr/bin/Mail won't work, since PDFs are binary, so I must first BASE64 encode them. I could write a Perl script to BASE64 encode them and MIME-wrap them, but is there an existing tool for this? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emailing 100+ PDFs, one at a time, to a given address
On Thu, May 14, 2009 at 11:20 PM, Kelly Jones kelly.terry.jo...@gmail.com wrote: I need to email 100s of PDFs, 1 per email, to a given address. What's the easiest way to do this? /usr/bin/Mail won't work, since PDFs are binary, so I must first BASE64 encode them. I could write a Perl script to BASE64 encode them and MIME-wrap them, but is there an existing tool for this? If you can install mail/mutt, you can replace (for the most part) /usr/bin/mail with /usr/local/bin/mutt and still script it. HTH -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
On Thu, May 14, 2009 at 12:29:17PM -0400, James Tanis wrote: Bill Moran wrote: In response to James Tanis jta...@mdchs.org: .. snip .. Attempting to force 1000baseTX via: ifconfig em1 media 1000baseTX mediaopt full-duplex gets me: status: no carrier After forcing the NIC to go 1000baseTX the LEDs on the backpane are both off. I can only come to the conclusion that this is a driver issue based on previous experience and the simple fact that the end user system is capable of connecting at 1000baseTX. Anybody have any suggestions? I'm hoping I'm wrong. I'd rather not do an in-place upgrade, this is a production system and the main gateway for an entire school, when I do not even know for sure whether this will fix the problem. It's worth it to me though, having a 1000baseTX uplink from the switch would remove a major bottleneck for me. Try forcing on both ends (I assume the Procurve will allow you to do that). One thing I've seen consistently is that if you force the speed/duplex on one end, the other end will still try to autoneg, and will end up with something stupid like 100baseT/half-duplex, or will give up and disable the port. Ok, I just did that -- I have now attempted to force 1000baseTX on both sides and on one side while the other was left auto, all three possible combinations resulted in the same behavior (no carrier). Also, try autoneg on both ends. Make absolutely sure the Procurve is set to autoneg. This was the original set up. It is also how I have it set up currently, it results in 100baseTX full-duplex on both sides. Replace the cable. If the cable is marginal, autoneg will downgrade the speed to ensure reliability. Use a cable that you know will produce 1000baseTX because you've tested it on other systems. Well, I don't have any verified working cable of the appropriate length so I simply switched out the cables for the main server and the backup server. They are both cat6 cables crimped with cat5e modules by me. For what reason (bad crimp job?) that seemed to fix the issue. This is clear indication of cabling issue. PHY of em(4) will try to fix all cabling problem with auto MDI/MDIX/polarity correction. If the PHY couldn't establish a 1000baseT link with link partner it would downshift to 100baseTX as establishing a 1000baseT link was not possible due to cabling problems(probably missing wiring). Thanks for the advice! -- James Tanis Technical Coordinator Computer Science Department Monsignor Donovan Catholic High School ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
On Thu, 14 May 2009 20:13:02 +0200, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: sh is worse then csh. But sufficient for administration tasks in maintenance mode. It's not that you spend hours of dialog sessions in SUM. Remember: It's a worst case scenario. If everything fails, the /bin/sh still works, and it helps you get things working again. It's not that I would like to use sh as a dialog shell, there are definitely better ones. But it's the system's standard scripting shell, and sufficient for recovering a defective system. And I said if you know what you're doing. My root shell is less prone to break then the standard csh shell, because I compile it statically (and also on the / partition). That's a completely valid solution - better than just chsh and then trouble. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
install both jdk15 and jdk 16 from port
do I will have conflict etc problems when install both jdk15 and jdk 16 from ports? regards -- View this message in context: http://www.nabble.com/install-both-jdk15-and-jdk-16-from-port-tp23553116p23553116.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: issues with Intel Pro/1000 and 1000baseTX
On Thu, May 14, 2009 at 11:54:00AM -0400, Bill Moran wrote: In response to James Tanis jta...@mdchs.org: I have a FreeBSD v7.0 box it has two Intel Pro/1000 NICs, the one in question is: em1: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port 0x2020-0x203f mem 0xd806-0xd807,0xd804-0xd805 irq 19 at device 0.1 on pci4 what we get after boot is: em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:30:48:xx:xx:xx inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active The problem is that the NIC refuses to connect at 1000baseTX. It's connected to a HP Procurve 1700-24 switch which supports 1000baseTX on ports 23 and 24. This particular computer is connected on port 24. I have a much older end user system which uses the same card (but earlier revision), runs Windows XP and is plugged in to port 23. The end user system has no problem connecting at 1000baseTX. I have of course tried switching ports. Attempting to force 1000baseTX via: ifconfig em1 media 1000baseTX mediaopt full-duplex gets me: status: no carrier After forcing the NIC to go 1000baseTX the LEDs on the backpane are both off. I can only come to the conclusion that this is a driver issue based on previous experience and the simple fact that the end user system is capable of connecting at 1000baseTX. Anybody have any suggestions? I'm hoping I'm wrong. I'd rather not do an in-place upgrade, this is a production system and the main gateway for an entire school, when I do not even know for sure whether this will fix the problem. It's worth it to me though, having a 1000baseTX uplink from the switch would remove a major bottleneck for me. While it's _possible_ that this is a driver issue, it's much more likely (in my experience) that it's a mismatch between the two network devices (the HP and the NIC). Try forcing on both ends (I assume the Procurve will allow you to do that). One thing I've seen consistently is that if you force the speed/duplex on one end, the other end will still try to autoneg, and will end up with something stupid like 100baseT/half-duplex, or will give up and disable No, this is not a stupid thing, it's result of parallel detection. See IEEE 802.3 Std 28.2.3.1 for more details. This is one of reason why users should always use 'auto-negotiation' on 1000baseT media. the port. Also, try autoneg on both ends. Make absolutely sure the Procurve is set to autoneg. Replace the cable. If the cable is marginal, autoneg will downgrade the speed to ensure reliability. Use a cable that you know will produce 1000baseTX because you've tested it on other systems. Try switching out the NIC. Manufacturing QA isn't 100% reliable, sometimes you get a card that's just flaky. Hope this helps. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to move vi to /bin
Chris Rees googlemail.com!utis...@agora.rdrop.com wrote: 2009/5/14 Chad Perrin per...@apotheon.com: On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote: I think the problem with that is he meant changing the root shell to /usr/local/bin/bash. You're better off using /bin/sh if you want a Bourne-type shell, or using toor with /usr/local/bin/bash. I've never understood the resistance to just use toor instead of root if one wants a nonstandard administrative shell. People don't seem to understand that toor and root are equivalent. Well, not entirely. su uses root's shell, not toor's, AFAIK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: install both jdk15 and jdk 16 from port
In the last episode (May 14), vuthecuong said: do I will have conflict etc problems when install both jdk15 and jdk 16 from ports? Nope; all the jdk ports install into separate directories. There is a javavmwrapper port that installs as /usr/local/bin/java and decides on the best jvm to use based on some environment variables (see the javavm manpage for details). You can always override its choice by setting JAVA_HOME to whichever jvm you want. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org