Re: AaaarrrGGGH. linuxpluginrapper and linux-mozilla.
On 10/11/05, Gary Kline [EMAIL PROTECTED] wrote: Sorry for the outburst in subject, but I've been having these problems with linux-mozilla for several days: LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library /home/kline/.mozilla/plugins/mplayerplug-in.so [/home/kline/.mozilla/plugins/mplayerplug-in.so: ELF file OS ABI invalid] Are linux-mozilla and regular FreeBSD mozilla mutually exclusive? Once, I had mplayer-plugin working so that I was actually able to listen to a Windows audio player. Anybody? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Erm, first show us the output of `/compat/linux/sbin/ldconfig -p | grep libX` If there's no libXt or libXext in the output, try this: # echo /usr/X11R6/lib /compat/linux/etc/ld.so.conf # /compat/linux/sbin/ldconfig And check that output again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4-STABLE / 6.0 audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller
On 10/11/05, Miles Keaton [EMAIL PROTECTED] wrote: hi fellow FreeBSD'ers - Looking for audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller. I got a lovely laptop this weekend : the Asus Z71v http://usa.asus.com/products4.aspx?l1=5l2=70l3=0model=609modelmenu=1 Assured by the Linux geek at the store that everything worked great in Linux, I was disappointed to find I can't get the audio working in FreeBSD. (Works in WinXP.) He said it's a Via Vinyl audio card, but doing a `pciconf -lv` says it's an Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller. (Full dump below) This fellow says it's working (in FreeBSD 6.0): http://lists.freebsd.org/pipermail/freebsd-bugs/2005-August/014481.html MY QUESTION: Anyone know if it's working in 5.4-CURRENT or something? Doesn't seem to recognize in 5.4-STABLE. Thanks for any suggestions. I miss my music. :-( 1. Try upgrading to RELENG_6 2. If you don't want to or the upgrade doesn't help, try this one: http://opensound.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: encrypted file sharing bsd--winxp/2k3
On 10/11/05, mdff [EMAIL PROTECTED] wrote: staying away from ipsec and hw-crypto-ether-cards how can i connect to network-shares on freebsd-boxes from windows-clients having the whole connection (auth and data stuff) encrypted? it should be possible to map the share as a nw-drive. br... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] VPN is probably your choice. Check out OpenVPN (http://openvpn.net/) for a portable and relatively easy-to-setup solution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Overburned DVD data recovery
On 10/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a cron job that backs up a FreeBSD server's files to DVD+RW media each evening using growisofs from the dvd+rw-tools port. There are some files that I need to recover, but the problem is, the last 2 weeks of backups were a few hundred megabytes too large, and overburned. Is there any way to recover data from these overburned DVDs? I tried mounting them from FreeBSD, Windows and Mac systems without success. I also tried running cat /dev/acd0 | gzip data.iso.gz in an attempt to grab the raw bits of the disk, but that only resulted in an input/output error. Restoring a 2-week-old backup is an option, but any ideas on how I might read data off of these overburned disks would be greatly appreciated. Thanks, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'd start with trying to dd the DVD to an ordinary file (dd if=/dev/dvd-device of=/usr/recov.iso bs=2048) and then trying to mount that file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: encrypted file sharing bsd--winxp/2k3
On 10/11/05, mdff [EMAIL PROTECTED] wrote: staying away from ipsec and hw-crypto-ether-cards how can i connect to network-shares on freebsd-boxes from windows-clients having the whole connection (auth and data stuff) encrypted? it should be possible to map the share as a nw-drive. br... VPN is probably your choice. Check out OpenVPN (http://openvpn.net/) for a portable and relatively easy-to-setup solution. thx for the hint, but we don't want VPN/tunnels/ipsec solutions for this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well, we all dream about secure network filesystems, but it's not a production reality yet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp-downloads from any browser stops after 2h
On 10/11/05, S R [EMAIL PROTECTED] wrote: Hi :) This is probably a quite advanced problem cause I have asked around a lot. Most people have adviced me to post this interresting question here. Setup: FreeBSD 5.4 server behind a D-Link DI-604 router together with two XP-machines. Server runs Fluxbox in Xvnc and Samba. 0.5Mb ADSL-connections, not PPPoE. Problem: If I try to download a larger file from ftp (for example a game-demo from gamershell or fragzone) with a browser, it just stops after approximately 130 minutes. No errors, nothing in /var/log/messages. Doesn't matter what speed I download with, its around 130 minutes anyway. Regular http-downloads works, and ALL downloads works from the both XP-machines. ftp from the terminal works, both from VNC and from a normal ssh-login without VNC. Problem is some links cant be reached with the terminal ftp, so would be great if the browsers could start working. I have tried: Switching ports on the router. Two different NIC's (Realtek and Intel 10/100 PRO). Mozilla and newest Firefox and newest Opera. Tried both Fluxbox and KDE. Just noticed that Opera actually lets me resume the download, so at least its useable, but would like to solve this anyway, and kind of interrested what the problem could possibly be. All installs are build from Ports, and they're all pretty standard installations (like the whole system) since I'm a real BSD n00b. This is the outcome of ifconfig for my Intel-NIC. --- fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::203:47ff:fead:695f%fxp0 prefixlen 64 scopeid 0x1 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 ether 00:03:47:ad:69:5f media: Ethernet autoselect (100baseTX full-duplex ) status: active --- Thanks a lot if anyone can help me discover why I cant download ftp from the browsers, when it works from the terminals ftp-command. Beats me, and everyone else I asked on BSD-forums all around. Best regards /Sebastian (from Sweden) __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It's really very interesting, but personally I wouldn't trust any browser with a 2h+ download. Try installing Flashgot for firefox, or mozex for Mozilla/Firefox, and handle all the heavy downloads with wget, curl or one of a dozen other nice downloading tools. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AaaarrrGGGH. linuxpluginrapper and linux-mozilla.
On 10/11/05, Gary Kline [EMAIL PROTECTED] wrote: On Tue, Oct 11, 2005 at 01:22:28PM +0400, Andrew P. wrote: On 10/11/05, Gary Kline [EMAIL PROTECTED] wrote: Sorry for the outburst in subject, but I've been having these problems with linux-mozilla for several days: LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library /home/kline/.mozilla/plugins/mplayerplug-in.so [/home/kline/.mozilla/plugins/mplayerplug-in.so: ELF file OS ABI invalid] Are linux-mozilla and regular FreeBSD mozilla mutually exclusive? Once, I had mplayer-plugin working so that I was actually able to listen to a Windows audio player. Anybody? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Erm, first show us the output of `/compat/linux/sbin/ldconfig -p | grep libX` tao# `/compat/linux/sbin/ldconfig -p | grep libX` libX11.so.6 Hm. So nothing but libX11... . If there's no libXt or libXext in the output, try this: # echo /usr/X11R6/lib /compat/linux/etc/ld.so.conf # /compat/linux/sbin/ldconfig And check that output again. Okay, I get: tao# echo /usr/X11R6/lib /compat/linux/etc/ld.so.conf tao# `/compat/linux/sbin/ldconfig -p | grep libX` libX11.so.6: Command not found. I'm missing the linux compat files; where do I rebuild these libraries? There is no [Mm]akefile in /usr/compat/linux. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix # pkg_info | grep linux_base Deinstall the linux_base you have (pkg_deinstall, pkg_delete or make deintstall) # cd /usr/ports/emulators/linux_base-8/ # make install BTW, make sure that linux is kldloaded or compiled into your kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AaaarrrGGGH. linuxpluginrapper and linux-mozilla.
On 10/11/05, Gary Kline [EMAIL PROTECTED] wrote: kldstat says that I have the linux stuff builtin. Thanks for your help; I'm de-/re-installing linux_base-8. Should be interesting. Shouldn't take more than a couple of minutes. SOAPBOX The default of having these compat files installed in /usr rather than in /usr/local should probably be re-thought. I look for (most) ports in /usr/local. [A lot of the GUI suite are in /usr/X11R6/* tho.] hAving things symlinked shouldn't use up too many inodes. /SOAPBOX Maybe you should reread hier(7) manpage. Personally I honestly think that FreeBSD's directory layout is the most carefully thought through one of all. You can't symlink binary files from /usr/X11R6 to /compat/linux /usr/X11R6, because they are in different binary formats. Also, please note that /usr/compat is just a temporary solution, which exists until everybody recognizes the total superiority of FreeBSD to other systems. 6.0 is starting the countdown towards FreeBSD 6.6.6, which will conquer the world :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
distcc and cross-compiling for FreeBSD on Linux/Solaris
We've got some mostly idle, but powerful sparc64 servers running Solaris 9/10, as well as a host of Linux servers (x86 and x86_64). Of course, all the real work is done on a pack of FreeBSD boxes :-) Some days ago I started using ccache and distcc, and I really love these tools. Now I want to get the Solaris and Linux servers to do something useful and compile world, kernels and ports for the FreeBSD boxes. Is there a somewhat comprehensive guide to this? Can somebody share his experience with me? I'm now looking into crosstool how-to's, but I have no knowledge of gcc intrinsics, and some points are very hard for me to understand. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I am having problem with network
On 10/10/05, Jayesh Jayan [EMAIL PROTECTED] wrote: Hi, Most of the freebsd servers which have is showing the below in /var/log/messages. It filing the message log Please guide me on what the issue is. Oct 9 16:31:50 server005 kernel: arplookup 206.123.104.1http://206.123.104.1failed: host is not on local network Oct 9 16:32:21 server005 last message repeated 11 times Oct 9 16:34:22 server005 last message repeated 19 times Could you please guide me on how to solve this issue Thank you in advance. -- Jayesh Jayan To Change A System You Have To Be In The System ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Please send `netstat -rn` and `ifconfig -a` ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports tree problem
On 10/10/05, Hentai Pantsu [EMAIL PROTECTED] wrote: I was forced to cvs the ports tree and now whenever i try to run bpm (it's a graphical tools for ports install and so on) it core dumps while reading the ports tree/index. Not even these commands have solved my nightmares portsdb -Uu pkgdb -Ffuv I'm considering to portupgrade -PaRr my system, but i'm starting to get sick of all this deja-vus of waiting for a port to build, and then an error pops, and then it breaks something else... -g- But i honestly suspect the portupgrade won't solve this particular problem, since it doesn't seem to be a dependency problem; because it crashes when it's reading the ports tree Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try portsdb -uUF before we go deeper ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I am having problem with network
0em0 206.123.104.51/32 link#1 UC 00em0 206.123.104.52/32 link#1 UC 00em0 206.123.104.53/32 link#1 UC 00em0 206.123.104.54/32 link#1 UC 00em0 206.123.104.55/32 link#1 UC 00em0 206.123.104.56/32 link#1 UC 00em0 206.123.104.57/32 link#1 UC 00em0 206.123.104.58/32 link#1 UC 00em0 206.123.104.59/32 link#1 UC 00em0 206.123.104.60/32 link#1 UC 00em0 206.123.104.61/32 link#1 UC 00em0 206.123.104.62/32 link#1 UC 00em0 206.123.104.63/32 link#1 UC 00em0 206.123.104.64/32 link#1 UC 00em0 206.123.104.65/32 link#1 UC 00em0 206.123.104.66/32 link#1 UC 00em0 206.123.104.67/32 link#1 UC 00em0 206.123.104.68/32 link#1 UC 00em0 206.123.104.69/32 link#1 UC 00em0 206.123.104.70/32 link#1 UC 00em0 206.123.104.71/32 link#1 UC 00em0 206.123.104.72/32 link#1 UC 00em0 206.123.104.73/32 link#1 UC 00em0 206.123.104.74/32 link#1 UC 00em0 206.123.104.75/32 link#1 UC 00em0 206.123.104.76/32 link#1 UC 00em0 206.123.104.77/32 link#1 UC 00em0 206.123.104.78/32 link#1 UC 00em0 206.123.104.79/32 link#1 UC 00em0 206.123.104.80/32 link#1 UC 00em0 206.123.104.81/32 link#1 UC 00em0 206.123.104.82/32 link#1 UC 00em0 206.123.104.83/32 link#1 UC 00em0 206.123.104.84 00:11:43:e9:32:7e UHLW0 382lo0 = 206.123.104.84/32 link#1 UC 00em0 206.123.104.85 00:11:43:e9:32:7e UHLW0 758lo0 = 206.123.104.85/32 link#1 UC 00em0 206.123.104.86/32 link#1 UC 00em0 206.123.104.87/32 link#1 UC 00em0 206.123.104.88/32 link#1 UC 00em0 206.123.104.89/32 link#1 UC 00em0 206.123.104.90/32 link#1 UC 00em0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%em0/64 link#1 UC em0 fe80::211:43ff:fee9:327e%em0 00:11:43:e9:32:7e UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#3 UHL lo0 ff01::/32 ::1 U lo0 ff02::%em0/32 link#1 UC em0 ff02::%lo0/32 ::1 UC lo0 [EMAIL PROTECTED] Hope to get your guidance on the same. On 10/10/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/10/05, Jayesh Jayan [EMAIL PROTECTED] wrote: Hi, Most of the freebsd servers which have is showing the below in /var/log/messages. It filing the message log Please guide me on what the issue is. Oct 9 16:31:50 server005 kernel: arplookup 206.123.104.1http://206.123.104.1 failed: host is not on local network Oct 9 16:32:21 server005 last message repeated 11 times Oct 9 16:34:22 server005 last message repeated 19 times Could you please guide me on how to solve this issue Thank you in advance. -- Jayesh Jayan To Change A System You Have To Be In The System ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Please send `netstat -rn` and `ifconfig -a` -- Jayesh Jayan To Change A System You Have To Be In The System Looks like your FreeBSD box is doing a Cisco's job. Anyway, describe your network architecture (as simply as you can) - and tell us what machine has this address - 206.123.104.1, and why it is so important to the other ones. ___ freebsd-questions@freebsd.org mailing list http
Re: chm file conversion?
On 10/9/05, Sandy Rutherford [EMAIL PROTECTED] wrote: Colin, On Sat, 08 Oct 2005 you wrote: Vizion wrote: As per subject - does anyone know of any utils for converting microsofts compiled help files for use on freebsd? I've found converters/chmview to be useful in the past. Anything available for converting chm to pdf or ps? I believe that there are some programs for doing this under MS Windows. Sandy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just print it to a ps file. Pdf and ps are easily interconvertible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheap Hardware for Home Network
On 10/9/05, Live-Wire [EMAIL PROTECTED] wrote: I'm building a new box specifically do take care of a lot of things on my home network; dns, qmail, apache, sftp, printer server, a fileserver, etc. Some of the services, like apache, will also be exposed to the internet, but only for the use of friends and family. And most important, I'm doing this all on the cheap - for less than$600 (and the less, the better). I was wondering what sort of hardware setups people could recommend? Priceis the #1 consideration, followed by reliability, then speed. But that doesn't mean I want to neglect the latter two- what sort of specs should I be shooting for? What is necessary for the kind of activities I want to do. I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty sharp. I have a GeForce4 Ti 4600 lying around that I can stick in, but because I want to use 2 SATA 150 hardrives in RAID 1, finding an AGP 4X mobo with 754 and SATA w/ RAID 1 is neigh impossible. So it looks like my best bet is to find a mobo with onboard gigabit ethernet, video, and sound (only the first of which is important), but that still limits me apropos the 754 cpu and the SATA. So again, this is a nice opportunity to buy hardware specifically tailored for what I am using it for - I have zero concern for expandability. What is the best fit? Thanks - JNK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have Gigabyte K8VT800 Pro motherboard (http://www.giga-byte.com/Motherboard/Products/Products_GA-K8VT800%20Pro.htm) and Sempron 2500+ (256Kb cache, 64-bit, SSE3) on my file-server. For me - it's a wonderful combination. With an updated BIOS firmware it supports up to 10 disk devices (8 IDE + 2 SATA), Gigabit network and is rock-solid. I run FreeBSD/i386 on it, but I tried amd64 before - and it works great. It's quite cheap ($60 for the board, $60 for the box version of the CPU), and it certainly rocks, believe me. BTW, it should support your Ti 4600! Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wine 20050930 on FreeBSD 6.0-BETA5
I posted this earlier to ports@ but got no response. Has anyone got the subj running? It seems to work for me, but every time I try to run any program it rebuilds font metrics spitting out some fixme's about unknown encodings and registries, which is truly annoying. I found those missing registries and encodings present at /usr/X11R6/lib/X11/fonts/encondins, but wine doesn't want to see them. Any thoughts, please? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheap Hardware for Home Network
On 10/10/05, Live-Wire [EMAIL PROTECTED] wrote: Andrew P. wrote: On 10/9/05, Live-Wire [EMAIL PROTECTED] wrote: I'm building a new box specifically do take care of a lot of things on my home network; dns, qmail, apache, sftp, printer server, a fileserver, etc. Some of the services, like apache, will also be exposed to the internet, but only for the use of friends and family. And most important, I'm doing this all on the cheap - for less than$600 (and the less, the better). I was wondering what sort of hardware setups people could recommend? Priceis the #1 consideration, followed by reliability, then speed. But that doesn't mean I want to neglect the latter two- what sort of specs should I be shooting for? What is necessary for the kind of activities I want to do. I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty sharp. I have a GeForce4 Ti 4600 lying around that I can stick in, but because I want to use 2 SATA 150 hardrives in RAID 1, finding an AGP 4X mobo with 754 and SATA w/ RAID 1 is neigh impossible. So it looks like my best bet is to find a mobo with onboard gigabit ethernet, video, and sound (only the first of which is important), but that still limits me apropos the 754 cpu and the SATA. So again, this is a nice opportunity to buy hardware specifically tailored for what I am using it for - I have zero concern for expandability. What is the best fit? Thanks - JNK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have Gigabyte K8VT800 Pro motherboard (http://www.giga-byte.com/Motherboard/Products/Products_GA-K8VT800%20Pro.htm) and Sempron 2500+ (256Kb cache, 64-bit, SSE3) on my file-server. For me - it's a wonderful combination. With an updated BIOS firmware it supports up to 10 disk devices (8 IDE + 2 SATA), Gigabit network and is rock-solid. I run FreeBSD/i386 on it, but I tried amd64 before - and it works great. It's quite cheap ($60 for the board, $60 for the box version of the CPU), and it certainly rocks, believe me. BTW, it should support your Ti 4600! Cheerz, Andrew P. Thanks Andrew, but just one question: the specs claim only to have 4 IDE slots in addition to the 2 SATA, not 8. Am I looking at the same thing as you? Thanks, JNK 4 IDE slots allow for up to 8 devices, 2 SATA slots allow 2 devices, that sums up to 10. Have a nice day, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FireFox/Mozilla and CUPS/LPD weirdness
On 10/9/05, O. Hartmann [EMAIL PROTECTED] wrote: Hello. I reported problems with printing from Firefox and Mozilla in the past. Faulty DNS configurations were suspected in the first line but I can confess that our network is setup right way. I figured out that bot Mozilla and Firefox try to print via CUPS (via sockstat, firefox process trys to connect to 127.0.0.1:631). On our servers w e do not use CUPS, still LPD. How to configure Firefox/Mozilla using LPD instead of CUPS? How to avoid this blind preconfiguration being used via the ports collection? Thansk in advance, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Personally, I installed the gtklp port and changed the printer command in Firefox and other application to gtklp. I don't know how to preconfigure it though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wine 20050930 on FreeBSD 6.0-BETA5
On 10/10/05, Frank Jahnke [EMAIL PROTECTED] wrote: I have Wine 20050930 running on 6.0-Beta4. I don't see the issues you describe, and it does seem to work a bit better than the previous version. I did use an existing .wine directory, and I used portupgrade to build the newer version. FWIW, all of my fonts used for Wine are located in .wine/drive_c/windows/fonts -- you may want to see if you have the directory. Frank Can you please post your `pkg_info | grep font`. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing linuxpluginwrapper
On 10/8/05, edward [EMAIL PROTECTED] wrote: Hi all, I'm trying to set up Firefox to use a flash plug-in (video playback went great with mplayerplug-in, thanks Ian, Andrew and Adi...). I installed linux-flashplugin-7.0r25_2 via portinstall. Then tried to install linuxpluginwrapper but installation failed. Seems like it needs glib2-2.2.1-1.i386.rpm but this doesn't install. I get the following : === linux-gtk2-2.2.1_5 depends on file: /compat/linux/usr/lib/libglib-2.0.so.0 - not found ===Verifying reinstall for /compat/linux/usr/lib/libglib-2.0.so.0 in /usr/ports/devel/linux-glib2 === Vulnerability check disabled, database not found = glib2-2.2.1-1.i386.rpm doesn't seem to exist in /usr/ports/distfiles/rpm. = Attempting to fetch from ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/. glib2-2.2.1-1.i386.rpm100% of 374 kB 57 kBps === Extracting for linux-glib2-2.2.1_3 = Checksum OK for rpm/glib2-2.2.1-1.i386.rpm. === Patching for linux-glib2-2.2.1_3 === linux-glib2-2.2.1_3 depends on executable: rpm - found === Configuring for linux-glib2-2.2.1_3 === Installing for linux-glib2-2.2.1_3 === linux-glib2-2.2.1_3 depends on file: /compat/linux/usr/X11R6/lib/libX11.so.6 - found === linux-glib2-2.2.1_3 depends on file: /compat/linux/etc/redhat-release - found === Generating temporary packing list glib2-2.2.1-1.i386.rpm ELF binary type 3 not known. execution of glib2-2.2.1-1 script failed, exit status 255 ELF binary type 3 not known. /compat/linux/sbin/ldconfig: 1: Syntax error: ( unexpected *** Error code 2 Stop in /usr/ports/devel/linux-glib2. *** Error code 1 Stop in /usr/ports/devel/linux-glib2. *** Error code 1 Stop in /usr/ports/x11-toolkits/linux-gtk2. *** Error code 1 Stop in /usr/ports/x11-toolkits/linux-gtk2. *** Error code 1 Stop in /usr/ports/multimedia/linux-realplayer. *** Error code 1 Stop in /usr/ports/multimedia/linux-realplayer. *** Error code 1 Stop in /usr/ports/www/linuxpluginwrapper. *** Error code 1 Stop in /usr/ports/www/linuxpluginwrapper. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall2894.0 make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! www/linuxpluginwrapper(install error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed I then tried to portinstall linux-glib2 but it didn't work either. Haven't found much in /usr/ports/UPDATING, except the following paragraph which I'm not sure applies to me as I'm using KDE. Besides I was installing, not upgrading. 20050312: AFFECTS: all users who have glib/gtk/gnome libraries installed AUTHOR: [EMAIL PROTECTED] and the FreeBSD gnome team Gnome has been upgraded to 2.10 and gtk/glib to 2.6. DO NOT USE portupgrade(1) to update any gnome or gtk or any port that depends on them. Using portupgrade will cause problems and you will have to manually upgrade ports. Please use the gnome_upgrade.sh script from http://www.FreeBSD.org/gnome/gnome_upgrade.sh Any suggestions ? Thanks guys, Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Obviously, you forgot to kldload linux ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I disable HyperThreading in OS?
On 10/7/05, hshh [EMAIL PROTECTED] wrote: My /boot/loader.conf, userconfig_script_load=YES kern.ipc.nmbclusters=65536 I sure there are only 2 physical processors inside the box. Attached dmesg infomation. - Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.11-RELEASE-p12 #1: Fri Sep 30 17:05:26 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/www Timecounter i8254 frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 1.80GHz (1794.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 2146959360 (2096640K bytes) avail memory = 2087632896 (2038704K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 - irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee0 cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee0 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee0 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec0 io1 (APIC): apic id: 3, version: 0x00178020, at 0xfec8 io2 (APIC): apic id: 4, version: 0x00178020, at 0xfec80400 Preloaded elf kernel kernel at 0xc02e6000. SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Please, cc freebsd-questions and append your answers, don't prepend them. Post your kernel config as well please. I have very little experience with SMP systems, but someone from the list would probably like to look into your problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to recompile a port in a clean maneer?
On 10/6/05, Eric Devolder [EMAIL PROTECTED] wrote: Thank you Chuck, now I better understand what's behind this. Maybe just a side question: Can I refresh the files contained in /usr/ports with the one of an older release? for example, I would like to use ports from 4.3 while I'm running a 4.11 for now. Of course, my /usr/ports reflects only ports for 4.11. How can I replace them with the 4.3 ones? There are no ports for a specific FreeBSD release. Most ports are meant to be compatible with 4.x, 5.x, 6.x and 7.x. If you want to go back in time, you can cvsup your ports tree to an arbitrary date. The more distant point in time you choose the more likely you'll not be able to fetch sources for the port. You can probably use cvsup to downgrade just a single port, but I find it more convenient by far to use cvsweb. E.g. if you want an older version of editors/openoffice-2.0, you can go to http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-2.0/ look through commits to the Makefile, choose the version you want and place in into the ports tree. Consider installing the portaudit port, because many older port versions have serious security hole. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I disable HyperThreading in OS?
On 10/6/05, hshh [EMAIL PROTECTED] wrote: On 10/2/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/1/05, hshh [EMAIL PROTECTED] wrote: Hi, I have a dual XEON smp box. There is option about disable HTT in bios, but it can't work. It's still display 4 cpu in my OS. Can I disablt HTT in OS directly? I am running FreeBSD 4.11. Regards. Take a look at this advisory: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc I think you want to upgrade to RELENG_4_11, or use the workaround. My system is already cvsup to the lastest srouce,and rebuild the world and kernel. Now OS is FreeBSD 4.11-RELEASE-p12. And I also check the sysctl, machdep.hlt_logical_cpus: 1 machdep.hyperthreading_allowed: 0 Any other idea? Wait a minute, you say that after upgrading to the 4.11-p12 and rebooting you still have four CPU's showing in the system? Open the case and look inside, maybe there are four real processors inside... Are there still any lines in /boot/loader.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Core Dump using portversion
On 10/6/05, bsd [EMAIL PROTECTED] wrote: Hello, We have one of our server that core dumps when we are trying to use portversion ns2# portversion -l [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 168 packages found (-1 +1) (...). done] [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 13568 port entries found .1000.2000...[BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd5] Abort (core dumped) So far I have : - de-install and re-install ruby. - de-install and re-install portupgrade. Nothing has changed... Our system is FreeBSD 5.2.1 Do you have any clue regarding the way we can solve this issue ?? Try adding these lines to /usr/local/etc/pkgtools.conf, just after other ENV's: ENV['PORTS_DBDRIVER'] = 'dbm_hash' ENV['PKG_DBDRIVER'] = 'dbm_hash' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How often cvsup the ports?
On 10/6/05, Mikael Backman [EMAIL PROTECTED] wrote: Hi. I use Portupgrade to install apps every now and then. How often should I cvsup the ports? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you like being up-to-date, you should consider using portsnap, which is much more efficient than cvsup. You can update every other couple of hours then - and you'll probably waste less bandwidth in a week than you would with cvsup in one run. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hidden spot on hard drives?
On 10/6/05, Gary W. Swearingen [EMAIL PROTECTED] wrote: Norberto Meijome [EMAIL PROTECTED] writes: Where does HPA(Host protected Area) sit in all this? is this the 'boot sector' trick? I don't know. I just heard that some computer makers are somehow reserving as much as half the HDD for a full copy of the OS to recover from when the normal one trips over itself. It's all on the BIOS/partitioning level anyway. FreeBSD won't be too shy to look into both parts of the hard drive. These protection measures are always more or less security through obscurity. Which is somewhat effective, but never long-lasting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Support (Commerical)
On 10/6/05, Ansar Mohammed [EMAIL PROTECTED] wrote: I guess I am interested in finding out if there is support that is offered by the FreeBSD project, not from third party vendors. FreeBSD offers non-commercial support through mailing-lists and doc-project (FAQs and Handbooks) which is probably the most comprehensive, active and effective support there is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Support (Commerical)
On 10/6/05, Kris Kennaway [EMAIL PROTECTED] wrote: On Thu, Oct 06, 2005 at 12:10:58PM -0400, Ansar Mohammed wrote: I guess I am interested in finding out if there is support that is offered by the FreeBSD project, not from third party vendors. Not commercial support, since FreeBSD isn't a commercial project. Kris I'm sorry, but all effective legislative systems (including that of the USA) allow officially non-profit and non- commercial organizations to take on commercial activities. And many such organizations exercise this right. IMHO, there's no official commercial support, because money can hardly buy more than what's already available for free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Flash and video media in Firefox
On 10/7/05, Ian Moore [EMAIL PROTECTED] wrote: On Friday 07 October 2005 08:24, edward wrote: Hi, I'm not quite sure how to get Firefox (on 5.4-Stable, Xorg 6.8.2 and KDE 3.4.2) to play the following media : - Flash - Quicktime - Windows Media Any clue ? Thanks all, Edward Try installing www/plugger and also www/linux-flashplugin-6.0r79_3 and www/linuxpluginwrapper. Don't forget to read the port message for each port when you install them and do what they say.! Configuring the flash plugin has been discussed in the last week on this list if you get stuck. -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc Consider www/plugger-plugins-hubbe instead of www/plugger, you'll have to do less configuration. Also www/mplayer-plugin often helps. Still, I haven't figured out how to watch webcasts from some stupid sites that try to detect whether you have WMP installed. Has anyone been able to play videos from cnn.com for example? (Lately, I mean. They've switched from pay- per-month realmedia to free wmv) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which MySQL version best to use and with/without linux threads?
On 10/5/05, Emanuel Strobl [EMAIL PROTECTED] wrote: Am Mittwoch, 5. Oktober 2005 02:17 CEST schrieb Peter Wemm: On Friday 30 September 2005 06:22 am, Olaf Greve wrote: Then, I'm currently configuring a second beast, ee, server. :) Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it, I instinctively installed the latest MySQL 4.0.x version (being 4.0.26) and it works flawlessly with the data from my current production machine. The only problem is that linuxthreads doesn't exist on FreeBSD/amd64. You have to use one of the native thread libraries. Your choices on 5.4 are not that great. I'd suggest libthr on 6.0 as the closest match to linuxthreads, but I don't recall if it is available on 5.4. I have a feeling it isn't. I have a feeling your choices are libc_r or libpthread (kse). libpthread should smoke libc_r Smoke of brakes or smoke of the engine? for disk IO performance in general. But modern libthr (on 6.0+) should give it a serious run for its money. Please! Not all readers are native enlish speaking, it sounds nice but it doesn't help clarifying anything. I guess libthr is the favourite choice but I only guess since I never heard of smoking thread libraries nor of run for money. I'm suffering from the list's english enough, please don't use phrases... :) -Harry Oh, come on http://dictionary.com/ http://dictionary.reference.com/search?q=smoke http://dictionary.reference.com/search?q=for%20one%27s%20money Spend some time looking words up. It's worth it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about linux emulation
On 10/5/05, K Anderson [EMAIL PROTECTED] wrote: - Original Message - From: Antoine Solomon [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tuesday, October 04, 2005 7:14 AM Subject: about linux emulation Is it possible to chroot into a fully functional linux environment on freebsd? -- Hi Antoine, I don't know if this fully answers your question as I barely understand the chroot process myself. I wanted to install Coldfusion on FreeBSD (Ain't gonna work but I tried). First it complained about FreeBSD not being supported so I'm like yah so. But what next? I was putzing around someplace and found something that went in the lines like this chroot /compat/linux/ /bin/bash And to my surprise I was chrooted. I then re-ran the install process for Coldfusion and it didn't complain until the very end where it said can't find 'ps' and some other little gizmo (I think it was top). I was bummed because it seems that ps and top are not part of the linux emulation. Admittedly I'm using linux_base-rh-7.3. But anyway I was chrooted. One last thing in the path there is also a linux chroot. So my guess is that you could chroot with success but wont know until you use some application that requires some missing element, in my case 'ps' and 'top.' Hope that helps. ~Mr. Anderson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hmm. I was wondering if one could make FC4/RHEL environment running in a jail/chroot on FreeBSD. I'm sure that 80% of linux programs would run almost without a hitch. Just imagine it: virtual linux box 0wn3d by FreeBSD :-) If someone knows about a how-to, please post it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw: ALLOWing by mac address
On 10/5/05, Foo Ji-Haw [EMAIL PROTECTED] wrote: Hello all, I'd like your feedback on a problem I have with allowing access through the ipfw firewall via mac addresses. Andrew has a good point on mac address spoofing. I agree with him on the security concern, but for the situation that I am setting up, that's ok. But I really need to open the firewall via mac address. Let me detail my setup: dc0 is the interface to the Internet vr0 is the interface to the managed network I tried to read up on ipfw rules on mac, and I got something like this: allow ip from any to any MAC any 00:90:d1:00:80:00/33 It does not work of course, but ipfw accepted the command. Basically I need the client with the mac address to be able to go pass the firewall in totality. Can anyone enlighten me on the correct format? Thanks in advance. Thanks for the credit :-) see man ipfw, particularly the PACKET FLOW section Try this: allow ip from any to any layer2 out MAC any 00:90:d1:00:80:00/33 allow ip from any to any layer2 in MAC 00:90:d1:00:80:00/33 any allow ip from any to any layer2 via trusted-if deny ip from any to any layer2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multilanguange
On 10/4/05, Dmitry Mityugov [EMAIL PROTECTED] wrote: On 10/4/05, Owen Jeremiah [EMAIL PROTECTED] wrote: I want to use X with FreeBSD like I use my WinXP: it has multilanguage capabilities. Like when I want to create a presentation, I can type in other language (like in chinese) and instantly change it back to english. I understand that MacOS X can do this instantly too. Can anybody direct me to the right way to do this in FreeBSD (using KDE? Gnome?) As far as I know, KDE in FreeBSD 5.4 does not support other languages by default; Gnome does. I managed to set up Gome at home to write in Russian. -- Dmitry Mityugov, St. Petersburg, Russia I ignore all messages with confidentiality statements We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Долго мучился? :) Лучше скажи, у тебя Gaim нормально пашет, или buggy client... говорит постоянно? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help: fwd on ipfw
On 10/5/05, Foo Ji-Haw [EMAIL PROTECTED] wrote: Hello Anderson, I hope you can lend me your experience and generosity again in a follow-up question I have with ipfw. Basically I have much help from the Handbook. It's some small things that I get stuck with. Unfortunately I can't figure a way around it. Below is my firewall configuration: 00100 check-state 00300 allow ip from any to 192.168.0.4 in via dc0 00400 allow ip from 192.168.0.4 to any out via dc0 00600 allow ip from 127.0.0.1 to 127.0.0.1 00700 allow icmp from 10.10.0.0/16 to 10.10.0.0/16 00900 allow ip from 10.10.0.0/16 to 10.10.0.0/16 dst-port 67,68,80 01000 allow ip from 10.10.0.0/16 to 10.10.0.0/16 dst-port 53 01050 allow ip from 10.10.0.0/16 to 10.10.0.0/16 01060 allow ip from any to any MAC any 00:90:d1:00:80:00/33 01100 fwd 10.10.10.10,80 tcp from 10.10.0.0/16 to any dst-port 80 in via vr0 01200 allow ip from any to any 65535 deny ip from any to any My box has 2 interfaces. dc0 is the trusted network, vr0 is the untrusted network (the implementation is for a captive portal). The server's IP on vr0 is 10.10.10.10. Problem 1: My rule (900) to allow the clients on vr0 to talk to the server's dhcpd service works well. But I can't get them to connect to the DNS service (rule 1000). I don't understand why this is so, because the same DNS service works well for clients on dc0. DNS will work if rule 1200 is in place (of course, 1200 should not be there). Problem 2: Rule 1100 is key for captive portal setup. Any web outgoing traffic from vr0 will be redirected to the 'login' page at 10.10.10.10:80. And it works (fortunately!). But only with 1200 in place. Does this mean that after processing rule 1100 the ipfw continues to process the rest of the rules? Problem 3: I need to grant authenticated a client with the specified MAC address (1060) full access to the Internet, thereby bypassing fwd 1100. If I replace 1060 with: 01060 allow ip from 10.10.10.100 to any The access is ok. But I need to lock down at the MAC level (to prevent IP spoofing). Can you advice me on the correct statement? This is the most frustrating question I have among the 3. Appreciate your time on this. Thanks again! Please, cc the mailing list unless your problem is purely between you and me. Before I start answering your questions, let me give you some advice. 1. Don't do check-state, unless you really need (and have configured) a stateful firewall 2. Use xmit and recv instead of via whenever possible. In your case rule 300 should contain in recv and the next one - out xmit. 3. A much better way to pass loopback traffic is: allow ip from any to any via lo0 deny ip from any to 127.0.0.0/8 deny ip from 127.0.0.0/8 to any (these should usually be at the very top) 4. It's a wonder that your rule 900 somehow allows dhcp to work. It certainly shouldn't. Dhcp requires much less restrictive rules (including broadcasts and undefined source). 5. You must always keep in mind that any communication between a server and a client requires packet to go both ways, sometimes passing firewall 2 times in each direction. Your rule 1000 only allows dns queries to get through to the dns server, the corresponding answers will be blocked. I suppose that rule 1050 or 1200 solves the problem, but if you want to restrict traffic you should come up with something else. Same goes for your rule 1100: you block all the http answers. 6. Sad, but true, you can never rely on MAC- bindings security in a production network. MAC address is as easily spoofed as anything. Moreover, ipfw has not been designed for layer-2 packet inspection, so you'll stumble upon many problems and unexpected results. You'd better come up with a VPN/IPSec solution. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek AC97 Support
On 10/3/05, Mark Kane [EMAIL PROTECTED] wrote: Jason C. Wells wrote: I haven't had any luck guessing at how to provide a driver for my onboard Realtek AC97 audio under FreeBSD 6. Has anyone made this work? Can I use the linux ALSA driver with FreeBSD? Realtek provides this on their website in source. I haven't manage to complete a compilation of the driver yet. If such a thing has actually been done by someone here, I'll try harder. Thanks, Jason C. Wells I haven't really used 6.x at all, but I'm assuming it's pretty similar if not the same as 5.x. There is great documentation on how to set up a sound card here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html What you probably want to do is to load the snd_driver metadriver as a kernel module to see which driver works with your soundcard: # kldload snd_driver Then, to find out which driver it loaded: # cat /dev/sndstat You can either leave it as a module and load it at startup as the handbook explains, or you can compile that driver into the kernel which the soundcard setup chapter also documents well. I always do the latter but I'm sure the module would work fine too. By the way, ALSA is for Linux (Advanced Linux Sound Architecture), so those drivers won't work on FreeBSD. -Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] One also needs to make sure that he actually has a Realtek soundcard. In M$ Windows, Realtek drivers are magically compatible with most of AC97 codecs. That's not true with FreeBSD. If you fail to set up your sound with the stock drivers or if you need some advanced features, not present in the driver, you can visit http://www.opensound.com/ for a free, but closed-source driver. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + Firefox + Flash Problems
On 10/3/05, Vladimir Tsvetkov [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Vladimir Tsvetkov [EMAIL PROTECTED] Date: 2005-10-3 11:02 Subject: Re: FreeBSD + Firefox + Flash Problems To: RW [EMAIL PROTECTED] The Flash problem is solved!!! The problem was in step 2: 2. Install linuxpluginwrapper: # cd /usr/ports/www/linuxpluginwrapper # make WITHOUT_PLUGINS=yes install clean I just explored the /usr/ports/www/linuxpluginwrapper/Makefile and I saw this: .if !defined(WITHOUT_PLUGINS) RUN_DEPENDS= ${X11BASE}/lib/linux-flashplugin6/libflashplayer.so:${PORTSDIR}/ www/linux-flashplugin6 RUN_DEPENDS+= ${X11BASE}/lib/linux-mozilla/plugins/nphelix.so:${PORTSDIR}/mult imedia/linux-realplayer #RUN_DEPENDS+= ${LINUXBASE}/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf .so:${PORTSDIR}/print/acroread7 .if ${OSVERSION} 50 USE_MOTIF= yes .endif .endif I had defined WITHOUT_PLUGINS=yes, which meant that the nested .if expession about using Motif on my system was not executed. My system needs Motif to get the Flash plugin running. So I deinstalled it, and installed it without defining this configuration variable: # cd /usr/ports/www/linuxpluginwrapper # make install clean Now, Flash works!!! You can see also that I've commented out the line that will install Acroread7 as a dependency, because I thought that Acroread5 will work just fine for me. Obviously I am mistaken, because I still can't open *.PDF in an embeded browser. And now, I'm just going to try another install and maybe will use Acroread7. Best Regards, Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] A pr should be sent for the if's to be unnested. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which MySQL version best to use and with/without linux threads?
On 10/3/05, Dinesh Nair [EMAIL PROTECTED] wrote: On 10/01/05 00:08 Andrew P. said the following: linuxthreads were only important on FreeBSD 4.x. Starting with 5.x we have a more efficient threading model. Extensive testing did not reveal any significant is this definitive, i.e. that on 5.x linuxthreads are worse off than native freebsd threads ? i'm not trying to be a troll, but over on the asterisk mailing lists, we're in the midst of discussing if /usr/ports/net/asterisk should be using linuxthreads or pthreads by default. on 4.x (which i'm still on), linuxthreads has oodles better performance than native pthreads, but i havent really done any testing on 5.x or 6.x. any advice here would be much appreciated. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ Yes, it's definitely so. Google for a few minutes and you'll see it for yourself. Stick with native threads. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help: fwd on ipfw
On 10/4/05, Foo Ji-Haw [EMAIL PROTECTED] wrote: Hello Mr Anderson, So, the story is that the newer versions of 5.x comes with forwarding disabled, hence the inability to to ipfw add fwd? Ok, will definately give it a try. Thanks for being a better Googler than me! When was it enabled by default?.. In case you still have trouble, check out this option, too: option IPFIREWALL_FORWARD_EXTENDED But don't enable it just in case, it unfastens some seat belts. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I disable HyperThreading in OS?
On 10/1/05, hshh [EMAIL PROTECTED] wrote: Hi, I have a dual XEON smp box. There is option about disable HTT in bios, but it can't work. It's still display 4 cpu in my OS. Can I disablt HTT in OS directly? I am running FreeBSD 4.11. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Take a look at this advisory: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc I think you want to upgrade to RELENG_4_11, or use the workaround. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/2/05, Warren [EMAIL PROTECTED] wrote: The plugin works on most things although there are sites that dont like the flash plaugin because it is out of date and will frequently crash firefox on me .. below is the output, bottom being the result AFTER it has closed itself. This setup works flawlessly for me on several machines. So let's debug it. Send us `uname -a` FreeBSD warren.shinji.nq.nu 5.4-STABLE FreeBSD 5.4-STABLE #20: Thu Sep 22 13:42:26 EST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/WARREN i386 `cat /etc/libmap.conf` # /etc/libmap.conf for FreeBSD 5-stable(5.3-BETA7 or after) and 6-current # $Id: libmap.conf-FreeBSD5-stable,v 1.20 2005/09/10 00:29:33 nork Exp $ ### # Flash6 with Opera is not available. # Flash6 with Konqueror # SEE ALSO: http://freebsd.kde.org/howtos/konqueror-flash.php # This configuration was integrated to following one. # Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so] libpthread.so.0 pluginwrapper/flash6.so libdl.so.2 pluginwrapper/flash6.so libz.so.1 libz.so.2 libstdc++-libc6.2-2.so.3libstdc++.so.4 libm.so.6 libm.so.3 libc.so.6 pluginwrapper/flash6.so ### # Acrobat with Opera is not available. # Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror #[/usr/local/Acrobat5/Browsers/intellinux/nppdf.so] #libc.so.6 pluginwrapper/acrobat.so # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror [/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so # Japanese Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror [/usr/local/Acrobat7/Browser/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so ### # Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] libstdc++.so.5 libstdc++.so.4 libc.so.6 pluginwrapper/realplayer.so ### # Java3D # NOTE: THESE ARE SAMPLES. PLEASE SEE ALSO INSTALL MESSAGES # OF java/java3d PORT. [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so] libdl.so.2 pluginwrapper/java3d.so libm.so.6 libm.so.3 libnsl.so.1 pluginwrapper/java3d.so libpthread.so.0 pluginwrapper/java3d.so libc.so.6 pluginwrapper/java3d.so [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so] libm.so.6 libm.so.3 libnsl.so.1 pluginwrapper/java3d_snd.so libpthread.so.0 pluginwrapper/java3d_snd.so libc.so.6 pluginwrapper/java3d_snd.so [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so] libpthread.so.0 pluginwrapper/java3d.so libc.so.6 pluginwrapper/java3d.so ### # Java Advanced Imaging (JAI) API # NOTE: THIS IS A SAMPLE. PLEASE SEE ALSO INSTALL MESSAGES # OF java/jai PORT. [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so] libm.so.6 libm.so.3 libc.so.6 pluginwrapper/jai.so ### # JAI Image I/O Tools # NOTE: THIS IS A SAMPLE. PLEASE SEE ALSO INSTALL MESSAGES # OF java/jai-imageio PORT. [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so] libm.so.6 libm.so.3 libc.so.6 pluginwrapper/jai.so ### # Photo Image Print System (for EPSON bubble jet printers driver) #[/usr/local/lib/pips/] #libc.so.6 pluginwrapper/pips.so #libdl.so.2 pluginwrapper/pips.so `firefox` %firefox ###!!! ASSERTION: nsTDependentString must wrap only null-terminated strings: 'mData[mLength] == 0', file ../../dist/include/string/nsTDependentString.h, line 67 Break: at file ../../dist/include/string/nsTDependentString.h, line 67 Type Manifest File: /usr/X11R6/lib/firefox/components/xpti.dat ###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file xptiInterfaceInfoManager.cpp, line 1937 Break: at file xptiInterfaceInfoManager.cpp, line 1937 nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded ###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file xptiInterfaceInfoManager.cpp, line 1937 Break: at file xptiInterfaceInfoManager.cpp, line 1937 nNCL: registering deferred (0) Xlib: connection to :0.0 refused by server Xlib: XDM
Re: CUPS, Foomatic, and HPIJS?
On 10/1/05, Eric Pretorious [EMAIL PROTECTED] wrote: From: Jared Barneck [EMAIL PROTECTED] Subject: Re: CUPS, Foomatic, and HPIJS? Date: Thu, 22 Sep 2005 15:27:51 -0600 Michael Nottebrock wrote: On Thursday, 22. September 2005 20:42, Eric Pretorious wrote: Thanks, Mike. I didn't have a chance to try it out: I decided to switch ack to Gentoo because of the steep learning curve that comes along with FreeBSD's ports packages. Can I just say that moving back to Gentoo because of a steep learning curve is no just ironic, but down right funny. :-) Installing CUPS/HPIJS was as easy as... % emerge cups ghostscript hpijs Portage automatically retrieves, compiles, and installs CUPS, GhostScript, the complete Foomatic configurator, HPIJS, etc., etc. and _integrates_them_all_. i.e., All of the HPIJS drivers/filters and Foomatic drivers/filters are *already* present in the web-based CUPS interface. Now *that* is what I call a relatively-flat learning curve!!! _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] BTW, to do the same thing in FreeBSD you type: # portinstall cups -m 'WITH_CUPS=yes' hpijs ghostscript and all other dependencies are installed automatically. The -m switch tells hpijs to support cups, but if you omit it the port tells you about it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/2/05, Warren [EMAIL PROTECTED] wrote: Interesting... Please, send me some links which behave badly. From the output of firefox it feels like the problem is with permissions or something like that. Try running firefox under root, please. http://www.hattrick.org Http://www.neopets.com Basically any website that has flash. It may work in the beggining, but when a refresh or move to another page that also has flash and it often simply force closes itself. running firefox as root warren# firefox Xlib: connection to :0.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key (firefox-bin:74966): Gtk-WARNING **: cannot open display: nsStringStats = mAllocCount: 1 = mReallocCount: 0 = mFreeCount: 0 = mShareCount: 0 = mAdoptCount: 0 = mAdoptFreeCount: 0 -- Yours Sincerely Shinjii http://www.shinji.nq.nu I don't have any problem with these 2 sites. Maybe it's your Java plugin that messes things up. Try disabling it for a while (just comment out lines in the java section in libmap.conf). I think 1.5.0 can still be very unstable. As for running under root, I didn't mean in the root login environment. Just startx as a user then open xterm, type su (not su - or su - root), enter pass and try firefox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Defragmentation needed with FreeBSD ...
On 10/2/05, Tamouh H. [EMAIL PROTECTED] wrote: I was just wondering if like in Windows disk fragmentation arises, and if so then how should one go about defragmenting it? There is no fragmentation in the BSD file systems, that is something related to Windows only. You might want to add the line: fsck_y_enable=YES to your /etc/rc.conf in the event fsck finds errors on your disks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Of course there is fragmentation. UFS, particularly its implementation in FreeBSD is more intelligent than NTFS/FAT32. When there is enough free space on the disk (typically more than 15%, see tunefs(8) for details), I/O is automatically optimized to minimize fragmentation. When your win32 box is idle, but the hdd is scratching it's very annoying, because you know that windows is swapping something. When your bsd box is idle, but the hdd is scratching it's quite pleasant, 'cuz that's some hard-working daemons make sure that you don't loose any data, and always can enjoy the maximum performance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Defragmentation needed with FreeBSD ...
On 10/2/05, Andreas Davour [EMAIL PROTECTED] wrote: On Sun, 2 Oct 2005, Gerard Seibert wrote: * REPLY SEPARATOR * On 10/2/2005 9:40:11 AM, Gerard Seibert Replied: I have both Windows and FreeBSD boxes, and I can honestly say that I do not hear the hdd scratching (I certainly hope it is not scratching). It sounds to me like you have a serious problem with your HD. Perhaps it is time to trade it in for a newer model. Yes, a HD should not be heard, then it's time to be very afraid! It happened to me yesterday, so I know... :( You know, it depends. Most of my Seagate drives are almost silent, but Maxtor and Hitachi (IBM) can easily be heard. Nevertheless, I don't take chances - and enable SMART on all hard drives. Smartmontools come in handy, I always know when it's time to make a backup and go buy another drive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + Firefox + Flash Problems
On 10/2/05, Vladimir Tsvetkov [EMAIL PROTECTED] wrote: I did everything like it was described in the how-to's about installing plugins for native Firefox on FreeBSD. I use FreeBSD 4.9 Release, which at this moment is unsupported. 1. Install firefox: # cd /usr/ports/www/firefox ; make install clean 2. Install linuxpluginwrapper: # cd /usr/ports/www/linuxpluginwrapper # make WITHOUT_PLUGINS=yes install clean I use WITHOUT_PLUGINS=yes, because I don't need acroread7 - I have acroread5 and it perfectly fits my needs. I got the following message: Please enable libmap.conf(5) feature for rtld(1). 4-stable user: You can get a following patch. http://people.FreeBSD.org/~nork/libmap_4stable.diff Please apply on /usr/src and make install on /usr/src/libexec/rtld-elf: # cd /usr/src ; patch -p0 /tmp/libmap_4stable.diff # cd libexec/rtld-elf ; make clean all install 5.1-RELEASE user: Please see /usr/src/libexec/rtld-elf/Makefile. *** Error code 1 Stop in /usr/ports/www/linuxpluginwrapper. 3. Patching: I've downloaded the patch: http://people.FreeBSD.org/~nork/libmap_4stable.diff and than I tried to apply it: # cd /usr/src ; patch -p0 /tmp/libmap_4stable.diff I got the following message: Hmm... Looks like a unified diff to me... The text leading up to this was: -- |diff -urN libexec/rtld-elf.old/Makefile libexec/rtld-elf/Makefile |--- libexec/rtld-elf.old/Makefile Sun Jun 23 06:32:35 2002 |+++ libexec/rtld-elf/Makefile Wed Oct 8 02:50:10 2003 -- File to patch: Obviously, I don't have /usr/src/libexec sources installed. 4. Install the libexec sources: I put the FreeBSD 4.9 Release installation CD in the CD-ROM. # /stand/sysinstall Configure-Distributions-src-libexec 5. Patch again: # cd /usr/src ; patch -p0 /tmp/libmap_4stable.diff # cd libexec/rtld-elf ; make clean all install This now works. 6. Another try to install linuxpluginwrapper: # cd /usr/ports/www/linuxpluginwrapper # make WITHOUT_PLUGINS=yes install clean No problems at all. 7. Install linux-flashplugin6: # cd /usr/ports/www/linux-flashplugin6 # make install clean No problems at all. 8. Editing /etc/libmap.conf: # /etc/libmap.conf for FreeBSD 4.x # Flash6 with Mozilla Firefox [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so] libpthread.so.0 pluginwrapper/flash6.so libdl.so.2 pluginwrapper/flash6.so libz.so.1 libz.so.2 libstdc++-libc6.2-2.so.3libstdc++.so.3 libm.so.6 libm.so.2 libc.so.6 pluginwrapper/flash6.so # Acrobat5 with Mozilla Firefox [/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so # Helix RealPlayer with Mozilla Firefox [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] libstdc++-libc6.2-2.so.3libstdc++.so.3 libc.so.6 pluginwrapper/realplayer.so I've checked every single Shared Object that is listed in my /etc/libmap.conf. But there are no indications at all, that Firefox is using the installed plugins. Still Firefox continues to inform me about missing plugins. I tried also, to configure Konqueror (3.1.4) to use the new plugins: Settings-Configure Konqueror..-Plugins-Scan for new plugins And I got the following error message: The nspluginscan executable cannot be found. Netscape plugins will not be scanned. I searched the web for this problem and I found this on the freebsd-questions maillist: http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/053298.html You have to compile /usr/ports/x11/kdebase3 with motif support. Run 'make config' to change that option, then recompile and install it. I tried this, but the message above is outdated (Thu Jul 22 02:13:13 PDT 2004). Currently in the configuration of the kdebase3 port there is only one option: [X] Suid wrapper for aRts, req'd for realtime prio I am aware that the version of FreeBSD that I use is no longer supported, but is there any way to workaround the necessity of moving to 4Stable, and to get a working plugins for the Firefox browser? Best Regards, Vladimir Tsvetkov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'd start with trying to recompile the whole world. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Defragmentation needed with FreeBSD ...
On 10/2/05, Kiffin Gish [EMAIL PROTECTED] wrote: On Sun, 2005-10-02 at 17:11 +0400, Andrew P. wrote: On 10/2/05, Tamouh H. [EMAIL PROTECTED] wrote: I was just wondering if like in Windows disk fragmentation arises, and if so then how should one go about defragmenting it? There is no fragmentation in the BSD file systems, that is something related to Windows only. You might want to add the line: fsck_y_enable=YES to your /etc/rc.conf in the event fsck finds errors on your disks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Of course there is fragmentation. UFS, particularly its implementation in FreeBSD is more intelligent than NTFS/FAT32. When there is enough free space on the disk (typically more than 15%, see tunefs(8) for details), I/O is automatically optimized to minimize fragmentation. When your win32 box is idle, but the hdd is scratching it's very annoying, because you know that windows is swapping something. When your bsd box is idle, but the hdd is scratching it's quite pleasant, 'cuz that's some hard-working daemons make sure that you don't loose any data, and always can enjoy the maximum performance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] So if I understand you correctly, this means that the disk is defragmented automatically in the background during idle use, e.g. I do not have to do anything else to enable it because it is already enabled. Correct? -- Kiffin Gish Gouda, The Netherlands It's not that simple, but the fact is that you don't need to worry about fragmentation at all. Just make sure that your drives have at least 15-20% free space for maximum performance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SendDmesg
On 10/2/05, Ansar Mohammed [EMAIL PROTECTED] wrote: Does the FreeBSD project request us to mail in or dmesg outputs as the OpenBSD project does? http://www.openbsd.org/faq/faq4.html#SendDmesg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well, we have something like that concerning amd64 motherboards here: http://www.freebsd.org/platforms/amd64/motherboards.html The way I get it, FreeBSD developers focus on the hardware they can lay their hands on. This way they only require user input in case a bug has been discovered. Thanks to relatively high FreeBSD popularity, you can easily find out whether your hardware is supported, using yahoo or google. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, Foomatic, and HPIJS?
On 10/1/05, Eric Pretorious [EMAIL PROTECTED] wrote: From: Jared Barneck [EMAIL PROTECTED] Subject: Re: CUPS, Foomatic, and HPIJS? Date: Thu, 22 Sep 2005 15:27:51 -0600 Michael Nottebrock wrote: On Thursday, 22. September 2005 20:42, Eric Pretorious wrote: Thanks, Mike. I didn't have a chance to try it out: I decided to switch ack to Gentoo because of the steep learning curve that comes along with FreeBSD's ports packages. Can I just say that moving back to Gentoo because of a steep learning curve is no just ironic, but down right funny. :-) Installing CUPS/HPIJS was as easy as... % emerge cups ghostscript hpijs Portage automatically retrieves, compiles, and installs CUPS, GhostScript, the complete Foomatic configurator, HPIJS, etc., etc. and _integrates_them_all_. i.e., All of the HPIJS drivers/filters and Foomatic drivers/filters are *already* present in the web-based CUPS interface. Now *that* is what I call a relatively-flat learning curve!!! Hey, I'm glad that you find gentoo a more convenient environment, but here's my story. I've been with FreeBSD since 4.9 and use it on my desktop at home, but I also have some experience with Linux (starting with Red Hat 6.x and ksi-linux, and up to now - I use RHEL and FC3/4 on some servers, and Debian on my desktop at work). So one day a couple of weeks ago I decided to try the so much praised Gentoo on an athlon64 box at home. First I tried to make it through without any prior reading. But I was surprised at the fact that one of the most popular distro doesn't have a visually guided installation. Ok, I downloaded and printed your handbook (or what was it called) - and read it from the top to the bottom. That took me a while, all right. Now, with some distro-specific knowledge, I tried my luck again - only to find that at one point the installation fails to start X.org in order to continue :-) I won't dive into all the detail, but I somehow got all I needed to know about Gentoo in one night, and I hope that my humble being will never stumble upon this OS once again :-) Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/1/05, Warren [EMAIL PROTECTED] wrote: Whats a good stable flash plugin for FireFox for FreeBSD? various ones i have tried in the past have made the browser to unstable to use. -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] www/linuxpluginwrapper-20050910 + www/linux-flashplugin-6.0r79_3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/1/05, Warren [EMAIL PROTECTED] wrote: On Sat, 1 Oct 2005 9:17 pm, Andrew P. wrote: On 10/1/05, Warren [EMAIL PROTECTED] wrote: Whats a good stable flash plugin for FireFox for FreeBSD? various ones i have tried in the past have made the browser to unstable to use. www/linuxpluginwrapper-20050910 + www/linux-flashplugin-6.0r79_3 I installed the above mentioned flash is still not working with FireFox, so unless im issing something then something has gone screwy somewhere. Anyone with any ideas ? -- Yours Sincerely Shinjii http://www.shinji.nq.nu Did you edit libmap.conf? If yes, you'll have to send us the output of `uname -a`, `firefox` and about:plugins in firefox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/1/05, Warren [EMAIL PROTECTED] wrote: I installed the above mentioned flash is still not working with FireFox, so unless im issing something then something has gone screwy somewhere. Anyone with any ideas ? -- Yours Sincerely Shinjii http://www.shinji.nq.nu Did you edit libmap.conf? If yes, you'll have to send us the output of `uname -a`, `firefox` and about:plugins in firefox. errr .. didnt see anything about editing anything, had window close after port was installed .. so i guess thats a no. -- Yours Sincerely Shinjii http://www.shinji.nq.nu Look there then: /usr/local/share/examples/linuxpluginwrapper ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/1/05, Bill Schoolcraft [EMAIL PROTECTED] wrote: At Sat, 1 Oct 2005 it looks like Andrew P. composed: On 10/1/05, Warren [EMAIL PROTECTED] wrote: Whats a good stable flash plugin for FireFox for FreeBSD? various ones i have tried in the past have made the browser to unstable to use. -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] www/linuxpluginwrapper-20050910 + www/linux-flashplugin-6.0r79_3 Hmm, any idea when this will be available for 'amd64' ? # [EMAIL PROTECTED] /usr/ports/www/linuxpluginwrapper]- make install === linuxpluginwrapper-20050613 is only for i386, and you are running amd64. # [EMAIL PROTECTED] /usr/ports/www/linux-flashplugin]- make install === linux-flashplugin-5.0r51_3 is only for i386, and you are running amd64. # TIA -- Bill Schoolcraft PO Box 210076 San Francisco, CA 94121 http://billschoolcraft.com ~ You do best what you like most. Many things are still missing for FreeBSD/amd64 to be a desktop OS. I'm not involved into any development, but I think that enabling Flash is nowhere near the top priorities. imhoLet Adobe keep it's narrow view of things - I'll vote with my money for AJAX and against Flash, Java and other proprietary horseshit./imho ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash PLugin for FireFox
On 10/1/05, Kiffin Gish [EMAIL PROTECTED] wrote: Warren wrote: On Sat, 1 Oct 2005 9:17 pm, Andrew P. wrote: On 10/1/05, Warren [EMAIL PROTECTED] wrote: Whats a good stable flash plugin for FireFox for FreeBSD? various ones i have tried in the past have made the browser to unstable to use. www/linuxpluginwrapper-20050910 + www/linux-flashplugin-6.0r79_3 Thanks .. i'll do it now and see how it goes :) Are you sure? This is my setup and firefox still crashes on any page containing flash... -- Kiffin Gish Gouda, The Netherlands This setup works flawlessly for me on several machines. So let's debug it. Send us `uname -a` `cat /etc/libmap.conf` `firefox` ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portsclean
On 9/30/05, Rem P Roberti [EMAIL PROTECTED] wrote: I would like to add Portsclean to my crontab, but am uncertain about which switches to include with the command. Any comments on how to handle this would be appreciated. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] portsclean -CDP would be appropriate, but you should be aware that on a rare occasion portsclean can delete a couple of files you'd rather keep. It's not really critical, but if you do have some spare disk space you might consider running it once a week or month in the interactive mode. Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which MySQL version best to use and with/without linux threads?
On 9/30/05, Olaf Greve [EMAIL PROTECTED] wrote: Hi, I've got a MySQL 4.0.16 DB running with several DB instances in it. So far, so good, but I'm looking for a bit of advice. I've got a few small questions: Firstly: is it (for a webserver) better to compile MySQL with linux-threads or without? I seem to recall having read that Linux uses a better threading mechanism, and that MySQL really benefits from this... What do you all think? Then, I'm currently configuring a second beast, ee, server. :) Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it, I instinctively installed the latest MySQL 4.0.x version (being 4.0.26) and it works flawlessly with the data from my current production machine. Still so far, so good. :) However... I was wondering what the advantages (and potential disadvantages!) may be of using a newer line of the MySQL DB. Can anyone tell me what the advantages/pitfalls may be of using v4.1.x or even v5, over using 4.0.x ? A year or two ago I installed a 4.1.x version and there were some issues then with using the passwords, coming from a 3.23.x or 4.0.x one. I don't remember the details, but it had something to do with that... Any advice is more than welcome, as this is the moment for me to make this sort of decicion, and I'd like to do so based on real user's experiences...:) Thank you kindly in advance, and with kind regards, Olaf Greve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm not a very experienced MySQL user, but in the absence of a better reply, here it goes. linuxthreads were only important on FreeBSD 4.x. Starting with 5.x we have a more efficient threading model. Extensive testing did not reveal any significant performance increase with MySQL compiled with linuxthreads on FreeBSD 5.x. You'd better forget about linuxthreads for good. As for the MySQL version (branch) - the only difference you should care about is feature set. If you feel comfortable without triggers and stored procedures (their absence makes many professional MSSQL/Oracle/Postgres users frown upon MySQL) you shouldn't be looking at MySQL 5.0 for at least another half a year. As for 4.1/4.0 - you should probably stick to 4.0 on your mission-critical servers, but certainly try 4.1 on your production, but not so critical servers. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NextCom or eRacks?
On 9/30/05, Tom Vilot [EMAIL PROTECTED] wrote: Ah, to heck with it. I bought an Apple PowerBook G4. Damn thing rulez ... ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hey, where's your damn dmesg output? :-) Come on, don't tell us you prefer a FreeBSD-based OS to the FreeBSD itself :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FBSD 5.4 - netstat -p tcp
Try the -a switch: # netstat -ap tcp On 9/30/05, Brian Henning [EMAIL PROTECTED] wrote: All, Using FBSD 5.4 and trying to see if there are open ports on my machine. when i use netstat -p tcp, it yields no results, but i know for a fact that i am running an sshd server on the machine because i am logged in remotely with putty. Any thoughts, Brian PS: netstat -p udp shows a list of all udp services running. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading
On 9/29/05, eoghan [EMAIL PROTECTED] wrote: On 28 Sep 2005, at 21:46, Beecher Rintoul wrote: On Wednesday 28 September 2005 12:28 pm, eoghan wrote: Hello Im going to do a fresh install of 5.3 over the weekend, then id like to upgrade to 5.4. My reasons for upgrading are: ill have to do it some time or another and I cant always rely on having my trusty dvd with me. So, the question is: what is the best way to do an upgrade? I figure ill do the install, make sure its all ok, and before I go ahead and install anything ill upgrade. I did hear people say that using the sysinstall isnt the way to go - maybe or maybe not? So any opinions here on how it should be done would be appreciated. To save yourself some time, just boot from your disk change the tag in the options screen to 5.4-RELEASE and do a net install. No need to start from 5.3. Beech Thanks for your advice. and thank you Derrick. I will read into those articles. Mike, the main reason is just so I can learn how to do it. Im using freebsd on my other computer only to learn it. Thanks all Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The Handbook has an excellent article on updating: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html For 5.3-5.4 or 5.3-6.0 or 5.4-6.0 transition you'll have to: 1. cvsup 2. make buildworld make buildkernel 3. make installkernel make installworld 4. mergemaster # be careful here 5. shutdown -r now Personally I tried each of these three transiotions and had absolutely no problem, though it did require some attention and reading. Have fun! Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sharing /usr/ports
On 9/28/05, Robert Marella [EMAIL PROTECTED] wrote: On Tue, 27 Sep 2005 12:46:49 +0400 Andrew P. [EMAIL PROTECTED] wrote: On 9/24/05, Gordon Ross [EMAIL PROTECTED] wrote: I've got two FreeBSD 5.4 machines. One is a server, the other is a desktop. snip Like others have already told you here, the best solution is packaging. There is a problem though - you can't make a package without installing the port first. If you're using portupgrade the whole thing is very simple. You mount /usr/ports from your file server on every client machine, and 'setenv WRKDIRPREFIX /usr/local/mywrk'. Then you just always run portupgrade with the -p switch on your fast machines, and use -PP (double P) switch on your slow machines. If they are all of single architecture and you don't put some very custom stuff in /etc/make.conf, it'll all work completely hassle-free. You'll also want to ensure that portupgrade uses the same ports db driver on all machines. dbm_hash is probably the most portable one, so you can place ENV['PORTS_DBDRIVER'] = 'dbm_hash' in /usr/local/etc/pkgtools.conf on every machine. From then on you can portsnap fetch portsnap update \ portsdb -uUF portupgrade -arRF every morning, portupgrade -aprR on your build boxes, portupgrade -arRPP on your other boxes - and then just relax sit back and enjoy the magical feeling of being up-to-date. Cheerz, Andrew P. Thank you for posting this Andrew. I have been messing with keeping my slower systems updated for awhile. This will make it quicker. I have one question. Is there an easy way to keep the /usr/ports/packages/All directory clean? This is an example of what I mean: p4# cd /usr/ports/packages/All p4# ls -l xfce* -rw-r--r-- 1 root wheel 2886 Mar 18 2005 xfce-4.2.0_1.tbz -rw-r--r-- 1 root wheel 2893 Apr 7 18:33 xfce-4.2.1.1.tbz -rw-r--r-- 1 root wheel 2246 Sep 27 08:41 xfce-4.2.2.tbz -rw-r--r-- 1 root wheel94955 Mar 18 2005 xfce4-appfinder-4.2.0_1.tbz -rw-r--r-- 1 root wheel95435 Apr 7 17:42 xfce4-appfinder-4.2.1.tbz -rw-r--r-- 1 root wheel 203207 Sep 27 08:43 xfce4-appfinder-4.2.2.tbz -rw-r--r-- 1 root wheel 2100621 Mar 18 2005 xfce4-desktop-4.2.0_1.tbz -rw-r--r-- 1 root wheel 2125020 Apr 7 17:52 xfce4-desktop-4.2.1.tbz -rw-r--r-- 1 root wheel 2344995 Sep 27 08:47 xfce4-desktop-4.2.2.tbz -rw-r--r-- 1 root wheel 1962410 Mar 18 2005 xfce4-fm-4.2.0_1.tbz -rw-r--r-- 1 root wheel 1966223 Apr 7 17:38 xfce4-fm-4.2.1.tbz -rw-r--r-- 1 root wheel 3162381 Sep 27 08:45 xfce4-fm-4.2.2.tbz etcetera, etcetera, etcetera. The old packages can start to take up a lot of space. Thanks Robert Glad to be helpful, Robert! Sure, there's an easy way, just run # portsclean -P and all your outdated packages are gone. man portsclean for details. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Upgrade from 5.2 to 5.4
On 9/28/05, Jay Moore [EMAIL PROTECTED] wrote: On Tuesday 27 September 2005 08:43 pm, Peter Clutton wrote: What's the deal? I've read the upgrade documentation, but it's just not clear to me what's going on - can someone point me to a better/more detailed source of documentation on the upgrade process (in particular wrt HD config)? This might help: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html No hard drive messing required. You will also need to read up on csv in handbook. This is pretty old hardware - 200 MHz Pentium; I tried the makeworld route once before, and it took too long. I just wanted a nice, simple, binary upgrade... maybe that's not possible; maybe I will have to do a fresh install. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If I were you, I'd try the binary update first. In the hard drive configuration screens, leave the partiotions untouched (press q in the partiotioning screen) and type in the mount points in the labelling screen. You can check out your current mount points by typing # mount on your running system. Just jot it down - and type it in later. Also make sure the newfs toggles are off (this is probably the default) if you don't want to reformat your drive. If you get stuck, you can try to install 5.4 over 5.2 without formatting your partitions. Just use the same set of instructions. You might need to run mergemaster after installation. And if you don't have any important data on the hard drive - why bother at all? Just make a clean install. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sharing /usr/ports
On 9/29/05, Robert Marella [EMAIL PROTECTED] wrote: : Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 29 Sep 2005 13:35:38 +0400 Andrew P. [EMAIL PROTECTED] wrote: On 9/28/05, Robert Marella [EMAIL PROTECTED] wrote: clip I have one question. Is there an easy way to keep the /usr/ports/packages/All directory clean? clip The old packages can start to take up a lot of space. Thanks Robert Glad to be helpful, Robert! Sure, there's an easy way, just run # portsclean -P and all your outdated packages are gone. man portsclean for details. Cheerz, Andrew P. Hi Andrew, I could while away the hours Conferrin' with the flowers Consultin' with the rain And my head, I'd be scratchin' While my thoughts were busy hatchin' If I only had a brain. In my nightly cvsup I actually do a portsclean -CD. Mea Culpa Thanks again Robert Should we send-pr for starting a freebsd-poetry mailing list? :-) You know, I actually think that it's better to send a dumb question to freebsd-questions, than to RTFM. Know why? 1. Well, it's a pleasure for a nooby guy (like me) to find out that he can actually help someone. 2. It's a pleasure for anyone to be given a good answer instead of (probably more appropriate) reprimand. It also makes this anyone think about subscribing and trying to help others. 3. It makes us all able to say that in the absence of official (commercial) vendor support, FreeBSD has a much more efficient way of solving your problems, even without investing your time into reading tomes of docs and manpages. Have a great night, Andrew P. ___ 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 packages
On 9/30/05, Charles Swiger [EMAIL PROTECTED] wrote: On Sep 29, 2005, at 4:38 PM, Milscvaer wrote: How often are the binary packages in 5-stable for instance rebuilt to the latest version? It is pretty critical to keep these updated constantly, preferably every day, to get the latest security fixes in a new version of a package. I noticed that Firefox still seems to be at 1.0.6 even though 1.0.7 has been out for several days. Does FreeBSD have a system set up where when a port is upgraded to a new version, the binary package for the port is automatically rebuilt soon after, such as at least within the next day so that the latest version in ports is also avialable as a binary package. This is very essential. I hope such a feature can be provided. The cluster of machines used to build precompiled packages operates pretty much continuously, as you can see for yourself at: http://pointyhat.freebsd.org/errorlogs/ As this link says, Last full run on 5.x-stable [i386 (2005-09-27 05:24)] was two days ago, and a new run is in progress which ought to have Firefox 1.0.7 and anything else which has been updated since the last run was started. Note that building 13000 ports takes quite a while, so expecting less than 24-hour turnaround for binary packages might be too optimistic. So if you want software updated more quickly, build it yourself-- updating the 10 ports that you actually use is a lot easier than building everything. Or you could donate more hardware to the FreeBSD project, or even set up your own build cluster if you think you can do a better job. Does also, is anything done to avoid the situation where an older program needs an older version of a dependancies and a newer program needs a newer version of the same depedancy? Why, yes, people use shared library version numbers, or they install to different base prefixes, or any number of similar methods. For popular software like the Berkeley DB, this support is well- integrated into the ports system and the options menu that many ports will display, using WITH_BDB_VER. These mechanisms are documented in the Porter's Handbook here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ makefile-options.html#AEN2286 Does portupgrade leave older versions of a library dependancy in place when installing a new version of such a dependancy, so that applications that require the newer version of the dependancy can use the new version, while applications that need the older version can use the older version? Yes, it does. Consider the output of du -a /usr/local/lib/compat/... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Everyone, I've been actually thinking about this whole subject for the last few days. We've got to do something in order to make major few hundred packages lag by not more than a few hours. Ideally, we should have a tool for distributed, but secure port-building. In the absence of such a tool, we should think of something very simple, but workable. E.g., to ask users to send in SHA checksums of their built packages (with very specific build environment), compare them to each other (verify) and ask one of them to send the package itself to a central location (ftp.freebsd.org). Better yet - is to employ bittorrent, which would do the hashing thing automatically, and provide for a very fast download for anyone. I really think that it's very simple and only takes a tad of a spare time of one man to do it. Personally, I have several machines at home and at work, running FreeBSD i386 and amd64 day and night. They're currently wasting their CPU cycles on dnetc, and I will gladly start building all kinds of packages, but I don't have much bandwidth to spare (hardly to upload, impossible to distribute). Please, those directly involved into the freebsd project, step forward - and let's decide on something. It's not time-critical, but it can't be ignored forever. People spend much of their free time in order to keep the ports tree astonishingly up-to-date (more up-to-date than software in any other OS I've ever used). We've only got to spend machine time, but the packages lag by weeks sometimes. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sharing /usr/ports
On 9/24/05, Gordon Ross [EMAIL PROTECTED] wrote: I've got two FreeBSD 5.4 machines. One is a server, the other is a desktop. I've mounted on the desktop the /usr/ports directory from the server. My idea being that I could share the one /usr/ports directory amongst my machines and save disc space, and also save having to recompile everything whenever I install a port. My problem is that, if I do a make on one machine, I can't then do a make install on the other machine. (When I try, nothing happens) I haven't mounted any of the directories from under /var/db (e.g. pkg, ports) Is what I'm trying to do possible ? If so, what am I missing or doing wrong ? Like others have already told you here, the best solution is packaging. There is a problem though - you can't make a package without installing the port first. If you're using portupgrade the whole thing is very simple. You mount /usr/ports from your file server on every client machine, and 'setenv WRKDIRPREFIX /usr/local/mywrk'. Then you just always run portupgrade with the -p switch on your fast machines, and use -PP (double P) switch on your slow machines. If they are all of single architecture and you don't put some very custom stuff in /etc/make.conf, it'll all work completely hassle-free. You'll also want to ensure that portupgrade uses the same ports db driver on all machines. dbm_hash is probably the most portable one, so you can place ENV['PORTS_DBDRIVER'] = 'dbm_hash' in /usr/local/etc/pkgtools.conf on every machine. From then on you can portsnap fetch portsnap update \ portsdb -uUF portupgrade -arRF every morning, portupgrade -aprR on your build boxes, portupgrade -arRPP on your other boxes - and then just relax sit back and enjoy the magical feeling of being up-to-date. Cheerz, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD Sempron CPUTYPE Co.
On 9/23/05, jason [EMAIL PROTECTED] wrote: Andrew P. wrote: On 9/22/05, jason [EMAIL PROTECTED] wrote: Andrew P. wrote: Hello! So I have a Sempron 2500+ CPU, one that supports SSE3. What should I place in my /etc/make.conf? I use ssh with X11Forward very often, so OpenSSL should be compiled to be as fast as it can be on this CPU. Here's a part of dmesg: CPU: AMD Sempron(tm) Processor 2500+ (1407.05-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fc2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR, PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+, b25,LM,3DNow+,3DNow I want to use SSE3, but I don't want to set CPUTYPE to nocona, cause that way compilers won't ever use AMD features. Is there a way to tell compilers to use every feature I've got? Thanks very much, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] man make.conf and man gcc You will be limited by the gcc version on FreeBSD. You can use gcc 4 for your apps, and all that SSE and 3DNow stuff is not currently allowed in the kernel. I remember ready, maybe on slashdot, where a man did very little work to do a native port of ssh to native amd64 code and got a hugh speed boost. Making sure you get a optimized version os ssh like what I described will make a much bigger difference than just adding amd64 as your cp type to make.conf. Jason I run FreeBSD/i386, not amd64. make.conf, gcc and cpp manpages tell you nothing about the subj. I roamed mailing lists for a few hours and settled on adding -march=pentium4 -msse3 to CFLAGS and COPTFLAGS. I didn't do any serious benchmarking, but the `top` output feels like sshd got 2-3% performance boost. Will try to recompile with -mfpmath=sse later. Also, I tried forwarding X11 over network without SSH, and some things kept lagging. My guess is network connection and my solution is a Gigabit switch; the funny thing is that I have Gb NICs in most of my PCs, but I still use a 100Mb switch. Hmm, that sucks. The K8 core in 32bit mode. I have heard of native 32 bit semprons, is that what you have? Well check this man page http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options it will have everything, I hope, you need to know. Native 32-bit mode? All AMD Athlon64/Sempron/Opteron CPUs support 32-bit mode quite natively. As for Semprons - there are some called 64-bit enabled. I have one of those. Thanks very much for the link. I put some knobs into my make.conf file - but it's not just that easy, no. Some apps do not like the newer knobs like -msse3, so I have yet to come up with a better solution than to edit make.conf before each build. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu
On 9/23/05, Matt Virus [EMAIL PROTECTED] wrote: kalin mintchev wrote: My guess is SpeedStep. but my laptop is always using ac not battery... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] you might have to go into the bios and disable powersaving completely to get fbsd to play nicely. -- Matt Virus (veer-iss) http://www.mattvirus.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Also take a look at: http://www.google.com/search?q=speedstep+freebsd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD Sempron CPUTYPE Co.
On 9/22/05, jason [EMAIL PROTECTED] wrote: Andrew P. wrote: Hello! So I have a Sempron 2500+ CPU, one that supports SSE3. What should I place in my /etc/make.conf? I use ssh with X11Forward very often, so OpenSSL should be compiled to be as fast as it can be on this CPU. Here's a part of dmesg: CPU: AMD Sempron(tm) Processor 2500+ (1407.05-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fc2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR, PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+, b25,LM,3DNow+,3DNow I want to use SSE3, but I don't want to set CPUTYPE to nocona, cause that way compilers won't ever use AMD features. Is there a way to tell compilers to use every feature I've got? Thanks very much, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] man make.conf and man gcc You will be limited by the gcc version on FreeBSD. You can use gcc 4 for your apps, and all that SSE and 3DNow stuff is not currently allowed in the kernel. I remember ready, maybe on slashdot, where a man did very little work to do a native port of ssh to native amd64 code and got a hugh speed boost. Making sure you get a optimized version os ssh like what I described will make a much bigger difference than just adding amd64 as your cp type to make.conf. Jason I run FreeBSD/i386, not amd64. make.conf, gcc and cpp manpages tell you nothing about the subj. I roamed mailing lists for a few hours and settled on adding -march=pentium4 -msse3 to CFLAGS and COPTFLAGS. I didn't do any serious benchmarking, but the `top` output feels like sshd got 2-3% performance boost. Will try to recompile with -mfpmath=sse later. Also, I tried forwarding X11 over network without SSH, and some things kept lagging. My guess is network connection and my solution is a Gigabit switch; the funny thing is that I have Gb NICs in most of my PCs, but I still use a 100Mb switch. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: game server
On 9/19/05, Eros [EMAIL PROTECTED] wrote: Hi List please, How can I make a game server with FreeBSD ? I want run every game from one ferver with out need to install the games on the clients. Can i make that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] With proper workarounds applied (available via google and emule) most of current games can be run from a network share. FreeBSD + Samba make for a nice windows- compatible file server. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu
On 9/22/05, kalin mintchev [EMAIL PROTECTED] wrote: hi all just noticed this i the dmesg: CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (1196.12-MHz 686-class CPU) it says 2.20GHz but then only 1196.12MHz - it looks like it only uses half of the cpu power.. why? My guess is SpeedStep. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AMD Sempron CPUTYPE Co.
On 9/21/05, Josh Paetzel [EMAIL PROTECTED] wrote: On Tuesday 20 September 2005 15:21, Andrew P. wrote: Hello! So I have a Sempron 2500+ CPU, one that supports SSE3. What should I place in my /etc/make.conf? I use ssh with X11Forward very often, so OpenSSL should be compiled to be as fast as it can be on this CPU. Here's a part of dmesg: CPU: AMD Sempron(tm) Processor 2500+ (1407.05-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fc2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR, PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+, b25,LM,3DNow+,3DNow I want to use SSE3, but I don't want to set CPUTYPE to nocona, cause that way compilers won't ever use AMD features. Is there a way to tell compilers to use every feature I've got? Thanks very much, Andrew P. I don't know what options to put in /etc/make.conf, but I see that you are running your FSB @ 133mhz when it should be @ 166mhz. A Sempron 2500+ runs at 1.75ghz There are different Semprons marked 2500+. Mine is equipped with 256Kb L2 cache and runs and 1.4GHz. Any other suggestions? :) Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Performance of mailserevr in FreeBSD 5.4
On 9/20/05, Deepak Naidu [EMAIL PROTECTED] wrote: Hi, I wanted to know whether FreeBSD can make a perfect mailserver compared to mailservers on linux. I am in process of porting them, but needed some statistical info regarding its performance compared with other os. It seems many webservers are run on FreeBSD, I know its stable, but any specific, like less IO process kernel, system tuning etc Well, rumor is that at one time FreeBSD+qmail was yahoo's primary email solution, serving millions of accounts. I'm pretty sure they've gone on to use another solution since then, but unless your user base will grow over a zillion any time soon, FreeBSD is a very fine OS for it. We are using CommuniGate on FreeBSD 5 at our site (~5000 accounts). Our postmaster told me that FreeBSD is the easiest OS to install CG on. To be fair, we're moving to Solaris 10 now, but that's because we've been donated a couple of sparc's and want a hassle-free environment. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AMD Sempron CPUTYPE Co.
Hello! So I have a Sempron 2500+ CPU, one that supports SSE3. What should I place in my /etc/make.conf? I use ssh with X11Forward very often, so OpenSSL should be compiled to be as fast as it can be on this CPU. Here's a part of dmesg: CPU: AMD Sempron(tm) Processor 2500+ (1407.05-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fc2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR, PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+, b25,LM,3DNow+,3DNow I want to use SSE3, but I don't want to set CPUTYPE to nocona, cause that way compilers won't ever use AMD features. Is there a way to tell compilers to use every feature I've got? Thanks very much, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Downgrading from amd64 to i386
On 9/18/05, Sean [EMAIL PROTECTED] wrote: Subhro wrote: Andrew P. sat at his 'puter and typed on 9/18/2005 1:49: Hello! I use FreeBSD/amd64 6.0 as the only OS on my desktop PC. Having carefully thought over pros and cons, I decided to downgrade to i386 for the time being. What on earth does this mean? This is simply not possible. amd64 is a completely different platform. i386 is a 32 bit platform and amd64 is a 64 bit one. You can upgrade or downgrade from one version to other provided the platform remains constant. But upgrading from one patform to other involves buying and assembling physically different hardware holding different copies of OS. Thanks S. But the AMD hardware, for example I have a dual Opteron, can run in 64(amd64) or 32(i386) bit mode. So could you upgrade i386 to amd64 on such a system? Sounds interesting. Well, theoretically, it sure as hell is possible. I mean I have cross-compiled dozens of programs, and they worked fine. There are just too few people that have tried cross-upgrading, so I guess I'll have to stick to the backup-clean-install path. What a pity. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where to rent a FreeBSD user account?
On 9/17/05, cpghost [EMAIL PROTECTED] wrote: On Sat, Sep 17, 2005 at 12:50:47AM +0400, Andrew P. wrote: Hello! I'm sick and tired of moving config files between a multitude of hosts just in order to find a nice environment and edit them, I feel like I need a place to stay. I've decided to rent a virtual freebsd server next year, but in the meantime, I need just a user account. Required: - freebsd 5.4+ - large selection of preinstalled ports - 300Mb+ disk space - 2Gb+ monthly traffic - ftp access - stable as in rock-solid - backed up regularly - uptime very close to 100% - under $15/month If you mean by under =: http://www.johncompanies.com/ They offer jails, AFAICT. I didn't try them out, but they seem to be professional. Anyone here used them? They are very interesting, but their site is very outdated... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Downgrading from amd64 to i386
Hello! I use FreeBSD/amd64 6.0 as the only OS on my desktop PC. Having carefully thought over pros and cons, I decided to downgrade to i386 for the time being. My plan is to 1. cvsup 2. Deinstall all ports 3. Somehow build/install new world and kernel 4. Reinstall all ports I know that the i386--amd64 path is still not that smooth and going backwards is not gonna make it smoother, but can you please give some helpful tips? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to convert lower case to uppercase in a word in a line ?
proxy# echo Word | tr [:lower:] [:upper:] WORD On 9/16/05, Yavuz Maslak [EMAIL PROTECTED] wrote: Hello There is a word that consists lowercases. How to change all of letters capital letters in stead of lowercase ? is there any script about that ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to convert lower case to uppercase in a word in a line ?
On 9/16/05, Jonathan Glaschke [EMAIL PROTECTED] wrote: Hello, On Fri, Sep 16, 2005 at 06:51:16PM +0300, Yavuz Maslak wrote: Hello There is a word that consists lowercases. How to change all of letters capital letters in stead of lowercase ? is there any script about that ? Thanks ___ Or you do this using perl: $ perl -e 'chomp system(mv $_ .uc($_)) foreach `ls`;' sed, awk, python, php, ruby, whatever versions are to follow shortly :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where to rent a FreeBSD user account?
Hello! I'm sick and tired of moving config files between a multitude of hosts just in order to find a nice environment and edit them, I feel like I need a place to stay. I've decided to rent a virtual freebsd server next year, but in the meantime, I need just a user account. Required: - freebsd 5.4+ - large selection of preinstalled ports - 300Mb+ disk space - 2Gb+ monthly traffic - ftp access - stable as in rock-solid - backed up regularly - uptime very close to 100% - under $15/month Preferably: - nfs access - located in Europe I've googled for a few minutes, but all I've found is some free (as is) accounts and http-hosting. Maybe some of you guys know (or own?) a decent company that offers such a service? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Loading kld's from other archs/versions
Hello! By any chance, can I somehow use kernel modules compiled for 5.4/i386, 5.4/amd64 or 6.0/i386 on 6.0/amd64? I don't have the source code, but I need it to work very much. Will be most glad to hear any ideas. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any thing better then portupgrade?
On 8/27/05, Nikolas Britton [EMAIL PROTECTED] wrote: Every time I run that POS I end up pulling my hair out and trying to stop myself from beating the system with a sledge hammer. Their has to be something better. Man, install Fedora Core and stick with yum for a week. If you survive, you'll praise portupgrade for the rest of your life. Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine error
The wine port works fine for me. Never tried M$ Office, but had a success with some complicated software (Counter-Strike with some networking issues, WarCraft3...) Make sure you read the wine user's guide and faq. There's also this linux-winetools port. I haven't tested it a lot, but it might be able to facilitate your wine experience. As for full hardware emulation - I tried qemu and bochs on FreeBSD5.4/i386. Both work flawlessly and quite fast, unlike the much troublesome vmware ports. Andrew P. On 8/26/05, Joe Auty [EMAIL PROTECTED] wrote: At one point I tried very hard to get Wine to work under FreeBSD, but it was very frustrating because Wine is pre-beta software right now designed for Linux. It is hard enough to get it to work under Linux! My suggestion would be to install and setup VMWare 3 on FreeBSD, this works quite well. Either that, or wait for a FreeBSD port of Crossover Office. Hint: you'll need to Google for the file the vmware3 port looks for in /usr/ports/distfiles =) On Aug 26, 2005, at 11:33 AM, Zorro Super Hero wrote: hi i don't know if its the mail that i need to use for my question. i just don't know who do i need to ask. i have a Freebsd 5.4 and i install KDE Gnome on it. i use Gnome all the time. i have P-III 450 with 128mb Ram. and i going to bay mor 256mb Ram son. i try to install wine to run ms office (its the only office that suport hebrew) we use to mach windows in my job place :-( and i wont to move up to Freebsd. and we need to use ms office. i get the wine from winehq.com i go to Freebsd and i get the version...Wine-20050725.tar.gz i do tar -zxvf . the next thing i do ./configure and everything was good. nex i do make depend and it was good to. (with no error). now i do make. and its run for a long time then i get an error.. updown.c: In function `UPDOWN_DoAction': updown.c:619: error: structure has no member named `MaxRal' updown.c: In function `UpDownWindowProc': updown.c:817: error: structure has no member named `MaxRal' updown.c:1007: error: structure has no member named `MaxRal' updown.c:1021: error: structure has no member named `MaxRal' updown.c:1023: error: structure has no member named `MaxRal' *** Error code 1 Stop in /usr/home/emanuel/Wine-20050725/wine-20050725/dlls/comctl32. *** Error code 1 Stop in /usr/home/emanuel/Wine-20050725/wine-20050725/dlls. *** Error code 1 Stop in /usr/home/emanuel/Wine-20050725/wine-20050725. i use sudo to do it, and i try to do it one more time as root, i do su. i try to find help in google.com or google.com/bsd/ but ... nothing :-(. i hope some one can help me or tall me where can i find a good help. i try to give all the ditel's abut my pc and all the command that i do. BTW my name is emanuel and i am from israel. and we wish that one day Freebsd come with Hebrew enable like mandrake and redhat. we just love Freebsd more! Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifpw weirdness
On 8/23/05, thursday [EMAIL PROTECTED] wrote: Greetings, I have a machine running FreeBSD5.3-RELEASE. I built it in December or so. Girlfriend accidentally hit the power button on it a couple of months ago, and it rebooted, and everything came back fine. Last night, stupid me stepped on the power strip, and when it rebooted, it would no longer do nat, or even pass traffic on the internal interface at all. When I flush the firewall rules (/sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via fxp0 /sbin/ipfw add pass all from any to any) and allow everything, natd works perfectly happily. The firewall configuration has not changed since maybe January; I've made no changes to it since the last unplanned reboot, when it all came up fine. I'm kind of stumped, and slightly terrified, at what may be the cause. Below are bits from my rc.firewall, rc.conf, and natd.conf. I use the simple firewall included by default. I've removed my ip address to assuage my paranoia. Anyway, the contents of these files has not changed in months. Any thoughts would be deeply appreciated. Just a dumb guess, but could it be that your IP address changed? What do you think could have changed? What did fsck tell you? Maybe there were some update routines in action? Andrew P. P.S. Sorry for the gmail text formatting ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dd is so slow on my SCSI disc
On 8/23/05, Sebastian Pahlke [EMAIL PROTECTED] wrote: Hi all, I'm trying to clean a disc before selling them: dd if=/dev/zero of=/dev/da0 Do I make something wrong because the transfer rate is only 60932 bytes/sec??? These are 60 kbytes/sec, slower than my internet connection!!! :( I tried to increase the block size, with bs=32768 I get 3416071 bytes/sec. But this is still very poor. The system is a PIII 800MHz and a SCSI-3 disc in single user mode booted from FreeBSD release 5.4 live-cd. Any ideas how to analyze this? Thanks in advance! Hmm, I'd start with increasing block size up to megabytes and if that doesn't help - I'd try to copy a large file to/from the disk and measure the speed. Also, the smartmontools port can tell you much if the drive supports SMART. Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound card drivers
Andrew P. wrote this in December 2004: I grepped sysctl list and found hw.snd.pcm0.spdif_enabled switch, but when I change it 0-1, the sound disappears (both analog and digital outputs are silent). I tried to play with other hw.snd switches, changed mixer levels and recsrc, searched the net for a few hours - but nothing came up. People hack into sound drivers in cases like mine, but I'm too lame for that yet. Anyways, after loading snd_driver dmesg says pcm0: VIA VT8237 ... pcm0: [GIANT-LOCKED] pcm0: Avance Logic ALC658 AC97 Codec Motherboard manual says it's a Realtek ALC658 CODEC (UAJ) and the chip itself says Realtek. Has anybody tried to make spdif out work on this mother? Hi! I just wanted to let you guys know that OSS drivers worked great for me. Now I can use my hardware spdif/ac3/dts decoder and watch my favorite movies with breath-taking sound - under my favorite OS. I guess I'm staying with FreeBSD for good. Note that OSS is free for home use now. I'd say we should draw some attention of the FreeBSD community to this fine solution - as it adds support for tens of pieces of sound hardware. Andrew P. P.S.: I've always known that mplayer was a great tool, but it turns out you can't ever overestimate it. I tried 30-50 video players for windows - and had some problems with each and everyone of them (lack of caching, decoding problems, DirectX issues, you name it...) I change to FreeBSD, try the first player on my mind (mplayer) - and instead of much anticipated issues (c'mon, DivX and DTS playback on Unix? Give it up!) - I get instant and flawless playback. I'm touched :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Counter-Strike, Wine and FreeBSD
I use wine-20050725 from ports. You know, I also have problems with fonts in CS. Sometimes they all work flawlessly, sometimes squares are displayed instead of some of them - but it has nothing to do with wine fonts or X fonts, because all fonts in CS are bitmap files located somewhere in the valve folder. I think the only thing in the config that matters in this case is this: [x11drv] ScreenDepth = 16 Managed = N Desktop = 1024x768 UseDGA = Y UseXVidMode = Y UseTakeFocus = Y DXGrab = N DesktopDoubleBuffered = Y But in fact I'm not sure all fonts are displayed fine with this. CS launches with virtually any settings here - that's what I'm sure of. I know about http://cedega.firepipe.net/ (and btw, Cedega is free without its copy-protection extensions), but it seems that wine is still much easier to set up on BSD than Cedega. I have never paid for a piece of software in my life (except for donations to some open-source projects), but I'm ready to give the guys $15 if they cure me of dependancy from windows. [I was also going to buy OSS sound drivers as they stated support for SoundMax, but I downloaded a trial - and SoundMax wasn't in the list of FreeBSD drivers, what a pity]. Yep, there are many great games that run smoothly on FreeBSD without any tribal dances. I've been enjoying Nexuiz for the last few days. But I really want to get CS1.5 going - it's not just a game for me, it's a place where I can regularly meet my friends :-) Andrew P. On 8/16/05, Aaron Gibson [EMAIL PROTECTED] wrote: quick question, I'm guessing you used wine in ports? I never seemed to be able to get the fonts to work properly with Counter-Strike 1.5. Can you post your wine config file? The alternative was/is cedega, but I felt more inclined to boot windows than pay even more money to get a game to work (my .02) Props to ID and epic for supporting alternative platforms. UT* and Quake/Doom series work very well as I understand it (I played UT2004 and QuakeIII on FreeBSD with great success) --Aaron Andrew P. wrote: Hello! I'm sorry to bother you all guys, but this issue has really become a crusade for me :) I'm trying to play Counter-Strike 1.5 on FreeBSD - over network The easy part was to install wine, closed-source nvidia drivers, launch CS1.5 - and even play on the local listen server with some bots. Mouse was not very responsive, but overall performance was great. It should be noted that CS1.5 did not need any native dll's - only wine's built in modules. The problems start when you try to connect to a network server. It would just hang. It took me three days of messing with wine, googling, and meditating - to finally decide to ask for help at freebsd-questions :) Things I tried: using virtually all combinations of native dll's from Win98 and WinXP, trying each and every option in .wine/config, trying all kinds of CS1.5 options, etc. Things I didn't try yet - they would require some expertise with wine/freebsd: careful debugging of relays and messages, building wine from cvs (port is not that old), IPX instead of IP (wild idea), etc. Come on, people, could somebody help me with this? CS is the single most popular FPS game out there. I could just give up and fall back to Linux/Cedega, but that just wouldn't be cool :) I'm sure that if we sort it out with CS1.5, Steam and Source will just be a matter of time. And some hundreds of geeks won't have second thoughts about FreeBSD on their desktop/laptop computers. I set up a separate Category on my forum in case anyone needs it: http://www.csme.ru/forum/ Thanks guys, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Counter-Strike, Wine and FreeBSD
Hello! I'm sorry to bother you all guys, but this issue has really become a crusade for me :) I'm trying to play Counter-Strike 1.5 on FreeBSD - over network The easy part was to install wine, closed-source nvidia drivers, launch CS1.5 - and even play on the local listen server with some bots. Mouse was not very responsive, but overall performance was great. It should be noted that CS1.5 did not need any native dll's - only wine's built in modules. The problems start when you try to connect to a network server. It would just hang. It took me three days of messing with wine, googling, and meditating - to finally decide to ask for help at freebsd-questions :) Things I tried: using virtually all combinations of native dll's from Win98 and WinXP, trying each and every option in .wine/config, trying all kinds of CS1.5 options, etc. Things I didn't try yet - they would require some expertise with wine/freebsd: careful debugging of relays and messages, building wine from cvs (port is not that old), IPX instead of IP (wild idea), etc. Come on, people, could somebody help me with this? CS is the single most popular FPS game out there. I could just give up and fall back to Linux/Cedega, but that just wouldn't be cool :) I'm sure that if we sort it out with CS1.5, Steam and Source will just be a matter of time. And some hundreds of geeks won't have second thoughts about FreeBSD on their desktop/laptop computers. I set up a separate Category on my forum in case anyone needs it: http://www.csme.ru/forum/ Thanks guys, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
On 7/27/05, Michael C. Shultz [EMAIL PROTECTED] wrote: On Tuesday 26 July 2005 16:48, Andrew P. wrote: On 7/27/05, Michael C. Shultz [EMAIL PROTECTED] wrote: On Tuesday 26 July 2005 16:00, Andrew P. wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. Here is the ifconfig output from a machine that has one nic set at 10Mbit/half duplex and one at 100Mbit full duplex. how does it compare with your system? xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1RXCSUM inet6 fe80::210:4bff:fe70:4fb0%xl0 prefixlen 64 scopeid 0x1 inet 71.102.0.97 netmask 0xff00 broadcast 71.102.0.255 ether 00:10:4b:70:4f:b0 media: Ethernet autoselect (10baseT/UTP) status: active xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1RXCSUM inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::210:4bff:fe0a:7cbc%xl1 prefixlen 64 scopeid 0x2 ether 00:10:4b:0a:7c:bc media: Ethernet 100baseTX full-duplex status: active Well, if that really matters to you: (freebsd 5.4) vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20f:3dff:feca:c494%vr0 prefixlen 64 scopeid 0x1 inet 192.168.17.217 netmask 0xff00 broadcast 192.168.17.255 ether 00:0f:3d:ca:c4:94 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.17.1 netmask 0xff00 broadcast 192.168.17.255 ether 00:40:f4:8d:a7:f8 media: Ethernet autoselect (100baseTX full-duplex) status: active Same netmask for two different segments of the same class C network? How's it work with one segment disconnected? -Mike rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU ether 00:40:f4:8d:9c:af media: Ethernet autoselect (100baseTX full-duplex) status: active (fedora core 4) eth0 Link encap:Ethernet HWaddr 00:E0:81:2F:04:3E inet addr:193.233.5.13 Bcast:193.233.5.63 Mask:255.255.255.192 inet6 addr: fe80::2e0:81ff:fe2f:43e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:123946466 errors:0 dropped:0 overruns:0 frame:0 TX packets:176380358 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:42267471987 (39.3 GiB) TX bytes:197116022761 (183.5 GiB) Interrupt:177 Andrew P. Actually vr0 and rl0 are on different boxes :) Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
On 7/27/05, Nikolas Britton [EMAIL PROTECTED] wrote: On 7/26/05, Andrew P. [EMAIL PROTECTED] wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. How is it possible to get 11-12Mbytes/s from 10Base2? Redo your math ( 2(20) * 10 / 8 ) and you get an absolute of 1.31MB/s for 10Mbit Ethernet. BUT this number has no meaning in the real world! The theoretical maximum data throughput for a 10Mbps Ethernet system is 9.744MB/s using 1518 byte frames. The last time I checked Microsoft could only break anti-trust laws, not physics. Oh, sorry. You probably can't get 100Mbit over BNC. I meant two combo FastEthernet cards connected via UTP. The question was how can you reach Windows-to-Windows performance between Windows and FreeBSD. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
On 7/27/05, Eric Schuele [EMAIL PROTECTED] wrote: Andrew P. wrote: On 7/27/05, Michael C. Shultz [EMAIL PROTECTED] wrote: On Tuesday 26 July 2005 16:00, Andrew P. wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, FWIW... I recently had reason to investigate a network's performance. I was able to consistently get ~95% throughput from windows machines to FreeBSD boxes. I was using iperf (there is a WinX version of iperf as well) and chargen for testing. All PCs were old, and generally using cheap onboard NICs Might try tools specifically geared towards throughput testing. Various protocols have varying amounts of overhead. Tools with throughput testing in mind obviously have overhead minimized. Just my .02 cents. Well, I never doubted that some tests can show you efficient bandwidth usage. But how can we reach it in practice? different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. Here is the ifconfig output from a machine that has one nic set at 10Mbit/half duplex and one at 100Mbit full duplex. how does it compare with your system? xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1RXCSUM inet6 fe80::210:4bff:fe70:4fb0%xl0 prefixlen 64 scopeid 0x1 inet 71.102.0.97 netmask 0xff00 broadcast 71.102.0.255 ether 00:10:4b:70:4f:b0 media: Ethernet autoselect (10baseT/UTP) .02 more cents. Sometimes autoselect can work against you. Might try tying it down. I have some problems with Autoselect on Cisco boxes in Gigabit environments, but never with FreeBSD on 100Mbit. status: active xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1RXCSUM inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::210:4bff:fe0a:7cbc%xl1 prefixlen 64 scopeid 0x2 ether 00:10:4b:0a:7c:bc media: Ethernet 100baseTX full-duplex status: active Well, if that really matters to you: (freebsd 5.4) vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20f:3dff:feca:c494%vr0 prefixlen 64 scopeid 0x1 inet 192.168.17.217 netmask 0xff00 broadcast 192.168.17.255 ether 00:0f:3d:ca:c4:94 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.17.1 netmask 0xff00 broadcast 192.168.17.255 ether 00:40:f4:8d:a7:f8 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU ether 00:40:f4:8d:9c:af media: Ethernet autoselect (100baseTX full-duplex) status: active (fedora core 4) eth0 Link encap:Ethernet HWaddr 00:E0:81:2F:04:3E inet addr:193.233.5.13 Bcast:193.233.5.63 Mask:255.255.255.192 inet6 addr: fe80::2e0:81ff:fe2f:43e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:123946466 errors:0 dropped:0 overruns:0 frame:0 TX packets:176380358 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:42267471987 (39.3 GiB) TX bytes:197116022761 (183.5 GiB) Interrupt:177 Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
100Mbit network performance - again
Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
Erm, well 60+Mbytes is no wonder in a Gigabit environment (and it is too much of a wonder in a FastEthernet one), but I'm interested in getting 100Mbit hardware to work at full speed. Thanks for your 2 cents anyway, Andrew P. On 7/27/05, Sean Hafeez [EMAIL PROTECTED] wrote: I get 60+Mbytes between my FreeBSD 5.4 and Mac via NFS. I get 40-60Mbytes between my FreeBSD 5.4 and Windows 2K box via Samba. Good NICs help. Intel 10/100 Pro. Google for Samba tuning also. -Sean On Jul 26, 2005, at 4:00 PM, Andrew P. wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
You might be right in a sense, but like I said: Windows-to-Windows file transfers can easily be sustained at 11-12Mbytes/s. That's up to over 90% of 100Mbit bandwidth. In fact, if you review the theoretical part of Ethernet and TCP/IP, you'd find that it's very possible. On 7/27/05, Sean Hafeez [EMAIL PROTECTED] wrote: Let me fix my typo here. I get 60+Mbits out of 100Mbits on a 10/100 network. The Max SUSTAINED thru-put you will ever see will be around 70Mbits. There is an overhead that means that you will only see .7 of the theoretical. -Sean On Jul 26, 2005, at 4:13 PM, Andrew P. wrote: Erm, well 60+Mbytes is no wonder in a Gigabit environment (and it is too much of a wonder in a FastEthernet one), but I'm interested in getting 100Mbit hardware to work at full speed. Thanks for your 2 cents anyway, Andrew P. On 7/27/05, Sean Hafeez [EMAIL PROTECTED] wrote: I get 60+Mbytes between my FreeBSD 5.4 and Mac via NFS. I get 40-60Mbytes between my FreeBSD 5.4 and Windows 2K box via Samba. Good NICs help. Intel 10/100 Pro. Google for Samba tuning also. -Sean On Jul 26, 2005, at 4:00 PM, Andrew P. wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
On 7/27/05, Casey Scott [EMAIL PROTECTED] wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Keep in mind that the Windows TCP/IP window buffers are not optimized the same way as FBSD or Linux. Casey No doubt about that. Any thoughts about how to make them communicate more effectively? Personally, I don't think it's just window buffers. I think the whole darn TCP/IP stack misconfiguration plus maybe not perfect NIC drivers are the reason for underperformance. I know that most of the real mistakes must be on the Windows side, but that's not an excuse for FreeBSD/Linux to not be at least 99%-Windows-networking-compatible. Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit network performance - again
On 7/27/05, Michael C. Shultz [EMAIL PROTECTED] wrote: On Tuesday 26 July 2005 16:00, Andrew P. wrote: Hello all! I remember being able to reach 11-12Mbytes/s between two Win95 workstations with NE2000 $10 NIC's installed, connected via BNC cable. I am now able to reach 11-12Mbytes/s between all kinds of Windows 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware. But I have never ever exceeded 8-9Mbytes/s between a Windows machine and a FreeBSD box - _never_. Be it Samba, different ftp/http servers, different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled, etc., - the speed always hovers around 7-8Mb/s. I know it's not critical, I know I should've upgraded to Gigabit hardware long ago, but is there something wrong? I tried different linux distros, but they all seem to be even slower. Wazzup?.. Thanks, Andrew P. Here is the ifconfig output from a machine that has one nic set at 10Mbit/half duplex and one at 100Mbit full duplex. how does it compare with your system? xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1RXCSUM inet6 fe80::210:4bff:fe70:4fb0%xl0 prefixlen 64 scopeid 0x1 inet 71.102.0.97 netmask 0xff00 broadcast 71.102.0.255 ether 00:10:4b:70:4f:b0 media: Ethernet autoselect (10baseT/UTP) status: active xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1RXCSUM inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::210:4bff:fe0a:7cbc%xl1 prefixlen 64 scopeid 0x2 ether 00:10:4b:0a:7c:bc media: Ethernet 100baseTX full-duplex status: active Well, if that really matters to you: (freebsd 5.4) vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20f:3dff:feca:c494%vr0 prefixlen 64 scopeid 0x1 inet 192.168.17.217 netmask 0xff00 broadcast 192.168.17.255 ether 00:0f:3d:ca:c4:94 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.17.1 netmask 0xff00 broadcast 192.168.17.255 ether 00:40:f4:8d:a7:f8 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU ether 00:40:f4:8d:9c:af media: Ethernet autoselect (100baseTX full-duplex) status: active (fedora core 4) eth0 Link encap:Ethernet HWaddr 00:E0:81:2F:04:3E inet addr:193.233.5.13 Bcast:193.233.5.63 Mask:255.255.255.192 inet6 addr: fe80::2e0:81ff:fe2f:43e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:123946466 errors:0 dropped:0 overruns:0 frame:0 TX packets:176380358 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:42267471987 (39.3 GiB) TX bytes:197116022761 (183.5 GiB) Interrupt:177 Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Basic AVI command-line editing
Hello! I have a headless file server with hundreds of avi-files. I was wondering if there's a means of some basic command-line editing - like concatenation and stream processing. I checked with the ports collection - but there's no such tool. Does anyone know a suitable program? Maybe just some script? I'm already reading MS AVI and OpenDML docs, as I feel that I'll have to write it myself... Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Basic AVI command-line editing
On 7/17/05, Ron [EMAIL PROTECTED] wrote: 2005/7/17, Andrew P. [EMAIL PROTECTED]: Hello! I have a headless file server with hundreds of avi-files. I was wondering if there's a means of some basic command-line editing - like concatenation and stream processing. I checked with the ports collection - but there's no such tool. Does anyone know a suitable program? Maybe just some script? I'm already reading MS AVI and OpenDML docs, as I feel that I'll have to write it myself... Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You can concatenate files with cat. Regards, Ron Yeah, but it's not that simple with avi, you've got to update headers and index carefully. Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Basic AVI command-line editing
On 7/17/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote: +++ Andrew P. [freebsd] [17-07-05 14:12 +0400]: | Hello! | | I have a headless file server with hundreds of avi-files. I was | wondering if there's a means of some basic command-line editing - like | concatenation and stream processing. I checked with the ports | collection - but there's no such tool. Does anyone know a suitable | program? Maybe just some script? mencoder? It comes with mplayer. Regards, Shantanoo Thanks, I'll look into that. It's a pity it doesn't come separately from mplayer (and without xorg dependency). Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Basic AVI command-line editing
On 7/17/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote: +++ Andrew P. [17-07-05 15:22 +0400]: | Thanks, I'll look into that. It's a pity it doesn't come separately | from mplayer (and without xorg dependency). Also have a look at the o/p of following command: cd /usr/ports make search name=avi | less Regards, Shantanoo Well, I did it before and there's not much, but I found an utility named avinfo in multimedia section. As a matter of fact, it was written by my former schoolmate, what a small world indeed. The source code contains almost everything I need to know about major container formats. Thanks again, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Headless upgrade from Linux to FreeBSD
Hello, I've been using FreeBSD for a while - and I prefer it to all other server OS'es, but incidentally I have Fedora Core 3 installed on one of the servers I manage. I consulted all interested parties and they have nothing against migrating it to FreeBSD. I've got physical access to the box, but I'd would like it very much to make a headless upgrade. It's a single-Opteron box with around 130Gb on a 200Gb SATA hard drive, the internet bandwidth is about 20Mbit/s. In fact, I've already tried to run FreeBSD-5.3 on this very box - without any problem. There is no DHCP/DNS on the network it's connected to, so static preconfigured IP-address is a must, as well as a pre-configured BIND (or at least resolv.conf with one of my external DNS-servers). I'm thinking about creating a large hard-drive image (with FreeBSD) and somehow writing it on the hard-drive with an in-memory dd-like tool. Can anybody suggest a better way? Maybe I could even save some data without backing it all up on another server? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Headless upgrade from Linux to FreeBSD
On 6/16/05, albi [EMAIL PROTECTED] wrote: On Thu, 16 Jun 2005 18:48:38 +0400 Andrew P. [EMAIL PROTECTED] wrote: I've been using FreeBSD for a while - and I prefer it to all other server OS'es, but incidentally I have Fedora Core 3 installed on one of the servers I manage. I consulted all interested parties and they have nothing against migrating it to FreeBSD. I've got physical access to the box, but I'd would like it very much to make a headless upgrade. i assume you must have seen this url before, but if not this might be an option : http://www.daemonology.net/depenguinator/ No, I didn't happen to google there, thanks. I think I'll give it a try. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Redirect *:port to ip:port on the same machine?
On 5/12/05, Carlos Alloatti [EMAIL PROTECTED] wrote: On 5/11/05, Andrew P. [EMAIL PROTECTED] wrote: Hello! I have a program that binds to ip:port. What are my options, if I want it to listen on all interfaces (*:port)? Let's say reconfiguring the program and/or running one instance per interface is not possible. I've got ipfw as a firewall. Thanks! How about using a port forwarder or port mapper. I think you could use ipfw and natd for it, with a divert rule, found this: quote If I want to have a port mapping on the same interface, can I do that ? 127.0.0.1: 8890 - 127.0.0.: 25 ? If I want to do so, what is natd command ? natd -redirect_port 127.0.0.1:8890 25? ---- #!/bin/sh outip=my ip address which will be redirected server=ip address redirect to # for request redirect ipfw add 1000 divert tcp from any to ${outip} 8890 via cx0 ipfw add 2000 divert ip from ${server} to any via cx0 #run natd natd -p -n cx0 -redirect_port tcp ${server}:25 8890 ipfw add 2500 allow tcp from any to ${server} 25 via any /quote but how about this: http://www.taronga.com/plugdaemon/ http://www.freebsd.org/cgi/url.cgi?ports/net/jumpgate/pkg-descr the port mapper will bind to *:port2 and forward to ip:port1 Yeah, thanks, I think that's just what I need! Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Redirect *:port to ip:port on the same machine?
Hello! I have a program that binds to ip:port. What are my options, if I want it to listen on all interfaces (*:port)? Let's say reconfiguring the program and/or running one instance per interface is not possible. I've got ipfw as a firewall. Thanks! Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]