.mc file for FreeBSD's sendmail.cf
Where can I find the .mc file that is used to make the standard sendmail.cf file that comes with FreeBSD ? Thanks... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: partition is e should be a -- how to fix?
On Tuesday, Mar 4, 2003, at 15:24 US/Mountain, Mike Meyer wrote: In [EMAIL PROTECTED], Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] typed: On Tuesday, Mar 4, 2003, at 14:55 US/Mountain, Mike Meyer wrote: Okay, should I be able to have an a and an e that overlap? Disklabel doesn't seem to want to let me do this. Yes, you should, but apparently someone decided not to allow that. Personally, that strikes me as a being bogus, but fixing it requires hacking disklabel. yeah, not very interesting at this particular moment :-) Back in my ultrix days I remember we could overlap things and that was something we had to watch for by hand... Try booting the fixit cdrom, and doing the disklabel to chagne e to a without mounting e. ok, I will see if I can scare up a CDrom drive :-) thanks Chad To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: partition is e should be a -- how to fix?
On Tuesday, Mar 4, 2003, at 14:55 US/Mountain, Mike Meyer wrote: However, I am wanting some second opinions on this, and since I am not a disklabel guru, some guidance on how to use disklabel without screwing up my system would be appreciated. Basically, run disklabel -e /dev/da0s1. That will create a temporary file with the disklabel in it, and open an editor on that file. Delete the line - if it exists - for a, copy the e line to where it was, and then change the initial e to an a. Then save the file and exit the editor. Fix your fstab to refer to da0s1a instead of da0s1e, and reboot. Okay, should I be able to have an a and an e that overlap? Disklabel doesn't seem to want to let me do this. before: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 8031870unused0 0 # (Cyl.0 - 49*) e: 80318704.2BSD0 0 0 # (Cyl.0 - 49*) after: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 80318704.2BSD0 0 0 # (Cyl.0 - 49*) c: 8031870unused0 0 # (Cyl.0 - 49*) e: 80318704.2BSD0 0 0 # (Cyl.0 - 49*) I get a partitions 'a' and 'e' overlap -- reedit? or something very similar to this. If I say no, it quits out but then reading the disklabel back in shows no a. if I try and replace e with a so that there is only one I get an error disklabel: ioctl DIOCWDINFO: open partition would move or shrink and it won't let me do that either, even in '-r' mode which should only affect the on disk label and not the memory label(??) . So I am still not getting this to work. (4.7 machine) thanks Chad To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
[EMAIL PROTECTED] wrote: I have a static IP and a number of remotes with Cable or ADSL access. Remotes have FreeBSD, or router firewalls ala Linksys, Netgears. To make support/access easier can I set up my own Dynamic DNS server on the static address and have those remotes register their IP's with it when they change ? Thanks in Advance -Jay. Sure, why not. I don't have experience with *dynamic* DNS but i do operate a *private* DNS server in our department. You have to put your DNS server's IP into your clients' /etc/resolv.conf and setup your DNS server to forward requests that it can't hande itself to yur ISP's DNS server. HTH Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:[EMAIL PROTECTED] Phone : +49/421/218-4664 Fax :-3341 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Upgrading sendmail to 8.12.8
Ok, yesterday morning I applied the security patch for sendmail 8.12.6 -- along with about half of the rest of the world. :) Everything works fine. However, I would like to upgrade to 8.12.8. So, I downloaded the tarball (from sendmail.org), ran the ./Build script, and tested the binary before using it. It was missing half the goodies I had compiled in earlier (like SASL). That did not surprise me, really. But my question is, how can I make the sendmail src I untarred in my work-dir aware of my current config files? I mean, so I will only need to recompile (without having to set up everything from scratch; and then, come the new upgrade, go through the same cumbersome motions again). And, perhaps this is pushing my luck, but when will there be an 8.12.8 in the ports collection? I found 8.12_7 there, but I am obviously not going with that. Thanks, - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cat
On Wed, 26 Feb 2003, Tijl Coosemans wrote: I want to remove CRs from text files so what I did is this: cat filename | tr -d '\r' filename However, I often end up with an empty file. Just out of interest, somebody who knows why that is? This is because prior to any other action the shell opens the file for writing, in effect creating a new empty file to act as the input for any other operations. Some utilities like sort provide their own solutions to let you use the same file as both input and output, but most require an alternate strategy. The most common method is to use two files to avoid having the original overwritten until all operations are complete: utility -flags file.1 file.2 mv file.2 file.1 Alternatively you can replace the intermediate files with standard output/input to allow the original file to be replaced with the output of the command you wish to run: cp file - | (utility -flags - file) Cheers, Viktor To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: partition is e should be a -- how to fix?
On Tuesday, Mar 4, 2003, at 15:33 US/Mountain, Chad Leigh -- Shire.Net LLC wrote: On Tuesday, Mar 4, 2003, at 15:24 US/Mountain, Mike Meyer wrote: Try booting the fixit cdrom, and doing the disklabel to chagne e to a without mounting e. ok, I will see if I can scare up a CDrom drive :-) OK, I ended up making the boot floppies and using the fixit shell to change the disklabel. All is well. Hardest part was snaking a floppy cable underneath disks and onto the MB... (also got my posts not hitting the list problem fixed -- in moving to a new provider over the weekend, there was a reverse DNS issue for my netblock, which is now fixed) Thanks for all the help Chad To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [newbie] pkg_fetch fails to fetch files
Andy Park wrote: I'm trying to run 'portupgrade' to update my part of my package tree. (FreeBSD 4.7 off the mini-ISO) So am I doing something wrong? Maybe. To install openssl I recommend updating your world. To fix your download location, maybe MASTER_SITES should be overwritten (see make.conf(5)). So long, Jens To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CODA 5.3.20 compilation under FreeBSD 5 (stat structure problem)
Hi Kris, Do we need to recompile the kernel with options CODA and preload the module by changing /boot/loader.conf in FBSD R5? BTW, although it is off topics, what is the different between loading vinum from module than starting it from rc.conf? I was trying to map my root disk to a vinum subdisk but failed. I don't want to change it now. I suspect that it would have worked if I loaded the vinum module rather than started vinum from rc.conf. --- Lou On Wed, 5 Mar 2003, Kris Kennaway wrote: On Tue, Mar 04, 2003 at 08:04:20PM -0800, Tak Pui LOU wrote: Greetings All, I am trying to compile CODA 5.3.20 on FreeBSD Release 5. The compilation stopped when it tries to compile coda-5.3.20/coda-src/venus/vproc.cc in which VattrToStat (line 787) try to do the following: sp-st_qspare[0] = 0; sp-st_qspare[1] = 0; And, I look into the stat.h in FBSD 5, the struct of stat has changed and it no longer has st_qspare in it. What can I do to get around with this? Apply the patches in PR ports/48830. I'm just in the process of testing and committing this. Kris To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CODA 5.3.20 compilation under FreeBSD 5 (stat structure problem)
On Wed, Mar 05, 2003 at 02:15:12AM -0800, Tak Pui LOU wrote: Hi Kris, Do we need to recompile the kernel with options CODA and preload the module by changing /boot/loader.conf in FBSD R5? BTW, although it is off topics, what is the different between loading vinum from module than starting it from rc.conf? I was trying to map my root disk to a vinum subdisk but failed. I don't want to change it now. I suspect that it would have worked if I loaded the vinum module rather than started vinum from rc.conf. Actually, the coda kernel code is apparently broken on 5.0. [EMAIL PROTECTED] is working on it now..I've CC'ed him so you can help with testing. Kris pgp0.pgp Description: PGP signature
Re: A couple of questions related to the sendmail patch, etc.
On 2003-03-04 22:38, taxman [EMAIL PROTECTED] wrote: On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote: On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote: : A couple of quick questions... : : I've downloaded the 8.11.6 patch from sendmail.org, and used the : instructions they provided : [patch -p0 /PATH/TO/sendmail.8.11.6.security.cr.patch], which then : prompts me for 'which file to patch.' I'm not clear on which file I : _need_ to patch? Or where it would be. You should run the patch command with /usr/src/contrib/sendmail as your current working directory. I don't run sendmail at all, but I would like to learn how to apply the patch. doing: patch -p0 /home/tim/sendmail.8.12.security.cr.patch in the above directory still gives the File to patch: prompt What else needs to be done to apply the patch? Hmmm, sorry for the confusion. I didn't read the patch carefully. The correct way of applying it for 8.11.x is: # cd /usr/src/contrib/sendmail/src # patch -p1 /PATH/TO/sendmail.8.11.6.security.cr.patch To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A couple of questions related to the sendmail patch, etc.
At 12:27 05.03.2003 +0200, you wrote: On 2003-03-04 22:38, taxman [EMAIL PROTECTED] wrote: On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote: On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote: : A couple of quick questions... : : I've downloaded the 8.11.6 patch from sendmail.org, and used the : instructions they provided : [patch -p0 /PATH/TO/sendmail.8.11.6.security.cr.patch], which then : prompts me for 'which file to patch.' I'm not clear on which file I : _need_ to patch? Or where it would be. You should run the patch command with /usr/src/contrib/sendmail as your current working directory. I don't run sendmail at all, but I would like to learn how to apply the patch. doing: patch -p0 /home/tim/sendmail.8.12.security.cr.patch in the above directory still gives the File to patch: prompt What else needs to be done to apply the patch? Hmmm, sorry for the confusion. I didn't read the patch carefully. The correct way of applying it for 8.11.x is: # cd /usr/src/contrib/sendmail/src # patch -p1 /PATH/TO/sendmail.8.11.6.security.cr.patch I'm running the patch now, but it looks strange to me.. Is this patch suppose to take a long time (minutes) without any output on the screen? /Andreas --- Andreas Widerøe Andersen [EMAIL PROTECTED] Pragma AS http://www.pragma.no To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A couple of questions related to the sendmail patch, etc.
On 2003-03-05 12:00, Andreas Wider?e Andersen [EMAIL PROTECTED] wrote: At 12:27 05.03.2003 +0200, you wrote: On 2003-03-04 22:38, taxman [EMAIL PROTECTED] wrote: Hmmm, sorry for the confusion. I didn't read the patch carefully. The correct way of applying it for 8.11.x is: # cd /usr/src/contrib/sendmail/src # patch -p1 /PATH/TO/sendmail.8.11.6.security.cr.patch I'm running the patch now, but it looks strange to me.. Is this patch suppose to take a long time (minutes) without any output on the screen? No, it's supposed to be real fast and generate copious output on your monitor detailing what files are touched by the changes of the patch. You probably missed the '' redirection shown above. The patch(1) utility reads the diff of changes from standard input. If you don't redirect its stdin with `patch file' it waits for input from the terminal. - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrading sendmail to 8.12.8
On 2003-03-05 08:38, Mark [EMAIL PROTECTED] wrote: Ok, yesterday morning I applied the security patch for sendmail 8.12.6 -- along with about half of the rest of the world. :) Everything works fine. However, I would like to upgrade to 8.12.8. So, I downloaded the tarball (from sendmail.org), ran the ./Build script, and tested the binary before using it. It was missing half the goodies I had compiled in earlier (like SASL). You're asking for instructions on manually rebuilding Sendmail outside of the supported /usr/src tree. The only valid answer is Read the installation instructions of the Sendmail source. And, perhaps this is pushing my luck, but when will there be an 8.12.8 in the ports collection? I found 8.12_7 there, but I am obviously not going with that. The ports version of mail/sendmail is already up to date with 8.12.8. CVSup your ports collection again, and use the Ports :) - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Cisco Tools
On Tue, 2003-03-04 at 21:19, [EMAIL PROTECTED] wrote: Anyone have good recommendation on console login software to configure cisco routers under freebsd??? tip(1) -- Simon Dick [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: out of curiosity..
is there an app that would allow me to play CDs on my BSD box and have that stream over an intranet? I want to set up a CD tower that allows for that sort of thing. Here's what i've got: Maybe /usr/ports/audio/icecast or /usr/ports/audio/icecast2 is something for you. It will encode an audio source into an Ogg Vorbis stream (with a bit rate of your choice). HTH, Simon signature.asc Description: Digital signature
Pentamedia's penta-value satellite card.
Hello FreeBSD activists. 1. I have a sat card sitting in a PCI slot in one of the work machines here. And, I'd like to get FreeBSD to talk with it and use pptp to VPN to a microsoft ras server *nightmare*. ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Is the only thing I get. *Shake and shiver*. Any idea? 2. Any hiccups I should know about using a tie-line (56k modem) and a sat card together. The satellite card can only download and not upload. In theory pptp should work. Anyway, there are drivers out for linux, anybody put something together for FreeBSD? Thank you in advance, Will. == Download ringtones, logos and picture messages at Ananzi Mobile Fun. http://www.ananzi.co.za/cgi-bin/goto.pl?mobile To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
More... Sorry ;)
Hello again, sorry, just thought of another question. Been trying to mount a vmware image with vnconfig... It refuses to mount it. [EMAIL PROTECTED]:~ #] vnconfig /dev/vn0c /usr/home/ultraviolet/christianos.image [EMAIL PROTECTED]:~ #] mount_msdos /dev/vn0c /mnt/vn/0 mount_msdos: /dev/vn0c: Invalid argument What did I miss? Has anyone else been having trouble starting mozilla? It refuses to start, at all. And, I usually use it for email. Can anyone else suggest anything better for email? Something that can download pop3, send through smtp and preferably display it on X11 without the universes dependencies and the nothingness that surrounds it. (The universes dependencies would be refering to evolution which I just refuse to use!) == Download ringtones, logos and picture messages at Ananzi Mobile Fun. http://www.ananzi.co.za/cgi-bin/goto.pl?mobile To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
a question on threads
hi, I wrote a threaded program and ran it. When i did top , i saw a numbers of instances of the same program running with different pids. Since a thread exist in a process, therefore there should have been only one instance of the process not many. I want to know how freeBSD implements pthreads and would it be advantages to use threads in freeBSD as compare to forking multiple instances. thanks manas __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Realtek ALC201A Sound
Hi, perhaps can someone help me to get my onboard sound running. I'm using a ChainTech 7KDD Dual Athlon MP board. Me thinks that the onboard sound is a Realtek ALC201A (AC'97 compliant codec) chip ... at least http://www.chaintechusa.com/FILES/7xMB/TR/7KDD0S102xx0TR.pdf says this. Im running FreeBSD 5.0-Current and I found some chipsets named ALC200 and ALC202 being supported (/usr/src/sys/dev/sound/pcm/ac97.c). So perhaps one of this would work with the ALC201A either? dmesg says pci0: bridge, PCI-unknown at device 7.3 (no driver attached) pci0: multimedia, audio at device 7.5 (no driver attached) pciconf -lv says: [EMAIL PROTECTED]:7:3: class=0x068000 card=0x74431022 chip=0x74431022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-768 System Management' class= bridge subclass = PCI-unknown [EMAIL PROTECTED]:7:5: class=0x040100 card=0xe003270f chip=0x74451022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'AMD-768 AC'97 Audio' class= multimedia subclass = audio Can someone tell me wether there is a chance to get this device running and if so, what to do? Many thanks in advance, Elchy -- Andreas Eltrich ( ( )( ) ) Mail: [EMAIL PROTECTED] Munich, Germany `-^-^-@@-^-^-' http://www.dahoam.de/ Tel: +49-89-54379757 (..) Fax/Modem: +49-89-54379758 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Have a LOT of problems with xemacs-devel-2.4.8
Hi Recently I installed xemacs-devel-2.4.8 from binary package. When I tried to run it I got this error message: /usr/libexec/ld-elf.so.1: Shared object libc.so.5 not found So I copied the only found libc.so.4 to libc.so.5 and ran xemacs again. This time it started properly but during first 15 minutes I discovered a LOT of problems. Some of them are here: 1) Some menu items in Options/Display menu are grayed such as Blinking cursor or all sub-items in Paren Highlighting. 2) When I try to bring up INFO browser with C-h i or when I try to update my configuration file with Options/Save options to init file xemacs simply freezes and only xkill can kill it now. 3) Some useful elisp commands such as defadvice aren't working (it reports that this function isn't defined. How can I solve these problems? May be using libc.so.4 instead of libc.so.5 was wrong? If it was where can I find normal libc.so.5? __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: gateway and other freebsd network function
Hi: This might be a stupid question, but what is a gateway, I've heard many great things about freebsd acting as a gateway to interent, but what is it really? And what are other good things about freebsd in terms of networking? Thanks Herman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Hi there well a gateway is actually a gateway to the internet umm like the thing that shares the internet a lot of users in a Local network can surf the internet using that gateway and about the other question... Um personally I've found that FreeBSD is pretty much the best OS for intranet/extranet servers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How can I completely replace gcc installed by default with new gcc-3.2?
Hi As I know, FreeBSD 4.7 installed gcc-29.5 on my system by default (not as package but as part of base system). When I installed gcc-3.2.1 from binary package I noticed that it didn't overwrote lib and include files in /usr but instead put the in /usr/local/lib/gcc-lib/i386/3.2.1. Why? How can I force it to install gcc in normal way? __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: .mc file for FreeBSD's sendmail.cf
On 2003-03-05 19:13, Brendan Kosowski [EMAIL PROTECTED] wrote: Where can I find the .mc file that is used to make the standard sendmail.cf file that comes with FreeBSD ? If you have installed the sources, check: /usr/src/etc/sendmail/freebsd.mc The installed version of the file is in: /etc/mail/freebsd.mc You can also browse the versions of the file in the CVS repository by pointing your browser at: http://cvsweb.FreeBSD.org/src/etc/sendmail/freebsd.mc - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrading sendmail to 8.12.8
- Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:25 PM Subject: Re: Upgrading sendmail to 8.12.8 And, perhaps this is pushing my luck, but when will there be an 8.12.8 in the ports collection? I found 8.12_7 there, but I am obviously not going with that. The ports version of mail/sendmail is already up to date with 8.12.8. CVSup your ports collection again, and use the Ports :) Thanks! I guess I should stop checking the FreeBSD web-site for what is in the ports; because, like you said, the FTP server had the new sendmail 8.12.8. I only had to use my own .mc file; and voila, I had a brand new sendmail. :) Fully functional, with all the trimmies I had previously added. Man, this went astoundingly easy. :) I saw 8.12.8 is actually logging a bit more verbose, like when I rebuilt the alias and access database (there had been reports of problems in that area, so I tested it), sendmail put a message in /var/log/messages to inform me. Maybe that has always been there, lol, but I had never seen that before. At any rate, I am very happy the way this upgrade went. :) - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How can I completely replace gcc installed by default with new gcc-3.2?
Why? How can I force it to install gcc in normal way? Because your base system *and* most important the FreeBSD 4-STABLE kernel are developed with gcc 2.95.x. If you use a different compiler, you might (and probably will) end up with a br0ken system! You can safely use gcc 3.x for the ports collection, since you can't break your whole installation. If you want gcc 3.x as your system compiler, you have to upgrade to FreeBSD 5. Regards, Simon signature.asc Description: Digital signature
Coexistence Freebsd and win2000
On my PC i have only win2000 and the whole disk is devoted to it. I want to install freeBSD. How can I create a new partition, taking some space from win2000 and not loosing my data? Is there a program that can do this? Thanks a lot. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Have a LOT of problems with xemacs-devel-2.4.8
On Wed, Mar 05, 2003 at 05:19:00AM -0800, sergey dyshel wrote: Hi Recently I installed xemacs-devel-2.4.8 from binary package. When I tried to run it I got this error message: /usr/libexec/ld-elf.so.1: Shared object libc.so.5 not found libc.so.5 is specific to FreeBSD-5.x --- this error suggests you've downloaded a binary package for 5.0 onto a 4.x system. So I copied the only found libc.so.4 to libc.so.5 and ran xemacs again. This time it started properly but during first 15 minutes I discovered a LOT of problems. Some of them are here: This is never going to work properly: libc.so.5 is different in some significant ways from libc.so.4. It's quite surprising that xemacs would start at all. What you need to do is find an xemacs-devel package compiled against FreeBSD 4.x: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/ is a good place to look, as are the equivalent locations on the many regional mirrors. It appears that there is not a suitable precompiled package for xemacs-devel available at the moment. One should appear in the relatively near future as part of the preparations for 4.8-RELEASE. The other alternative is to cvsup yourself an up to date coppy of the ports tree and compile xemacs-devel yourself. Which is a whole lot less hassle than you might think --- the ports system makes all that stuff pretty much automatic. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Calling a Linux library from FreeBSD
Is it possible to open and call functions in a static Linux library (.so) from a native FreeBSD program? I have tried with a small program that just dlopens the library but it doesn't work as i does with a FreeBSD .so (The Linuxulator is loaded) Why am I trying this? I got a couple of cheap Cryptoswift SSL accelerators off ebay and they only come with Linux drivers. The kernel driver seems simple enough to port but openssl communicates with the card thru a precompiled library that that I don't have the source for. Thanks for any help, Martin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
On Wed, 05 Mar 2003 05:55:17 -0800 (PST), Heinrich Rebehn wrote: [EMAIL PROTECTED] wrote: I have a static IP and a number of remotes with Cable or ADSL access. Remotes have FreeBSD, or router firewalls ala Linksys, Netgears. To make support/access easier can I set up my own Dynamic DNS server on the static address and have those remotes register their IP's with it when they change ? Thanks in Advance -Jay. Sure, why not. I don't have experience with *dynamic* DNS but i do operate a *private* DNS server in our department. You have to put your DNS server's IP into your clients' /etc/resolv.conf and setup your DNS server to forward requests that it can't hande itself to yur ISP's DNS server. Thanks, but not what I meant. I'm looking for a way to track the IP addresses of the remote sites as they change, the cable IP's don't chnage very often but the ADSL's get a new public IP every time they loose connectivity. I'm looking to run my own server like www.dyndns.org. I asked because the Linksys, Netgear support contacting a Dynamic DNS server with it's IP address option and there are also clients for FreeBSD. Jay. __ Get your FREE personalized e-mail at http://www.canada.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
wi0 problem with cardbus
hi, fist something about my sytem: Vendor: Fujitsu Siemens Model: Lifebook B2130 CPU: Intel Celeron 400MHz mobile Chipset: Intel 443MX RAM: 192M (64M builtin, 128M additional) HD: 20GB Network: Intel EtherExpress 100 Modem: Lucent LT Winmodem 56k PCMCIA: RL5C475 CardBus OS: FreeBSD 5.0-RELEASE-p4 the problem: i have two wireless nic's. one lucent-orinoco and one avaya. both cards should be supported by the wi driver. but if i insert these cards, i only get wi0 init failed (three times) and wi0 mac read failed (three times). here is a short excerpt of the logs: --- wi0: timeout in wi_cmd 0x; event status 0x8000 wi0: init failed wi0: init failed wi0: init failed wi0: timeout in wi_cmd 0x0021; event status 0x8000 wi0: timeout in wi_cmd 0x0021; event status 0x8000 wi0: mac read failed 5 wi0: mac read failed 5 wi0: mac read failed 5 device_probe_and_attach: wi0 attach failed 5 --- i searched with google but the only thing i found was the information, that init failed means, that the initialization of the card was not succesful. also i tried the debug sysctl switches, but it gives no information about this problem. i tried a non wireless nic with the same kernel and it works without problems. card was found and initialized without any errors. next i tried the wireless cards on a FreeBSD-4.7 system, and the init process there was succesful. now i've recompiled my kernel with an OLDCARD config style. and surprise, the cards are working, without problems. so i searched the docs, and the source, but there i found nothing about problems with the wi driver and NEWCARD. can anyone point me in the right direction to fix this problem, because i need the 32-bit cardbus support for other cards. thanks in advance regards Joerg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
At 2003-03-05T05:25:50Z, [EMAIL PROTECTED] writes: To make support/access easier can I set up my own Dynamic DNS server on the static address and have those remotes register their IP's with it when they change ? Thanks in Advance -Jay. Sure! You'll want to install the net/bind9 port (which is an easy upgrade From the BIND 8 that ships with FreeBSD). Google for nsupdate TSIG; `nsupdate' is the program that your clients will run to update their DNS entries, and `TSIG' is the authentication system that BIND uses to verify that the reguest is from a legitimate party. -- Kirk Strauser In Googlis non est, ergo non est. pgp0.pgp Description: PGP signature
Re: A couple of questions related to the sendmail patch, etc.
Errr... If you are not currently running Sendmail (IE It's not installed).. Then there's nothing to patch Peter At 10:38 PM 3/4/2003 -0500, you wrote: On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote: On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote: : A couple of quick questions... : : I've downloaded the 8.11.6 patch from sendmail.org, and used the : instructions they provided : [patch -p0 /PATH/TO/sendmail.8.11.6.security.cr.patch], which then : prompts me for 'which file to patch.' I'm not clear on which file I : _need_ to patch? Or where it would be. You should run the patch command with /usr/src/contrib/sendmail as your current working directory. I don't run sendmail at all, but I would like to learn how to apply the patch. doing: patch -p0 /home/tim/sendmail.8.12.security.cr.patch in the above directory still gives the File to patch: prompt What else needs to be done to apply the patch? Thanks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrading sendmail to 8.12.8
On 2003-03-05 13:54, Mark [EMAIL PROTECTED] wrote: Man, this went astoundingly easy. :) I saw 8.12.8 is actually logging a bit more verbose, like when I rebuilt the alias and access database (there had been reports of problems in that area, so I tested it), sendmail put a message in /var/log/messages to inform me. Maybe that has always been there, lol, but I had never seen that before. If you're referring to this: : Mar 5 16:50:38 gothmog sendmail[53964]: alias database \ : /etc/mail/aliases rebuilt by giorgos : Mar 5 16:50:38 gothmog sendmail[53964]: /etc/mail/aliases: \ : 34 aliases, longest 10 bytes, 378 bytes total it's been there for a while :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
Sure... I'm almost positive there are ports available that do that sort of thing, I just wrote my own :) I have 2 Perl scripts that do exactly what you want. (well almost)... One sits on the client and runs ifconfig -L device to a text file about every 10 to 20 minutes. The text file is then parsed and if the IP address is different from the most recent one, it sends it to the server. The server runs another script every 5 minutes and if it finds an IP address, it then parses that, and updates a db entry in the namedb database and sends an ndc restart to named. A bit crude, but it works, and I've been using it for about 2 years now... Peter At 09:25 PM 3/4/2003 -0800, you wrote: I have a static IP and a number of remotes with Cable or ADSL access. Remotes have FreeBSD, or router firewalls ala Linksys, Netgears. To make support/access easier can I set up my own Dynamic DNS server on the static address and have those remotes register their IP's with it when they change ? Thanks in Advance -Jay. __ Get your FREE personalized e-mail at http://www.canada.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: .mc file for FreeBSD's sendmail.cf
/etc/mail At 07:13 PM 3/5/2003 +1100, you wrote: Where can I find the .mc file that is used to make the standard sendmail.cf file that comes with FreeBSD ? Thanks... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
firewall revisited
Hello- currently my rc.conf is set up like this for my gateway router. gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=rl1 # natd -interface rl1, public interface natd_flags=# sysctl net.inet.ip.forwarding=1 how can i have the script /etc/ipfw.rules run instead of /etc/rc.firewall. can i change firewall_type=OPEN to firewall_type= and create the entry firewall_script=/etc/ipfw.rules? what i would like to do is block all access to services on the router like httpd, sshd, etc the other think i would like to do is port forward ssh from another machine and allow access of that from an external network. does something like this make sense? thanks, brian /etc/rc.firewall.rules -- #!/bin/sh IPFW=/sbin/ipfw ${IPFW} -f flush ${IPFW} add 00200 divert natd all from any to any via rl1 ${IPFW} add 00250 pass tcp from ${ROUTER_IP} to ${MACHINE1_IP} 22 ${IPFW} add 00260 pass tcp from ${MACHINE1_IP} 22 to ${ROUTER_IP} ${IPFW} add 00300 pass all from any to any To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
connecting two computer through a hub
Hi: I have a machine set up with freebsd and it was set up to connect to the internet. However, now I need to connect that computer to another computer through a hub without any interent connection at all. (I just want to have a VNC viewer up in the freebsd box so that the freebsd box can control the other computer running WinXP) Both computer does not have connection to the interent. My question is, do I have to change any settings on the freebsd box? Thanks Herman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
On Wed, 05 Mar 2003 07:29:29 -0800 (PST), Peter Elsner wrote: Sure... I'm almost positive there are ports available that do that sort of thing, I see a number of ports that can do the Client side but none to run as a server. I have 2 Perl scripts that do exactly what you want. (well almost)... One sits on the client and runs ifconfig -L device to a text file about every 10 to 20 minutes. The text file is then parsed and if the IP address is different from the most recent one, it sends it to the server. The server runs another script every 5 minutes and if it finds an IP address, it then parses that, and updates a db entry in the namedb database and sends an ndc restart to named. Thanks, I figured there would be scripts for the BSD side, the PPoE ADSL FreeBSD box I have out there automatically e-mails me it's address when it changes or reboots but I'm hoping to make get the other devices (Netgear, Linksys) addresses too. We map inbound ports for remote support on these. Dropping FreeBSD boxes out there would be nice but the Netgears are easier to source and configure for the local user should one blow up. At 09:25 PM 3/4/2003 -0800, you wrote: I have a static IP and a number of remotes with Cable or ADSL access. Remotes have FreeBSD, or router firewalls ala Linksys, Netgears. To make support/access easier can I set up my own Dynamic DNS server on the static address and have those remotes register their IP's with it when they change ? Thanks in Advance -Jay. __ Get your FREE personalized e-mail at http://www.canada.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
On Wed, Mar 05, 2003 at 08:44:47AM -0600, Kirk Strauser typed: At 2003-03-05T05:25:50Z, [EMAIL PROTECTED] writes: To make support/access easier can I set up my own Dynamic DNS server on the static address and have those remotes register their IP's with it when they change ? Thanks in Advance -Jay. Sure! You'll want to install the net/bind9 port (which is an easy upgrade From the BIND 8 that ships with FreeBSD). Google for nsupdate TSIG; `nsupdate' is the program that your clients will run to update their DNS entries, and `TSIG' is the authentication system that BIND uses to verify that the reguest is from a legitimate party. Is it absolutely necessary to use BIND9? After all, nsupdate and dnskeygen are allready in the base system. I was planning to start playing with this myself soon, but not if it involves upgrading bind. Ruben -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Coexistence Freebsd and win2000
From: kxen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Coexistence Freebsd and win2000 Date: Wed, 5 Mar 2003 15:58:25 +0200 (EET) On my PC i have only win2000 and the whole disk is devoted to it. I want to install freeBSD. How can I create a new partition, taking some space from win2000 and not loosing my data? Is there a program that can do this? Thanks a lot. Partition Magic should be able to shrink the NTFS partition down and give you enough space to install FreeBSD. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ldap support for amd?
Hi list, is there any ldap support for the amd automounter? The manpage says that i can specify map_type = ldap but amd says: conf: no such map type ldap I read some time ago, that ldap is not available for amd, maybe in 5.0? Otherwise, the man page would be erroneous Regards, Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:[EMAIL PROTECTED] Phone : +49/421/218-4664 Fax :-3341 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: firewall revisited
how can i have the script /etc/ipfw.rules run instead of /etc/rc.firewall. can i change firewall_type=OPEN to firewall_type= and create the entry firewall_script=/etc/ipfw.rules? I have that working right now with: firewall_enable=YES firewall_script=/etc/rc.firewall.local ... where /etc/rc.firewall.local contains the customized ipfw commands. what i would like to do is block all access to services on the router like httpd, sshd, etc the other think i would like to do is port forward ssh from another machine and allow access of that from an external network. does something like this make sense? thanks, If you are using NAT then the -redirect_port option to natd will do that (ie. forward incoming port 22 connections to an internal machine), which can be set in /etc/rc.conf in the natd_flags=-redirect_port ... variable. You have to create a corresponding ipfw rule to allow the traffic after natd rewrites the destination IP to your internal LAN machine, which it looks like you have done below, except the from would be any not ROUTER_IP. It will be the IP of the outside machine trying to connect to port 22. I have a similar port forward set up. Early in the firewall rules allow all established TCP connections, and then later allow the setup for the initial SSH connection. 10.0.1.2 would be a machine behind the firewall to receive SSH connections, and ed0 would be the external internet interface. in /etc/rc.conf: natd_flags=-redirect_port tcp 10.0.1.2:ssh ssh in the firewall script: ipfw -q flush ipfw add 00050 divert natd ip from any to any via ed0 ipfw add 00100 allow tcp from any to any via ed0 established more rules here ipfw add 01000 allow tcp from any to 10.0.1.2 ssh setup more rules here ipfw add 65530 deny log ip from any to any I winged this so forgive any errors, but it's based on what I have working, including a rule to deny and log everything by default at the bottom. /etc/rc.firewall.rules -- #!/bin/sh IPFW=/sbin/ipfw ${IPFW} -f flush ${IPFW} add 00200 divert natd all from any to any via rl1 ${IPFW} add 00250 pass tcp from ${ROUTER_IP} to ${MACHINE1_IP} 22 ${IPFW} add 00260 pass tcp from ${MACHINE1_IP} 22 to ${ROUTER_IP} ${IPFW} add 00300 pass all from any to any To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
panic on server w/ 3GB RAM
We are running a custom webserver application along with squid on a couple of Dell PowerEdge dual processor boxes. They ran fine for weeks with 2GB of RAM but once we increased it to 3GB of RAM we continually get kernel panics... Does anyone know if there is a problem with FreeBSD, 3GB of RAM, and the motherboard on the Dell PowerEdge servers? Is there a workaround? TIA, Salmaan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Project Planning Software
Is there a good project planning software for FreeBSD? Something like http://www.criticaltools.com/ Thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
At 2003-03-05T16:03:22Z, Ruben de Groot [EMAIL PROTECTED] writes: Is it absolutely necessary to use BIND9? After all, nsupdate and dnskeygen are allready in the base system. I was planning to start playing with this myself soon, but not if it involves upgrading bind. Actually, probably not, but I've never tried it with BIND8. -- Kirk Strauser In Googlis non est, ergo non est. pgp0.pgp Description: PGP signature
Re: DVD burner suggestions
[EMAIL PROTECTED] wrote: [Sorry - forgot to CC the list...] For some backups at work, I'm thinking of getting a DVD burner. I was looking at the Sony dru500a, since its compatible with all the various dvd media out there. Has anyone had any luck/experience with this drive (or any dvd burner)? I have the Sony DRU500a drive (internal IDE version). It works well: $ mkisofs -r -o dvd.iso /some/large/tree/no/bigger/than/4.4g [snip] ## You might not need to do the next command more than once ## per DVD. Substitute dvd-rw for dvd+rw if you're using that. $ burncd -F -f /dev/acd0 format dvd+rw $ burncd -f /dev/acd0 dvdrw dvd.iso You might need to be root for those burncd commands; I'm not sure. I think there's a cdrecord look-alike called dvdrecord, but I have no experience with it. I'm not sure what the commands look like if you're using DVD-R or DVD+R, but I assume something like `burncd -f /dev/acd0 data dvd.iso fixate' would work. What version of FreeBSD does this work in? Do I need 5.0 or will the latest 4.X work? -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
4.3 - RELENG_4
Unfortunatly, I have never successfully upgraded a Free box yet, mind you I have only tried it on one. Last year I was dropped into a production environment with all 4.3 machines. I have no devel equipment prior to 4.6. The upgrade attempts were all only on one box (4.6) and failed due to suspect hardware. My question is not howto upgrade, but; 1 Since I have only production equipment to 'test' an upgrade on, I am very nervous. At what point of the upgrade procedure is it too late to turn back if something does not go right. 2 I keep amanda tape backups of every file system on all machines. If something goes critically wrong, can the system be rebooted at least to the point where I can pull data back off tapes? Tks for all help! Steve Bertrand To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
buildworld fails
Hi all, Trying to upgrade from 4.4-20020114-STABLE to 4.7-R-p7. /usr isn't big enough but /var is so: lrwxr-xr-x 1 root wheel - 8 Mar 4 12:28 /usr/obj@ - /var/obj lrwxr-xr-x 1 root wheel - 8 Mar 4 12:28 /usr/src@ - /var/src Ran mergemaster.sh -p, but for 2 buildworlds it fails with: /var/src/lib/libutil/login_times.c: In function `in_lts': /var/src/lib/libutil/login_times.c:159: warning: passing arg 2 of `in_ltms' makes pointer from integer without a cast *** Error code 1 Stop in /var/src/lib/libutil. *** Error code 1 There's a more complete listing below, with a lot of warning: implicit declaration of function messages before it fails. I'm not sure where to go from here. Are the symlinks a problem? Google search comes up with problems with NFS mounts but they don't seem to apply. I can install from a 4.7-R CD but have to go there, put a cd drive in, etc. A hassle. Any ideas? Thanks, Riley mkdep -f .depend -a-DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil/../. ./sys -DINET6 /var/src/lib/libutil/login.c /var/src/lib/libutil/login_tty.c /var/src/lib/libutil/logout.c /var/src/lib/libutil/logwtmp.c /var/src/lib/libutil/pty.c /var/src/lib/libutil/login_cap.c /var/src/lib/libutil/login_class.c /var/src/lib/libutil/login_auth.c /var/src/lib/libutil/login_times.c /var/src/lib/libutil/login_ok.c /var/src/lib/libutil/login_crypt.c /var/src/lib/libutil/_secure_path.c /var/src/lib/libutil/uucplock.c /var/src/lib/libutil/property.c /var/src/lib/libutil/auth.c /var/src/lib/libutil/realhostname.c /var/src/lib/libutil/fparseln.c /var/src/lib/libutil/stub.c cc -O -pipe -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil /../../sys -DINET6 -c /var/src/lib/libutil/login.c -o login.o /var/src/lib/libutil/login.c: In function `login': /var/src/lib/libutil/login.c:58: warning: implicit declaration of function `ttyslot' /var/src/lib/libutil/login.c:61: warning: implicit declaration of function `write' /var/src/lib/libutil/login.c:62: warning: implicit declaration of function `close' cc -O -pipe -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil /../../sys -DINET6 -c /var/src/lib/libutil/login_tty.c -o login_tty.o /var/src/lib/libutil/login_tty.c: In function `login_tty': /var/src/lib/libutil/login_tty.c:54: warning: implicit declaration of function `setsid' /var/src/lib/libutil/login_tty.c:57: warning: implicit declaration of function `dup2' /var/src/lib/libutil/login_tty.c:61: warning: implicit declaration of function `close' cc -O -pipe -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil /../../sys -DINET6 -c /var/src/lib/libutil/logout.c -o logout.o /var/src/lib/libutil/logout.c: In function `logout': /var/src/lib/libutil/logout.c:66: warning: implicit declaration of function `read' /var/src/lib/libutil/logout.c:71: warning: implicit declaration of function `time' /var/src/lib/libutil/logout.c:73: warning: implicit declaration of function `write' /var/src/lib/libutil/logout.c:76: warning: implicit declaration of function `close' cc -O -pipe -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil /../../sys -DINET6 -c /var/src/lib/libutil/logwtmp.c -o logwtmp.o /var/src/lib/libutil/logwtmp.c: In function `trimdomain': /var/src/lib/libutil/logwtmp.c:74: warning: implicit declaration of function `gethostname' /var/src/lib/libutil/logwtmp.c: In function `logwtmp': /var/src/lib/libutil/logwtmp.c:160: warning: implicit declaration of function `time' /var/src/lib/libutil/logwtmp.c:161: warning: implicit declaration of function `write' /var/src/lib/libutil/logwtmp.c:165: warning: implicit declaration of function `close' cc -O -pipe -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil /../../sys -DINET6 -c /var/src/lib/libutil/pty.c -o pty.o /var/src/lib/libutil/pty.c: In function `openpty': /var/src/lib/libutil/pty.c:83: warning: implicit declaration of function `chown' /var/src/lib/libutil/pty.c:83: warning: implicit declaration of function `getuid' /var/src/lib/libutil/pty.c:85: warning: implicit declaration of function `revoke' /var/src/lib/libutil/pty.c:99: warning: implicit declaration of function `close' /var/src/lib/libutil/pty.c: In function `forkpty': /var/src/lib/libutil/pty.c:118: warning: implicit declaration of function `fork' cc -O -pipe -Wall -DLIBC_SCCS -I/var/src/lib/libutil -I/var/src/lib/libutil /../../sys -DINET6 -c /var/src/lib/libutil/login_cap.c -o login_cap.o /var/src/lib/libutil/login_cap.c: In function `login_getclassbyname': /var/src/lib/libutil/login_cap.c:205: warning: implicit declaration of function `geteuid' /var/src/lib/libutil/login_cap.c:206: warning: implicit declaration of function `getegid' /var/src/lib/libutil/login_cap.c:207: warning: implicit declaration of function `setegid' /var/src/lib/libutil/login_cap.c:208: warning: implicit declaration of function `seteuid' /var/src/lib/libutil/login_cap.c:234: warning: implicit declaration of function `close' cc -O -pipe -Wall -DLIBC_SCCS
USB Epson perfection 1250, support?
I have a Epson Perfection 1250 USB scanner. It works fine under Windows Me. I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb However the only thing I'm getting is: [EMAIL PROTECTED] /usr/src/sys/dev/usb #usbdevs -dv Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub0 port 1 powered port 2 powered Controller /dev/usb2: addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub2 port 1 powered port 2 addr 2: self powered, config 1, EPSON Scanner 010F(0x010f), EPSON(0x04b8), rev 1.00 uscanner0 [EMAIL PROTECTED] /usr/src/sys/dev/usb #sane-find-scanner # Note that sane-find-scanner will find any scanner that is connected # to a SCSI bus and some scanners that are connected to the Universal # Serial Bus (USB) depending on your OS. It will even find scanners # that are not supported at all by SANE. It won't find a scanner that # is connected to a parallel or proprietary port. sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 # `UNKNOWN vendor and product' means that there seems to be a scanner # at this device file but the vendor and product ids couldn't be # identified. Currently identification only works with Linux versions # = 2.4.8. And subsequent failure of xscanimage.. It's listed as stable in http://www.mostang.com/sane/sane-mfgs.html Anyone else had luck with this scanner..? ..PATCHES diff -c *** usbdevs.org Tue Aug 27 15:46:28 2002 --- usbdevs Tue Mar 4 22:40:53 2003 *** *** 587,592 --- 587,593 product EPSON 16400x010a Perfection 1640SU scanner product EPSON 12400x010b Perfection 1240U / 1240Photo scanner product EPSON 640U0x010c Perfection 640U scanner + product EPSON 12500x010f Perfection 1250 scanner product EPSON 16500x0110 Perfection 1650 scanner product EPSON GT9700F 0x0112 GT-9700F scanner *** usbdevs.h.org Tue Aug 27 15:49:04 2002 --- usbdevs.h Tue Mar 4 22:57:14 2003 *** *** 594,599 --- 594,600 #define USB_PRODUCT_EPSON_1640 0x010a /* Perfection 1640SU scanner */ #define USB_PRODUCT_EPSON_1240 0x010b /* Perfection 1240U / 1240Photo scanner */ #define USB_PRODUCT_EPSON_640U 0x010c /* Perfection 640U scanner */ + #define USB_PRODUCT_EPSON_1250 0x010f /* Perfection 1250 scanner */ #define USB_PRODUCT_EPSON_1650 0x0110 /* Perfection 1650 scanner */ #define USB_PRODUCT_EPSON_GT9700F 0x0112 /* GT-9700F scanner */ *** usbdevs_data.h.org Tue Aug 27 15:49:04 2002 --- usbdevs_data.h Tue Mar 4 17:30:42 2003 *** *** 874,879 --- 874,885 Perfection 640U scanner, }, { + USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250, + 0, + Seiko Epson, + Perfection 1250 scanner, + }, + { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650, 0, Seiko Epson, *** uscanner.c.org Mon Aug 12 16:19:49 2002 --- uscanner.c Tue Mar 4 17:37:12 2003 *** *** 174,179 --- 174,180 {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640U }, 0 }, + {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN }, To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I run my own Dynamic DNS server for private use ??
On Wed, 5 Mar 2003, at 07:54 [=GMT-0800], [EMAIL PROTECTED] wrote: On Wed, 05 Mar 2003 07:29:29 -0800 (PST), Peter Elsner wrote: Sure... I'm almost positive there are ports available that do that sort of thing, I see a number of ports that can do the Client side but none to run as a server. The server side you get for free with the registration of your domain, at least with Enom (and its many resellers, which are much cheaper, see e.g. www.domainless.com). On the client side you run from cron (say every 15 minutes) just this script: #!/bin/sh #This sends the dynamic IP number of the Cable Connection #to Enom to update the IN A of myveryowndomain.com. fetch -o update.txt http://dynamic.name-services.com/interface.asp \?Command=SetDNSHost\Zone=\%myveryowndomain.com\DomainPa ssword=\%verysecret To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: out of curiosity..
In [EMAIL PROTECTED], charles pelletier [EMAIL PROTECTED] typed: is there an app that would allow me to play CDs on my BSD box and have that stream over an intranet? I want to set up a CD tower that allows for that sort of thing. Here's what i've got: I use esd to stream audio over the net. I capture it from my stereo on one machine, and play it back on a second one, using ssh to stream the data from standard out of the recorder to standard in of the player. If you've got atapi CD rom drive you can use the track devices with dd to read the data instead of esdrec. If you've got a SCSI device, you can use cdda2wav. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.3 - RELENG_4
IAccounts wrote: Unfortunatly, I have never successfully upgraded a Free box yet, mind you I have only tried it on one. Last year I was dropped into a production environment with all 4.3 machines. I have no devel equipment prior to 4.6. The upgrade attempts were all only on one box (4.6) and failed due to suspect hardware. My question is not howto upgrade, but; 1 Since I have only production equipment to 'test' an upgrade on, I am very nervous. At what point of the upgrade procedure is it too late to turn back if something does not go right. If you install the kernel, then reboot (before installing world) you will be ensuring that the new kernel you built will boot reliably. This is the final practical point of return. If you have problems with the new kernel booting, you can copy /kernel.old back to /kernel and be back to where you started. If the new kernel is fine, continue with installworld. Once you've installed world, however, it's an ungodly amount of work to revert everything. 2 I keep amanda tape backups of every file system on all machines. If something goes critically wrong, can the system be rebooted at least to the point where I can pull data back off tapes? As long as your system is bootable, yes. Do you have FreeBSD 4.3 CDs? If so, you can easily do a base install, and then restore from backup to get back up and running as you were. (should things happen to go terribly wrong) I've very seldom had any problems upgrading using cvsup. You will hit a few (minor) gotchas ... read /usr/src/UPDATING and you won't have any problems with them. Basically: Update your source with cvsup read /usr/src/UPDATING and follow any instructions required (I believe you'll need to manually create the relatively new sendmail users) Reveiw you kernel config file to see if any options have changed since 4.3 make buildkernel make installkernel reboot if the reboot doesn't go well, boot kernel.old and copy it to /kernel to get back to 4.3 make buildworld make installworld Going from 4.3 - 4.7 may cause some problems with some ports. The solution is generally to uninstall the port and rebuild it. Update your ports tree first. Schedule yourself a nice chunk of time to do the first machine, then you'll be able to better predict the time required for the rest. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote: The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter, no he didn't. He did the basic steps in the right order. read carefully: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html The only thing I can see he missed is in section 21.4.8 Reboot into Single User Mode. Did single user mode help you? Tim At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message --- --- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
I've upgraded many servers remotely without ever booting into single user mode... The steps I do are as follows: 1) cvsup -g -L 2 stable-supfile (from /usr/src/cvsup) 2) make buildworld (from /usr/src) 3) make installworld (from /usr/src) 4) modify my kernel (from /usr/src/sys/i386/conf/KERNEL NAME) 5) make buildkerenel (from /usr/src) 6) make installkernel (from /usr/src) 7) reboot 8) run mergemaster I've done it this way for the past 3 years and it has never failed me yet. Peter At 12:45 PM 3/5/2003 -0500, you wrote: On Wednesday 05 March 2003 09:38 am, Peter Elsner wrote: The only thing I can see wrong is: you forgot make installworld after your make buildworld. Peter, no he didn't. He did the basic steps in the right order. read carefully: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html The only thing I can see he missed is in section 21.4.8 Reboot into Single User Mode. Did single user mode help you? Tim At 07:28 PM 3/4/2003 -0500, you wrote: [EMAIL PROTECTED] writes: I am trying to upgrade from FreeBSD 4.7-p2 to 4.7-p6, but I get an error. I have run: cd /usr/src make buildworld make buildkernel KERNCONF=SOCKETD make installkernel KERNCONF=SOCKETD Bootet with the new kernel so uname says: FreeBSD loadmaster 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Sun Mar 2 23:50:15 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SOCKETD i386 But then I cd to /usr/src to make installworld his happens: loadmaster# make installworld mkdir -p /tmp/install.715 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.715; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It seems like a nobrain error, but I can't fix it, maybe someone here can help me? Btw please cc to me as I am not on the list. Looks like one of those programs isn't there. Can you find them in the obj tree? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message --- --- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Peter Elsner [EMAIL PROTECTED] Vice President Of Customer Service (And System Administrator) 1835 S. Carrier Parkway Grand Prairie, Texas 75051 (972) 263-2080 - Voice (972) 263-2082 - Fax (972) 489-4838 - Cell Phone (425) 988-8061 - eFax I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say Daddy, where were you when they took freedom of the press away from the Internet? -- Mike Godwin Unix IS user friendly... It's just selective about who its friends are. System Administration - It's a dirty job, but somebody said I had to do it. If you receive something that says 'Send this to everyone you know, pretend you don't know me. Standard $500/message proofreading fee applies for UCE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problems with Mime Defang from ports collection
I have been trying to compile Mime Defang from the ports collection for about a week now. I cvsup'd the other day to upgrade sendmail to the latest (8.12.8?) after that vulnerability. I have SASL2 compiled in with it (used ports collection). Here is the error message that I keep getting from make output: WARNING: WE STRONGLY RECOMMEND THAT YOU USE THE PATCHED VERSION OF MIME-TOOLS TO STOP VIRUSES WHICH PRODUCE MALFORMED MIME. SEE THE README FILE FOR DETAILS. === Building for mimedefang-2.30 cc -O -pipe -march=pentiumpro -pthread -D_POSIX_PTHREAD_SEMANTICS -DPERL_PATH=\/usr/bin/perl\ -DMIMEDEFANG_PL=\/usr/local/bin/mimedefang.pl\ -DRM=\/bin/rm\ -DVERSION=\2.30\ -DSPOOLDIR=\/var/spool/MIMEDefang\ -DQDIR=\/var/spool/MIMEDefang\ -DCONFDIR=\/usr/local/etc/mimedefang\ -c -o mimedefang.o mimedefang.c cc -O -pipe -march=pentiumpro -pthread -D_POSIX_PTHREAD_SEMANTICS -DPERL_PATH=\/usr/bin/perl\ -DMIMEDEFANG_PL=\/usr/local/bin/mimedefang.pl\ -DRM=\/bin/rm\ -DVERSION=\2.30\ -DSPOOLDIR=\/var/spool/MIMEDefang\ -DQDIR=\/var/spool/MIMEDefang\ -DCONFDIR=\/usr/local/etc/mimedefang\ -c -o drop_privs_threaded.o drop_privs.c cc -O -pipe -march=pentiumpro -pthread -D_POSIX_PTHREAD_SEMANTICS -DPERL_PATH=\/usr/bin/perl\ -DMIMEDEFANG_PL=\/usr/local/bin/mimedefang.pl\ -DRM=\/bin/rm\ -DVERSION=\2.30\ -DSPOOLDIR=\/var/spool/MIMEDefang\ -DQDIR=\/var/spool/MIMEDefang\ -DCONFDIR=\/usr/local/etc/mimedefang\ -c -o utils.o utils.c cc -O -pipe -march=pentiumpro -pthread -D_POSIX_PTHREAD_SEMANTICS -DPERL_PATH=\/usr/bin/perl\ -DMIMEDEFANG_PL=\/usr/local/bin/mimedefang.pl\ -DRM=\/bin/rm\ -DVERSION=\2.30\ -DSPOOLDIR=\/var/spool/MIMEDefang\ -DQDIR=\/var/spool/MIMEDefang\ -DCONFDIR=\/usr/local/etc/mimedefang\ -c -o rm_r.o rm_r.c cc -O -pipe -march=pentiumpro -pthread -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o /usr/local/lib/libmilter.a /usr/local/lib/libmilter.a(handler.o): In function `mi_handle_session': handler.o(.text+0x28): undefined reference to `__pthread_detach' *** Error code 1 Stop in /usr/ports/mail/mimedefang/work/mimedefang-2.30. *** Error code 1 Stop in /usr/ports/mail/mimedefang. From my understanding libmilter.a is the portion of sendmail that allows extensions like this.. ls -al /usr/local/lib | grep libmilt -r--r--r-- 1 root wheel 48778 Mar 3 14:29 libmilter.a It appears to have been updated along with sendmail. Anyone have ideas why this isn't working? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Make installworld problem (4.7)
In [EMAIL PROTECTED], Peter Elsner [EMAIL PROTECTED] typed: The steps I do are as follows: 1) cvsup -g -L 2 stable-supfile (from /usr/src/cvsup) 2) make buildworld (from /usr/src) 3) make installworld (from /usr/src) 4) modify my kernel (from /usr/src/sys/i386/conf/KERNEL NAME) 5) make buildkerenel (from /usr/src) 6) make installkernel (from /usr/src) 7) reboot 8) run mergemaster I've done it this way for the past 3 years and it has never failed me yet. You've been lucky. Things other than the handbook order can - and often do - work. But the order in the handbook was carefully worked out to minimize the risk you are taking in doing the upgrade. For instance, by doing the installworld before rebooting on the new kernel, you're committing yourself to running the new kernel before you know if it'll boot or not. Since kernels have to support old binaries, but not vice versa, you can usually reboot with the new kernel and old world and have it work. I do that regularly when upgrading systems with src/obj mounted via nfs. Also, you need at least one last reboot. Running mergemaster changes configuration files that are used at system startup. Unless you reboot after running mergemaster, you risk those changes not taking effect. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How can I completely replace gcc installed by default with newgcc-3.2?
In [EMAIL PROTECTED], sergey dyshel [EMAIL PROTECTED] typed: Hi As I know, FreeBSD 4.7 installed gcc-29.5 on my system by default (not as package but as part of base system). When I installed gcc-3.2.1 from binary package I noticed that it didn't overwrote lib and include files in /usr but instead put the in /usr/local/lib/gcc-lib/i386/3.2.1. Why? How can I force it to install gcc in normal way? You don't want to do that. It'll break building the system. The commands installed in /usr/local/bin will use the correct libraries and include files. Just use those. You can just symlink gcc32 to cc in /usr/local/bin, and make sure that /usr/local/bin is in front of /usr/bin in your path. Things that use cc will use gcc32, and everything will work pretty much like you want. If you're willing to run code on a development branch - which means it's more likely to fail in strange ways, and there'll be less help available when it does - you can upgrade to FreeBSD 5.0, which uses gcc3 in place of 2.95. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
I feel for you. I too am having it. Most of the time it does it while I'm not around, but once I was in elm writing mail, and the screen went black, and the DELL splash screen came on. I ran burnP6 for a few minutes (Boy does it make the system unhappy, but it kept chugging) and BurnMMX too. I'm cvsup'd to Feb 23, RELENG_4. Tuc/TTSG Internet Services, Inc. can faulty hardware be ruled out then? I don't know. burnP6 and burnMX have been running all night 342:16 49.17% 49.17% burnBX 340:52 48.10% 48.10% burnP6 and there are no problems so far. BTW: When I run it, the system actually makes a high pitched squeal. It seems to do that anytime the system is doing something CPU intensive. it's odd though, this thing just started happening on day when i first started creating DSA keyparis. other than that, things were rock solid. Same for me, but mine was upgrading X and it locked up installing. this is starting to leave a sour taste in my mouth. :/ Agreed. Tuc/TTSG Internet Services, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.3 - RELENG_4
Unfortunatly, I have never successfully upgraded a Free box yet, mind you I have only tried it on one. Last year I was dropped into a production environment with all 4.3 machines. I have no devel equipment prior to 4.6. The upgrade attempts were all only on one box (4.6) and failed due to suspect hardware. My question is not howto upgrade, but; 1 Since I have only production equipment to 'test' an upgrade on, I am very nervous. At what point of the upgrade procedure is it too late to turn back if something does not go right. If you install the kernel, then reboot (before installing world) you will be ensuring that the new kernel you built will boot reliably. This is the final practical point of return. If you have problems with the new kernel booting, you can copy /kernel.old back to /kernel and be back to where you started. If the new kernel is fine, continue with installworld. Once you've installed world, however, it's an ungodly amount of work to revert everything. 2 I keep amanda tape backups of every file system on all machines. If something goes critically wrong, can the system be rebooted at least to the point where I can pull data back off tapes? As long as your system is bootable, yes. Do you have FreeBSD 4.3 CDs? If so, you can easily do a base install, and then restore from backup to get back up and running as you were. (should things happen to go terribly wrong) I've very seldom had any problems upgrading using cvsup. You will hit a few (minor) gotchas ... read /usr/src/UPDATING and you won't have any problems with them. Basically: Update your source with cvsup read /usr/src/UPDATING and follow any instructions required (I believe you'll need to manually create the relatively new sendmail users) Reveiw you kernel config file to see if any options have changed since 4.3 make buildkernel make installkernel reboot if the reboot doesn't go well, boot kernel.old and copy it to /kernel to get back to 4.3 make buildworld make installworld Going from 4.3 - 4.7 may cause some problems with some ports. The solution is generally to uninstall the port and rebuild it. Update your ports tree first. Schedule yourself a nice chunk of time to do the first machine, then you'll be able to better predict the time required for the rest. Thanks for the goldmine of info! Unfortunatly, my boxes are sooo old :o) that cvsup appears to be out of date, as I get 'Protocol negotiation failed'. Catch 22 I guess, so I found on http://people.freebsd.org/~jdp/s1g (I think this is John Poelstra's site?) That I have to upgrade my cvsup. I will do this then let you know how the upgrade went. Thanks again. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
Your problems certainly sound like failing hardware. The archives are littered with examples of people who swore black and blue that failing hardware could not possibly be the cause of their mysterious reboots, until they found the failing hardware and replaced it :-) Check and swap out/replace RAM, power supply, CPU fan, cabling, CPU etc. Heres the rub... Mine is a Dell 8200 laptop. Not like I can do much hardware stuff to it... And the old It don't happen in Winderz. Tuc/TTSG Internet Services, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
My second suggestion is going to sound really weird. My FreeBSD system disappears into the boonies when I have a screen saver enabled. That is xscreevsaver. Given enough time, and enough core dumps. it crashes my system as sure as eggs is eggs. I kind of proved this by leaving the systen running for days with and without screen saver. It boonied with the screen saver, it did not wihout. Mine seems to always do it in X, haven't gotten it to do it in command line yet What did you do to fix it? (I run xlockmore) Tuc/TTSG Internet Services, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: connecting two computer through a hub
Hi: I have a machine set up with freebsd and it was set up to connect to the internet. Cool. However, now I need to connect that computer to another computer through a hub without any interent connection at all. (I just want to have a VNC viewer up in the freebsd box so that the freebsd box can control the other computer running WinXP) Both computer does not have connection to the interent. Well, we can show you how to put them both on the internet at the same time using something called network address translation. This will allow both computers to share one public internet ip address. Is this what your asking for help about? My question is, do I have to change any settings on the freebsd box? This will depend on exactly what your asking for help on. Thanks Your welcome. Herman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
vinum: low level access to subdisks / drives
Hello, Here is a vinum question. Assume this setup: Two partitions ad0s1e and ad2s1e of type vinum with the same size. vinum is set up to use this disks as RAID 1 (mirror): drive drive0 device /dev/ad0s1e drive drive2 device /dev/ad2s1e volume mirr plex org concat sd len 0s drive disk0 plex org concat sd len 0s drive disk2 newfs has been done and the /dev/vinum/mirr is mounted to /mirr with rw access. Everything is working without problem. Because we do not rely on the harddisks and the files at /mirr are accessed seldom and random, we want to check, if all sectors of the disks ad0 and ad2 are readable without problem. To do so, we want to run a nightly low priority cron job that tries to read all sectors of a disk without further analyzing the data read. The result of a failed read (hard disk failure) will be a kernel message in /var/log/messages, which we monitor 24x7 a day. Lets say we do dd for reading the sectors: dd if=/dev/ad0s1 of=/dev/zero bs=1024k Questions: 1. Will this conflict with vinum or its internal (kernel) data structures when vinum is running the same time with all components of the RAID 'up'? 2. Will this conflict with parallel read/write access to /mirr ? 3. Should we use dd if=/dev/vinum/sd/mirr.p0.s0 ... instead of /dev/ad0s1e ? with best regards Alexander -- Alexander Haderer Charite Berlin - Germany To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
Tuc wrote: Your problems certainly sound like failing hardware. The archives are littered with examples of people who swore black and blue that failing hardware could not possibly be the cause of their mysterious reboots, until they found the failing hardware and replaced it :-) Check and swap out/replace RAM, power supply, CPU fan, cabling, CPU etc. Heres the rub... Mine is a Dell 8200 laptop. Not like I can do much hardware stuff to it... And the old It don't happen in Winderz. It could be incompatible hardware (i.e. mostly compatible hardware) that works most of the time, but occasionally causes a reboot. Meanwhile, the vender drivers for Windows make it work perfectly there. Also, I've seen flakey hardware that Windows simply didn't exercise enough to cause problems. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cd sound on onboard card
I have installed freebsd 4.8 prerelease on a Dell Dimension 8250. This box has onboard sound which I managed to make work adding the lines: device pcm options PNPBIOS Now general sound works (e.g. playing .wav files) but I can't get the cd to output sound (it reads music cds, plays them, gets the right CDDB infos but no sound). Does anybody have any idea on how to fix this? thanks giuseppe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
It could be incompatible hardware (i.e. mostly compatible hardware) that works most of the time, but occasionally causes a reboot. Meanwhile, the vender drivers for Windows make it work perfectly there. Its been working reliably since last May in 4.5/4.6/4.7 Then the hard drive failed, put a fresh install, and then it was reliable until I was portupgrading X. What could the X system do so horrible that would make the screen just go black and then the splash page happen? Also, I've seen flakey hardware that Windows simply didn't exercise enough to cause problems. I know, had to throw it in. :) Winderz is here just for when STAROFFICE doesn't work right. Tuc/TTSG Internet Services, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cd sound on onboard card
Giuseppe, Off hand, I can think of the following that may be affecting CD audio: a) There is a special cable for audio that connects a CD-ROM to the sound card internally. Perhaps that cable is missing, or is malfunctioning. b) Your mixer settings may be allowing digital sounds through, but the CD line setting may be set to 0. Hope this is of some help. Regards, Justin P. Michel |- President CTO |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- www.jcontinuum.ca - Original Message - From: Giuseppe Pagnoni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:11 PM Subject: cd sound on onboard card I have installed freebsd 4.8 prerelease on a Dell Dimension 8250. This box has onboard sound which I managed to make work adding the lines: device pcm options PNPBIOS Now general sound works (e.g. playing .wav files) but I can't get the cd to output sound (it reads music cds, plays them, gets the right CDDB infos but no sound). Does anybody have any idea on how to fix this? thanks giuseppe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Moved anonymous ftproot, any security concerns?
Hello to my favorite list of people. =] and without any further ado.. I recently reinstalled FreeBSD and i am afraid i didnt think to take the fact that i wanted to mirror freebsd isos and the ports collection into consideration. I also forgot that i had a personal library of a few gigs of ebooks. (i started a bad habit years ago of keeping my www root in /var. I have yet to kick that habit because all my configs and web scripts point to /var/www/html. heh. In short, i made var quite tiny and bit myself in the butt.. =[ [labs] /# df -m /var Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s1d 3671 2840 53884%/var [labs] /# awww sh*t. I moved the ftp directory previously in /var to /usr/ and i edited master.passwd to point ftp to the right dir and did a pwd_mkdb -p /etc/master.passwd.. Ftp seems to be working just fine. My question is, is there some reprocussions of this that i should be weary of? Security issues? I have two 120 gig maxtor drives that i can move ftp too, but /usr isnt all that full cause i made it huge because i mirror the freebsd srces too. and i will never use all that space so it makes more sense to keep it in /usr if i can. keep in mind also this is anonymous ftp we are talking about. thanks. -- Independent WWW/FreeBSD/Linux/Unix consultant, email me for more info. Founder/WebMaster/ The unixhideout network http://www.unixhideout.com [EMAIL PROTECTED] - Free, secure and stable email from UnixHideout The UnixHideout network http://www.unixhideout.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
On Wed, Mar 05, 2003 at 01:59:05PM -0500, Tuc wrote: It could be incompatible hardware (i.e. mostly compatible hardware) that works most of the time, but occasionally causes a reboot. Meanwhile, the vender drivers for Windows make it work perfectly there. Its been working reliably since last May in 4.5/4.6/4.7 Then the hard drive failed, put a fresh install, and then it was reliable until I was portupgrading X. What could the X system do so horrible that would make the screen just go black and then the splash page happen? It exercises the hardware vigorously (CPU, RAM, disk, I/O controllers, ...). This is exactly the situation under which failing hardware is most likely to fail. Kris pgp0.pgp Description: PGP signature
Re: still can't resolve these system reboots... help please
It exercises the hardware vigorously (CPU, RAM, disk, I/O controllers, =2E..). This is exactly the situation under which failing hardware is most likely to fail. So the next question is how do I approach Dell to replace the motherboard/cpu/memory? If I show them FreeBSD they'll laugh. Tuc/TTSG Internet Services, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Major upgrades and vinum (was Re: Make installworld problem (4.7))
At 2003-03-05T18:04:14Z, Mike Meyer [EMAIL PROTECTED] writes: Since kernels have to support old binaries, but not vice versa, you can usually reboot with the new kernel and old world and have it work. Sometimes, though you can't. I've found myself in the situation where the old version of vinum(8) wouldn't run against the new kernel, further complicated by the fact that the new vinum was in /usr/obj, which is on a vinum volume. This hasn't been a problem in well over a year, but it bit me hard once. Is there an officially-supported guaranteed-to-work method for handling this? I've been doing: make buildworld cp /usr/obj/usr/src/sbin/vinum/vinum /sbin/vinum.new ... just in case. Is this still a necessary step? -- Kirk Strauser In Googlis non est, ergo non est. pgp0.pgp Description: PGP signature
Re: cd sound on onboard card
Dear Justin thanks for your suggestion. I checked the mixer settings and they're fine, also the CD is connected to the sound card because it does work in windows. I suspect it has to do with the fact that the sound module is onboard because I never encountered this problem with proper sound cards... giuseppe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
Tuc wrote: It exercises the hardware vigorously (CPU, RAM, disk, I/O controllers, =2E..). This is exactly the situation under which failing hardware is most likely to fail. So the next question is how do I approach Dell to replace the motherboard/cpu/memory? If I show them FreeBSD they'll laugh. Can you find an intensive program to run under Windows that will reproduce it? Hell ... just install ActivePerl and write a perl script that does lots and lots of number crunching (it need not be anything useful) or install SETI and see if it crashes Windows. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: firewall revisited
how can i have the script /etc/ipfw.rules run instead of /etc/rc.firewall. can i change firewall_type=OPEN to firewall_type= and create the entry firewall_script=/etc/ipfw.rules? I have that working right now with: firewall_enable=YES firewall_script=/etc/rc.firewall.local ... where /etc/rc.firewall.local contains the customized ipfw commands. what i would like to do is block all access to services on the router like httpd, sshd, etc the other think i would like to do is port forward ssh from another machine and allow access of that from an external network. does something like this make sense? thanks, If you are using NAT then the -redirect_port option to natd will do that (ie. forward incoming port 22 connections to an internal machine), which can be set in /etc/rc.conf in the natd_flags=-redirect_port ... variable. You have to create a corresponding ipfw rule to allow the traffic after natd rewrites the destination IP to your internal LAN machine, which it looks like you have done below, except the from would be any not ROUTER_IP. It will be the IP of the outside machine trying to connect to port 22. I have a similar port forward set up. Early in the firewall rules allow all established TCP connections, and then later allow the setup for the initial SSH connection. 10.0.1.2 would be a machine behind the firewall to receive SSH connections, and ed0 would be the external internet interface. in /etc/rc.conf: natd_flags=-redirect_port tcp 10.0.1.2:ssh ssh in the firewall script: ipfw -q flush ipfw add 00050 divert natd ip from any to any via ed0 ipfw add 00100 allow tcp from any to any via ed0 established more rules here ipfw add 01000 allow tcp from any to 10.0.1.2 ssh setup more rules here ipfw add 65530 deny log ip from any to any I winged this so forgive any errors, but it's based on what I have working, including a rule to deny and log everything by default at the bottom. [snip] Jeff, you must have your firewall_type set to the default then in rc.conf or /etc/defaults/rc.conf. does you setup not run the standard rc.firewall file in /etc? does this rule allow any access to the outside network? ipfw add 00100 allow tcp from any to any via ed0 established thanks, brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
TCP in TIME_WAIT for too long.
Im using a 4.7-STABLE box with Zebra BGPD for full BGP feed and i have come across an unusual problem. It works great except when i come up in the situation when the provider reboots their router. FBSD doesnt seem to detect that the link has been broken and the TCP connection will stay in TIME_WAIT for a long time (up to 20 minutes?). Is there any way to tweak this to die after about 120 seconds? Will this break anything? Any help is appreciated! - Sten To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.3 - RELENG_4
Basically: Update your source with cvsup read /usr/src/UPDATING and follow any instructions required (I believe you'll need to manually create the relatively new sendmail users) Reveiw you kernel config file to see if any options have changed since 4.3 make buildkernel make installkernel reboot if the reboot doesn't go well, boot kernel.old and copy it to /kernel to get back to 4.3 make buildworld make installworld Ok, I have cvsup'ped successfully, upon buildkernel I get: Error: version of config does not match kernel! config version = 400018, version required = 400019 Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys and install a new config binary before trying this again. Doing a: # cd /usr/src/usr.sbin/config # make Fails with make: dont' know hwo to make config.1. Stop At this point it looks like everything has compiled, and is in the linking object files stage. I understand that I am doing oposite of what the handbook says by installing a new kernel first, but is there a way to get around the out of date config problem so I can proceed in this 'backwards' approach? Tks. Steve Bertrand To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
HELP: Exim - SMTP AUTH, STARTTLS, and PAM or pwcheck on FreeBSD
--- Sorry if this gets posted twice, sigh, email issues - I've been playing with exim for a little bit now, my new server I'm going to roll out I would like to use exim instead of sendmail. So far, exim is much nicer to use, however, I am at a loss where to go now. I figure many would like to have the following ... SMTP standard receive on port 25 Relaying supported on 25 via STARTTLS + SMTP AUTH SSL Tunneled on port 485 + SMTP AUTH I've gotten the tunneled part to work. I got port 25 going. I can't get AUTH to work, and haven't tried STARTTLS yet. My authenticators section, I have so far: fixed_login: driver = plaintext public_name = LOGIN server_prompts = Username:: : Password:: server_condition=${if pam{$1:$2}{1}{0}} # server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}} # server_condition = ${if pwcheck{$1:$2}{1}{0}} server_set_id = $1 Note, the commented sections I have tired each and still generate the errors below. 2003-03-05 12:28:46 Authentication failed for ([192.168.22.101]) [192.168.22.101]: 435 Unable to authenticate at present (set_id=dpd): cannot connect to pwcheck daemon 2003-03-05 12:58:00 Authentication failed for ([192.168.22.101]) [192.168.22.101]: 535 Incorrect authentication data (set_id=dpd) I have not modified /etc/pam.conf yet. Anyone got some tips, help, advice where to go next - it seems like is a PAM/pwcheck issue, not exim at this point, or a draft at an HOWTO ? Specifics on exim and freebsd seem to be few right now. random rant Anyone know how to get your IPS out of SPEWS ? My ISP had some spammers they ditched a while back, but SPEWS has the whole dag IP range listed. The ISP has tried multiple times, but the WHOIS records still are pointed into the IP range (which they can't control), even though the co-los have been kicked out, but SPEWS wouldn't drop the blocks. / random rant -- *** - | David P. Discher * http://davidpdischer.com/ * (314) 518-3795 | | [EMAIL PROTECTED] * AIM: DavidDPD * ICQ:4222899 | -- *** - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How many mbufs do I need?
I killed my FreeBSD 4.8-PRE (2003-02-18) server today by exhausting the available mbufs. I'd seen warnings like All mbuf clusters exhausted, please see tuning(7). in /var/log/messages, so I added `kern.ipc.nmbclusters=16384' to /boot/loader.conf.local a while back. This server has 768MB of memory, and I run at least two copies of PostgreSQL (it has multiple jails) at any given time and use it to server NFS to a couple of Linux clients. Today I wanted to test Bochs on one of the Linux machines, ran the bochsconf program, watched it run createdisk to make a 512MB disk image in my home directory, and saw the server panic within a few seconds. When it came back up, I bumped nmbclusters to 32768, rebooted, and tried createdisk it. This time I watched `netstat -m' as the dreaded All mbuf clusters exhausted... message began to scroll up the screen. This time, the server stayed alive, but it clearly maxed out all available buffers. After createdisk was finished, the mbuf usage went back to normal: $ netstat -m 389/36736/131072 mbufs in use (current/peak/max): 389 mbufs allocated to data 388/32768/32768 mbuf clusters in use (current/peak/max) 74720 Kbytes allocated to network (33% of mb_map in use) 345 requests for memory denied 1 requests for memory delayed 0 calls to protocol drain routines My questions are these: 1) Is there a guideline for how many nmbclusters to allocate? Short of running out of physical memory, is there such a thing as too many? 2) I've already allocated 64MB to network buffering. This seems like a huge amount to me. Is it? 3) Should running out of mbufs be expected to crash the server, or should I try to reproduce it and file a PR? 4) What could createdisk have been doing to spike usage that heavily? 5) Could Linux's NFS client implementation have aggravated the situation? -- Kirk Strauser In Googlis non est, ergo non est. pgp0.pgp Description: PGP signature
Re: USB Epson perfection 1250, support?
Dirk Meyer wrote: Peter B wrote: I have a Epson Perfection 1250 USB scanner. It works fine under Windows Me I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb without patches: FreeBSD 4.8-PRERELEASE #22: Thu Feb 27 20:03:38 CET 2003 Mar 5 17:33:28 net3 /kernel: uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2 but scanimage hangs here. Any traces what could be the reason? With 4.7 (i386) and my patches it works now ..kind of.. And modifying /usr/local/etc/sane.d/plustek.conf as follows: [usb] - [usb] 0x04B8 0x010F device /dev/usbscanner - device /dev/uscanner0 But it should not be neccessary.. USB.. Plug PRAY! :) xscanimage works ok. scanimage works (stepper motor goes beyond physical limit in this case). xsane crashes after scan, but won't hang anything. One real nasty thing I discovered is that if one cancels a scan it can happen that the step motor continues to drive the scanner wagon beyond physical limit *until* you cancel it by requesting a new scan or disconnect power. Something that ought to be fixed.. I tested on: FreeBSD 5.0-CURRENT #0: Fri Jan 31 13:42:19 CET 2003 everything runs there smoothly. mdodify: /usr/local/etc/sane.d/plustek.conf $ /usr/local/bin/scanimage --verbose --device plustek:/dev/uscanner0 \ --format tiff --mode Color -x 210 -y 297 test.tif .. There is also a speed issue: Windoze FreeBSD Preview 26 sec 50 sec 300 dpi, 24 bpp, A4 45 sec 66 sec Windoze system: Toshiba laptop, CPU-Intel Celeron 650, 64 MB Ram, Windoze Me FreeBSD system: Motherboard A7V333, CPU-AMD XP1800, 256 MB Ram, FreeBSD 4.7 One can clearly hear (audiowise) that the freebsd system does the scanning in chunks while windoze does most tasks in one sweep. /P To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mail vs SMTP [newbieish tendencies]
Hi - I've got a FreeBSD machine from which I can use 'Mail' to send emails to any internet email address. However when I try to use it as a SMTP server from within the LAN the connection times out. I'm sure there are many places I could look for a solution but I just wanted to check one thing. If I can use 'Mail' to send emails does this imply that the FreeBSD box is running a SMTP server which could send mail on behalf of clients (within the LAN)? Thanks Richard Shea. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
checkouts.cvs - looking inside it ?
Hi - Three months ago I did _something_ with CVS for the first time ever. I think _something_ involved all the files necessary to take my 4.4 machine to 4.5. However I failed to take any decent notes and my memory fails me. What I would really like is to find a log file of CVS activity so that I could be sure of what I've got. I've found a checkouts.cvs:RELENG_4_5_0_RELEASE but is there some sort of 'higher level' log which would indicate what was done ? I realise that in theory I could reverse engineer this from the checkouts.cvs but it's one big file ... thanks richard shea To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mail vs SMTP [newbieish tendencies]
Richard Shea wrote: Hi - I've got a FreeBSD machine from which I can use 'Mail' to send emails to any internet email address. However when I try to use it as a SMTP server from within the LAN the connection times out. I'm sure there are many places I could look for a solution but I just wanted to check one thing. If I can use 'Mail' to send emails does this imply that the FreeBSD box is running a SMTP server which could send mail on behalf of clients (within the LAN)? No. Sendmail can be run in different modes. It's likely that yours is configured for local mail submission only. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: firewall revisited
On Wednesday 05 March 2003 02:48 pm, Brian Henning wrote: Jeff, you must have your firewall_type set to the default then in rc.conf or /etc/defaults/rc.conf. does you setup not run the standard rc.firewall file in /etc? does this rule allow any access to the outside network? ipfw add 00100 allow tcp from any to any via ed0 established thanks, brian I don't set firewall_type in rc.conf (ie. leaving it at the default), because it would be ignored. When you change firewall_script in /etc/rc.conf, /etc/rc.firewall will no longer run at boot automatically. The ipfw rule above allows all packets for established connections to pass the firewall. This is determined only by the flags in each inbound packet, not because of any memory of the state of connections. You would also need rules dealing with the setup packets to allow the TCP connections to be created. It's in the ipfw man page and probably the FreeBSD Handbook also with better examples, but a quick additional rule to allow you to get out on ed0 with any possible TCP connection would be: ipfw add 00200 allow tcp from any to any out xmit ed0 setup Jeff To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
libstdc++-libc6.2-2.so.3 problems
HI all I have a problem with installing the macromedia flash6 plugin on netscape7 on my friends computer. I get the following error when initalizing the plugin: LoadPlugin: failed to initialize shared library /usr/local/lib/linux-netscape7-english/plugins/libflashplayer.so [libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory] linux: 'ipc' typ=258 not implemented On my machine I see I have a /usr/compat/linux/usr/lib/libstdc++-libc6.2-2.so.3 file that is linked to libstdc++-3-libc6.2-2-2.10.0.so. On google I get the impression that this file is part of the /usr/ports/emulators/linux_base port, the libstdc++-3-libc6.2-2-2.10.0.so is mentioned in pkg-plist.alpha but not mentioned in pkg-plist.i386. I am thinking of taking a chance and just copying my file into the correct location and linking it, but I am thinking, why does a plugin for an i386 system look for a file that is part of an alpha build machine and what is the importance of this file not being in the i386. I am still using linux_base-7.1_1 and the current package in the ports is linux_base-7.1_2 . Is it possible that this file has been ommited on purpose? Any ideas on how to bypass my problem without causing major damage to my friends computer? Thanks Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: firewall revisited
On 2003-03-05 09:32, Brian Henning [EMAIL PROTECTED] wrote: Hello- currently my rc.conf is set up like this for my gateway router. gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=rl1 # natd -interface rl1, public interface natd_flags=# sysctl net.inet.ip.forwarding=1 how can i have the script /etc/ipfw.rules run instead of /etc/rc.firewall. can i change firewall_type=OPEN to firewall_type= and create the entry firewall_script=/etc/ipfw.rules? Why are you confused? That depends on what you're trying to do and what the contents of /etc/ipfw.rules are. There are currently the following ways to set up a completely custom set of firewall rules: 1. Rewrite /etc/rc.firewall This can easily be done, if you replace /etc/rc.firewall with your custom script. This isn't recommended though since you'd have to carefully track all changes to the official version of the rc.firewall script and merge any interesting stuff back to your version of the script. 2. Add a new firewall type to rc.firewall Copying one of the existing firewall types you cann easily add a new one, and make sure that it loads all (and only) the ipfw(8) rules that you want. This can be difficult to keep up to date after changes to the rc.firewall script, but not as difficult to keep up to date as option #1. 3. Write your own version of a firewall script Copy `rc.firewall' to a new script (i.e., `rc.firewall.local') and make your changes to the new script. Then set firewall_script to point to the new script in `/etc/rc.conf'. For example: % cat /etc/rc.firewall.local fwcmd=/sbin/ipfw ${fwcmd} -q flush ${fwcmd} add 1 pass ip from any to any % grep firewall_script /etc/rc.conf firewall_script=/etc/rc.firewall.local This is a fairly nic way of doing things, but it doesn't work correctly if you want to tweak the way ipfw(8) is called by settings things like firewall_quiet=YES in your `rc.conf' file. Mostly because the logic for all those firewall_xxx options is implemented as part of the existing `rc.firewall' script. 4. Create a ruleset file, and point rc.firewall to it You can always write your own set of firewall rules, without a ${fwcmd} prefix, and save it to a file, i.e. `/etc/ipfw.rules'. This is a plain text file that contains *only* firewall rules. No shell commands. You can use `#' for comments (as shown in the sample file below): % cat /etc/ipfw.rules flush add allow ip from any to any Then you just need to make sure that your `rc.conf' contains the following two lines: firewall_enable=YES firewall_type=/etc/ipfw.rules The firewall_type value is the *FULL* path to the ruleset file. It is important to include the leading `/' character. This way, ipfw(8) will know that this is the path of a rule file and not the name of a command (like `add' in `ipfw add ...'). This is the way I usually prefer setting ipfw(8) up. For various reasons. One of them is that my firewall rules are not lost in between the lines of some shell script that I don't remember I have edited. Another reason is that having made no changes to the original `rc.firewall' script, there is no need to take care for merging changes later with mergemaster(8). Phew. This was long. - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
dvipdfm DVI - PDF converter
I am using this port to make PDFs for the Windoze people from my LaTeX files... but it is not inserting the epsfig pictures. A is there a way to get it to do this -- the man page does not seem to indicate this ability ... B Is there a different tool to do 'production-grade' PDFs from DVI files with all the images ? C Or is there a PS to PDF tool I havent found that can take the output of dvips and make the PDF ? ports tree CVSuped 2 mar 2003 -- Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment Phone: 61 3 8710 2555 Fax: 61 3 8710 2599 Direct: 61 3 9238 4275 Mobile: 61 0417 319 256 Email: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
--- Bill Moran [EMAIL PROTECTED] wrote: burnP6 and burnMX have been running all night 342:16 49.17% 49.17% burnBX 340:52 48.10% 48.10% burnP6 and there are no problems so far. Have you tried running memtest for equal lengths of time? memtest doesn't seem to exist in the ports anymore :/ the file can't be fetched from any of the listed sites. reading the man page stated that burnMX -P tested the memory. so i figured i could use it instead of memtest. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: still can't resolve these system reboots... help please
* Bsd Neophyte [EMAIL PROTECTED] [2003-03-05 15.52 -0800]: --- Bill Moran [EMAIL PROTECTED] wrote: [snip] Have you tried running memtest for equal lengths of time? memtest doesn't seem to exist in the ports anymore :/ the file can't be fetched from any of the listed sites. You can fetch it here: URI:ftp://ftp.sunet.se/pub/os/FreeBSD/ports/distfiles/memtester-2.93.1.tar.bz2 HTH -- Martin Karlsson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dvipdfm DVI - PDF converter
I am using this port to make PDFs for the Windoze people from my LaTeX files... but it is not inserting the epsfig pictures. A is there a way to get it to do this -- the man page does not seem to indicate this ability ... B Is there a different tool to do 'production-grade' PDFs from DVI files with all the images ? C Or is there a PS to PDF tool I havent found that can take the output of dvips and make the PDF ? ports tree CVSuped 2 mar 2003 Did you have a look at pdflatex (which generates PDFs directly from your LaTeX sources)? Simon signature.asc Description: Digital signature
Re: still can't resolve these system reboots... help please
Bsd Neophyte wrote: --- Bill Moran [EMAIL PROTECTED] wrote: burnP6 and burnMX have been running all night 342:16 49.17% 49.17% burnBX 340:52 48.10% 48.10% burnP6 and there are no problems so far. Have you tried running memtest for equal lengths of time? reading the man page stated that burnMX -P tested the memory. so i figured i could use it instead of memtest. True ... I don't know if memtest is better/worse/equal to burnMMX or not. I've just always used both for testing. One thing about memory glitches, they try very hard not to occur when you're looking for them! -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dvipdfm DVI - PDF converter
Hmmm ... where did that pdflatex come from ... check latex build script capture ... hh ..Ahah lookit all those other things that come with LaTeX ... Seriously though ... didnt work. pdflatex does the same thing as dvipdfm ... creates a nice pdf but no pictures Thanks Simon. Any other ideas ?? On Thu, 6 Mar 2003 11:15, Simon Barner wrote: I am using this port to make PDFs for the Windoze people from my LaTeX files... but it is not inserting the epsfig pictures. A is there a way to get it to do this -- the man page does not seem to indicate this ability ... B Is there a different tool to do 'production-grade' PDFs from DVI files with all the images ? C Or is there a PS to PDF tool I havent found that can take the output of dvips and make the PDF ? ports tree CVSuped 2 mar 2003 Did you have a look at pdflatex (which generates PDFs directly from your LaTeX sources)? Simon This Email has been scanned for Viruses by MailMarshal. -- Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment Phone: 61 3 8710 2555 Fax: 61 3 8710 2599 Direct: 61 3 9238 4275 Mobile: 61 0417 319 256 Email: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: vinum: low level access to subdisks / drives
On Wednesday, 5 March 2003 at 19:33:04 +0100, Alexander Haderer wrote: Hello, Here is a vinum question. It was sent as a followup of a question about installation problems. That causes problems with threading. Assume this setup: Two partitions ad0s1e and ad2s1e of type vinum with the same size. vinum is set up to use this disks as RAID 1 (mirror): ... Everything is working without problem. Because we do not rely on the harddisks and the files at /mirr are accessed seldom and random, we want to check, if all sectors of the disks ad0 and ad2 are readable without problem. To do so, we want to run a nightly low priority cron job that tries to read all sectors of a disk without further analyzing the data read. The result of a failed read (hard disk failure) will be a kernel message in /var/log/messages, which we monitor 24x7 a day. Lets say we do dd for reading the sectors: dd if=/dev/ad0s1 of=/dev/zero bs=1024k Questions: 1. Will this conflict with vinum or its internal (kernel) data structures when vinum is running the same time with all components of the RAID 'up'? No. Writing would be a very different story, of course. 2. Will this conflict with parallel read/write access to /mirr ? No. 3. Should we use dd if=/dev/vinum/sd/mirr.p0.s0 ... instead of /dev/ad0s1e ? You could. That would also find any problems in the subdisk itself, but not with the rest. On the whole, I'd say that your solution is as good as any. 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 pgp0.pgp Description: PGP signature
Re: 4.3 - RELENG_4
IAccounts [EMAIL PROTECTED] writes: Basically: Update your source with cvsup read /usr/src/UPDATING and follow any instructions required (I believe you'll need to manually create the relatively new sendmail users) Reveiw you kernel config file to see if any options have changed since 4.3 make buildkernel make installkernel reboot if the reboot doesn't go well, boot kernel.old and copy it to /kernel to get back to 4.3 make buildworld make installworld Ok, I have cvsup'ped successfully, upon buildkernel I get: Error: version of config does not match kernel! config version = 400018, version required = 400019 Yes, you got bad advice there. You need to do a buildworld before the buildkernel. Please read the handbook section on updating, as well as everything it refers you to (including UPDATING), before risking your system with the update. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Major upgrades and vinum (was Re: Make installworld problem (4.7))
On Wednesday, 5 March 2003 at 13:40:50 -0600, Kirk Strauser wrote: At 2003-03-05T18:04:14Z, Mike Meyer [EMAIL PROTECTED] writes: Since kernels have to support old binaries, but not vice versa, you can usually reboot with the new kernel and old world and have it work. Sometimes, though you can't. I've found myself in the situation where the old version of vinum(8) wouldn't run against the new kernel, further complicated by the fact that the new vinum was in /usr/obj, which is on a vinum volume. This hasn't been a problem in well over a year, but it bit me hard once. Is there an officially-supported guaranteed-to-work method for handling this? I've been doing: make buildworld cp /usr/obj/usr/src/sbin/vinum/vinum /sbin/vinum.new ... just in case. Is this still a necessary step? Interesting question. I need to think about an elegant way of solving it. In the past we always did a make world before building a kernel, so it wasn't an issue. Certainly it's a good idea to install the new vinum(8) before rebooting. 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 pgp0.pgp Description: PGP signature
Re: dvipdfm DVI - PDF converter SOLVED
Answering own question... Digging further into the build logs found ps2pdf from the Ghostscript build which does it perfectly ... YAY. mjt On Thu, 6 Mar 2003 11:26, Murray Taylor wrote: Hmmm ... where did that pdflatex come from ... check latex build script capture ... hh ..Ahah lookit all those other things that come with LaTeX ... Seriously though ... didnt work. pdflatex does the same thing as dvipdfm ... creates a nice pdf but no pictures Thanks Simon. Any other ideas ?? On Thu, 6 Mar 2003 11:15, Simon Barner wrote: I am using this port to make PDFs for the Windoze people from my LaTeX files... but it is not inserting the epsfig pictures. A is there a way to get it to do this -- the man page does not seem to indicate this ability ... B Is there a different tool to do 'production-grade' PDFs from DVI files with all the images ? C Or is there a PS to PDF tool I havent found that can take the output of dvips and make the PDF ? ports tree CVSuped 2 mar 2003 Did you have a look at pdflatex (which generates PDFs directly from your LaTeX sources)? Simon This Email has been scanned for Viruses by MailMarshal. -- Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment Phone: 61 3 8710 2555 Fax: 61 3 8710 2599 Direct: 61 3 9238 4275 Mobile: 61 0417 319 256 Email: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ZYNX ZX346 - 4 Port PCI Ethernet card
Greetings, I'm making a couple small pc routers using ZYNX ZX346 - 4 Port PCI Ethernet cards in small Compaq deskpro systems (one pci slot). I'm using 4.8RC1 with polling enabled at the moment, but it does not matter if it's on or off. What the problem is is that everything is fine until the card is initialized by the kernel and then all 4 activity lights just start to flash. According to the driver it is a supported chipset /usr/src/sys/pci/if_de.c supports the 21140, everything i have read seems to support it, but what happens is that all 4 activity lights just blink and i have tested this on two identical machines with idential results. Anyone else have this problem with these cards? Getting a little frustrated at this point. Oh and what also is weird is that iget a de0-3 autosense failed: cable problem? error and the after a while i loose the interfaces all together with a broken message that i forgot to write down. (BTW i have tested this with 4 idential cards on two completely different machines with 4.8RC1 polling turned on and off) -- Chris Demers [EMAIL PROTECTED] www.govital.net www.govitalhosting.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.3 - RELENG_4
In [EMAIL PROTECTED], IAccounts [EMAIL PROTECTED] typed: Basically: Update your source with cvsup read /usr/src/UPDATING and follow any instructions required (I believe you'll need to manually create the relatively new sendmail users) Reveiw you kernel config file to see if any options have changed since 4.3 make buildkernel make installkernel reboot if the reboot doesn't go well, boot kernel.old and copy it to /kernel to get back to 4.3 make buildworld make installworld Ok, I have cvsup'ped successfully, upon buildkernel I get: Error: version of config does not match kernel! config version = 400018, version required = 400019 I understand that I am doing oposite of what the handbook says by installing a new kernel first, but is there a way to get around the out of date config problem so I can proceed in this 'backwards' approach? Not that I know of, and you've just started to uncover problems with doing things backwards. You really need to do the buildworld first. You can - in fact, should - leave the installworld until after the new kernel is booted. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: A couple of questions related to the sendmail patch, etc.
On Wednesday 05 March 2003 05:27 am, Giorgos Keramidas wrote: On 2003-03-04 22:38, taxman [EMAIL PROTECTED] wrote: On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote: On 2003-03-04 10:02, Phillip Smith [EMAIL PROTECTED] wrote: : A couple of quick questions... : : I've downloaded the 8.11.6 patch from sendmail.org, and used the : instructions they provided : [patch -p0 /PATH/TO/sendmail.8.11.6.security.cr.patch], which then : prompts me for 'which file to patch.' I'm not clear on which file I : _need_ to patch? Or where it would be. You should run the patch command with /usr/src/contrib/sendmail as your current working directory. I don't run sendmail at all, but I would like to learn how to apply the patch. doing: patch -p0 /home/tim/sendmail.8.12.security.cr.patch in the above directory still gives the File to patch: prompt What else needs to be done to apply the patch? Hmmm, sorry for the confusion. I didn't read the patch carefully. The correct way of applying it for 8.11.x is: # cd /usr/src/contrib/sendmail/src # patch -p1 /PATH/TO/sendmail.8.11.6.security.cr.patch Thanks Giorgos, that worked for the patch for 8.12.6 too. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message