First commercial 1080p satellite broadcasts in Afric
The first commercial direct to home satellite broadcasting of a linear 1080p television channel will commence in Africa later this year, as the result of the agreement by Sahara Media of Tanzania to broadcast the Landscape Channel in full HD, commencing this autumn. This is a first for technology and for Africa. LandscapeHD will be available throughout Tanzania, Kenya, Uganda, Rwanda, Malawi, Mozambique and Burundi with a satellite footprint covering East and Central Africa. LandscapeHD is a languagelesss instrumental music channel showing the beauty of the natural world in the highest technical quality available to satellite broadcasters. LandscapeHD is a free to air music channel funded by national government tourism advertising, as well as global and local brand advertising, in a new languageless format only seen on the Landscape Channel. It takes global languagless tourism and destination advertising, previously used on the internet, and delivers it into traditional television broadcast homes using its new proprietary mini-server IP distribution system. This is connected to normal in-home television services (such as cable, satellite and now the fast developing connected tv market). This unique distribution system is expected to deliver a raft of new specialist music channels into traditional television distribution over the coming twelve months, as distributors discover how this new technology can deliver specialist music channels anywhere in the world, without the traditional costs associated with broadcast servers and rights societies determined to squeeze the life out of minority music channels by the charges they levy for specialist music at the same rate as pop music. Contact: Nick Austin Chairman +44 1424 830628 Editors note: LandscapeHD delivers its television signal globally from one source into any television distribution system anywhere in the world using a broadcast television server that costs less than the cost of an iphone and is about the same size. This technology delivers a 24 hour music television channel into any country anywhere in the world and into any format (adroid, smartphone, tablet, operating system or television system) without any cost to the user. Nick Austin was the co-founder of the Beggars Banquet music label (now often referred to as the fifth major) and is committed to the concept of delivering specialist msuic channels into television as the new store for music. -- If you do not want to receive any more newsletters, http://www.landscapehd.com/lists/?p=unsubscribeuid=b2af32f916764866e3e3e21c5d7b75b8 To update your preferences and to unsubscribe visit http://www.landscapehd.com/lists/?p=preferencesuid=b2af32f916764866e3e3e21c5d7b75b8 Forward a Message to Someone http://www.landscapehd.com/lists/?p=forwarduid=b2af32f916764866e3e3e21c5d7b75b8mid=124 -- Powered by PHPlist, www.phplist.com -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Unsigned artist wins Gold at Cannes Lions - worlds biggest advertising award
Susannah Austin won a Cannes Gold Lion this last week for writing the lyrics and singing her song Auto Tune for the global Dove brand commercial. The award is likened to winning gold at the olympics as it is open to all advertising agencies world-wide to enter and considered the top advertising award in the industry. The following week the same song was awarded an Aerial. http://www.canneslions.com/work/2013/radio/entry.cfm?entryid=35529award=2 http://www.campaignlive.co.uk/news/1187294/ Susannah is the daughter of Claire Hamill, the legendary Island Records recording artist (Geronino's Cadillac). Her album, currently being recorded in the UK for autumn release, is being produced by Tymon Dogg of the Clash. UK executive manager Nick Austin, who set up the Beggars Banquet Records Group with Martin Mills and who runs the Landscape Channel television channel says Susannah has the voice of an angel and the power of Adele. Anyone who is seriously involved in A and R should listen to her album as there cant be many artists they will work with who walk in the door of the music business with the contacts that Susannah has under her belt. The one thing you can be certain of is she will be heard and seen in most major world territories very soon. We are actively looking for a major label to follow through on the work done to date. Contact me for details. Contact Nick Austin: +44 1424 830628 Editors Note: No autotune will be used on the forthcoming Susannah Austin album. -- If you do not want to receive any more newsletters, http://www.landscapehd.com/lists/?p=unsubscribeuid=b2af32f916764866e3e3e21c5d7b75b8 To update your preferences and to unsubscribe visit http://www.landscapehd.com/lists/?p=preferencesuid=b2af32f916764866e3e3e21c5d7b75b8 Forward a Message to Someone http://www.landscapehd.com/lists/?p=forwarduid=b2af32f916764866e3e3e21c5d7b75b8mid=117 -- Powered by PHPlist, www.phplist.com -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Raspberry Pi
Hi, where can I download the Raspberry Pi version please? Regards, Nick Pettefar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: zoneedit.com
There doesn't seem to be a way to create a new account at the new interface - as far as I can tell there is no sign up method at zoneedit.com. On Sunday, February 3, 2013, Fbsd8 fb...@a1poweruser.com wrote: Nick K wrote: I am posting here hoping that a Dan from ZoneEdit.com still monitors this mailing list. I am in a very bad situation and my mail forwarding has been down for over a week -- no response from ZoneEdit support. I found references to people getting help from Dan here: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-01/msg00504.html My issue(s): 1.) I can't login to zoneedit.com's new interface. I used to be able to log in to the legacy interface -- but apparently I'm in the same boat as Mr. Jack L. Stone was -- in that you can no longer manage zones from the legacy interface. The legacy interface tells me my account is active at the new interface, but the new interface tells me my account does not even exist. 2.) My mail forwarding service provided by zoneedit.com stopped working approximately last week monday. It has been working fine since 2002. Don't you just love it when this stuff happens. 3.) I can't change my DNS / mail forwarding service, because the email I used for my domain registration at my registrar is one of the emails that gets forwarded (and the forwarding is not working). If Jack L. Stone or Dan from ZoneEdit can get in contact with me I would be very grateful. I don't know what else to do at this point. The company that currently owns ZoneEdit (Dotster) won't help me -- they say they don't have the ability to provide support for ZoneEdit customers. This is my last hope pretty much. Dan or Jack if you're out there, please get back to me. sur...@gmail.com Have you tried to create a new account on the new interface and try to access your domains from there? -- ~ Nick K. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ipv6 enabled and panic in 7.4-RELEASE
Hello list, I enabled ipv6 in a server running 7.4-RELEASE with amd64 generic kernel, and bge. I issued a static ipv6 address with prefix lenght 120 (according to my network administrator) and ipv6 default route in rc.conf, and issued '/etc/rc.d/network_ipv6 start'. ifconfig bge0: bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM ether 00:f5:0b:3d:3b:e4 inet6 fe80::217:a4ff:fe8d:33e8%bge0 prefixlen 64 scopeid 0x1 (ipv4 stuff) inet6 2a02:1823:1002:b1 prefixlen 120 (this is the static address) media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause) status: active I enabled inet6 rules and in /etc/pf.conf like this: pass in on $ext_if inet6 proto tcp from any to $ext_if port http pass out on $ext_if inet6 proto tcp all pass out on $ext_if inet6 proto icmp6 all icmp6-type echoreq keep state pass in on $ext_if inet6 proto icmp6 all icmp6-type echoreq Locally, ipv6 seemed to work OK as I could ping6 localhost and hostname. However, ipv6 connections from outside were still being blocked by pf, so I was trying to solve that issue. At one point, I did a 'ping6 ipv6.google.com', after which the machine dropped the ssh connection. I connected to the console using ILO, only to see it rebooting. It was writing vmcore.0 at that point, which I interrupted using ctr-c, since I was not sure how long it would take. Now I have those files in /var/crash: bounds info.0 minfree vmcore.0 info.0 contains: Dump header from device /dev/da0s1b Architecture: amd64 Architecture Version: 2 Dump Length: 1812742144B (1728 MB) Blocksize: 512 Dumptime: Wed Jun 8 12:56:40 2011 Hostname: server Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.4-RELEASE #0: Fri Feb 18 01:55:22 UTC 2011 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Panic String: page fault Dump Parity: 2017522204 Bounds: 0 Dump Status: good The size of vmcore.0 is 767M. It is probably incomplete. In /var/log/messages I have: Jun 8 12:59:31 server savecore: reboot after panic: page fault Jun 8 12:59:31 server savecore: writing core to vmcore.0 I have not built a kernel locally, so will I be able to read the vmcore.0 using kgdb without local sources? Not sure if I can submit a PR for this either, thus I would like to learn more about this issue at first. I searched the freebsd bugs database, but found nothing really similar. Any help about how to handle this issue would be much appreciated. nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New to FreeBsd
make sure your ports are up to date #portsnap fetch #portsnap extract change into the port directory #cd /usr/ports you can search through ports using these command in /usr/ports #make search name=python or #make search key=python On Mon, Jan 3, 2011 at 9:16 AM, George George strangegeor...@gmail.comwrote: I am new to the Free BSD and i have a question on how to install a packet.What i have to type to download a python editor?I cant find the right packet name.Thank you very much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Routers, switches, and networking hardware
On Mar 26, 2010, at 18:05, Kurt Buff kurt.b...@gmail.com wrote: On Fri, Mar 26, 2010 at 14:46, Lee Shackelford lee_shackelf...@dot.ca.gov wrote: Good afternoon, dear FreeBSD enthusiast. Is anyone aware of any brand name of router, switch, or other similar networking hardware that is based on any variant of the BSD operating system? Any comments are appreciated. Yours truly, L e e _ S h a c k e l f o r dAT d o t dot c adot g o v Unless memory fails me, F5, Juniper, and for sure Sidewinder (now McAfee) firewalls, among others. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org F5 is now Linux. Used to be BSDi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Raid0 second question
Thanks for the first reply and the link. it helped. My second question is if I do the bsd raid0 thing, will it affect windows 7, the protectsmart harddrive feature, the imprint reader, and other misc features. IE: will it run like it does now in exception for the changes to the sata setup. I know it will be faster but I am not to familiar with this and plan to have a friend w more experience do the mods for me. I just want to know what to expect before I buy. Thanks, Nick E-mail message checked by Spyware Doctor (7.0.0.514) Database version: 6.14420 http://www.pctools.com/en/spyware-doctor-antivirus/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Raid
Hi I have a Hp Pavillion dv8 with dual sata drives. What program do I need to raid this thing. I installed a second hard drive after I bought it.. I am not sure what I need. Thanks, Nick E-mail message checked by Spyware Doctor (7.0.0.514) Database version: 6.14410 http://www.pctools.com/en/spyware-doctor-antivirus/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clicky driver
At 2009-12-26 09:36:14+, Matthew Seaman writes: Uh, it was done years ago. Look at the xset(1) manual page -- there are options there to turn on key-click. They've been there since before the millennium as I recall. Most people find key-click intensely annoying (even more so if it's on someone else's machine) so it's turned off by default. I seem to recall an irritating colleague who had click turned on, circa 1990. Nick B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where is gfortran in FreeBSD 7.2 Release (i386)?
At 2009-12-21 23:31:13+, Erik Trulsson writes: Install the lang/gcc44 port which includes Fortran support. The Fortran compiler will be installed as gfortran44. Somewhat frustrating that the lang/gcc42 port used to include Fortran, and no longer does, and (ISTR) the same goes for lang/gcc43. This means that portupgrade may automagically remove Fortran. If you find your Fortran installation has mysteriously vanished, this may well be the cause. It was for me. Nick B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: editing a binary file
If your Fortran file has the same word size and enddian-ness as your C, this simple program convert.c will strip all the record length fields. I just knocked it up now, no warranty, etc, but it works for me. Use as a pipe: $ ls convert.c test.f $ gcc -Wall -Werror -ansi -pedantic convert.c -o convert $ gfortran44 test.f -o test $ ./test $ ls -l test-output -rw-r--r-- 1 nb nb 2460 Dec 18 11:17 test-output $ ./convert test-output test-converted $ ls -l test-converted -rw-r--r-- 1 nb nb 2420 Dec 18 11:18 test-converted $ The code does a fair amount of checking; if you get one of the error messages, let us know. The most obvious unchecked problem is a short read, which will complain about mismatched lengths. If your Fortran has different word sizes or enddian-ness (e.g. most of the Fortran output files I use on the Clear Climate Code project http://clearclimatecode.org/ are generated on big-endian machines), you will need to add code to tweak the 'size' value after reading it, and when checking the record-end marker. Nick B /* convert.c: remove record length fields from Fortran output file. */ /* Nick Barnes, Ravenbrook Limited, 2009-12-18 */ #include stdlib.h #include stdio.h #include unistd.h #include assert.h int main(void) { long size; char *buf; ssize_t bytes; assert(sizeof(size) == 4); while(bytes = read(0, (void*)size, sizeof(size))) { if (bytes 0) { fprintf(stderr, read() returned %ld\n, bytes); exit(1); } if (size = 0) { fprintf(stderr, Read bad record length %ld\n, size); exit(1); } buf = (char*)malloc(size + sizeof(size)); if (!buf) { fprintf(stderr, Couldn't allocate buffer of %ld bytes\n, size + sizeof(size)); exit(1); } bytes = read(0, buf, size + sizeof(size)); if (bytes = 0) { fprintf(stderr, read() returned %ld\n, bytes); exit(1); } if ((*(long*)(buf+size)) != size) { fprintf(stderr, Mismatched record lengths: %ld, %ld\n, size, *(long*)(buf+size)); exit(1); } write(1, buf, size); free(buf); } return 0; } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: editing a binary file
At 2009-12-18 16:33:49+, Warren Block writes: per...@pluto.rain.com wrote: Greg Larkin glar...@freebsd.org wrote: ... truncate -4 myfile should get rid of the last four bytes. Maybe there's a similar efficient way to truncate the start of a file. This should do it: dd if=oldfile of=newfile bs=1 skip=4 Or, perhaps marginally more efficient: dd if=oldfile of=newfile bs=4 skip=1 It would be nice to avoid the file copy, but maybe there's no way to do that. The small buffer size for dd will probably make copies of multi-gig files slow. This might be faster: tail -c +5 myfile outfile truncate -4 outfile (Has anyone mentioned that you can edit binary files interactively with vi yet? No? Well, it's horrific and surely has interesting failure modes. And there are probably disadvantages also.) All very interesting, but the OP is wanting to lose all the Fortran record markers, not just the first (and last) four bytes of the file. The record markers precede and follow each record, and give the record's length. The size and enddian-ness of the record marker itself depends on the Fortran implementation. Nick B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Root exploit for FreeBSD
At 2009-12-11 11:29:44+, $witch writes: but i look in syslogs of some FreeBSD internet server and there is a great evidence that some botnets are (again) tryng simple combination of uid/pwd. # always, everywhere: PasswordAuthentication No Nick B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
fdisk/bsdlabel/disklabel: Class not found?
Hello all! I've found many references to this error on Google: fdisk: Class not found, bsdlabel: Class not found but none explain what this error *means*. Could someone explain this error and possible remedies? I'm using a custom 8.0-RELEASE-p1 kernel. I don't even need to edit the label in order for bsdlabel to spit this out! Any information would be very helpful! Thanks, Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fdisk/bsdlabel/disklabel: Class not found?
So we are saying, that bsdlabel and fdisk are broken? This is *very* disappointing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how does gmirror start up?
I am running a 6.3 system and have had various problems with disk reliability on a key filesystem, probably down to SCSI hardware or drivers. I'm intending to replace that SCSI disk with a pair of SATA disks ad6/7, using gmirror as gm0 (while keeping ad4 as our boot disk). I have set up the mirror and right now I'm part-way through using rsync to transfer the data. But I have a question concerning the underlying operation of GEOM, which is troubling me. I have read the various man pages and handbook pages relating to GEOM and gmirror, but they don't seem to answer this. When I reboot the system, gmirror comes up (because of the line in /boot/loader.conf) and gm0 appears, backed by ad6/7. Where is this configuration information stored? That is, how does the system know to make gm0, with ad6/7 as the backing store. I would expect there to be a file somewhere in /etc with this config information, but I don't see it in the documentation. From reading gmirror(8), I understand that there is a label sector at the ends of ad6 and ad7, identifying them as parts of gm0. But that config information is back-to-front: at boot time the system knows from /etc/fstab that it needs gm0; how does it find the underlying disks? Does the system search the ends of all physically-attached disks, looking for GEOM labels, and automatically make any corresponding GEOM devices? Surely not (that would mean, for instance, that if I took one of these disks out of this machine and put it into another FreeBSD system then that machine would automatically set up gm0 with this disk). Possibly I'm just being dense. Can someone enlighten me? Nick Barnes Ravenbrook Limited ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.2 Installation Manual
In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.2 Installation Manual
Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. when up to that point it hasn't mentioned X!? Mentioning it three chapters later is not really very helpful to people struggling to get the thing installed step-by-step! Step-by-step guides are difficult to write, especially be people that know a lot about the subject beforehand as details tend to get glossed over. When it doesn't work (as has happened to me) and you have to Ctrl-Alt- Del then you are left feeling lost and confused - a bit like Linux ten years ago. (OpenSuse installed and worked graphically perfect). Shouldn't there be an X configuration stage in the installation process? Nick On 12 Jun 2009, at 15:35, Bill Moran wrote: In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or options on X server configuration or choosing a Default Desktop! Help! You weren't able to find this page?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html Or this one?: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x- config.html Nowhere, indeed. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ bustard# startx xauth: creating new authority file /root/.serverauth.968 X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-PRERELEASE i386 Current Operating System: FreeBSD bustard.pettefar.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 r...@walker.cse.buffalo.edu :/usr/obj/usr/src/sys/GENERIC i386 Build Date: 22 April 2009 02:40:51PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Fri Jun 12 17:45:02 2009 (==) Using default built-in configuration (30 lines) (EE) Failed to load module fbdev (module does not exist, 0) xclock: not found ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.0-RELEASE panics in ip_output
Since upgrading to 7.0-RELEASE, I seem to get a panic about once a week or so. I have 6to4 set up on this machine, and the stack trace I get from kgdb usually looks something like this: #0 doadump () at pcpu.h:195 #1 0xc062e2a7 in boot (howto=260) at /usr/src/sys/kern/ kern_shutdown.c:409 #2 0xc062e569 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc084ce2c in trap_fatal (frame=0xe679875c, eva=76) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc084d0b0 in trap_pfault (frame=0xe679875c, usermode=0, eva=76) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc084da5c in trap (frame=0xe679875c) at /usr/src/sys/i386/i386/ trap.c:490 #6 0xc0833d3b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc06f23b9 in ip_output (m=0xc4494e00, opt=0x0, ro=0xc3eabbc4, flags=0, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:169 #8 0xc06ca751 in stf_output (ifp=0xc3ee1000, m=0xc4494e00, dst=0xc3ee5bdc, rt=0xc3fb5780) at /usr/src/sys/net/if_stf.c:533 #9 0xc02d in nd6_output (ifp=0xc3ee1000, origifp=0xc3ee1000, m0=0xc4494e00, dst=0xc3ee5bdc, rt0=0xc3fb5780) at /usr/src/sys/netinet6/nd6.c:2123 #10 0xc07749f2 in ip6_output (m0=0xc4494e00, opt=0xc4089c80, ro=0xe6798a0c, flags=0, im6o=0x0, ifpp=0x0, inp=0xc3fb2924) at /usr/src/sys/netinet6/ip6_output.c:927 #11 0xc0785a27 in udp6_send (so=0xc424d630, flags=0, m=0xc4494e00, addr=0xc3e4d880, control=0x0, td=0xc4246210) at /usr/src/sys/netinet6/udp6_usrreq.c:675 #12 0xc0681785 in sosend_generic (so=0xc424d630, addr=0xc3e4d880, uio=0xe6798bd4, top=0xc4494e00, control=0x0, flags=0, td=0xc4246210) at /usr/src/sys/kern/uipc_socket.c:1240 #13 0xc067d74f in sosend (so=0xc424d630, addr=0xc3e4d880, uio=0xe6798bd4, top=0x0, control=0x0, flags=0, td=0xc4246210) at /usr/src/sys/kern/uipc_socket.c:1286 #14 0xc0683ed6 in kern_sendit (td=0xc4246210, s=27, mp=0xe6798c58, flags=0, control=0x0, segflg=UIO_USERSPACE) at /usr/src/sys/kern/ uipc_syscalls.c:789 #15 0xc0686f91 in sendit (td=0xc4246210, s=27, mp=0xe6798c58, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:730 #16 0xc0687031 in sendmsg (td=0xc4246210, uap=0xe6798cfc) at /usr/src/sys/kern/uipc_syscalls.c:922 #17 0xc084d405 in syscall (frame=0xe6798d38) at /usr/src/sys/i386/i386/trap.c:1035 #18 0xc0833da0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/ exception.s:196 #19 0x0033 in ?? () Previous frame inner to this frame (corrupt stack?) The exact details can vary, but the line where things seem to blow up is always in this code in ip_output.c: /* * If there is a cached route, * check that it is to the same destination * and is still up. If not, free it and try again. * The address family should also be checked in case of sharing the * cache with IPv6. */ if (ro-ro_rt ((ro-ro_rt-rt_flags RTF_UP) == 0 || dst-sin_family != AF_INET || dst-sin_addr.s_addr != ip-ip_dst.s_addr)) { RTFREE(ro-ro_rt); ro-ro_rt = (struct rtentry *)NULL; } on the RTFREE line. Is it just me, or is this something other folks have seen as well? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: archiving all IMAP mail?
try imapsync, it will synchronise your mail to a local machine, which can be your backup, while leaving the mail on your provider's server for you to access via various clients. On Fri, Feb 15, 2008 at 11:13 AM, Wael Nasreddine [EMAIL PROTECTED] wrote: This One Time, at Band Camp, C Thala [EMAIL PROTECTED] said, On Thu, Feb 14, 2008 at 04:47:33PM -0500: From the sound of it, it seems like you have control of your MTA and the backend of your IMAP server. I have neither. You don't own the server? you don't have an IMAP server of your own? where do you backup your email then?? I use fetchmail/getmail to grab my email off the IMAP server, and copy it to various places And you would like to serve what you have archived via IMAP? Or you would like to forward what you have archived to another email(s)?? For IMAP you're looking for courier-imap if forwarding then you're looking for a small procmail configuration. If neither are the case you're looking for then please expand your 1st e-mail, I couldn't understand what exactly you're looking for. -- Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 .: An infinite number of monkeys typing into GNU emacs, would never make a good program. (L. Torvalds 1995) :. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble compiling php5-xml
I am bumping this because I haven't had a response. I'll add that I am running 6.1-RELEASE (according to the motd when I log in). I don't know what other info may be relevant, if I can provide anything else please let me know. Also, if there is a better list to post to for an answer, I'd be grateful to know. Nick. On Jan 16, 2008 12:08 PM, Nick Rout [EMAIL PROTECTED] wrote: I am trying to compile php5-xml (as a dependency to rtgui). I get this error: cc -I. -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/include -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/main -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c -fPIC -DPIC -o .libs/xml.o /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:74: warning: parameter names (without types) in function declaration /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: `xml' undeclared here (not in a function) /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: (near initialization for `xml_module_entry.post_deactivate_func') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: (near initialization for `xml_module_entry.globals_id') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:162: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:163: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c: In function `PHP_GINIT_FUNCTION': /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:187: error: invalid type argument of `-' *** Error code 1 Stop in /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml. *** Error code 1 Stop in /usr/ports/textproc/php5-xml. *** Error code 1 Stop in /usr/ports/net/php5-xmlrpc. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. Can anyone help me in sorting this out? Cheers (new to the list by the way :-) ) Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble compiling php5-xml
I am trying to compile php5-xml (as a dependency to rtgui). I get this error: cc -I. -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/include -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/main -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c -fPIC -DPIC -o .libs/xml.o /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:74: warning: parameter names (without types) in function declaration /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: `xml' undeclared here (not in a function) /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: (near initialization for `xml_module_entry.post_deactivate_func') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: (near initialization for `xml_module_entry.globals_id') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:162: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:163: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c: In function `PHP_GINIT_FUNCTION': /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:187: error: invalid type argument of `-' *** Error code 1 Stop in /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml. *** Error code 1 Stop in /usr/ports/textproc/php5-xml. *** Error code 1 Stop in /usr/ports/net/php5-xmlrpc. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. Can anyone help me in sorting this out? Cheers (new to the list by the way :-) ) Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GPT support?
I've got a 7.0-RC1 system and am setting up a 1TB USB drive on it. I'd like to set the drive up with a GUID partition table. I've used the GPT utility to create the GPT label and the partition, but though GPT says that there's now a da0p1 partition, I don't see a /dev node for it. I'd assume that I'd need to load a GEOM module for GPT but I don't see one. It hardly seems possible that GPT support isn't there... What do I have to do? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GPT support?
Never mind. I figured it out. option GEOM_GPT got renamed to GEOM_PART_GPT in 7.0. With a new, corrected kernel, it's working. :) On Jan 12, 2008, at 6:13 PM, Nick Sayer wrote: I've got a 7.0-RC1 system and am setting up a 1TB USB drive on it. I'd like to set the drive up with a GUID partition table. I've used the GPT utility to create the GPT label and the partition, but though GPT says that there's now a da0p1 partition, I don't see a / dev node for it. I'd assume that I'd need to load a GEOM module for GPT but I don't see one. It hardly seems possible that GPT support isn't there... What do I have to do? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Undefined symbol __sbmaskrune
Upgraded to 6.2-stable (and got 6.3-prerelease) today. Needed to upgrade amavisd-new, and that required upgrading p5-Convert-UUlib. (All done from ports.) Unfortunately, when amavisd runs, it produces this error now: /libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/Convert/UUlib/UUlib.so: Undefined symbol __sbmaskrune I'm not sure where this symbol is supposed to be found, but it's referenced in a great many other libraries which don't seem to be having any problems with linking or finding that symbol. Any ideas what could be going wrong? I'm at a loss for even how to begin tracking this down... Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alternative keyboard layouts not working with xorg7.2
- Original Message From: Norberto Meijome [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, May 23, 2007 11:51:50 AM Subject: Re: Alternative keyboard layouts not working with xorg7.2 On Wed, 23 May 2007 02:36:14 +1000 Norberto Meijome [EMAIL PROTECTED] wrote: I've noticed also that Ctrl-Alt-F1 (through to F6) doesn't change back to a non-X terminal anymore... I second that. Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smartmontools on Compaq smart array fails
- Original Message smartmontools isn't the appropriate program you need to use a program called idacontrol get it from ftp.jurai.net/users/winter/idacontrol.tar More on PR i386/70482 Use smartmontools on ATA disks. Your 360 uses SCSI disks on a proprietary controller which doesen't support the interface needed to run it. --- Thank you Ted, idacontrol works fine and returns some usefull information about the attached disk drives. I also found this suggestion interesting: #define IDA_QCB_MAX = 128 instead of 256 in sys/dev/ida/idavar.h because one of my DL360's resets itself about once a month with a very similar error as mentioned in thread http://lists.freebsd.org/pipermail/freebsd-scsi/2005-September/002034.html ida0: soft error ida_command: out of QCBsida0: ida_timeout() qactive 256 ida0: IDA_INTERRUPTS ida0: R_CMD_FIFO: R_DONE_FIFO: R_INT_MASK: R_STATUS: R_INT_PENDING: Nick Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smartmontools on Compaq smart array fails
I installed smartmontools from ports on FreeBSD 6.0 on a Compaq Proliant DL360 with smart array 5i controller. I compiled it with ciss support. When running ‘smartctl -i -d cciss,0 /dev/ida0’ I am getting: smartctl version 5.37 [i386-portbld-freebsd6.0] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ CCISS ioctl error: Inappropriate ioctl for device CCISS ioctl error: Inappropriate ioctl for device Short INQUIRY response, skip product id A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. However, adding -T permissive options doesn't make a difference. Searching the archives and the web didn't bring a solution. I hope someone out there has one. Nick Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup procedure question / theory
On Thu, 01 Mar 2007 11:46:07 + Dave Carrera [EMAIL PROTECTED] wrote: HI All, I need to automatically once a day backup some files on my Win 2003 serve to my remote FreeBSD box running v6. What i need specifically is to compress the win files as small as they can be then either set my FreeBSD box to go a get the file or tell win to send it to my FreeBSD box. The stumbling block here is me, i have absolutely no idea what i need to do on each box to achieve this, having never done it before. Not necessarily what you're after (may be a little excessive for your tastes), but I'd recommend Bacula (www.bacula.org). Failing that, perhaps a script to zip the files on the Win box then copy it to a Samba share on the FreeBSD box? Or mount a Windows share containing the files to be backed up on the FreeBSD box and bzip2 / gzip them to a file on the FreeBSD machine. A little off-topic here, perhaps... So i ask if any kind persons on the list can advise or even help me with this. Many kind regards Dave -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Foo***-lite ?
On Sun, 18 Feb 2007 14:57:30 -0800 Gary Kline [EMAIL PROTECTED] wrote: People, I hope there are some kde or gnome wizards around to give me a few clues about tuning my gnome|kde- lite window managers. So far I have the regular gnome2 and KDE3 desktops going on my test box quite well. kde at least gives users the opportunity to set the level of eye-candy from low to high. I have not seen anything equivalent for gnome. As far as I know, GNOME doesn't really have eye candy the same way KDE does (there are no fading menus, bouncy transparent cursors, etc.). How do I test gnome2-lite and kde-lite? I've found startkde, but no startkdelite. I've found the gnome-session binary, but no gnomelite-session. If I need kde|gnome2- lite.desktop files, please clue me in. Otherwise, how do I instiantiate these lite flavor desktops? I think you've misunderstood what the -lite versions are. From ports/x11/gnome2-lite/pkg-descr: This metaport installs the pieces of the GNOME 2 desktop that are needed to provide a functional desktop. x11/gnome2 contains the full version of the GNOME 2 desktop environment. In other words, it's the same GNOME, but installing the gnome2-lite port doesn't install extras, like games. GNOME is invoked the same way regardless of which port is used. I believe that the kde-lite port is the same. thanks much, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i finally got wireless working
On Sun, 17 Dec 2006 01:07:05 -0600 Jonathan Horne [EMAIL PROTECTED] wrote: On Sunday 17 December 2006 00:40, Bill-Schoolcraft wrote: Good work Jonathan, As usual with fellow FreeBSD users, any information about how you got past your problem is stuff Unix folks like me love to hear. I actually save success stories like yours to help me out with wireless issues. I can only speak for myself but I'd love to hear how ya did it. thanks! i was quite proud of my efforts myself! its a pretty good feeling to complete a project in an area where i have little expertise (especially when (good) internet docs are few and far between). after all the docs i read, and bad advice i followed, bad decisions i made, it all boiled down to a pretty simple recipe: (snip) one big mistake i made, was building world up to 6.2-RC1. there was one good article about installing freebsd on an ibm t42 (found it on google), but it didnt have any info on getting wireless to auto start. after i had wireless manually up and running initially, i then built world, and updated. next boot, firmware and modules would not load. i had tweaked some other things, so i backed those changes off, and worked round and round until i decided to just do a quick reinstall. this time, i didnt use 6.1-RELEASE, but i did 6.2-RC1. same behavior, and this is when i figured out that the only time it really worked like the web page depicted, was when i was on 6.1-RELEASE. so i tried cvsuping to -p11, and things still worked fine. this is the only laptop i have (thus, my only wireless computer), so when 6.2 comes out, ill be pretty nervous about upgrading until i read that everything i kosher with iwi- support. It works fine. Please see the UPDATING entry from the 2006-07-11, i.e.: 20060711: The iwi(4) was updated to use the firmware(9) framework. In order for it to work you need a port change from net/iwi-firmware to net/iwi-firmware-kmod. cheers, jonathan -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i finally got wireless working
On Sun, 17 Dec 2006 09:24:04 -0600 Jonathan Horne [EMAIL PROTECTED] wrote: On Sunday 17 December 2006 03:53, Nick Withers wrote: On Sun, 17 Dec 2006 01:07:05 -0600 Jonathan Horne [EMAIL PROTECTED] wrote: (snip) one big mistake i made, was building world up to 6.2-RC1. there was one good article about installing freebsd on an ibm t42 (found it on google), but it didnt have any info on getting wireless to auto start. after i had wireless manually up and running initially, i then built world, and updated. next boot, firmware and modules would not load. i had tweaked some other things, so i backed those changes off, and worked round and round until i decided to just do a quick reinstall. this time, i didnt use 6.1-RELEASE, but i did 6.2-RC1. same behavior, and this is when i figured out that the only time it really worked like the web page depicted, was when i was on 6.1-RELEASE. so i tried cvsuping to -p11, and things still worked fine. this is the only laptop i have (thus, my only wireless computer), so when 6.2 comes out, ill be pretty nervous about upgrading until i read that everything i kosher with iwi- support. It works fine. Please see the UPDATING entry from the 2006-07-11, i.e.: 20060711: The iwi(4) was updated to use the firmware(9) framework. In order for it to work you need a port change from net/iwi-firmware to net/iwi-firmware-kmod. ah, thanks nick, i didnt remember to check that. i wonder how safe it would be to switch the port out before i make the change to 6.2? maybe ill play with that later today. As I recall, I just built the new port, removed the old, upgraded to 6.2-PRERELEASE and installed the already compiled new port. also, is there a gui app to help manage wireless networks? NetworkManager (http://www.gnome.org/projects/NetworkManager/) is one I'm aware of, but it doesn't appear to be available in the ports collection (perhaps, as seems to happen more often than I'd like with GNOME projects, it's written with only Linux systems in mind?). cheers, jonathan -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does disk encryption causes a performance penalty for Data Access/Read/Write, etc
Does *disk encryption* causes a *performance* penalty for Data Access/Read/Write, etc? I haven't done any testing, but would assume that it would impact it to a certain degree, because there is the additional encryption overhead. --Nick Pavlica ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems opening, viewing, and manipulating PRs
Hello Since around last Friday the 17th, I have been having some difficulty working with FreeBSD problem reports. I'm not sure if this has something to do with the FreeBSD.org systems being moved that day or if it's just a coincidence. Anyway, I have opened two PRs, ports/105652 three days ago and just today ports/105760, that I received no email confirmation upon opening, as I have with PRs in the past. I filed them using send-pr, and the system they were sent from says in its mail logs that the messages were delivered to mx1.freebsd.org successfully. I only found the PR numbers by seeing the reports in the archives for the freebsd- ports-bugs list. I cannot find them using http://www.freebsd.org/cgi/ query-pr.cgi or http://www.freebsd.org/cgi/query-pr-summary.cgi. Additionally, I've sent I think four emails now to bug- [EMAIL PROTECTED] trying to update the audit trail with a patch on another PR I opened, ports/105563. I've tried from a couple of different systems, and my mail logs again indicate that the messages were delivered successfully to mx1.freebsd.org. Earlier on the 17th, before I started having any problems, I was able to add a patch on yet another PR I have, ports/105560, so this problem is also a new one. Has anyone else had similar problems like this? Are there any better, more effective ways for non-committers to open, view, or manipulate PRs than by using send-pr, the web interface on the FreeBSD site, or emails to [EMAIL PROTECTED], respectively? Is there somewhere better to ask these questions than this list? Thanks very much! Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Diablo-Jre / Javavmwraper / Firefox / FreeBSD6.2
Graham, I did some testing with 6.2 RC1, and was able to install the JRE and run some Java applications, however others had various errors. I'm just assuming that they will need to recompile for 6.2 when it's ready. I don't use FBSD on my desktop so I haven't tested the browser plugin etc. --Nick Pavlica ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WordPress, Apache, modules, mod_rewrite - how to verify?
I've been looking on the web for hours but haven't found any help, though of asking on some forums when I suddenly remembered! There's freebsd-questions!! Anyway, I'm a MS SQL Server guy, trying to mess around with FreeBSD at home. I've managed to install 6.1, CVSup, xorg, KDE, Apache 1.3. I haven't touched this box for a while due to my work schedule, now I'm trying to pick up where I left off... I just install ed WordPress from ports, trying to use it to learn PHP and MySQL. (At work, I'm almost 100% SQL Server only! I'm hoping to change to a Linux / Oracle, Data Warehouse type of position but outside of work, I would like to learn some PHP, Perl and MySQL... may be start a little side web biz or something...) So, main question: WordPress requires PHP 4 and MySQL 3 or later, and optional mod_rewrite. How do I verify if these are installed? I used pkg_version -v to check my installed ports' versions, I have these: apache-1.3.37_1 mod_perl-1.29_1 mysql-client-5.1.11 perl-5.8.8 php5-5.1.4 php5-mysql-5.1.4 php5-pcre-5.1.4 php5-xml-5.1.4 wordpress-2.0.4_1,1 I think I still need to install mod_php and mod_rewrite, but I can't see them in /usr/ports/www How do I verify that php, MySql and mod_rewrite are install and function properly in Apache? Thanks! Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WordPress, Apache, modules, mod_rewrite - how to verify?
Thanks! Can anyone help me regarding mod_rewrite? Can't find it in the ports. - Original Message From: Eric [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Monday, October 30, 2006 10:12:28 AM Subject: Re: WordPress, Apache, modules, mod_rewrite - how to verify? Nick wrote: I've been looking on the web for hours but haven't found any help, though of asking on some forums when I suddenly remembered! There's freebsd-questions!! Anyway, I'm a MS SQL Server guy, trying to mess around with FreeBSD at home. I've managed to install 6.1, CVSup, xorg, KDE, Apache 1.3. I haven't touched this box for a while due to my work schedule, now I'm trying to pick up where I left off... I just install ed WordPress from ports, trying to use it to learn PHP and MySQL. (At work, I'm almost 100% SQL Server only! I'm hoping to change to a Linux / Oracle, Data Warehouse type of position but outside of work, I would like to learn some PHP, Perl and MySQL... may be start a little side web biz or something...) So, main question: WordPress requires PHP 4 and MySQL 3 or later, and optional mod_rewrite. How do I verify if these are installed? I used pkg_version -v to check my installed ports' versions, I have these: apache-1.3.37_1 mod_perl-1.29_1 mysql-client-5.1.11 perl-5.8.8 php5-5.1.4 php5-mysql-5.1.4 php5-pcre-5.1.4 php5-xml-5.1.4 wordpress-2.0.4_1,1 I think I still need to install mod_php and mod_rewrite, but I can't see them in /usr/ports/www How do I verify that php, MySql and mod_rewrite are install and function properly in Apache? Thanks! Nick make a file called pinfo.php in your web servers data directory root (/usr/local/www/data by default) put this in it: ?php phpinfo(); ? save it and go to: http://yourURL.com/pinfo.php and read away that will dump all php related info. make sure you install the suhosin patches against PHP and/or use the extension Eric ___ 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: Member of group wheel, but still can't shutdown system?
On Thu, 5 Oct 2006 13:24:14 +0200 [EMAIL PROTECTED] wrote: Hi All, I've just installed FreeBSD 6.1 and listed myself as a member of the wheel group during the add users portion of the installation. For some reason I have not put a finger on yet I cannot shutdown the system do not have permission to effect the command. The shutdown(8) binary (/sbin/shutdown) is not owned by the wheel group (do an ls -l on it), but by the operator group. Went back as root on a later session and re-entered my name in /etc/group to the wheel account to no avail, anybody got an idea as to where I need to look? I personally set the execute bit on /sbin/shutdown for others on my desktop machine, as I want anyone using it (locally, no remote access enabled) to be able to shut it down. To do this: chmod o+x /sbin/shutdown. Might be a good idea to understand the setuid concept beforehand, if you don't already... Thanks, Tommy2 -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make buildworld problem
Hello All, I am trying to update my sources and I get the following error. I have included the results of 'uname -a'. Any help would be greatly appreciated. btw: i have done the following # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir and I just cvsup'ed my sources. Thanks, Nick tools/../../../../contrib/gcc/genconditions.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genmodes.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengenrtl.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genpreds.c genrtl.c insn-modes.c min-insn-modes.c gengtype-yacc+%DIKED.c gengtype-lex.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c gtype-desc.c === gnu/usr.bin/cc/cc_int /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md insn-attrtab.c Killed *** Error code 137 Stop in /usr/src/gnu/usr.bin/cc/cc_int. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. bamboolounge# uname -a FreeBSD bamboolounge.nickbrowning.com 5.3-RELEASE-p31 FreeBSD 5.3-RELEASE-p31 #1: Tue Jul 25 16:53:25 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BAMBOO i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW doesn't resolve host names
On Wed, 20 Sep 2006 11:07:16 +0100 (GMT+01:00) Vittorio [EMAIL PROTECTED] wrote: Dear friends, I have a pentium 4 freebsd 6.1 server connected to my office win-xp lan. The server smoothly runs sshd, postgresql, samba (to connect some /home share and the office win filesystem), vncserver. Recently I added the following IPFW firewall (I'm an absolute beginner with it) which works ** almost correctly **. In fact, I can connect via ssh (putty under winxp), the pg database works, vncserver too, while samba connects to its local windows share but it's unable to connect to the lan filesystem because it is no longer possible to resolve the host names. if I ping a host the answer is invariably ping: cannot resolve matteo: Host name lookup failure even though I defined allow rules for port 53. You have not, however, allowed replies from your DNS server (s)... Could you please help me? ### start of example ipfw rules script # ipfw -q -f flush # Delete all rules # Set defaults oif=fxp0 # out interface # Set defaults gw=10.155.102.6 cmd=ipfw -q add # build rule prefix ks=keep-state# just too lazy to key this each time $cmd 00500 check-state $cmd 00502 deny all from any to any frag $cmd 00501 deny tcp from any to any established $cmd 00503 allow all from any to any via lo0 $cmd 00505 deny all from any to 127.0.0.0/8 $cmd 00508 deny ip from 127.0.0.0/8 to any $cmd 00600 allow tcp from any to me dst-port 22, 80 via $oif setup $ks $cmd 00601 allow tcp from any to me dst-port 81,137,138,139,445 via $oif setup $ks $cmd 00602 allow tcp from any to me dst-port 5432, 5900-5909 via $oif setup $ks $cmd 00604 allow udp from any to me dst-port 81,137,138,139,445 via $oif setup $ks $cmd 00605 allow udp from any to me dst-port 5432, 5900 via $oif setup $ks $cmd 00606 allow tcp from any to $gw 1491 $cmd 00607 allow tcp from $gw 1491 to any $cmd 00610 allow tcp from me to any 53 out via $oif Try replacing this with $cmd 00610 allow tcp from me to any 53 out via $oif $ks. $cmd 00611 allow tcp from any 50 to me in via $oif $cmd 00612 allow udp from me to any 53 out via $oif $cmd 00613 allow udp from any 50 to me in via $oif $cmd 00700 allow icmp from any to any via $oif ### End of example ipfw rules script -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW doesn't resolve host names
On Wed, 20 Sep 2006 20:12:18 +1000 Nick Withers [EMAIL PROTECTED] wrote: On Wed, 20 Sep 2006 11:07:16 +0100 (GMT+01:00) Vittorio [EMAIL PROTECTED] wrote: Dear friends, I have a pentium 4 freebsd 6.1 server connected to my office win-xp lan. The server smoothly runs sshd, postgresql, samba (to connect some /home share and the office win filesystem), vncserver. Recently I added the following IPFW firewall (I'm an absolute beginner with it) which works ** almost correctly **. In fact, I can connect via ssh (putty under winxp), the pg database works, vncserver too, while samba connects to its local windows share but it's unable to connect to the lan filesystem because it is no longer possible to resolve the host names. if I ping a host the answer is invariably ping: cannot resolve matteo: Host name lookup failure even though I defined allow rules for port 53. You have not, however, allowed replies from your DNS server (s)... Could you please help me? ### start of example ipfw rules script # ipfw -q -f flush # Delete all rules # Set defaults oif=fxp0 # out interface # Set defaults gw=10.155.102.6 cmd=ipfw -q add # build rule prefix ks=keep-state# just too lazy to key this each time $cmd 00500 check-state $cmd 00502 deny all from any to any frag $cmd 00501 deny tcp from any to any established You may want to change the ordering of the rules above in the file so that it reads the way it'll be implemented by IPFW (I'm guessing this is an accident, anyway). $cmd 00503 allow all from any to any via lo0 $cmd 00505 deny all from any to 127.0.0.0/8 $cmd 00508 deny ip from 127.0.0.0/8 to any $cmd 00600 allow tcp from any to me dst-port 22, 80 via $oif setup $ks $cmd 00601 allow tcp from any to me dst-port 81,137,138,139,445 via $oif setup $ks $cmd 00602 allow tcp from any to me dst-port 5432, 5900-5909 via $oif setup $ks $cmd 00604 allow udp from any to me dst-port 81,137,138,139,445 via $oif setup $ks $cmd 00605 allow udp from any to me dst-port 5432, 5900 via $oif setup $ks $cmd 00606 allow tcp from any to $gw 1491 $cmd 00607 allow tcp from $gw 1491 to any $cmd 00610 allow tcp from me to any 53 out via $oif Try replacing this with $cmd 00610 allow tcp from me to any 53 out via $oif $ks. $cmd 00611 allow tcp from any 50 to me in via $oif $cmd 00612 allow udp from me to any 53 out via $oif Sorry... and this with $cmd 00612 allow udp from me to any 53 out via $oif $ks. $cmd 00613 allow udp from any 50 to me in via $oif $cmd 00700 allow icmp from any to any via $oif ### End of example ipfw rules script -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
swap_pager: indefinite wait buffer: bufobj (...)
G'day all, Just wondering whether anyone knows any details regarding the swap_pager warnings bug noted on the 6.1-RELEASE Release Engineering to do page (http://www.freebsd.org/releases/6.1R/todo.html). Specifically, a PR number would be excellent (I'm assuming one exists). I believe that this issue has been biting me for a while now (or at least it only began appearing after I enabled a swap file on a lowly machine which had to have bad RAM removed that I'm too cheap / poor to replace) and often results in machine lockups. I'd love to see it addressed (assuming that this is indeed what's biting me, which I'm fairly sure of*) before 6.2-RELEASE (probably a little unlikely, I guess) and would be happy to test patches / etc.. Thanks all! * I _could_ disable the swap file and leave the thing belting away for a while to see if the problem doesn't reoccur, but it'll mean a few processes getting killed here and there due to lack of available memory... -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acpi module build fails
On Sun, 13 Aug 2006 05:53:37 +0200 Dimitar Vasilev [EMAIL PROTECTED] wrote: /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In function ` acpi_sleep_machdep': /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: `a cpi_resume_beep' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: (E ach undeclared identifier is reported only once /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: fo r each function it appears in.) *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 99%ed-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-f ormat-y2k -Wno-uninitialized -c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In function `acpi_sleep_machdep': /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: `acpi_resume_beep' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [EMAIL PROTECTED]:/usr/src/# ^Gexit Branch - 6.1-stable This persists from 1 day - i have cvsuped from different servers around the globe, including cvsup from scratch. The statement on line 285 is if (acpi_resume_beep) timeout(acpi_stop_beep, NULL, 3 * hz); return (ret); } Anyone knows how to fix this ? C is not my strong side. Thanks, G'day Dimitar, Please see my previous post on the subject `acpi_resume_beep' undeclared (first use in this function) (though note that I believe that the problem is in version 1.39.2.2 of /usr/src/sys/i386/acpica/acpi_wakeup.c (as opposed to 1.39.2.1, as I previously incorrectly stated). Note also that this question really belongs on -stable, too :-) I CCed Nate Lawson (the commiter of the update I think caused the problem) on the replay in question, so I imagine this'll be sorted soon. -- Димитър Василев Dimitar Vassilev GnuPG key ID: 0x4B8DB525 Keyserver: pgp.mit.edu Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525 -- Nick Withers email: [EMAIL PROTECTED] WWW: http://nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `acpi_resume_beep' undeclared (first use in this function)
On Sat, 12 Aug 2006 17:00:59 -0700 Charles Mujie [EMAIL PROTECTED] wrote: Hi, I've searched through the archieves and googled around, I don't seem to be able to find reference to this error. I installed FreeBSD 6.1 from CD did a cvsup to update the source and ports tree, and when I tried to build the kernel I got the following error. I'm using GENERIC and SMP as the KERNCONF parameter. It looks like the function 'acpi_resume_beep' is not declared anyway. Can someone help me with this. Thanks. I _believe_ this is an issue in RELENG_6 (i.e., 6-STABLE), so I'm assuming that's what you've tried to build. I ran into the same issue yesterday but haven't hassled anyone about it yet. I believe it's due to the MFC in 1.39.2.1 of /usr/src/sys/i386/acpica/acpi_wakeup.c (see http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/acpica/acpi_wakeup.c;). Nate - Any thoughts? /cm cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica - DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn o-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffree standing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi _wakeup.c /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In function `acpi_sleep_machdep': /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: `acpi_resume_beep' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
More on ICH8
I've gotten a little bit further in trying to get the ICH8 (P965) chipset on my new machine recognized. This page is quite helpful: http://pci-ids.ucw.cz/iii/?i=8086 Using it, I added some code to ata-chipset.c to recognize the ICH8 SATA controllers and ehci_pci.c and uhci_pci.c to recognize the USB controllers. The USB stuff appears to work flawlessly. The ATA stuff has one minor glitch: atapci2: Intel ICH8 SATA300 controller port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f, 0xc800-0xc80f irq 19 at device 31.5 on pci0 atapci2: failed to enable memory mapping! ata7: ATA channel 0 on atapci2 ata8: ATA channel 1 on atapci2 I'm not sure what's up with the failure to memory-map, but since I only have one drive connected (and it's not connected to this particular instance), it's harmless at the moment. I've moved my SATA drive from the JMicro RAID controller to one of the ICH8 ports, and it appears to work. I tried to add the HD audio chip to /sys/sound/pci/ich.c, but unfortunately, all I get is an error that it cannot map its I/O space: pcm0: Intel ICH8 (82801H) mem 0xfebf8000-0xfebfbfff irq 22 at device 27.0 on pci0 pcm0: unable to map IO port space device_attach: pcm0 attach returned 6 The P5B motherboard has a Realtek Ethernet controller. Realtek has a FreeBSD driver for it: http://www.realtek.com.tw/downloads/ downloads1-3.aspx?Keyword=rtl8168 Perhaps their changes could be either rolled into -CURRENT or merged back to RELENG_6? Getting the SMB controller recognized would be next, so I could get mbmon to work. I can't quite figure out which driver (if any) is close enough a match to try adding the PCI ID. Last, but not least, since I have ATA_STATIC_ID turned on, I need to let the kernel know where the disk is every time I move it. The problem is that my AT keyboard doesn't work at the mountroot prompt for some odd reason. A USB keyboard plugged in early enough to be probed does work, however. But for some unknown reason, having a USB keyboard plugged in causes the system to boot in slow motion (this appears to be a BIOS bug - and yes, I did disable legacy USB support. No help). Anybody know what's up with that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ICH8 chipset support?
I just upgraded my machine at home to a Conroy-ready motherboard - An Asus P5B. This particular motherboard has the smallest fraction of recognized devices I think I've ever come across. From what I can tell, the blame can be placed squarely on the Intel ICH8 chipset that supplies almost all of the devices in the system. USB is working, though it is recognized only generically. The ICH8 SATA ports do not seem to work properly (thank goodness for the JMicro RAID controller - which can be used without RAID). The audio subsystem, SMB controller and the Realtek on-board Ethernet aren't recognized at all. There's an nVidia PCI Express graphics card in there too, but I probably won't even run X on this machine, much less 3D stuff. I'll attach the output from pciconf -l and the dmesg.boot. At this point, it is up, sort of. Is there any hope of improving support for this system? [EMAIL PROTECTED]:0:0:class=0x06 card=0x81ea1043 chip=0x29a08086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:1:0: class=0x060400 card=0x0088 chip=0x29a18086 rev=0x02 hdr=0x01 [EMAIL PROTECTED]:26:0:class=0x0c0300 card=0x81ec1043 chip=0x28348086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:26:1:class=0x0c0300 card=0x81ec1043 chip=0x28358086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:26:7:class=0x0c0320 card=0x81ec1043 chip=0x283a8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:27:0:class=0x040300 card=0x81ec1043 chip=0x284b8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:28:0:class=0x060400 card=0x0040 chip=0x283f8086 rev=0x02 hdr=0x01 [EMAIL PROTECTED]:28:3:class=0x060400 card=0x0040 chip=0x28458086 rev=0x02 hdr=0x01 [EMAIL PROTECTED]:28:4:class=0x060400 card=0x0040 chip=0x28478086 rev=0x02 hdr=0x01 [EMAIL PROTECTED]:29:0:class=0x0c0300 card=0x81ec1043 chip=0x28308086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:29:1:class=0x0c0300 card=0x81ec1043 chip=0x28318086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:29:2:class=0x0c0300 card=0x81ec1043 chip=0x28328086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x81ec1043 chip=0x28368086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:30:0:class=0x060401 card=0x0050 chip=0x244e8086 rev=0xf2 hdr=0x01 [EMAIL PROTECTED]:31:0:class=0x060100 card=0x81ec1043 chip=0x28108086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:2: class=0x01018f card=0x81ec1043 chip=0x28208086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x81ec1043 chip=0x283e8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:5: class=0x010185 card=0x81ec1043 chip=0x28258086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:0: class=0x03 card=0xc2233842 chip=0x016110de rev=0xa1 hdr=0x00 [EMAIL PROTECTED]:0:0: class=0x02 card=0x81681043 chip=0x816810ec rev=0x01 hdr=0x00 [EMAIL PROTECTED]:0:0: class=0x010185 card=0x81e41043 chip=0x2363197b rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:0: class=0x02 card=0x10128086 chip=0x10108086 rev=0x01 hdr=0x00 [EMAIL PROTECTED]:0:1: class=0x02 card=0x10128086 chip=0x10108086 rev=0x01 hdr=0x00 [EMAIL PROTECTED]:2:0: class=0x01 card=0xe2a09005 chip=0x00809005 rev=0x02 hdr=0x00Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE-p3 #5: Wed Jul 19 18:54:04 PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/QUACK ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2660.49-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf49 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x651dSSE3,RSVD2,MON,DS_CPL,TM2,CNTX-ID,CX16,b14 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF real memory = 1073348608 (1023 MB) avail memory = 1041428480 (993 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: A M I OEMXSDT on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 ACPI-1304: *** Error: Method execution failed [\\_PR_.CPU1._PDC] (Node 0xc4a6e780), AE_BAD_HEADER pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) uhci0: UHCI (generic) USB controller port 0xdc00-0xdc1f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2
Re: Kernel Source
On Thu, 20 Jul 2006 07:27:43 + (GMT) irlow irlow [EMAIL PROTECTED] wrote: bash-2.05b# cd vmware3/ bash-2.05b# make install make clean === vmware3-3.2.1.2242_13,1 kernel source files required. *** Error code 1 Stop in /usr/ports/emulators/vmware3. bash-2.05b# What should I do? I don't know how to install a kernel source, specially that it's probably the kernel source of the linux base, No, it's the FreeBSD kernel sources... because it runs emulated, just read the package-desc. ...just read /usr/ports/emulators/vmware3/Makefile :-) But I'd like to know where is the kernel source package of the freebsd in ports too... There ain't no FreeBSD kernel source package, or kernel source port (or at least not that I'm aware of, and I wouldn't expect there to be). You will need to install the source files from the appropriate FreeBSD installation media and / or from the 'net. You can, for instance, use cvsup(1) to pull the FreeBSD kernel sources for any particular revision (or indeed date / time) down. Please see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html for more information on using cvsup to update / obtain FreeBSD kernel sources, but do also be aware that you're probably better off installing the sources from the installation media first, then updating them (if you feel this is necessary for your particular version of FreeBSD) to avoid having to download the whole lot. thanks I have probably explained this a little too quickly, so please feel free to ask if you'd like clarification. -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: k3b installation problem - make fails
On Thu, 20 Jul 2006 00:52:16 -0700 Andriy Babiy [EMAIL PROTECTED] wrote: Hi all, I installed all the libraries mentioned on k3b.org, including mandatory and optional (actually, excluding two of the optional libraries - libmusicbrainz and hal). I used the latest versions of all the libraries, and k3b as well. FreeBSD version 6.1. ./configure runs without error messages. But when I run make, it fails with the error message as follows: make all-recursive Making all in doc Making all in libk3bdevice /usr/local/bin/bash ../libtool --silent --mode=link --tag=CXX g++ -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fpermissive-o libk3bdevice.la -rpath /usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -version-info 2:1:0 -no-undefined k3bdevice.lo k3bdevice_mmc.lo k3bscsicommand.lo k3btrack.lo k3btoc.lo k3bdevicemanager.lo k3bmsf.lo k3bdiskinfo.lo k3bdeviceglobals.lo k3bcrc.lo k3bcdtext.lo -lkio -lcam -lm -L/usr/local/lib -L/usr/X11R6/lib libtool: link: cannot find the library `' *** Error code 1 Stop in... The name of the library, which cannot be found, appears empty in the message. Maybe, I should try some configuration options? If someone here faced a similar problem and solved it, Methinks someone did, since it's in the ports collection (at /usr/ports/sysutils/k3b). or just know how to approach the problem, their advice would be highly appreciated. Is there a reason you're compiling it manually? If so, it may be worth your while examining how it's done in ports and applying a similar approach. I can provide all the results shown on the screen during configure and make, if it is useful for targeting the problem. Many thanks to all in advance. Andriy -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: network no longer auto-starts after mergemaster
On Thu, 20 Jul 2006 09:36:42 -0400 Jim Stapleton [EMAIL PROTECTED] wrote: I rebuilt my kernel/world, but now my network no longer auto-starts. I can easily start it with sudo ifconfig fxp0 up, which, while it works, is mildly annoying. Anyone know what file I could have improperly mergemastered to get this result? /etc/rc.d/netif? What were you rebuilding from / to (e.g., 6.1-RELEASE - -CURRENT)? My rc.conf file, I'm not sure what else I should put in (such as my /var/log/messages; everything as of the last boot?): # -- sysinstall generated deltas -- # Fri Jun 16 08:17:49 2006 # Created: Fri Jun 16 08:17:49 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=aragorn.ameritech.net ifconfig_fxp0=DHCP ibcs2_enable=YES moused_enable=YES linux_enable=YES sshd_enable=YES svr4_enable=YES usbd_enable=YES apmd_enable=YES Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ 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 update freebsd 5.4 to 6.1 via no Internet and CD or DVD media
On Thu, 20 Jul 2006 16:52:22 +0800 nectar76 [EMAIL PROTECTED] wrote: Hi, I have a USB WLAN Adapter, and have no idea to work on FreeBSD 5.4, but there is a driver called p54u (http://prism54.org/newdrivers.html)can try, but it is recommend to work on FreeBSD 6. I done: 1. download freebsd 6.1 iso and unzip files, want to update system at local, but failed; Did you try the binary upgrade option (I can't recall exactly what it's called in the sysinstall root menu, if not Binary upgrade)? 2. used TortoiseCVS(CVS software for Windows) to download src/ from Anonymous CVS, copied them to /usr/src on freebsd-5.4, want to 'make buildworld', but failed; 'make' looks not work as usual; I'd hazard a guess that the files have been transferred with carriage return newlines (see http://en.wikipedia.org/wiki/CRLF). I imagine that you could install the sources from a 6.1-RELEASE CD onto your 5.4-RELEASE system... Have you tried this? -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tell me
On Thu, 20 Jul 2006 18:40:58 -0700 (PDT) batsaikhan tsedevsuren [EMAIL PROTECTED] wrote: G'day Batsaikhan! Firstly, let me just say that your email comes across as really rude - but I'm sure this is just a language thing! I'm not telling you off here, just trying to warn you in case you're not aware of it. explain me about RAM, log, hardware,sysctl, PAE,net and mail This is a hell of a request! The freebsd-questions mailing list isn't really here to explain how a computer works (e.g., about RAM, x86's PAE, etc.), nor how the Internet or email services work. It's about helping with FreeBSD-specific queries. I would therefore recommend using your favourite search engine to gain more information on these topics. As for sysctl, please see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-sysctl.html I do apologise if you have trouble understanding what I'm trying to say here. If this is the case, feel free to email me off-list. -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ 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 change NIC IP when system is running FBSD 6.1
On Tue, 18 Jul 2006 09:13:05 - (GMT) DSA - JCR [EMAIL PROTECTED] wrote: Hi all I need to change the IP and netmask of my FreeBSD 6.1 Box and I dont' know how to do once the system is up and running. ifconfig(8). For instance, to set the IP address 10.1.2.3 with a netmask of 255.255.255.0 on interface rl0, you might use (there are other ways of doing it): ifconfig rl0 inet 10.1.2.3 netmask 0xff00 Now, I'm not entirely sure what you mean by up and running, but if you mean post-install, you can use the same specification style in /etc/rc.conf, for instance: ifconfig_rl0=inet 10.1.2.3 netmask 0xff00 I have tried doing with KDE but I have several errors when I restart the computer. 'Fraid I can't offer any assistance here, but I suspect others might be able to, if you provide a little more information. I have Samba installed also. Not sure what you're trying to say here... Are you worried about changing the binding address(es) of a Samba server? Can anyone help me? Thanks in advance and best regards Juan Coruña Desarrollo de Software Atlantico -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Are hardware vendors starting to bail on FreeBSD ... ?
On Thu, 13 Jul 2006 08:22:03 -0700 (PDT) Danial Thom [EMAIL PROTECTED] wrote: --- Head in the sand Jerry mumbled: Just thought I should metion that this comes across as rude to me... but maybe that's just me! --- Francisco Reyes [EMAIL PROTECTED] wrote: Marc G. Fournier writes: the problem is that none of the Tier 1 hardware manufacturer's support FreeBSD, and a growing number of places (ie. Adaptec / Intel) appear to be dropping support for it as well ... But companies like 3Ware and Areca are supporting it and from what I see on the lists, people are voting with their money in their favor. Mainly because they had drivers that required little modification from previous versions. Intel has a few other things on their plate, releasing more processors to bail out Freebsd's paltry performance, so give them a break. How long are vendors supposed to wait for the FreeBSD developers to deliver the performance they've claimed that they can deliver? I know several network appliance vendors all stuck on FreeBSD 4, because 5 and 6 are a step backwards performance-wise. Now they're saying 7 will be the one. FreeBSD is the OS that cried WOLF, and the vendors are starting to ignore the calls. The infrastructure is so poor (in terms of process switching times and scheduler efficiencies), and they seem clueless on how to fix it. Must be a troll. FreeBSD performance is not what holds it back. It competes well with others out there. jerry No it doesn't, Jerry. Even Robert Watson, who spends most of his time on performance issues, readily admits that - FreeBSD 6 is faster with 1 processor than 2 - FreeBSD 6 is slower with 1 processor than Freebsd 4.x Would you mind providing a source for that information? I would not be at all surprised to hear that a FreeBSD 6.x dual-CPU set-up provides less than twice the performance as that of a single CPU FreeBSD 6.x set-up, but I will happily eat my own (mighty tasty) hat if a dual CPU FreeBSD 6.x set-up performs worse than a single FreeBSD 6.x set-up. That having been said, I tend to treat Robert Watson's word as gospel, but I'd like to see it in a form I can trust (honestly, no offense intended!) first (i.e., please provide a source for your information :-)). The process switch times are 2-4x slower than on linux. Thats not 2-4%, thats 200-400% slower. Could you provide me with a source here (Not trying to be rude, but I'd be really interested in reading about this)? Simply enabling SMP on a single processor system adds 20-25% overhead in freebsd 6.1. Whilst I have trouble accepting these particular figures, I don't doubt that there is *some* overhead in dealing with multiple CPUs, from a kernel perspective. Again, readily admitted/accepted by the developers. There is no way to recover that in efficiency, at least not for a long time. What's really frightening is that Dragonfly is going to shed the giant lock before Freebsd, and there's only one guy working on it. Please see http://www.dragonflybsd.org/about/team.cgi;. My maths ain't great (alright, it's terrible!) but I count more than one committer. I'm probably just misunderstanding what you're trying to say here... Its prima facie evidence that IQ isn't cumulative. DT Sorry if this appears stand-off-ish - I don't mean it do be! I do have a bias in favour of what I see as the best OS ever, though (better that MacOS 7.5.3, even! :-)) -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ 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-RELEASE-i386 man broken?
On Thu, 13 Jul 2006 08:42:53 -0700 David Christensen [EMAIL PROTECTED] wrote: Matthew Seaman wrote: What are the contents of /etc/manpath.config ? $ cat /etc/manpath.config | egrep -v '^#' MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH/usr/local/man OPTIONAL_MANPATH/usr/X11R6/man MANPATH_MAP /bin/usr/share/man MANPATH_MAP /usr/bin/usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.8.8/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.8.8/perl/man Unfortunately (or at least as I understand it), the contents of /etc/manpath.config don't matter if you have the MANPATH environment variable set. Did you happen to set this yourself (i.e., explicitly)? If not, would you be able to post the output of the pkg_info command, just so those that have a much better understanding of the environment than me might be able to narrow down which installation (if any) might be harrassed for the dramas you're undergoing? You can see the ultimate result by running the 'manpath' command. 2006-07-13 08:38:20 [EMAIL PROTECTED] ~ $ manpath (Warning: MANPATH environment variable set) Just thought I should draw attention to the warning above... :/home/dpchrist/local/man See the manpath(1) man page for more information. 2006-07-13 08:38:58 [EMAIL PROTECTED] ~ $ man manpath No manual entry for manpath Hahaha... I absolutely *love* these kinds of problems... You can't find the man page because of a problem locating man pages! :-) Any other ideas? David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Are hardware vendors starting to bail on FreeBSD ... ?
On Thu, 13 Jul 2006 09:47:23 -0700 (PDT) Danial Thom [EMAIL PROTECTED] wrote: --- Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: On Jul 13, 2006, at 9:22 AM, Danial Thom wrote: Simply enabling SMP on a single processor system adds 20-25% overhead in freebsd 6.1. Again, readily admitted/accepted by the developers. There is no way to recover that in efficiency, at least not for a long time. So don't enable SMP on a single cpu system. Easy enough to avoid. Chad Don't use SMP, because the overhead stays with 2 processors, with little additional benefit (as other tests show). Could you please provide evidence of your assertion (or, at the very least, a link)? As I said before, I don't doubt that there's overhead in running an SMP FreeBSD system, but I strongly believe that this overhead is overcome by the advantages of running such a set-up on a multi-processor machine. That having been said, if you have evidence to the contrary I imagine there'd be many that would like to hear about it. Easy enough to avoid. Are you people stupid or delusional? Careful, mate. I tend to believe that it's wise, at least from a PR point of view, to assume you're in the wrong until proven otherwise. If you can prove otherwise, please do so. In the mean time, I suggest you adopt a more friendly tone: The people on this list are here to help you, but asserting that they're either stupid or delusional ain't gonna get you any help in a hurry. DT -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sanity-check for my (working) ipfw rules please...
On Mon, 10 Jul 2006 18:38:51 -0400 (EDT) Ensel Sharon [EMAIL PROTECTED] wrote: My individual hosts have a set of firewall rules on each of them that looks like this: /sbin/ipfw add 00010 allow ip from any to any via lo0 /sbin/ipfw add 00020 deny ip from any to 127.0.0.0/8 /sbin/ipfw add 00100 count ip from any to any via em0 in /sbin/ipfw add 00100 count ip from any to any via em0 out Note the double-up of rule numbers here... Don't know if you care, but thought I'd point it out. /sbin/ipfw add 01000 allow tcp from any to any established /sbin/ipfw add 01010 deny tcp from any to any tcpflags syn tcpoptions !mss /sbin/ipfw add 01011 deny icmp from any to any icmptypes 4,5,9,10,12,13,14,15,16,17,18 /sbin/ipfw add 01012 deny tcp from any to any tcpflags syn,fin /sbin/ipfw add 01013 deny tcp from any to any tcpflags fin,psh,rst,urg /sbin/ipfw add 02001 allow udp from 10.10.10.10 to any 53 /sbin/ipfw add 02002 allow udp from any 53 to 10.10.10.10 /sbin/ipfw add 02003 allow tcp from any to 10.10.10.10 21,22,80,443 setup /sbin/ipfw add 02009 deny ip from any to 10.10.10.10 Easy. Some standard loopback lines, count traffic on the interface, allow established, block out obvious offedners (xmas tree, syn/fin, etc.) and then open up the ports I need and block everything else. Easy. It works great. Two questions: is it appropriate to have line 01000 above all of my bad-behavior lines ? That is, by allowing all established, is it possible that some of those bad tcp packetrs could be let in before they hit my bad-behavior block of ipfw rules ? Or are all of those bad behaviors inconsistent with being an established tcp session ? As Chuck Swiger pointed out in an earlier reply, you're probably better off moving the rule down below your naughty packet checking. Second, are there any other bad-behavior blocks I should put into my list? How about: deny tcp from any to any tcpflags fin,urg,psh deny tcp from any to any tcpflags syn,fin,rst,ack deny tcp from any to any tcpflags '!syn,!fin,!ack' (rorted from a posting at http://support.daemonnews.org/viewtopic.php?p=846, I have to admit that I havent myself actually checked that these are correct and therefore don't use them myself) and deny all from 10.0.0.0/8 to any in via public interface deny all from 203.219.206.72/30 to any in via internal interface deny all from any to 0.0.0.0/8 via public interface deny all from any to 169.254.0.0/16 via public interface deny all from any to 192.0.2.0/24 via public interface deny all from any to 198.18.0.0/15 via public interface deny all from any to 224.0.0.0/4 via public interface deny all from any to 240.0.0.0/4 via public interface deny all from any to 172.16.0.0 via public interface deny all from any to 192.168.0.0/16 via public interface deny all from 0.0.0.0/8 to any via public interface deny all from 169.254.0.0/16 to any via public interface deny all from 192.0.2.0/24 to any via public interface deny all from 198.18.0.0/15 to any via public interface deny all from 224.0.0.0/4 to any via public interface deny all from 240.0.0.0/4 to any via public interface deny all from 172.16.0.0 to any via public interface deny all from 192.168.0.0/16 to any via public interface Thanks! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sanity-check for my (working) ipfw rules please...
On Tue, 11 Jul 2006 13:16:21 +1000 Nick Withers [EMAIL PROTECTED] wrote: On Mon, 10 Jul 2006 18:38:51 -0400 (EDT) Ensel Sharon [EMAIL PROTECTED] wrote: My individual hosts have a set of firewall rules on each of them that looks like this: (snip) Second, are there any other bad-behavior blocks I should put into my list? How about: deny tcp from any to any tcpflags fin,urg,psh deny tcp from any to any tcpflags syn,fin,rst,ack deny tcp from any to any tcpflags '!syn,!fin,!ack' (rorted from a posting at http://support.daemonnews.org/viewtopic.php?p=846, I have to admit that I havent myself actually checked that these are correct and therefore don't use them myself) and deny all from 10.0.0.0/8 to any in via public interface deny all from 203.219.206.72/30 to any in via internal interface Sorry - 203.219.206.72/30 is the network address for my public interface. deny all from any to 0.0.0.0/8 via public interface deny all from any to 169.254.0.0/16 via public interface deny all from any to 192.0.2.0/24 via public interface deny all from any to 198.18.0.0/15 via public interface deny all from any to 224.0.0.0/4 via public interface deny all from any to 240.0.0.0/4 via public interface deny all from any to 172.16.0.0 via public interface deny all from any to 192.168.0.0/16 via public interface deny all from 0.0.0.0/8 to any via public interface deny all from 169.254.0.0/16 to any via public interface deny all from 192.0.2.0/24 to any via public interface deny all from 198.18.0.0/15 to any via public interface deny all from 224.0.0.0/4 to any via public interface deny all from 240.0.0.0/4 to any via public interface deny all from 172.16.0.0 to any via public interface deny all from 192.168.0.0/16 to any via public interface ...and these actually probably aren't all that appropriate for your situation (i.e., internal client rules, rather than Internet - LAN router) Thanks! Hope this is at least vaguely useful, and sorry for any misleading / inappropriate information! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rejected mail in periodic runs.
On Fri, 30 Jun 2006 04:39:29 -0400 Grant Peel [EMAIL PROTECTED] wrote: Hi All, I am running Exim as my MTA on several FreeBSD servers. I have several setups that insist on sending me the full rejectlog (rejected mail maillog) in my daily periodic runs. I have tried setting daily_status_mail_rejects_enable=NO in /etc/periodic.conf, but it still sends the full output. Try doing the same in /usr/local/etc/periodic.conf, perhaps (seeing as how Exim will be installed as a port / package rather than as part of the base system, like Sendmail is)? Does anyone have an idea how to disable this? -Grant -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I dont know the frequency rates of my screen
On Fri, 30 Jun 2006 22:16:04 -0500 (CDT) Saul Mena Avila [EMAIL PROTECTED] wrote: I want to configure X11 but I don't know the frequencies of my monitor (a laptop). The doc. of the laptop doesn't says anything about the specifications of the screen. Is there any utility I could use to figure it out? How are you trying to configure X? I almost always do it through Xorg -configure (note the uppercase 'X'), which'll generate an X config file at /etc/X11/xorg.conf.new for you to try - you may find this works for you, and it's nice and simple! Thanks. -saul __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.com.mx/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New install, rebuilding world
On Tue, 27 Jun 2006 07:31:20 -0700 (PDT) AB [EMAIL PROTECTED] wrote: I'm new to FreeBSD, Welcome! but I've been reading alot in the Handbook about building custom kernels and rebuilding world, and still can't seem to find what I'm looking for. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html; should sort you out, but please feel free to ask if you'd like a trimmed-down, dot-point, step-by-step guide, just to get that first one under the belt! I want to be able to recompile my whole system so that it's optimized for my hardware, but I'd rather not track -Stable and have to rebuild a whole slew of stuff every few days. Fair enough, though do keep in mind that ports aren't covered by a buildworld et al. procedure. As Reko suggested, you'll want to track the RELENG_6_1 CVS branch at this point, to keep up-to-date with 6.1-RELEASE and its security updates. Can someone give me some advice (or point me to some documentation) on recompiling the -Release6.1 and then doing light maintenance (bug fixes, security updates) afterwards? See the URL given above. Security updates can often be applied in a variety of ways (for instance, an issue in tcsh(1) might mean you can get away with simply rebuilding and reinstalling tcsh(1), rather than world), but for now, until at least you're pretty comfortable with rebuilding world, it's probably best to simply rebuild world and the kernel each time a security update for 6.1-RELEASE comes out. Rebuilding world can seem pretty scary at first, but you'll soon be able to do it almost without thinking about it! Thanks, Adam -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opinions Wanted: Dell PowerEdge Servers ... ?
On Sat, 24 Jun 2006 22:03:42 -0300 (ADT) Marc G. Fournier [EMAIL PROTECTED] wrote: I'm currently weighing options ... my last two servers were HP Proliant, and I *really* like them, but I might have a line on a supplier in Panama that deals in Dell Servers and not HP ... Looking at Dell's web site, the PowerEdge has an optional Remote Access Controller that will it *sounds* like will give me similar functionality as HPs iLO ... From my experience (this is going back a little way now) with Dell PowerEdge 2650s with a Dell ERA II controller, the controller was nowhere near as good as the iLO on a HP ProLiant DL360 G3. The Dell cards were only able to transmit text to a remote controller, which given that at the time I was working with Windows Server 2003 was a real pain! The controllers also came to us with identical MAC addresses (across thousands of machines), which was a blast... All this having been said, however, the newer Dell controllers are undoubtably leaps and bounds above the ERA II. But, I've heard bad things about their 'desktop offerings', and am not sure if that follows through to their Servers ... Funny, I've always heard (relatively) good things about their desktops / laptops :-) So, I'm kinda looking for both good, and bad, experiences with the PowerEdge stuff ... anyone with opinions? I found I had really terrible support from Dell. This may just be a Dell Australia issue, or perhaps the technicians allocated to my employer weren't all that capable, or some such. I found countless problems with (for instance) the OpenManage software with things like not showing missing HDDs under certain circumstances (I seem to recall my main concern at the time was that a missing hot-spare for a RAID 5 array would go totally unnoticed / unreported in OpenManage despite being indicated on the machine's front information display). Having to scrub RAID volumes created with the Adaptec onboard RAID controller (a PERC 5/Di (Dell's designation), from memory) was a pain, too, and very lengthy (it would take around 20 hours for a 4 x 80 decimal GB disk RAID 5 set). My experience with HP servers suggests that this process isn't required for the cards they use, but I'll happily confess to being really ignorant of this whole process. I tend to think of Dell as a low-end provider that will cobble together systems based on whatever bits happen to be lying around (don't think that one PE 2650 is the same as the next!), which in turn are invariably the cheapest bits available for a particular job. I've made this sound bad - somewhat intentionally - but there's certainly a market for cheap over quality. I would be far less averse to chucking in Dell kit at home - particularly if it cost significantly less than other options - than I would be to chucking it in a big, geographically diverse organisation with much more expensive uptime requirements. Hope this had been useful, sorry to go on for so long! Thx ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opinions Wanted: Dell PowerEdge Servers ... ?
On Sun, 25 Jun 2006 01:34:45 -0300 (ADT) Marc G. Fournier [EMAIL PROTECTED] wrote: On Sun, 25 Jun 2006, Nick Withers wrote: I tend to think of Dell as a low-end provider that will cobble together systems based on whatever bits happen to be lying around (don't think that one PE 2650 is the same as the next!), which in turn are invariably the cheapest bits available for a particular job. 'k, this is exactly the thing that I'd heard about the Desktops ... and was curious about concerning their server offering ... you mention further up in your response that this was 'a little while back' ... how long ago, Around 2004 was when I got my hands the dirtiest with the things. This was towards the end of the Dell PowerEdge 2650 run (I think 2850s are still current...?). and can anyone here comment on whether or not this is still the case with Dell? I think Dell's low-cost at all costs policy is pretty well the foundation for the business... Pricing things out through the web sites, Dell is definitely the 'cheaper brand', at least in comparison to HP ... so will I end up getting what I paid for with the cheaper Dell, and regretting it, or ... ? :( Always a risk, isn't it? To be honest, I'd probably consider the PowerEdge 2650 fine for my use at home, but I wouldn't be using the remote access controller at all and would almost certainly be using FreeBSD, for which there isn't a version of OpenManage, to my knowledge. As for your usage scenario I can't say, but if it's going to be at a colocation facility and you're going to be accessing it through whatever they're calling their ERAs at the moment... I'd think twice. But heck, I haven't checked up on what the price difference might be between a Dell and an equivalent from a competitor, and I'm not at all up-to-date on current Dell offerings. Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting NTP (ntpd, ntpdate) to work
On Sat, 17 Jun 2006 21:30:55 -0400 (EDT) Charles Bacon [EMAIL PROTECTED] wrote: Since FreeBSD 4.5-Release, I have been unable to get NTP working on my two FreeBSD computers, one running 5.3Release and the other on 6.1Release. I have done nothing with the GENERIC kernel on either machine. I talk SSH between them, and have been running ntpd on both, each naming the other as well as two external servers. My network is a typical home net, using 192.168.1/28, You mean /24 (i.e.: 255.255.255.0, Class C), yeah? served by a DSL router which does NAT for my external traffic. Internal comms. is through switches, plus one hub. Each computer (plus some others running Windows) has easy access out, and is invisible from the Internet exceptt for responses. Here's my ntp.conf, identical on my two computers: server ntp.cape.com server ntp.ourconcord.net driftfile /var/db/ntp.drift logfile /var/log/ntplog pidfile /var/run/ntpd.pid logconfig =all peer 192.168.1.3 peer 192.168.1.2(much comments removed) With mediocre diagnostic skill, I have finally discovered tcpdump. It told me after much experiment, that the relevant port (NTP, 123) was unreachable. This sounds significant, but I can't find a list of the reachability of ports. Try netstat(1). netstat -anp udp might be of help in particular, here. I've looked at ng*, mac_* and pf* and finally bpf*, and only the last seems to exist in /dev. I had expected that GENERIC would impose only slight filtering somehow, and certainly not shut off NTP! I guess I need help. If you've loaded a firewall such as IPFW in /etc/rc.conf a kernel module will be loaded for it, if it's not compiled statically into hte kernel already (which it isn't on GENERIC for either 5.3-RELEASE or 6.1-RELEASE). kldstat will list loaded modules (and the IPFW module is ipfw.ko). Thanks for any help you can give, and I accept any opprobrium for trying to be a sysadmin, even for my home boxen. Chuck Bacon -- [EMAIL PROTECTED] ABHOR SECRECY -- DEFEND PRIVACY -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installation problem.
On Sat, 17 Jun 2006 01:15:38 -0700 Sadashiv Kulthe [EMAIL PROTECTED] wrote: Hello, this is problem related to Windows while trying to install new OS. I know this is BSD forum, but if anyone can help. I'll appreciate. I want to install Linux on my laptop and I am facing following problem while installing. Aftet refering to other side and by experince of others experince I have downloaded Linux to install. Which Linux distribution have you downloaded? Have you checked whether that distribution has a FAQ / mailing list / other support resource you could consult? As this is (I imagine) a pretty common concern for most distributors, I would expect there to be some form of readily accessible documentation for this kind of thing... Should I assume the distribution boot CD doesn't contain GNU parted, or similar? I don't mean to fob you off, as such, but this is pretty much totally off-topic for this list (which you've been good to acknowledge yourself). This isn't to say that others on this list won't be able to supply you with assistance, but if there are more appropriate avenues available to your specific situation, those should be explored. Advocacy Have you considered trying FreeBSD? :-) /Advocacy I have Dell Inspiron E1505/6400 laptop. Problems are - 1. How can I new partition / Resize partition/ or create free spance. It have single C: Partition by Dell. 70 GB HD space is available to use. It uses one hidden partition so I can create new partition using Partition magic. I downloaded Evaluation verstion of Partition magic which allow me to create partition but not resize parition. 2. I downloaded linux on HDD from net and trying to Create bootable DVD from that. I create it using Nero and CD burnerXP Pro 3. When I try o boot using that It goes to some weired prompt. It boot with some software called caldera 7.03 which is command prompt only. It has few command but too diff to understand. I donno what is this? It goes to command prompt [DR-DOS] A:\ See http://en.wikipedia.org/wiki/DR-DOS;. I will apprecite if anyone can help me with above problems. Thanks and Rega ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Sorry if I haven't been particularly helpful, but hopefully I've offered you some potentially more appropriate support options to look at. Do consider FreeBSD as a desktop OS, too. I converted some years back now and haven't looked back. -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Question in occasion of SCSI devices (the tape store)
Çäðàâñòâóéòå, Alex. Âû ïèñàëè 8 èþíÿ 2006 ã., 17:18:59: Nick wrote: The tape is new and empty and I don't know what way is more likely for me may be You can give me Your advice what way I should choose for copy my information daily? (You should copy freebsd-questions@FreeBSD.org on your replies). It depends. If you are just writing some small subset of files from a filesystem (e.g. your home directory) then tar would do. If you want to back up your machine, and the tape drive is big enough, then use dump. Both have good manual pages. Confusingly, FreeBSD has two versions of tar and which one is the default tar has changed recently. For simple stuff, they will be compatible with each other. bsdtar : bsd derived version of tar which in theory will know about filesystem flags, but if you don't use them then it won't matter. Also seems to mess up if the archive you write is compressed but happens to be empty (might be fixed by now). gtar or gnu tar : GNU GPL version of tar. This is the tar you get on Linux, for example. Won't know anything about specific FreeBSD filesystem things like flags. Other options include cpio (a bit like tar) or specialist backup software like bacula which you'll find in the ports. I can't comment either since I've never used them. You're still very vague about what you want to do; with more specific information better advice might be possible. E.g. I want to backup up my home directory and email files every day; or I have four 80Gb disks which I need to back up to a 40Gb compressing tape drive, what should I use?. --Alex thanks for help Alex I found the best way for me to write info to the tape. Can You answered on the last question How can I see free size on the tape or size what I filled? -- Ñ óâàæåíèåì, Nick mailto:[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: FreeBSD Wireless Access Points with Atheros Cards
On Wed, 7 Jun 2006 11:42:30 -0400 Mark Moellering [EMAIL PROTECTED] wrote: Nick, I tried this maybe a month back. I added an ath card to a firewall (becoming the third NIC) and set it up following the directions. While I could connect to the access point/firewall, I could not get to anything beyond it. After some reading, I decdied to buy a standalone access point and replace the wireless ath card with a wired card to use to connect to the access point. The standalone access point (Netgear) wasn't that much more than the card and from everything I have read is the better way to go. I decided to go with a FreeBSD-based access point for a number of reasons, including (in no particular order): - Security: I trust FreeBSD in the security arena more that I do NetGear / D-Link / etc. - Security: I insisted on implementing a full-blown 802.11i / 802.1x / RADIUS configuration and as such was going to require an 802.1x / RADIUS server anyway (I'm not aware of these features being available on any cheap-ish stand-alone access point, but then I'm not aware of a lot of things!) - Configurability: Though I have no experience with stand-alone access points, my past experience with things like DSL routers tells me that I'll be able to a lot more, and see a lot more of what's going on, with a FreeBSD-based solution. This includes things like firewalling the segment at the router with both ingress and egress rules, implementing QoS, etc. - Consolidation: The customer wanted a server for things like web proxying with anti-virus filtering, file serving and routing anyway, so I figured I'd bundle it all into one. I did consider the fact that this means that if the server goes down, their LAN's down too, but this would be similar if the server were doing the network's 802.1x work, and they also don't plan on using the LAN extensively - it's more for internet access and the like - Cost: Though we did look at several access points which supported connecting to a backend 802.1x server, these appeared to cost at least twice as much as an appropriate wireless card. I should point out that my wireless knowledge is somewhat limited and am definitely keen on hearing any comments anyone may have. If you are able to sned data through the access point, I would love to hear about it... Certainly am. The setup's fully functional and routing traffic from the LAN to the 'net and vice-versa. Happy to provide more detailed information on the installation, if you like, though perhaps off-list would be best (unless others are interested, of course). Sincerely Mark On Wednesday 07 June 2006 8:11 am, Nick Withers wrote: G'day all, I was recently asked to set up a wireless access point by a mate. Having read section 27.3.3.2 - Building a FreeBSD Access Point (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireles s.html) from the FreeBSD Handbook I duly advised my friend that they'd need to procure one of the Prism cards listed in the wi(4) man page, as, according to the Handbook, In order to set up a wireless access point with FreeBSD, you need to have a compatible wireless card. Currently, only cards with the Prism chipset are supported. When he got back to me the next day and said he couldn't find one in any major store and that he'd been told they were no longer available first-hand (whether all this is true or not, I'm not entirely sure - but it's not really all that relevant for the purposes of this question) I was a little surprised. After much more stuffing about, the ath(4) man page caught my eye and I found the magic sentence: Supported features include 802.11 and 802.3 frames, power management, BSS, IBSS, and host-based access point operation modes. I've subsequently set the thing up and it's now chugging away merrily in hostap mode with hostapd helping out with 802.11i shennanigans. It appears to be fully operational. My question, then, is this: Is the access point I've set up not actually functioning as an access point in the strictest sense of the term? Is the Handbook in need of a little attention in this area? I'll happily create a patch for the doc and submit a PR to have it updated, but just wanted to check before doing so that I'm not just being an idiot (I'm particularly good at that!). Thanks all! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe
mount_smbfs LIBSMBCRYPTO [was Re: Kernel module path]
On Wed, 7 Jun 2006 12:28:46 -0500 Nikolas Britton [EMAIL PROTECTED] wrote: (snip) Do you know if they ever fix crypto bug in mount_smbfs in FreeBSD 6.1? Yeah, they did... Assuming you're thinking of the same thing I am, whereby attempting to authenticate to a server for SMB access resulted in being told that cryptography wasn't availabl e (or some such). I think it had something to do with a LIBSMBCRYPTO setting, or similar, but can't recall. -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Wireless Access Points with Atheros Cards
On Wed, 7 Jun 2006 16:05:08 -0400 John Nielsen [EMAIL PROTECTED] wrote: On Wednesday 07 June 2006 11:42, Mark Moellering wrote: On Wednesday 07 June 2006 8:11 am, Nick Withers wrote: (snip) My question, then, is this: Is the access point I've set up not actually functioning as an access point in the strictest sense of the term? Is the Handbook in need of a little attention in this area? I'll happily create a patch for the doc and submit a PR to have it updated, but just wanted to check before doing so that I'm not just being an idiot (I'm particularly good at that!). I tried this maybe a month back. I added an ath card to a firewall (becoming the third NIC) and set it up following the directions. While I could connect to the access point/firewall, I could not get to anything beyond it. After some reading, I decdied to buy a standalone access point and replace the wireless ath card with a wired card to use to connect to the access point. The standalone access point (Netgear) wasn't that much more than the card and from everything I have read is the better way to go. If you are able to sned data through the access point, I would love to hear about it... Yes, ath(4) is actually the preferred driver for creating FreeBSD-based wireless access points, and the handbook probably does need to be updated. No one has been doing any work on the wi driver in quite some time, whereas Sam Leffler has been doing a LOT of work to keep ath up-to-date and highly functional. Righto, cheers for that. I've started drafting an update that I'll try to get in soon (depending on how much exam procrastination I can pack in!). I run a FreeBSD 6-STABLE machine as an access point at home and it works fine. I couldn't get it to work with if_bridge, so I just set up wireless to be its own subnet with the FreeBSD machine doing NAT and routing between the three interfaces (external, internal wired, and internal wireless). Sounds fairly similar to what I did. These guys didn't want an internal wired network though... JN -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question in occasion of SCSI devices (the tape store)
Help please with connection sa0 devices. I try to make the following: mount/dev/sa0/mnt/type The system gives out: Block device required I can not understand that occurs. It is simple I the first time on FreeBSD work with tape stores -- Nick mailto:[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: natd not starting on boot-up
On Wed, 07 Jun 2006 18:01:43 +0700 Roger Merritt [EMAIL PROTECTED] wrote: At 02:12 AM 6/7/2006 -0700, you wrote: On 6/7/06, Nick Withers [EMAIL PROTECTED] wrote: On Wed, 07 Jun 2006 15:23:18 +0700 Roger Merritt [EMAIL PROTECTED] wrote: At 04:35 PM 6/7/2006 +1000, you wrote: On Wed, 07 Jun 2006 12:13:29 +0700 Roger Merritt [EMAIL PROTECTED] wrote: I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD system to a new hard drive. Through laziness I didn't follow the instructions and had to make a completely new install. Everything now seems to be working the way it should, Apache, MySQL, PHP, syslog, Samba -- except natd. Everything starts on boot-up as it should -- except natd. I can start it manually from the command line after booting up and logging in and it works fine, but I can't tell what's going on that it's failing to start. My /etc/rc.conf contains the following: # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=203.151.134.1 gateway_enable=YES hostname=poppy.international.stjohn.ac.th ifconfig_ed0=inet 10.3.16.125 netmask 255.255.255.0 ifconfig_ed1=inet 203.151.134.104 netmask 255.255.255.0 router_enable=YES firewall_enable=YES firewall_type=OPEN firewall_quiet=YES natd_enable=YES natd_interface=ed1 ipv6_enable=YES linux_enable=YES moused_enable=YES moused_port=/dev/sysmouse moused_type=auto screen=daemon nfs_client_enable=YES sshd_enable=YES That looks alright to me... What can I do to get some indication of where the problem is? Are there any error messages relating to IPFW / natd on boot? No, or at least none I could see. That's why I've asked for help. What version of FreeBSD are you running? 6.1-STABLE Perhaps there's something wrong in the branch at present...? Doubtful, I guess. What's the command you're running that _does_ launch natd successfully? /sbin/natd -n ed1. I hadn't thought about /etc/rc.d/natd start until someone suggested it, but that works too and reads the interface from /etc/rc.conf. What's the output of ls -l /etc/rc.d/natd? [poppy] ~# ls -l /etc/rc.d/natd -r-xr-xr-x 1 root wheel 978 May 31 09:52 /etc/rc.d/natd Hmmm... Well that all seems OK, then. The only other thing I can think of is that the 'router_enable'=YES' line's creating dramas. As I understand it, this'll cause /etc/rc.d/routed to attempt to launch the routing daemon specified by a 'router=...' line, which you don't appear to have. I don't think this'd interfere with natd anyway, but I don't really understand what the hell's going on in /etc/rc.d/routed. Sorry I can't be more helpful! -- I don't run route(daemon) so I don't know about router_enable, but here is what I have in my rc.conf to get natd working: #router stuff natd_program=/sbin/natd natd_enable=YES natd_interface=rl0 natd_flags=-dynamic -f /etc/natd.conf gateway_enable=YES So I use gateway_enable not router_enable. I don't know if this applies to your problem completely, but might be worth a shot. Well, I tried commenting it out and restarting. Everything seems to work without it, but natd still didn't start. I can't remember exactly why I decided it should be in there (I also have 'gateway_enable=YES'), but it must have been something I read when I first started using FreeBSD back eight or ten years ago. Well, I'll leave it commented out for a while and see if other problems show up. I've been doing a little hunting around to figure out how /etc/rc.d/natd's called in the first place and it seems this is done by the /etc/rc.d/ipfw script, which in turn is run when firewall_enable is set in /etc/rc.conf. /etc/rc.d/natd's not run directly by /etc/rc due to its having the nostart KEYWORD. Is IPFW definitely launched correctly on the system? Otherwise, perhaps it's worthwhile chucking a debug echo or two about the place (for instance, in /etc/rc.d/natd and / or /etc/rc.d/ipfw) and rebooting. Something like this should do the trick, I believe: echo echo echo echo '/etc/rc.d/natd' echo echo echo (without the outer quotes). -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd not starting on boot-up
On Wed, 07 Jun 2006 12:13:29 +0700 Roger Merritt [EMAIL PROTECTED] wrote: I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD system to a new hard drive. Through laziness I didn't follow the instructions and had to make a completely new install. Everything now seems to be working the way it should, Apache, MySQL, PHP, syslog, Samba -- except natd. Everything starts on boot-up as it should -- except natd. I can start it manually from the command line after booting up and logging in and it works fine, but I can't tell what's going on that it's failing to start. My /etc/rc.conf contains the following: # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=203.151.134.1 gateway_enable=YES hostname=poppy.international.stjohn.ac.th ifconfig_ed0=inet 10.3.16.125 netmask 255.255.255.0 ifconfig_ed1=inet 203.151.134.104 netmask 255.255.255.0 router_enable=YES firewall_enable=YES firewall_type=OPEN firewall_quiet=YES natd_enable=YES natd_interface=ed1 ipv6_enable=YES linux_enable=YES moused_enable=YES moused_port=/dev/sysmouse moused_type=auto screen=daemon nfs_client_enable=YES sshd_enable=YES That looks alright to me... What can I do to get some indication of where the problem is? Are there any error messages relating to IPFW / natd on boot? What version of FreeBSD are you running? What's the command you're running that _does_ launch natd successfully? What's the output of ls -l /etc/rc.d/natd? -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd not starting on boot-up
On Wed, 07 Jun 2006 15:23:18 +0700 Roger Merritt [EMAIL PROTECTED] wrote: At 04:35 PM 6/7/2006 +1000, you wrote: On Wed, 07 Jun 2006 12:13:29 +0700 Roger Merritt [EMAIL PROTECTED] wrote: I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD system to a new hard drive. Through laziness I didn't follow the instructions and had to make a completely new install. Everything now seems to be working the way it should, Apache, MySQL, PHP, syslog, Samba -- except natd. Everything starts on boot-up as it should -- except natd. I can start it manually from the command line after booting up and logging in and it works fine, but I can't tell what's going on that it's failing to start. My /etc/rc.conf contains the following: # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=203.151.134.1 gateway_enable=YES hostname=poppy.international.stjohn.ac.th ifconfig_ed0=inet 10.3.16.125 netmask 255.255.255.0 ifconfig_ed1=inet 203.151.134.104 netmask 255.255.255.0 router_enable=YES firewall_enable=YES firewall_type=OPEN firewall_quiet=YES natd_enable=YES natd_interface=ed1 ipv6_enable=YES linux_enable=YES moused_enable=YES moused_port=/dev/sysmouse moused_type=auto screen=daemon nfs_client_enable=YES sshd_enable=YES That looks alright to me... What can I do to get some indication of where the problem is? Are there any error messages relating to IPFW / natd on boot? No, or at least none I could see. That's why I've asked for help. What version of FreeBSD are you running? 6.1-STABLE Perhaps there's something wrong in the branch at present...? Doubtful, I guess. What's the command you're running that _does_ launch natd successfully? /sbin/natd -n ed1. I hadn't thought about /etc/rc.d/natd start until someone suggested it, but that works too and reads the interface from /etc/rc.conf. What's the output of ls -l /etc/rc.d/natd? [poppy] ~# ls -l /etc/rc.d/natd -r-xr-xr-x 1 root wheel 978 May 31 09:52 /etc/rc.d/natd Hmmm... Well that all seems OK, then. The only other thing I can think of is that the 'router_enable'=YES' line's creating dramas. As I understand it, this'll cause /etc/rc.d/routed to attempt to launch the routing daemon specified by a 'router=...' line, which you don't appear to have. I don't think this'd interfere with natd anyway, but I don't really understand what the hell's going on in /etc/rc.d/routed. Sorry I can't be more helpful! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Wireless Access Points with Atheros Cards
G'day all, I was recently asked to set up a wireless access point by a mate. Having read section 27.3.3.2 - Building a FreeBSD Access Point (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html;) from the FreeBSD Handbook I duly advised my friend that they'd need to procure one of the Prism cards listed in the wi(4) man page, as, according to the Handbook, In order to set up a wireless access point with FreeBSD, you need to have a compatible wireless card. Currently, only cards with the Prism chipset are supported. When he got back to me the next day and said he couldn't find one in any major store and that he'd been told they were no longer available first-hand (whether all this is true or not, I'm not entirely sure - but it's not really all that relevant for the purposes of this question) I was a little surprised. After much more stuffing about, the ath(4) man page caught my eye and I found the magic sentence: Supported features include 802.11 and 802.3 frames, power management, BSS, IBSS, and host-based access point operation modes. I've subsequently set the thing up and it's now chugging away merrily in hostap mode with hostapd helping out with 802.11i shennanigans. It appears to be fully operational. My question, then, is this: Is the access point I've set up not actually functioning as an access point in the strictest sense of the term? Is the Handbook in need of a little attention in this area? I'll happily create a patch for the doc and submit a PR to have it updated, but just wanted to check before doing so that I'm not just being an idiot (I'm particularly good at that!). Thanks all! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel module path
On Wed, 7 Jun 2006 11:28:09 +0100 Richard Jones [EMAIL PROTECTED] wrote: Hi, I'm having trouble loading kernel modules. Put simply make installkernel seems install native kernel modules into /boot/kernel/, but kldload seems to want to load them from /boot/modules. From kldload's man page: FILES /boot/kernel directory containing loadable modules. Modules must have an extension of .ko. This having been said, it _does_ look in /boot/modules as well. I'm able to load a module from either directory without specifying the full path and / or extension and without either directory being my current working directory on 6.1-RELEASE. What's the problem you're actually having? What version of FreeBSD are you running? Obviously I can load modules by hand and/or copy the modules into /boot/modules, but surely there's a better way - either by modifying the installkernel behaviour or kldload. I believe that base system kernel modules for the currently installed kernel should be installed to /boot/kernel and that kernel modules from outside FreeBSD (e.g.: nvidia.ko) are installed to /boot/modules. R -- Richard Jones MSN: [EMAIL PROTECTED] Y!M: rwkjones http://www.jonze.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FREEBSD I386 BOOT HANG
On Mon, 5 Jun 2006 03:45:47 -0700 (PDT) CATHERINE LORENZ [EMAIL PROTECTED] wrote: I HAVE A TOSHIBA LAPTOP I HAVE TRIED EVERYTHING TO LOAD THE CD VERSION 5.2.1 FREEBSD ONTO MY LAPTOP WITH NO LUCK. IT FREEZES AFTER THE IT BOOTS, I DID DISABLE THE ACPI BUT IT STILL FROZE. IS THERE A WAY TO FIX THIS PROBLEM? First of all, are you able to try a supported / non-dev version of FreeBSD (I'd strongly suggest 6.1-RELEASE)? If not, where does it get to before freezing? Last message on the screen? You've tried leaving it there for more than 30 seconds (my (rather old) CD drive takes half a minute or so to be probed)? THANKS IOTA By the way, you might wanna check your caps lock / read up on netiquette (see RFC 1855) :-) -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcpd.leases not getting populated..
On Mon, 05 Jun 2006 09:06:23 -0400 B. Cook [EMAIL PROTECTED] wrote: Hello all, I have about 8 isc-dhcpd3-server installs out there and they all do everything they are supposed to.. all but one. And of course it's the most complex of them all, (as compared to the rest) I have a subnet defined with two pools inside. The top pool is set to deny unknown clients; and the bottom pool is set to allow unknown clients;. The problem is that the 'bottom' pool (allow unknow) is the only pool that gets logged to /var/db/dhcpd/dhcpd.leases. (snip) Don't suppose you'd be able to post the configuration of the subnet, would you? Are you sure that leases are being handed out from the first pool? -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcpd.leases not getting populated..
On Mon, 05 Jun 2006 12:35:44 -0400 B. Cook [EMAIL PROTECTED] wrote: Nick Withers wrote: On Mon, 05 Jun 2006 09:06:23 -0400 B. Cook [EMAIL PROTECTED] wrote: Don't suppose you'd be able to post the configuration of the subnet, would you? http://www.poklib.org/~dhcpd/dhcpd.conf Ta for that. Found an archived message at http://www.southwestern.edu/ITS/netreg/archive/0464.html; that methinks has the answer: Leases are not added to dhcpd.leases for fixed-address clients. :-( There was a patch for a fairly recent release candidate to log these to a separate file, but I haven't tried it on the latest RC. The dhcpd.leases file is really there so that state can be maintained between incarnations of dhcpd, e.g. shutdown, restart of dhcpd, etc. The server has to keep track of the promises it has already made. Since fixed-address clients always get the same information, and DNS is not updated, it's not really necessary to record these leases. I looked at dhcpd.leases on my (ISC) DHCP server and indeed leases for fixed-address clients were not included. I personally use dynamic DNS with DHCP and have had no dramas with it. Don't know if this is appropriate for your situation, though. Are you sure that leases are being handed out from the first pool? yes. The rest of the 192.168.1.0/24 gets ips and routes as they should. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: n00b question again
On Sun, 4 Jun 2006 15:52:40 +0100 (BST) dharam paul [EMAIL PROTECTED] wrote: Hello to all, I was concerned about the security and bandwidth usage in my intranet. The netstat -anW command gives me following output: Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 192.168.1.14.22 192.168.1.10.1150 ESTABLISHED tcp4 0 0 192.168.1.14.49988 66.218.71.234.443 TIME_WAIT tcp4 0 0 192.168.1.14.56459 (snip) It can bee seen that yahoo servers have established contact with my NIC (192.168.1.14]. Why so? Or you've established a connection with a Yahoo server, which is far more likely. I'm assuming you're talking about the 66.218.71.234 (pclick1.data.ssl.scd.yahoo.com) connection... Is it valid? You can see that the port on the Yahoo server is 443 (which is used by HTTPS, typically) and the port on your machine is high (above 1024). In order for a tcp connection to work, there is a port dedicated to it on both the client and the server. Typically, clients get / use high-numbered ports when establishing a remote connection. Or is Yahoo using my bandwidth? Depends on your point of view here! You're using Yahoo's bandwidth, and it has to use your bandwidth to give you anything back... So technically yes. At least one of the foreign addresses that have established contact with my NIC is that of Yahoo? How do I avoid it? Firewall off Yahoo's IP renge(s)? :-) Please advise. TIA. Send instant messages to your online friends http://in.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dvd+rw problems
I'm having some troubles reading and writing DVD+RW discs. I've installed dvd+rw-tools and followed the instructions in the FreeBSD Handbook and searched Google without much luck. Here's the specific errors I'm getting: Trying to mount the disc: server# mount_cd9660 /dev/cd0 /cdrom mount_cd9660: /dev/cd0: Invalid argument Trying to burn stuff to the disc: server# growisofs -Z /dev/cd0 -J -R /root/dumps :-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted When trying the same operations with a DVD-R disc, I can successfully mount and read the disc, however I get the same error when trying to write to the disc. The drive can also mount and read CD media just fine. I've double-checked the permissions in /dev and I'm running everything as root, so that shouldn't be a problem. Here's some additional info to help in figuring out what my problem could be: server# camcontrol devlist TDK DVDRW0404N 1.0A at scbus1 target 1 lun 0 (cd0,pass0) Here's some relevant stuff from dmesg: acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at ata1-master UDMA33 acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33 (probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:ata1:0:0:0): CAM Status: SCSI Status Error (probe0:ata1:0:0:0): SCSI Status: Check Condition (probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1 (probe0:ata1:0:0:0): Reserved ASC/ASCQ pair (probe0:ata1:0:0:0): Unretryable error cd0 at ata1 bus 0 target 1 lun 0 cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5 g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5 (cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0 (cd0:ata1:0:1:0): CAM Status: SCSI Status Error (cd0:ata1:0:1:0): SCSI Status: Check Condition (cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0 (cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid (cd0:ata1:0:1:0): Unretryable error g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5 Thanks for the help! -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dvd+rw problems
On 5/26/06, Nick Pegg [EMAIL PROTECTED] wrote: I'm having some troubles reading and writing DVD+RW discs. I've installed dvd+rw-tools and followed the instructions in the FreeBSD Handbook and searched Google without much luck. Here's the specific errors I'm getting: Trying to mount the disc: server# mount_cd9660 /dev/cd0 /cdrom mount_cd9660: /dev/cd0: Invalid argument Trying to burn stuff to the disc: server# growisofs -Z /dev/cd0 -J -R /root/dumps :-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted When trying the same operations with a DVD-R disc, I can successfully mount and read the disc, however I get the same error when trying to write to the disc. The drive can also mount and read CD media just fine. I've double-checked the permissions in /dev and I'm running everything as root, so that shouldn't be a problem. Here's some additional info to help in figuring out what my problem could be: server# camcontrol devlist TDK DVDRW0404N 1.0A at scbus1 target 1 lun 0 (cd0,pass0) Here's some relevant stuff from dmesg: acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at ata1-master UDMA33 acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33 (probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:ata1:0:0:0): CAM Status: SCSI Status Error (probe0:ata1:0:0:0): SCSI Status: Check Condition (probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1 (probe0:ata1:0:0:0): Reserved ASC/ASCQ pair (probe0:ata1:0:0:0): Unretryable error cd0 at ata1 bus 0 target 1 lun 0 cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5 g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5 (cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0 (cd0:ata1:0:1:0): CAM Status: SCSI Status Error (cd0:ata1:0:1:0): SCSI Status: Check Condition (cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0 (cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid (cd0:ata1:0:1:0): Unretryable error g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5 Thanks for the help! -Nick I've got an update to my problem. I can actually read the disc just fine at securelevel 3, but I need to drop down to securelevel 1 in order to write to it (/dev/pass0 is a protected device node at securelevel 2 and 3). Is there a workaround to this, or will I have to drop into single-user mode every time I want to write to a DVD? -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dvd+rw problems
On 5/26/06, Mikhail Goriachev [EMAIL PROTECTED] wrote: Nick Pegg wrote: On 5/26/06, Nick Pegg [EMAIL PROTECTED] wrote: I'm having some troubles reading and writing DVD+RW discs. I've installed dvd+rw-tools and followed the instructions in the FreeBSD Handbook and searched Google without much luck. Here's the specific errors I'm getting: Trying to mount the disc: server# mount_cd9660 /dev/cd0 /cdrom mount_cd9660: /dev/cd0: Invalid argument Trying to burn stuff to the disc: server# growisofs -Z /dev/cd0 -J -R /root/dumps :-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted When trying the same operations with a DVD-R disc, I can successfully mount and read the disc, however I get the same error when trying to write to the disc. The drive can also mount and read CD media just fine. I've double-checked the permissions in /dev and I'm running everything as root, so that shouldn't be a problem. Here's some additional info to help in figuring out what my problem could be: server# camcontrol devlist TDK DVDRW0404N 1.0A at scbus1 target 1 lun 0 (cd0,pass0) Here's some relevant stuff from dmesg: acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at ata1-master UDMA33 acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33 (probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:ata1:0:0:0): CAM Status: SCSI Status Error (probe0:ata1:0:0:0): SCSI Status: Check Condition (probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1 (probe0:ata1:0:0:0): Reserved ASC/ASCQ pair (probe0:ata1:0:0:0): Unretryable error cd0 at ata1 bus 0 target 1 lun 0 cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5 g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5 (cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0 (cd0:ata1:0:1:0): CAM Status: SCSI Status Error (cd0:ata1:0:1:0): SCSI Status: Check Condition (cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0 (cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid (cd0:ata1:0:1:0): Unretryable error g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5 Thanks for the help! -Nick I've got an update to my problem. I can actually read the disc just fine at securelevel 3, but I need to drop down to securelevel 1 in order to write to it (/dev/pass0 is a protected device node at securelevel 2 and 3). Is there a workaround to this, or will I have to drop into single-user mode every time I want to write to a DVD? Hi, I ran into the same problem years ago. This might help you: http://www.freebsd.org/gnome/docs/faq2.html#q15 Cheers, Mikhail. Looks like that wasn't much help, since the FAQ talks about changing the permissions on the devices. I've done the instructions and only /dev/xpt0 was effected since /dev/cd0 and /dev/pass0 being protected by securelevel 2 and above. Even if I start up in securelevel 1, change the permissions, then go to securelevel 3, I still get the Operation not permitted error when trying to use growisofs. -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postgresql Autovacuum how?
On Wed, 24 May 2006 09:39:41 +0200 User Gandalf [EMAIL PROTECTED] wrote: Hello, I have FreeBSD 6.1 and PostgreSQL 8.1.3 installed. I had to change the pg_hba.conf settings, because I need to open the 5432 port for everyone (SSL enabled). For this reason, I also gave strong passwords for all postgresql users. Now this is what I see in the daily run output (/usr/local/etc/periodic/daily/502.pgsql): vacuuming... Password: vacuumdb: could not connect to database postgres: fe_sendauth: no password supplied Errors were reported during vacuum. I've created a .pgpass file in /root (which is read only by root) containing the password for the pgsql user. A quick Google on pgpass turned up this content from http://pgsqld.active-venture.com/libpq-files.html: _ (...) This file should have the format: hostname:port:database:username:password Any of these may be a literal name, or *, which matches anything. The first match will be used so put more specific entries first. Entries with : or \ should be escaped with \. The permissions on .pgpass must disallow any access to world or group; achieve this by the command chmod 0600 .pgaccess. If the permissions are less strict than this, the file will be ignored. _ This is my pg_hba.conf file: # TYPE DATABASEUSERCIDR-ADDRESS METHOD # local is for Unix domain socket connections only local all all ident sameuser hostall all 127.0.0.1/32 md5 hostssl all all 0.0.0.0 0.0.0.0 md5 The autovacuum script was packaged for FreeBSD, so I assume this is a FreeBSD specific thing. My question is: why ident/sameuser not working here? How can I enable auto vacuums without storing the password in the periodic/daily/502.pgsql script? I'm not familiar with the sameuser directive, presumably this prohibits a system user from logging in as a user in the database with a different name? If this is the case, I don't imagine the solution I've described above will help resolve this issue. -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KERNEL
On Thu, 18 May 2006 14:12:42 +1100 KAV [EMAIL PROTECTED] wrote: The kernel is not compiled. Whether it is possible switch-off somehow the module aic? (snip) cc -O3 -pipe -march=pentium4 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/src/sys/i386/compile/MYKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/src/sys/i386/compile/MYKERNEL -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/aic/../../dev/aic/aic.c /usr/src/sys/modules/aic/../../dev/aic/aic.c: In function `aic_reset': ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1345: warning: called from here (snip) Do you have the compilation optimisation level set to 3? Could you try with it set to 2 or lower? -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: An FTP alternative ?
On Sat, 13 May 2006 04:57:25 +0200 Leo Lapousterle [EMAIL PROTECTED] wrote: Hello :) I'm fed up with FTP servers : FTP is great, but I need some admin stuff like privileges (one user can upload but not download, for example) unavailable for FTP... at least for those I've tested. Is there an alternative way for FTP, allowing individual privileges? I found hxd (hotline protocol, I used it 7 years ago!), it's very powerful but quite discontinued... Anybody has another idea? :) Thanks! Have you looked at SFTP? It's a subsystem that operates over an SSH connection. Whilst it requires that a user be able to login over SSH to the server, you can use filesystem permissions (and indeed other system facilities) to enforce things like being able to upload / download on a fairly granular (e.g.: directory-level) basis. -- Léo Hope this helps! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I keep having wrong checksum in 6.1 iso download (what should I do??)
On Fri, 12 May 2006 21:51:02 -0700 (PDT) Mark Jayson Alvarez [EMAIL PROTECTED] wrote: Hi, It was my second time to download a 6.1 iso from one of the regional ftp sites.. Lucky we have a slightly fast connection (155Mbps)... Slightly fast? What do you call fast? :-) By the way, is it really dangerous to ignore these checksums that doesn't match with the published one? What's the reason behind this bad checksum mismatch??. It generally indicates that the file was corrupted during transmission. It could, however, happen because the site you're downloading from is serving a corrupt version. A checksum mismatch basically indicates that the file is not as it should be. You may still be able to use it without any adverse impact, but then again, you may not. It's also possible that someone has intentionally corrupted the file for sinister purposes. I'd strongly recommend not using it. It's probably worth trying to download the file again, from another mirror. Thanks -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.4 - 6.0 errors.
G'day Ben! On Thu, 11 May, 2006 2:45 pm, Ben Hacker Jr wrote: I have posted my complete Kernel config file below. I _believe_ you need include the wlan device. Maybe I need to enable the CAM infrastructure.?? Adi Pircalabu wrote: On Wed, 10 May 2006 08:10:34 -0400 Ben Hacker Jr wrote: linking kernel.debug if_ural.o(.text+0x3bb): In function `ural_attach': /usr/src/sys/dev/usb/if_ural.c:458: undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x3ef):/usr/src/sys/dev/usb/if_ural.c:463: undefined reference to `ieee80211_ieee2mhz' I'm afraid you customized your config file by commenting a mandatory device / option which is needed for building. Please post your complete config file. OTOH, can you build GENERIC? # # HACK06 -- Generic kernel configuration file for FreeBSD/i386 # (snip) ## Wireless NIC cards #device wlan # 802.11 support #device an # Aironet 4500/4800 802.11 wireless NICs. #device awi # BayStack 660 and others #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. ##device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory disks device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI-USB interface device ohci # OHCI PCI-USB interface #device ehci # EHCI PCI-USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic #device uhid # Human Interface Devices device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device ural # Ralink Technology RT2500USB wireless NICs device urio # Diamond Rio 500 MP3 player device uscanner # Scanners ## USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) -- Ben Hacker, Jr. Network Security Analyst strbenjr {at} yahoo.com -- -- -- -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: panic: page fault - 6.0-RELEASE-p7 (now 6.1-RC2)
limited to 10 packets/entry by default rr232x: no controller detected. acd0: CDROM MATSHITA CR-177/7T0D at ata1-master UDMA33 ses0 at asr0 bus 0 target 6 lun 0 ses0: SUPER GEM318 0 Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device da0 at asr0 bus 0 target 0 lun 0 da0: SEAGATE ST336706LC 4101 Fixed Direct Access SCSI-4 device da0: Tagged Queueing Enabled da0: 34687MB (71041007 512 byte sectors: 255H 63S/T 4422C) da1 at asr0 bus 0 target 1 lun 0 da1: ADAPTEC RAID-1 3B05 Fixed Direct Access SCSI-2 device da1: Tagged Queueing Enabled da1: 140014MB (286748672 512 byte sectors: 255H 63S/T 17849C) Trying to mount root from ufs:/dev/da0s1a --- Any help will be greatly appreciated. Nick Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: resetting clock after power outage
On Mon, 8 May, 2006 2:10 pm, jekillen wrote: Hello; I have a problem that I can't, so far find and answer to. How do you reset the system clock after a power outage has caused it to loose time? Have a gander at date(1), if NTP isn't a goer, as others have suggested. (snip) I thought maybe the bios had something to do with it but haven't seen a way to reset the time in the bios either. Thanks for assistance in advance; JK The BIOS setup utility really should have a time / date setting facility too, though! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
panic: page fault - 6.0-RELEASE-p7
can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) Timecounter TSC frequency 2399331312 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging limited to 10 packets/entry by default acd0: CDROM MATSHITA CR-177/7T0D at ata1-master UDMA33 ses0 at asr0 bus 0 target 6 lun 0 ses0: SUPER GEM318 0 Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device da0 at asr0 bus 0 target 0 lun 0 da0: SEAGATE ST336706LC 8A03 Fixed Direct Access SCSI-3 device da0: Tagged Queueing Enabled da0: 34732MB (71132942 512 byte sectors: 255H 63S/T 4427C) da1 at asr0 bus 0 target 1 lun 0 da1: ADAPTEC RAID-1 3B05 Fixed Direct Access SCSI-2 device da1: Tagged Queueing Enabled da1: 140014MB (286748672 512 byte sectors: 255H 63S/T 17849C) -- Thanks, Nick Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On Wed, 26 Apr 2006 10:08:58 + Ben Paley [EMAIL PROTECTED] wrote: Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. You might want to have a gander at Memtest86 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for memory testing, I reckon this should be your first port of call. Cheers, Ben Good luck! -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On Wed, 26 Apr 2006 13:10:26 + Ben Paley [EMAIL PROTECTED] wrote: On Wednesday 26 April 2006 10:24, Nick Withers wrote: On Wed, 26 Apr 2006 10:08:58 + Ben Paley [EMAIL PROTECTED] wrote: Could anyone give me a hint as to how to get started checking the hardware? It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what to look for or what to check - I've never had any problems with it before. You might want to have a gander at Memtest86 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for memory testing, I reckon this should be your first port of call. Thanks a lot for the advice. Unfortunately I can't run it as I have no floppy drive (unless there's another way? I seem to remember it's possible to make a bootable usb flash drive...). There's an downloadable ISO for creating a bootable CD on their website (http://www.memtest86.com/). I ran sysutils/memtest with no errors, for whatever that's worth. Not familiar with it myself, but I imagine it's only capable of checking user-space memory if it's run in userland. Cheers, Ben -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NAT, VPN and other SOHO router advice
Given what you've said, you should set up the FreeBSD machine as a bridge rather than a router. Having now read the manpage for bridge(4) and if_bridge(4), I am not certain that this is going to achieve what I want to achieve. I'm told by the FreeBSD HB that The consensus is that assigning both cards an address is a bad idea. Since I want rl1 to have a public IP block and rl0 to have a private IP, I assume this isn't going to work. So, router it is. Now, for this VPN. I reckon my best bet is to run the PPTP client from the BSD box, no? Regards, Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NAT, VPN and other SOHO router advice
Dear all, I'm currently in the process of jiggling around my SOHO router and a FreeBSD box that I'd like to make more of a router. As it stands currently, the setup is something like this (I hope you've reading this in monospace or it's gonna be a like reading a circuit diagram on a rollercoaster) ( ... ) (( Ye bigge badde interweb )) ( ... ) || || ++ | Vigor 2600 | [10.0.0.2] ++ | | +--+ | | ** | | rl1 | +---| S |-... +-+ | W | | F | | I |-... | B | | T |-... The LAN! | S | rl0 | C | [10.0.0.0/24] | D |---| H |-... | | | | | | | |-... +-+ +--+ [10.0.0.1] Now, the more experiencef of you will immediately notice something is wrong ... yes, that's right, the cable marked with the ** shouldn't really be there. In fact, my syslog really wants me to know that something's wrong: Apr 6 19:04:22 phoenix kernel: arp: 10.0.0.2 is on rl0 but got reply from 00:53:7f:74:f4:f3 on rl1 Now, I'm well aware of why that's happening, and I mostly know how to fix it, but I need a little help with a few remaining issues. First, NAT'ing. Currently the Vigor router (10.0.0.2) is the default router for the network, as specified by the FBSD box's DHCP server. If I disconnect the cable I want to disconnect, however, obviously the FBSD box will have to be the router. Now, I've recompiled my kernel with all the relevant options, and I've got an extensive firewall script (ipfw). I've also got the following in my rc.conf: firewall_enable=YES firewall_script=/etc/ipfw.rules firewall_logging=YES natd_enable=YES natd_interface=rl1 gateway_enable=YES rl1, by the way, has a public IP block on it, and the vigor router has one of these, let's call it xx.yy.zz.201. On the FBSD box (in rc.conf) we have: defaultrouter=xx.yy.zz.201 ifconfig_rl0=inet 10.0.0.1 netmask 255.255.255.0 ifconfig_rl1=inet xx.yy.zz.202 netmask 255.255.255.248 ifconfig_rl1_alias0=xx.yy.zz.203/29 ... So, really, the question for this bit of the email is .. what else do I need to get my FBSD box acting as a router for the machines on the LAN? .. I assume I'd need an IPFW divert rule to set up all the NATing, but I'm unsure what that should be, and whether it would come before or after all the protective stuff in the firewall script etc etc. -- The second part of the question is perhaps slightly more complex. The Vigor router has set up on it a LAN-to-LAN PPTP VPN (enough acronyms for you?) to an office elsewhere. As it stands currently, machines on the LAN can access (ping/SMB shares) a class C subnet, 192.168.1.0/24 via this VPN connecion on the Vigor router. Also, machines at the other end of the VPN, in the office, can access machines at this end of the VPN, on the LAN (the other class C: 10.0.0.0/24) The question is, what IPFW divert rules and other whizbangery do I need to set up so that I can disconnect that cable marked ** and have all the VPN stuff keep working. If at all possible, I'd rather not move the management of the VPN onto the FBSD box. -- OK. So that's that. I appreciate any and all responses, and if anyone needs any more information I will be happy to provide it ... so long as it's not my root password ... actually, come to think of it, that wouldn't help unless you were sitting next to me, but nevermind... Regards, Nick Stenning ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NAT, VPN and other SOHO router advice
On 4/6/06, Chuck Swiger [EMAIL PROTECTED] wrote: Given what you've said, you should set up the FreeBSD machine as a bridge rather than a router. It's possible to do other things, such as changing the NAT address range used by rl1 and your Vigor 2600, yet also set up NAT on the FreeBSD machine, including GRE passthrough and PPTP in /etc/natd.conf, but that would be evil, hard to debug, and otherwise tempting the fates. :-) # NATD configuration options dynamic yes interface rl1 #log yes log_denied yes use_sockets yes same_ports yes unregistered_only yes #punch_fw 1:100 redirect_proto gre 10.1.1.2 redirect_port udp 10.1.1.2:500 500 redirect_port udp 10.1.1.2:4500 4500 redirect_port udp 10.1.1.2:62515 62515 redirect_port tcp 10.1.1.2:1 1 redirect_port tcp 10.1.1.2:pptp pptp # The above rules allow passthrough for the Cisco VPN software, and should also work with SonicWall's VPN client. OpenVPN uses just a single UDP port, and would be very easy to set up on FreeBSD if you liked. -- -Chuck Thanks to both of you for all your input .. its a great help! Chuck -- since you appear to have given me the config options for something that's evil, hard to debug, and otherwise tempting the fates, would you mind explaining how to set up the FBSD box as a bridge? Or perhaps I'm missing something ... is that what that config is for? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building a Jail in FreeBSD or NetBSD for a hosting environment
Cool, Thanks people for your help. That documentation that *Pavel Duda* sent me seems excellant, I had a quick read last night and it's making sense. I'll give it another go in FreeBSD (just don't wanna blitz my NetBSD machine just yet, but I have a bunch of old machines lol) Thanks again. On 3/1/06, Pavel Duda [EMAIL PROTECTED] wrote: Nick Larsen wrote: Hey Members, I have done a little research on Jails and setting them up, and managed to get one going at one stage and managed to somehow destroy it. I'm new to Jails, and I would like to use a real jail then just using a chroot jail. Where I work, we use the Ensim software for hosting, and I find that very pricey and sluggish (and it runs on Fedora rather than Linux). They use a technique of chrooting sites and the sites users into an environment in /home/virtual/sitexxx/ I would like to be able to do the same (but with Jail), but not quite sure how to go about it. Last time I tried to `make world DESTDIR=/my/jail/path` it failed (cannot remember the details right now) but it this where I start? Also do I need an individual IP for each jail? because each physical server will have 1 IP unless the customer requests a dedicated IP. Any help would be appreciated, and I have tried to research it but end up going round in circles. -- Regards, Nick Larsen Wellington NEW ZEALAND ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Nick Larsen Wellington NEW ZEALAND ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Building a Jail in FreeBSD or NetBSD for a hosting environment
Hey Members, I have done a little research on Jails and setting them up, and managed to get one going at one stage and managed to somehow destroy it. I'm new to Jails, and I would like to use a real jail then just using a chroot jail. Where I work, we use the Ensim software for hosting, and I find that very pricey and sluggish (and it runs on Fedora rather than Linux). They use a technique of chrooting sites and the sites users into an environment in /home/virtual/sitexxx/ I would like to be able to do the same (but with Jail), but not quite sure how to go about it. Last time I tried to `make world DESTDIR=/my/jail/path` it failed (cannot remember the details right now) but it this where I start? Also do I need an individual IP for each jail? because each physical server will have 1 IP unless the customer requests a dedicated IP. Any help would be appreciated, and I have tried to research it but end up going round in circles. -- Regards, Nick Larsen Wellington NEW ZEALAND ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java without Motif/X?
OK, thanks very much. I'm going to look for a different tool that doesn't pull in all of Java. you've all been a great help. best, -Nick Hello Michael, On 02/02/06 Nikolas Britton said: Is it possible to replace Motif with QT, GTK, etc? Not with the swing bindings, I don't think so. But, there are GTK bindings for Java separately. Mike -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD4/+iKGqCc1vIvggRAhYdAKCis6DVM+Kf4+vm2huoOqJ56ihW+wCfaIO0 oUS5jzhoHFscfsen3qT+IvQ= =rZ+h -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Java without Motif/X?
Greetings, Has anyone successfully gotten Java (1.4 or 1.5) running on FreeBSD without Motif/X? I'd like to run a gui-less Java app on my server, and would strongly prefer to not install all of X + Motif, and all its potential security issues, just to get Java running. Thanks in advance, -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Answering machine / voicemail -- email?
Hi all, I'm running a decently fast server with FreeBSD 5.4. I'd like to set up a way that the box can act as a voicemail server, and turn the messages into emails. I see Asterisk as a possible solution, but it seems awfully heavyweight for what I want. Are there any lighter-weight ways to achieve this? If Asterisk is the way to go, what's the cheapest modem card I can buy (for a PCI Express-based Dell SC 420) that can answer the phone, and let the machine receive these calls? It's for use in my home, so it's only 1 analog phone line running into the house right now. thanks, -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]