via dri ?
Has anybody VIA CLE266 integrated video card? If any - have you set up direct rendering with it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
conflict between gimp-print and gutenprint
Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. Then I decided to install the Gimp. The Gimp entails gimp-print which conflicts with Gutenprint. So I uninstalled Gutenprint. And now I can't get anything to print. The CUPS job listing indicates the files have printed, but nothing has in fact printed on the printer. Given that gutenprint is supposed to be an upgrade from gimp-print, I'm really not liking that I've broken printing just to get the Gimp in. Does anyone have any insight as to how to get this working properly? Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgp120AqbSmv1.pgp Description: PGP signature
Re: upgrading xfce4 fails
John Nielsen [EMAIL PROTECTED] was heard to say: There's a PR open for this with a working patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/108322 Download it and apply it in the ports/sysutils/xfce4-battery-plugin directory then rebuild the port. It fixed the problem for me. I'm sure it will be committed shortly. Thanks for the hint, I'll just wait until it is committed. And thanks to everyone else who helped me to figure out what went wrong. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with mhoenicka) http://www.mhoenicka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple Directories for Jails
Hi I'm a n00b to freebsd and jails is there away that I can specify multiple Directories in the jails.conf ? JAIL_HOME=/data1; /data2 etc. Thanks Karl -- - Karl Fischer Absence of evidence is not evidence of absence Carl Sagan Email : [EMAIL PROTECTED] Jabber : [EMAIL PROTECTED] Personal Site : http://fischer.org.za - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba/LDAP PDC problem
Hi I want to run a Samba PDC with LDAP backend on a FreeBSD 6.2 for Sparc64. And off course, if I send this mail, it is not working ! :-( I have this error message when using smbclient on the PDC itself. The command line is: smbclient -L janus -Uadministrator%toto The result is: session setup failed: Call returned zero bytes (EOF) I've tested on 2 differents FreeBSD6.2 Sparc64, I have the same problem. But i've also tested on a FreeBSD 6.2 i386 with exactly the same configuration, it is working very well. And it is also working on a Debian Etch for Sparc64 ! The version of Samba is always up to date Thanks for any help. I put here my config file for Samba: --- # General parameters netbios name = janus work group = tatooine server string = janus (Centile PDC Server) dns proxy = no wins support = yes name resolve order = wins lmhosts host bcast time server = yes #socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 # Logging log file = /var/log/samba/log.%m syslog = 0 log level = 10 max log size = 1000 # This server is the PDC domain logons = yes os level = 35 local master = yes prefered master = yes domain master = yes security = user encrypt passwords = yes # Admin groups admin users = @administrators # Profils logon path = logon home = logon drive = u: logon script = %U.bat # LDAP parameters passdb backend = ldapsam:ldaps://ldap1.centile.com/ ldap ssl = on ldap suffix = ou=internal,o=centile,dc=com ldap admin dn = cn=manager,o=centile,dc=com ldap machine suffix = ou=computers ldap user suffix = ou=users ldap group suffix = ou=groups #ldap idmap suffix = ou=users ldap passwd sync = yes # Netlogon #[netlogon] # comment = Repertoire Netlogon # path = /var/db/samba/netlogon # browsable = yes # read only = no # write list = @administrateurs # create mask = 0644 --- And here is the corresponding log file at level 10: --- [2007/01/29 10:17:26, 6] param/loadparm.c:lp_file_list_changed(2998) lp_file_list_changed() file /usr/local/etc/smb.conf - /usr/local/etc/smb.conf last mod_time: Mon Jan 29 10:06:43 2007 [2007/01/29 10:17:26, 5] auth/auth_util.c:make_user_info_map(161) make_user_info_map: Mapping user [TATOOINE]\[administrator] from workstation [JANUS] [2007/01/29 10:17:26, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2007/01/29 10:17:26, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2007/01/29 10:17:26, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2007/01/29 10:17:26, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/01/29 10:17:26, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/01/29 10:17:26, 5] auth/auth_util.c:is_trusted_domain(2020) is_trusted_domain: Checking for domain trust with [TATOOINE] [2007/01/29 10:17:26, 5] passdb/secrets.c:secrets_fetch_trusted_domain_password(340) secrets_fetch failed! [2007/01/29 10:17:26, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/01/29 10:17:26, 10] lib/gencache.c:gencache_get(329) Cache entry with key = TDOM/TATOOINE couldn't be found [2007/01/29 10:17:26, 5] libsmb/trustdom_cache.c:trustdom_cache_fetch(184) no entry for trusted domain TATOOINE found. [2007/01/29 10:17:26, 5] auth/auth_util.c:make_user_info(75) attempting to make a user_info for administrator (administrator) [2007/01/29 10:17:26, 5] auth/auth_util.c:make_user_info(85) making strings for administrator's user_info struct [2007/01/29 10:17:26, 5] auth/auth_util.c:make_user_info(117) making blobs for administrator's user_info struct [2007/01/29 10:17:26, 10] auth/auth_util.c:make_user_info(135) made an encrypted user_info for administrator (administrator) [2007/01/29 10:17:26, 3] auth/auth.c:check_ntlm_password(221) check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the new password interface [2007/01/29 10:17:26, 3] auth/auth.c:check_ntlm_password(224) check_ntlm_password: mapped user is: [EMAIL PROTECTED] [2007/01/29 10:17:26, 10] auth/auth.c:check_ntlm_password(233) check_ntlm_password: auth_context challenge created by NTLMSSP callback (NTLM2) [2007/01/29 10:17:26, 10] auth/auth.c:check_ntlm_password(235) challenge is: [2007/01/29 10:17:26, 5] lib/util.c:dump_data() [000] 56 D3 03 25 4A 00 8D 86 V..%J... [2007/01/29 10:17:26, 10] auth/auth.c:check_ntlm_password(261) check_ntlm_password: guest had nothing to say [2007/01/29 10:17:26, 8] lib/util.c:is_myname(2043) is_myname(TATOOINE) returns 0 [2007/01/29 10:17:26, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2007/01/29 10:17:26, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2007/01/29 10:17:26, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2007/01/29 10:17:26, 5]
Re: mknod, devfs and FreeBSD
Kris, On 28/01/07, Kris Kennaway [EMAIL PROTECTED] wrote: I not understand this no sentence :) Sorry, I didn't read what I typed. I meant to type Was the effect of this considered at all? What reasons, other than cosmetic, do you have for not wanting to do this? Well, I am sure you would agree it is simpler to mknod for a small subset of /dev than to mount a devfs. Also, it means I have to migrate my existing set up which works perfectly as it is. It isn't just cosmetic, it really is more awkward than running mknod. I take your point that there's no technical reason not to do this, but it isn't pretty. Kris Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cannot mount file-backed msdosfs filesystem
Hi, (Please Cc: in your replies.) I used to mount an msdosfs filesystem and it has been working correctly so far. Unfortuntely I can't do it anymore today: % jarjarbinks:/usr/src:108# mdconfig -lu 0 % md0 vnode 1.8G /mnt/msdos/FreeBSD-SSP_src.ufs % jarjarbinks:/usr/src:109# mount -t msdos /dev/md0 /home/tataz/src/ssp/src/ % mount_msdosfs: /dev/md0: Invalid argument % jarjarbinks:/usr/src:110# fsck_msdosfs /dev/md0 % ** /dev/md0 % Invalid signature in boot block: Any clue is welcome ! Thank you. Regards, -- Jeremie Le Hen jeremie at le-hen dot org ttz at chchile dot org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF and MAC-Filtering ?
I'm trying to get my FreeBSD gateway with PF firewall to only allow acces to my network and internet from a couple computers through MAC filtering. I couldn't realy find out what rules I should use; From the information I found on google I tried something like this but it seems that PF doesn't see the entrie(s) in my mac-table as a mac adres: ( only pasted the related rules ) : block log ### Only allow WLAN connections from trusted Systems:: table wlanmacs persist file /usr/local/etc/pf/wlanmacs pass in on $wlanif from src wlanmacs to any keep state pass out on $wlanif from any to src wlanmacs keep state with in /usr/local/etc/pf/wlanmacs one Mac adres on each line; example: 00:0b:7b:23:33:25 As I said it doesn't seem that PF gets that it should treat the entries in the table as mac-adresses. How can I do that ? Or is there a better way to achieve the same result ? Regards, -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[PMX:VIRUS] Returned mail: see transcript for details
You are not allowed to post to this mailing list, and your message has been automatically rejected. If you think that your messages are being rejected in error, contact the mailing list owner at [EMAIL PROTECTED] ---BeginMessage--- The original content of this message part has been replaced by this text because it tested positive for the following virus(es): W32/MyDoom-O, W32/MyDoom-O The original message has been quarantined pending further action by the mail administrator. For further information about the message and its delivery status, please contact the undersigned, and include the full content of this message. The identifier for this message is 'l0TCoLCw010724'. This notification is being sent to you and any other original envelope recipient(s). To avoid creating a nuisance and to keep mail traffic under control, the original sender of the message has NOT been notified. However, you may want to notify the sender at your discretion. The Management PureMessage Admin [EMAIL PROTECTED] ---End Message--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mknod, devfs and FreeBSD
On Mon, Jan 29, 2007 at 01:07:25PM +, Freminlins wrote: Kris, On 28/01/07, Kris Kennaway [EMAIL PROTECTED] wrote: I not understand this no sentence :) Sorry, I didn't read what I typed. I meant to type Was the effect of this considered at all? Yes it was. The benefits of dynamic devices were considered to outweight the downsides of having to mount a devfs instance. What reasons, other than cosmetic, do you have for not wanting to do this? Well, I am sure you would agree it is simpler to mknod for a small subset of /dev than to mount a devfs. Also, it means I have to migrate my existing set up which works perfectly as it is. Actually I disagree. Once you write the simple devfs ruleset it is a single command to instantiate a new /dev. You don't have to worry about making each individual device node N times and possibly making a mistake. Of course you probably have a script to do this now, but that just means you need to adjust your script as part of your migration strategy. It isn't just cosmetic, it really is more awkward than running mknod. I take your point that there's no technical reason not to do this, but it isn't pretty. To put it bluntly, it's something you're just going to have to get over :-) Kris pgpnzCOgZwbcz.pgp Description: PGP signature
ipfw fwd command
I'm hooking up a second T1 to a FreeBSD 6.2 apache webserver. It's use is to be extremely simplistic having no NAT, no load balancing nor even failover capabilities. I'd like for packets entering on either interface to leave on the interface the arrived on. From what I've read, this can be done by: 1. Compile and install kernel with IPFIREWALL_FORWARD 2. ifconfig the new additional ethernet card 3. modify apache Listen 4. add security and forwarding statements to ipfw The last step concerns me because ipfw's fwd command in man is not really discussed in detail to determine that this is what it's for. What I've read suggests that given: x.y.z.1 = new T1 Router gateway, new ISP x.y.z.2 = new IP for the server on new NIC a.b.c.1 = existing T1 Router gateway, current ISP a.b.c.2 = existing IP existing NIC (is defaultrouter) I should be able to put in: ipfw add fwd x.y.z.1 ip from x.y.z.2 to any The question is, will this actually allow packets arriving on the interface with x.y.z.2 to return back out that interface without impact to the existing configuration and routing? If so, should this command appear early in the rule list or following the security oriented rules for the new interface (e.g., after allowing port 80 in and established connections out)? I'm not subscribed to the list so please do reply to me also. Thank you, Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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 enable linux flash player in firefox
Andreas Davour wrote: It's terribly sad that nobody can make it work, as of now. I really hope FreeBSD 7 can make a change. It DOES work right now, in 6.2-RELEASE with linux-flashplugin7, and that is with sound. The problem is, it only works for some users, and no one knows precisely which conditions must be met. As I said some posts ago, I have struggled with this problem myself. And then, after installing some packages with PKG_SITES set to packages-6-stable, flash suddenly started working. So it's a fair guess that it might work for you too if you upgraded or installed something from packages-6-stable. But we really should get to the bottom of this. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot mount file-backed msdosfs filesystem
Jeremie Le Hen schrieb: Hi, (Please Cc: in your replies.) I used to mount an msdosfs filesystem and it has been working correctly so far. Unfortuntely I can't do it anymore today: % jarjarbinks:/usr/src:108# mdconfig -lu 0 % md0 vnode 1.8G /mnt/msdos/FreeBSD-SSP_src.ufs % jarjarbinks:/usr/src:109# mount -t msdos /dev/md0 /home/tataz/src/ssp/src/ % mount_msdosfs: /dev/md0: Invalid argument % jarjarbinks:/usr/src:110# fsck_msdosfs /dev/md0 % ** /dev/md0 % Invalid signature in boot block: I'm not sure, but the filename FreeBSD-SSP_src.ufs hints to an UFS file system. Try mount /dev/md0 /home/tataz/src/ssp/src/ instead. Executing fsck_msdosfs with an UFS file system gives me the same error message: Invalid signature in boot block: . Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple Directories for Jails
Karl Fischer schrieb: Hi I'm a n00b to freebsd and jails is there away that I can specify multiple Directories in the jails.conf ? JAIL_HOME=/data1; /data2 etc. What are you trying to do or what do you expect? A file system hierarchy can only have one root directory. You probably want to play with unionfs. You can read about its concept here: http://people.freebsd.org/~daichi/unionfs/ http://en.wikipedia.org/wiki/UnionFS Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: customize floppies
Oliver Koch schrieb: Hello, is it possible to customize the kernel in the images of the kernel floppies (kern1.flp, kern2.flp, kern3.flp) for FreeBSD 6.2? I need a custom kernel with a special kernel option for my bge network interface (BGE_FAKE_AUTONEG) to get network access on my Intel Blade. Thanks in advance! You can modify the existing floppy images. boot.flp contains the first part of the kernel and kern*.flp the further parts. Build a custom kernel using makeoptions MODULES_OVERRIDE= in your kernel configuration file. # cd /usr/src/sys/i386/conf # config YOURKERNEL # cd ../compile # make cleandepend; make depend # make Take your kernel file and compress it: # gzip -9nc kernel kernel.gz Now you can use the 'split-file.sh' script from src/release/scripts to split the compressed kernel into parts. # /usr/src/release/scripts/split-file.sh kernel.gz destdir 1392 Kernel You can mount a floppy disk image with the following commands: # mdconfig -af boot.flp md45 # mount /dev/md45 /mnt Replace the kernel parts with your own. I hope this helps. I havn't tested it before. There are other ways that are more elegant. Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot mount file-backed msdosfs filesystem
Björn, On Mon, Jan 29, 2007 at 04:26:13PM +0100, Björn König wrote: Jeremie Le Hen schrieb: Hi, (Please Cc: in your replies.) I used to mount an msdosfs filesystem and it has been working correctly so far. Unfortuntely I can't do it anymore today: % jarjarbinks:/usr/src:108# mdconfig -lu 0 % md0 vnode 1.8G /mnt/msdos/FreeBSD-SSP_src.ufs % jarjarbinks:/usr/src:109# mount -t msdos /dev/md0 /home/tataz/src/ssp/src/ % mount_msdosfs: /dev/md0: Invalid argument % jarjarbinks:/usr/src:110# fsck_msdosfs /dev/md0 % ** /dev/md0 % Invalid signature in boot block: I'm not sure, but the filename FreeBSD-SSP_src.ufs hints to an UFS file system. Try mount /dev/md0 /home/tataz/src/ssp/src/ instead. Executing fsck_msdosfs with an UFS file system gives me the same error message: Invalid signature in boot block: . It seems that I am a little tired indeed. This is an UFS filesystem. Sorry for the noise :-). Regards, -- Jeremie Le Hen jeremie at le-hen dot org ttz at chchile dot org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.1 hard freeze after 2 hrs cp from ntfs to ufs
So, I have no ideas here. I am migrating to 6.1 from win2k and I am a bit leery as my system is freezeing. Basically, I mount my ntfs drive, and I have a fresh blank disk that I want to move my hundred-odd gigs of data off of my old ntfs volume. It goes for on average about 2 hours, then the system locks up - no coredump, no ssh, no shell, dead and gone. It never freezes if I don't copy. The os is on a seperate disk on a seperate controller. I am slowly getting the copy completed, by using cp -n, but still, bsd is supposed to not crash, period. Why else replace my crappy win2k machine? (it decided it didn't want to log onto the net 75% of the time anymore, and liked to reboot every 20 mins wether you were copying or not). As I said, i've been running the bsd system daily for over 2 weeks, and it never crashes or freezes until you copy. I was even using these disks over smb before, and moved my entire cvs repository (only several hundred megs) off this same disk onto the root disk sucessfully last week. Any ideas? Out of swap? I installed on a 160GB drive with the sysinstall/bsdlabel -A (auto) option, so i would think I have a reasonable amount of swap (about 1GB as I recall). Gotta go to work. Thanks for any advice. ciao, Steve ___ 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 enable linux flash player in firefox
On 1/29/07, Andreas Davour [EMAIL PROTECTED] wrote: On Sun, 28 Jan 2007, Garrett Cooper wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Davour wrote: On Sun, 28 Jan 2007, Tijl Coosemans wrote: Since I'm now using 6.2-PRERELEASE I guess it could be fixed in the final RELEASE, but it would be nice to know if someone can recognize _dlsym and say it is so. You need to apply the rtld patch mentioned in the first link above. Is there a way to get sound working as well? Google didn't give any answers. Short answer: no. Read my 2nd the last post made on this topic. Sorry for being so lost. I'm totally lost in the native/emulated mess and which of the ports work with which. It's terribly sad that nobody can make it work, as of now. I really hope FreeBSD 7 can make a change. Unfortunately this means I will have to switch to using Linux as my desktop OS. Crap. Reinstall hell... :( Flash, however much we all hate it, isn't going to go away. It's extra annoying since I had Flash6 working all right before, and now this mess. While FreeBSD has a great community (thanks all guys who have patience with me asking stupid questions!) and is much more pleasant to administer it doesn't meet my needs in this area. A crying shame, and I just wish I wasn't such a total looser at coding or I'd try to help with this problem. Many thanks to all who answered! /Andreas I was able to use Opera Native via this link http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/137131.html Didn't put more time in FF yet. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.1 hard freeze after 2 hrs cp from ntfs to ufs
On Mon, Jan 29, 2007 at 09:24:48AM -0700, Steve Franks wrote: So, I have no ideas here. I am migrating to 6.1 from win2k and I am a bit leery as my system is freezeing. Basically, I mount my ntfs drive, and I have a fresh blank disk that I want to move my hundred-odd gigs of data off of my old ntfs volume. It goes for on average about 2 hours, then the system locks up - no coredump, no ssh, no shell, dead and gone. It never freezes if I don't copy. The os is on a seperate disk on a seperate controller. I am slowly getting the copy completed, by using cp -n, but still, bsd is supposed to not crash, period. Why else replace my crappy win2k machine? (it decided it didn't want to log onto the net 75% of the time anymore, and liked to reboot every 20 mins wether you were copying or not). As I said, i've been running the bsd system daily for over 2 weeks, and it never crashes or freezes until you copy. I was even using these disks over smb before, and moved my entire cvs repository (only several hundred megs) off this same disk onto the root disk sucessfully last week. Any ideas? Out of swap? I installed on a 160GB drive with the sysinstall/bsdlabel -A (auto) option, so i would think I have a reasonable amount of swap (about 1GB as I recall). Gotta go to work. Thanks for any advice. Try with 6.2, there were some bug fixes to ntfs which might be relevant. If it persists, follow the directions in the developers handbook chapetr on kernel debugging and file a PR. Kris pgpflVoPnXCLs.pgp Description: PGP signature
python upgrade issue
Hello, I am running FreeBSD 6.2-RELEASE. Today I tried upgrading python to its most recent version. I made sure version 2.5 is mentioned in distinfo file and then issued portupgrade. I was not really convinced from the initial screen that my box was going to get the latest release but anyway the upgrade process stopped in the middle (most likely because I was remotely connected and my wLAN connection suddenly died for a second). So I tried again but got ** No such installed package: lang/python response. When I do python -V, I get Python 2.4.3. And luckilly python is still there as my mailman needs it. I used cvusp to refresh ports collection and tried portupgrade again but with the same error message. For one, I am not worried since current python clearly works but could you please suggest if/how I should made the system available for a python upgrade? Thank you very much in advance! Warm regards, -- Zbigniew Szalbot ___ 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 unable to connect to my ftp server from anything other than the local host
Ok, just so everyone knows the problem I was having where I was getting a 421 error when trying to connect to my ftp server was due to an error on my part when setting up ftpd. I had it both in rc and in inetd.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: Looking to upgrade my hardware and run 6.2-RELEASE]
On Sun, Jan 28, 2007 at 09:56:22PM -0500, Glenn Sieb wrote: I said... Since I tend to build my own boxes, I'd like to make sure my choice of CPU/MB is good fro FBSD before I buy :-) I'm looking at an AMD X2 64 5400 and an Abit AN9 32X. The AN9 has: NVIDIA nForce SPP 190/nForce 590 SLI MCP Dual NV Gigabit LAN The nve(4) driver supports the following chipsets: o nForce o nForce2 o nForce3 o nForce4 It doesn't look like nForce5 is supported yet. 6x SATA 3gb/s ports with RAID 0/1/0+1/5 JBOD support (plus 2x SATA ports non-RAID) The ata(4) driver supports the following chipsets: nVidia: nForce, nForce2, nForce2 MCP, nForce3, nForce3 MCP, nForce3 Pro, nForce4. No nForce5 here either. I know that NVIDIA chipsets (at least used to) require separate downloads of the chipset drivers. Is this still the case? According to nve(4): This driver is a reimplementation of the NVIDIA supported Linux nvnet driver and uses the same closed source API library to access the underly- ing hardware. There is currently no programming documentation available for this device, and therefore little is known about the internal archi- tecture of the MAC engine itself. I've been using Abit MBs for years now, but I'm not necessarily tied to them, if there are better suggestions from the list. Looks like you'd better stick with a KN9 (nForce4) for now. Asus has the M2V-MX with VIA chipset that looks OK. Not sure about the Realtek RTL8100C ethernet chip though. Same goes for the MSI K9VGM-V. It has a RTL8201 ethernet chip. I've never had trouble with MSI mobos with VIA chipsets. They might not be the fastest, but generally everything works. AMD chipsets are fine as well. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpChQ8Le87Sw.pgp Description: PGP signature
Re: PF and MAC-Filtering ?
Frank Staals wrote: I'm trying to get my FreeBSD gateway with PF firewall to only allow acces to my network and internet from a couple computers through MAC filtering. I couldn't realy find out what rules I should use; From the information I found on google I tried something like this but it seems that PF doesn't see the entrie(s) in my mac-table as a mac adres: ( only pasted the related rules ) : block log ### Only allow WLAN connections from trusted Systems:: table wlanmacs persist file /usr/local/etc/pf/wlanmacs pass in on $wlanif from src wlanmacs to any keep state pass out on $wlanif from any to src wlanmacs keep state with in /usr/local/etc/pf/wlanmacs one Mac adres on each line; example: 00:0b:7b:23:33:25 As I said it doesn't seem that PF gets that it should treat the entries in the table as mac-adresses. How can I do that ? Or is there a better way to achieve the same result ? Just filter by ip-addr. on your gateway, it gives you the same level of security as filtering by mac-addr. and configure your basestation to only accept clients with mac-addr. you have allowed. If you need some kind of authentication, take a look at authpf. greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: conflict between gimp-print and gutenprint
On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote: Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. You have to install the PPD file into CUPS. This can be done via administration/Add Printer or Printers/Modify Printer. I used the lpadmin app to add the ppd file: /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd Then I decided to install the Gimp. The Gimp entails gimp-print which conflicts with Gutenprint. So I uninstalled Gutenprint. And now I can't get anything to print. In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Works fine with my 2550L. HTH, Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpWNnZVIK6K9.pgp Description: PGP signature
Re: via dri ?
On Mon, Jan 29, 2007 at 01:04:43PM +0500, [EMAIL PROTECTED] wrote: Has anybody VIA CLE266 integrated video card? If any - have you set up direct rendering with it? It should be possible to get it working, but you might need to tweak Xorg: http://www.altlinux.com/index.php?module=sisyphuspackage=xorg-x11-drv-via Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpdBx0YSaoi1.pgp Description: PGP signature
Re: Apache Lenya Contact management
On 1/26/07, Graham North [EMAIL PROTECTED] wrote: Hi all: Maybe this should be going to Port or Java but I thought it might do okay here? Does FBSD support Lenya? I could not find it in Ports - but maybe I am missing something? I think it needs Java - could that be a problem? FBSD supports Java RTE now, no? Lenya looks pretty solid, good pedigree and good security features. I was comparing it to Joomla and Wordpress (yes, I know it is blog tool). If Lenya is not available does anyone have any favourite CMS to recommend? Something that works with ssl? JAWS http://www.jaws-project.com/ Jaws is a Framework and Content Management System for building dynamic web sites. It aims to be User Friendly giving ease of use and lots of ways to customize web sites, but at the same time is Developer Friendly, it offers a simple and powerful framework to hack your own modules. Thanks, Graham/ http://lenya.apache.org/ -- Kindness can be infectious - try it. Graham North Vancouver, BC www.soleado.ca ___ 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: [Fwd: Looking to upgrade my hardware and run 6.2-RELEASE]
Roland Smith wrote: [Much Good Info snipped..] Looks like you'd better stick with a KN9 (nForce4) for now. Asus has the M2V-MX with VIA chipset that looks OK. Not sure about the Realtek RTL8100C ethernet chip though. Same goes for the MSI K9VGM-V. It has a RTL8201 ethernet chip. I've never had trouble with MSI mobos with VIA chipsets. They might not be the fastest, but generally everything works. AMD chipsets are fine as well. Thanks for the suggestions and info, Roland! I'll check into the Asus and MSI boards.. :) Best, --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Torrent Server
I was wondering if the FreeBSD torrent server will be back online any time soon? Tryed to download version 6.2 and comes server not there. Thanks, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorta OT - Backup solutions Mac to FreeBSD
I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. I like Bacula (www.bacula.org) easier to set up than Amanda IMHO, and works with FreeBSD, MacOS X, Windows, and Linux. Full, Differential, and incremental backups, plus encryption. -- Kenny Dail [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: conflict between gimp-print and gutenprint
On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote: On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote: Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. You have to install the PPD file into CUPS. This can be done via administration/Add Printer or Printers/Modify Printer. I used the lpadmin app to add the ppd file: /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd The -E option didn't work for me: earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P /usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd lpadmin: Unable to connect to server: Bad file descriptor Omitting it worked, but I had to go through a cycle of enabling the printer before it claimed it accepted a request to print a test page. The man page for lpadmin claims both that the -E option forces encryption to the server and enables the printer. But even after all this, the test page still didn't actually print. The printer just sits there blissfully unaware that it is supposed to be printing something. Then I decided to install the Gimp. The Gimp entails gimp-print which conflicts with Gutenprint. So I uninstalled Gutenprint. And now I can't get anything to print. In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Works fine with my 2550L. I'll have to try this after I can even get the printer to print under any application at all. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpAL9xLLivhL.pgp Description: PGP signature
Re: network problem
Tsu-Fan Cheng [EMAIL PROTECTED] writes: I am using bt to download files and i know this is bad for netowrk... Not particularly; just make sure it isn't grabbing all of your bandwidth. sometimes my firefox returns the site not found on some popular sites, such as yahoo and google, and it looks like firefox didnt try hard enough before it gave it up. i have to ask it to reload to get it to hook up to the website. my question is, is this solely due to that i am bting, or there is something else i can do to make this better?? thanks !! It's possible that saturating your network link (in either direction) could cause DNS failures, but that isn't the most likely symptom. Running your own caching nameserver would reduce the problem in that case. And a number of other cases, come to think of it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Release of updated 'XORG' port
Does anyone have any information regarding when the 'xorg' port will be updated from 6.9.0 to what I believe now is version X11R7.1 being release by 'x.org'? -- Gerard Scitum est inter caecos luscum regnare posse. (It is well known, that among the blind the one-eyed man is king.) Gerard Didier Erasmus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release of updated 'XORG' port
On 1/29/07, Gerard Seibert [EMAIL PROTECTED] wrote: Does anyone have any information regarding when the 'xorg' port will be updated from 6.9.0 to what I believe now is version X11R7.1 being release by 'x.org'? Check out the wiki page: http://wiki.freebsd.org/ModularXorg -- Gerard Scitum est inter caecos luscum regnare posse. (It is well known, that among the blind the one-eyed man is king.) Gerard Didier Erasmus -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ 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 enable linux flash player in firefox
Andreas Davour wrote: I'll try to do a cvsup, rebuild and try to reinstall the browser and the plugins. Is PKG_SITES only used with pkg_fetch or can I use the ports system as is? I've never even heard of it before today. I believe you can use the ports system as is. In theory at least you should get the same or newer packages that way. But I doubt that you need to rebuild the browser and plugins. The point is that I used portinstall -PPR some time between January 20 and 24. And it is probably the -R that has sucked in some updated library. I see a couple of Linux libraries last updated on January 22. Packages with linux in their name on my machine comprise the following: %pkg_info -Ex linux linux-expat-1.95.8 linux-flashplugin-7.0r69 linux-fontconfig-2.2.3_5 linux-xorg-libs-6.8.2_5 linux_base-fc-4_9 linuxpluginwrapper-20051113_6 You could check whether you have the same versions. And we could make other such checks if anyone has an idea what to look for. But it needs to be said that I also downloaded other things in those four days. And, most significantly, I settled some problems with my Nvidia driver. Maybe this was what made the penny drop. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: conflict between gimp-print and gutenprint
On Mon, Jan 29, 2007 at 11:57:40AM -0800, David Benfell wrote: On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote: On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote: Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. You have to install the PPD file into CUPS. This can be done via administration/Add Printer or Printers/Modify Printer. I used the lpadmin app to add the ppd file: /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd The -E option didn't work for me: earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P /usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd lpadmin: Unable to connect to server: Bad file descriptor Omitting it worked, but I had to go through a cycle of enabling the printer before it claimed it accepted a request to print a test page. The man page for lpadmin claims both that the -E option forces encryption to the server and enables the printer. Put the -E option after the -p option. But even after all this, the test page still didn't actually print. The printer just sits there blissfully unaware that it is supposed to be printing something. Have a look at the logfiles, especially /var/log/cups/error_log. After a new install I had problems because the device permissions weren't set correctly. I've documented this on my FreeBSD page: http://www.xs4all.nl/~rsmith/freebsd/index.html#parport Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpw22g9Y2yjF.pgp Description: PGP signature
Re: conflict between gimp-print and gutenprint
On Mon, 29 Jan 2007 11:57:40 -0800, David Benfell wrote: On Mon, 29 Jan 2007 18:39:44 +0100, Roland Smith wrote: On Sun, Jan 28, 2007 at 11:44:38PM -0800, David Benfell wrote: Hello all, I am running FreeBSD 6.2 with CUPS and a printer--specifically an HP Color LaserJet 5500-DN--that only seems to want to print with the Gutenprint port installed. Even with the Gutenprint port installed, I had to copy the PPD file over from a Linux laptop to get color working. You have to install the PPD file into CUPS. This can be done via administration/Add Printer or Printers/Modify Printer. I used the lpadmin app to add the ppd file: /usr/local/sbin/lpadmin -E -p clj2550 -v parallel:/dev/lpt0 -P clj2550.ppd The -E option didn't work for me: earth# /usr/local/sbin/lpadmin -E -p home -v socket://192.168.18.20 -P /usr/local/share/cups/model/custom/hp_color_LaserJet_5500.ppd lpadmin: Unable to connect to server: Bad file descriptor Omitting it worked, but I had to go through a cycle of enabling the printer before it claimed it accepted a request to print a test page. The man page for lpadmin claims both that the -E option forces encryption to the server and enables the printer. But even after all this, the test page still didn't actually print. The printer just sits there blissfully unaware that it is supposed to be printing something. Okay, it prints now. Inexplicably, the printer thought it was paused. (My cat must have done it.) Now to try this... In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Okay, I did this, but CUPS never sees print jobs from the Gimp. How is one to debug something that fails silently? I'm not even getting a clue what's wrong here. Next question: How to get OpenOffice to recognize all the printer attributes? Spadmin doesn't seem to want to deal with PPD files. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpb36aCYeZeh.pgp Description: PGP signature
Re: Release of updated 'XORG' port
On Mon, Jan 29, 2007 at 03:36:44PM -0500, Gerard Seibert wrote: Does anyone have any information regarding when the 'xorg' port will be updated from 6.9.0 to what I believe now is version X11R7.1 being release by 'x.org'? This is a FAQ, please see the archives or the wiki. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorta OT - Backup solutions Mac to FreeBSD
On Mon, Jan 29, 2007 at 12:45:45PM -0700, Kenny Dail wrote: I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. I like Bacula (www.bacula.org) easier to set up than Amanda IMHO, and works with FreeBSD, MacOS X, Windows, and Linux. Full, Differential, and incremental backups, plus encryption. You could use rsyncx over ssh? Google for OS X rsync and you'll find several tutorials. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpjwrhpsFdor.pgp Description: PGP signature
Need help: Zend Optimizer breaks Apache
Hi, I'm having big problems getting the Zend Optimizer to work. I'm on FreeBSD 6.2 with PHP 5.2 installed and Apache 1.3.37. I install the Zend Optimizer from ports and the current version is 3.22 (allthough my problems have been around since I first tried this port at version 3.01). Here's my backtrace: # gdb /usr/local/sbin/httpd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... (gdb) r -X Starting program: /usr/local/sbin/httpd -X (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSYS, Bad system call. 0x2812ae17 in shmget () from /lib/libc.so.6 (gdb) bt #0 0x2812ae17 in shmget () from /lib/libc.so.6 #1 0x28e6b1ef in get_module () from /usr/local/lib/php/20060613/Optimizer/php-5.2.x/ZendOptimizer.so #2 0x in ?? () #3 0x0008 in ?? () #4 0x0180 in ?? () #5 0x28ee9dd8 in ?? () from /usr/local/lib/php/20060613/Optimizer/php-5.2.x /ZendOptimizer.so #6 0x284a6970 in ?? () from /usr/local/libexec/apache/libphp5.so #7 0xbfbfe4b4 in ?? () #8 0x280859a1 in _rtld_bind () from /libexec/ld-elf.so.1 Previous frame inner to this frame (corrupt stack?) Any ideas of what's going wrong here? Thanks, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorta OT - Backup solutions Mac to FreeBSD
On Jan 29, 2007, at Monday, Jan29, 2007 12:45 PM, Kenny Dail wrote: I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. Here is a script I run out of crontab on my Mac. Things to note: - Uses tar to create the backup. - Uses rcp to get the backup to the FreeBSD box. Could use scp if security is an issue. - It is a cshell script. - No software to find and install, everything you need is already on your Mac and freeBSD boxes. - I do a primary backup every night; no secondaries. - The script has been in production for about a year now and works flawlessly. - Restores are easy, just reverse the process. - I get an email daily giving me the status of the backup. - The tar file is written to /tmp before it is copied to the backup server so disk space could be an issue. - The tar file could be gziped (tar czf ) to save space at the expense of cpu time. - The log directory contains the status of the last two backups. - The backup server maintains 31 days of primaries. ## #!/bin/csh set LHOST=`hostname` set BASE=/backup_4/$LHOST set INFOPATH=/Users/root/dump_info set RHOST=some.remote.host set RUSER=rmotuser set TARCMD=tar cf set BKUP_DIR=/Users set SUCCESS_SUBJECT=$LHOST primary succeeded set FAIL_SUBJECT=$LHOST primary failed set MAIL_TO=[EMAIL PROTECTED] set SEQFILE=$INFOPATH/Sequence echo *** `date` $LHOST Begin setup for this primary backup echo *** `date` Set sequence number of this dump if(-s $SEQFILE) then set LAST=`cat $SEQFILE` else echo WARNING: $SEQFILE non-existant or 0 size echo Set last sequence to 0 set LAST=0 endif echo *** `date` Last sequence number used: $LAST switch($LAST) case 0: set SEQ=1 breaksw case 1: set SEQ=0 breaksw default: echo WARNING: Dump sequence is invalid: $LAST echoSet dump sequence to 0 set SEQ=0 breaksw endsw echo *** `date` Sequence number of this dump is: $SEQ echo *** `date` Set path variables set INFO=$INFOPATH/primary.$SEQ set FILE=Users_$SEQ.tar set [EMAIL PROTECTED]:$BASE/$FILE set TMPFILE=/var/tmp/$FILE echo Path to backup: $BKUP_DIR echo Log file..: $INFO echo Temporary file: $TMPFILE echo Remote file...: $RFILE echo *** `date` $LHOST Setup for this primary backup complete echo *** `date` $LHOST primary backup begun $INFO echo *** `date` Sequence number of this dump is: $SEQ$INFO echo *** `date` get space used in $BKUP_DIR $INFO du -hs $BKUP_DIR/* $INFO echo *** `date` tar $BKUP_DIR to $TMPFILE$INFO $TARCMD $TMPFILE $BKUP_DIR $INFO set rslt=$status if($rslt != 0) then echo FATAL: tar failed, status=$rslt $INFO set subject=$FAIL_SUBJECT goto pgm_exit endif echo *** `date` Check size of $TMPFILE $INFO ls -l $TMPFILE $INFO echo *** `date` rcp $TMPFILE to $RFILE $INFO rcp $TMPFILE $RFILE $INFO set rslt=$status if($rslt != 0) then echo FATAL: rcp failed, status=$rslt $INFO set subject=$FAIL_SUBJECT goto pgm_exit endif echo *** `date` rm $TMPFILE $INFO rm $TMPFILE $INFO set rslt=$status if($rslt != 0) then echo FATAL: rm failed, status=$rslt $INFO set subject=$FAIL_SUBJECT goto pgm_exit endif set subject=$SUCCESS_SUBJECT echo *** `date` Record sequence number of this dump $INFO echo $SEQ $SEQFILE pgm_exit: echo *** `date` Exit status=$subject $INFO echo *** `date` $LHOST primary backup ended $INFO mail -s $subject $MAIL_TO $INFO exit 0 ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: conflict between gimp-print and gutenprint
On Mon, Jan 29, 2007 at 01:16:44PM -0800, David Benfell wrote: snip Okay, it prints now. Inexplicably, the printer thought it was paused. (My cat must have done it.) Now to try this... In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Okay, I did this, but CUPS never sees print jobs from the Gimp. How is one to debug something that fails silently? I'm not even getting a clue what's wrong here. In the printer setup dialog, you also have to specify the print command. I use lp -s -dclj2550 -oraw. You'll need to adapt that to the name of your printer. BTW, I've got the following variables set in /etc/make.conf, so that the base system will not override the cups binaries after the next buildworld: CUPS_OVERWRITE_BASE=true NO_LPR=true Next question: How to get OpenOffice to recognize all the printer attributes? Spadmin doesn't seem to want to deal with PPD files. Since I don't use openoffice, I can't help you here. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpiW7KUGzZ6E.pgp Description: PGP signature
6.2: upgrade, or just install and restore rc.conf?
Presuming you have a 1 or 2 user system, and haven't done alot of mods, is there any reason to upgrade to 6.2 as opposed to just install it? Of the maybe 10 files I've modified, I have backed them up elsewhere, and it's fresh in my mind still. The only issues I can think of are (1) users/groups (of which I again have a whopping 2), and (2) installed packages - this could be a problem, as I have no idea how we (the os) know what's installed, and that info may or may not be deleted on a new install. (3) sysinstall/label doesn't seem happy about putting things on an existing slice(s) - when I fubared my 6.1 install it complained about insufficient space until I deleted all slices on the disk. Anyone care to comment on pros/cons of install vs. upgrade? Seems this is a relevant time for the discussion. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2: upgrade, or just install and restore rc.conf?
Steve Franks wrote: Presuming you have a 1 or 2 user system, and haven't done alot of mods, is there any reason to upgrade to 6.2 as opposed to just install it? Of the maybe 10 files I've modified, I have backed them up elsewhere, and it's fresh in my mind still. The only issues I can think of are (1) users/groups (of which I again have a whopping 2), and (2) installed packages - this could be a problem, as I have no idea how we (the os) know what's installed, and that info may or may not be deleted on a new install. (3) sysinstall/label doesn't seem happy about putting things on an existing slice(s) - when I fubared my 6.1 install it complained about insufficient space until I deleted all slices on the disk. Anyone care to comment on pros/cons of install vs. upgrade? Seems this is a relevant time for the discussion. upgrade is super easy. on a more or less stock system, it should be very straightforward. its good practice and fun too! =) Eric i have instructions on my site should you want a step by step guide. Goto mikestammer.com and then the freebsd section if you are interested ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorta OT - Backup solutions Mac to FreeBSD
I've heard of many people having problems with RsyncX and the version of rsync included in OS X crapping out and being unreliable. RsyncX and the patched rsync (the former being a GUI for the CLI rsync) that ships with OS X attempts to preserve resource forks and other file metadata (a lot of it from the OS 9 era where this stuff mattered). If you don't care at all about these attributes (I don't), I would recommend building a copy of the stock rsync from Macports, similar to FreeBSD ports in design: http://www.macports.org Here is a partial (or possibly complete) list of file metadata that I believe would be lost by using the stock rsync in OS X: - get info/Finder comments (this has been replaced with Spotlight comments in 10.4 which are saved to the Spotlight DB, not as file metadata) - application associations for files without file extensions - application associations for many OS 9 files, since OS 9 did not force file extensions and many users didn't bother with them - custom icons pasted on On Jan 26, 2007, at 5:28 PM, Gable Barber wrote: On 1/26/07, Doug Hardie [EMAIL PROTECTED] wrote: RsyncX for Mac will sync to a FreeBSD filesystem. Thank you. I will try these out. Gable ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part
Re: 6.2: upgrade, or just install and restore rc.conf?
On Mon, Jan 29, 2007 at 02:44:43PM -0700, Steve Franks wrote: Presuming you have a 1 or 2 user system, and haven't done alot of mods, is there any reason to upgrade to 6.2 as opposed to just install it? Of the maybe 10 files I've modified, I have backed them up elsewhere, and it's fresh in my mind still. The only issues I can think of are (1) users/groups (of which I again have a whopping 2), and (2) installed packages - this could be a problem, as I have no idea how we (the os) know what's installed, and that info may or may not be deleted on a new install. (3) sysinstall/label doesn't seem happy about putting things on an existing slice(s) - when I fubared my 6.1 install it complained about insufficient space until I deleted all slices on the disk. No particular reason. It is conceivable that the upgrade might take a few minutes less, but it could actually take more time as well. What you should do if you just do the fresh install, though is still do a cvsup and the build/install stuff. The reason is that it is already some time since the release and fixes continue to be added. So, do a cvsup to RELENG_6_2 after you do the fresh install if RELEASE is what you want or to RELENG_6 if you want slightly more bleeding edge, but still stable. Anyone care to comment on pros/cons of install vs. upgrade? Seems this is a relevant time for the discussion. I tend to do fresh installs and then the cvsup myself. It seems to be cleaner. But then, I tend to install a bunch of stuff just to check it out, much of which I find I don't really want. So, the fresh install effectively cleans that all out -- so I can start with another bunch of trial junk (and a few things I end up liking too). jerry Steve ___ 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: 6.2: upgrade, or just install and restore rc.conf?
On Mon, Jan 29, 2007 at 02:44:43PM -0700, Steve Franks wrote: Presuming you have a 1 or 2 user system, and haven't done alot of mods, is there any reason to upgrade to 6.2 as opposed to just install it? Of the maybe 10 files I've modified, I have backed them up elsewhere, and it's fresh in my mind still. The only issues I can think of are (1) users/groups (of which I again have a whopping 2), and I would rather use csup to update the sources and do a build/install cycle. That way you get to run mergemaster, which shows you all the changes in the configuration files, and gives you the choice to apply them or not. (2) installed packages - this could be a problem, as I have no idea how we (the os) know what's installed, and that info may or may not be deleted on a new install. If you haven't kept your ports/packages up-to-date, it might be beneficial to make a list of all installed ports, delete all ports and build/pkg_add them all again, so that you get the latest versions. (3) sysinstall/label doesn't seem happy about putting things on an existing slice(s) - when I fubared my 6.1 install it complained about insufficient space until I deleted all slices on the disk. Using csup and build/install kernel/world doesn't have this problem either. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpYYsFSTiRuS.pgp Description: PGP signature
stupid scripting question: zsh
Hello all, I've been upgrading my FreeBSD system into a fully-fledged desktop system. zsh as installed (from the port) seems only to recognize the /etc/zshenv startup file. And I needed an stty command to get proper backspace/delete behavior. Because only the /etc/zshenv file seemed to be recognized, I had to put the stty command in it. The stty command works fine, but unsurprisingly produces an error in my automated jobs that ssh into the system. So I tried: if [ ${TERM} ] then stty erase ^? fi That didn't work, so I tried: if [ -n ${TERM} ] then stty erase ^? fi Someone who actually knows what they're doing will, I'm sure, instantly recognize the problem with this. I'm pretty sure TERM is indeed the variable I should be testing, but that I'm not testing it in the right way. What is the magic way? -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpkIiK4dbhQn.pgp Description: PGP signature
Re: Multiple Directories for Jails
On 29 Jan 2007, at 5:04 PM, Björn König wrote: Karl Fischer schrieb: Hi I'm a n00b to freebsd and jails is there away that I can specify multiple Directories in the jails.conf ? JAIL_HOME=/data1; /data2 etc. What are you trying to do or what do you expect? A file system hierarchy can only have one root directory. You probably want to play with unionfs. You can read about its concept here: http://people.freebsd.org/~daichi/unionfs/ http://en.wikipedia.org/wiki/UnionFS Regards Björn Hi Basically the Drive that the Jails are hosted on is running out of space. By adding another mounted Partition I will have more space. If I add a new Drive to the Machine ... mount it under /data2 can I just stop the jails and copy them across modify the jails.conf and start it up ? I guess the best procedure should be to back them up and restore them there ? Thanks for the help Karl --- Karl Fischer Rock on ! Email : [EMAIL PROTECTED] Jabber : [EMAIL PROTECTED] Skype : kmfischer Personal Site : http://fischer.org.za --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Command watching opened files by processes in FreeBSD
Hello out there, does FreeBSD has a nativ root-restricted facility watching opened files of a process or process group (like lsof or filemon)? Thanks in advance, Oliver -- O. Hartmann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command watching opened files by processes in FreeBSD
On 1/30/07, O. Hartmann [EMAIL PROTECTED] wrote: Hello out there, does FreeBSD has a nativ root-restricted facility watching opened files of a process or process group (like lsof or filemon)? Thanks in advance, Oliver You can always install lsof from the ports... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command watching opened files by processes in FreeBSD
In response to O. Hartmann [EMAIL PROTECTED]: Hello out there, does FreeBSD has a nativ root-restricted facility watching opened files of a process or process group (like lsof or filemon)? Is fstat what you're looking for? -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stupid scripting question: zsh
The problem is likely the that you don't have the full path to stty in your script, and the automated jobs don't have a proper path set yet. Use the full pathname in your script and see if that works. -Derek At 04:37 PM 1/29/2007, David Benfell wrote: Hello all, I've been upgrading my FreeBSD system into a fully-fledged desktop system. zsh as installed (from the port) seems only to recognize the /etc/zshenv startup file. And I needed an stty command to get proper backspace/delete behavior. Because only the /etc/zshenv file seemed to be recognized, I had to put the stty command in it. The stty command works fine, but unsurprisingly produces an error in my automated jobs that ssh into the system. So I tried: if [ ${TERM} ] then stty erase ^? fi That didn't work, so I tried: if [ -n ${TERM} ] then stty erase ^? fi Someone who actually knows what they're doing will, I'm sure, instantly recognize the problem with this. I'm pretty sure TERM is indeed the variable I should be testing, but that I'm not testing it in the right way. What is the magic way? -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CUPS and gimp and openoffice
On Mon, 29 Jan 2007 22:36:17 +0100, Roland Smith wrote: snip In the GIMP, set up the printer as PostScript level 2, and also provide the PPD file. Okay, I did this, but CUPS never sees print jobs from the Gimp. How is In the printer setup dialog, you also have to specify the print command. I use lp -s -dclj2550 -oraw. You'll need to adapt that to the name of your printer. BTW, I've got the following variables set in /etc/make.conf, so that the base system will not override the cups binaries after the next buildworld: CUPS_OVERWRITE_BASE=true NO_LPR=true [Grunt] Okay, I've got it working now. I had to specify the path of the CUPS lp command (/usr/local/bin). Because, yes, I've been doing lots of updates, while upgrading this system, and buildworld hasn't just happened once, but several times. Next question: How to get OpenOffice to recognize all the printer attributes? Spadmin doesn't seem to want to deal with PPD files. Since I don't use openoffice, I can't help you here. It prints, but the printer has duplex capability that I only want to use most (not all) of the time. That's really the only issue. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgp2uEyeQVo3S.pgp Description: PGP signature
Re: stupid scripting question: zsh
In the last episode (Jan 29), David Benfell said: I've been upgrading my FreeBSD system into a fully-fledged desktop system. zsh as installed (from the port) seems only to recognize the /etc/zshenv startup file. And I needed an stty command to get proper backspace/delete behavior. Because only the /etc/zshenv file seemed to be recognized, I had to put the stty command in it. I'd start by figuring out why the other zsh startup scripts aren't being read. I install zsh from ports on all my systems and haven't seen this. Are you running zsh -f, or have you unset the RCS shell option from within zshenv? Either will prevent the other rc scripts from being loaded. If you run truss -f -o log zsh, do you see it try to load zshrc? Anyway, here's how to emulate zprofile, zshrc, and zlogin from within zshenv (untested). Stick this at the bottom of your zshenv: if [[ -o rcs -o login ]] ; then # code that would be better off in zprofile fi if [[ -o rcs -o interactive ]] ; then # code that would be better off in zshrc fi if [[ -o rcs -o login ]] ; then # code that would be better off in zlogin fi -- Dan Nelson [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: Sorta OT - Backup solutions Mac to FreeBSD
On Mon, Jan 29, 2007, Joe Auty wrote: I've heard of many people having problems with RsyncX and the version of rsync included in OS X crapping out and being unreliable. RsyncX and the patched rsync (the former being a GUI for the CLI rsync) that ships with OS X attempts to preserve resource forks and other file metadata (a lot of it from the OS 9 era where this stuff mattered). If you don't care at all about these attributes (I don't), I would recommend building a copy of the stock rsync from Macports, similar to FreeBSD ports in design: http://www.macports.org The resource forks matter to some OS X software, in particular the Reunion 8 genealogy program (which may also have issues when run on case sensitive file systems). Reunion is the only OS X program I personally use where this has been an issue (resource forks, not case insensitivity problems). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 When I hear a man applauded by the mob I always feel a pang of pity for him. All he has to do to be hissed is to live long enough. -- H.L. Mencken, ``Minority Report'' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command watching opened files by processes in FreeBSD
Bill Moran wrote: In response to O. Hartmann [EMAIL PROTECTED]: Hello out there, does FreeBSD has a nativ root-restricted facility watching opened files of a process or process group (like lsof or filemon)? Is fstat what you're looking for? Sorry for the noise. Yes, fstat could possibly that I wanted it for, but is there a way to make it look like a continious watching a process opening and closing files? fstat -p PID gives me a snapshot of the status quo as of the second I enter the command but that menas I could miss the right time point. Maybe something like ptrace will be better. Thanks a lot for the pretty fast answers! -- O. Hartmann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command watching opened files by processes in FreeBSD
On Mon, Jan 29, 2007, O. Hartmann wrote: does FreeBSD has a nativ root-restricted facility watching opened files of a process or process group (like lsof or filemon)? fstat(1) -cs ___ 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 enable linux flash player in firefox
Andreas Davour wrote: [snip] Is what I get when I try Google Video. YouTube works for video, but not sound. I wonder if that state kserel is what's troubling us? It's past midnight here, so I'll think about this thing tomorrow. I also get YouTube without sound. But I get http://www.flashsound.com/ with sound, and as far as I can understand, that is flash sound. In any case, I am ecstatic just to get the video, which I did not get before. I now have 6.2-RELEASE installed, and have not yet tried portinstall -PPR. What did you -PPR? Firefox? linux-flashplugin? I downloaded some file managers and editors in order to try them out. Afraid I don't recall too many particulars. -- Tore ___ 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 enable linux flash player in firefox
Tore Lund wrote: Andreas Davour wrote: [snip] Is what I get when I try Google Video. YouTube works for video, but not sound. I wonder if that state kserel is what's troubling us? It's past midnight here, so I'll think about this thing tomorrow. I also get YouTube without sound. But I get http://www.flashsound.com/ with sound, and as far as I can understand, that is flash sound. In any case, I am ecstatic just to get the video, which I did not get before. I now have 6.2-RELEASE installed, and have not yet tried portinstall -PPR. What did you -PPR? Firefox? linux-flashplugin? I downloaded some file managers and editors in order to try them out. Afraid I don't recall too many particulars. Here's an idea - if yer not married to the idea of using either T-Bird or F-fox (native) install the linux-firefox and linux-thunderbird. I did - no issues with shock etc. Just an alternative I spose. Mind you, I prefer to use the native, but -- Best regards, Chris Superiority is recessive. smime.p7s Description: S/MIME Cryptographic Signature
Re: chm file conversion?
On 10/14/05, Sandy Rutherford [EMAIL PROTECTED] wrote: On Sun, 9 Oct 2005 12:51:43 +0400, Andrew P. [EMAIL PROTECTED] said: 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. Just print it to a ps file. Pdf and ps are easily interconvertible. I know. That's not the issue. xchm only supports printing one page at a time, which a cumbersome way to go about printing the entire document to file. There is a box in the print dialogue that you can tick in order to print the entire document. However, it doesn't work. I've just stumble upon a similar task. The way I went is decompiling chm with archmage into separate html files, concatenating the ones I need into one with cat, and cleaning the result up with a simple perl script (below). Printing an html file is another problem (it's not that easy to print 2Mb of html text)... [EMAIL PROTECTED]:~% cat bin/cleanchm #!/usr/bin/perl -wT use strict; local $/; local $_ = ; s|\\/?html\||g; s|\META.*?\||gs; s|\head.*?head\||gs; s|\script.*?script\||gs; s|\\/?body\||g; s|\table.*\n.*\n.*prev.*\n.*\n.*next.*\n.*table\||g; s|\span class=v1.*?span\||gs; print; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pf and ALTQ Help
I recently began using a VoIP phone service (SunRocket) and need to ensure that the SunRocket hardware has priority over any other traffic on my slow DSL connection. For years I've used ipfw for my firewall so I tried shaping traffic with dummynet but it seems unreliable. Because the man page says dummynet isn't a true QoS, I decided to move from ipfw to pf. From what I've read, seems pf is a much better firewall anyway and now I have the need. :) I've worked up a pf.conf file following the tutorial at http://www.bgnett.no/~peter/pf/ but there are a few items that I can't seem to get right. Blacklamb sits behind my router and I have some ports redirected to it. This rule doesn't seem to match packets and create a state rule: pass log proto { tcp, udp } to blacklamb port $blacklamb_ip_services \ flags S/SA synproxy state But when I use this one, things are OK. pass log proto { tcp, udp } to blacklamb port $blacklamb_ip_services keep state Is synproxy state supposed to work with redirection? Also, when trying to put VoIP traffic in a priority queue, this rule is not matching and I don't understand why: pass out log on $ext_if from gizmo to any keep state queue voip_out I'd really appreciate any help and comments on my rule set in general. Thanks, Drew Here is my complete ruleset: blacksheep# cat /etc/pf.conf # $FreeBSD: src/etc/pf.conf,v 1.2.2.1 2006/04/04 20:31:20 mlaier Exp $ # $OpenBSD: pf.conf,v 1.21 2003/09/02 20:38:44 david Exp $ # # See pf.conf(5) and /usr/share/examples/pf for syntax and examples. # Required order: options, normalization, queueing, translation, filtering. # Macros and tables may be defined and used anywhere. # Note that translation rules are first match while filter rules are last match. # Macros: define common values, so they can be referenced and changed easily. ext_if=dc1# replace with actual external interface name i.e., dc0 int_if=dc0# replace with actual internal interface name i.e., dc1 internal_net=192.168.x.x/24 vpn_if=tun0 # OpenVPN interface vpn_net=192.168.x.x/24 ldc_vpn=x.x.x.x localnet={ $internal_net, $vpn_net } blacksheep_ip_services={ 22, 25, 1194, 1195, 1 } blacklamb_ip_services={ 22, 25, 80, 993, 10001 } # Tables: similar to macros, but more flexible for many addresses. table banned file /etc/pf/banned table rfc1918 const { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } table draft_manning const { 0.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24, \ 224.0.0.0/4, 240.0.0.0/4 } table login file /etc/pf/login table spyware file /etc/pf/spyware set skip on lo0 # Normalization: reassemble fragments and resolve or reduce traffic ambiguities. scrub in all # Queueing: rule-based bandwidth control. altq on $ext_if priq queue { std_out, voip_out, ack_out, high_out, low_out } queue std_out priority 4 priq (default) queue voip_out priority 9 queue ack_out priority 10 queue high_out priority 5 queue low_out priority 3 # Translation: specify how addresses are to be mapped or redirected. # nat: packets going out through $ext_if with source address $internal_net will # get translated as coming from the address of $ext_if, a state is created for # such packets, and incoming packets will be redirected to the internal address. nat on $ext_if from $internal_net to any - ($ext_if) rdr on $ext_if proto { tcp, udp } from any to $ext_if \ port $blacklamb_ip_services - blacklamb rdr on $ext_if proto { tcp, udp } from any to $ext_if \ port $bigdaddy_ip_services - bigdaddy ### GET BACK TO THIS LATER ### # Redirect FTP traffic to ftp-proxy #rdr on $int_if proto tcp from any to any port ftp - 127.0.0.1 port 8021 # Stop spoofing for our interfaces antispoof for $ext_if antispoof for $int_if # http://www.openbsd.org/faq/pf/filter.html # Set up default behavior. Allow outbound packets and deny inbound. # Unlike ipfw (first match wins), in pf, last match wins unless using # the 'quick' modifier. Thus default rules are set at the top # block log all pass from { $internal_net, $vpn_net } keep state pass out from dc1 keep state # Block non-routable IP addresses with 'quick' so they won't be passed by # subsequent rule. block in log quick on $ext_if from { rfc1918, draft_manning } to any block out log quick on $ext_if from any to { rfc1918, draft_manning } # Ensure IP listed in 'banned' table are not passed by some subsequent rule block in log quick on $ext_if from banned to any # Block interactive access to sites listed in 'login' table. Use quick to # ensure not passed by subsequent rule. # login_ports={ 21, 22, 23, 143, 901, 993, 1194, 1195, 3389, 8080, 8081, \ , 5405, 5406, 1, 10001, 10865 } block in log quick on $ext_if proto { tcp, udp } from login port $login_ports # Politely reject auth traffic # (http://www.onlamp.com/pub/a/bsd/2001/07/05/FreeBSD_Basics.html?page=1) # block return in on $ext_if proto tcp from any port auth # Allow icmp icmp_types={ echoreq, unreach }
Re: stupid scripting question: zsh
On Mon, 29 Jan 2007 17:19:40 -0600, Dan Nelson wrote: In the last episode (Jan 29), David Benfell said: I've been upgrading my FreeBSD system into a fully-fledged desktop system. zsh as installed (from the port) seems only to recognize the /etc/zshenv startup file. And I needed an stty command to get proper backspace/delete behavior. Because only the /etc/zshenv file seemed to be recognized, I had to put the stty command in it. I'd start by figuring out why the other zsh startup scripts aren't being read. I install zsh from ports on all my systems and haven't seen this. Are you running zsh -f, or have you unset the RCS shell option from within zshenv? Either will prevent the other rc scripts from being loaded. If you run truss -f -o log zsh, do you see it try to load zshrc? Okay, I figured out how to run truss (yes, I had the PROCFS and PSEUDOFS options in my kernel). Yes, it tries to access /etc/zshrc. I was trying zlogin, which I had seen on a Linux system. So I've made *this* change, and everything now works. Thanks! Anyway, here's how to emulate zprofile, zshrc, and zlogin from within zshenv (untested). Stick this at the bottom of your zshenv: if [[ -o rcs -o login ]] ; then # code that would be better off in zprofile fi if [[ -o rcs -o interactive ]] ; then # code that would be better off in zshrc fi if [[ -o rcs -o login ]] ; then # code that would be better off in zlogin fi Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpvMPkWipKH6.pgp Description: PGP signature
Re: Sorta OT - Backup solutions Mac to FreeBSD
On Jan 29, 2007, at 14:00, Joe Auty wrote: I've heard of many people having problems with RsyncX and the version of rsync included in OS X crapping out and being unreliable. RsyncX and the patched rsync (the former being a GUI for the CLI rsync) that ships with OS X attempts to preserve resource forks and other file metadata (a lot of it from the OS 9 era where this stuff mattered). If you don't care at all about these attributes (I don't), I would recommend building a copy of the stock rsync from Macports, similar to FreeBSD ports in design: http://www.macports.org Here is a partial (or possibly complete) list of file metadata that I believe would be lost by using the stock rsync in OS X: - get info/Finder comments (this has been replaced with Spotlight comments in 10.4 which are saved to the Spotlight DB, not as file metadata) - application associations for files without file extensions - application associations for many OS 9 files, since OS 9 did not force file extensions and many users didn't bother with them - custom icons pasted on I have heard that also. However, I have been using it for backups for about 3 years now and every time the backup disk boots and everything I check works normally. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fusefs-ntfs (ntfs-3g) problem - linux compatibility?
I get the following: [EMAIL PROTECTED] ~]$ sudo ntfs-3g /dev/ad10s2 /mnt/rainstone Failed to open /proc/filesystems: No such file or directory modprobe: not found Failed to open /proc/filesystems: No such file or directory [EMAIL PROTECTED] ~]$ As I do not indeed have /proc/filesystems, the error is correct. Should I? Is this a linux-vs-bsd directory hierarchy issue? Just built the latest fuse-fs-kmod and fusefs-ntfs from ports on 6.1/amd64. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache Lenya Contact management
Thank you Tuareg. It looks promising and I will check it out further. Yours is the first response that I have seen on this query. Cheers, Graham/ Tuareg wrote: On 1/26/07, Graham North [EMAIL PROTECTED] wrote: Hi all: Maybe this should be going to Port or Java but I thought it might do okay here? Does FBSD support Lenya? I could not find it in Ports - but maybe I am missing something? I think it needs Java - could that be a problem? FBSD supports Java RTE now, no? Lenya looks pretty solid, good pedigree and good security features. I was comparing it to Joomla and Wordpress (yes, I know it is blog tool). If Lenya is not available does anyone have any favourite CMS to recommend? Something that works with ssl? JAWS [2]http://www.jaws-project.com/ Jaws is a Framework and Content Management System for building dynamic web sites. It aims to be User Friendly giving ease of use and lots of ways to customize web sites, but at the same time is Developer Friendly, it offers a simple and powerful framework to hack your own modules. Thanks, Graham/ [3]http://lenya.apache.org/ -- Kindness can be infectious - try it. Graham North Vancouver, BC [4]www.soleado.ca ___ [EMAIL PROTECTED] mailing list [6]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.14/658 - Release Date: 2007-01-29 2:4 9 PM -- Kindness can be infectious - try it. Graham North Vancouver, BC [8]www.soleado.ca References 1. mailto:[EMAIL PROTECTED] 2. http://www.jaws-project.com/ 3. http://lenya.apache.org/ 4. http://www.soleado.ca/ 5. mailto:freebsd-questions@freebsd.org 6. http://lists.freebsd.org/mailman/listinfo/freebsd-questions 7. mailto:[EMAIL PROTECTED] 8. http://www.soleado.ca/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man sysinstall
To: [EMAIL PROTECTED] From: Jared Barneck [EMAIL PROTECTED] Reply-To: Jared Barneck [EMAIL PROTECTED] Cc: X-send-pr-version: 3.113 X-GNATS-Notify: Submitter-Id: current-users Originator:Jared Barneck Organization: www.bsdcertification.com Confidential: no Synopsis: sysinstall man page and example install.cfg need updated to include changes in 6.2synopsis of the problem (one line) Severity: non-critical Priority: low Category: docschoose from the list of categories above (one line) Class: doc-bug Release: FreeBSD 6.2-RELEASE i386 Environment: System: FreeBSD freebsd.bsdcertification.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/ usr/obj/usr/src/sys/GENERIC i386 Description: The man page for sysinstall was last updated in June of 2005 and the sample file is tagged as 2001. There have been many changes since these were written. The man page for sysinstall needs updated to match the new install settings. The install has changed in a few ways. For example, the dists variable now need to remove outdated options and add the new options such as: kernels GENERIC SMP. The example file is in the src tree under /usr/src/usr.sbin/sysinstall/install.cfg but no longer works in 6.2. A new sample file would be much appreciated. How-To-Repeat: 1. Place the /usr/src/usr.sbin/sysinstall/install.cfg file on a floppy disk. 2. Edit the file for a given environment (replacing sample IPs, names, etc.) 3. Start an install. 4. Pass the install.cfg file to the installation. 5. It does not install a working system Fix: I added the following to the dists variable and the system installed: kernels GENERIC I assume that SMP might be an option as well but this would have to be verified. There may be other options that are outdated. I can't seem to get the INDEX file to read. Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ___ 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 enable linux flash player in firefox
Chris wrote: Tore Lund wrote: Andreas Davour wrote: [snip] Is what I get when I try Google Video. YouTube works for video, but not sound. I wonder if that state kserel is what's troubling us? It's past midnight here, so I'll think about this thing tomorrow. I also get YouTube without sound. But I get http://www.flashsound.com/ with sound, and as far as I can understand, that is flash sound. In any case, I am ecstatic just to get the video, which I did not get before. I now have 6.2-RELEASE installed, and have not yet tried portinstall -PPR. What did you -PPR? Firefox? linux-flashplugin? I downloaded some file managers and editors in order to try them out. Afraid I don't recall too many particulars. Here's an idea - if yer not married to the idea of using either T-Bird or F-fox (native) install the linux-firefox and linux-thunderbird. I did - no issues with shock etc. Just an alternative I spose. Mind you, I prefer to use the native, but Clarification for those confused: I didn't say Flash 9 wouldn't work on FreeBSD--I said Flash 9 _with sound_ wouldn't work. That's just the way that they chose to program since OSS went out of style in Linux and Alsa got in style between versions 7 and 9 of Flash. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stupid scripting question: zsh
In the last episode (Jan 29), David Benfell said: On Mon, 29 Jan 2007 17:19:40 -0600, Dan Nelson wrote: In the last episode (Jan 29), David Benfell said: I've been upgrading my FreeBSD system into a fully-fledged desktop system. zsh as installed (from the port) seems only to recognize the /etc/zshenv startup file. And I needed an stty command to get proper backspace/delete behavior. Because only the /etc/zshenv file seemed to be recognized, I had to put the stty command in it. I'd start by figuring out why the other zsh startup scripts aren't being read. I install zsh from ports on all my systems and haven't seen this. Are you running zsh -f, or have you unset the RCS shell option from within zshenv? Either will prevent the other rc scripts from being loaded. If you run truss -f -o log zsh, do you see it try to load zshrc? Okay, I figured out how to run truss (yes, I had the PROCFS and PSEUDOFS options in my kernel). Yes, it tries to access /etc/zshrc. I was trying zlogin, which I had seen on a Linux system. zlogin should be also read, but only on login shells. For testing purposes, you can force a login shell after you've logged in by running zsh -l. -- Dan Nelson [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 enable linux flash player in firefox
Andreas Davour wrote: Sorry for being so lost. I'm totally lost in the native/emulated mess and which of the ports work with which. It's terribly sad that nobody can make it work, as of now. I really hope FreeBSD 7 can make a change. I'm now using 6.2-PRERELEASE as the desktop with firefox 2,linux-flashplugin7. All work well. That confused me for few days, now I write the detail steps for you. 1.Use portsnap update the ports tree.You can read the info from the freebsd handbook, Appendix A. Obtaining FreeBSD 2.Install linux_base from /usr/ports/emulators/linux_base-fc4, In /etc/rc.onf, add the line: linux_enable=YES 3.Install firefox2 from /usr/ports/www/firefox. 4.Install linuxpluginwrapper in /usr/ports/www/linuxpluginwrapper. cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf 5.Install linux-flashplugin7 in /usr/ports/www/linux-flashplugin7. In handbook : # ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so \ /usr/X11R6/lib/browser_plugins/ # ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt \ /usr/X11R6/lib/browser_plugins/ but firefox plugin directory is /usr/local/lib/browser_plugins/, so you must change above line /usr/X11R6/lib/browser_plugins/ to /usr/local/lib/browser_plugins/ 6.Check the libexec directory exists in /usr/src, if no, #sysinstall- custom-deistributions-src-libexec, then # cd /usr/src/libexec # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff # patch rtld_dlsym_hack.diff # cd rtld-elf # make clean # make obj # make depend # make make install Then reboot your machine. Now it should work. hope this help you. peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
isdn
dear I have office in kolkata and also I have a pc in another city like Mumbai , i want connect to pc by Isdn, I want to communicate via Isdn what will be the process ? thanks anup [EMAIL PROTECTED] Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man sysinstall
--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ceri Davies wrote: On Thu, Jan 25, 2007 at 07:28:39PM -0500, Tom Rhodes wrote: On Thu, 25 Jan 2007 14:54:47 + Ceri Davies [EMAIL PROTECTED] wrote: On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD Certification Team wrote: Hello all, The man page for sysinstall is pretty out of date. I am trying to PXE boot to an unattended install. I figured out that I needed to add dists=base kernels GENERIC even though kernels and GENERIC are not in the list in the man page. Is there anyone in charge of updating this information? I have never submitted an update. I guess that's me. Could you please raise a PR and send me the number? I sent in a PR. Let me know if you don't get it. I tried with almost every version of 5.X to get an unattended install working. Never worked. It seems as if sysinstall was looking only for a USB floppy drive. Originally I started looking over the code to send in a PR and perhaps a patch, but became busy with other things. I can't speak for 5.x because I didn't really run it, but this worked for 6.x a year ago: http://typo.submonkey.net/articles/2006/02/12/ I am actually pxe booting to it now. However, I am using pxe-1.4.2 instead of having it all in the dhcp config. Also, I saw a not that the floppy drive is not working. I couldn't get it to work either. I am doing this all PXE style. I was using FreeBSD, isc-dhcp-server, pxe-1.4.2, and tftp and ftp from inetd to pxe boot and didn't really try the floppy so I tried the floppy. I have tested two separate hardware machines and VMWare 5.d and I cannot get the floppy to detect and read the install.cfg. I have tried both MS-DOS floppy and a floppy formatted with UFS, so I am guessing this is broken too. So with the PXE solution, I have almost everything working: I cannot get the machine to automatically reboot. This is the one last thing I need for full automation. So it looks like there are three issues that some of us who donate time could address: 1. Update man sysinstall which I submitted a PR for. 2. Fix the floppy not being detected. 3. Figure out how to reboot once the unattended install completes. The OP's note about adding the kernels line is definitely needed and I'll fix that (though I would really love a PR for it), but for anything else, you have to send hardware (a laptop or Soekris, I'm not fussy!) :) Ceri I will settle for the updated man page for now. I wish I could just send everyone a laptop. :-) Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ___ 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 enable linux flash player in firefox
On Tue, Jan 30, 2007 at 12:43:21PM +0800, peter wrote: Andreas Davour wrote: Sorry for being so lost. I'm totally lost in the native/emulated mess and which of the ports work with which. It's terribly sad that nobody can make it work, as of now. I really hope FreeBSD 7 can make a change. I'm now using 6.2-PRERELEASE as the desktop with firefox 2,linux-flashplugin7. All work well. That confused me for few days, now I write the detail steps for you. 1.Use portsnap update the ports tree.You can read the info from the freebsd handbook, Appendix A. Obtaining FreeBSD 2.Install linux_base from /usr/ports/emulators/linux_base-fc4, In /etc/rc.onf, add the line: linux_enable=YES 3.Install firefox2 from /usr/ports/www/firefox. 4.Install linuxpluginwrapper in /usr/ports/www/linuxpluginwrapper. cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf 5.Install linux-flashplugin7 in /usr/ports/www/linux-flashplugin7. In handbook : # ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so \ /usr/X11R6/lib/browser_plugins/ # ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt \ /usr/X11R6/lib/browser_plugins/ but firefox plugin directory is /usr/local/lib/browser_plugins/, so you must change above line /usr/X11R6/lib/browser_plugins/ to /usr/local/lib/browser_plugins/ 6.Check the libexec directory exists in /usr/src, if no, #sysinstall- custom-deistributions-src-libexec, then # cd /usr/src/libexec # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff # patch rtld_dlsym_hack.diff # cd rtld-elf # make clean # make obj # make depend # make make install That last part is useless now and will not work with 6.2-RELEASE. The current working way, is using a freash port tree and following the Handbook instructions. This is for Flash 7 (with or without soound according to the site you visit), for Flash 9 it's another story... -- Marc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vpnc RAW_SOCKET (again)
sudo vpnc /etc/vpnc/conf add host a.b.c.d: gateway 64.183.12.161 add net 192.168.52.0: gateway 172.26.7.141 add net e.0.0.0: gateway 172.26.7.141 add net a.b.c.d: gateway 172.26.7.141 add net 172.26.0.0: gateway 172.26.7.141 add net 192.168.34.0: gateway 172.26.7.141 add net 172.28.0.0: gateway 172.26.7.141 add net 192.168.62.0: gateway 172.26.7.141 add net 192.168.38.0: gateway 172.26.7.141 add net 172.22.40.0: gateway 172.26.7.141 add net 172.24.54.0: gateway 172.26.7.141 add net 172.24.40.0: gateway 172.26.7.141 add net 192.168.66.0: gateway 172.26.7.141 add net 192.168.64.0: gateway 172.26.7.141 add net 192.168.46.0: gateway 172.26.7.141 add net 192.168.48.0: gateway 172.26.7.141 add net 192.168.56.0: gateway 172.26.7.141 add net 172.27.106.0: gateway 172.26.7.141 add net 172.25.109.10: gateway 172.26.7.141 add net 192.168.162.0: gateway 172.26.7.141 add net 172.16.20.0: gateway 172.26.7.141 add net 192.168.196.0: gateway 172.26.7.141 add net 192.168.248.0: gateway 172.26.7.141 add net 192.168.180.0: gateway 172.26.7.141 add net 192.168.67.0: gateway 172.26.7.141 add net 192.168.148.0: gateway 172.26.7.141 add net 192.168.54.0: gateway 172.26.7.141 add net 192.168.68.0: gateway 172.26.7.141 add net 172.29.0.0: gateway 172.26.7.141 add net 192.168.92.0: gateway 172.26.7.141 add net 192.168.123.0: gateway 172.26.7.141 add net 172.28.10.32: gateway 172.26.7.141 add net 172.28.11.32: gateway 172.26.7.141 socket(SOCK_RAW): Protocol not supported This used to work on this exact computer. I have _not_ recompiled the kernel or user land. The kernel config is attached (it does include IPSEC_ESP) What did change was the hostname a.y.net - b.y.net. Also, I switched from Comcast to TimeWarner, then to TimeWarner business class. The 3rd switch moved from me having 1 static ip and a router with this computer having an ip of 192.168.100 to several static ips. It now has a REAL routable ip address and is behind a routable gateway. As far as I can tell this problem started happening because of this networking switch. Coincidentally, the hostname switch was at the same time. The computer is still physically in the same location. $ uname -a FreeBSD goku.p6m7g8.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Jan 14 17:12:17 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOME i386 $ /usr/local/sbin/vpnc --version vpnc version 0.3.3 Copyright (C) 2002-2004 Geoffrey Keating, Maurice Massar vpnc comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of vpnc under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING. Supported DH-Groups: nopfs dh1 dh2 dh5 Supported Hash-Methods: md5 sha1 Supported Encryptions: des 3des aes128 aes192 aes256 Supported Auth-Methods: psk psk+xauth -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant - P6M7G8 Consutling - http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - Ticketmaster - http://ticketmaster.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF We're halfway there Livin' on a prayer Take my hand and we'll make it-I swear Livin' on a prayer ### ## Architecture ### ### machine i386 maxusers0 cpu I686_CPU# aka Pentium Pro(tm) ident HOME device npx ### # Compatibility ### ### options COMPAT_43 options COMPAT_LINUX options SCHED_ULE ### # Networking ## ### options INET#Internet communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IP device loop#Network loopback device device ether #Generic Ethernet device tun device tap device bpf # Berkeley packet filter device if_bridge device miibus device em # Accton MPX 5030/5038 10/100BaseTX ### ## Firewalls ##