netif starting late after upgrade to FreeBSD 9.0 from 8
I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0. The upgrade following /usr/src/UPDATING was without any problems. The only issue I have is that there seems to be a race condition for bootup scripts in which netif can start later than devices that require it, resulting in the following problems : 1. pf rules not being loaded as it can't find network interfaces defined such as lo0 2. named not starting I suspect that it may be a file was not installed/updated after mergemaster -i but, when I check /etc/rc.d/netif and pf the REQUIRES line is the same as that in /usr/src How do I troubleshoot this? I've tried to manually change REQUIRES for pf for example to LOGIN, but it doesn't have any effect. Any pointers would be much appreciated to possible solutions would be much appreciated. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mount_smbfs utf-8
mount_smbfs -E UTF-8:UTF-8 //server/path /mnt/tmp UTF-8 filenames do not show up at all on the FreeBSD 6.2-STABLE client. They show up just fine using smbclient and mounted as nfs, files also show up fine on Windows clients. Is there a limitation with smbfs in handling UTF-8 samba mounts? Or am I giving the wrong options to mount_smbfs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?
On Mon, 2007-06-18 at 20:17 -0300, Jason Hills wrote: Hello, I would like to try adding a 3D Desktop feel to my laptop, but I am new to this thing, and was not able to find how to install xgl or aiglx. I installed Beryl and it complains about not finding AIGLX display. http://www.iosn.net/Members/kaeru/articles/freebsd/compiz-on-freebsd This should help, it's for Compiz, but the AIGLX settings for xorg.conf will work for Beryl too. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?
On Tue, 2007-06-19 at 12:03 -0400, Tsu-Fan Cheng wrote: hi, i have a silly question about beryl/compiz.. what is the relationship between beryl and say, gnome?? thanks Beryl/Compiz are window managers. They control position, size, minimised, maximised, virtual desktops etc. Window managers are one part of the Gnome Desktop, which includes other parts like the file manager (which manages the folders on your desktop), the control panel, basic applications like gedit etc. Currently the default window manager is Metacity which is 2D, by using Beryl/Compiz you are replacing this part. Hope this answers your question. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unicode Local/NFS vs Samba
Samba version is 3. If I save a filename with a unicode character say: 本 Case 1: Local/NFS This will be displayed properly in gnome-terminal, and nautilus folders, and is the same locally and exported via NFS. Case 2: Local/Samba Saving it locally will cause a Samba mount to show it differently (or ?? or nothing) and vice-versa. It looks like each is treating unicode ok but differently. Does anybody know what is different, and how I can make both to use a common way to treat unicode files? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: skype SOUND_MIXER_WRITE_IGAIN
On Wed, 2005-05-18 at 23:34 +, Alex N. Markelov wrote: Hi WeiChong! Did you get the issue sorted? I have the similar problem on 5.4-STABLE. I can hear but mic is not working and the message: To get mic working you need to set mixer for rec device to higher level (defaults to 0 on my machine). Run the following on the command line: mixer rec 75 signature.asc Description: This is a digitally signed message part
Re: HP PSC 1350 and hpoj and usb
On Tue, 2005-05-03 at 08:28 -0500, Lars Eighner wrote: I am trying to enable the scanning functions on an HP PSC 1350 all-in-one printer. The print functions work with hpijs/cups/foomatic-filters. I have installed hpoj, but ptal-init cannot find the scanner. The problem seems to be that the scan functions get improperly attached at boot time. Comment out ulpt and uscanner options in kernel, and reboot. You will be printing and scanning via the ptal device. signature.asc Description: This is a digitally signed message part
Re: Kernel preemption
On Mon, 2005-02-14 at 10:51 +0100, [EMAIL PROTECTED] wrote: Hello, I'm interested in using freebsd in a 'not so realtime, but...' software project. In our running environment there are a 3 processes that need high priority. The processes never need much cpu but they should be able to respond to network (tcp) activity within 10-20ms. Have you tried running your process using rtprio(8)? You might also check out the HZ option of the kernel and lower granularity of operation to 1000HZ (1ms) instead of the default 100HZ (10ms). See /usr/src/sys/conf/NOTES signature.asc Description: This is a digitally signed message part
Re: usb printer-scanner
On Sun, 2005-01-23 at 11:14 +0100, Dominique Goncalves wrote: I have a PSC 2175 and it's working perfectly with my FreeBSD 5.3 I use the ports hpoj. But the printer/scanner must be detected as ugen device because libusb only use ugen device. To do this i have removed ultp and umass device from the kernel, after rebuild kernel I can see: ugen0: Hewlett-Packard PSC 2170 Series, rev 2.00/1.00, addr 3 Now you can use hpoj ;) Great!.. Thanks for the tip, removing ulpt was enough for me. For the 2110, I can print via hpoj, and sane detects and can communicate with the scanner. However I still have problems with scanning. I just get an I/O Error. Debug shows it's communicating, and the printer status displays scanning, but nothing comes through. When it cancels it also resets the scanner which shows it's communicating ok. Some errors are also showing for me in mpt soon after ptal starting up, which may be the problem although it doesn't affect printing. I'll follow it up on the mailing list. It's good to hear that it's working ok with your PSC 2170. signature.asc Description: This is a digitally signed message part
Re: usb printer-scanner
On Tue, 2005-01-18 at 07:49 +0800, Khairil Yusof wrote: On Fri, 2004-12-31 at 21:24 +0300, Andrew Diakin wrote: Hmm.. I setup all ports as described this http://www.freebsddiary.org/cups.php, also I setup print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model printer is connected and usbdevs show him - in cups web admin I setup printer, select device USB Printer #1, then when I try to print test page nothing happens... what I do wrong? Sorry for getting back late on this: I forgot.. that that if using foomatic you need foomatic filter: http://www.linuxprinting.org/download.cgi?filename=foomatic-ripshow=0 Copy it to: /usr/local/libexec/cups/filter/ And set it as executable chmod 700 foomatic-rip signature.asc Description: This is a digitally signed message part
Re: usb printer-scanner
On Fri, 2004-12-31 at 09:02 +0300, Andrew Diakin wrote: I have a USB Printer-Scanner HP psc 2110 and I want to use it in my freebsd 5.3. I read handbook? but it is too little about usb printers... Have anybody do such thing? Use cups and hpijs: print/cups print/hpijs grab the ppd from linuxprinting.org and put it in /usr/local/share/cups/model http://freebsddiary.org has an article on setting up cups. Make sure you plug the printer and turn it on first, before configuring it in cups so that the option to select the interface for usb will show up. The scanner part currently does not work on FreeBSD 5.x :( The port for that is graphics/hpoj (let us know if you get it working). The copier function works independently. Good luck signature.asc Description: This is a digitally signed message part
Re: FreeBSD Printing
On Sat, 2004-11-27 at 12:12 -0800, gabriel wrote: Nice, thanks for the replies guys. I was looking into this printer. http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-238444-410635-12085-f57-90805-90810-90811.html HP PSC 2175 All-in-One (Q3068A) I have an older model PSC 2110. Printing works via hpijs and cups (download the ppd from linuxprinting.org and put it in /usr/local/share/cups/model) Copying function works (no software required) Scanning requires hpoj port, which works for freebsd 4.x but not in 5.x. In 5.x the scanner is not detected by hpoj utilities. I can confirm it for this exact model, but this is the situation it seems for other PSC models on 5.x. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Printing
On Sat, 2004-11-27 at 11:55 -0800, gabriel wrote: On Sat, 27 Nov 2004 11:52:10 -0800, gabriel [EMAIL PROTECTED] wrote: It is said that HP has good support for nix on its printers. I'm about to purchase a printer thats listed on linuxprinting dot org but it utilizes usb. I'll be setting it up with cups, how smart is this? I'm gonna set it up in a network environment. Most HP printers (inkjet/laser) are supported on FreeBSD via either hpijs, gnomeprint or stand postscript drivers. In a networked environment setting it up with cups/samba is quite easy and straight forward. Make sure the usb printer is connected and turned on first before adding the printer via the cups web interface. Otherwise the usb option will not be available. This is a common setup, so a quick google, will probably get you a lot of answers in case you encounter any problems. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loading ndis at boot ?
On Fri, 2004-11-26 at 17:11 +0100, FreeBsdBeni wrote: How do I load the ndis.ko driver at boot/startup ? I've followed the instructions on how to get the ndisulator working for my Z-Com wi-fi mini pci card and got a (working) ndis0 dev now. I can kldload the ndis.ko and if_ndis.ko but is there a way to automate this via /boot/loader.conf or /etc/rc.conf ? And if so, what do I need to put in those files ? Something like ndis_load=YES ? Yes that is correct. The syntax is modulename_load=YES ndis_load=YES if_ndis_load=YES In /boot/loader.conf will automatically load the modules at boot time. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto setup zope.sh (zope-2.7) ?
On Sat, 2004-06-05 at 19:05 +0200, Peter Ulrich Kruppa wrote: Could someone help me with this? Perhaps I am messing up the syntax somehow? My instancehome dir is /usr/local/etc/zope . zope_enable=YES zope_instances=/usr/local/etc/zope Also make sure that you have copied zope.conf.sample to zope.conf and modified it accordingly to point to your instance directory. If you have any problems, see the last entry in your event.log in your the log directory of your Zope instance. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd, ipfw and MS netmeeting
On Thu, 2004-06-03 at 11:26 +0200, Christoph Kukulies wrote: Anyway, the prsent (simple) natd rules don't seem to suffice. If I'm not wrong, ms netmeeting and msn messenger (audio,video) do not work over nat. There are some third party windows utilities available to enable this to work. I have not experience in them, but google for nat messenger or nat netmeeting should turn up some links. signature.asc Description: This is a digitally signed message part
internet access from jail with nat
My host machine acts as a gateway and has a simple firewall setup with ipfw and natd. There are no problems with other computers on the local network or the host machine in accessing the internet with this setup. However I'm having problems with getting jails on the host pc, to access the internet. Jails can access the host pc and vice versa, but not external ip addresses from within a jail. My host pc has ip 192.168.1.1 and aliased 10.1.1.1 as well as 10.1.1.2 (jail ip). What am I missing to allow jails to access the internet via ipfw/nat? Any help would be much apprecieated. More settings below: natd flags are: -dynamic yes -s -p -n tun0 my ipfw setup: #firewall command fwcmd=/sbin/ipfw # Force a flushing of the current rules before we reload. $fwcmd -f flush # Divert all packets through the tunnel interface. $fwcmd add divert natd all from any to any via tun0 # Allow all connections that have dynamic rules built for them, # but deny established connections that don't have a dynamic rule. # See ipfw(8) for details. $fwcmd add check-state $fwcmd add deny tcp from any to any established #Allow all localhost connections $fwcmd add allow tcp from me to any out via lo0 setup keep-state $fwcmd add deny tcp from me to any out via lo0 $fwcmd add allow ip from me to any out via lo0 keep-state # Allow all connections from my network card that I initiate $fwcmd add allow tcp from me to any out xmit any setup keep-state $fwcmd add deny tcp from me to any $fwcmd add allow ip from me to any out xmit any keep-state # Allow all local connections $fwcmd add allow tcp from any to any via fxp0 setup keep-state $fwcmd add allow ip from any to any via fxp0 keep-state #Allow IP fragments through $fwcmd add pass all from any to any frag # Allow ICMP (for ping and traceroute to work). $fwcmd add allow icmp from any to any # This sends a RESET to all ident packets. $fwcmd add reset log tcp from any to me 113 in recv any # Deny all the rest. $fwcmd add deny log ip from any to any signature.asc Description: This is a digitally signed message part
Re: bit torrent
On Mon, 2004-05-17 at 15:30 +0100, arden wrote: hi all has bit torrent been ported to bsd i use btdownloadcurses.py under linux at the mo See under your ports dir: net/py-bittorrent signature.asc Description: This is a digitally signed message part
Re: recommends on the best webstats suite?
On Sun, 2004-05-02 at 14:33 -0700, Gary Kline wrote: I'd like input on which web stat suite to use. Hopefully something that I can use by simply pointing at my /vay/log/httpd* file; it will magically create a graph of whatever. port: www/awstats http://awstats.sourceforge.net Provides nice pretty graphs and useful stats. signature.asc Description: This is a digitally signed message part
Re: mplayer questions
On Mon, 2004-03-22 at 03:40 +, Tadimeti Keshav wrote: I tried to install mplayer using ports. This was successfully installed. However, I want to know if mplayer is a command line video player? Is there a GUI frontend to it? WHich one? Does it get installed along with mplayer? If you make it with WITH_GUI, then it will have a gtk12 gui interface with skins. You start it with gmplayer. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 11:49am up 32 mins, 3 users, load averages: 0.61, 0.56, 0.50 signature.asc Description: This is a digitally signed message part
Re: Zope
On Wed, 2004-03-17 at 19:07 -0800, Chad Gross wrote: I am perplexed as to what I am doing wrong with Zope on FreeBSD 4.9. I have managed to get it to start, but when I go to localhost:8080 I can't duplicate this problem on any Zope port installs I've done so far (FreeBSD-5.x) and you should not have to change permissions of any of the Zope directories. Can you give the output of /usr/local/www/Zope/var/zope-output ? Anybody running Zope (from ports) on 4.9? signature.asc Description: This is a digitally signed message part
Re: Zope
On Thu, 2004-03-18 at 09:38 -0800, Chad Gross wrote: Thank you for your assistence, I managed to figure out what my problem was. It turns out zope must be started as root. I was starting it as another user which is what Zope.org suggests to do. If you installed it from ports rename the startup script from zope.sh.sample to zope.sh, and start it from /usr/local/etc/rc.d/zope.sh. eg. /usr/local/etc/rc.d/zope.sh start You can still start it manually from root, just specify the user you want the daemon to run eg: ./start -u www signature.asc Description: This is a digitally signed message part
Re: Cron job without emailing errors to root?
On Tue, 2004-03-09 at 21:25 -0600, [EMAIL PROTECTED] wrote: What I am wondering is, is if there is a way to still have the entries in me /etc/crontab to run MRTG at 5 minute intervals without having any output emailed out. can i make it come out to concole instead? anything to get it from emailing would be great as I am seeing ~2000 messages a day :/ By default output is emailed, else it is piped to wherever you want it to go. Pipe it to /dev/null eg. @hourly /bin/dontcare.sh /dev/null @hourly /bin/arrgh.sh | mail -subject Server is down user1 @hourly /bin/msg.sh | sendsms -phone 016 333 signature.asc Description: This is a digitally signed message part
Re: REALLY frustrated with ports problem
On Fri, 2004-03-05 at 01:10 +, Jonathon McKitrick wrote: What do I have to do to resolve this ports/pthread problem? cc -Wall -O3 -pipe -funroll-loops -ffast-math -march=pentiumpro Lower your optimization settings and get rid of the -ffoo optimisations? make.conf states you should use -O -pipe only. Most ports have option to increase the optimisation settings, or add the correct ones in their Makefiles. -O3 is going to make your overall system rather unstable. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 9:23am up 21:43, 4 users, load averages: 2.47, 2.76, 2.62 signature.asc Description: This is a digitally signed message part
Re: ImageGallery and PHP
On Wed, 2004-02-04 at 14:54 +0100, Peter Rosa wrote: Please, does anybody know the PHP interface to graphics/imagegallery port ? There is no imagegallery port Or some other port for creating galleries, but it must support all graphic formats (bmp, tif, jpg, gif, png, wmf, eps, ai, ps). Not php and not all formats (probably not vector formats), but it has keywords, and can store any kind of file. www/zope-cmfphotoalbum -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 10:00pm up 11:08, 2 users, load averages: 1.43, 1.40, 1.10 signature.asc Description: This is a digitally signed message part
Re: ImageGallery and PHP
On Wed, 2004-02-04 at 22:29 +0800, Khairil Yusof wrote: www/zope-cmfphotoalbum Whoops in addition: www/plone www/zope-cmfquickinstaller (to install it in your plone site) For more about plone see: http://plone.org. For freebsd specific questions on plone/zope: [EMAIL PROTECTED] -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 10:31pm up 11:39, 2 users, load averages: 1.85, 1.89, 1.96 signature.asc Description: This is a digitally signed message part
Re: nss_ldap
On Tue, 2004-02-03 at 17:10 -0500, Andrea Venturoli wrote: I've installed the above on FreeBSD 5.1 and it's more or less working; however when i do ls -l I don't see user names, but uid numbers. Any fix? 5.1 does not have dynamically linked libraries for ls and other sysutils in order to do this. Upgrade to 5.2 and this feature is supported. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 9:36am up 10:46, 2 users, load averages: 4.34, 4.62, 4.88 signature.asc Description: This is a digitally signed message part
Re: Colors in VIM
On Mon, 2004-02-02 at 12:55 -0500, Brian McCann wrote: set nocp set digraph ek hidden ruler sc vb wmnu set noeb noet nosol set bs=2 fo=cqrt ls=2 shm=at Add this: syntax enable -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 2:04am up 45 mins, 5 users, load averages: 2.53, 2.51, 2.23 signature.asc Description: This is a digitally signed message part
Re: ftp/fetch/cvsup behind a firewall
On Mon, 2004-02-02 at 09:55 -0800, Anthony Discolo wrote: Mozilla can access the ftp site with the proxy server configured, but I haven't been able to get ftp to work with a proxy server. For fetch via proxy see: /usr/share/examples/etc/defaults/make.conf Copy this file to /etc and edit the FETCH_ENV to point to your proxy For cvsup, if you only have access via the proxy server, you can ftp the entire cvs tree (not efficient). I would ask your admin to either setup a local mirror , or add a dynamic rule for outgoing cvsup connections. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 2:05am up 46 mins, 4 users, load averages: 1.53, 2.23, 2.15 signature.asc Description: This is a digitally signed message part
RE: Colors in VIM
On Mon, 2004-02-02 at 13:07 -0500, Brian McCann wrote: That gave me BW highlighting...getting closer. :) What's your env variable for TERM? Is it xterm-color? (assuming you're in X, not in console) -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 2:20am up 1:01, 4 users, load averages: 2.18, 2.12, 1.96 signature.asc Description: This is a digitally signed message part
Re: ftp/fetch/cvsup behind a firewall
On Mon, 2004-02-02 at 11:12 -0800, Anthony Discolo wrote: I don't have a /usr/share/examples/etc/defaults/make.conf, but I have a /usr/share/examples/etc/make.conf. But it doesn't have a FETCH_ENV line in it. # If you're behind a firewall and need FTP or HTTP proxy services for # ports collection fetching to work, the following examples give the # necessary syntax. See the fetch(3) man page for details. # #FETCH_ENV= FTP_PROXY=ftp://10.0.0.1:21 #FETCH_ENV= HTTP_PROXY=http://10.0.0.1:80 I'm sure someone has been successful in running cvsup behind a firewall? After all, don't all these tools use ftp indrectly? No they don't. :) cvs and cvsup, access a cvs server for latest updates and other info, not an ftp server. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 3:15am up 1:56, 3 users, load averages: 2.15, 2.10, 1.91 signature.asc Description: This is a digitally signed message part
Re: libintl.so.4 not found when loading javaplugin in Firebird
On Thu, 2004-01-29 at 17:51 +0100, Bjarne Wichmann Petersen wrote: [Shared object libintl.so.4 not found] So why is java missing libintl.so.4? Because I think the binary install of diablo, was compiled with older version of devel/gettext. If you upgraded your ports (as I think you have) you now have newer version of gettext (libintl.so.5). You can do any of these: - checkout older version of gettext and build it - download older packaged version of gettext - build jdk13 or jdk14 from ports. Both will build java plugins that work with fireworks. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 2:22am up 1 day, 13:40, 3 users, load averages: 0.37, 0.57, 0.64 signature.asc Description: This is a digitally signed message part
Re: Firebird java1.4.2 does NOT work!
On Mon, 2004-01-26 at 16:56 -0600, Jeff Vehrs wrote: Problem: java plugin for firebird does not work Works ok here. - install java/jdk14 - install www/mozilla-firebird - ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so \ /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so If ipv6 is enabled in kernel then: sysctl net.inet6.ip6.v6only=0 Hmm.. looks like I have to write this up. :) The other one that bugs people is flash. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 9:39am up 21:51, 3 users, load averages: 1.23, 1.24, 1.21 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd urdu support
On Thu, 2004-01-22 at 15:30 +0800, S H A N wrote: - are there any pointers for internationalization of freebsd? (mailling list, websites etc..) http://lists.freebsd.org/mailman/listinfo/freebsd-i18n If you're interested in translating the handbook and articles: http://www.freebsd.org/docproj/ -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 5:15pm up 6:58, 2 users, load averages: 0.59, 0.96, 0.92 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: M$ Outlook and LDAP
On Wed, 2004-01-21 at 01:46 -0800, Loren M. Lang wrote: Are there any ldap schemas I need to install for m$ outlook, I've heard of people using openldap for serving addressbooks to m$ outlook clients, but I can't figure out to set up the server. I'm using openldap-2.1 on freebsd 4.9 The schema you're looking for is InetOrgPerson, you will have to edit your slapd.conf file. This is the wrong list for openldap support though, you should try the openldap list for more details on how to set it up. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 11:30pm up 2 days, 23:34, 4 users, load averages: 1.13, 1.05, 0.94 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.9 to 5.2 upgrade stratagy
On Fri, 2004-01-16 at 21:01 -0600, Chris wrote: I am comfy enough with 5.2 to do this. The big question I pose to you all, how would you do this with little impact and little work also. It will have an impact if it's the same box. Read /usr/src/UPDATING carefully. 1. Most likely will have to recompile most of your ports gcc2 and gcc3 abi is incompatible base/system has also changed considerably Some ports may still be broken on 5.2 2. You will probably have to clean up old leftover files, such as perl, though there is a script to check for older config files now with mergemaster If it is a production server, you would be wise to transfer contents to your new box and save the trouble of doing a source upgrade from 4 to 5 on a production server. Do a clean install on the new one, install all the ports you need, and transfer your data/config files. Keep the old one running. If there is no problems with 5.2 on the new box/HD, switch and retire the old box. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-CURRENT i386 12:59am up 12 days, 13:15, 1 user, load averages: 0.29, 0.43, 0.50 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw pipes + firewall
I've read the man pages, and tested it out, and just want to confirm that what Im doing is right and that I didn't miss anything. Disable one_pass so that packets after matching pipe rule will continue on to other rules. Without this, packets matching pipes are not not applied again against firewall rules. net.inet.ip.fw.one_pass: 0 I then put the pipe rules before any firewall rules so that anything going in and out (in this case) go through the pipes first. They are then matched by normal firewall rules. 00100 83 11350 pipe 1 ip from any to any out 00200 93 11266 pipe 2 ip from any to any in 00300 0 0 check-state 00400 0 0 deny tcp from any to any established 01400 103 14855 allow tcp from any to me dst-port 22 in setup keep-state ... more firewall rules which are being matched From what I can see the pipe rules are being matched. I tested bandwidth controls, and they work. And I also could not access ports which I did have a dynamic rule for (as in 01400). -- FreeBSD 5.2-BETA i386 4:56pm up 20:23, 4 users, load averages: 0.99, 0.76, 0.66 signature.asc Description: This is a digitally signed message part
Re: ipfw pipes + firewall
On Sat, 2003-11-29 at 06:45, Alex de Kruijff wrote: 00100 83 11350 pipe 1 ip from any to any out 00200 93 11266 pipe 2 ip from any to any in 00300 0 0 check-state 00400 0 0 deny tcp from any to any established 01400 103 14855 allow tcp from any to me dst-port 22 in setup keep-state ... more firewall rules which are being matched I find your 400 rule very strage. Rule 400 souldn't apply because they are passed by 300 (this one doens't have a counter :( ). I'm following the example given by ipfw(8). Rule 0400 is apparently supposed to block any non dynamic rules. Does rule 300 have a counter? I've followed both ipfw(8) and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/dialup-firewall/rules.html Im using the example from the article for my pppoe connection at home. For rule 1400 the dst-port is wronly placed. Port are (or can be) given after the ip without any marker. I would replace 1400 with: allow tcp from any to me 22 in allow tcp from me 22 to any out No need to have dynamic rules here so place it before 300 This sounds right, it would cut down on overhead of additional dynamic rules. So making public ports rules without dynamic rules is better? Digging in the archives, Matthew Seaman said that dynamic rules should be safer, but I'm not sure if it applies for my case. I'm no security expert, so thanks for the insight. -- FreeBSD 5.2-BETA i386 2:24pm up 11:29, 3 users, load averages: 0.22, 0.44, 0.66 signature.asc Description: This is a digitally signed message part
Re: FTP Servers...
On Sat, 2003-11-29 at 12:23, Rishi Chopra wrote: What's happening when these installations fail? Am I being bumped from the FTP servers? Can anything be done to make installation via FTP more reliable? A local ftp/nfs mirror perhaps? Will take you like 10mins to setup (instructions in handbook) and will save bandwidth in addition to being more reliable. -- FreeBSD 5.2-BETA i386 2:31pm up 11:35, 3 users, load averages: 0.78, 0.59, 0.62 signature.asc Description: This is a digitally signed message part
Re: java plugin for netscape7
On Wed, 2003-11-26 at 15:53, Odhiambo Washington wrote: I run 5.1-RELEASE and jdk1.4.2 from the ports. In the life of me, Netscape7 and Mozilla will not accept to load the libjavaplugin after I do the symlink. I have followed the howto to the letter. What could I be missing? Has anyone gotten luckier than I am? Are you using native Mozilla? Native jdk1.4.2 plugins should not work with linux browsers AFAIK. # Add/link plugin and check plugin is loaded about:plugins ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so \ /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so IPV6 issues.. there might be problems with IPV6 aware servers, so if plugin is loaded and you get a bunch of errors about some crash in a non-native method call, change this sysctl variable as below: sysctl net.inet6.ip6.v6only=0 -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.2-BETA i386 4:34pm up 2 days, 1:54, 4 users, load averages: 0.54, 0.88, 0.85 signature.asc Description: This is a digitally signed message part
vim keyboard mapping problems (ssh)
I couldn't figure why I'm having this problem. If anybody knows why my keyboard mappings are off, I'd really appreciate it. On my main machine, everything works just fine (tab, cursor keys, home, end) in both insert/command mode. I've recently built a simple FreeBSD 5.1 web server. The problem I have is that vim built on this machine seems to get different keyboard mappings from somewhere. Env: ssh from gnome-terminal, TERM=xterm Symptoms: bash: everything works just fine (home,end,cursor keys,tab) nvi : everything works just fine (home,end,cursor keys,tab) vim (command mode): home,end,cursor keys work, but tab doesn't work for commands. tab key displays ^I instead. vim (insert mode): up cursor= A + enter left cursor = D + enter right cursor = C + enter down cursor = B + enter home = H end = F Additional note: If I ssh back to my main machine from this server, the vim on my machine doesn't not have the same behaviour. I'm stuck, any help/explanation would be much appreciated. -- FreeBSD 5.2-BETA i386 2:23am up 4:04, 1 user, load averages: 1.02, 0.57, 0.46 signature.asc Description: This is a digitally signed message part
Re: USB Webcam Server on Freebsd ?
On Tue, 2003-11-18 at 13:50, [EMAIL PROTECTED] wrote: I see it's been asked in the past but can't find any good answers. A VP wants to set up a webcam to take pictures of some new construction and put them on a web server. http://www.axis.com/products/video/ Not FreeBSD (linux embedded), but these products are easy to setup and do the job. -- You keep using that word. I do not think it means what you think it means. FreeBSD 5.1-CURRENT i386 9:30pm up 4:04, 4 users, load averages: 1.39, 1.18, 1.00 signature.asc Description: This is a digitally signed message part
Re: http file server
On Fri, 2003-10-31 at 02:54, Ajitesh wrote: Hi Friends, I have been asked to come up with some kind of system so that our company can share the data drawings with different customers and vendors. A very good and quick CMS setup for this kinda thing: http://www.plone.org freebsd port: www/plone -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 10:07AM up 1 day, 23 hrs, 5 users, load averages: 0.76, 0.43, 0.35 signature.asc Description: This is a digitally signed message part
Re: Interested but am i compatible?
On Sat, 2003-10-04 at 19:41, William Labbett wrote: are there HP Printer drivers available and Yes. Supported by HP also through hpijs. For more information on how well yours is supported see: http://www.linuxprinting.org also Artec scanner drivers? Maybe.. through Sane. Check your model. http://www.sane-project.org/sane-mfgs.html#ARTEC-ULTIMA is there a freeware C/C++ compiler available and (less importantly) a freeware text editor or C/C++ project IDE ?? Text Editors: Yes LOTS! There are religious wars over them too. :) Two good ones are vim (http://www.vim.org) and emacs. GUI/IDEs: Yes Two good ones Anjuta (http://anjuta.sourceforge.net) or KDevelop (http://www.kdevelop.org) Compiler: Yes, not just C and C++ gcc (http://www.gnu.org/software/gcc/gcc.html) will it work on on a BrillianX motherboard? Not sure on this one. If it's a normal PC motherboard with standard chipsets (via, intel), I don't see why not. what kind of modem will i need. WinModems might be supported, but hardware modems (usually external ones) are guaranteed to work. A good place to start is the freebsd handbook, when you are learning freebsd: http://www.freebsd.org/handbook (also available in /usr/share/doc after installation) And I found Dru Lavigne's tutorials most helpful. http://www.onlamp.com/pub/ct/15 -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 10:29PM up 3 days, 15:10, 1 user, load averages: 0.38, 0.33, 0.26 signature.asc Description: This is a digitally signed message part
Re: Problem with cups
On Sat, 2003-09-27 at 21:33, Pieter Hustinx wrote: With cups, i have added my printer, and printed a test page. When i print wit lpr, it don't work. # lpstat -p printer dj930 is idle. When i looked in /var/log/lpd-errs, I see there are errors: lpd[364]: /dev/lp: No such file or directory This is an issue with base lp tools conflicting with cups lp tools. Meaning that cups has it's own lpr, but since /usr/bin is ahead of /usr/local/bin.. the system lpr will be run (which doesn't call the cups scheduler). You should not need to edit the /etc/printcap file either, you should edit your printer settings from the cups web admin. The steps I did to get cups working well with my HP PSC 2110 are: 1. install cups, foomatic-rip, hpijs from ports 2. download foomatic ppd for your printer from www.linuxprinting.org 3. put this in /usr/local/share/cups/model 4. make symbolic link for foomatic-rip to /usr/local/libexec/cups/filter #ln -s /usr/local/bin/foomatic-rip \ /usr/local/libexec/cups/filter/foomatic-rip 5. cd /usr/bin and mv lp utils lpr, lpq etc. as lpr.bak or whatever you like. 6. restart cupsd 7. setup your printer with cups (eg black and white, quality etc.) 8. Ok set to go (hopefully) :) There is a PR patch around I think which automates this for hpijs port, but it wasn't committed and doesn't apply cleanly anymore. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 11:10PM up 1 day, 2:37, 1 user, load averages: 0.30, 0.31, 0.25 signature.asc Description: This is a digitally signed message part
Re: Problem with cups
On Sun, 2003-09-28 at 01:01, Todd Stephens wrote: When you say foomatic-rip from ports, is this the foomatic-db port? I cannot find a port for foomatic-rip (which I thought was just a Perl script anyway). I eventually gave up on foomatic with my Epson C82 and used the straight Epson C82 driver from the gimp-print collection. Whoops.. my bad. This was actually installed with patches to hpijs from this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54156 I wonder why it wasn't committed since July. You need to install the foomatic-db port.. But you can download foomatic-rip from www.linuxprinting.org and yes it is just a perl script to configure options to control printer driver options and filters. For Epson printers.. gimp-print already gives you the best results and it's already configured automatically by the port install of gimp-print if you already have cups. For hpijs though, it isn't. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 1:18AM up 1 day, 4:45, 3 users, load averages: 0.66, 0.80, 0.67 signature.asc Description: This is a digitally signed message part
Re: Java on FreeBSD
On Fri, 2003-09-26 at 03:01, Kai Grossjohann wrote: Maybe it's the wrong way to get Java on a FreeBSD system? Or, even more likely, I did something stupid. CC_VER = gcc (GCC) 3.3.1 [FreeBSD] Copyright (C) 2003 Free Software You're running FreeBSD5.1-CURRENT which is using gcc 3.3.1 which has issues with compiling jdk14. Patchset 4 is supposed to be out soon (around 4.9 release I think) and this is supposed to fix this problem as well as add applet support. You can help by trying the experimental (current) patchset and reporting bugs to java@, especially if you're interested in getting java to run on current. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 2:20AM up 1 day, 5:48, 3 users, load averages: 0.44, 0.38, 0.42 signature.asc Description: This is a digitally signed message part
Re: Images of FreeBSD
On Sun, 2003-09-07 at 09:53, Virgil wrote: I would like to know if their is any way I can find any images of what the desktop looks like in BSD, I have searched extensively for days and tried numerous ways to contact others and can't find absolutely no information about BSD, I would like to know what it looks like before I try to install it and also to see what programs are with it and what programs are available for it, I am mostly looking for a OS to replace Windows for video editing purposes. Thanks very much for your time and hope to hear something soon. For video editing, you might want to have a look at http://www.jahshaka.com/ Though this is not available in the ports yet I think. As others have said Linux/FreeBSD is usually using the same software. Most importantly you should compare both FreeBSD an Linux based on software and hardware support that you need for video editing. Better questions would be: Does FreeBSD support DV/Firewire for camcorders? Does FreeBSD support video capture cards, which ones? (this is important, a lot of high end cards don't have drivers for Linux/FreeBSD) Is software available on FreeBSD to do such and such? -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 3:14PM up 18:06, 2 users, load averages: 2.91, 2.71, 2.66 signature.asc Description: This is a digitally signed message part
Re: restoring mysql databases from mysqldump was Re: upgradingmysql
On Sat, 2003-08-30 at 05:33, Michelle wrote: Not really FreeBSD specific..but.. :) I ran mysqldump -A backup-file.sql and then upgraded the mysql port, but now when I try to restore the backups using mysql database name backup-file.sql, It states unknown database. I also have a mysqlhotcopy backup of all my databases. Am I doing something wrong when trying to recover multiple databases? How can I recover them from the mysqlhotcopy rather then the dump if something went wrong with the dump? mysqldump -A will save all databases, so when restoring you only need: mysql backup-file.sql not: mysql database name backup-file.sql This will try to restore only one database (which you need to create first). This ways is only needed if you do a mysqldump databasename backup.sql. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 11:45PM up 1 day, 1:43, 4 users, load averages: 1.33, 1.47, 1.41 signature.asc Description: This is a digitally signed message part
Choosing home-use all-one-printer
I'm looking at both the HP 1210 and Epson CX3100/3200. I think the HP 1210 is out because HPOJ doesn't work with usb for scanning (at least that's what the port desc says). The Epson is supposed to print ok and also scan (1200 compatible) ok, but requires a kernel tweak in Linux kernel for usb scanners to support more than one interface. Does this apply to freebsd also? Anybody have any experience with either of these devices with FreeBSD? -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 12:07AM up 1 day, 14:33, 4 users, load averages: 5.03, 5.20, 4.34 signature.asc Description: This is a digitally signed message part
Re: Portupgrade Broke?
On Sat, 2003-08-09 at 22:07, Bob Perry wrote: I run FreeBSD 4.7 RELEASE. Just ran the portversion command for the first time since last Saturday and the ouptut indicated that my installed packages were up-to-date. Thought it odd so I ran pkg_version command and picked up 9 packages in need up upgrade and several orphaned packages listed. Is there a known problem with the portupgrade system or was there some warning I missed previously? If I'm not wrong, portversion/pkg_version relies on ports index (man 8 portupgrade) which needs to be up to date in order for portversion to be accurate. This is not done on a daily basis for the ports tree (as it takes some time). What you should try to do is check that your pkgdb is ok and fix any problems: #pkgdb -F then update the ports index (which takes a while) #portsdb -Uu Then run your portversion/pkg_version which should give more accurate results. Hope this helps. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 2:42PM up 7 days, 16:15, 4 users, load averages: 1.05, 0.60, 0.63 signature.asc Description: This is a digitally signed message part
Re: Need just a little help. would be much appreciated
On Sun, 2003-07-27 at 22:28, mike hell wrote: and well i have added fxp to my kernel and rebuilt it. device fxp fxp is already in the GENERIC kernel, did you take it out from your kernel config? Could you email your kernel config file, as well as the output from dmesg after boot up? Running ifconfig (without fxp) should list us all devices. I think your card should be fxp0 not fxp. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 10:41PM up 1 day, 13:33, 2 users, load averages: 0.34, 0.26, 0.22 signature.asc Description: This is a digitally signed message part
Re: xscreensavers rebooting the box
On Sun, 2003-07-20 at 03:55, Steve wrote: once I did kldunload nvidia and removed agp_load=YES from /boot/loader.conf and rebooted, made a normal XF86Config, xscreensaver is working. But, I still get mozilla locking up when I try to type in a URL. You've narrowed the issue down already with XFree86, no need to rebuild world and kernel. This looks like an AGP issue with the Nvidia driver. Something I'm not familiar with, hopefully somebody on questions can help out. -- Optimized, readable, on time; Pick any two. FreeBSD 5.1-CURRENT i386 2:26PM up 1:59, 2 users, load averages: 1.85, 1.86, 1.75 signature.asc Description: This is a digitally signed message part
Re: linux module problem..
On Sat, 2003-07-05 at 07:08, Stefan Moro wrote: I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the kernel with kldload it fails. You should try using the abi script for this, #/etc/rc.d/abi start linux_enable=YES for more options #/etc/rc.d/abi rcvar To start it automatically put it in your /etc/rc.conf linux_enable=YES ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PPPoE (user ppp) no longer working
--- Kris Kennaway [EMAIL PROTECTED] wrote: You forgot to mention what version you're running. If it's 5.1-CURRENT, this has been reported by others on the current@ mailing list (which you should be reading). Yup.. running 5.1-CURRENT Which I follow and cvs-all. I lost my connection before being able to get reports by others. (I finally managed to download the mail backlog by dialup last night). The main ISP here is so bad, that they're always the first suspect. In fact there were real problems with their network while this was affecting me. Thanks for the tip. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
send-pr to different smtp server
Is there a setting/environment variable so that send-pr uses a different smtp server (eg. my isp?) other than local sendmail? This is so I can send-pr, without it getting rejected. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
usb printers
I'm currently looking for a new low-end inkjet printer. After checking out gimp-print support, most of the newer Epson and HP's are supported. However most of the new printers are usb, and I don't have much experience with printing to usb under FreeBSD. Once connected would the device just be something like /dev/usb0 (on FreeBSD 5) or do you need a usb to parallel converter? There is no mention of usb printers in the handbook. Would appreciate advice and recommendations from others, on what to get and what to avoid. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
natd not working :(
I'm having problems being a gateway for my freebsd box at home (I can acccess internet, but others can't). I have no problem to use the internet from my freebsd box with or without the natd rule enabled. This is what is puzzling me. I can access the outside net, through natd and via tun0, so natd must be working. Again I confirmed this by the count on ipfw rule which is showing that I am going through natd via the divert rule. What is it other than gateway, and natd that might be causing packets not be routed properly for the other clients? I've checked that the gateway ip and tcpip connection is ok for the clients also. Any help would be much appreciated as always. fxp0 = conneciton to local network fxp1 = pppoe device that ppp uses tun0 I've confirmed that, net.inet.ip.forwarding: 1 and here's my setup: in rc.conf gateway_enable=YES ppp_enable=YES ppp_mode=ddial ppp_profile=streamyx firewall_enable=YES firewall_script=/etc/ipfw.rules firewall_quiet=NO log_in_vain=NO natd_enable=YES natd_interface=tun0 natd_flags=-dynamic and my simple firewall rules (I've deleted stuff which is not important and working like dns, ntp etc.): #firewall command fwcmd=/sbin/ipfw # Force a flushing of the current rules before we reload. $fwcmd -f flush # RULES FOR INTERNAL NETWORK ## # Setup localhost $fwcmd add allow ip from any to any via lo0 $fwcmd add allow any from any to any via fxp0 # Divert all packets through the tunnel interface. $fwcmd add divert natd all from any to any via tun0 signature.asc Description: This is a digitally signed message part
sendmail - different smtp server
Due to my ISP's smtp server not having a valid external hostname, I can only send emails to FreeBSD mailing list via yahoo's smtp server (which requires authentification). Is it possible to setup my sendmail, so that it will relay emails to yahoo's email server instead? Is editing the mailertable to add something like this correct? .freebsd.orgsmtp:smtp.mail.yahoo.com Right now, it's still trying to send email from my dialup ip (which does not have a valid hostname). signature.asc Description: This is a digitally signed message part
Re: [Q] ipfw and 'me'
On Tue, 2003-01-07 at 01:02, Jonathan Belson wrote: Since the machine is a gateway, it has two network cards. Will 'me' match *both* IP address or just the first one it comes across? I only really want it to match the IP address of the external interface, not the internal one. How about using interface rules since you have 2 network cards? rules to allow stuff local network on fxp0 (internal network) deny from any to any via fxp0 allow stuff via fxp1 (external network) deny from any to any via fxp1 I find this to be easier. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: SMP kernel installation
On Tue, 2003-01-07 at 14:18, shubha mr wrote: For a multiprocessor machine,to install FreeBSD,is something extra needs to be done from what will be done to install the OS for a uni processor machine?I mean is there anything different to be installed for a symmetric multi processor machine? Posted a reply to this a while back (check the archives). After installation you just need to recompile the kernel (see the freebsd handbook). You just need to uncomment/enable these options in the GENERIC kernel configuration like so: #cpuI486_CPU cpu I586_CPU cpu I686_CPU options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O recompile and reboot: #cat /var/run/dmesg.boot | grep SMP should give you this message: SMP: AP CPU #1 Launched! If you're curious, you can run top. It will have a CPU column. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: portupgrading mysql-server
On Mon, 2002-12-16 at 21:46, James Green wrote: How does one portupgrade mysql-server without having to dump it's databases first? If you're running a busy server with hundreds of megs of databases I'm sure the admin wouldn't want to dump, uninstall, install newest, then restore the databases, particularly if like me he's merely putting a security fixed release in. portupgrade -m '-DSKIP_INSTALL_DB' mysql-server You might not need to reinstall the server, but it's strongly advised you dump it first anyway in case something goes wrong. ;) -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Problems with X
On Wed, 2002-12-11 at 12:32, Tyler Eaves wrote: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 Option NvAGP 3 Try adding this line in the Screen section and just running #startx without the depth option. Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24 Option NvAGP 3 -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
ipfw2 and natd
Didn't get an answer for this. Is it because it's supposed to be asked in freebsd-current? I've found that natd with ipfw2 breaks my simple ipfw rules in which state information is kept for new outgoing tcp packets: with 0,1.. as example rule numbers. 0 divert natd all from any to any via tun0 1 allow tcp from any to any out xmit tun0 setup 2 allow tcp from any to any via tun0 established 3 allow icmp from any to any 0 is ok 1 is ok 3 is ok but 2 doesn't work. I read in the man, that natd might lose information that might cause rule 2 to break. What's the proper way to do this with ipfw2? -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
natd + ipfw2 + dynamic rules
I just tracked down, that having the line: add divert natd all from any to any via tun0 No longer works (used to work with ipfw) man page says this: According to man, packets diverted to userland and reinserted lose their attributes. The following rules work: allow icmp from any to any allow udp from any to 161.142.1.17 53 via tun0 allow udp from 161.142.1.17 53 to any via tun0 But stateful rules like below don't: add allow tcp from any to any out xmit tun0 setup add allow tcp from any to any via tun0 established add allow udp from any to 61.6.32.62 123 keep-state So, does this mean that a tcp packet goes out sets up a dynamic rule before going out via natd. But coming in.. it is diverted via natd, loses some info about state, and doesn't get passed through any rules? For the tcp dynamic rules, 10 packets get diverted by natd rule 5 packets match the tcp rule via tun0 setup 0 packets are denied by the last deny all rule. What happened to the packets that are supposed to be coming in via the setup rule? What's the proper way to do natd with ipfw2? So far, it's the only problem with my recent testing of current :(. As a relative newbie, updating from src was painless. So it looks like it will be a pretty smooth upgrade for FreeBSD 5.0. It's amazing how well the FreeBSD team does things. Any help much appreciated as always. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
M-Sys DiskOnKey
Anybody got this working? Tried mounting under different da devices but no go. I found some references under freebsd-stable, but advice there didn't work (they were hunches on what might work). It's supposed to be supported for linux 2.4.x kernels. Any tips on how to get it working on FreeBSD? dmesg: da0 at umass-sim0 bus 0 target 0 lun 0 da0: M-Sys DiskOnKey 2.01 Removable Direct Access SCSI-0 device da0: 650KB/s transfers da0: 7MB (15584 512 byte sectors: 64H 32S/T 7C) da0: reading primary partition table: error reading fsbn 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: enlightenment
On Sat, 2002-11-30 at 18:12, Koh Kok Peng wrote: It seems to me that with FreeBSD, I could make an Intel m/c running pentium II to be as powerful as the state of the art pentium m/c running the latest version of Windows. Is that true?? Heh.. I thought it was a question on Enlightenment window manager. :) Lets make the definition of powerful as: What I can do with my computer and how much I can do with it. And throw away marketing words like state of the art and define it as: PC with the latest and greatest ie. 8-way Xeon, 4gigs of memory, Geforce4 and what not :). Then you have to combine both to see whether or not it can be as powerful (as in the things you want to do with it) running FreeBSD on an older Pentium II as say, a Pentium 4 running WinXP. As a server: FreeBSD will be more powerful than XP :) Why? XP has a lot of server functions taken out, whereas FreeBSD can run any server service you want (except maybe Active Directory) without any restrictions. Without a GUI (no X, no Gnome/KDE), it can also perform on lesser hardware better than one needed for Win2K. In this sense, yes FreeBSD will be more powerful (in terms of fuctionality than a Windows XP machine. For the desktop and games, like I said before, it depends on how you use it. A Pentium4 is gonna compile a heck of a lot quicker than a PII even with all the overhead of Windows. Same goes with most games and other CPU intensive programs. As a platform for development, FreeBSD comes with all the tools you need for development for FREE. Windows XP doesn't. To me FreeBSD + all the Unix/GNU development tools make it a much more powerful development computer than Windows XP. Need an IDE? Freebsd - Emacs, VIM, Anjuta etc. WinXP- Notepad? Need a compiler? FreeBSD - gcc and others. WinXP- none. Need a source control? FreeBSD-CVS WinXP- none. And so on. You can buy all the stuff for Windows, but you could upgrade the FreeBSD P-II to an 2 way SMP-P4 for all the money you pay on the licences need to get WinXP to be able to match all the powerful development tools you get with FreeBSD for free. As a person, who recently shifted from doing development on WinXP to FreeBSD, I felt that XP limited me in a lot of ways (especially financially). Whereas with FreeBSD + open source tools, it seems that anything can be done, given enough time. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: poor 3D performance
On Sun, 2002-12-01 at 03:54, La Temperanza wrote: Hello again. I've got a Duron 950 with 256MB RAM and a Radeon 7500 with 32MB vmem, running 4.7-STABLE up-to-date as of a few days ago, and I can't figure out why 3D games like bzflag are running at almost unplayable frame rates. I have the drm-kmod port installed, my video card is detected properly and DRI is loading correctly... can anyone throw me some suggestions? Ran into this problem a few days ago. It seems that portupgrade of XFree86 or XFree86-libraries (using portupgrade) would overwrite the DRI specific libs installed by drm-kmod. It looks like DRI is loaded and working properly, but it's not. Check your XFree86.8.log or what XFree stays when it starts up. XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) It should also say some stuff about a DRI something after Version instead of XFree86 4.2.1 or something. What I did to get it to work, was portupgrade XFree86, then make install in /usr/ports/graphics/drm-kmod without using portupgrade. Also did you check the ATI Radeon specific messages with the drm-kmod? -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Samba not working properly
This is not a FreeBSD specific questions, but I'm why it doesn't work. Windows computers can see my FreeBSD box, home directories, printer and shared folders. But I can't see any windows machine at all, I get this: $findsmb Doesn't even list my own server. Yet this exists and everybody can see the freebsd server. I so have ipfw set up with nat, but internal traffic is not diverted and all smb ports are open. $ smbclient -L //mayu added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0 Got a positive name query response from 127.0.0.1 ( 192.168.1.2 ) error connecting to 192.168.1.2:139 (Permission denied) Error connecting to 192.168.1.2 (Permission denied) Connection to mayu failed Any help appreciated as always -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: java 1.3.1 and dual cpu
On Mon, 2002-11-18 at 16:08, jesse reynolds wrote: Will Java make user of multiple CPU's on FreeBSD if there is only one Java process? That is, can there be some threads in the JVM running on one CPU and some other threads running on the other CPU in order to make user of the full capactity of a dual pentium 3 system? It doesn't look like it on my machine: top shows a single java process with the CPU number alternating, but it's not making use of both CPUs well. Running the Java2D test, with all options turned on (texturing, anti-aliasing etc.) it's crawling and shows that the CPU still has 57% percent left. Note: I'm not familiar at all with Java on FreeBSD, so I'm running default settings without any optimisations. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Confused about bash profiles and environment settings.
According to the man, bash loads up for an interactive shell: /etc/profile ~/.bash_profile ~/.bash_login ~/.profile Env gives me this as my path: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: /usr/X11R6/bin:/home/kaeru/bin This is in ~/.profile (~/.bash_profile doesn't have it) and ~/.bash_login is empty. However if I change ~/.profile and add some other paths to it, the new paths are not exported to my profile. So bash is getting it's path settings from somewhere else. /etc/profile is commented out. Where else is it getting my path settings from (login.conf?). I tried changing PATH in that and it doesn't affect anything. However if I cut and paste this path and put it into ~/.bash_profile certain commands don't work, and my addition of /usr/local/jdk1.3.1/bin finds java, but java fails to run (complaining about missing libs). On the other hand root which is using csh, if I edit .cshrc and add the java path in, everything works just as expected. I'm confused :( Anything to enlighten me would be much appreciated. Thanks. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Neat Unix scene site
For those of you following the scene community (assembly etc.) this is a nice site. http://unixscene.kameli.net/ http://lnxscene.org is also a good resource for tutorials. Demos are always have a good 'Wow' factor to help attract attention. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Neat Unix scene site
On Sun, 2002-11-17 at 11:34, Khairil Yusof wrote: For those of you following the scene community (assembly etc.) this is a nice site. Unix cut and paste... :*( Sorry.. sent to wrong address. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part