You have been unsubscribed from the freebsd-questions mailing list
confirm d2512e67c97913c1d1e981b2d34e2e5ba3156844
Your membership in the mailing list freebsd-questions has been disabled due to excessive bounces The last bounce received from you was dated 19-Oct-2013. You will not get any more messages from this list until you re-enable your membership. You will receive 1 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at http://lists.freebsd.org/mailman/confirm/freebsd-questions/d2512e67c97913c1d1e981b2d34e2e5ba3156844 You can also visit your membership page at http://lists.freebsd.org/mailman/options/freebsd-questions/archive%40jab.org On your membership page, you can change various delivery options such as your email address and whether you get digests or not. As a reminder, your membership password is ohkiza If you have any questions or problems, you can contact the list owner at freebsd-questions-ow...@freebsd.org
confirm 9ab541dc2bb8a07f764a869230a7d881c10cf0e6
Your membership in the mailing list freebsd-questions has been disabled due to excessive bounces The last bounce received from you was dated 19-Oct-2013. You will not get any more messages from this list until you re-enable your membership. You will receive 2 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at http://lists.freebsd.org/mailman/confirm/freebsd-questions/9ab541dc2bb8a07f764a869230a7d881c10cf0e6 You can also visit your membership page at http://lists.freebsd.org/mailman/options/freebsd-questions/archive%40jab.org On your membership page, you can change various delivery options such as your email address and whether you get digests or not. As a reminder, your membership password is ohkiza If you have any questions or problems, you can contact the list owner at freebsd-questions-ow...@freebsd.org
Re: Request to Add Website Details- Hardware Section
Again... How is the list being spammed like this?? On Tue, 9 Oct 2012, Joe Phillip wrote: Dear Webmaster, We have been manually researching for relevant partners and found your website very useful. Adding my website under Hardware section(URL: * http://www.freebsd.org/commercial/hardware.html) *of your esteemed website would be very helpful to us as well be of high value to your customers. If interested, pls use the following link details to place our link on your site: Title: Rackmount Monitor URL: http://www.kvmswitchtech.com/rackmount-monitors-c11572.htm Desc: KVMSwitchTech provides wide range of rackmount monitors to save valuable space in server rooms. Get 1U rack mount monitors, 1u solaris rackmount monitors at competitive prices. OR you can use this HTML Code: a href=http://www.kvmswitchtech.com/rackmount-monitors-c11572.htm;Rackmount Monitor/a - KVMSwitchTech.com provides wide range of rackmount monitors to save valuable space in server rooms. Get 1U rack mount monitors, 1u solaris rackmount monitors at competitive prices.br In case if you also require a linkback, please let me know. Thanks Joe Webmaster ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Your UPS Invoice is Ready
How is it that we are getting spam on the list like this? On Tue, 9 Oct 2012, UPSBillingCenter wrote: This is an automatically generated email. Please do not reply to this email address. Dear UPS Customer, New invoice(s) are available for the consolidated payment plan(s) / account(s) enrolled in the UPS Billing Center Please refer to attached file from UPS Billing Center to view and pay your invoice. Discover more about UPS: Visit ups.comExplore UPS Freight ServicesLearn About UPS CompaniesSign Up For Additional Email From UPSRead Compass Online (c) 2012 United Parcel Service of America, Inc. UPS, the UPS brandmark, and the color brown are trademarks of United Parcel Service of America, Inc. All rights reserved. For more information on UPS's privacy practices, refer to the UPS Privacy Policy.Please do not reply directly to this e-mail. UPS will not receive any reply message. For questions or comments, visit Contact UPS.This communication contains proprietary information and may be confidential. If you are not the intended recipient, the reading, copying, disclosure or other use of the contents of this e-mail is strictly prohibited and you are instructed to please delete this e-mail immediately. Privacy Policy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
about change file mode
Hi tot all, Why don't change the files mode ? casa# mount -t msdosfs /dev/da0s1 /mnt/JetFlash\ Transcend\ 1GB/ casa# cd /mnt/JetFlash\ Transcend\ 1GB/ casa# ls -lh total 21940 -r-xr-xr-x 1 xxavi wheel16M 21 mar 00:12 COLOR.pdf -r-xr-xr-x 1 xxavi wheel 4,7M 21 mar 01:26 COLOR_1.pdf -r-xr-xr-x 1 xxavi wheel 124k 21 mar 02:13 COLOR_2.pdf -r-xr-xr-x 1 xxavi wheel21k 21 mar 01:16 Untitled 1.pdf -r-xr-xr-x 1 xxavi wheel 9,3k 22 mar 00:17 Untitled 2.pdf -r-xr-xr-x 1 xxavi wheel 124k 21 mar 02:13 kscan_0002.jpeg.pdf -r-xr-xr-x 1 xxavi wheel20k 21 mar 00:12 ocr.txt.pdf casa# chmod -x * casa# ls -l total 21940 -r-xr-xr-x 1 xxavi wheel 17270757 21 mar 00:12 COLOR.pdf -r-xr-xr-x 1 xxavi wheel 4866360 21 mar 01:26 COLOR_1.pdf -r-xr-xr-x 1 xxavi wheel127452 21 mar 02:13 COLOR_2.pdf -r-xr-xr-x 1 xxavi wheel 21829 21 mar 01:16 Untitled 1.pdf -r-xr-xr-x 1 xxavi wheel 9561 22 mar 00:17 Untitled 2.pdf -r-xr-xr-x 1 xxavi wheel127452 21 mar 02:13 kscan_0002.jpeg.pdf -r-xr-xr-x 1 xxavi wheel 20513 21 mar 00:12 ocr.txt.pdf casa# Thanks, see you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GIMP(1) don't run
Hi to all, When I want run GIMP(1) it say: gimp Shared object libpcre.so.0 not found, required by gimp How I can solvent this problem ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pwcview(1) don't work
Hi to all, I have: pkg_info | grep webc evolution-webcal-2.32.0_1 Webcal(endar) handler for gnome pwcview-1.4.1_4 The Video4Linux PWC webcam viewer webcamd-3.2.0.2 A port of Linux USB webcam and DVB drivers into userspace kldstat | grep cuse 31 0xc12a4000 5c08 cuse4bsd.ko casa# webcamd -d ugen4.6 -i 0 -v 0 : v3.2:USB Acecad Flair tablet driver : v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x) : Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen GTCO usb driver version: 2.00.0006: v0.0.2:USB KB Gear JamStudio Tablet driver : v1.52:USB Wacom tablet driver lirc_dev: IR Remote Control driver registered, major 14 IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR RC5 (streamzap) protocol handler initialized IR LIRC bridge handler initialized : 2.2.1:ATI/X10 RF USB Remote Control Linux video capture interface: v2.00 em28xx driver loaded Em28xx: Initialized (Em28xx dvb Extension) extension USBVision USB Video Device Driver for Linux : 0.9.11 pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 : Zoran 364xx au0828 driver loaded USB Video Class driver (1.1.1) : 0.4.7:D-Link DSB-R100 USB FM radio driver : 0.0.2: A driver for the TEA5764 radio chip for EZX Phones. b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully dib0700: loaded with support for 21 different device-types virtual DVB server adapter driver, version 1.0-hps, (c) 2011 Hans Petter Selasky Attached ugen4.6[0] to cuse unit 0 em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0) em28xx #0: chip ID is em2820 (or em2710) em28xx #0: board has no eeprom em28xx #0: found i2c device @ 0x4a [saa7113h] em28xx #0: Your board has no unique USB ID. em28xx #0: A hint were successfully done, based on i2c devicelist hash. em28xx #0: This method is not 100% failproof. em28xx #0: If the board were missdetected, please email this log to: em28xx #0: V4L Mailing List linux-me...@vger.kernel.org em28xx #0: Board detected as EM2860/SAA711X Reference Design em28xx #0: Identified as EM2860/SAA711X Reference Design (card=19) em28xx #0: Config register raw data: 0x00 em28xx #0: v4l2 driver version 0.1.3 em28xx #0: V4L2 video device registered as video0 em28xx_dvb: This device does not support the extension Creating /dev/video0 casa# chmod 666 /dev/video0 casa# And, can't play /dev/video0 : pwcview Webcam set to: 320x240 (sif) at 5 fps libv4l2: error queuing buf 0: Invalid argument libv4l2: error queuing buf 1: Invalid argument libv4l2: error queuing buf 2: Invalid argument libv4l2: error queuing buf 3: Invalid argument libv4l2: error reading: Device busy Error reading from webcam: Device busy Somebody can help me ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SCSI sense: UNIT ATTENTION
Hi, I have: 9.0-RELEASE and this problem: ugen4.8: LaCie at usbus4 umass2: LaCie LaCie DVDRW USB, class 0/0, rev 2.00/0.00, addr 8 on usbus4 umass2: 8070i (ATAPI) over Bulk-Only; quirks = 0x0100 umass2:4:2:-1: Attached to scbus4 (probe0:umass-sim2:2:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error (probe0:umass-sim2:2:0:0): SCSI status: Check Condition (probe0:umass-sim2:2:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) cd1 at umass-sim2 bus 2 scbus4 target 0 lun 0 cd1: _NEC DVD_RW ND-3500AG 2.07 Removable CD-ROM SCSI-0 device cd1: 40.000MB/s transfers cd1: cd present [2295104 x 2048 byte records] (cd1:umass-sim2:2:0:0): READ(10). CDB: 28 0 0 23 5 3f 0 0 1 0 (cd1:umass-sim2:2:0:0): CAM status: SCSI Status Error (cd1:umass-sim2:2:0:0): SCSI status: Check Condition (cd1:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for t his track) (cd1:umass-sim2:2:0:0): Info: 0x23053f (cd1:umass-sim2:2:0:0): cddone: got error 0x6 back The DVDRW don't work correctly, ant idea for solvent this problem ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Abstraction leakage burning test DVD+R
Hello, After my dump/restore test failed back in May of 2010[1], I finally got around to burning a test DVD after installing about 2.5 inches of semi-rigid foam under the machine to dampen any local vibration. In designing the test, I was under the mistaken impression that buffer under-runs would reduce the amount of space for writing. Apparently, DVD+R media supports loss-less linking[2]. Test Procedure (using ATAPI interface, rather than the newer ATAPI/CAM interface). The man pages do not imply any major differences for this test. The drive in question is a LG drive with the SuperMulti logo. Test procedure: 1.# mkfifo auxout aux45G 2. In other terminals: # cat auxout | md5 # dd if=aux45G count=2197266 bs=2048 | md5 3. Write test disk: # dd if=/dev/urandom bs=2048 count=2295104 | \ tee auxout aux45G | dd of=/dev/acd0 bs=2048 Error: dd:/dev/acd0: Input/output error 679+0 records in 678+0 records out 1388544 bytes transferred in 80.97 seconds (step 4 not completed due to premature burn failure after 684 blocks, 80 seconds (from 'dd if=aux45G'...) (15743 bytes/sec)) Drive spun up at least twice during this time. 4. Read test (in another term 'cat aux45G | md5') # dd if=/dev/acd0 bs=2048 count=2295104 | tee aux45G | md5 Questions: Currently, the drive is locked. Before forcefully ejecting it and risking an new disk, I want to know what may have gone wrong. Was I expecting too much of FreeBSD on old hardware? The hardware is a Pentium-II desktop machine with 256MB of RAM, with a Promise ATA100 controller card. An extra-long 80-wire cable is in use (to ad4). acd0: DVDR HL-DT-STDVD-RAM GSA-H55N/1.03 at ata-1-master UDMA33 ad4: 78167MB Maxtor 6Y080L0 YAR41WB0 at ata-2-master UDMA100 dd if=/dev/urandom of=/home/test Wrote at 4485315 bytes/second: faster than I was expecting (based on linux's slow urandom function), but still slow enough to cause buffer under-runs. So the second question is: do I have to do anything special to enable buffer underrun protection? (with DVD+R's lossless linking feature, no data should be lost.) How important is running ATAPI/CAM? Obviously DVD burning was happening before the release of version 8, as far as I know. If running out of data is supposed to be abstracted away, did I find a bug that only shows up on old hardware or heavy load? (Or possibly drive firmware bug?) Regards, James Phillips # uname -a FreeBSD dusty.inet 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [1] dump/restore (to DVD+R) test failure http://docs.freebsd.org/cgi/getmsg.cgi?fetch=290415+0+archive/2010/freebsd-questions/20100530.freebsd-questions [2] Why DVD+R(W) is superior to DVD-R(W) http://www.myce.com/article/Why-DVDRW-is-superior-to-DVD-RW-203/ PS: is signing messages on the mailing list a faux-pas? -- OpenPGP Public Key: http://phillipsjk.ca/signature0611.txt signature.asc Description: Digital signature
Re: fetchmail in system-wide mode
2011/9/7 Daniel Bye freebsd-questi...@slightlystrange.org Hi Daniel, On Wed, Sep 07, 2011 at 05:25:50AM +0200, Xavier FreeBSD questions wrote: On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote: I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg For you, the answer of why don't worked for me fetchmail is lines 502 and 503 ? Looks like a permissions problem on the fetchmail config file, /usr/local/etc/fetchmailrc. What do you get when you run $ ls -l /usr/local/etc/fetchmail* ? I have just freshly installed fetchmail on a new system, and I see this: -rw--- 1 fetchmail fetchmail 130 7 Sep 21:24 - /usr/local/etc/fetchmailrc -rw-r--r-- 1 fetchmail fetchmail 130 7 Sep 21:24 - /usr/local/etc/fetchmailrc.sample If you see something different, try setting the permissions and ownership to what you see here, or try reinstalling the port. I don't have the /usr/local/etc/fetchmailrc because I use a user local file. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
fetchmail in system-wide mode
Hello, On the Internet there are some sites where they say to start fetchmail(1) in system-wide should put these two options in rc.conf(5) : fetchmail_enable=YES fetchmail_polling_interval=60 Although the second is optional and at first has little to do with this question because this question is addressed rather to the first option. I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no reference to these two options. I have them in my rc.conf(5) but fetchmail(1) does not start automatically. In /usr/src/UPDATING not found any reference to it. Which is the correct way to start fetchmail(1) in system-wide? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fetchmail in system-wide mode
On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote: Hi Daniel, On Tue, Sep 06, 2011 at 03:10:50PM +0200, Xavier FreeBSD questions wrote: Hello, On the Internet there are some sites where they say to start fetchmail(1) in system-wide should put these two options in rc.conf(5) : fetchmail_enable=YES fetchmail_polling_interval=60 This has worked for me in the past when I've needed fetchmail(1). Although the second is optional and at first has little to do with this question because this question is addressed rather to the first option. I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no reference to these two options. This is to be expected. fetchmail(1) is a port, not part of the base system. I have them in my rc.conf(5) but fetchmail(1) does not start automatically. In /usr/src/UPDATING not found any reference to it. Again, what you'd expect. Which is the correct way to start fetchmail(1) in system-wide? Is fetchmail installed on your system? If so, and you still can't get it to start automatically, try this: # script fetchmail_startup sh -x /usr/local/etc/rc.d/fetchmail start You'll now have a file called `fetchmail_startup' which will contain a record of exactly what the fetchmail rc script did as it executed, which may or may not prove informative. I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg For you, the answer of why don't worked for me fetchmail is lines 502 and 503 ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[SOLVED]Re: atheros 9285 wifi
On Fri 15/07/11 7:46 PM , Vincent Hoffman wrote:On 15/07/2011 03:15, wrote: On Thu 14/07/11 9:28 PM , Maciej Milewski wrote:On czwartek, 14 lipca 2011 04:25:59 Polytropon wrote: On Thu, 14 Jul 2011 12:02:02 +1000, freebsd- wrote: So are you saying I can't just grab the ath module? Depends. Maybe a newer version of the module requires a more recent version of the kernel, because a new interface or function was added... I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... You _can_ try to just compile (1st step) and load (2nd step) the module with the RELEASE kernel, but it's not guaranteed to work. Both steps may require updates in sources or in the running kernel as illustrated above. You may try to get ath driver from -HEAD and compile it with your RELENG_8 tree[1]. There are many fixes for this chipset in the -HEAD. The coming 9 will have it(I don't know the timeframe for the release though) [1] http://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [2] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [2] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [3] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html Ok, I tried that- I did look into running stable as well, something Polytropon mentioned which twigged and I thought I might go that way, but looking into it further it is still a development branch. I think I need a bit more stability for my users. I bit the bullet and built subversion (which I'm more comfortable with than cvs) and pulled down ath from head (specifically head/sys/dev/ath, head/sys/modules/ath, head/sys/modules/ath_pci - tried stable as well, but got the same result as now). I'm having trouble building though (if I need to switch to a different list let me know - just a little painful with no working network): I get some odd file not found errors on some includes (headers from ath_hal specifically), and when I fix that I get HAL_PHYERR_PARAM not defined errors which I can't quite figure out. A point in the right direction will do; right now I'm getting lost in the maze a bit. I'm going to keep trying to untangle this, but some assistance would be appreciated. are you following the instructions from Adrian (currently the ath maintainer) here http://forums.freebsd.org/showthread.php%3Ft%3D23594 [4] target=_blankhttp://forums.freebsd.org/showthread.php?t=23594 I do this myself and its working well. (atheros 9280 though) Arggh! I must be so tired... I completely missed the includes in those instructions- and worse yet: I forgot them myself! Thanks for the reminder :) Works like a dream now, anyway. 8.2 with head ath drivers (for reference). Cheers - Message sent via Atmail Open - http://atmail.org/ Links: -- [2] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [3] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [4] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atheros 9285 wifi
On Thu 14/07/11 9:28 PM , Maciej Milewski wrote:On czwartek, 14 lipca 2011 04:25:59 Polytropon wrote: On Thu, 14 Jul 2011 12:02:02 +1000, freebsd- wrote: So are you saying I can't just grab the ath module? Depends. Maybe a newer version of the module requires a more recent version of the kernel, because a new interface or function was added... I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... You _can_ try to just compile (1st step) and load (2nd step) the module with the RELEASE kernel, but it's not guaranteed to work. Both steps may require updates in sources or in the running kernel as illustrated above. You may try to get ath driver from -HEAD and compile it with your RELENG_8 tree[1]. There are many fixes for this chipset in the -HEAD. The coming 9 will have it(I don't know the timeframe for the release though) [1] http://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [2] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html Ok, I tried that- I did look into running stable as well, something Polytropon mentioned which twigged and I thought I might go that way, but looking into it further it is still a development branch. I think I need a bit more stability for my users. I bit the bullet and built subversion (which I'm more comfortable with than cvs) and pulled down ath from head (specifically head/sys/dev/ath, head/sys/modules/ath, head/sys/modules/ath_pci - tried stable as well, but got the same result as now). I'm having trouble building though (if I need to switch to a different list let me know - just a little painful with no working network): I get some odd file not found errors on some includes (headers from ath_hal specifically), and when I fix that I get HAL_PHYERR_PARAM not defined errors which I can't quite figure out. A point in the right direction will do; right now I'm getting lost in the maze a bit. I'm going to keep trying to untangle this, but some assistance would be appreciated. Cheers - Message sent via Atmail Open - http://atmail.org/ Links: -- [2] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
atheros 9285 wifi
Sorry, I hate to come to the list with such a stupid question. I followed up a thread from a couple of months ago regarding this chipset which is not fully supported yet- hardware resetting errors- and I'm trying to work out how to build this driver from head. Unfortunately, when I run the cvs commands suggested it can't seem to find it, and I'm wondering exactly what I'm missing. Network drops all the time, and won't handle any load, so assuming I only have amd64-8.2 base system utilities: CVSROOT=pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs cvs login cvs co ath cvs co ath_pci And downloading modules list doesn't show ath, if_ath, ath_pci, or anything with ath in it that is remotely related. As I understand it, cvs should be pulling from head by default right? So what am I missing? Or alternatively, how do I fix this wifi card- rebooting every time it drops is a PITA! :) Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atheros 9285 wifi
On Thu 14/07/11 11:15 AM , Chip Camden wrote:Quoth on Thursday, 14 July 2011: Sorry, I hate to come to the list with such a stupid question. I followed up a thread from a couple of months ago regarding this chipset which is not fully supported yet- hardware resetting errors- and I'm trying to work out how to build this driver from head. Unfortunately, when I run the cvs commands suggested it can't seem to find it, and I'm wondering exactly what I'm missing. Network drops all the time, and won't handle any load, so assuming I only have amd64-8.2 base system utilities: CVSROOT=pserver::/home/ncvs cvs login cvs co ath cvs co ath_pci And downloading modules list doesn't show ath, if_ath, ath_pci, or anything with ath in it that is remotely related. As I understand it, cvs should be pulling from head by default right? So what am I missing? Or alternatively, how do I fix this wifi card- rebooting every time it drops is a PITA! :) Cheers - Message sent via Atmail Open - http://atmail.org/ [3] target=_blankhttp://atmail.org/ ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [5] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to FWIW my ath 9285 is working fine on 8.2-STABLE. I'm running release, though. I'm not exactly cvs proficient, I prefer subversion- just installing it is a PITA atm- so how do I bring in the stable version of the driver? I'm assuming also, then, that I will have to recompile my kernel won't I? Any particular reason why ath is not a loadable module? - Message sent via Atmail Open - http://atmail.org/ Links: -- [3] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [5] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atheros 9285 wifi
On Thu 14/07/11 11:40 AM , Polytropon wrote:On Thu, 14 Jul 2011 11:37:08 +1000, wrote: I'm running release, though. I'm not exactly cvs proficient, I prefer subversion- just installing it is a PITA atm- so how do I bring in the stable version of the driver? Here's an approach that works quite well: First add to /etc/make.conf: SUP_UPDATE=yes SUP=/usr/bin/csup SUPFLAGS=-g -L 2 SUPHOST=cvsup.freebsd.org SUPFILE=/etc/sup/stable.sup Then create the /etc/sup directory, and in it, create the file /etc/sup/stabe.sup with the following content: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all The setting RELENG_8 will bring you the latest 8-STABLE. Maybe you should replace the servers with something near your location for better speed. Then, as root: # cd /usr/src # make update and you've got the current sources. I'm assuming also, then, that I will have to recompile my kernel won't I? Of course, and kernel and world have to be in sync, so building world is also needed. See the instructions in the Makefile's comment section: # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. 4. can be combined by using the kernel target] # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) # # See src/UPDATING `COMMON ITEMS' for more complete information. This is /usr/src/Makefile of course. So are you saying I can't just grab the ath module? I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... What are the cons to using stable? I thought stable was still being worked on and shouldn't be used for production? I'm providing services to very green users so I'd like to stay close to reliable as possible- hence my addiction with the release versions. - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl Problem After Upgrade to 5.12.4
On Wed, 06 Jul 2011 10:01:21 -0500, Tim Daneliuk wrote: Ideas anyone? I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 and get this (I DID run perl-after-upgrade prior to this): === p5-Encode-Detect-1.01 depends on file: /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in /usr/ports/devel/p5-Module-Build === License check disabled, port has not defined LICENSE === Extracting for p5-Module-Build-0.3800_1 = SHA256 Checksum OK for Module-Build-0.3800.tar.gz. === p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found === Patching for p5-Module-Build-0.3800_1 === p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found === p5-Module-Build-0.3800_1 depends on package: p5-CPAN-Meta=2.110420 - found === p5-Module-Build-0.3800_1 depends on package: p5-Module-Metadata=1.02 - found === p5-Module-Build-0.3800_1 depends on package: p5-Parse-CPAN-Meta=1.44.01 - found === p5-Module-Build-0.3800_1 depends on package: p5-Perl-OSType=1.000 - found === p5-Module-Build-0.3800_1 depends on package: p5-version=0.87 - found === p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found === Configuring for p5-Module-Build-0.3800_1 *** BOOTSTRAPPING Perl::OSType *** *** BOOTSTRAPPING version *** *** BOOTSTRAPPING Module::Metadata *** Checking prerequisites... requires: ! CPAN::Meta is not installed build_requires: ! Parse::CPAN::Meta (1.40) is installed, but we need version = 1.4401 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Could not create MYMETA files Creating new 'Build' script for 'Module-Build' version '0.3800' Copied META.yml to MYMETA.yml for bootstrapping These additional prerequisites must be installed: requires: ! Perl::OSType (we need version 1.00) ! version (we need version 0.87) ! Module::Metadata (we need version 1.02) === Building for p5-Module-Build-0.3800_1 Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled lib /usr/local/lib/perl5/5.12.4/BSDPAN /usr/local/lib/perl5/site_perl/5.12.4/mach /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13. BEGIN failed--compilation aborted at lib/Module/Build.pm line 13. Compilation failed in require at Build line 42. BEGIN failed--compilation aborted at Build line 42. *** Error code 2 Stop in /usr1/ports/devel/p5-Module-Build. *** Error code 1 Stop in /usr1/ports/converters/p5-Encode-Detect. *** Error code 1 Stop in /usr1/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr1/ports/mail/p5-Mail-SpamAssassi Hello Tim, list, I have the same problem on one of my boxes. Cannot upgrade p5-Module-Build-0.3800 port because of this. Cheers, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ORBit not upgrading
I have a wee problem... :) I've been naughty because I've been working on other things and I was going to simply rebuild this m/c when I got the chance anyway. Unfortunately I've run into a problem where I need to upgrade because I've found a bug in php 5.3.2 which is killing me. So I've run an upgrade at a rather late date, and alswell... except ORBit is not behaving. I've checked UPDATING and looked into the Makefiles, but for the life of me I can't fathom what the hell is going on. It is running thru the checks and stalls completely here: ... checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether gmake sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for strerror in -lcposix... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... cpp checking if C preprocessor likes IDL... yes checking if C preprocessor can read from stdin... yes checking how to ignore standard include path... Huh? Any reason it'd be looking for a non standard include path? Whats the hold up? Now this is ORBit-0.5.17_5, and I don't think a manual reinstall would make much difference. But WTF? Any Ideas? As for the php error: anybody have trouble with preg_match and the subject string being a variable? If I manually put the contents in as the subject it works, but it won't read out of the variable. I'm actually exec something and the variable holds the output (and yes, it does work, and the variable holds the info right- just ran a print on the variable) but the stupid thing is sending me bald and I can't register a bug before an upgrade. Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android usb tethering
not exactly sure what that meant (usb2.0, or libusb2, whatever). Now, I've only just quickly grabbed it and tried to make- I haven't had a chance to look too deeply into it as yet- but these are the errors if someone could throw me a clue as to what it might be indicating? (wrong library? generic error I have to debug?) if_rndis.c: In function 'rndis_recv_message': if_rndis.c:985: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' if_rndis.c: In function 'rndis_bulk_read_callback': if_rndis.c:1167: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1187: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1204: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' *** Error code 1 I did get from the site that it was for Windows Mobile, but I believe that this is a generic system coming out now. It might help? Cheers - Message sent via Atmail Open - http://atmail.org/ [2] target=_blankhttp://atmail.org/ ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [4] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [7] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to No, I'm afraid its not ethernet over usb as in an ethernet adaptor like axe. RNDIS is a protocol- and apparently there could be many more devices that use it as a universal medium since M$ opened the specs to public use. The linux output above says its something similar to cdce, but I don't think its the same- it also mentions rndis (rndis over cdce? or the reverse? Or just a slightly different form of cdce?). M$ were apparently talking about using it as a common medium for device comms so it could get hairy without it (much as I hate admitting that). I fiddled with cdce before, but didn't have any success- but that I think was more due to the fact I didn't know how to generate the devs file. I ended up putting the device manually into the driver but I don't think I was successful. (Incidentally I now know how to generate the damn file; stumbled on it by complete accident- so much for google! Couldn't find it by actually searching could I? I'll doc that here too: to generate usbdevs.h, run awk on the usbdevs2h.awk script in the dir- tools I think. There, that'll do I believe :) Google cache that!) This rndis module for Winblows Mobile should be close, but will probably need tweaking. Maybe merge with cdce as it appears to be in linux? That said if you have a Nexus maybe we can crack at it and share notes? I've gotten this far in ~2-3 mths, I'm sure it'll be quicker with someone with more coding experience and/or another phone. Interested? Incidentally, won't it be easier if it isn't just another modem, but just a network device? If the phone provides the IP all that needs to happen is to change the default route- right? The idea is, if I can crack it, is to use it for business purposes as the phone provides some functionality which can than be boosted by laptop for x11 connections, whatever over the vpn (the possibilties are endless- a complete mobile office and more). I was hoping to get a look into that code today; but today will be tomorrow in a matter of minutes (actually it is now), so I guess that was a pipe dream . Hopefully tomorrow... I mean today... its way too late for this! Cheers - Message sent via Atmail Open - http://atmail.org/ Links: -- [2] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [4] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [7] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android usb tethering
- I haven't had a chance to look too deeply into it as yet- but these are the errors if someone could throw me a clue as to what it might be indicating? (wrong library? generic error I have to debug?) if_rndis.c: In function 'rndis_recv_message': if_rndis.c:985: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' if_rndis.c: In function 'rndis_bulk_read_callback': if_rndis.c:1167: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1187: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1204: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' *** Error code 1 I did get from the site that it was for Windows Mobile, but I believe that this is a generic system coming out now. It might help? Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: failure to import ldif into ldap
On Fri 5/11/10 6:40 AM , Tim Dunphy wrote:Thanks all.. I have read the man of ldif your advice has gotten me quite far both in my current implementation and in my overall understanding of LDAP which I am hoping grows with each passing day. In my attempt to build my current directory, I have taken a dump of my last successful implementation (which was created on FreeBSD 8.1) and substituted values for the dc=company and dc=com values with the correct ones for the current directory (attempting to implement under CentOS 5.4) and even tho the correct schemas are in place it is choking on this entry: # defaults, sudoers, Services, acadaca.com dn: cn=defaults,ou=sudoers,ou=Services,dc=acadaca,dc=net objectClass: top objectClass: sudoRole cn: defaults description: Default sudoOption's go here And again I should have all the schemas in place to make this work... include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/misc.schema inlcude /etc/openldap/schema/sudoers.schema include /etc/openldap/schema/openldap.schema [ ldif]# ldapadd -h ldap -a -w secret -x -D cn=Manager,dc=acadaca,dc=net -f /home/tim/txt/ldif/acadaca-master.ldif adding new entry cn=defaults,ou=sudoers,ou=Services,dc=acadaca,dc=net ldapadd: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax Why this ldif will work in one directory but not another is a mystery at this point.. thanks again I'd be checking in a schema browser- make sure your objectclasses are all present and accounted for, plus your attributes and syntaxes match. HTH - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Android usb tethering
Anyone tried the data tethering feature on the Android phones? I've tried cdce and tried modifying cdce but no luck. I need to regenerate the device list, but I haven't had any luck yet- simply running make doesn't work, and I've read Makefiles and googled out the wazoo. I tried modifying the details off the openmoko site for their data tether system (for FreeBSD8, mind), still no luck. Apparently it uses the cdc_ether RNDIS according to my Fedora shit media system. usbconfig concurs. Any hints, suggestions on how to further my investigations and getting this thing working? Anyone happen to be working on this? Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android usb tethering
On Tue 2/11/10 10:11 AM , Alejandro Imass wrote:On Mon, Nov 1, 2010 at 6:25 PM, Ivan Voras wrote: On 11/01/10 15:42, Mark Atkinson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] In the above messages, the kernel detaches the storage device (umass) and tries to attach the new device, which doesn't have a driver so it's attached as ugen - generic USB. Yes. One has to remember that USB is just the bus just like pci, microchannel, etc. Even though you have access to the device on the bus you still need a driver for that specific ethernet chip your kernel. This is analogous to having a video card on the pci bus, you still need for the kernel to drive the specific chipset of the card regardless if it can see it on the bus. I have an HTC Nexus One so I may fiddle with this and see if I can help some more here. I am wishful that at least we can get a tty just like other gsm modems and from there it's pretty straight forward using wvdial or alike. If it's only the Ethernet over usb like you mention, then the chipset driver would have to be translated/ported to the FBSD kernel, if it's not already there ? Ok. But I will clarify here: The HTC Android systems uses an Internet Sharing feature- essentially Google has coded in routing/nat system into the base OS (probably moding the leftover code already in the linux base), and is trying to allow similar using bluetooth and wifi at a later date as well. The RNDIS is a M$ system that allows sharing anything over USB (network, files, etc- but all essentially operated as network anyway), something they've been playing with for some years- I was looking for an A-A USB cable since around 2003 or so to quickly transfer files when needed. Apparently M$ opened the specs a year or two ago and everyone's jumped on to use it. So where Google started was to start allowing the use of the router/nat via RNDIS USB - somehow this was easier than allowing bluetooth or wifi (probably security and available hardware features). So yes, apparently the phone hooks up as a usb mass storage device, uploads a file to the computer, and disconnects and becomes a network device. Here is the output from linux: usb 2-2.2: new high speed USB device using ehci_hcd and address 4 usb 2-2.2: configuration #1 chosen from 1 choice scsi9 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning usb 2-2.2: New USB device found, idVendor=0bb4, idProduct=0ff9 usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 2-2.2: Product: Android Phone usb 2-2.2: Manufacturer: HTC usb 2-2.2: SerialNumber: SH07TNX00726 usb-storage: device scan complete scsi 9:0:0:0: Direct-Access HTC Android Phone0100 PQ: 0 ANSI: 2 sd 9:0:0:0: [sdf] Attached SCSI removable disk sd 9:0:0:0: Attached scsi generic sg6 type 0 usb 2-2.2: USB disconnect, address 4 usb 2-2.2: new high speed USB device using ehci_hcd and address 5 usb 2-2.2: configuration #1 chosen from 1 choice usb 2-2.2: New USB device found, idVendor=0bb4, idProduct=0ffe usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 2-2.2: Product: Android Phone usb 2-2.2: Manufacturer: HTC usb 2-2.2: SerialNumber: SH07TNX00726 usbcore: registered new interface driver cdc_ether usb0: register 'rndis_host' at usb-:00:04.1-2.2, RNDIS device, ae:f6:3d:da:20:39 usbcore: registered new interface driver rndis_host usbcore: registered new interface driver rndis_wlan usb0: no IPv6 routers present usb 2-2.2: USB disconnect, address 5 usb0: unregister 'rndis_host' usb-:00:04.1-2.2, RNDIS device So. What would be my next step to make this work? OpenMoko have something similar and I tried moding some of their scripts (they've made theirs work with ALL OS- not just linux and Winblow$! Take heed manufacturers!) but it didn't mesh on the Android. I still end up with a generic host. As I mentioned, I tried modifying the cdce driver and the device list but that didn't help either, so when I moded the scripts and devd.conf I figured that was the missing piece of my puzzle. I'd actually pay someone to do this, but I do need to figure this out for myself anyway so I'm diving in deep and going to keep on struggling till I get it. I need it figured out before the year's end so I'm not going to sit on my laurels :) That, and a usb mass storage device emulator to trick a dumb digital photo frame ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [3] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [6] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to - Message sent via Atmail Open
Xorg manual configuration
I haven't got any response to Xorg in a jail, so I'll try and wing it... That said, I do need some help trying to figure out how to: 1. Determine exactly what Xorg is probing for (what details it needs, etc). So far I think I need memory address ranges, chipsets, etc. Found a lot of stuff in the log, but I'm not sure if its enough or all I need. 2. Then take the details and set them out in the Xorg.conf. (VideoAdaptor Section?) What I'm finding really annoying is why the manual configuration systems are completely unavailable as of now. I remember my first crack at getting X running on a 4.3 system, and having to go through screens of configurations for the monitor, card, inputs, etc. Ok, its cool now that we don't need to do this anymore, but it does kill things if you're trying this in a system which is restrictive. From all the info I gathered so far /dev/io is used for the probing. IF the details are entered manually, then surely this would mean it doesn't need io. I'm still not sure what to do about /dev/mem and /dev/kmem. This is just an experiment- please do humour me and let me have my fun trying to bang my head even against the brick wall- who knows? Maybe I'll get somewhere... :) Msg sent via @Mail - http://atmail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
makeinfo is stopping portupgrade
Hi, I'm still running 5.5R on a machine that needs a few ports upgraded. However, portupgrade now fails consistently when I try to upgrade m4 and autoconf262 with errors that seem to relate to makeinfo. Is there anything I can do to make this work, short of upgrading the base system? Making all in doc Updating ./version.texi restore=: backupdir=.am$$ am__cwd=`pwd` cd . rm -rf $backupdir mkdir $backupdir if (makeinfo --no-split --version) /dev/null 21; then for f in ./m4.info ./m4.info-[0-9] ./m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi cd $am__cwd; if makeinfo --no-split -I . -o ./m4.info ./m4.texinfo; then rc=0; cd .; else rc=$?; cd . $restore $backupdir/* `echo ././m4.info | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc ./m4.texinfo:481: Unknown command `'. ./m4.texinfo:2582: Unknown command `'. ./m4.texinfo:2584: Unknown command `'. ./m4.texinfo:2795: Unknown command `'. makeinfo: Removing output file `./m4.info' due to errors; use --force to preserve. *** Error code 1 Stop in /usr/ports/devel/m4/work/m4-1.4.11/doc. *** Error code 1 Stop in /usr/ports/devel/m4/work/m4-1.4.11. *** Error code 1 Stop in /usr/ports/devel/m4/work/m4-1.4.11. *** Error code 1 Stop in /usr/ports/devel/m4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.27118.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=m4-1.4.11,1 UPGRADE_PORT_VER=1.4.11,1 make DEPENDS_TARGET=package ** Fix the problem and try again. thanks, -- Joel Hatton | Direct: +61 7 3346 4520 AusCERT - Australia's national CERT | Hotline: +61 7 3365 4417 The University of Queensland| Fax: +61 7 3365 7031 Qld 4072 Australia | WWW: www.auscert.org.au | Email: ausc...@auscert.org.au ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: root /etc/csh
isn't the main reason because other shells may reside on a filesystem which isn't necessarily mounted in maintenance/single user mode? Or, libraries for the same? -- Jim Pazarena [EMAIL PROTECTED] Just link the shell of your choice statically and put it somewhere in /. Problem solved. Why doesn't FreeBSD ship bash and other shells besides the `sh' linked statically is beyond me. It wouldn't break ports, would it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFS2 limits
Erik Trulsson([EMAIL PROTECTED])@2008.11.09 20:54:14 +0100: Besides, for most database applications I can think of, what you would need are lots of *files*, which do not have any special limitations other than the the total space and number of i-nodes on the filesystem. Even if you were using the FS as a DB I can't think of any good reason to need 3+ subdirectories in a single directory. Large Maildirs for postfix and qmail/Courier. Some people don't delete email at all. Again, that requires lots of files, not lots of subdirectories. I agree, I misread the OP. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports and 64-bit Processors
FreeBSD has supported 64-bit architectures for a while now... Alpha and UltraSPARC come to mind--even if Alpha is no longer a Tier 1 architecture. I'm surprised to hear so many of you say that certain ports are broken on AMD64. I would think if they worked on other 64-bit processors they'd work on AMD64. Were the ports that are broken on AMD64 also broken on those other architectures, too? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Switching to IPv6?
I've been considering switching my home network to IPv6. I have a computer acting as a firewall sitting between my ISP and my three LANs at home. Of course, my DSL provider gives me an IPv4 address, and everything I want to access on the Internet is on an IPv4 network. The whole point is to learn to set up IPv6, to play with IPv6, and to become familiar with it, so when the day comes that the world actually uses IPv6 (ha ha) I'm ready, armed with knowledge. But the whole idea will go to pot if my firewall can't let my IPv6 networks access my IPv4 Internet connection. Does FreeBSD 7 provide such facilities as to allow access to an IPv4 network from an IPv6 network? What will my Vista, XP, and FreeBSD clients do if they only have an IPv6 address and I try to go to google.com or freebsd.org which are on IPv4 networks? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Architecture Handbook
One more book question... Is there anything significant to gain from reading both The Design and Implementation of the FreeBSD Operating System and The FreeBSD Architecture Handbook? I've skimmed the tables of contents for both books, and there seems to be some overlap in topics. What I don't know is if the details are redundant or if there's useful information to glean by reading both as opposed to just one or the other. Thank you, everyone, for your input! I really do appreciate you sharing your thoughts. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Design and Implementation of the FreeBSD Operating System
Thank you all for your input. I'm studying up on OS design and implementation for my own personal edification, so I started reading my old college Tanenbaum text Modern Operating Systems. Then I wanted to learn specifically about FreeBSD, so The Design and Implementation of the FreeBSD Operating System was the next logical step. I'll expand to other topics of interest from there. Again, thank you for your comments! Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Design and Implementation of the FreeBSD Operating System
Yet your point is completly valid one.. and that's why The Design and Implementation of the FreeBSD Operating System is the only book that I've been hesitant on buying so far ... Lucas (Absolute FreeBSD, 2nd Edition), Lavigne (The Best of FreeBSD Basics), Kong (BSD rootkits), Lehey (Download edition:) ) are all over my desktop as I write this mail, and I consult them daily ... Farrokhi (Network Administration with FreeBSD) and Hong (Building a Server with FreeBSD 7) are the ones coming in the next batch ... Has anyone on the list read Building a Server with FreeBSD 7: A Modular Approach? The description on bookpool.com makes it sound a little basic/superficial, covering topics such as how to install FreeBSD and how to install/configure programs via the ports. I'm already very familiar with these topics; does anyone know if this book covers more advanced topics or details like the nitty-gritty of configuing sendmail, apache, samba, NFS, etc? And what about Absolute FreeBSD? It's updated for FreeBSD 7, so I know it's current. Is it a good book? Is it worth the read? How valuable is its content? (I know I'm asking some very subjective questions, but if I'm going to spend hundreds of $$$ to build my library in this area, I'd like at least a couple of opinions about the books I buy.) So far .. there are only three books I would have bought but I didn't because I thought the situation could improve ... those are: The Design and Implementation of the FreeBSD Operating System, BSD Hacks and The FreeBSD HandBook... same reason for all of them .. too old by now (although I think I'll buy BSD Hacks anyways .. I just can't resist buying Lavigne books :( ) Personally, I don't think I'd ever buy The FreeBSD Handbook. It's a really good resource, but as long as it's actively updated electronically it's too dynamic to buy a hardcopy. I'd much rather read it online where I can get the latest revisions. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The Design and Implementation of the FreeBSD Operating System
This book was printed in August 2004. This predates FBSD 5, and I know there were some significant changes between the 4.x and 5.x branches. We've progressed further and are now into version 7. How well does this book apply to more current versions of FreeBSD, such as version 7? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to load dynamic library in httpd-error.log
From the httpd-error.log: [Wed Mar 19 05:40:16 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/json.so' - Cannot open quot;/usr/local/lib/php/20060613/json.soquot; in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/hash.so' - Cannot open quot;/usr/local/lib/php/20060613/hash.soquot; in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/filter.so' - Cannot open quot;/usr/local/lib/php/20060613/filter.soquot; in Unknown on line 0 [Wed Mar 19 05:40:24 2008] [notice] Digest: generating secret for digest authentication ... [Wed Mar 19 05:40:24 2008] [notice] Digest: done [Wed Mar 19 05:40:25 2008] [notice] Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.5 with Suhosin-Patch configured -- resuming normal operations The three files mentioned above are all available in the '/usr/local/lib/php/20060613-debug' directory. Should I be modifying a config file or something, or is this just a harmless error message? -- Gerard [EMAIL PROTECTED] An adequate bootstrap is a contradiction in terms. signature.asc Description: PGP signature
make install a port, but with a package?
Hi, I have a bad feeling that this has been asked already, and not that long ago, but I can't find it in my mailbox. Is there a variable I can set so that running 'make install' in a port directory will cause it to download the package, if available, and install that instead of building from source? In other words, the equivalent of 'portupgrade -NPP'. I have looked at the .mk files and nothing in there seems to do that. This is for the situation where portupgrade isn't installed yet, and I'd like to install it quickly from packages so I don't have to wait for Ruby to build. Sure, I could do it with pkg_add or sysinstall but it would be neat to be able to do everything from the ports tree. thanks, joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg build problem - font-misc-misc
Hi, I've _almost_ successfully upgraded to 7.2 xorg. For some reason, I'm getting a failure when building font-misc-misc and this stops other crucial ports getting built. At present, if I try to run 'X' I get the dreaded cannot find font fixed' error. I sync'd my ports tree again this morning but the problem remained. Here's the output from the build error I get: /usr/local/bin/bdftopcf -t nil2.bdf | gzip nil2.pcf.gz 4x6.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-1 ISO8859-1 4x6.bdf:No such file or directory *** Error code 1 Stop in /usr/ports/x11-fonts/font-misc-misc/work/font-misc-misc-1.0.0. *** Error code 1 Stop in /usr/ports/x11-fonts/font-misc-misc. Help? :) joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] Curious: what's up with bsdnews.com?
Hello list, Just curious: for me from the Netherlands bsdnews.com has not been accessible for a few days already. Does anybody know what is wrong? It seems that the domainname is still there and an A record as well. Regards, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Kernel Options fo a File Server
man tuning? Cheers, Lars. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Carey Posted At: Tuesday, May 22, 2007 1:28 PM Posted To: FreeBSD-Questions Conversation: Kernel Options fo a File Server Subject: Kernel Options fo a File Server Hello, What would be the best Kernel options to run a file server? I will be using an Intel server mother board with one Xeon quad core CPU installed (this mother board has 2 CPU sockets) 2GB RAM and dual 500Gb SATA HDD's I am thinking of options that would make the kernel efficient as a pure file server. Thanks, Ivan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to force ports to use OPENSSLBASE=/usr/local?
hi, i've an install of FreeBSD 6.2-RELEASE. base ssl is: /usr/bin/openssl version OpenSSL 0.9.7e-p1 25 Oct 2004 i've installed openssl from ports, `which openssl` version OpenSSL 0.9.8e 23 Feb 2007 i'm trying to get a ports-build of openssh-portable to link the ports-installed ssl, OpenSSL 0.9.8e. i've addedto '/etc/make.conf': +++ OPENSSLBASE=/usr/local and, am (re)building with, cd /usr/ports/security/openssh-portable make deinstall rmconfig OPENSSLBASE=/usr/local reinstall clean but, after build, i _still_ see the base-installed ssl used: ldd /usr/local/bin/ssh | grep ssl libssl.so.4 = /usr/lib/libssl.so.4 (0x283bb000) what do i need to set/change for the ports' openssl to be used -- for openssh and, eventually, all subsequent ports? thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Prevent process in disk wait
Hello list, While installing the Ruby port on a 6.1-Release system (uname -a FreeBSD sigma.socruel.nu 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Wed Sep 20 08:40:52 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SIGMA i386) I see that the process gets into a DL+ state: 37696 p0 IW+0:00.00 make install 37780 p0 IW+0:00.00 (sh) 37781 p0 IW+0:00.00 make -f Makefile OPENSSL_CFLAGS=-DNO_IDEA install 37787 p0 IW+0:00.00 /bin/sh -ec ./miniruby ./runruby.rb --extout=.ext -- ./bin/rdoc --all --ri --op /usr/local/share/ri/1.8 37788 p0 DL+ 39:43.11 ./ruby18 ./bin/rdoc --all --ri --op /usr/local/share/ri/1.8/system . The system is an old Pentium 5 with a standard IDE drive. Is there a possibility to tweak the system so that this doesn't happen or is something terribly wrong with the system? Besides this the system is running fine. This causes this process to take a very long time MTIA. Cheers, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI disks spinning down
I have a server, running FBSD 5.4, that has six SCSI disks in it. It's primarily a fileserver for IT, and it's not access frequently, but it does get some use. Most of the time--any time it's been sitting for a while and not accessed recently--reading from the drive takes a few seconds. I presume this is because the drive has spun down due to it's idleness and the delay is because the drive is spinning up again when I access it. Is there a way to disable this? The drives are IBM Deskstar drives (DPSS-318350M), and I don't know if this feature is a feature in the SCSI subsystem somewhere on FBSD or a jumper setting on the drive or what. I'm not even sure I can turn it off so the drives don't spin down. Any ideas, anyone? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: *bsd firewall appliance?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DW Posted At: Thursday, July 13, 2006 2:06 PM Posted To: FreeBSD-Questions Conversation: *bsd firewall appliance? Subject: Re: *bsd firewall appliance? Philippe Lang wrote: [EMAIL PROTECTED] wrote: Hi all, Just doing some early morning brainstorming, and my crazy thought of the day is this: My life would be so much easier if I could just get rid of my stupid PIX firewalls, and replace them what I know and love: FreeBSD. It's not that the PIX's have been causing me problems or anything like that, it's just that I believe in streamlining whenever possible, and since we've already exterminated Microsoft in my server room for at least 3 years, the only thing left that's not running FreeBSD are my appliances (firewalls and switches) and 2 leftover legacy servers still running Redhat that haven't been worth the effort to migrate to FreeBSD. I'm a one-man shop, and I can survive using the PIX IOS when I have to, but would just as soon use BSD if I could. Questions: 1) If I did this, I would probably only do it if I could figure out how to rack up some diskless servers to my 2-post communications rack. Any thoughts on hardware candidates, etc.? 2) If I did this, maybe it would be wiser to go with OpenBSD instead, since it is known for security? 3) Any good tutorials on setting up a diskless servers for Free/OpenBSD? 4) Any other considerations? 5) Am I just being stupid and should I just keep my PIX's going? I know, I know, if it ain't broke, don't fix it. Hi, Maybe a good start for you would be to have a look at http://www.m0n0.ch/wall/. WOW!! This is exactly what I was looking for and more! Can't wait to start trying it out! Thanks! Cheers, --- Philippe Lang Attik System ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, If you like m0nowall also take a look at pfSense (www.pfsense.com)! Maybe worth your while. Regards, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox crashes and hangs my 6.1R system
Hi Adi, On Thu, 8 Jun 2006 12:26:28 +0300, Adi Pircalabu wrote: On Thu, 08 Jun 2006 11:02:16 +1000 [EMAIL PROTECTED] wrote: Try to reproduce the above described behaviour and jump over with gdb. Sort of: gdb /usr/X11R6/lib/firefox/firefox-bin pid-of-firefox-bin (... wait) (gdb) t a a bt full Just to bring you and the list up to date - I've solved my hang issue :) It seems that it was nothing to do with Firefox, after all. I removed the ATI Radeon AGP card from my machine and reverted to the onboard i915 Intel video and no more problem. I think there may be something not quite right with the Xorg Radeon driver (or is it the radeon.ko?), or maybe even the hardware itself as what finally prompted me to remove the card was that I began to see more and more artifacts on the display - at its worst, my white-background xterms were becoming unreadable due to a growing reddish tinge that could only be cured by 'wiping' one xterm with another! Thanks for the help. joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade confusing '-P' and '-p'?
Hi, I'm in the middle of configuring a repeatable jail installation with some ports - in a nutshell, I want to install from locally built packages, but if not available locally I want to build the port myself _and_ create a package for future repetition. To prevent remote fetching, I set the PKG_FETCH variable to /bin/false as recommended. Here's the part I found curious: # portinstall -N -P -p x11-toolkits/gtk20 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 63 packages found (-0 +0) done] --- Checking for the latest package of 'x11-toolkits/gtk20' --- Found a package of 'x11-toolkits/gtk20': /usr/ports/packages/All/gtk-2.8.18_1.tbz (gtk-2.8.18_1) --- Fetching the package(s) for 'gtk-2.8.19' (x11-toolkits/gtk20) [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 63 packages found (-0 +0) done] --- Fetching gtk-2.8.19 ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/All/gtk-2.8.19.tbz ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/All/gtk-2.8.19.tgz ** Failed to fetch gtk-2.8.19 ** Listing the failed packages (*:skipped / !:failed) ! gtk-2.8.19(fetch error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Fetching the latest package(s) for 'gtk20' (x11-toolkits/gtk20) --- Fetching gtk20 ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/gtk20.tbz ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/gtk20.tgz ** Failed to fetch gtk20 ** Listing the failed packages (*:skipped / !:failed) ! gtk20@(fetch error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Located a package version 2.8.18_1 (/usr/ports/packages/All/gtk-2.8.18_1.tbz) --- Using it anyway although it is not the latest version (2.8.19), since -PP/--use-packages-only is specified --- Installing 'gtk-2.8.18_1' from a package --- Installing the new version via the package pkg_add: warning: package 'gtk-2.8.18_1' requires 'libxml2-2.6.24_1', but 'libxml2-2.6.26' is installed Note from the above that portinstall is presuming that -PP was used and is not building the port. I can omit the '-p' and this stops the occurrence of this error, but then I don't get a package creation and that means I'll have to build this port from scratch every time I want to install it. I could force package creation of all ports, but this seems wasteful when only a few require this process. Is this a bug in portupgrade, or have I just used a conflicting array of arguments? cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox crashes and hangs my 6.1R system
Hi Adi, Thanks for the reply :) On Wed, 7 Jun 2006 18:23:46 +0300, Adi Pircalabu wrote: I tried to reproduce it on two 6.1-STABLE systems but with no result, file upload works just fine. I have a bad feeling that it's very hard to reproduce. On the other hand, did the problem started to occur at a specified date? Can you link the problem with a world / ports update? Yes, this problem seems to have begun after the upgrade from 6.1-RELEASE to 6.1-RELEASE-p1, though it's hard to see the connection. Try to reproduce the above described behaviour and jump over with gdb. Sort of: gdb /usr/X11R6/lib/firefox/firefox-bin pid-of-firefox-bin (... wait) (gdb) t a a bt full Excuse my ignorance - I take it I need to o start firefox normally o run gdb as above o invoke the crash situation o then ... ? I'm just hoping that there's enough cpu left to save something at that point! options SCHED_ULE # ULE scheduler Do you need SCHED_ULE? Try SCHED_4BSD instead, Ff is very picky when it comes to threads. I probably don't - I added this after reading /usr/src/sys/conf/NOTES and it hadn't bitten me until maybe now. I'll recompile the kernel with SCHED_4BSD before I carry on. cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox crashes and hangs my 6.1R system
ATA_STATIC_ID # Static device numbering device ahc # AHA2940 and onboard AIC7xxx devices device isp # Qlogic family device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device pmtimer device sio # 8250, 16[45]50 based serial ports device ppc device ppbus # Parallel port bus (required) device lpt # Printer device em # Intel PRO/1000 adapter Gigabit Ethernet Card device loop# Network loopback device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device bpf # Berkeley packet filter device uhci# UHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse options NETSMBCRYPTO options LIBICONV options LIBMCHAIN options UNIONFS #Union filesystem options NULLFS #NULL filesystem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager install from packages (please)
Hi Gerard, On Fri, 05 May 2006 20:48:40 -0400, Gerard Seibert wrote: Have you tried contacting Michael C. Shultz [EMAIL PROTECTED] in regards to this matter? No, I haven't - at present, the port Makefile lists: MAINTAINER= [EMAIL PROTECTED] I thought it best to start there. cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to handle 'local' ports/packages?
On Wednesday 05 April 2006 01:35, [EMAIL PROTECTED] wrote: to the +CONTENTS file for the package, but then portmanager complains that it is nonexistent and won't complete 'portmanager -s'. To make matters more awkward, this package is built from a closed-source binary distribution and thus can't be properly ported, so I can't set it up properly. A port does not have to be built from source, there are several (maybe many) closed-source packages in the ports-tree, for example: archivers/rar mail/mulberry x11/nvidia-driver Ok, that's fine, but how can I have a port on my system that isn't in the ports tree available to the world? I mean, won't anything I add to my local tree be deleted by cvsup'ing? joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to handle 'local' ports/packages?
Hi, Can anyone give me a tip on how to properly integrate a local package so that I don't get: pkg_delete: package x has no origin recorded errors? I've tried adding a line like: @comment ORIGIN:local/ to the +CONTENTS file for the package, but then portmanager complains that it is nonexistent and won't complete 'portmanager -s'. To make matters more awkward, this package is built from a closed-source binary distribution and thus can't be properly ported, so I can't set it up properly. What I'd like is for management tools to acknowledge its existence, yet ignore it entirely for the purposes of maintenance. For instance, I have already made it a held package under pkgtools.conf, which seems to satisfy portupgrade ok. I'm happy with the package I've made, as it enables me to check what version is installed with pkg_info, I just want it to play nicely with other real ports! joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Webserver behind nat/ipfw
any to any 43 out via $pif setup keep-state # Allow ntp time server $cmd 130 $skip udp from any to any 123 out via $pif keep-state # # Interface facing Public Internet (Inbound Section) # Interrogate packets originating from the public Internet # destine for this gateway server or the private network. # # Deny all inbound traffic from non-routable reserved address spaces $cmd 301 deny all from 172.16.0.0/12 to any in via $pif #RFC 1918 private IP $cmd 302 deny all from 10.0.0.0/8 to any in via $pif #RFC 1918 private IP $cmd 303 deny all from 127.0.0.0/8 to any in via $pif #loopback $cmd 304 deny all from 0.0.0.0/8 to any in via $pif #loopback $cmd 305 deny all from 169.254.0.0/16 to any in via $pif #DHCP auto- config $cmd 306 deny all from 192.0.2.0/24to any in via $pif #reserved for docs $cmd 307 deny all from 204.152.64.0/23 to any in via $pif #Sun cluster $cmd 308 deny all from 224.0.0.0/3 to any in via $pif #Class D E multicast # Deny ident $cmd 315 deny tcp from any to any 113 in via $pif # Deny all Netbios service. 137=name, 138=datagram, 139=session # Netbios is MS/Windows sharing services. # Block MS/Windows hosts2 name server requests 81 $cmd 320 deny tcp from any to any 137 in via $pif $cmd 321 deny tcp from any to any 138 in via $pif $cmd 322 deny tcp from any to any 139 in via $pif $cmd 323 deny tcp from any to any 81 in via $pif # Deny any late arriving packets $cmd 330 deny all from any to any frag in via $pif # Deny ACK packets that did not match the dynamic rule table $cmd 332 deny tcp from any to any established in via $pif # Allow traffic in from ISP's DHCP server. This rule must contain # the IP address of your ISP's DHCP server as it's the only # authorized source to send this packet type. # Only necessary for cable or DSL configurations. # This rule is not needed for 'user ppp' type connection to # the public Internet. This is the same IP address you captured # and used in the outbound section. $cmd 360 allow udp from $dhcp to any 68 in via $pif keep-state # Allow in standard www function because I have (secure) Apache server $cmd 371 allow tcp from any to $webserver 80 in setup limit src-addr 2 # Reject Log all unauthorized incoming connections from the public Internet $cmd 400 deny log all from any to any in via $pif # Reject Log all unauthorized out going connections to the public Internet $cmd 450 deny log all from any to any out via $pif # This is skipto location for outbound stateful rules $cmd 800 divert natd ip from any to any out via $pif $cmd 801 allow ip from any to any # Everything else is denied by default # deny and log all packets that fell through to see what they are $cmd 999 deny log all from any to any End of IPFW rules file ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 1.5
So the lunacy is even more widespread!? Sheesh, I *really* hope the port will support turning it off. Speaking of lunacy: Before I upgrade to 1.5, can someone tell me if the 'feature' of renaming downloaded files by incrementing version number has been restored to a more sensible Do you want to overwrite this file question or even a clear filename.bla[2] signature? I've managed to download the same file three times, with newly created 'versions' without realising! It's particularly annoying when the file itself has a version number, so I end up with: file-5.3 file-6.3 file-7.3 and so on... joel -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI negotiation problems, please help!
I have a tape drive that seems to have lost its ability to negotiate optimal settings. FreeBSD 5.4-Stable (compiled 13 Sep 2005) Dell PowerEdge 1750 # uname -a FreeBSD hr-stc-file2.smartrafficenter.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 13 22:44:46 EDT 2005 root@:/usr/obj/usr/src/sys/HR-STC-FILE2 i386 (from /var/run/dmesg.boot) ch0 at ahc0 bus 0 target 0 lun 0 ch0: EXABYTE VXA 1x10 1U A10A Removable Changer SCSI-4 device ch0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) ch0: 10 slots, 1 drive, 1 picker, 0 portals ... sa0 at ahc0 bus 0 target 1 lun 0 sa0: EXABYTE VXA-2 2109 Removable Sequential Access SCSI-2 device sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) # camcontrol negotiate ch0 Current Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled # camcontrol negotiate sa0 Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled No matter what I do with camcontrol, I can't get it to change these parameters--only the user parameters (-U): # camcontrol negotiate ch0 -a -c -D enable -O 32 -R 40.000 -T disable -W 16 Current Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled New Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled # camcontrol negotiate sa0 -a -c -D enable -O 32 -R 40.000 -T disable -W 16 Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled New Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled # camcontrol negotiate sa0 -U Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 10 (pass2:ahc0:0:1:0): frequency: 40.000MHz (pass2:ahc0:0:1:0): offset: 32 (pass2:ahc0:0:1:0): bus width: 16 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled I've tried everything I can except a reboot, but that can't happen right now as this is on a production server. I've tried rescanning the bus; I've tried resetting the bus; I've tried powering the library/drive off, rescanning the bus to remove the devices, powering the library/drive back on, and rescanning again to find the devices again; and no matter what I do, I keep getting these 3.3 MB/s transfer rates, 8-bit bus widths, and very degraded tape performance. Short of a reboot, how do I restore the initial negotiation settings from when the server was initially powered up? And because I feel like the question is going to be asked... I think this happened when a coworker cycled power on the tape library. Is there any way to reinitialize the SCSI card and renegotiate with the attached devices? dmesg.boot and kernel config attached. Thanks! Kevin dmesg.boot Description: Binary data HR-STC-FILE2 Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gvinum: adding plex and subdisks to existing volume
On 23 dec 2005, at 15:25, Ludo Koren wrote: Arno Beekman [EMAIL PROTECTED] writes: On 18 dec 2005, at 18:24, Ludo Koren wrote: Any help appreciated, I cannot find useful hints. http://www.vinumvm.org/ http://www.freebsddiary.org/vinum.php man 4 vinum man 8 vinum http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- vinum.html http://devel.reinikainen.net/docs/how-to/Vinum/ maybe I was not enough specific. There is not enough information about gvinum in the case. All you've mentioned is about vinum and there are some diffrences; not all commands are implemented... BTW, the addition of disk on 5.4-STABLE is causing panic. I posted the problem to the [EMAIL PROTECTED] Regards, lk hi Ludo, gvinum = vinum anything you need to do to add a new drive which is written on those sites can be done for gvinum as well... at least that's my experience if you follow the descriptions of replacing a disk and get panics there might be something else that's wrong Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading roots mail when connected remotely
On 21 dec 2005, at 20:55, Pietro Cerutti wrote: On 12/21/05, Daniel A. [EMAIL PROTECTED] wrote: Stupid question, I know :( How do I read the mail sent to root, if I can only access my server via SSH? When I su, and type mail, it shows only mail to the user I connected with. su - (with the minus sign) simulates a full login, see man su for details ...followed by: mail -uroot Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need a better way to loop in the shell...
On 14 dec 2005, at 05:44, user wrote: I always do loops in /bin/sh like this: for f in `cat file` ; do rm -rf $f ; done Easy. I like doing it like this. The problem is, when I am dealing with an input list that has multiple words per line, this chops it up and treats every word as a new line... For instance, lets say I have a file full of filenames, like this: # cat file 10,000 Maniacs MTV Unplugged - 01 - These Are Days.mp3 10,000 Maniacs MTV Unplugged - 02 - Eat For Two.mp3 10,000 Maniacs MTV Unplugged - 03 - Candy Everybody Wants.mp3 and I try to use the above loop on it, it thinks that every word is a line ... the above loop will attempt to delete the following files: 10,000 Maniacs MTV Unplugged - 01 - These (and so on) Even if I quote the variable $f, like: for f in `cat file` ; do rm -rf $f ; done it still does the same thing. - So my question is, what is a nice simple way to loop in the shell, as close to what I am doing above as possible, that does not have this problem ? Should I just be using something other than `cat` ? Or what ? THanks. You can also try to store cat file into a variable: #!/bin/sh V=`cat file` for f in $V ; do rm -rf $f ; done Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making packages
Hi Chris, The pkg_create man page advises to ``use a front-end tool for the job rather than muddling through it yourself'' Did you receive any response to this particular question? I have only lately noticed this anomaly myself, and wished that it read ... a front-end tool, such as xxx In your situation, however, I'd recommend a) using portupgrade -pf for already-installed packages or b) portinstall -p and then pkg_deinstall, for packages you don't wish to install locally. I've noticed also (accidentally, when I forgot to unset it after a jail installation) that portinstall appears to respect DESTDIR in the environment, so you could set this variable before performing a temporary installation too (but YMMV, of course). cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc/profile and PATH
Hello list I have set some environment vars in /etc/profile such as PATH QTDIR (for Qt) LD_LIBRARY_PATH etc. All variables are setup successfully except PATH that remains unchanged... I tried to setup PATH in ~/.profile and now is updated but how can I setup this variable system wide? specifically want to add the Qt and MySQL binary directories to the PATH... Thanx man 5 login.conf cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed problem
Hi, So I guess I need some advice here what to do next. I would not like to make a full reinstall (otherwise I would have done that already long tme I'd suggest investigating the option of performing a binary upgrade to a supported 4.x release - this would likely present no more risk to your running system than an installworld and would almost certainly solve your problem. You should then be able to remake any ports or other applications affected by the upgrade, and cvsup/remake your world when necessary. -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
-if the attempt was with a username that doesnt exist - i add the ip to a db of banned ips and flush and restart ipfw I'm curious about this bit - what do you do about accidentally mistyped usernames by valid users? cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
if this server was used by 100+ people i would of course not have such a harsh security script set up. everyone who uses it has great experience and understands the consequences. like i said before, this is usually for personal use and has about 12 users total. if this was used to manage ssh on something big i would lower the security measures. hope you can understand some now :) Certainly. However, given that you are willing to accept (risk?) 5 attempts at a legitimate account I don't believe there would be any greater risk in allowing the same for invalid accounts also, given that the likelihood of gaining access to those is actually less - and it would make your script simpler, too, whilst preventing the (albeit, unlikely in your situation) possibility of a DoS to a valid user. To be honest, reversing your logic somewhat wrt valid/invalid accounts and 1/5 attempts could have merit also. That said, I'd be interested in seeing how you implement this with swatch as I'm looking at log parsing solutions in general. best regards, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
On Fri, 26 Aug 2005 00:24:48 +0200 Maarten Sanders [EMAIL PROTECTED] wrote: Nice suggestion, but how do I enable tcp_wrappers with sshd? from http://lists.freebsd.org/pipermail/freebsd-security/2004-September/002351.htm l in /usr/src/crypto/openssh/config.h find the line : /* Define if you want TCP Wrappers support */ enable it, rebuild etc. This is the default, so no need to rebuild - you just have to tighten up your /etc/hosts.allow. Instead of the default: ALL : ALL : allow try (eg if you have a host 192.168.1.1): sshd : 192.168.1.1 : allow ALL : ALL : deny joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_6 upgrade from RELENG_5
Thanks, I think much better to leave GENERIC as is and making new config file like th is: include GENERIC ident NEWKERNEL nomakeoption DEBUG nooptions KDB nooptions DDB nooptions GDB nooptions INVARIANTS nooptions INVARIANTS_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN This approach is new to me (I presume it is new to 6, or else I've not been awake) - looks like a good way to build a config file. I appreciate the other replies with information about where to get UPDATING - thanks Gary and Nikolas. regards, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
weird disk names
I just upgraded to 5.4-p6 started gvinum and got this in /dev: root:/dev# ls /dev | grep ad2 ad2 ad2a ad2c ad2cs1 ad2cs1c ad2cs1d ad2cs1e ad2s1 ad2s1c ad2s1d ad2s1e Where does the CS come from? thanks Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dump/Tape block question
Sorry if this is a repeat. I posted this on the 21st and never saw it show up in the mailing list, so I'm assuming nobody ever received it. I have a question about dump and tape blocks. When I do backups, dump tells me it uses a certain number of blocks for that particular backup. I explicitly set my block size to 65K when I do a dump. When I read the SCSI or hardware block location on the tape after the dump, it's nowhere near the same number as what dump said it used. How big is each block? I'd like to know about where on the tape I am when I do an 'mt rdhpos' command (but I don't know how to determine the reported block size), and I'd like to be able to calculate how much data was written for each backup based on the number of blocks dumped (I assume these blocks are the size I specify on the dump command line). In fact, how can I calculate how many blocks my tape can hold? (i.e. What is the biggest block number an 'mt rdhpos' or 'mt rdspos' will report for my tape?) Of course, an obvious solution to the last question is to write enough data to fill the tape and then check the output of 'mt rdhpos'. I'd rather not spend the hours needed and the unneeded wear on the tape to figure that out. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to create mtree files?
[EMAIL PROTECTED] writes: I would like to use the mtree utility to confirm no changes have occurred to system files since 'make installworld', similar to that possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a release installation. This would also give the added advantage of being able to determine the current buildlevel of an installed system, I believe. Is it possible/easy to create new mtree files after the buildworld or installworld process? I've looked at the Release Engineering docs but it seems more than what I'd like to do. I should add that I am running tripwire, but I really want to have a quick way to verify which files were part of which installworld. man 8 mtree has full details. mtree -c -p / is the start of what you're looking for. Thanks - I misinterpreted what the '-c' flag does, but after running your example it all makes sense now. To wrap this up for me, is mtree the way to maintain a record of at what level a particular build was performed? In other words, using 'uname -a' tells me when the kernel was built, but what best tells me when /usr/bin/telnet was patched and built and against what source? cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to create mtree files?
Hi, I would like to use the mtree utility to confirm no changes have occurred to system files since 'make installworld', similar to that possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a release installation. This would also give the added advantage of being able to determine the current buildlevel of an installed system, I believe. Is it possible/easy to create new mtree files after the buildworld or installworld process? I've looked at the Release Engineering docs but it seems more than what I'd like to do. I should add that I am running tripwire, but I really want to have a quick way to verify which files were part of which installworld. thanks, joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dump/Tape blocks question
I have a question about dump and tape blocks. When I do backups, dump tells me it uses a certain number of blocks for that particular backup. I explicitly set my block size to 65K when I do a dump. When I read the SCSI or hardware block location on the tape after the dump, it's nowhere near the same number as what dump said it used. How big is each block? I'd like to know about where on the tape I am when I do an 'mt rdhpos' command (but I don't know how to determine the reported block size), and I'd like to be able to calculate how much data was written for each backup based on the number of blocks dumped (I assume these blocks are the size I specify on the dump command line). In fact, how can I calculate how many blocks my tape can hold? (i.e. What is the biggest block number an 'mt rdhpos' or 'mt rdspos' will report for my tape?) Of course, an obvious solution to the last question is to write enough data to fill the tape and then check the output of 'mt rdhpos'. I'd rather not spend the hours needed and the unneeded wear on the tape to figure that out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ffserver, streaming audio problem
. Loaded symbols for /usr/local/lib/libmp3lame.so.0 Reading symbols from /usr/local/lib/libmp4v2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libmp4v2.so.0 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x280cc5e0 in __divdi3 () from /usr/local/lib/libavformat.so (gdb) run Starting program: /usr/local/bin/ffserver (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program exited normally. (gdb) quit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.x raid...
On 14 jul 2005, at 15:27, Casper wrote: Hi, I have web server with one ata system disk and two sata disks for www stuff... I wanted to make that all www stuff is on one sata disk and mirror (backups) it to second disk if first sata brakes... So I have little experience with vinum (one samba server vinum raid5 working ok without problem) so I wanted to make on www server with vinum raid1... But something not working: dmesg: ad4: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at ata2- master SATA150 ad6: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at ata3- master SATA150 #cat www.vinum drive a device /dev/ad4c drive b device /dev/ad6c volume www plex org raid1 512k sd length 165g drive a sd length 165g drive b [EMAIL PROTECTED] vinum create -f www.vinum 4: plex org raid1 512k ** 4 Invalid plex organization: Invalid argument 5: sd length 165g drive a ** 5 Unnamed sd is not associated with a plex: Invalid argument 6: sd length 165g drive b ** 6 Unnamed sd is not associated with a plex: Invalid argument 2 drives: D a State: up /dev/ad4c A: 190782/190782 MB (100 %) D b State: up /dev/ad6c A: 190782/190782 MB (100 %) 1 volumes: V www State: down Plexes: 0 Size: 0 B 0 plexes: 0 subdisks: What is problem? 'plex org raid1 512k' is invalid you should use: 'plex org concat' http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- examples.html man vinum man 4 vinum Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New site link
On 06 jul 2005, at 00:19, CherryFun wrote: Hello my name is Jevgenij Dalnikov. I've found that your website has links on lithuanian sites. We would like to tell you that new dating site has been launched, which has been made in Lithuania - www.cherryfun.com It would be big pleasure if you put a link on this site on your http://www.freebsd.org/fr/gallery/npgallery.html page Thank you in advance. http://uptime.netcraft.com/up/graph?site=http%3A%2F% 2Fwww.cherryfun.com%2F i don;t think so... Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 19:03, fbsd_user wrote: On Sun, 3 Jul 2005 12:14:05 -0400 fbsd_user [EMAIL PROTECTED] wrote: Thanks but I need a little more help. num_ip=(printf $raw_ip | sed 's/\.//g') gives me a error. What would the correct syntax be? I am trying to write script to insert rules into PF firewall on 5.4. using pf anchors. Hello, The problem here is that num_ip=(printf $raw_ip | sed 's/\.//g') makes num_ip equal to (printf $raw_ip | sed 's/\.//g') instead of its output. To assign the output of a command use `: num_ip=`(printf $raw_ip | sed 's/\.//g')` Also the subshell (the ()) is not needed: num_ip=`printf $raw_ip | sed 's/\.//g'` Hope that helps. Best Regards, Ale Thanks that was just what I needed. Now building on that I tried this std_text='No ALTQ support in kernel ALTQ related functions disabled' ret_ob=`(echo $outrule) | pfctl -a doorman_ob:$session_name_ob -f - 21` ret_ob=`printf $ret_ob | sed 's/\$std_text//g'` The goal here is to remove the std_text from the output of the pftctl command. I get this error printf missing format character Does sed need different syntax or have I got it all wrong? printf needs surrounding the arguments: printf $ret_ob is the right syntax... Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 15:39, fbsd_user wrote: What is the sh coding to strip the periods from a IP address?? raw_ip='10.0.10.5' this is starting num_ip='100105'and this is what I need to convert to. Hi, many ways, here's one: printf '10.0.10.5' | sed 's/\.//g' Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 17:18, fbsd_user wrote: On 03 jul 2005, at 15:39, fbsd_user wrote: What is the sh coding to strip the periods from a IP address?? raw_ip='10.0.10.5' this is starting num_ip='100105'and this is what I need to convert to. Hi, many ways, here's one: printf '10.0.10.5' | sed 's/\.//g' Arno * Thanks but I need a little more help. num_ip=(printf $raw_ip | sed 's/\.//g') gives me a error. What would the correct syntax be? I am trying to write script to insert rules into PF firewall on 5.4. using pf anchors. you forgot the around the printf argument: num_ip= `printf $raw_ip | sed 's/\.//g' ` Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 20:59, fbsd_user wrote: std_text='No ALTQ support in kernel ALTQ related functions disabled' ret_ob='No ALTQ support in kernel ALTQ related functions disabled OK' ret_ob=`printf $ret_ob | sed 's/\$std_text//g'` Does not strip off the std_text stuff. How would I code a statement to remove everything from $ret_ob but the ok at the end so $ret_ob would only contain the ok?? Some times $ret_ob will end in some error message and that is what I want to capture after striping off the std_text. Thanks hmm try this then: ret_ob=`printf $ret_ob | tr -d $std_text` Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum problems on FreeBSD 5.4-STABLE
On 28 mei 2005, at 02:21, Kris Kirby wrote: Trying to make a mirror of two slices, but I see to be running into some issues here. I'm not on questions, so please CC me on all replies. Maybe it's a good idea to subscribe cuz then you would have been able to read what we wrote about this for the lastcouple of days # /etc/vinum.conf volume var plex name var.p0 org concat drive va device /dev/ad0s1g sd name var.p0.s0 drive va length 256m plex name var.p1 org concat drive vb device /dev/ad1s1d sd name var.p1.s0 drive vb length 256m When I create it, using -f, I get: vinum - l 2 drives: D vaState: up /dev/ad0s1g A: 1791/2048 MB (87%) - note triple allocation D vbState: up /dev/ad1s1d A: 255/512 MB (49%) 1 volumes: V var State: up Plexes: 2 Size: 256 MB 2 plexes: P var.p0 C State: up Subdisks: 1 Size: 256 MB P var.p1 C State: faulty Subdisks: 1 Size: 256 MB 2 subdisks: S var.p0.s0 State: up D: va Size: 256 MB S var.p1.s0 State: empty D: vb Size: 256 MB vinum does not like FBSD 5.4 or vice versa it is not supported you could manually 'setstate up var.p1.s0' and 'setstate up var.p1' that should work i tested it with a raid 1 mirror, removed the HD that came up ok and checked if the mirror would still come up, which it did i do definitely not recommend it though while you aren't still useing the raid, go use something else than vinum Doesn't seem like this is right. I also run into a problem when trying to do a resetconfig: vinum - resetconfig WARNING! This command will completely wipe out your vinum configuration. All data will be lost. If you really want to do this, enter the text NO FUTURE Enter text - NO FUTURE Can't find vinum config: Inappropriate ioctl for device you'll be getting this all the time if yu continue to use vinum in FBSD 5.4 and the configuration is still there after I try to resetconfig. When I reboot and do I vinum start, I get an error that there are no drives in the vinum config. do 'vinum read' but expect to have kernel panics... FreeBSD ginsu.catonic.net 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri May 27 01:28:15 PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/ compile/SMP i386 dmesg availible on request. No securelevel in place, at -1. Thanks in advance. again, i'd stay away from vinum/gvinum in FBSD 5.x if i were you... if you don't, come join me in the mental institute for stubbern vinum users :) Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 28 mei 2005, at 09:01, [EMAIL PROTECTED] wrote: [...] you're welcome maybe the complete vinum chapter should be removed from the handbook? Arno Perhaps the Vinum chapter should say up front that Vinum works with FreeBSD 4.x but not with 5.x jd yeah better idea Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 27 mei 2005, at 16:38, [EMAIL PROTECTED] wrote: [...] not very encouraging... Is it a RAID 5 you were able to make work under 5.4? jd hey yeah a 3x160 GB RAID5 and 2x80 GB RAID 1 in FreeBSD 5.4-p1 i get the same error message everytime i start vinum or whenever i execute a command in vinum and really loads of kernel panics whenever i try to get it to work after a crash i have an unorthodox way of recovering from this because it's nearly impossible to do stuff in vinum without causing kernel panics yesterday evrything was ruined again (after upgrading to p1) i wiped the complete config (rest config - NO FUTURE) read in the config file (create RAID5) set every state up manually (setstate up ...) and rebuild parity took about 10 hours to rebuild but then everything is back up and running i tried Gvinum too but that doesn't have the setstate nor the ruibld parity command and still you can't stop gvinum (gvinum stop doesn't work, nor does kldunload geom_vinum.ko) i have no way of changing to a different soft raid due to lack of space to backup so i'm stuck with this for as lo0ng as it takes :) so, one advice don't do it hehehe Arno Many thanx... I guess I better stick with 4.11 jd you're welcome maybe the complete vinum chapter should be removed from the handbook? Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 26 mei 2005, at 23:10, jd wrote: I am trying to set up Vinum on a new system, and I get the error message: vinum: Inappropriate ioctl for device. Here are the details: ... Vinum used to work beautiful under 4.11; I'm wondering what do I need to change to make it work under 5.4? Go back to 4.11! vinum is a nightmare in 5.4 and gvinum is not nearly mature enough... I do have it running but every update it takes me 2 days to get the RAIDs back up Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 27 mei 2005, at 16:13, [EMAIL PROTECTED] wrote: [...] Go back to 4.11! vinum is a nightmare in 5.4 and gvinum is not nearly mature enough... I do have it running but every update it takes me 2 days to get the RAIDs back up Arno Arno, not very encouraging... Is it a RAID 5 you were able to make work under 5.4? jd hey yeah a 3x160 GB RAID5 and 2x80 GB RAID 1 in FreeBSD 5.4-p1 i get the same error message everytime i start vinum or whenever i execute a command in vinum and really loads of kernel panics whenever i try to get it to work after a crash i have an unorthodox way of recovering from this because it's nearly impossible to do stuff in vinum without causing kernel panics yesterday evrything was ruined again (after upgrading to p1) i wiped the complete config (rest config - NO FUTURE) read in the config file (create RAID5) set every state up manually (setstate up ...) and rebuild parity took about 10 hours to rebuild but then everything is back up and running i tried Gvinum too but that doesn't have the setstate nor the ruibld parity command and still you can't stop gvinum (gvinum stop doesn't work, nor does kldunload geom_vinum.ko) i have no way of changing to a different soft raid due to lack of space to backup so i'm stuck with this for as lo0ng as it takes :) so, one advice don't do it hehehe Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ICMP redirect
On 25 mei 2005, at 17:55, Charles Swiger wrote: On May 25, 2005, at 11:46 AM, FreeBSD questions mailing list wrote: Lately i get a lot (really a lot) of these errors: icmp redirect from 127.0.0.1: my outside IP = 127.0.0.1 I have no idea where they come from and better how to get rid of them... Can anyone point me in a direction to solve this problem? You are probably trying to access services on the localhost via the name of your outside IP, rather than via localhost. I would gather than you are running NAT somewhere. You can set up /etc/hosts so that name refers to the inside IP addr, or set up split DNS. Another way would be to add an alias of your outside IP on the machine... -- -Chuck thanks Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ICMP redirect
1918 private IP $cmd 301 deny all from 172.16.0.0/12 to any in via $pif #RFC 1918 private IP $cmd 302 deny all from 10.0.0.0/8 to any in via $pif #RFC 1918 private IP $cmd 303 deny all from 127.0.0.0/8 to any in via $pif #loopback $cmd 304 deny all from 0.0.0.0/8 to any in via $pif #loopback $cmd 305 deny all from 169.254.0.0/16 to any in via $pif #DHCP auto- config $cmd 306 deny all from 192.0.2.0/24to any in via $pif #reserved for docs $cmd 307 deny all from 204.152.64.0/23 to any in via $pif #Sun cluster $cmd 308 deny all from 224.0.0.0/3 to any in via $pif #Class D E multicast # Deny ident $cmd 315 deny tcp from any to any 113 in via $pif # Deny all Netbios service. 137=name, 138=datagram, 139=session # Netbios is MS/Windows sharing services. # Block MS/Windows hosts2 name server requests 81 $cmd 320 deny tcp from any to any 137 in via $pif $cmd 321 deny tcp from any to any 138 in via $pif $cmd 322 deny tcp from any to any 139 in via $pif $cmd 323 deny tcp from any to any 81 in via $pif # Deny any late arriving packets $cmd 330 deny all from any to any frag in via $pif # Deny ACK packets that did not match the dynamic rule table $cmd 332 deny tcp from any to any established in via $pif # Allow traffic in from ISP's DHCP server. This rule must contain # the IP address of your ISP's DHCP server as it's the only # authorized source to send this packet type. # Only necessary for cable or DSL configurations. # This rule is not needed for 'user ppp' type connection to # the public Internet. This is the same IP address you captured # and used in the outbound section. $cmd 350 allow udp from 82.161.19.0/24 to any 68 in via $pif keep-state # Allow in Apache server $cmd 360 allow tcp from any to me 80 in via $pif setup limit src-addr 2 # Allow in SSH from public Internet $cmd 370 allow tcp from any to me in via $pif setup limit src- addr 1 ### Banned IP: $cmd 379 deny ip from 205.151.204.0/24 to me in via $pif ### Allow in $cmd 380 allow all from any to me 5500,5501 in via $pif setup keep-state $cmd 381 allow tcp from any to me 8000 in via $pif setup limit src- addr 1 # Reject Log all unauthorized incoming connections from the public Internet $cmd 400 deny log all from any to any in via $pif # Reject Log all unauthorized out going connections to the public Internet $cmd 450 deny log all from any to any out via $pif # This is skipto location for outbound stateful rules $cmd 800 divert natd ip from any to any out via $pif $cmd 801 allow ip from any to any # Everything else is denied by default # deny and log all packets that fell through to see what they are $cmd 999 deny log all from any to any End of IPFW rules file ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname -a output does not change after kernel upgrade
. GEOM_MIRROR[2]: Access ad4s1 r0w1e1 = 1 GEOM_MIRROR[1]: Disk ad4s1 state changed from SYNCHRONIZING to DISCONNECTED (device gm0s1). GEOM_MIRROR[0]: Device gm0s1: provider ad4s1 disconnected. GEOM_MIRROR[2]: Disk ad4s1 disconnected. GEOM_MIRROR[2]: Consumer ad4s1 destroyed. GEOM_MIRROR[2]: Tasting ad4s1c. GEOM_MIRROR[2]: Tasting ad4s1d. GEOM_MIRROR[2]: Tasting ad4s1e. GEOM_MIRROR[2]: Tasting ad4s1f. GEOM_MIRROR[2]: Tasting ad6s1a. GEOM_MIRROR[2]: Tasting ad6s1c. GEOM_MIRROR[2]: Tasting ad6s1d. GEOM_MIRROR[2]: Tasting ad6s1e. GEOM_MIRROR[2]: Tasting ad6s1f. GEOM_MIRROR[2]: Tasting ad6. GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. GEOM_MIRROR[2]: Access ad6s1 r1w0e1 = 0 GEOM_MIRROR[2]: Access request for mirror/gm0s1: r-1w0e0. GEOM_MIRROR[2]: Access ad6s1 r-1w0e-1 = 0 GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. GEOM_MIRROR[2]: Access ad6s1 r1w0e1 = 0 - The old kernel could be on ad4s1. I first wanted to solve the gmirror problem but when I could not I upgraded to 5.4-STABLE hoping that it could change the picture. What should I do now? Thank you in advance for your time! Jurgis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname -a output does not change after kernel upgrade
I have fixed the problem. 1) Removed the first SATA disk (ad4) and booted from ad6. Then I got correct kernel and userland (5.4-STABLE) 2) Swapped SATA cables to boot from ad6 (it became ad4). --- # uname -a FreeBSD server.example.com 5.4-STABLE FreeBSD 5.4-STABLE #2: Sat May 21 18:45:32 EEST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SERVER i386 # gmirror list Geom name: gm0s1 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 8 ID: 4196295632 Providers: 1. Name: mirror/gm0s1 Mediasize: 200046518272 (186G) Sectorsize: 512 Mode: r5w4e1 Consumers: 1. Name: ad4s1 Mediasize: 200046518784 (186G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 8 ID: 3302562170 2. Name: ad6s1 Mediasize: 200046518784 (186G) Sectorsize: 512 Mode: r1w1e1 State: SYNCHRONIZING Priority: 0 Flags: DIRTY, SYNCHRONIZING GenID: 0 SyncID: 8 Synchronized: 2% ID: 3946315095 # gmirror status NameStatus Components mirror/gm0s1 DEGRADED ad4s1 ad6s1 (2%) --- Thank you for help! Jurgis freebsd-questions wrote: Used the default email when sending this message and therefore it did not reached [EMAIL PROTECTED] Original Message Subject: Re: uname -a output does not change after kernel upgrade Date: Sun, 22 May 2005 00:08:45 +0300 From: Jurgis [EMAIL PROTECTED] To: Daniel Gerzo [EMAIL PROTECTED] CC: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Daniel Gerzo wrote: How can I now which kernel is loaded? sysctl -a | grep kernel OK, I have new userland and old kernel. Those command proves that. # sysctl -a | grep kernel kern.bootfile: /boot/kernel/kernel kern.module_path: /boot/kernel;/boot/modules # sysctl -a | grep kern.version kern.version: FreeBSD 5.3-RELEASE #1: Fri Apr 29 23:04:18 EEST 2005 I remembered that I had created /boot.config file with following content, but now when I checked it, ir was not there. --- cat /boot.config --- 1:ad(6,a)/boot/loader this doesn't have anything with kernel config I think. actually, I know only one way how to implicitly set the kernel boot file. One can do so by adding line kernel=path/to/kernel into /boot/loader.conf I have to sata disks ad4 and ad6 and I created /boot.config to boot from ad6 instedad of ad4. BTW I'm not quite sure about those parameters in that string 1:ad(6,a)/boot/loader. Is it better that I start new conversation with new Subject and describe how I got all this mess? That's up to you. Personally I don't think it is needed. You should firstly try to build a new kernel AND install it. If you are using your own kernel config file, you should add KERNCONF=CONFIGNAME to the make (build|install)kernel command. I have built and installed the new kernel. I added KERNCONF=CONFIGNAME to /etc/make.conf. There is new kernel and modules in # ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 3328239 May 21 18:45 /boot/kernel/kernel Here is some file information and gmirror configuration: - # df Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/mirror/gm0s1a253734 5496017847624%/ devfs 1 1 0 100%/dev /dev/mirror/gm0s1d253678 58233326 0%/tmp /dev/mirror/gm0s1f 135891276 1911080 123108894 2%/usr /dev/mirror/gm0s1e 50777034 63142 46651730 0%/var # gmirror list Geom name: gm0s1 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE SyncID: 5 ID: 4196295632 Providers: 1. Name: mirror/gm0s1 Mediasize: 200046518272 (186G) Sectorsize: 512 Mode: r4w4e1 Consumers: 1. Name: ad6s1 Mediasize: 200046518784 (186G) Sectorsize: 512 Mode: r4w4e2 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 5 ID: 3302562170 # gmirror status NameStatus Components mirror/gm0s1 DEGRADED ad6s1 - --- And a bit from dmesg --- ad4: 190782MB ST3200826AS/3.01 [387621/16/63] at ata2-master SATA150 ad6: 190782MB ST3200826AS/3.01 [387621/16/63] at ata3-master SATA150 GEOM_MIRROR[2]: Tasting fd0. GEOM_MIRROR[2]: Tasting ad4. GEOM_MIRROR[2]: Tasting ad6. GEOM_MIRROR[2]: Tasting ad4s1. magic: GEOM::MIRROR version: 1 name: gm0s1 mid: 4196295632 did: 3946315095 all: 2 syncid: 3 priority: 0 slice: 4096 balance: round-robin mediasize: 200046518272 sectorsize: 512 syncoffset: 0 mflags: NONE dflags: NONE hcprovider: MD5 hash: 4efc7c98de71a4d10b891fd4bc4e2c80 GEOM_MIRROR[1]: Creating device gm0s1 (id=4196295632). GEOM_MIRROR[0]: Device gm0s1 created (id=4196295632). GEOM_MIRROR[1]: Adding disk ad4s1 to gm0s1. GEOM_MIRROR[2]: Adding disk ad4s1. GEOM_MIRROR[2]: Disk ad4s1 connected. GEOM_MIRROR[1]: Disk ad4s1 state changed from NONE to NEW (device gm0s1). GEOM_MIRROR[0]: Device
uname -a output does not change after kernel upgrade
Hi, I have upgraded FreeBSD server from 5.3-RELEASE to 5.4-STABLE (tag=RELENG_5) but when I run 'uname -a' it displays the same message as before: --- server-98 uname -a FreeBSD server.example.com 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Fri Apr 29 23:04:18 EEST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SERVER i386 --- What I did: # cvsup -g -L 2 stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel # shutdown -r now # (stopped apache, postfix and other daemons) # cd /usr/src (I did not run 'mergemaster -p' here, could it be the cause of that problem?) # make installworld # mergemaster --- cat /etc/make.conf --- PERL_VER=5.8.6 PERL_VERSION=5.8.6 CPUTYPE=i686 NO_X=true KERNCONF=SERVER -- After that I also rebuilt the kernel by # cd /usr/src/sys/i386/conf/ # config SERVER # cd ../../compile/SERVER # make depend # make # make install But nothing changed. Any ideas? Jurgis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname -a output does not change after kernel upgrade
Daniel, How can I now which kernel is loaded? I'm actually struggling with RAID-1 and gmirror issue that I wanted to ask when 'uname -a' issue is fixed. Here is --- cat /boot/loader.conf -- geom_mirror_load=YES kern.geom.mirror.debug=2 kern.geom.mirror.timeout=0 I remembered that I had created /boot.config file with following content, but now when I checked it, ir was not there. --- cat /boot.config --- 1:ad(6,a)/boot/loader It looks like you ar right and I realy have booted the old kernel. Because when I wanted to remove second hdd from mirror I got such a result: server# gmirror forget /dev/ad4s1 Userland and kernel parts are out of sync. Is it better that I start new conversation with new Subject and describe how I got all this mess? It is connected with gmirror I'm using and the problem that I could not get it up and running properly. Thanks for help! Jurgis Daniel Gerzo wrote: # cd /usr/src # make buildworld # make buildkernel # make installkernel ^^ Are you really sure you have done this step? maybe you have somewhere like /boot/loader.conf setuped, that the default boot kernel is not located at /boot/kernel? It seems you have booted the old kernel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname -a output does not change after kernel upgrade
Yes, I rebooted but uname -a showed that it was the old kernel. I was not sure about it and proceeded with userland. Daniel Gerzo wrote: After that I also rebuilt the kernel by # cd /usr/src/sys/i386/conf/ # config SERVER # cd ../../compile/SERVER # make depend # make # make install another strike: did you rebooted after installing a new kernel? ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't delete a file
On 19 mei 2005, at 10:57, Alex Zbyslaw wrote: Erik Trulsson wrote: On Thu, May 19, 2005 at 02:18:36AM +0200, FreeBSD questions mailing list wrote: i deleted the folder it was installed into but there are some files that i can't delete, for instance this one: -r-sr-xr-x 1 root wheel18K Mar 26 06:58 rcp* i can't even delete it as root: # rm -rf rcp rm: rcp: Operation not permitted can anyone tell me how to get rid of it? chflags noschg rcp rm -rf rcp Do a 'man chflags' for more information about the file flags. And look at the -o option to ls. --Alex thanks, that did the trick... :) Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't delete a file
Hello, i want to remove a jail from my system. i deleted the folder it was installed into but there are some files that i can't delete, for instance this one: -r-sr-xr-x 1 root wheel18K Mar 26 06:58 rcp* i can't even delete it as root: # rm -rf rcp rm: rcp: Operation not permitted can anyone tell me how to get rid of it? thanks Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: They are so young and have very beautiful bodies.
On 14 mei 2005, at 22:14, yuri van Overmeeren wrote: There are no small parts. Only small actors.Acting is not being emotional, but being able to express emotion.Achilles absent was Achilles still! They are so young and have very beautiful bodies, and now when theyre 18, theyll do all what you want! V1rgin girls, which are trying this firstly! They wants more and more of this pleasure! They are ready to share their most intimate secrets, tho show their seductive young bodies, juicy longed-for puss1es and cute t1tties. Join us and you wont stay unimpressed! Forget about all of your problems and troubles - our angels will help you to relax and reach the top pleasure! You could see such young cuties only in your dreams, now you can see these sweeties at Truly Eighteen! I want to do a musical movie. Like Evita, but with good music. http://v-girls.biz/ Ability is sexless. I don't do T A very well because I haven't got much of either. Action without a name, a ''who'' attached to it, is meaningless. All rivers run into the sea, yet the sea is not full. Facts are God's arguments we should be careful never to misunderstand or pervert them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] Maybe it will will work if you use Actors.Acting and Emotion.Achilles, strange the debugger did not pick that up. So far for the C++, as to your html question I'm not sure why you use body 18, sure it will do all you want but it seems a bit hacky as seems to create a function or action without a name is prone to get you into trouble. Hope it helps btw your site is down at http://v-girls.sourceforge.net J.J. van Overmeeren rofl :)) Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
increasing username length via MAXLOGNAME and UT_NAMESIZE
Hi, I have read the adduser man page which states the following: You can change UT_NAMESIZE in utmp.h and recompile the world; people have done this and it works, but you will have problems with any precompiled programs, or source that assumes the 8-character name limit and NIS. I have had a hard time finding examples of anyone who has actually increased the username length to something like 64+ characters though. I am wondering what if anything (besides NIS) might break on a freeBSD box running virtual domains with postfix/courier/apache/squirrelmail/webmin/etc. Has anyone actually done this and if so have you had any problems? The reason I'm looking at doing this is to support [EMAIL PROTECTED] style usernames (POP/IMAP/Webmail/usermin) without using a MySQL or LDAP system for authentication. Thanks, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quick uname question
On 31 mrt 2005, at 03:27, markzero wrote: $ uname -v FreeBSD 5.3-RELEASE-p6 #0: Thu Mar 31 01:41:53 BST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/L05 What exactly does the #0 signify? I think it shows it';s the first time you compiled this release and patch Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .cshrc
I would like one with allot of colors and a double tab completion that shows every command or file :) Is bash the only one that does that or can csh do that too ? Hey Gert, I use tcsh and have these variables in my .cshrc: setenv CLICOLOR_FORCE 1 set prompt = '[EMAIL PROTECTED]:%b%~%# ' set autolist = ambigous It hasn't got a lot of colours but enough to distingiush the files from folders etc... And autocompletion and hints. Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: open office freeze
I too have this problem on my laptop. I was wondering if there is any trick to killing a run away process like open office. I have tried to kill -9 it to no avail and killing its parent process only makes it change its parent process to init. I usually end up restarting but that is sub optimal. There must be some way to kill a process regardless of its state. On Sun, 27 Feb 2005 23:40:21 -0500 (EST), kalin mintchev [EMAIL PROTECTED] wrote: Hmm. I built from the port as well, but I excluded java on the make command line. There was an optimizations flag and I turned that on as well. How much memory have you? I'm running 768MB with an athalon 1GHz machine. Do any other java apps work? thanks for replying... i have 512 memory on a 2.2 GHz t30 thinkpad.. i got the binaries from the open office website and it works fine now with the java i installed from ports - it's a newer version too. if i knew that there are binaries before i'd hever wait for 12 hours to get it build from the port... thanks... -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum, newfs: could not open special device
On 09 mrt 2005, at 22:11, Benjamin Keating wrote: Hey all. Running FreeBSD 5.3 with GENERIC kernel. This isn't high priority, but I've never had problems with Vinum before and this one's got me stumped. /etc/vinum.conf ### bigbang# cat /etc/vinum.conf drive a device /dev/ad4e drive b device /dev/ad5e drive c device /dev/ad6e volume backup plex org raid5 384k sd length 0 drive a sd length 0 drive b sd length 0 drive c ### MY STEPS ### 1). bsdlabel -w /dev/ad{4,5,6} 2). bsdlabel -e /dev/ad{4,5,6} 2.1). removed partiion a copied partition c and changed fstype to vinum :wq 3). vinum config -f /etc/vinum.conf try 3) vinum create -f /etc/vinum.conf Arno 4). newfs /dev/vinum/backup ### PROBLEM ### newfs: /dev/vinum/backup: could not open special device ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: awk print
On 24 feb 2005, at 12:39, Soheil Hassas Yeganeh wrote: You can set $[1..n] to and then print find ./ -name stuff | awk '{ $1=; $2=; print} On Wed, 23 Feb 2005 22:41:32 -0500, Mark Frank [EMAIL PROTECTED] wrote: * On Wed, Feb 23, 2005 at 07:36:05PM -0700 David Bear wrote: On Wed, Feb 23, 2005 at 11:19:26PM +0100, Roland Smith wrote: On Wed, Feb 23, 2005 at 02:40:10PM -0700, David Bear wrote: I'm using awk to parse a directory listing. I was hoping there is a way to tell awk to print from $2 - to the end of the columns available. find ./ -name '*stuff' | awk '{FS=/ print $3---'} Is this what you mean?: find ./ -name '*stuff'|sed 's|\.[^/]*/[^/]*/||g' thanks for the advice. No, this doesn't do what I want. If I have a directory path /stuff/stuff/more/stuff/more/and/more that is n-levels deep, I want to be able to cut off the first two levels and print the from 2 to the Nth level. So how about cut? find ./ -name '*stuff'| cut -d/ -f4- Mark or if you insist on using awk: find ./ -name '*stuff' | awk '{for (i=3; i=NF; i++) printf %s, $i; printf \n }' Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh default security risc
If they can hack the root they can defenatly hack a user account too. So i dont see any meaning of disabeling it. If they can hack root they own the system and can do what they like. By disabling root you remove the option of this happening. Instead they have to try and compromise a user account. Once they compromise the user account, they then have to gain root access (assuming that is their goal). Why bother with the hassle. There are plenty of machines out there already with weak root passwords. If a hacker really wants into your system he will find a way. Chris True but the point is without the ssh root enabled there is nothing you can do about it to stop them if they change your user password You really need to look at it from a different point of view... If you want to prevent people from breaking into your car you lock the doors. Don't say If they break the locks and get in, I can't use my key anymore. So keep the doors unlocked, do you? My point of view... Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh default security risc
On 04 feb 2005, at 02:59, Gert Cuykens wrote: On Thu, 3 Feb 2005 16:54:01 -0800, FreeBSD questions mailing list [EMAIL PROTECTED] wrote: You really need to look at it from a different point of view... If you want to prevent people from breaking into your car you lock the doors. Don't say If they break the locks and get in, I can't use my key anymore. So keep the doors unlocked, do you? My point of view... Arno I like this point of view game :) How many locks are there in your car, lets say ever user has a lock the trunk the left and the right door. Now imagine your little kit waving to you behind the windows. You want to kick his butt because he broke your brand new television set. You cant go in your car because he pushes on the lock button so you can't turn the key. To make things wurse your kid is trying to play with the root engine but he can't get the engine to start. Enabeling the ssh root is like having the remote car key that opens every door at once so you can get in to kick his butt :) No it is not! It is like giving the key to the burglar who's after your car stereo. If he'd only know you (have your account) then he would only be able to trace your car, look at it, look what's inside but not change anything. He would still need to go after the keys... Really it is the opposite of what you're thinking. If root login is disabled and an intruder hacks a user account he can only change things as much as you allow the account to make changes to the system. The intruder still needs to go for the root password after this, if he's after total control of your comp. When the intruder changes your password but doesn't get root access you can't get in but your system is far less damaged. If root login is enabled then the intruder has half the work to get full access to the system. And you can't access the comp at all after that has happened. A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Darwin on FreeBSD
Hi Rib, What exactly do you mean by Darwin? Darwin is an operating system like FreeBSD... I think you mean the Darwin Streaming Server. Here's a URL that might help you: http://www.cs.rochester.edu/~charman/DSS_FreeBSD/ Arno On 30 jan 2005, at 20:34, Technical Director wrote: Hello everyone, I have successfully installed Darwin on freebsd using the ports tree, thank you [EMAIL PROTECTED] My question is in regards of the whole operation, has anyone successfully got this application to operate behind a natd firewall running only through port 80? I believe I followed the installation and setup but have the following if I try to connect through a natd/firewalled port 80: Connection via browser with quicktime plugin brings up the quicktime control (using the embed tags as described in the manual) and a Connecting message. Then after a bit it outputs a 10060: Disconnected message. Yet when I connect via a browser not through the natd/firewall port 80 it works. Checking sockstat -c on the darwin server shows an active connection on the 554 port from the quicktime client machine... From what I understood of the admin document: Ports used to communicate with client: 554, 7070 TCP -or- 80 TCP Ports used to send media through: 6970-6999 UDP, -or- 80 TCP Ports server will stream through: 554 RTSP 7070 TCP -or- 80 TCP I did use the MakeRefMovie (Win32 Apple Only) application to create a 'reference' movie to the server. It still doesn't work. Has anyone had success making Darwin use port 80 'only' for streaming media out to the world from machines behind natd/firewall situations? Or is the only option to open up 554 or 7070? Thank you in advance for any and all help. Rob. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]