Re: Adding interfaces to bridge0
On 10/04/07, Mario Lobo [EMAIL PROTECTED] wrote: hello; This is the situation: Using FreeBSD 6.2-STABLE I have benn using qemu to roll a windows XP machine, using a bridge to interface tap0 and rl0 on the same network my efault route board (xl0) is. I was working great. A few days ago , I updated src/sys (kernel - because of a java issue), recompiled installed. Yesterday I needed to rum XP. I started qemu and windows started fine, the netword hardware came in fine but I had no connectivity ate all. I pinged out from windows but tcpdump would only report packets from tap0. I tried recompiling qemu/kqemu but no change. I closed qemu and tried to set up the bridge manually. That's when I found why: kldload if_bridge ifconfig bridge0 create OK ifconfig bridge0 addm rl0 addm tap0 up ifconfig: BRDGADD rl0: Invalid argument ifconfig: BRDGADD tap0: Invalid argument I have 3 network boards on my machine and this happens when I try to add any of them. Could this be due to kernel out-of-sync with userland? something else? depends how out of sync? if more then a couple of days, you really should keep both userland and kernel in sync as it mos likely the problem. Thanks, -- * //| //| Mario Lobo // |// | http://www.ipad.com.br // // ||| FreeBSD since 2.2.8 - 100% Rwindows-free * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] HTH, -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bind9 in a jail
On 08/04/07, Jonathan Horne [EMAIL PROTECTED] wrote: i was setting up bind9 today in 2 jails. 1 jails is the master, and the other the slave. i am reloading 2 machines that were previously physical machines, into these jails. the master went fine, both internal and external views work as expected. setting up the slave, was not so smooth. i recovered my named.conf from backup, and then removed the external portion of the zones (i dont feel like messing with trouble invovlved with setting up the 2nd ip on the jail). over the past few days while i was setting this up, the master was already in operation, and has had several edits to a few zones. when i reloaded the slave versions from backup into my new slave, and started named, the slaved did not update their zonefiles to match the new serial numbers.i fixed this by stopping named, deleting the zone files, and restarting it again. thankfully, the slave zones all instantly populated, creating matching serial numbers to the ones that are running on the master. do master-to-slave transfers work as expected in a jail, or did i just see some abnormal behavior (possibly due to me not waiting long enough for transfer to happen on its own)? thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] Its an error in your config, as running BIND works perfectly fine under a jail in Master/Slave config for me. Without seeing config, cant really help or maybe better on the BIND mailing list? HTH, -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble with HT
On 6.X including RELENG_6 you need to use the SMP kernel config in src/sys/i386/conf and on CURRENT just use GENERIC kernel config. then add machdep.hyperthreading_allowed =1 to /boot/loader.conf reboot the other factor in HyperThreading which some forgot is whether you BIOS has support, and whether it is enabled. works for me on a 2.8GHz Northwood on Intel 865G. HTH, -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding a host how-to
On 02/04/07, Ilya Vishnyakov [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Freebsd Gurus! I set up the test server with Windows 2003 to play. Now I'm trying to add a hostname to our existing domain: newhostname.domain.com The server runs FreeBSD 6.2 with pf firewall. I added ip address and hostname to /etc/hosts Is there anything else that needs to be done besides that? Did anyone see a good how-to? If you not using DNS server on you network, you need to edit the host file on both systems on FreeBSD as you know has this in /etc and on Windows it is %SystemRoot%\system32\drivers\etc - just remember to keep them in sync, Both Windows and FreeBSD can use the same hosts file. Longterm solution, setup a DNS server. HTH :) -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple versions of PHP
On 02/04/07, patrick [EMAIL PROTECTED] wrote: I have a FreeBSD 6.2 server with Apache 1.3.x and PHP 4.4.x built from ports. I'd like to install PHP 5 from the ports tree, but target its install location to /usr/local/php5 to keep it separate from the PHP 4 stuff. (I'll be running PHP through fastcgi.) I'm wondering if there's a way to do built a port where the install root is different from the default? If not, I'll hand-build PHP5, but I'd much rather take advantage of ports. Thanks, % man 7 ports look for PREFIX HTH, -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding a host how-to
On 02/04/07, Ilya Vishnyakov [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you. The server runs dns service. How do I add it to your DNS server config? We need more info. Who/What is running the DNS server? if it's Windows, look at the documentation or do a web search. Same goes for FreeBSD, although maybe look at this: http://www.arda.homeunix.net/dnssetup.html Jerry McAllister wrote: On Mon, Apr 02, 2007 at 10:54:20AM -0400, Ilya Vishnyakov wrote: Hello Freebsd Gurus! I set up the test server with Windows 2003 to play. Now I'm trying to add a hostname to our existing domain: newhostname.domain.com The server runs FreeBSD 6.2 with pf firewall. I added ip address and hostname to /etc/hosts Is there anything else that needs to be done besides that? Did anyone see a good how-to? Who is doing DNS (name service) for your domain? That entity will need to know about the new hostname. If you are doing DNS for your domain, then you will have to add it to your DNS server config. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGETvgUZGmaUWxLn8RAs/pAKDKbFOjC4A1QcahBybX0ZJhkBHmpACfU2/u sdo7qnno0dUi9xxCmcu1Swk= =96pL -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: updating a jail
On 31/03/07, Jonathan Horne [EMAIL PROTECTED] wrote: im still working on updating 2 jails. i nullfs mounted /usr/src /usr/obj from my host into my jails, and tried to installworld, but got this error: === lib/libcrypt (install) install -C -o root -g wheel -m 444 libcrypt.a /usr/lib install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. the jail manpage is easy enough to follow, but IMO mastering management and maintenance is much more difficult to learn without good documented guidance. i know many have recommended that i try ezjail and such, but im one of those guys who refuses to pay someone to fix my own car until i fully understand why such an operation is too far above my head. same glutton for pain stance for me on computer stuff too... i force myself to understand the canonical methods first, before i start taking advantage of shortcuts. so... how do i get over or past this error? do you fiddle with securelevels? check the file flags on /lib/libcrypt.so.3 with ls -lo also what is value of sysctl security.jail.chflags_allowed ? I used a different strategy: /var/jail/jail0 - contains a full buildworld /var/jail/jail1 - is a unionfs from jail0 /var/jail/jailX - as jail1 jail0 has nfs mounted /usr/src and /usr/obj - this way I can jexec 1 /bin/csh do the whole buildworld mergemaster dance - only thing that is nullfs mounted is /tmp. I also do a mksnap_ffs before updating just incase things break change security.jail.chflags_allowed before and after the installworld part. thanks, jonathan -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about superkaramba
On 30/03/07, freenity [EMAIL PROTECTED] wrote: Hi. Hi I have installed the latest super karamba for kde 3.5.4 on my freebsd 6.2release amd64. I notice SuperKaramba is very Linuxcentric, sadly. I installed a theme called GlassMonitor that is supposed to show some statistics about cpu, memory, disks and internet traffic. It detects some of them but not all. It doesnt detect the cpu frequency, cpu temp, ip address and partitions. I dont know how does karamba work, thats why I need help. Do you know if it can be a problem with the theme, karamba or some kernel configuration?? http://netdragon.sourceforge.net/ssuperkaramba.html - look under Useful Links header. Thanks for any help. p.s. I would like to know where the theme scripts are installed? probably in ~/.kde so typing in find ~/.kde -iname glass* might give some hint as to where may be. -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports maintainer or adopting a port
Hello list Not sure if this is appropriate for this list, basically I am looking to hear from past, current and future ports maintainers: is it fun? what are the requirements? (besides time) what does it mean to you? do you recommend it? best way to get started? what do I need to know about FreeBSD Ports? I am looking at adopting a port or two and looking to gain more insight, maybe someone that can do projects page for ports? which holds a list of unmaintained ports?? -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hacking /boot dir
Hi list, I am currently messing around with one of my /boot directories and would like to create a custom menu. Q1, is there a way to create a ficl binary from /sys/boot ? Q2, is it okay to have one /boot directory shared between CURRENT and RELENG_X ? Q3, other then learning Forth, any tips? I was hacking away at beastie.4th but everytime I create a new menu entry and disable another one, the loader either panics or has BTX crash. so having a ficl binary can make life just a little easier I think. ps. please CC me -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD/Xen
Hello I noticed Kip Macy has recently annouced a new commiter to src, is this any indication that FreeBSD/Xen is closer to reality? will it be available around 6.0-RELEASE? -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.X + More then one kernel
Hello!! How do I install more then one kernel? after I've done the usual $ sudo make buildkernel KERNCONF=MYKERN ... $ sudo make installkernel KERNCONF=MYKERN it always installs to /boot/kernel thank you (and please CC me) Kimi Ostro | [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]