Re: antivir-milter question
Good morning, on Wed, Aug 03, 2005 at 08:41:53PM -0500, Denny White wrote: I had read where I needed to edit sendmail.mc but couldn't find it. Then read the equivalent mc file for freebsd I needed to edit was /etc/mail/freebsd.mc to which I added: INPUT_MAIL_FILTER( `antivir-milter', `S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m' )dnl Then I did a `make install' to rebuild, what I thought, was sendmail.cf, but it's looking like I was way off beam. Here's what's in /var/mail/maillog: (...) I looks like your avmilter never gets used. Please have a look at your /etc/make.conf. This might include a line stating what sendmail mc file to use for generating your individual sendmail.cf: SENDMAIL_MC=/etc/mail/theatre.sax.de.mc Than, the corresponding line in /etc/mail/theatre.sax.de.mc is: INPUT_MAIL_FILTER(`avmilter',`S=inet:[EMAIL PROTECTED],F=R,T=S:10m;R:10m;E:10m') This is exactly from the antivir-milter documentation, and the only thing I did afterwards was make make install make restart Since than, it's just working. Of course, I've set up a start script in /usr/local/etc/rc.d that enables avmilter at system startup. Do you probably have some older version? Mine is using sockets, not a pipe. Does your avmilter listen on some port? (Mine is using default, .) Regards, Martin -- ,,Oh, there's a lot of opportunities, if you're knowing to take them, you know, there's a lot of opportunities, if there aren't you can make them, make or break them!'' (Tennant/Lowe) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A secure connection to an SCO Unix 5.2 behind a pf firewall.
On Wed, Aug 03, 2005 at 05:06:37PM -0500, [EMAIL PROTECTED] wrote: I would appreciate any suggestions for a reasonably secure solution. I just found all this out and am totally blank. Have a look at OpenVPN (http://www.openvpn.org/), it is available as a FreeBSD port and it comes with a Windows GUI clients, if your client will need that. It allows your FreeBSD box to be the endpoint of the connection, and you can set network parameters for the connection from the server side, for example, a route to the SCO box for allowing ssh or telnet. Regards, Martin -- ,,Oh, there's a lot of opportunities, if you're knowing to take them, you know, there's a lot of opportunities, if there aren't you can make them, make or break them!'' (Tennant/Lowe) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: antivir-milter question
Today Martin Welk had this to say: Good morning, on Wed, Aug 03, 2005 at 08:41:53PM -0500, Denny White wrote: I had read where I needed to edit sendmail.mc but couldn't find it. Then read the equivalent mc file for freebsd I needed to edit was /etc/mail/freebsd.mc to which I added: INPUT_MAIL_FILTER( `antivir-milter', `S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m' )dnl Then I did a `make install' to rebuild, what I thought, was sendmail.cf, but it's looking like I was way off beam. Here's what's in /var/mail/maillog: (...) I looks like your avmilter never gets used. Please have a look at your /etc/make.conf. This might include a line stating what sendmail mc file to use for generating your individual sendmail.cf: SENDMAIL_MC=/etc/mail/theatre.sax.de.mc Than, the corresponding line in /etc/mail/theatre.sax.de.mc is: INPUT_MAIL_FILTER(`avmilter',`S=inet:[EMAIL PROTECTED],F=R,T=S:10m;R:10m;E:10m') This is exactly from the antivir-milter documentation, and the only thing I did afterwards was make make install make restart Since than, it's just working. Of course, I've set up a start script in /usr/local/etc/rc.d that enables avmilter at system startup. Do you probably have some older version? Mine is using sockets, not a pipe. Does your avmilter listen on some port? (Mine is using default, .) Regards, Martin -- ,,Oh, there's a lot of opportunities, if you're knowing to take them, you know, there's a lot of opportunities, if there aren't you can make them, make or break them!'' (Tennant/Lowe) Okay, maybe the script avmilter.sh in /usr/local/etc/rc.d is the problem. If you issue the command in the MANUAL to use port [EMAIL PROTECTED], it looks like this: avmilter -p inet:[EMAIL PROTECTED] But, here's the relevant portion from the script: case $1 in start) if [ -x /usr/local/sbin/avmilter ]; then umask 0077 /bin/rm -f /var/spool/avmilter/avmilter.sock /usr/sbin/daemon -f /usr/local/sbin/avmilter \ -P /usr/local/etc/avmilter \ -p local:/var/spool/avmilter/avmilter.sock umask 0022 echo -n avmilter fi ;; stop) So, theres no mention of it there. This has really got me stumped! I checked /etc/make.conf there's nothing there except some stuff I put for when I'm updating src rebuilding. Nothing about sendmail. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing problems with CUPS on localhost server
On Thu, 04 Aug 2005 09:13:18 +0800, Graham North [EMAIL PROTECTED] wrote: I just set up my FreeBSD box to act as a printserver. I used CUPs and Samba following great directions found here: http://www.ajl-tech.com/index2.php?option=contentdo_pdf=1id=16 The printserver works very nicely printing jobs from my WinXP client to an hp4l printer attached to Freebsd, however it will not print files from itself using lpr. A bit of hunting found some gotchas at: http://home.nyc.rr.com/computertaijutsu/cups.html ... and so I tried adding symbolic links for the lp and lpr commands as per the author's recommendations - see bottom of email. The problem still exists however, now instead of getting error messages, if I issue a lpr filename command, my printer gives a quick blink, no errror messages are generated, but neither is printer output - nada! Repeat - Samba and Cups work together fine on this elderly hp4l - print all sorts from Windows. Just cannot access from the server itself. I am sure that this is a simple configuration issue somewhere - my printcap definition, ie: hp4l|lp|hp4l:rm=192.168.0.102:rp=hp4l: ps. This was auto-generated from CUPs and oirignally was hp4l|hp4l:rm=192.168.0.102:rp=hp4l: (I later inserted the lp myself as CUPS does not, either way it doesn't work.) Can anyone please point me straight on this? Thanks, Graham/ Are you using the lpr that was installed with FreeBSD as part of the base or the lpr supplier by the cups-lpr package? FreeBSD base lpr is in /usr/bin|/usr/sbin and the cups-lpr is in /usr/local/bin|/usr/local/sbin... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl stdin
On Thu, 04 Aug 2005 09:38:15 +0800, Michael Beattie [EMAIL PROTECTED] wrote: On 8/3/05, Wouter van Rooij [EMAIL PROTECTED] wrote: \ Hello, At the first place, sorry for my bad English. My question is: How can you, when you're writing a perl program, make a input (stdin) hidden, so that when someone is typing an input in the following program is hidden: #!/usr/bin/perl print Your name:; $name = STDIN I would like to get the input like this: The PERL Cookbook seems to have the answer. Problem You want to read input from the keyboard without the keystrokes being echoed on the screen. For instance, you want to read passwords as passwd does, i.e. without displaying the user's password. Solution Use the CPAN module Term::ReadKey, set the input mode to noecho, and then use ReadLine: use Term::ReadKey; ReadMode('noecho'); $password = ReadLine(0); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
f77 abort
hi, this 11k lines of fortran compile and run under Linux, on FreeBSD 5.4, compiling with f77 produces a binary, apparently without errors, but executing it, inmediately gives 'Abort', ldd gives signal 6 ktrace is not very helpful :-) 36372 ktrace RET ktrace 0 36372 ktrace CALL execve(0xbfbfea0f,0xbfbfe914,0xbfbfe91c) 36372 ktrace NAMI ./xm99 any ideas? danny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_create: correct usage?
mdff wrote: i'm trying to create packages on freebsd-5.4-RELEASE. can anyone tell me how to define a packinglist for pkg_create with the ability to remove the directories after pkg_delete and not getting complaints if they are not empty? if i specify @dirrm dir in the packinglist, i get these errors, if some packages share a specific directory: # pkg_delete packname pkg_delete: unable to completely remove directory '/usr/local/lib' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) br... This question might be better to ask on [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x separate /boot slice?
Hello, I would like to try a separate /boot slice as permitted by FreeBSD 5.x... (http://www.khmere.com/freebsd_book/html/ch08.html) But alas it does not appear to be as simple as simply specifying a /boot during setup. This causes the bootloader to complain about not finding a kernel given that /boot on the root partition is empty. Presumably this is too early in the boot process to link root/boot to the /boot slice given that the fstab has not been read yet. Any pointers on how to get this to work? Perhaps the boot loader needs to be pointed at the /boot slice rather than root and a rootdev variable fed into a specific loader stage? I'm not sure! Appreciated, Michael. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installing a HP Photosmart 7350 usb printer
[Re: freebsd-questions Digest, Vol 106, Issue 8] System : 5.4-REL-#6 I've installed cups (via ports) and downloaded the .ppd file from linuxprinting.org so I could use it in the kde-printer wizard. No problem so far. I can see and modify the settings also via localhost:631. When printing, the cups error-log sais : stopped with status 2 !. So I've changed the level to debug (see below pls). The file gets in /var/spool/cups/ but nothing gets printed on paper :-( What still goes wrong ? Thx for any help. If you haven't got it sorted yet, I did notice amongst the debug output: I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350' by 'beni'. [..] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340, 0xbfbee6b0, 10, 12, 9) I [03/Aug/2005:16:16:34 +0200] Started filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8. D [03/Aug/2005:16:16:34 +0200] StartJob: filter = /usr/local/libexec/cups/filter/foomatic-rip D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340, 0xbfbee6b0, 11, 13, 9) I [03/Aug/2005:16:16:34 +0200] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8. [..] D [03/Aug/2005:16:16:34 +0200] [Job 8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory [..] D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML Library [..] D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BeginPageSetup D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%EndPageSetup D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Trailer D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw Trailer! D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw EOF! E [03/Aug/2005:16:16:35 +0200] PID 17669 stopped with status 2! D [03/Aug/2005:16:16:35 +0200] UpdateJob: job 8, file 0 is complete. D [03/Aug/2005:16:16:35 +0200] CancelJob: id = 8 D [03/Aug/2005:16:16:35 +0200] StopJob: id = 8, force = 0 D [03/Aug/2005:16:16:35 +0200] StopJob: printer state is 3 It's not clear whether /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory means that the file foomatic-rip is missing, or that foomatic-rip can't find a file it needs, but either way, trouble! cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to mirror the freebsd site
hello, all. I wan't make a http mirror for the FreeBSD.Can I only mirror the i386 arch?and when I mirror finished how to join the mirorr site database? -- hmy http://rods.vmmatrix.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question on hosting and memory
[EMAIL PROTECTED] wrote: On Aug 3, 2005, at 11:27 PM, David Banning wrote: I am running apache 1.3 with php and I find when that for each person who visits the site, an additional 29 meg is consumed of my measly 512M. Searching around, it seems like this is relatively normal. So here is my question. How do big-time servers handle these type of memory requirements? Presumably there are servers out there getting thousands of visitors at once. Do they have 29 Meg * 1000 for every thousand visitors? At what memory ceiling do they setup another server machine to handle the load? Wouldn't it require a ton of servers to handle a load of a thousand visitors? It all depends on what the PHP is doing. On one server I run, the hold up is not memory, but actually processing 200 PHP scripts with db accesses at once, even with code acceleration products installed. I have a dual athlon 2800+ system with 4GB of memory. It can handle 200-240 httpd processes (apache2) with PHP5 running the postnuke system and phpbb2 (postnuke version). The memory is only half used but the system load starts to go sky high when we start to get much over 200 httpd, depending on what mix of modules people are using, when enough processes need to run at once. The CPU is not pegged, but the run queue gets too long. I am continuing to try and tune things and improve things, but so far this is about where we are at. Before I put a code accelerator in (we have tested the commercial Zend one [and still are testing] but run with eaccelerator most of the time) we hit the wall much sooner. (Note that the mysql DB is on another machine on the LAN). Chad I am nowhere in this league, but the question comes to mind because it seems crazy that 20 visitors to my site can clog things up, simply because I choose to run apache and php. I have been looking at lighttpd decrease memory usage, but I require url rewriting and I find the documentation for lighttpd is lacking is this area. Any comments or suggestions are welcome - You might want to consider LiteSpeed WebServer. They have a standard (free) version and a pro (paid) version that should perform much better than Apache and PHP. It should even perform better as Lighttpd and has the same rewriting-syntax as Apache. (In fact, it closely resembles Apache in terms of configuration). Kind Regards, Sander Holthaus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with Automount
Hello, I am fairly new to FreeBSD having only used it for about a month. I am using FreeBSD 5.4 release. I have recently got round to setting up amd. I followed the instructions to do this on a website I found - http://renaud.waldura.com/doc/freebsd/automounting.txt After following the instructions, and rebooting the machine, I notice that my logs give these messages: nfs send error 49 for server [EMAIL PROTECTED]:/host nfs server [EMAIL PROTECTED]:/host: not responding and typing amq gives this message: amq: localhost: RPC: Port mapper failure - RPC: Unable to send I double checked my setup of amd, and that I followed the instructions exactly. Everything seems correct. I have actually set up amd successfully using the same instructions on another computer on which I installed FreeBSD 5.4. What do you think the problem could be? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: f77 abort
On Thu, Aug 04, 2005 at 11:00:46AM +0300, Danny Braniss wrote: this 11k lines of fortran compile and run under Linux, on FreeBSD 5.4, compiling with f77 produces a binary, apparently without errors, but executing it, inmediately gives 'Abort', ldd gives signal 6 ktrace is not very helpful :-) 36372 ktrace RET ktrace 0 36372 ktrace CALL execve(0xbfbfea0f,0xbfbfe914,0xbfbfe91c) 36372 ktrace NAMI ./xm99 any ideas? Could it have a very big stack or heap? Try increasing your stacksize and datasize limits. David. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound vs. PCIX bus
On 8/3/05, hal [EMAIL PROTECTED] wrote: Can anyone recommend a sound card for the PCIX bus? You will not be able to find a sound card that's PCI-X. A 16-bit / 44KHz PCM audio stream is something like 1MB/s and the 32-bit / 33MHz PCI bus can support 133MB/s. I don't think their will ever be a PCI-X based sound card You can use a normal PCI card in a PCI-X slot so just buy an el-cheapo sound can an stick pop it in there We are talking about PCI-X and not PCI-eXpress, right? Heres a question for others to answer. How would you setup a sound alert if for example one of the drives in a RAID 1 failed? This would be for an ata-mkIII PseudoRAID mirror setup. And what about email or phone call alert? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Strange disklabel
I have recently installed a big disk (1.4 TB sata raid with scsi interface) on an i386 computer running FreeBSD 5.4-RELEASE-p1. I have 3 partitions on the FreeBSD slice. The disk is working OK, but the disklabel seem a little strange. For one of the partitions the fsize bsize bps/cpg values are 0 0 0. For the other two partitions these values are 2048 16384 28552 which I beleve is more normal. The filesystem is initialized (with newfs). fsck gives no errors. Partial or full output from the commands dmesg, df, mount, fdisk da1, bsdlabel -A da1s1, tunefs -p /dev/da1s1e, fsck /dev/da1s1e and dumpfs /dev/da1s1e is attached below. Should I worry about this, or can I ignore it. Anders Gytri - # dmesg da1 at ahd0 bus 0 target 0 lun 0 da1: DEFANGED_IFT A08U-G2421 342D Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 1429284MB (2927173632 512 byte sectors: 255H 63S/T 182208C) - # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da1s1e 507788836 47657476 41950825410%/home - # mount /dev/da1s1e on /home (ufs, NFS exported, local, soft-updates) - # fdisk da1 *** Working on device /dev/da1 *** parameters extracted from in-core disklabel are: cylinders=182208 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=182208 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 2927171457 (1429282 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 959/ head 254/ sector 63 The data for partition 2 is: DEFANGED_UNUSED The data for partition 3 is: DEFANGED_UNUSED The data for partition 4 is: DEFANGED_UNUSED - # bsdlabel -A da1s1 # /dev/da1s1: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 182207 sectors/unit: 2927171457 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 29271714570unused0 0 # raw part, don't edit d: 20971520004.2BSD 2048 16384 28552 e: 1048576000 2097152004.2BSD0 0 0 f: 1668880257 12582912004.2BSD 2048 16384 28552 - # tunefs -p /dev/da1s1e tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f)16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) - # fsck /dev/da1s1e ** /dev/da1s1e ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 36339 files, 23828738 used, 230065680 free (712 frags, 28758121 blocks, 0.0% fragmentation) - # dumpfs /dev/da1s1e magic 19540119 (UFS2) timeThu Aug 4 10:32:28 2005 superblock location 65536 id [ 42a2003d 11af58d9 ] ncg 2787size262144000 blocks 253894418 bsize 16384 shift 14 mask0xc000 fsize 2048shift 11 mask0xf800 frag8 shift 3 fsbtodb 2 minfree 8% optim timesymlinklen 120 maxbsize 16384 maxbpg 2048maxcontig 8 contigsumsize 8 nbfree 28758121ndir423 nifree 65603083nffree 712 bpg 11761 fpg 94088 ipg 23552 nindir 2048inopb 64 maxfilesize 140806241583103 sbsize 2048cgsize 16384 csaddr 3000cssize 45056 sblkno 40 cblkno 48 iblkno 56 dblkno 3000 cgrotor 1939fmod0 ronly 0 clean 1 avgfpdir 64 avgfilesize 16384 flags soft-updates fsmnt /home volname swuid 0 ___ freebsd-questions@freebsd.org mailing list
register as online retailer of FreeBSD
Hello, I finisched my online shop in the last days. So want to ask, if i could register my shop as an online retailer of FreeBSD. If yes, which information do you require? Thank you. carl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software Router
On 8/3/05, Subhro [EMAIL PROTECTED] wrote: Hello Folks, One of my clients had asked me to provide a router. I was planning to use an old P1 boxs to make the router. The requirements state that it is for the purpose of internet – vlan communication. The router must have features like encapsulation , creating sub interfaces , enabling port trunking (802.1Q) etc. Is it possible? You could give m0n0wall a try, it has support for VLAN http://www.m0n0.ch/wall/index.php Use the latest beta version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: f77 abort
On Thu, Aug 04, 2005 at 11:00:46AM +0300, Danny Braniss wrote: this 11k lines of fortran compile and run under Linux, on FreeBSD 5.4, compiling with f77 produces a binary, apparently without errors, but executing it, inmediately gives 'Abort', ldd gives signal 6 ktrace is not very helpful :-) 36372 ktrace RET ktrace 0 36372 ktrace CALL execve(0xbfbfea0f,0xbfbfe914,0xbfbfe91c) 36372 ktrace NAMI ./xm99 any ideas? Could it have a very big stack or heap? Try increasing your stacksize and datasize limits. Bingo! thanks, danny David. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A secure connection to an SCO Unix 5.2 behind a pf firewall.
Quoting Martin Welk [EMAIL PROTECTED]: On Wed, Aug 03, 2005 at 05:06:37PM -0500, [EMAIL PROTECTED] wrote: I would appreciate any suggestions for a reasonably secure solution. I just found all this out and am totally blank. Have a look at OpenVPN (http://www.openvpn.org/), it is available as a FreeBSD port and it comes with a Windows GUI clients, if your client will need that. It allows your FreeBSD box to be the endpoint of the connection, and you can set network parameters for the connection from the server side, for example, a route to the SCO box for allowing ssh or telnet. Thanks, Martin. I'm going there right now. From what you say that is exactly what I need if I can easily keep the users off the LAN by restricting them to telneting to the SCO box. These are far from being trusted users. The connection will be used by a large companies staff for everything from accounting system updates to reporte generation, and printing. I don't want them playing there :D. The more I talk the more this sounds like a VERY restrictive jail. Thanks again, ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what's next? (error after BTX started)
It worked! after changing BIOS setting for CDdrive from DMA to PIO. Greetings! Mihai Peşte ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what's next? (error after BTX started)
On 8/4/05, user local [EMAIL PROTECTED] wrote: It worked! after changing BIOS setting for CDdrive from DMA to PIO. Greetings! Mihai Peşte but why?... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trying to get tv-out to work with Xorg
Ahoy. I've had this old ATI Rage II video card for months and haven't been able to get the tv-out on it to work. I have found no documentation on the internet and only two or three examples of xorg.conf files, none of which have worked. I'm turning to you guys. Let me show you what I currently have for the device section for my video card and hopefully we can go from there. Section Device Identifier Rage Driver ati Option NoTV no Option MonitorLayout STV, CRT Option TVOutFormat Composite Option TVStandard NTSC Option ConnectedMonitor TV EndSection __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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 mirror the freebsd site
huang mingyou wrote: I wan't make a http mirror for the FreeBSD.Can I only mirror the i386 arch?and when I mirror finished how to join the mirorr site database? While you can mirror only the pieces you want, an official mirror needs to mirror complete chunks of stuff. See the fine documentation here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs ...although there are versions in other languages, too. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: raid monitoring (was: sound vs. PCIX bus)
On Thu, Aug 04, 2005 at 04:54:14AM -0500, Nikolas Britton wrote: Heres a question for others to answer. How would you setup a sound alert if for example one of the drives in a RAID 1 failed? This would be for an ata-mkIII PseudoRAID mirror setup. And what about email or phone call alert? smartd(8), from the smartmontools port can be configured to send e-mail warnings. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpfEehbwwVhy.pgp Description: PGP signature
5.4-release install problem
Greetings, I downloaded the 5.4-release iso images from the freebsd website. I used my windows machine and Nero to burn the iso images to cd's. I have an old machine that I am trying to install 5.4-release on. It is a PII 333, SCSI with 30GB scsi hard drive. I place cd 1 in the drive (disk 1 iso) and reboot the machine. When it boots, it looks to the cdrom drive as the first boot device. When it does, my screen is full of scrolling text which looks like dump info. It scrolls on and on. Any ideas on the problem ? thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmlcatmgr: entry already exists
David LeCount [EMAIL PROTECTED] writes: --- Lowell Gilbert [EMAIL PROTECTED] wrote: On my system, that file belongs to sdocbook-xml itself. I don't actually know much about xmlcatmgr. Maybe you should ask the maintainer of the sdocbook-xml port? I would bet that the file was originally installed by sdocbook-xml. However, I uninstalled that port after receiving the error in hopes of correcting it, but it persists. I can only guess that the file was marked in some database as belonging to another port or possibly an older version of sdocbook-xml that is no longer installed, but I really don't know enough about package management in FreeBSD to know for sure. I'm tempted to just delete the file and try reinstalling the port again, but I sure would feel comfortable with some knowledgable advice before doing something so wreckless. As I said before, the knowledgeable advice is mostly likely to be available from the port maintainer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-rel Bootloader Wedgie on Supermicro 5013C-MT
Please don't top-post. Joe Hamelin [EMAIL PROTECTED] writes: Correct. The boot selection screen locks and gets jumbled when booting from the 5.4-RELEASE-i386-disc1.iso disk. What happens when you boot from floppies? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail
John Larson [EMAIL PROTECTED] writes: I have a peer to peer network and when I send a form to the server this is the maillog. I have set up var/mail/user in main.cf. how do i retrieve the mail. I hope to use freebsd mail program but I don't know how to configure it. this system is not connected to the internet. May 5 23:20:31 www postfix/local[269]: 96A4613C: to=[EMAIL PROTECTED], orig_to=larson, relay=local, delay=0, status=sent (delivered to mailbox) May 5 23:20:31 www postfix/qmgr[178]: 96A4613C: removed Assuming you used a typical configuration for your Postfix installation,it will deliver mail to the same /var/mail/${USERNAME} files that the stock mail(1) program expects. If you have a specific problem with it, give us details. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-release install problem
On Thursday 04 August 2005 02:33 pm, Darryl Hoar wrote: Greetings, I downloaded the 5.4-release iso images from the freebsd website. I used my windows machine and Nero to burn the iso images to cd's. I have an old machine that I am trying to install 5.4-release on. It is a PII 333, SCSI with 30GB scsi hard drive. I place cd 1 in the drive (disk 1 iso) and reboot the machine. When it boots, it looks to the cdrom drive as the first boot device. When it does, my screen is full of scrolling text which looks like dump info. It scrolls on and on. If the text starts grey, then switches to white, then turns grey again that's FreeBSD booting. After a little bit sysinstall should load. sysinstall is the utility used to install FreeBSD. Any ideas on the problem ? So far it doesn't sound like anything is wrong. Have you read the handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html ? thanks, Darryl Bryan -- Open Source: by the people, for the people. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xmlcatmgr: entry already exists
I finally got this issue resolved. I ran the exact xmlcatmgr command it failed on, except I replaced add with remove. That removed the entry from the database that it was complaining about. Unfortunately I destroyed another database figuring it out, but I'm just going to have to recompile everything to fix that. Thanks. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.4-release install problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bryan Maynard Sent: Thursday, August 04, 2005 4:39 AM To: freebsd-questions@freebsd.org Subject: Re: 5.4-release install problem On Thursday 04 August 2005 02:33 pm, Darryl Hoar wrote: Greetings, I downloaded the 5.4-release iso images from the freebsd website. I used my windows machine and Nero to burn the iso images to cd's. I have an old machine that I am trying to install 5.4-release on. It is a PII 333, SCSI with 30GB scsi hard drive. I place cd 1 in the drive (disk 1 iso) and reboot the machine. When it boots, it looks to the cdrom drive as the first boot device. When it does, my screen is full of scrolling text which looks like dump info. It scrolls on and on. If the text starts grey, then switches to white, then turns grey again that's FreeBSD booting. After a little bit sysinstall should load. sysinstall is the utility used to install FreeBSD. Any ideas on the problem ? So far it doesn't sound like anything is wrong. Have you read the handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html ? thanks, Darryl Bryan snip Well, I went and tried to look at the scrolling text. It had several columsn with in err ef1 cip. Their is a line that says: BTX Halted. ss:esp= I'm pretty sure this is not the normal boot process. I'll look at the handbook as suggested. -Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: 5.4-release install problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar Sent: Thursday, August 04, 2005 10:14 AM To: freebsd-questions@freebsd.org Subject: RE: 5.4-release install problem -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bryan Maynard Sent: Thursday, August 04, 2005 4:39 AM To: freebsd-questions@freebsd.org Subject: Re: 5.4-release install problem On Thursday 04 August 2005 02:33 pm, Darryl Hoar wrote: Greetings, I downloaded the 5.4-release iso images from the freebsd website. I used my windows machine and Nero to burn the iso images to cd's. I have an old machine that I am trying to install 5.4-release on. It is a PII 333, SCSI with 30GB scsi hard drive. I place cd 1 in the drive (disk 1 iso) and reboot the machine. When it boots, it looks to the cdrom drive as the first boot device. When it does, my screen is full of scrolling text which looks like dump info. It scrolls on and on. If the text starts grey, then switches to white, then turns grey again that's FreeBSD booting. After a little bit sysinstall should load. sysinstall is the utility used to install FreeBSD. Any ideas on the problem ? So far it doesn't sound like anything is wrong. Have you read the handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html ? thanks, Darryl Bryan snip Well, I went and tried to look at the scrolling text. It had several columsn with in err ef1 cip. Their is a line that says: BTX Halted. ss:esp= I'm pretty sure this is not the normal boot process. I'll look at the handbook as suggested. -Darryl Checked the handbook and nothing really relevant to this problem. Also, this machine is currently running 5.1-release, so I know the hardware is good. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to get tv-out to work with Xorg
--- David LeCount [EMAIL PROTECTED] escribió: Ahoy. I've had this old ATI Rage II video card for months and haven't been able to get the tv-out on it to work. I have found no documentation on the internet and only two or three examples of xorg.conf files, none of which have worked. I'm turning to you guys. Let me show you what I currently have for the device section for my video card and hopefully we can go from there. Section Device Identifier Rage Driver ati Option NoTV no Option MonitorLayout STV, CRT Option TVOutFormat Composite Option TVStandard NTSC Option ConnectedMonitor TV EndSection I've been having the same problem for a while! if you find something please let me know = Either write things worth reading, Or do things worth the writing. -Benjamin Franklin __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4 Headless Installation from FreeBSD Disk 1?
I am attempting to install FreeBSD5.4 on a Dell Poweredge 1850 via the serial console. I went through the documentation again and found the following on the FreeBSD 5.4 documentation in installation-i386.txt FreeBSD/i386 5.4-RELEASE Installation Instructions -- snip -- 1.5.6 Tips for Serial Console Users If you'd like to install FreeBSD on a machine using just a serial port (e.g. you don't have or wish to use a VGA card), please follow these steps: 1. Connect some sort of ANSI (vt100) compatible terminal or terminal emulation program to the COM1 port of the PC you are installing FreeBSD onto. 2. Unplug the keyboard (yes, that's correct!) and then try to boot from floppy or the installation CDROM, depending on the type of installation media you have, with the keyboard unplugged. 3. If you don't get any output on your serial console, plug the keyboard in again. If you are booting from the CDROM, proceed to step 5 as soon as you hear the beep. 4. If booting from floppies, when access to the disk stops, insert the first of the kernX.flp disks and press Enter. When access to this disk finishes, insert the next kernX.flp disk and press Enter, and repeat until all kernX.flp disks have been inserted. When disk activity finishes, reinsert the boot.flp floppy disk and press Enter. 5. Once a beep is heard, hit the number 6, then enter boot -h and you should now definitely be seeing everything on the serial port. If that still doesn't work, check your serial cabling as -- snip --- According to that, the CDROM still has the headless option. On this particular server as well as all the other FreeBSD boxes we presently run, removing the keyboard causes the BIOS to indicate a non-functional keyboard but the FreeBSD boot engine doesn't get the message so we always had to have a keyboard in the past in order to type boot -h and that did get the serial console going, often-times at 115,200 baud, but nonetheless going. On 5.4, I made several attempts both with and without the keyboard and never got a beep. I got a monitor and a coworker who can see said monitor to watch the video output and we tried again both with and without a keyboard. Both times, it goes right to a GUI without any opportunity to do anything except watch it boot. I see that the 5.4-RELEASE-i386-bootonly.iso and the 5.4-RELEASE-i386-disc1.iso images are both bootable. I figure I need disk1 to install with. I am sorry for the length of this message but I wanted to demonstrate that we have made every effort to make sure this wasn't just operator error on my part. Any ideas as to how to get this headless installation going with the CDROM are much appreciated. I am replacing one of our DNS's that fried a few weeks ago and we are running on the backup, only until I can get something working again. Many thanks. Martin McCormick WB5AGZ Stillwater, OK OSU Information Technology Division Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing problems with CUPS on localhost server
Hi Daniel: As indicated, I have tried to create links that will redirect to the new lpr placed in /usr/local/bin I did not redirect anything to /usr/local/sbin. My changes were: mv /usr/bin/lp /usr/bin/lp.bak mv /usr/bin/lpr /usr/bin/lpr.bak ln -s /usr/local/bin/lp /usr/bin/lp ln -s /usr/local/bin/lpr /usr/bin/lpr Thanks, Graham/ Daniel Marsh wrote: On Thu, 04 Aug 2005 09:13:18 +0800, Graham North [EMAIL PROTECTED] wrote: I just set up my FreeBSD box to act as a printserver. I used CUPs and Samba following great directions found here: http://www.ajl-tech.com/index2.php?option=contentdo_pdf=1id=16 The printserver works very nicely printing jobs from my WinXP client to an hp4l printer attached to Freebsd, however it will not print files from itself using lpr. A bit of hunting found some gotchas at: http://home.nyc.rr.com/computertaijutsu/cups.html ... and so I tried adding symbolic links for the lp and lpr commands as per the author's recommendations - see bottom of email. The problem still exists however, now instead of getting error messages, if I issue a lpr filename command, my printer gives a quick blink, no errror messages are generated, but neither is printer output - nada! Repeat - Samba and Cups work together fine on this elderly hp4l - print all sorts from Windows. Just cannot access from the server itself. I am sure that this is a simple configuration issue somewhere - my printcap definition, ie: hp4l|lp|hp4l:rm=192.168.0.102:rp=hp4l: ps. This was auto-generated from CUPs and oirignally was hp4l|hp4l:rm=192.168.0.102:rp=hp4l: (I later inserted the lp myself as CUPS does not, either way it doesn't work.) Can anyone please point me straight on this? Thanks, Graham/ Are you using the lpr that was installed with FreeBSD as part of the base or the lpr supplier by the cups-lpr package? FreeBSD base lpr is in /usr/bin|/usr/sbin and the cups-lpr is in /usr/local/bin|/usr/local/sbin... -- Kindness can be infectious - try it. Graham North Vancouver, BC www.soleado.ca No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 8/3/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tripwire Policy File and 5.4
Does anyone know where I can find a good Tripwire policy file for 5.4? I installed tripwire-2.3.1.2_3 from ports, but the default policy file throws a lot of errors. I think it's tailored to 4.x. Thanks, Bret smime.p7s Description: S/MIME Cryptographic Signature
pf problems
Hi, all: Configuration: (all addresses fake, 1.1.1.x - from ISP1, 2.2.2 - from ISP2) # grep ifconfig /etc/rc.conf ifconfig_xl0=inet 1.1.1.254 netmask 255.255.255.128 ifconfig_xl0_alias0=inet 2.2.2.2 netmask 255.255.255.128 ifconfig_xl1=inet 192.168.255.1 netmask 255.255.255.255 ifconfig_vlan0=inet 1.1.1.3 netmask 255.255.255.0 vlan 1001 vlandev xl1 mtu 1496 ifconfig_vlan1=inet 2.2.2.174 netmask 255.255.255.252 vlan 1004 vlandev xl1 mtu 1496 # grep defaultrouter /etc/rc.conf defaultrouter=62.152.84.1 # cat /etc/pf.conf # $FreeBSD: src/etc/pf.conf,v 1.1.2.1 2004/09/17 18:27:14 mlaier Exp $ # $OpenBSD: pf.conf,v 1.21 2003/09/02 20:38:44 david Exp $ # # See pf.conf(5) and /usr/share/examples/pf for syntax and examples. # Required order: options, normalization, queueing, translation, filtering. # Macros and tables may be defined and used anywhere. # Note that translation rules are first match while filter rules are last match. ext_if1 = vlan0 ext_if2 = vlan1 dmz_if = xl0 ext_gw1 = 1.1.1.1 ext_gw2 = 2.2.2.173 lan_net = 192.168.0.0/16 dmz_net1 = 1.1.1.128/25 dmz_net2 = 2.2.2.0/25 table our_nets const { $dmz_net1, $dmz_net2, $lan_net } set block-policy drop set state-policy floating # Normalize all incoming streams scrub in on $ext_if1 scrub in on $ext_if2 # # NAT # # # nat outgoing connections on each internet interface nat on $ext_if1 from { $lan_net $dmz_net2 } to any - ($ext_if1) nat on $ext_if2 from { $lan_net $dmz_net1 } to any - ($ext_if2) # # Block everything by default # # # default deny silently block drop all # block IDENT notifying sender to prevent sendmail and the like from # wasting time waiting for timeout block return in on { $ext_if1 $ext_if2 } proto { tcp, udp } to port = auth block drop log on xl0 all # # Traffic to gateway itself # # # pass in quick any packets destined for the gateway itself pass in quick on $dmz_if proto tcp from any to $dmz_if flags S/SA keep state pass in quick on $dmz_if inet proto { udp, icmp } from any to $dmz_if keep state # pass multicast and IGMP traffic pass quick on $dmz_if inet from any to 224.0.0.0/4 allow-opts keep state pass quick on lo0 # # Classify traffic from DMZ # # # pass traffic from DMZ to Internet pass in on $dmz_if proto udp from $dmz_net1 to any port = 53 keep state tag DMZ_TO_EXT1 pass in on $dmz_if proto udp from $dmz_net2 to any port = 53 keep state tag DMZ_TO_EXT2 # Allow all outgoing connections from DMZ pass in on $dmz_if inet proto tcp from $dmz_net1 to any flags S/SA keep state tag DMZ_TO_EXT1 pass in on $dmz_if inet proto { udp, icmp } from $dmz_net1 to any keep state tag DMZ_TO_EXT1 pass in on $dmz_if inet proto tcp from $dmz_net2 to any flags S/SA keep state tag DMZ_TO_EXT2 pass in on $dmz_if inet proto { udp, icmp } from $dmz_net2 to any keep state tag DMZ_TO_EXT2 # Allow gateway to route between different networks on the DMZ # DMZ nets - DMZ nets pass in on $dmz_if inet proto tcp from { $dmz_net1, $dmz_net2 } to { $dmz_net1, $dmz_net2 } flags S/SA keep state tag DMZ_TO_DMZ pass in on $dmz_if inet from { $dmz_net1, $dmz_net2 } to { $dmz_net1, $dmz_net2 } keep state tag DMZ_TO_DMZ # DMZ nets - LAN net pass in on $dmz_if inet proto tcp from { $dmz_net1, $dmz_net2 } to $lan_net flags S/SA keep state tag DMZ_TO_LAN pass in on $dmz_if inet from { $dmz_net1, $dmz_net2 } to $lan_net keep state tag DMZ_TO_LAN # LAN net - DMZ nets pass in on $dmz_if inet proto tcp from $lan_net to { $dmz_net1, $dmz_net2 } flags S/SA keep state tag LAN_TO_DMZ pass in on $dmz_if inet from $lan_net to { $dmz_net1, $dmz_net2 } keep state tag LAN_TO_DMZ # # Allow classified traffic from DMZ # # # Allow incoming packets from DMZ one more time and route them appropriately # This must be done to IN packets because if we only do it for OUT packets, it happens to late - # packet is routed appropriately, but NAT rule for wrong interface gets fired pass in quick on
Shell script question
I'm working on a shell script to use p0f to identify unauthorized hosts on our network. In the script I use an echo command to see what the output of the command is. This is what it looks like: /usr/local/bin/p0f -i xl0 -N -l -o /root/capture.1123177152.log 'src net 10.0.0.0/8 or src net 129.110.0.0/16' If I paste the output of the echo command to the cli and hit enter, p0f runs and writes to the log. Yet when I actually try to run that same command from the script, p0f complains: pcap_compile: illegal token: ' See man tcpdump or p0f README for help on bpf filter expressions. Here's the script. It's very simple right now, but there's a lot more work to be done. I first have to figure out this problem, though: #!/bin/sh P0F=/usr/local/bin/p0f EPOCH_DATE=`date -j -f %a %b %d %T %Z %Y \`date\` +%s` LOG=/root/capture.${EPOCH_DATE}.log NIC=-i xl0 ARGS=-N -l -o ${LOG} DAEMON=-d FILTER='src net 10.0.0.0/8 or src net 129.110.0.0/16' echo ${P0F} ${NIC} ${ARGS} ${DAEMON} ${FILTER} ${P0F} ${NIC} ${ARGS} ${FILTER} Why is p0f complaining about the bpf filter? I've tried escaping the single quotes, but that generates a different error. I don't understand why the identical command works on the cli, but not in the script. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
installing kernel fails, make is ok
hello! Im having trouble installing my coustom kernel, config and make doesnt say anything... :( help me plz :) //alex -bash-2.05b# uname -a FreeBSD dracula.xxx.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed Apr 27 14:23:02 CEST 2005 [EMAIL PROTECTED] .net:/usr/src/sys/i386/compile/DRACULA i386 -bash-2.05b# make installkernel KERNCONF=DRACULA -- Making hierarchy -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/i386/leg acy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy /usr/share/tmac PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy /usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin :/usr/bin make -f Makefile.inc1 hierarchy cd /usr/src/etc;make distrib-dirs cd: can't cd to /usr/src/etc *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
oops, forgot the conf file
ehh i forgot to send my conf file with the last file, so here it is :) thnx in advance DRACULA.conf Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-release install problem
[Deleted] Well, I went and tried to look at the scrolling text. It had several columsn with in err ef1 cip. Their is a line that says: BTX Halted. ss:esp= I'm pretty sure this is not the normal boot process. I'll look at the handbook as suggested. -Darryl I found this when I Googled BTX Halted. ss:esp= : | BTX Loader 1.00 BTX version is 1.01 | int=0006 err= efl=00010246 eip=1934 | eax=00021d60 ebx= ecx= edx= | esi= edi=00020c34 ebp=00094bec esp=00094bdc | cs=0026 db=0033 es=0033 fs=0033 gs=0033 ss=0033 | cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff | ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff | BTX halted |did you try a hard power reset after this message? I have an old |IBM intellistation that does the same thing with 5.x. After I install |I get the BTX halted, but if I cold boot it after the message it |will boot. It sounds like you get the BTX Halted error before you install, is that correct? If I remember correctly, the ISO image from the web site should have an MD5 hash. Have you compared the hash on the web site with the hash of the ISOs you downloaded? Bryan -- Open Source: by the people, for the people. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache problems
I know this isn't directly freebsd related, but this list has been good to me before. I am running 5-STABLE. I installed Apache 2.1.4 using make install clean after updating my ports collection. Everything seemed to go fine. I then installed mod_php5 via make install clean. I added 192.168.1.102 thereallm.org to my /etc/hosts file (I am testing this box before I send it out for co-located hosting). When I run apachectl start I get no errors - even with -e, but there's no pid for apache or httpd in top (via top | grep httpd or top | grep apache). Thanks, Bryan -- Open Source: by the people, for the people. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[SOLVED] installing a HP Photosmart 7350 usb printer
On Thursday 04 August 2005 10:57, you wrote: [Re: freebsd-questions Digest, Vol 106, Issue 8] System : 5.4-REL-#6 I've installed cups (via ports) and downloaded the .ppd file from linuxprinting.org so I could use it in the kde-printer wizard. No problem so far. I can see and modify the settings also via localhost:631. When printing, the cups error-log sais : stopped with status 2 !. So I've changed the level to debug (see below pls). The file gets in /var/spool/cups/ but nothing gets printed on paper :-( What still goes wrong ? Thx for any help. If you haven't got it sorted yet, I did notice amongst the debug output: I [03/Aug/2005:16:16:34 +0200] Job 8 queued on 'HPPhotosmart7350' by 'beni'. [..] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/filter/pstops, 0xbfbef340, 0xbfbee6b0, 10, 12, 9) I [03/Aug/2005:16:16:34 +0200] Started filter /usr/local/libexec/cups/filter/pstops (PID 17668) for job 8. D [03/Aug/2005:16:16:34 +0200] StartJob: filter = /usr/local/libexec/cups/filter/foomatic-rip D [03/Aug/2005:16:16:34 +0200] StartJob: filterfds[1] = [ 10 13 ] D [03/Aug/2005:16:16:34 +0200] start_process(/usr/local/libexec/cups/filter/foomatic-rip, 0xbfbef340, 0xbfbee6b0, 11, 13, 9) I [03/Aug/2005:16:16:34 +0200] Started filter /usr/local/libexec/cups/filter/foomatic-rip (PID 17669) for job 8. [..] D [03/Aug/2005:16:16:34 +0200] [Job 8] /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory [..] D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BoundingBox: 0 0 595 842 D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Creator: KDE 3.4.1 HTML Library [..] D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%BeginPageSetup D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%EndPageSetup D [03/Aug/2005:16:16:34 +0200] [Job 8] 0 %%Trailer D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw Trailer! D [03/Aug/2005:16:16:34 +0200] [Job 8] Saw EOF! E [03/Aug/2005:16:16:35 +0200] PID 17669 stopped with status 2! D [03/Aug/2005:16:16:35 +0200] UpdateJob: job 8, file 0 is complete. D [03/Aug/2005:16:16:35 +0200] CancelJob: id = 8 D [03/Aug/2005:16:16:35 +0200] StopJob: id = 8, force = 0 D [03/Aug/2005:16:16:35 +0200] StopJob: printer state is 3 It's not clear whether /usr/local/libexec/cups/filter/foomatic-rip: No such file or directory means that the file foomatic-rip is missing, or that foomatic-rip can't find a file it needs, but either way, trouble! cheers, Ian I did see the error but didn't find anything about foomatic-rip. It seems to be part of the /print/foomatic-filters port. After installing that, that error went away, just to bring another one into focus... Seemed that I also needed the /print/hpijs port. And after installing that one too, I can print !! :-) So, to sum it up, to get an HP Photosmart 7350 to work, one needs : - cups - foomatic-filters - hpijs -- FreeBsdBeni. pgpuxKmFHfV1N.pgp Description: PGP signature
Re: installing kernel fails, make is ok
You might first try making a generic kernel with no customization and see if that works. If it does, you might be accidentally leaving out support for something vital like disk drives or something else equally vital causing the kernel to not get along far enough to produce error messages. If the generic configuration produces a working kernel, then start pulling things off and re-making it until you kill it. You will then know what actually caused the problem. If it doesn't tell you anything at all, it must be rather early in the boot process because a kernel can usually spit out an error or to to the screen before it dies. If you get a working kernel that is not quite what you wanted, you can at least save the dmesg output and study it to see what devices are in your computer and make sure that your custom configuration includes all of them. BBB writes: Im having trouble installing my coustom kernel, config and make doesnt say any ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installing kernel fails, make is ok
On Thu, Aug 04, 2005 at 08:09:46PM +0200, BBB wrote: hello! Im having trouble installing my coustom kernel, config and make doesnt say anything... :( help me plz :) //alex -bash-2.05b# uname -a FreeBSD dracula.xxx.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed Apr 27 14:23:02 CEST 2005 [EMAIL PROTECTED] .net:/usr/src/sys/i386/compile/DRACULA i386 -bash-2.05b# make installkernel KERNCONF=DRACULA -- Making hierarchy -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/i386/leg acy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy /usr/share/tmac PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy /usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin :/usr/bin make -f Makefile.inc1 hierarchy cd /usr/src/etc;make distrib-dirs cd: can't cd to /usr/src/etc *** Error code 2 You don't have a full source tree installed. Kris pgp5ksc0qCIp0.pgp Description: PGP signature
Re: installing kernel fails, make is ok
i think so, i used sysinstall, i will try again though - Original Message - From: Derrick MacPherson [EMAIL PROTECTED] To: BBB [EMAIL PROTECTED] Sent: Thursday, August 04, 2005 8:19 PM Subject: Re: installing kernel fails, make is ok do you have all the source installed correctly? On Thu, 2005-08-04 at 20:09 +0200, BBB wrote: cd: can't cd to /usr/src/etc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache problems
On 08/04/05 10:26 AM, Bryan Maynard sat at the `puter and typed: I know this isn't directly freebsd related, but this list has been good to me before. I know exactly what you mean . . . I am running 5-STABLE. I installed Apache 2.1.4 using make install clean after updating my ports collection. Everything seemed to go fine. I then installed mod_php5 via make install clean. I added 192.168.1.102 thereallm.org to my /etc/hosts file (I am testing this box before I send it out for co-located hosting). When I run apachectl start I get no errors - even with -e, but there's no pid for apache or httpd in top (via top | grep httpd or top | grep apache). Try ps -ax | grep httpd to see if it's running. If not, you should be able to start it with this: /usr/local/etc/rc.d/apache2.sh start BTW, none of my business, but you might want to consider sticking with a RELEASE version of FreeBSD for production environments. For the most part, I'm sure STABLE is fine, but it can still have some minor glitches that would be a pain to deal with in a remote system. HTH Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Serocki's Stricture: Marriage is always a bachelor's last option. pgpasr9jWjQ8A.pgp Description: PGP signature
RE: 5.4-release install problem
To: freebsd-questions@freebsd.org Subject: Re: 5.4-release install problem [Deleted] Well, I went and tried to look at the scrolling text. It had several columsn with in err ef1 cip. Their is a line that says: BTX Halted. ss:esp= I'm pretty sure this is not the normal boot process. I'll look at the handbook as suggested. -Darryl I found this when I Googled BTX Halted. ss:esp= : | BTX Loader 1.00 BTX version is 1.01 | int=0006 err= efl=00010246 eip=1934 | eax=00021d60 ebx= ecx= edx= | esi= edi=00020c34 ebp=00094bec esp=00094bdc | cs=0026 db=0033 es=0033 fs=0033 gs=0033 ss=0033 | cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff | ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff | BTX halted |did you try a hard power reset after this message? I have an old |IBM intellistation that does the same thing with 5.x. After I install |I get the BTX halted, but if I cold boot it after the message it |will boot. |It sounds like you get the BTX Halted error before you install, is that |correct? If I remember correctly, the ISO image from the web site |should have an MD5 hash. Have you compared the hash on the web site |with the hash of the ISOs you downloaded? |Bryan Yes, the BTX Halted error occurs prior to the install. I tried hard power reset after getting the message and it still occurrs. I verified the MD5 has and its clean. I am out of ideas. Is there a special way to burn the iso's in windows using Nero ? I followed the nero instructions for burning an ISO image disk. thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd port of php-extension yats
Hello, yesterday I have been given task to upgrade one of my servers to actual versions of Apache2 and PHP4. All went fine.. just for few sites using YATS php-based template system (available at http://yats.sourceforge.net/). There is no such extension in ports and I am unable to build it from source and to integrate it into installed php. Make install process dies with message that he does not know how to make install. Can anyone point me in right direction please? nice evening, Martin -- martin hudec * 421 907 303 393 * [EMAIL PROTECTED] * http://www.aeternal.net Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws. Douglas Adams, The Hitchhiker's Guide to the Galaxy pgpbBZOE90cTb.pgp Description: PGP signature
Re: Apache problems
Bryan Maynard wrote: I know this isn't directly freebsd related, but this list has been good to me before. I am running 5-STABLE. I installed Apache 2.1.4 using make install clean after updating my ports collection. Everything seemed to go fine. I then installed mod_php5 via make install clean. I added 192.168.1.102 thereallm.org to my /etc/hosts file (I am testing this box before I send it out for co-located hosting). When I run apachectl start I get no errors - even with -e, but there's no pid for apache or httpd in top (via top | grep httpd or top | grep apache). Got apache2_enable=YES in /etc/rc.conf? -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound vs. PCIX bus
On 8/4/05, hal [EMAIL PROTECTED] wrote: On Aug 4, 2005, at 3:54 AM, Nikolas Britton wrote: On 8/3/05, hal [EMAIL PROTECTED] wrote: Can anyone recommend a sound card for the PCIX bus? You will not be able to find a sound card that's PCI-X. A 16-bit / 44KHz PCM audio stream is something like 1MB/s and the 32-bit / 33MHz PCI bus can support 133MB/s. I don't think their will ever be a PCI-X based sound card You can use a normal PCI card in a PCI-X slot so just buy an el-cheapo sound can an stick pop it in there We are talking about PCI-X and not PCI-eXpress, right? I don't know which bus I have for sure, but the card slots have a non-removable bridge in them which prevents me from inserting the sound card I have. BTW others have suggested various schemes for using the internal speaker. (THANKS) I have tried their suggestions and they work. Not loud enough of course, but I may be able to solve that. For the record Here's what PCI, PCI-X, and PCIe x16 buses look like: http://www.gamepc.com/labs/view_content.asp?id=xeon64mbpage=4 I also found a sound card that will work in a PCI-X slot and in FreeBSD. It's a CREATIVE Sound Blaster Live! 30SB04100 24-bit 96KHz and it uses the emu10k1 FreeBSD driver (man snd_emu10k1), you can find it over at newegg.com for $29 + $5 SH http://www.newegg.com/Product/Product.asp?Item=N82E16829102177 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
two pf questions
First question is about the non-routable / reserved address spaces. Are _ALL_ of them needed or just the four mentioned in the pf manual? # Block all inbound traffic from non-routable or reserved address spaces # RFC 1918 private IP block in quick on rl0 from 192.168.0.0/16 to any block in quick on rl0 from 172.16.0.0/12 to any block in quick on rl0 from 10.0.0.0/8 to any # loopback block in quick on rl0 from 127.0.0.0/8 to any block in quick on rl0 from 0.0.0.0/8 to any # DHCP auto-config block in quick on rl0 from 169.254.0.0/16 to any # reserved for docs block in quick on rl0 from 192.0.2.0/24 to any # SUN cluster interconnect block in quick on rl0 from 204.152.64.0/23 to any # Class D E multicast block in quick on rl0 from 224.0.0.0/3 to any The manual of pf only writes about: priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } It's my guess I can leave them out _OR_ I include them in $priv_nets. If I do that the rule becomes very large. Second question: can I rewrite the pf.conf rule (with a \) like this: priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 \ 0.0.0.0/8, 169.254.0.0/16, 102.0.2.0/24, 204.152.64.0/23, 224.0.0.0/3 } -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
adduser re-writting groups file incorrectly
I have a 4.10 machine thats our internal mailserver. we use NIS for the accounts, we add a couple local accounts just in case NIS can't be contacted... We had our software developers make a change to all users PATH, part of which points to a different version of the su command, which we've since discovered doesn't work under fbsd (linux all over here, but i'm trying to change it), that change was made without my knowing. While I was out for lunch one the admins tried to su and couldn't, they assumed they needed a local account, so they used the adduser script to add a user. the next available UID was taken for the account and when the account was created I think it errored on creating the home dir, because it happened to clash with a UID out of NIS. The big kafuffle out of this is that it wrote the group file with the NIS entry written at the top, which caused mail to stop working as it was picking up the wrong UID for mail out of NIS. I was able to recreate this once, but not in 3 more attempts. I guess this isn't a question just a comment I wanted to toss out there... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.x separate /boot slice?
On Thursday 04 August 2005 09:49, Michael Dexter wrote: Hello, I would like to try a separate /boot slice as permitted by FreeBSD 5.x... (http://www.khmere.com/freebsd_book/html/ch08.html) But alas it does not appear to be as simple as simply specifying a /boot during setup. This causes the bootloader to complain about not finding a kernel given that /boot on the root partition is empty. Presumably this is too early in the boot process to link root/boot to the /boot slice given that the fstab has not been read yet. Any pointers on how to get this to work? Perhaps the boot loader needs to be pointed at the /boot slice rather than root and a rootdev variable fed into a specific loader stage? I'm not sure! Search the list. This comes up about once a month, and I've yet to see anyone succeed. Aside from it's the way Linux does it, do you have any good reason for wanting this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell script question
--On Thursday, August 04, 2005 12:46:20 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: I'm working on a shell script to use p0f to identify unauthorized hosts on our network. In the script I use an echo command to see what the output of the command is. This is what it looks like: /usr/local/bin/p0f -i xl0 -N -l -o /root/capture.1123177152.log 'src net 10.0.0.0/8 or src net 129.110.0.0/16' If I paste the output of the echo command to the cli and hit enter, p0f runs and writes to the log. Yet when I actually try to run that same command from the script, p0f complains: pcap_compile: illegal token: ' See man tcpdump or p0f README for help on bpf filter expressions. Here's the script. It's very simple right now, but there's a lot more work to be done. I first have to figure out this problem, though: # !/bin/sh P0F=/usr/local/bin/p0f EPOCH_DATE=`date -j -f %a %b %d %T %Z %Y \`date\` +%s` LOG=/root/capture.${EPOCH_DATE}.log NIC=-i xl0 ARGS=-N -l -o ${LOG} DAEMON=-d FILTER='src net 10.0.0.0/8 or src net 129.110.0.0/16' echo ${P0F} ${NIC} ${ARGS} ${DAEMON} ${FILTER} ${P0F} ${NIC} ${ARGS} ${FILTER} Why is p0f complaining about the bpf filter? I've tried escaping the single quotes, but that generates a different error. I don't understand why the identical command works on the cli, but not in the script. For the record, `eval ${P0F} ${NIC} ${ARGS} ${DAEMON} ${FILTER}` solved the problem. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting messages from remote mail box
All my incoming mail goes to a unix box which I access over the internet using kmail. I also occasionally get at it using pine. Here is my problem: after I use pine kmail will no longer recognize the presence of any message that was there when pine looked at them. How do i reset the message status so that kmail can handle them as usual? Thanks -LenZ- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail
the line in main.cf where to deliver the mail is /var/mail/user. there were two choices do I have to put in /var/mail/${USERNAME} in the main.cf configuration file instead. thanks for your idea John Larson South Lake Tahoe CA. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing problems with CUPS on localhost server
Update - problem partially solved. I believe that a typo in smb.conf caused the grief, HOWEVER the formatting of text files from lp kind of sucks. Printing is hard against the Left Hand Side of page and loses about 2 characters. I looked and did not seem to have a2ps installed therefore installed and rebooted. Print is still the same - bad ALSO - I have been periodically getting kernel IRQ 7 error messages...!!! This does not sound like a good thing. Suggestions? Should I perhaps de-install CUPS and do again? Note this was originally set up as a simple web server, but I thought since it is running 24/7 and has Samba installed to access files from my WinBox I might as well tie the printer to it so as to enable printing of config files etc (yes I can open Samba wider to access those files from Windows but I do not like the security implications!) Some ideas from a good CUPser might really help. Thanks, Graham/ Graham North wrote: I just set up my FreeBSD box to act as a printserver. I used CUPs and Samba following great directions found here: http://www.ajl-tech.com/index2.php?option=contentdo_pdf=1id=16 The printserver works very nicely printing jobs from my WinXP client to an hp4l printer attached to Freebsd, however it will not print files from itself using lpr. A bit of hunting found some gotchas at: http://home.nyc.rr.com/computertaijutsu/cups.html ... and so I tried adding symbolic links for the lp and lpr commands as per the author's recommendations - see bottom of email. The problem still exists however, now instead of getting error messages, if I issue a lpr filename command, my printer gives a quick blink, no errror messages are generated, but neither is printer output - nada! Repeat - Samba and Cups work together fine on this elderly hp4l - print all sorts from Windows. Just cannot access from the server itself. I am sure that this is a simple configuration issue somewhere - my printcap definition, ie: hp4l|lp|hp4l:rm=192.168.0.102:rp=hp4l: ps. This was auto-generated from CUPs and oirignally was hp4l|hp4l:rm=192.168.0.102:rp=hp4l: (I later inserted the lp myself as CUPS does not, either way it doesn't work.) Can anyone please point me straight on this? Thanks, Graham/ From gotchas With FreeBSD, cups will place its configuration files in /usr/local/etc rather than /etc. The lp or lpr command that you will use is also going to be in /usr/local/bin rather than /usr/bin. As /usr/bin is listed first in the path for both root and normal user, if one tries to print using the command lp filename you'll get an error message. There are various workarounds--one can edit the $PATH variable, type the entire path, eg /usr/local/bin/lp or do it the lazy man's way, which, as those who know me would expect, is what I did. I backed up the /usr/bin lp and lpr and then sym linked /usr/local/bin's commands to them. mv /usr/bin/lp /usr/bin/lp.bak mv /usr/bin/lpr /usr/bin/lpr.bak ln -s /usr/local/bin/lp /usr/bin/lp ln -s /usr/local/bin/lpr /usr/bin/lpr ** -- Kindness can be infectious - try it. Graham North Vancouver, BC www.soleado.ca -- Kindness can be infectious - try it. Graham North Vancouver, BC www.soleado.ca No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 8/3/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.x separate /boot slice?
I would like to try a separate /boot slice as permitted by FreeBSD 5.x... Search the list. This comes up about once a month, and I've yet to see anyone succeed. Aside from it's the way Linux does it, do you have any good reason for wanting this? All of my questions seem to generate that response. :) Trust me, they are informed questions. In short: I, like many bad administrators perform updates via ssh rather than at the console in single user mode and like many I hold my breath while seeing if the machine will reboot. I was thinking that previous and updated kernels could both coexist in /boot and a second root slice (plus usr ... as appropriate) could be mounted under /mnt and recive a fresh installation of the updated OS, rather than a overlay that requires mergemastering. Yes, I know you would need to keep track of the kernel picking the right root, yes you would need to keep track of your fstab and of course you would need to worry about settings and additional software. That's all a pain but if it increases the likelihood that a box will reboot after updating, I'm willing to explore it. In some respects this is a question of dual-booting FreeBSD and FreeBSD and I was hoping to share some partitions that are not affected by the update process, likely including var and tmp. Sorry if this was a FAQ. I did search did turn it up. Did I answer you question? Michael. -- Unix newbie: Ultrix and SunOS in 1991 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell PowerEdge1850 Won't Take a Freebsd4.11 Installation.
A Dell PowerEdge1850 will, in fact take a FreeBSD4.11 installation. This problem has been solved. It turns out that Dell Computers only supports a particular version of Redhat at this time. They put a special partition on the drives shipped with PowerEdge 1850's that is about 50 MB which is some sort of diagnostic tool they use. It has the side effect of absolutely trashing many other Linux distributions and FreeBSD4.11, possibly FreeBSD5.4, also although we didn't try it. For some reason, the fdisk utility on a Windows98 boot disk is Draconian enough to blow away the special partition and then everything works like normal. Thanks to those who had helpful suggestions. It turned out not to be FreeBSD's fault at all. Martin McCormick WB5AGZ Stillwater, OK OSU Information Technology Division Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting messages from remote mail box
Leonard Zettel wrote: All my incoming mail goes to a unix box which I access over the internet using kmail. I also occasionally get at it using pine. Here is my problem: after I use pine kmail will no longer recognize the presence of any message that was there when pine looked at them. How do i reset the message status so that kmail can handle them as usual? Thanks -LenZ- The issue is most likely because your email account is POP[3] based. Either switch over to IMAP, forward to a specific address that does have IMAP capabilities, or use fetchmail to fetch your mail and then setup your clients to read from the flat file for your mail/setup a server that serves it strictly to localhost. For more information about POP3 and IMAP, see http://www.imap.org/papers/imap.vs.pop.brief.html -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting messages from remote mail box
On Thursday 04 August 2005 22:27, Leonard Zettel wrote: All my incoming mail goes to a unix box which I access over the internet using kmail. I also occasionally get at it using pine. Here is my problem: after I use pine kmail will no longer recognize the presence of any message that was there when pine looked at them. How do i reset the message status so that kmail can handle them as usual? If you have a file called mbox in your home directory, pine will move the contents of your spool file there. If you open pine and move the contents of your inbox somwhere else, you can close pine and delete this file. IIRC it is created automatically by other using some other MUAs, mutt in particular springs to mind. If you can't resist the urge to use mutt then there is a way turn it off in pine, but I can't remember how offhand. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4-RELEASE: ALTQ support in bge driver?
I have recently installed FreeBSD 5.4-RELEASE i386 on a box that uses a Supermicro P8SCT motherboard containing two Broadcom 5721 Gigabit Ethernet controllers. These are working fine and are recognized on boot, but when I tried to configure pf to utilize ALTQ I received the following message: pfctl: bge0: driver does not support altq I understand the bfe driver has ALTQ support since 5.3 - is there a patch from CURRENT I can use? Anyone know what the status of ALTQ is for the bge driver? Cheers, Matt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting messages from remote mail box
On Thursday 04 August 2005 23:32, RW wrote: If you can't resist the urge to use mutt then there is a way turn it off in pine, but I can't remember how offhand. I just remembered. Go to the pine config screen (M S C), and read the help for the option disable-these-drivers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trying to use FreeBSD as a home router, how to setup VOIP to pass through?
My home network is currently setup with a lowend router from my phone company. Its not very good and i have my only phone service through it using VOIP. I've managed to get the rest of my network (3 computers) behind the freebsd machine (computer 4). The problem is that i'd like to move the voip router behind the freebsd machine. I'm assuming i need to do some sort of port forwarding to pull this off. I've done some googling but can't seem to find good documentation on what ports to forward or how one would do port fowarding to another host. I'm using FreeBSD 5.4 stable (week or two old), ipfw and natd with a divert rule in place and practically no other configuration. Does anyone have any resources on forwarding voip traffic? My long term goal is to get voip working and then setup an ip 6 tunnel with HE. I am not currently subscribed to questions so please CC me in replies. Here's a rough idea what my network is like cable modem + + voip router + + freebsd machine + + + pcmacmac Everything is setup wtih IP4 at the moment. Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) FoolishGames.net (Enemy Territory IoM site) Think PC.. in 2006 you can own an Apple PCintosh. Whats next, windows works? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.x separate /boot slice?
At 12:56 AM +0300 8/5/05, Michael Dexter wrote: I would like to try a separate /boot slice as permitted by FreeBSD 5.x... I missed the beginning of this thread. Where did you get the impression that FreeBSD will work if you create /boot as a separate partition? Search the list. This comes up about once a month, and I've yet to see anyone succeed. It came up on this very mailing list back on July 19th, with the subject of:'Re: /boot on a separate partition' Aside from it's the way Linux does it, do you have any good reason for wanting this? All of my questions seem to generate that response. :) Trust me, they are informed questions. In short: I was thinking that previous and updated kernels could both coexist in /boot and a second root slice (plus usr ... as appropriate) could be mounted under /mnt and receive a fresh installation of the updated OS, rather than a overlay that requires mergemastering. In some respects this is a question of dual-booting FreeBSD and FreeBSD and I was hoping to share some partitions that are not affected by the update process, likely including var and tmp. But why does that shared partition have to be '/boot', and not '/'? FreeBSD tends to have a small-ish '/' partition, and then have separate partitions for /var and /usr, and often for /tmp. I do exactly what you'd like to do, but the partition I duplicate is '/'. I have a '/' partition and a '/xRoot' partition, and I use FreeBSD's snapshot feature (in 5.x and better) to duplicate that partition into /xRoot. This gives me a nice backup of /boot, /root, and /etc. I then upgrade the running system. It seems to work fine for me. This is where we get back to the question, Why *must* your goal be done using a separate partition for '/boot'?. I do not mean that to be a hostile question. I'm just saying that I seem to be doing exactly what you want to do, and I've never needed a separate /boot partition to do it. The one trick involved is that you duplicate '/' to '/xRoot', and then you have to remember to change '/xRoot/etc/fstab' so that it points to itself as the '/' partition... I do that in a script, so that change is handled automatically... -- Garance Alistair Drosehn = [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Institute; Troy, NY; USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bge0: WatchDog Timedout -- resetting in FreeBSD 5.3
Is there no one else, who can help me out, from this bge0: WatchDog Time Out -- resetting . I m using FreeBSD 5.3, on Dell Power Edge 6650 Quad Processor Machine, my system get stuck while i m accessing it through ssh. well after some time , when i acces the machine check , /var/log/messages ,, i get bge1: WatchDog Timedout -- resetting error. Is there any one , to tap my back get me off from this headhac,,, Here is the dmesg for my system , ACPI APIC Table: DELL PE6650 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) MP CPU 2.20GHz (2192.90-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf26 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 2147352576 (2047 MB) avail memory = 2095886336 (1998 MB) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard ioapic2 Version 1.1 irqs 32-47 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE6650 on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 cpu4: ACPI CPU on acpi0 cpu5: ACPI CPU on acpi0 cpu6: ACPI CPU on acpi0 cpu7: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0xec00-0xecff mem 0xfe102000- 0xfe102fff irq 16 at device 3.0 on pci0 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pci0: display, VGA at device 4.0 (no driver attached) atapci0: ServerWorks CSB5 UDMA100 controller port 0x8b0-0x8bf,0x376,0x170-0x17 7,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfe10-0xfe100fff irq 10 at devic e 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab0: PCI-ISA bridge at device 15.3 on pci0 isa0: ISA bus on isab0 pcib1: ACPI Host-PCI bridge on acpi0 pci3: ACPI PCI bus on pcib1 amr0: LSILogic MegaRAID mem 0xfce0-0xfce0 irq 21 at device 1.0 on pci3 amr0: [GIANT-LOCKED] amr0: LSILogic PERC 4/DC Firmware 350O, BIOS 1.09, 128MB RAM pcib2: ACPI Host-PCI bridge on acpi0 pci8: ACPI PCI bus on pcib2 bge0: Broadcom BCM5700 Gigabit Ethernet, ASIC rev. 0x7104 mem 0xfcd1-0xfcd 1 irq 17 at device 1.0 on pci8 miibus0: MII bus on bge0 brgphy0: BCM5411 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge0: Ethernet address: 00:11:43:db:68:2a bge1: Broadcom BCM5700 Gigabit Ethernet, ASIC rev. 0x7104 mem 0xfcd0-0xfcd 0 irq 18 at device 2.0 on pci8 miibus1: MII bus on bge1 brgphy1: BCM5411 10/100/1000baseTX PHY on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge1: Ethernet address: 00:11:43:db:68:2b pcib3: ACPI Host-PCI bridge on acpi0 pci9: ACPI PCI bus on pcib3 pcib4: ACPI Host-PCI bridge on acpi0 pci14: ACPI PCI bus on pcib4 pcib5: ACPI Host-PCI bridge on acpi0 pci19: ACPI PCI bus on pcib5 pcib6: ACPI Host-PCI bridge on acpi0 pci24: ACPI PCI bus on pcib6 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: ISA Option ROMs at iomem 0xec000-0xe,0xc-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to de ny, logging unlimited acd0: CDRW SAMSUNG CDRW/DVD SN-324S/U304 at ata0-master UDMA33 Waiting 15 seconds for SCSI devices to
WinXP and FreeBSD configuration problems
Hello all, OK it is now day three and I have given up. This will be a long one just to warn you now. I have a 320 GiB HD and a 5 GiB HD. The 320 is faster than the 5 (yes, it is that old). I want to dual boot WinXP and FreeBSD. The main issue is that I don't want to put the FreeBSD buried behind 100G FAT partition as I would like to have the swap closer to the edge of the HD. I use the 5 G to transfer files and such, especially when changing the OS on a partition. I prefer not to use it a a boot as it is only 5400 and I would have to put the CDROM on either it as prime boot and slow it more or on the 320 and slow it down. This seems like a simple problem but it has not turned out that way. First, I tried to install windows on the first 2G partition then tried to install freebsd as follows ad0s0 NTFS2G #Windows Boot ad0s1 FreeBSD 2G #FreeBSD Boot/Swap ad0s3 FAT 20G #Windows ad0s4 FreeBSD 298G#FreeBSD Now when I finished installing WinXP I could boot with no problems but after installing FreeBSD, I get a BSOD when trying to boot WinXP. I looked thru google, FreeBSD, and Microsoft for a possible answer. No. Everyone seems to just put all of WinXP on the first partition and then FreeBSD or Linux. I think thats fine for a 20, 30 or even 80 GiB HD but I think there will be a performance issue with the boot and swap so deep on the HD. Next, I tried to reinstall WinXP but when I get the the diskpart section, I only see one partition of 130G (diskpart cannot get past the 128G limit). There is no other partitions, not even the FAT labeled partition. Now I am getting frustrated. Next I tried Ranish Partition Manager (great PM by the way, 30 possible primaries). I set it as follows 1 FAT 2G #Windows Boot 2 unused 2G #To be FreeBSD 3 FAT 20G #Windows 4 unused 298G#To be FreeBSD. I used RPM to format the two FAT partitions. Then installed WinXP. WinXP see the two FAT partitions, the first one I format to NTFS and continue the install. After reboot, WinXP boots fine. Then I again try to install FreeBSD and reboot to WinXP to low and behold, the BSOD. Now I am MAD. Next, I used RPM to edit the MBR list so the 2 FAT partitions are 1 and 2 respectively. This fools the WinXP Install but again I get the BSOD after I install FreeBSD. I have also tried to install RPM loader with the last complete cylinder for the boot manager to no avail. I am now about ready to play hackysack with my HD. Since then I have tried several variations of these themes, diskpart, fdisk and/or RPM in varying order but every time I get a BSOD or a single partition in WinXP install. I would love to be able to put another partition between the FreeBSD boot partition and the Windows partition for a different OS (possible Solaris) using RPM to boot the more than 4 primes this will create but I don't dare until this is solved. I have tried to reach zen to control my skyrocketing rage but have failed to reach enlightenment after my second keyboard was pounded into legos. Any idea how to do this. I prefer not to have to use the 5G as a boot disk but will have to if I can't get this working. The most frustrating thing is it should just work. I could easily do this with any other OS other than MS crap. Why does WinXP care what I do with the other prime partitions or how this can possible affect them, I am at a complete loss. At least, I think I understand simple tech work as how HD's work but I could be wrong. Thanks for the help in advance, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WinXP and FreeBSD configuration problems
On Fri, 05 Aug 2005 10:44:30 +0800, [EMAIL PROTECTED] wrote: Hello all, OK it is now day three and I have given up. This will be a long one just to warn you now. I have a 320 GiB HD and a 5 GiB HD. The 320 is faster than the 5 (yes, it is that old). I want to dual boot WinXP and FreeBSD. The main issue is that I don't want to put the FreeBSD buried behind 100G FAT partition as I would like to have the swap closer to the edge of the HD. I use the 5 G to transfer files and such, especially when changing the OS on a partition. I prefer not to use it a a boot as it is only 5400 and I would have to put the CDROM on either it as prime boot and slow it more or on the 320 and slow it down. This seems like a simple problem but it has not turned out that way. First, I tried to install windows on the first 2G partition then tried to install freebsd as follows ad0s0 NTFS2G #Windows Boot ad0s1 FreeBSD 2G #FreeBSD Boot/Swap ad0s3 FAT 20G #Windows ad0s4 FreeBSD 298G#FreeBSD I think one of the problems here would be the fact that you have created multiple FreeBSD slices on the same disk. The layout should be: ad0s0 - Windows - 2g ad0s1 - FreeBSD - 290g ad0s2 - Windows - Leftovers Once you've partitioned the disk in the FreeBSD install you will then need to label it (this is where you set /, /usr, /var, /tmp, and your swap partitions)... Definately don't use dangerously dedicated mode. Install the FreeBSD boot loader on the ad0s1 slice and install Partition Magic on the MBR, or put the FreeBSD boot loader on the MBR (it should work and has done for me in the past, make sure Windows doesn't overwrite it). Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.x separate /boot slice?
Michael Dexter [EMAIL PROTECTED] writes: I would like to try a separate /boot slice as permitted by FreeBSD 5.x... I forget where you got that from. Anyway, the boot(8) manpage makes it pretty clear that your /boot must be on the a of whatever s you're booting, but I'm not as sure as others that you can't get the loader to then boot up a kernel from that /boot but using some other / on another s, probably on its a. I'd be investigating /boot/defaults/loader.conf and its #currdev=disk1s1a # Set the current device #root_disk_unit=0 # Force the root disk unit number #rootdev=disk1s1a # Set the root filesystem and/or how to execute the built-in loader(8) commands, like unload, set currdev, etc. It sounds like that's possible (something about execing in scripts), but you might have to learn a bit of Forth. Try booting to the loader command line, and try to get it to use a kernel+modules from one s and a / from another. loader(8)'s boot_askname sounds encouraging. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail
the line in main.cf where to deliver the mail is /var/mail/user. there were two choices do I have to put in /var/mail/${USERNAME} in the main.cf configuration file instead. your configuration looks fine. to retrieve the mail, type `mail` while logged in as larson. your mail should be there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bge0: WatchDog Timedout -- resetting in FreeBSD 5.3
are you getting the error on both gigabit cards? i know there is known interupt issues with this SMP setup, and someone i know who was complaining had bge's. he ended up rolling back to fxp, but this was in the 4.x days. do a vmstat -i and see if they are listed with their specific irqs -Ben DeadMan Xia wrote: Is there no one else, who can help me out, from this bge0: WatchDog Time Out -- resetting . I m using FreeBSD 5.3, on Dell Power Edge 6650 Quad Processor Machine, my system get stuck while i m accessing it through ssh. well after some time , when i acces the machine check , /var/log/messages ,, i get bge1: WatchDog Timedout -- resetting error. Is there any one , to tap my back get me off from this headhac,,, Here is the dmesg for my system , ACPI APIC Table: DELL PE6650 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) MP CPU 2.20GHz (2192.90-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf26 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 2147352576 (2047 MB) avail memory = 2095886336 (1998 MB) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard ioapic2 Version 1.1 irqs 32-47 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL PE6650 on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 cpu4: ACPI CPU on acpi0 cpu5: ACPI CPU on acpi0 cpu6: ACPI CPU on acpi0 cpu7: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0xec00-0xecff mem 0xfe102000- 0xfe102fff irq 16 at device 3.0 on pci0 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pci0: display, VGA at device 4.0 (no driver attached) atapci0: ServerWorks CSB5 UDMA100 controller port 0x8b0-0x8bf,0x376,0x170-0x17 7,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfe10-0xfe100fff irq 10 at devic e 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab0: PCI-ISA bridge at device 15.3 on pci0 isa0: ISA bus on isab0 pcib1: ACPI Host-PCI bridge on acpi0 pci3: ACPI PCI bus on pcib1 amr0: LSILogic MegaRAID mem 0xfce0-0xfce0 irq 21 at device 1.0 on pci3 amr0: [GIANT-LOCKED] amr0: LSILogic PERC 4/DC Firmware 350O, BIOS 1.09, 128MB RAM pcib2: ACPI Host-PCI bridge on acpi0 pci8: ACPI PCI bus on pcib2 bge0: Broadcom BCM5700 Gigabit Ethernet, ASIC rev. 0x7104 mem 0xfcd1-0xfcd 1 irq 17 at device 1.0 on pci8 miibus0: MII bus on bge0 brgphy0: BCM5411 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge0: Ethernet address: 00:11:43:db:68:2a bge1: Broadcom BCM5700 Gigabit Ethernet, ASIC rev. 0x7104 mem 0xfcd0-0xfcd 0 irq 18 at device 2.0 on pci8 miibus1: MII bus on bge1 brgphy1: BCM5411 10/100/1000baseTX PHY on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto bge1: Ethernet address: 00:11:43:db:68:2b pcib3: ACPI Host-PCI bridge on acpi0 pci9: ACPI PCI bus on pcib3 pcib4: ACPI Host-PCI bridge on acpi0 pci14: ACPI PCI bus on pcib4 pcib5: ACPI Host-PCI bridge on acpi0 pci19: ACPI PCI bus on pcib5 pcib6: ACPI Host-PCI bridge on acpi0 pci24: ACPI PCI bus on pcib6 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: ISA Option ROMs at iomem 0xec000-0xe,0xc-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1:
Re: DVD burning..
On Wednesday, 3 August 2005 at 14:51:06 +0200, cpghost wrote: On Tue, Aug 02, 2005 at 10:22:19AM +0930, Greg 'groggy' Lehey wrote: of coasters, and it might help identify the issues. All my burn failures (about 40% of total!) have been with DVD+Rs, though admittedly a cheap no-name brand bought in Taipei. I've found that they work OK if I burn them at speed=1; if I use the default speed of 4, they usually fail. Same here. DVD+R fail for me at a similar rate, though DVD-R from the same brand are doing just fine. What's puzzling is that growisofs doesn't always notice errors while burning. Approx 1/3rd of errors are first detected while reading the DVD+R back in (MEDIUM ERROR READ BIG etc..). OTOH, I'm adding and later checking md5 checksums for every file; and I've never had a checksum mismatch. If something goes wrong, it's the whole reading of a sector or a bunch of sectors. I don't think that's puzzling. Writing doesn't imply reading; if the drive thinks it has written the data, you can't find out whether the medium has also stored it until you read it back. You'll note that the script I mentioned (http://www.lemis.com/grog/making-AUUGN.html) includes a separate verify step. Based on my experience (and yours :-), I'd strongly recommend always verifying. New discovery about ISO file systems (today): you can burn symlinks to DVD, and they'll work under FreeBSD and Linux. They fail under Microsoft. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpiRY5hDsItY.pgp Description: PGP signature