Re: (no subject)
On Sun, Jan 4, 2009 at 8:54 AM, Sydney Longfellow syd...@panhistoria.com wrote: Greetings. I am having a problem with processes building up until the server locks up. By viewing top what I'm seeing is it going up to 400 processes with most sleeping and a lot of lockf and sbwait states on the processes. Any idea what would cause this? FYI: Most people will mark emails without a subject as spam. -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin ___ 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: iwi on 7-STABLE
Wednesday, 31 December 2008 at 2:06:55 +0100, Per olof Ljungmark said: Peter Harrison wrote: Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: Hi all, Here I am away with the family visiting friends and I REALLY need to get the iwi if up and running. It's a recently updated system (7.1RC2). Read the man pages, tried different variations on legal.intel_iwi.license_ack=1, iwi_load, firmware_load etc. in /boot/loader.conf but I cannot get a connection to the router. It used to work on this box with my basic config, a Thinkpad T42, and it still does with XP. The interface is associated to the access point ok. Anyone who can hint me on how to debug this? Would sysctl debug.iwi.0=1 help? Of course, ANY information is of interest. Does iwi have a problem with certain routers? Sorry, no config files, I'm without connectivity when booting FreeBSD... Any help appriciated! I don't know whether iwi has issues with particular routers, however I do have it working on 7-STABLE i386 without difficulty. Does it help to see the relevant bits from my config? /boot/loader.conf: if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1 /etc/rc.conf: ifconfig_iwi0=inet 192.168.1.4 netmask 255.255.255.0 ssid *** bssid 00:14:bf:94:1e:75 channel 11 wepmode on wepkey deftxkey 1 (yes, I know I shouldn't still be using WEP). Works without difficult connecting to a Linksys router. I did have some difficulty I seem to recall when I turned off SSID broadcast on the router. I'd suggest trying with all the security turned off if you haven't already to see if you can connect at all, and then reintroduce the security measures later. Thanks for your reply. Your config is identical to mine. I think something fishy is going on here but don't know what it is - yet.. The router is a Netgear WNR854T. Have you tried running without WEP or WPA and with the router broadcasting the SSID, to test whether that's the issue? Peter Harrison -- per ___ 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
OT: how many rankmount units is a tower-case
I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units so what value of x in xU should I get? ___ 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: OT: how many rankmount units is a tower-case
On Sun, Jan 04, 2009 at 02:48:30PM +0100, Peter Boosten wrote: On 4 jan 2009, at 14:35, Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman aryeh.fried...@gmail.com Small related question is there any long term harm to laying a disk on it's side (i.e. it lays flat when the tower is up right but on it's side squeezed into a rack) The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other words, I wouldn't do it personally, but I don't expect it to cause harm. I'd suspect it'd be more succeptible to a head crash in a vertical position. Most drives in an drive array are on their side, seems not to be any problem. And if you ask the various harddisk manufacturers they will say It will work fine. No problem. when asked if it matters if a disk is mounted horisontally or vertically or upside down. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ 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
USB printer problem
Hi; I've been trying for 2 days with no success Here is the setup: FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 -printer detected kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 kernel: ulpt0: using bi-directional mode /etc/devfs.conf own ulpt0 root:cups permulpt0 0660 /etc/devfs.rules [system=10] add path lpt[0-9]* mode 0660 group cups add path ulpt[0-9]* mode 0660 group cups add path unlpt[0-9]* mode 0660 group cups /etc/rc.conf devfs_system_ruleset=system cupsd_enable=YES and nothing bellow works ! # lptest 20 10 /dev/ulpt0 # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- -sDeviceManufacturer=HP -sDeviceModel=DJ3600 /tmp/foomatic-rip.ps /dev/ulpt0 # cat /etc/rc.conf /dev/ulpt0 The printer doesn't even move ! Tried changing usb ports: Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected Jan 4 12:59:38 kernel: ulpt0: detached Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode and nothing happens :( I've been googling for 2 days, read all I could, tried all I read and nothing happens. any suggestions? Thanks! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ 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: OT: how many rankmount units is a tower-case
On Sun, Jan 04, 2009 at 08:30:50AM -0500, Glen Barber wrote: On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units so what value of x in xU should I get? When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 inches, etc. I'll let you do the measuring and math. ;) It might be worth noting that 1U corresponds exactly to the height of a typical bay for 5.25 units. A normal tower case when lain on the side normally has a height of approximately 4U. Note though that most tower cases are not designed to be rackmounted and will not fit in typical rack. There are some cases available though that can be used both as floor-standing towers, or as rack-mounted cases. I suspect that many co-location services either only accepts rack-mountable servers, or charge extra for non-rackmounted cases, so it might be worth checking that. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ 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: OT: how many rankmount units is a tower-case
Erik Trulsson wrote: I suspect that many co-location services either only accepts rack-mountable servers, or charge extra for non-rackmounted cases, so it might be worth checking that. A non-rackmountable case would require a shelf of some sort, which costs money and generally uses up a bit more space in the rack. I suggest you discuss this all with your vendor; they're the only people who know what they're willing to do and how much they'll charge for it. --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
Re: OT: how many rankmount units is a tower-case
Jon Radel wrote: Erik Trulsson wrote: I suspect that many co-location services either only accepts rack-mountable servers, or charge extra for non-rackmounted cases, so it might be worth checking that. A non-rackmountable case would require a shelf of some sort, which costs money and generally uses up a bit more space in the rack. I suggest you discuss this all with your vendor; they're the only people who know what they're willing to do and how much they'll charge for it. --Jon Radel j...@radel.com The vender I have in mind has a tower price and thats how we are going so the question is pretty much mute except for future reference ___ 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
PATH braincramp
I'm having a tussle with one of those things I've done a zillion times, but now I can't fathom what the heck is wrong. When I run flexbackup from a cron job (as root) , the following error is returned by e-mail to root: Errors: mbuffer not found in $PATH dump not found in $PATH restore not found in $PATH $PATH is set in root's crontab: $PATH = /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin mbuffer is in /usr/local/bin and dump and restore are in /sbin The cron'd command is: /usr/local/bin/perl /usr/local/bin/flexbackup -set backup -level incremental The machine is: Dell 2850 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 03:44:52 EST 2008 amd64 When I run the command from Webin's interface for scheduled cron jobs, the command completes successfully I know I'm missing something stupid, and I'm willing to wear the pointy hat if someone can enlighten me, somehow. Tim Kellers ___ 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: OT: how many rankmount units is a tower-case
Erik Trulsson wrote: On Sun, Jan 04, 2009 at 08:30:50AM -0500, Glen Barber wrote: On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units so what value of x in xU should I get? When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 inches, etc. I'll let you do the measuring and math. ;) It might be worth noting that 1U corresponds exactly to the height of a typical bay for 5.25 units. A normal tower case when lain on the side normally has a height of approximately 4U. Note though that most tower cases are not designed to be rackmounted and will not fit in typical rack. There are some cases available though that can be used both as floor-standing towers, or as rack-mounted cases. I suspect that many co-location services either only accepts rack-mountable servers, or charge extra for non-rackmounted cases, so it might be worth checking that The only reason I said tower is I am making the server almost identical to my desktop machine which is the most reliable machine I have had in my 20 year career and thus am going to be using the same case and such (only diff is the motherboard model is no longer avail. in ihc9 so I will have ihc10 but from my reading of -current@ and cvs-@ this is not an issue) ___ 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: PATH braincramp
On Sun, 04 Jan 2009 11:48:36 -0500, Tim Kellers timot...@wallnet.com wrote: I'm having a tussle with one of those things I've done a zillion times, but now I can't fathom what the heck is wrong. When I run flexbackup from a cron job (as root) , the following error is returned by e-mail to root: Errors: mbuffer not found in $PATH dump not found in $PATH restore not found in $PATH $PATH is set in root's crontab: $PATH = /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin You are not using `$PATH = xxx yyy' right? Evaluating the variable to extract its _value_ needs a dollar sign, but setting it should not use a dollar sign and the value elements should be separated by ':' like this: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin ___ 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: USB printer problem
On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote: Hi; I've been trying for 2 days with no success Here is the setup: FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 -printer detected kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 kernel: ulpt0: using bi-directional mode /etc/devfs.conf own ulpt0 root:cups permulpt0 0660 /etc/devfs.rules [system=10] add path lpt[0-9]* mode 0660 group cups add path ulpt[0-9]* mode 0660 group cups add path unlpt[0-9]* mode 0660 group cups /etc/rc.conf devfs_system_ruleset=system cupsd_enable=YES and nothing bellow works ! # lptest 20 10 /dev/ulpt0 # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- -sDeviceManufacturer=HP -sDeviceModel=DJ3600 /tmp/foomatic-rip.ps /dev/ulpt0 # cat /etc/rc.conf /dev/ulpt0 The printer doesn't even move ! Tried changing usb ports: Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected Jan 4 12:59:38 kernel: ulpt0: detached Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode and nothing happens :( I've been googling for 2 days, read all I could, tried all I read and nothing happens. any suggestions? Thanks! Sure ... Acording to your mail, you seem to be using hplip as a back end ... [gonz...@inferna ~]% pkg_info -W /usr/local/bin/hpijs /usr/local/bin/hpijs was installed by package hplip-2.8.2_3 [gonz...@inferna ~]% Its all there in hplip's installation notes... you need hpssd up and running and the printer should be attached to ugen ... hplip doesn't work with ulpt .. [gonz...@inferna ~]% pkg_info -xD hplip Information for hplip-2.8.2_3: Install notice: ** UPGRADE FROM 1.X NOTICE * NOTE: If you are upgrading from 1.x you will need to change your devfs ruleset as hpiod is now gone, so remove it from you rc.conf. The printer communication now runs through cupsd. You will need to make the devfs ruleset changes to allow cups to access the usb bus and ugen devices so that it can enumerate the printers. You will also need to update your hplip.conf. See the instructions below. UPGRADE FROM 1.X NOTICE * Add the following to your rc.conf: hpssd_enable=YES So all you have to do if you have a custom ruleset setup is add the following to that ruleset in devfs.rules: add path 'usb*' group cups add path 'usb*' mode 0660 add path 'ugen*' group cups add path 'ugen*' mode 0660 If you have never setup devfs.rules please read the manpage and see: http://am-productions.biz/docs/devfs.rules.php The printer MUST attach as a ugen(4) device. This means that you must NOT have device ulpt in your kernel and ulpt must NOT be loaded as a kernel module. If you are seeing device connection errors restart the printing chain with the following command. NOTE: It MUST be restarted in the stated order. %%PREFIX%%/etc/rc.d/hpssd restart \ %%PREFIX%%/etc/rc.d/cupsd restart If upgrading from a version 2.7.9 copy the new hplip.conf.sample config. cp %%PREFIX%%/etc/hp/hplip.conf.sample \ %%PREFIX%%/etc/hp/hplip.conf If you are still having problems check: http://am-productions.biz/docs/hplip.php If you are still having problems send the relevant part of your /var/log/messages, console output from the hp-* utility that you are trying to run, and your rc.conf + devfs.rules files and the output of ls -l /dev to the maintainer. ** [gonz...@inferna ~]% I've written a small guide on how to set up a printer using cups and hplip in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still think it might help you out .. you can find it in here: http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019 Good luck! -- Blessings Gonzalo Nemmi ___ 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[2]: local copy of handbook
Hello Jerry, For more information see http://docsnap.sk.freebsd.org/ and possibly the rsync manual page. I was having a problem reaching that URL; however, I found that this one: http://www.oook.cz/bsd/docsnap.html did seem to work. In any case, I am unable to get the 'rsync' command to work. This is the output of one such attempt. ~ $ sudo rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/ rsync: failed to connect to docsnap.sk.FreeBSD.org: Operation timed out (60) rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5] This has happened continually for the past few days. I am not sure if it is a temporary problem or or permanent one. The docsnap.sk.FreeBSD.org (as well as ftp.sk and cvsup.sk) server is currently offline due to some problems after its update. Unfortunately it's been a vacations period here and we were unable to get personally to the box and fix it. However I have been told that the issue should be resolved tommorrow, so I would recommend you to try tommorrow or a bit later. -- Best regards, Danielmailto:dan...@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
DNS Forwarder, Proxy or ?
I have set up a FreeBSD box as a router; works great. The router (machine B) is a DHCP client to another box (Machine A) that provides it with its IP address and its DNS server address. When I hook up a new box (Machine C) to Machine B, I provide it with Machine B's private IP address as its default Gateway, but have to give it Machine A's address as the DNS Server. I'd like to not tie new machines to Machine A; instead I'd like them to discover from Machine B the DNS server address, which Machine B clearly knows. I've looked at named and dnsproxy, but it _seems_ that they require that I put machine A's address in a config file. Though this is better than the current situation, it still ties my network to machine A's DNS address. Thanks in advance. -- Len ___ 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: Setting up a PDF printer
On Sat, 3 Jan 2009, Keith Seyffarth wrote: What do I need to install to make printing a pdf from the print command in an appliction as an option. It looks like panda may do this, but I'm unsure. My immediate goal is to be able to print invoices to .pdf from gnucash. If the program lets you specify what command is run to print, it may be easier to avoid the printing subsystem. I.e., call a small wrapper that generates a filename and copies the text to ps2pdf. -Warren Block * Rapid City, South Dakota USA ___ 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: OT: how many rankmount units is a tower-case
Glen Barber wrote: On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units so what value of x in xU should I get? When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 inches, etc. I'll let you do the measuring and math. ;) Small related question is there any long term harm to laying a disk on it's side (i.e. it lays flat when the tower is up right but on it's side squeezed into a rack) ___ 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
tcpdump filter for out/in traffic
Здравствуйте, Questions. There will be very usefull to have options for tcpdump to monitor incomint or outgoing traffic regardless of src/dst IPs or ports or protocol For example: kes# tcpdump -n -i rl4 out EXPECTED: show traffic outgoing on rl4 ACTUAL: tcpdump: syntax error kes# tcpdump -n -i rl4 in EXPECTED: show traffic incoming on rl4 ACTUAL: tcpdump: syntax error -- С уважением, KES mailto:kes-...@yandex.ru ___ 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: local copy of handbook
On Sun, 4 Jan 2009 18:28:46 +0100 Daniel Gerzo dan...@freebsd.org wrote: The docsnap.sk.FreeBSD.org (as well as ftp.sk and cvsup.sk) server is currently offline due to some problems after its update. Unfortunately it's been a vacations period here and we were unable to get personally to the box and fix it. However I have been told that the issue should be resolved tommorrow, so I would recommend you to try tommorrow or a bit later. Thanks for the info. -- Jerry ges...@yahoo.com Let's love each other slowly, reaching for a plane, of exquisite pleasure, and delicate pain. Adam Beslove signature.asc Description: PGP signature
Re: OT: how many rankmount units is a tower-case
If a hard disk formatted and used in a position , in that position it may be used if manufacturer is NOT advised a specific position . After loading of files into hard disk , change of position may cause difficulty in reading of already recorded data . This point should be considered . On Sun, Jan 4, 2009 at 8:35 AM, Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman aryeh.fried...@gmail.com Small related question is there any long term harm to laying a disk on it's side (i.e. it lays flat when the tower is up right but on it's side squeezed into a rack) The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other words, I wouldn't do it personally, but I don't expect it to cause harm. I'd suspect it'd be more succeptible to a head crash in a vertical position. -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin ___ 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
(no subject)
Greetings. I am having a problem with processes building up until the server locks up. By viewing top what I'm seeing is it going up to 400 processes with most sleeping and a lot of lockf and sbwait states on the processes. Any idea what would cause this? 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: PATH braincramp
Giorgos Keramidas wrote: On Sun, 04 Jan 2009 11:48:36 -0500, Tim Kellers timot...@wallnet.com wrote: I'm having a tussle with one of those things I've done a zillion times, but now I can't fathom what the heck is wrong. When I run flexbackup from a cron job (as root) , the following error is returned by e-mail to root: Errors: mbuffer not found in $PATH dump not found in $PATH restore not found in $PATH $PATH is set in root's crontab: $PATH = /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin You are not using `$PATH = xxx yyy' right? Evaluating the variable to extract its _value_ needs a dollar sign, but setting it should not use a dollar sign and the value elements should be separated by ':' like this: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin Pass the Pointy Hat over so I can strap it on twice. I had tried /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin but, yes I had the $ in front of PATH. Wow, what a braincramp. I feel like a dope, but a dope that has his backup crons running, now. Giorgios, THANK 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
Re: OT: how many rankmount units is a tower-case
On 4 jan 2009, at 14:35, Glen Barber glen.j.bar...@gmail.com wrote: On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman aryeh.fried...@gmail.com Small related question is there any long term harm to laying a disk on it's side (i.e. it lays flat when the tower is up right but on it's side squeezed into a rack) The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other words, I wouldn't do it personally, but I don't expect it to cause harm. I'd suspect it'd be more succeptible to a head crash in a vertical position. Most drives in an drive array are on their side, seems not to be any problem. Peter -- http://www.boosten.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: local copy of handbook
On Mon, 29 Dec 2008 10:59:04 -0500 Randy Pratt bsd-u...@embarqmail.com wrote: On Mon, 29 Dec 2008 20:39:42 +0530 Masoom Shaikh masoom.sha...@gmail.com wrote: On Monday 29 December 2008 18:15:58 RW wrote: On Mon, 29 Dec 2008 10:16:42 +0530 Masoom Shaikh masoom.sha...@gmail.com wrote: lso I cud use tarballs from FTP, but is there easy way to install them ? also csup didn't help here is my csup file *default tag=RELENG_7 *default host=ftp2.tw.freebsd.org *default prefix=/usr *default base=/var/db *default release=cvs delete use-rel-suffix compress src-all doc-all csup updates the source each time, but now i am not sure about doc!! If you do it that way, you have to generate the html files yourself, cvup fetches generic data files that can be used to generate html , pdf etc. What I do these days is mirror the online version with wget. #!/bin/sh cd /usr/share/doc/en wg_args= --mirror -np -nH --cut-dirs=2 --limit-rate=33k bg_flags= # Run quietly from cron [ ! -t 0 ] bg_flags= --quiet wget $bg_flags $wg_args http://www.freebsd.org/doc/en_US.ISO8859-1/; ___ 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 that is clever use of wget :) but can't docs remain updated with csup ? if yes, how ? otherwise I will be happy to generate them from sources if they happen to be some simple target You might consider using Docsnap. This allows you to maintain all the FreeBSD documentation with a minimum of effort. Docsnap is an rsync repository for easy updating of installed FreeBSD documentation (/usr/share/doc). The first run may take longer but subsequent updates take very little time. Only the differences in the documents are transferred. That is the main advantage but you also do not need to install ports with hefty overhead to build documents. Rsync is only utility required (/usr/ports/net/rsync). Typical usage: # rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/ For more information see http://docsnap.sk.freebsd.org/ and possibly the rsync manual page. I was having a problem reaching that URL; however, I found that this one: http://www.oook.cz/bsd/docsnap.html did seem to work. In any case, I am unable to get the 'rsync' command to work. This is the output of one such attempt. ~ $ sudo rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/ rsync: failed to connect to docsnap.sk.FreeBSD.org: Operation timed out (60) rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5] This has happened continually for the past few days. I am not sure if it is a temporary problem or or permanent one. -- Jerry ges...@yahoo.com A crow perched himself on a telephone wire. He was going to make a long-distance caw. signature.asc Description: PGP signature
Re: OT: how many rankmount units is a tower-case
On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman aryeh.fried...@gmail.com wrote: I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units so what value of x in xU should I get? When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 inches, etc. I'll let you do the measuring and math. ;) -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin ___ 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: OT: how many rankmount units is a tower-case
On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman aryeh.fried...@gmail.com Small related question is there any long term harm to laying a disk on it's side (i.e. it lays flat when the tower is up right but on it's side squeezed into a rack) The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other words, I wouldn't do it personally, but I don't expect it to cause harm. I'd suspect it'd be more succeptible to a head crash in a vertical position. -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin ___ 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: local copy of handbook
On Thu, 1 Jan 2009 09:27:31 +0530, Masoom Shaikh masoom.sha...@gmail.com wrote: On Tue, Dec 30, 2008 at 9:19 PM, Giorgos Keramidas keram...@ceid.upatras.gr wrote: I'd be happy to review the patch that Gabor has written if necessary add or subtract from it. It will take me a bit of time to get up to speed with the mark-up review/grok the updating docs in the round. ATM, they certainly fall short of including anything about updating a local copy of the docs. I can build a patched Handbook and upload it online, if that helps. Then you don't have to learn SGML to read it. Just let me know if you need it, and it's done. wow, am waiting eagerlyHTML is complex, what is SGML :) You don't really have to read the HTML _source_. Point your browser to: http://people.freebsd.org/~keramida/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-documentation.html I have uploaded a patched Handbook there. The latest version of the SGML patch that I have here is also online now, at: http://people.freebsd.org/~keramida/doc-patches/pgj.doc-update.20081227-2338.diff ___ 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: Suggestion
On Sun, 4 Jan 2009 01:07:57 -0600 (CST), Lars Eighner luvbeas...@larseighner.com wrote: Enable beastie and you won't have to look at the ugly letters. Or disable the lines include /boot/beastie.4th and beastie-start prefixing them with a backslash in /boot/loader.rc, and put autoboot_delay=1 into /boot/loader.conf. This disables some waiting time at system startup (not that I would care about this) and still enables you to drop to the loader prompt when any key is pressed. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Suggestion
Someone needs to change the FreeBSD boot menu. The way the word/logo FreeBSD is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. I would try to make the well if someone gets opinion about FreeBSD because of it's logo ... why do you care about them. ___ 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: Suggestion
On Sun, Jan 4, 2009 at 1:26 AM, Ryan da Silva rdasi...@greenfield.com wrote: Hello, If someone could pass this suggestion on i'd appreciate it. It's going to sound a little picky, and probably crazy but I'm an honest and forward person so I'll just say it. Someone needs to change the FreeBSD boot menu. The way the word/logo FreeBSD is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. I would try to make the change myself for myself, but i am not a programmer. I love this product and would like to suggest changing that screen. To what? I don't know. Maybe instead of the large logo simply put FreeBSD version XXX, copy right etc. Or heck, maybe a color bootscreen like GRUB has in Linux (from what i've seen in Centos/Trixbox). I am not a linux person. I think FreeBSD is the way for professionals. But the inner perfectionist in me HAD to send this ridiculous email in hopes to see a change in v 7.1 RTM. The FreeBSD community welcomes people making the product better, regardless of what they contribute (source code, documentation, etc.). Why not create a new logo yourself and submit it? -- Glen Barber Tell me and I forget. Teach me and I remember. Involve me and I learn. - Benjamin Franklin ___ 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: OT: how many rankmount units is a tower-case
1U=4.5cm On Sun, 4 Jan 2009, Aryeh M. Friedman wrote: I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units so what value of x in xU should I get? ___ 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: iwi on 7-STABLE
Peter Harrison wrote: Wednesday, 31 December 2008 at 2:06:55 +0100, Per olof Ljungmark said: Peter Harrison wrote: Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: Hi all, Here I am away with the family visiting friends and I REALLY need to get the iwi if up and running. It's a recently updated system (7.1RC2). Read the man pages, tried different variations on legal.intel_iwi.license_ack=1, iwi_load, firmware_load etc. in /boot/loader.conf but I cannot get a connection to the router. It used to work on this box with my basic config, a Thinkpad T42, and it still does with XP. The interface is associated to the access point ok. Anyone who can hint me on how to debug this? Would sysctl debug.iwi.0=1 help? Of course, ANY information is of interest. Does iwi have a problem with certain routers? Sorry, no config files, I'm without connectivity when booting FreeBSD... Any help appriciated! I don't know whether iwi has issues with particular routers, however I do have it working on 7-STABLE i386 without difficulty. Does it help to see the relevant bits from my config? /boot/loader.conf: if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1 /etc/rc.conf: ifconfig_iwi0=inet 192.168.1.4 netmask 255.255.255.0 ssid *** bssid 00:14:bf:94:1e:75 channel 11 wepmode on wepkey deftxkey 1 (yes, I know I shouldn't still be using WEP). Works without difficult connecting to a Linksys router. I did have some difficulty I seem to recall when I turned off SSID broadcast on the router. I'd suggest trying with all the security turned off if you haven't already to see if you can connect at all, and then reintroduce the security measures later. Thanks for your reply. Your config is identical to mine. I think something fishy is going on here but don't know what it is - yet.. The router is a Netgear WNR854T. Have you tried running without WEP or WPA and with the router broadcasting the SSID, to test whether that's the issue? Yes, did that. In all the cases I've tested iwi is associated but no IP. Several XP boxes works fine with same router and settings. A guess then would be that the problem lies with the routers DHCP server rather than the wireless. Now back home, I tried same config with our Linksys router and no problem. I could not find anything odd or unusual in the setup for the Netgear so why this happened is still obscure to me. -- per ___ 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: PHP setup question
On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: Looking at the doc, you referenced, it appears that I should be able to connect to beachcave.net/install.php Doing so resluts in: The requested URL /install.php was not found on this server. No, you should be able to access: http://beachcave.net/ampache/install.php I just did. Thanks, I supose I had a typo somewhere. I apreciate all the help with this. Ubfortunately I am still confused. It appears that there are 3 levels of username/password involved here: 1. OS 2. MySQL 3. Ampache Is this correct? In any case, this is where I am. Loged in as the OS root user, I am able to atach to Mysql and I have run the following commands: create databse ampache ; use ampache ; GRANT ALL ON ampache to ampache_user ; Is this correct? So I should have a Mysql user called ampache_user that can access the ampache database, correct? So. I am at step 3 in the web based setup, and trying to proced to step 3, but I get an error about Database Selection Failure Check Existance of ampache The /usr/local/www/ampache/config directory permisons look like this: drwxr-xr-x 2 www www 512 Jan 3 23:47 config Apache should be running as www, if I am not mistaken. after re-reading the MySQL docs, I changed the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' ; and now when I try to go to step 3 I get: Error: Config file not found or Unreadable Can you please tell me what I am doing wrong now? Sorry for my ignorance in the use of MySQL etc. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ 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: PHP setup question
On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: Looking at the doc, you referenced, it appears that I should be able to connect to beachcave.net/install.php Doing so resluts in: The requested URL /install.php was not found on this server. No, you should be able to access: http://beachcave.net/ampache/install.php I just did. OK, I did make some progress here. I figured out that I needed to change the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'x' ; Then I entered this passwrd in the step 2 install page, and tried to write the config file. I could not, but,as stated in the docs, it offered to ket me download it. I did so, and put it in /usr/local/www/ampache/config. I set the owner to www. Good so, far, but now when I try to proced to step 3, I get: Error: Config file detected, Ampache is already installed So, I am guessing I should have somehow continued to set up this file without putting it in place? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ 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: OT: how many rankmount units is a tower-case
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: 1U=4.5cm Approximately :) At least in the US, 1U = 1.75 inches = 4.445 cm, so an 18cm case will not quite fit into 4U. Perhaps metric racks are different. ___ 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: OT: how many rankmount units is a tower-case
If a hard disk formatted and used in a position , in that position it may be used if manufacturer is NOT advised a specific position. After loading of files into hard disk , change of position may cause difficulty in reading of already recorded data . This point should be considered . Sun, at least, used to warn about this back in the MFM/ESDI days, recommending that a disk should be reformatted if its orientation were changed, but those drives used all their heads for data and depended on reproduceable mechanical positioning to align the heads at the selected cylinder. I'm not sure it still applies to drives that dedicate one head to fine-tuning track position by reading factory-recorded servo patterns. (Quick check, if actual geometry is known: a drive with an odd number of heads most likely has a dedicated servo surface.) BTW most drives of that era, while OK on either side as well as right side up, were *not* supposed to be run upside down -- the bearings were not designed for that. ___ 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: Troubles upgrading from 6.3 to 7
Steven Barre wrote: Hello I am new to bsd. I'm trying to upgrade from 6.3 Release to the latest stable 7. I created the following csup file *default host=cvsup1.ca.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all I then used csup to get all the source files. I cd'd to /usr/scr and tried to run make buildworld and after 15-20 min get this error. I have tried cleaning up with # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir Still I get the error. mv -f term.h.new term.h cc -o make_keys -O2 -fno-strict-aliasing -pipe -I. -I/usr/obj/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c ./make_keys keys.list init_keytry.h /libexec/ld-elf.so.1: Shared object libc.so.7 not found, required by make_keys *** Error code 1 Stop in /usr/src/lib/ncurses/ncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # uname -a FreeBSD .no.shawcable.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Thanks in advance for your help.___ csup is an excellent tool that cuts down the cruft of cvsup. But if I remember properly, there is a path to follow when upgrading from a older release to a newer release. simply getting the source and trying to build isn't it. Going from memory, I heard you have to upgrade to the latest subrelease of your current major release (6.4 in your case). From 6.4, you have to upgrade to 7.0. then from 7.0, you can upgrade to RELENG_7 You might want to do one of the following, because it will probably be quicker: 1) Backup everything. Stick in the latest snapshot CD and install (or maybe upgrading) from that, then restoring. 2) Trying freebsd-update to upgrade you to that big jump. I've never tried upgrading such a large jump, and i would have a backup just in case. I hope you find the right path, the error you pasted is saying it's not finding a RELENG_7 library due to the fact that your running system is a RELENG_6 Good luck. post if you have more questions. -- Tim Judd I will top-post when I feel like it. For those who are so demanding everyone bottom-post, You'll just have to forgive others when they choose to top-post. ___ 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: Troubles upgrading from 6.3 to 7
Steven Barre wrote: Hello I am new to bsd. I'm trying to upgrade from 6.3 Release to the latest stable 7. I created the following csup file *default host=cvsup1.ca.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all I then used csup to get all the source files. I cd'd to /usr/scr and tried to run make buildworld and after 15-20 min get this error. I have tried cleaning up with # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir Still I get the error. mv -f term.h.new term.h cc -o make_keys -O2 -fno-strict-aliasing -pipe -I. -I/usr/obj/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c ./make_keys keys.list init_keytry.h /libexec/ld-elf.so.1: Shared object libc.so.7 not found, required by make_keys *** Error code 1 Stop in /usr/src/lib/ncurses/ncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # uname -a FreeBSD .no.shawcable.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Thanks in advance for your help.___ csup is an excellent tool that cuts down the cruft of cvsup. But if I remember properly, there is a path to follow when upgrading from a older release to a newer release. simply getting the source and trying to build isn't it. Going from memory, I heard you have to upgrade to the latest subrelease of your current major release (6.4 in your case). From 6.4, you have to upgrade to 7.0. then from 7.0, you can upgrade to RELENG_7 You might want to do one of the following, because it will probably be quicker: 1) Backup everything. Stick in the latest snapshot CD and install (or maybe upgrading) from that, then restoring. 2) Trying freebsd-update to upgrade you to that big jump. I've never tried upgrading such a large jump, and i would have a backup just in case. I hope you find the right path, the error you pasted is saying it's not finding a RELENG_7 library due to the fact that your running system is a RELENG_6 Good luck. post if you have more questions. -- Tim Judd I will top-post when I feel like it. For those who are so demanding everyone bottom-post, You'll just have to forgive others when they choose to top-post. ___ 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: Portuguese accents
On Sat, Jan 03, 2009 at 09:47:08PM +, Daniel Leal wrote: Hi! I am portuguese, and so I need accents above a few letter, like a, e and i. I mean: ã â á à é è í ì ê, etc etc etc... I am really confused with the accents. In most X apps these accents work well, but for example, in a xterm, with the ee editor, I can write the accented letter correctly. But when I use more to read the file I just created with ee I cant see these accented letters correctly! Try using less(1) instead of more. A quick test on my machine shows it renders digraphs correctly. You might want to change your $PAGER in ~/.profile With aterm, not even with ee this works it appears: ~a, 'e,`e, `i, etc etc etc... Don't know about aterm. /etc/rc.conf has: keymap=pt.iso.acc /etc/X11/xorg.conf has: Section InputDevice Identifier Keyboard0 Driver kbd Option XKbModel abnt2 Option XKbLayout pt EndSection how can I solve this? Is it impossible to list and also name files with accented letter? I don't know if it's possible but I'd stick to none accented letters if I was in your position. AFAIK, all the fileutils use ascii. Thanks, daniel Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: OT: how many rankmount units is a tower-case
1U=4.5cm Approximately :) at least in poland it's said that. i must check in my 12U rack ;) At least in the US, 1U = 1.75 inches = 4.445 cm, so an 18cm case will not quite fit into 4U. Perhaps metric racks are different. well it will with slight amount of pressure ;) to compensate this 2.8mm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?
freebsd-questions: I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: http://portsmon.freebsd.org/portoverview.py?category=miscportname=amand a-server Most of my software background is GNU/Linux. I would prefer using the Bash shell, but the default FreeBSD shell for root appears to be the C shell: p3450# echo $SHELL /bin/csh I have changed the root shell to Bash on another machine I use as a CVS server and haven't noticed any issues yet, but I've been wondering if I'm setting myself up for problems by doing so. Does anybody know if it's okay to change the root shell on FreeBSD 7.0-RELEASE-i386? TIA, David ___ 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: PATH braincramp
Giorgios, THANK YOU! i'll second that! he is helpfull and polite, as always! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?
Does anybody know if it's okay to change the root shell? A topic of debate, but yes it is okay to change the root shell, but there are some things to know... Some people fret about the idea that shells like bash are not on the root partition and are usually dynamically linked to libraries which reside on /usr and are therefore not available in single-user mode. (One could install a static version of bash to avoid this.) Additionally, FreeBSD prompts the user for the path to the desired shell when going into single-user mode. Shells like sh and tcsh, while dynamically linked, their libs reside on the root partition. If that isn't enough, statically linked shells exist in /rescue and therefore should always be available. Furthermore, the installation CD can be booted from and can provide an emergency repair shell. So yes, there is no technical reason you cannot change the root shell. Just be aware that a default bash install will not be available in single-user mode. But... best security practices dictate that you should not be using the root shell. If you're using the root shell often enough to find the default shell inconvenient, you should consider using something like sudo and a regular user account instead. You can use the builtin 'su' command with the '-m' flag to preserve the environment of the current user, while elevating your privileges. The shell used will be the login shell of the user issuing the 'su' command. Only members of the group 'wheel' may issue the 'su' command. -Modulok- On 1/4/09, David Christensen dpchr...@holgerdanske.com wrote: freebsd-questions: I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: http://portsmon.freebsd.org/portoverview.py?category=miscportname=amand a-server Most of my software background is GNU/Linux. I would prefer using the Bash shell, but the default FreeBSD shell for root appears to be the C shell: p3450# echo $SHELL /bin/csh I have changed the root shell to Bash on another machine I use as a CVS server and haven't noticed any issues yet, but I've been wondering if I'm setting myself up for problems by doing so. Does anybody know if it's okay to change the root shell on FreeBSD 7.0-RELEASE-i386? TIA, David ___ 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: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?
On Sun, Jan 4, 2009 at 5:09 PM, David Christensen dpchr...@holgerdanske.com wrote: freebsd-questions: I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: http://portsmon.freebsd.org/portoverview.py?category=miscportname=amand a-serverhttp://portsmon.freebsd.org/portoverview.py?category=miscportname=amanda-server Most of my software background is GNU/Linux. I would prefer using the Bash shell, but the default FreeBSD shell for root appears to be the C shell: p3450# echo $SHELL /bin/csh I have changed the root shell to Bash on another machine I use as a CVS server and haven't noticed any issues yet, but I've been wondering if I'm setting myself up for problems by doing so. Does anybody know if it's okay to change the root shell on FreeBSD 7.0-RELEASE-i386? TIA, David ___ 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 well you will lock yourself out of the system if you uninstall bash or bash breaks. I would enable toor just in case ___ 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: Suggestion
On Sun, Jan 04, 2009 at 04:02:53PM +0100, cpghost wrote: On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote: Someone needs to change the FreeBSD boot menu. The way the word/logo FreeBSD is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. I would try to make the change myself for myself, but i am not a programmer. You can change the logo yourself, e.g. to Beastie. Just add this line to /boot/loader.conf: loader_logo=beastie and: loader_color=YES to get beastie in all his colourful glory ;) If you want to change the logo or add a new one, have a look at /boot/beastie.4th. That's where the graphics are. This is Forth, so the code may seem a little bit opaque at first. I love this product and would like to suggest changing that screen. To what? I don't know. Maybe instead of the large logo simply put FreeBSD version XXX, copy right etc. Or heck, maybe a color bootscreen like GRUB has in Linux (from what i've seen in Centos/Trixbox). The beastie logo is in ANSI-color (there's a bw version of it too). You can create your own ANSI-color representation of your customized logo too. A fully graphical boot logo (e.g. by switching to VESA) won't be so good, because there are many users out there who boot FreeBSD on headless devices (like Soekris), which don't have the appropriate circuitry and have to fall back to the serial console. That's why the current boot screen is very good: it's lightweight, portable, and to a certain extent customizable. Oliver Fromme was working on a graphical bootloader: http://wiki.freebsd.org/OliverFromme/BootLoader The page was last updated in July by the looks of it. snip Regards, -cpghost. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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: Suggestion
FreeBSD is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. Gratuitous misuse of iconic representations, logos and other pointless flair is one of the reasons I moved to beastie. The thing that makes me think of it as a 'professional enterprise-grade operating system' is that I can deploy it and not have to worry about it. The documentation is also excellent. It is these things that make it good, not loading screens, glossy icons, buttons and logos. Besides, I like the little ASCII logo. Ironic for a visual effects artist though :)~ To each his own. -Modulok- On 1/4/09, Frank Shute fr...@shute.org.uk wrote: On Sun, Jan 04, 2009 at 04:02:53PM +0100, cpghost wrote: On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote: Someone needs to change the FreeBSD boot menu. The way the word/logo FreeBSD is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. I would try to make the change myself for myself, but i am not a programmer. You can change the logo yourself, e.g. to Beastie. Just add this line to /boot/loader.conf: loader_logo=beastie and: loader_color=YES to get beastie in all his colourful glory ;) If you want to change the logo or add a new one, have a look at /boot/beastie.4th. That's where the graphics are. This is Forth, so the code may seem a little bit opaque at first. I love this product and would like to suggest changing that screen. To what? I don't know. Maybe instead of the large logo simply put FreeBSD version XXX, copy right etc. Or heck, maybe a color bootscreen like GRUB has in Linux (from what i've seen in Centos/Trixbox). The beastie logo is in ANSI-color (there's a bw version of it too). You can create your own ANSI-color representation of your customized logo too. A fully graphical boot logo (e.g. by switching to VESA) won't be so good, because there are many users out there who boot FreeBSD on headless devices (like Soekris), which don't have the appropriate circuitry and have to fall back to the serial console. That's why the current boot screen is very good: it's lightweight, portable, and to a certain extent customizable. Oliver Fromme was working on a graphical bootloader: http://wiki.freebsd.org/OliverFromme/BootLoader The page was last updated in July by the looks of it. snip Regards, -cpghost. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ 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
make pdf from webpage on webserver (no x11)
Trying to figure out how to print a webpage on the server, without a gui.. On the local test webserver that we have we are trying to figure out how we can from php (or anything else) print a webpage to a pdf.. Anyone have a clue as to how to do this? Or is this some major php programming to make it happen? ___ 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: make pdf from webpage on webserver (no x11)
On Sun, Jan 04, 2009 at 07:35:03PM -0500, B. Cook wrote: Trying to figure out how to print a webpage on the server, without a gui.. On the local test webserver that we have we are trying to figure out how we can from php (or anything else) print a webpage to a pdf.. Anyone have a clue as to how to do this? Or is this some major php programming to make it happen? I'm using textproc/htmldoc to create PDFs from HTML. HTH, Yuri ___ 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: USB printer problem
On Sunday 04 January 2009 14:18:06 Gonzalo Nemmi wrote: On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote: Hi; I've been trying for 2 days with no success Here is the setup: FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 -printer detected kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 kernel: ulpt0: using bi-directional mode /etc/devfs.conf own ulpt0 root:cups permulpt0 0660 /etc/devfs.rules [system=10] add path lpt[0-9]* mode 0660 group cups add path ulpt[0-9]* mode 0660 group cups add path unlpt[0-9]* mode 0660 group cups /etc/rc.conf devfs_system_ruleset=system cupsd_enable=YES and nothing bellow works ! # lptest 20 10 /dev/ulpt0 # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- -sDeviceManufacturer=HP -sDeviceModel=DJ3600 /tmp/foomatic-rip.ps /dev/ulpt0 # cat /etc/rc.conf /dev/ulpt0 The printer doesn't even move ! Tried changing usb ports: Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected Jan 4 12:59:38 kernel: ulpt0: detached Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode and nothing happens :( I've been googling for 2 days, read all I could, tried all I read and nothing happens. any suggestions? Thanks! Sure ... Acording to your mail, you seem to be using hplip as a back end ... [gonz...@inferna ~]% pkg_info -W /usr/local/bin/hpijs /usr/local/bin/hpijs was installed by package hplip-2.8.2_3 [gonz...@inferna ~]% Its all there in hplip's installation notes... you need hpssd up and running and the printer should be attached to ugen ... hplip doesn't work with ulpt .. [gonz...@inferna ~]% pkg_info -xD hplip Information for hplip-2.8.2_3: Install notice: ** UPGRADE FROM 1.X NOTICE * NOTE: If you are upgrading from 1.x you will need to change your devfs ruleset as hpiod is now gone, so remove it from you rc.conf. The printer communication now runs through cupsd. You will need to make the devfs ruleset changes to allow cups to access the usb bus and ugen devices so that it can enumerate the printers. You will also need to update your hplip.conf. See the instructions below. UPGRADE FROM 1.X NOTICE * Add the following to your rc.conf: hpssd_enable=YES So all you have to do if you have a custom ruleset setup is add the following to that ruleset in devfs.rules: add path 'usb*' group cups add path 'usb*' mode 0660 add path 'ugen*' group cups add path 'ugen*' mode 0660 If you have never setup devfs.rules please read the manpage and see: http://am-productions.biz/docs/devfs.rules.php The printer MUST attach as a ugen(4) device. This means that you must NOT have device ulpt in your kernel and ulpt must NOT be loaded as a kernel module. If you are seeing device connection errors restart the printing chain with the following command. NOTE: It MUST be restarted in the stated order. %%PREFIX%%/etc/rc.d/hpssd restart \ %%PREFIX%%/etc/rc.d/cupsd restart If upgrading from a version 2.7.9 copy the new hplip.conf.sample config. cp %%PREFIX%%/etc/hp/hplip.conf.sample \ %%PREFIX%%/etc/hp/hplip.conf If you are still having problems check: http://am-productions.biz/docs/hplip.php If you are still having problems send the relevant part of your /var/log/messages, console output from the hp-* utility that you are trying to run, and your rc.conf + devfs.rules files and the output of ls -l /dev to the maintainer. ** [gonz...@inferna ~]% I've written a small guide on how to set up a printer using cups and hplip in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still think it might help you out .. you can find it in here: http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019 Good luck! Hi: No success. I waited hours for hplip to compile/install and nothing :( here are some outputs: == [~]usbdevs addr 1: OHCI root hub, SiS addr 1: OHCI root hub, SiS addr 2: Deskjet D1500 series, HP [~]dmesg snip.. sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 ugen0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2 Timecounter TSC frequency 946495443 Hz quality 800 Timecounters tick every 1.000 msec snip.. [~]hp-info HP Linux Imaging and Printing System (ver. 2.8.2) Device Information Utility ver. 3.4 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you
Re: Suggestion
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8 META NAME=Generator CONTENT=MS Exchange Server version 6.5.7651.59 TITLERe: Suggestion/TITLE /HEAD BODY !-- Converted from text/plain format -- PFONT SIZE=2Thanks everyone. The serial console is a good point.BR BR RyanBR BR BR Sent from my BlackBerry Wireless HandheldBR BR - Original Message -BR From: Modulok lt;modu...@gmail.comgt;BR To: Frank Shute lt;fr...@shute.org.ukgt;; cpghost lt;cpgh...@cordula.wsgt;; Ryan da Silva; freebsd-questions@freebsd.org lt;freebsd-questions@freebsd.orggt;BR Sent: Sun Jan 04 19:21:58 2009BR Subject: Re: SuggestionBR BR gt; gt; quot;FreeBSDquot; is displayed in large font with, ASCII characters, reminds meBR gt; gt; of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of theBR gt; gt; BBS. But it`s 2009 and FreeBSD is a solid, professional,BR gt; gt; enterprise-grade operating system and the silly ASCII logo is the onlyBR gt; gt; thing that says amateur about the product.BR BR Gratuitous misuse of iconic representations, logos and other pointlessBR flair is one of the reasons I moved to beastie. The thing that makesBR me think of it as a 'professional enterprise-grade operating system'BR is that I can deploy it and not have to worry about it. TheBR documentation is also excellent. It is these things that make it good,BR not loading screens, glossy icons, buttons and logos. Besides, I likeBR the little ASCII logo. Ironic for a visual effects artist though :)~BR BR To each his own.BR -Modulok-BR BR On 1/4/09, Frank Shute lt;fr...@shute.org.ukgt; wrote:BR gt; On Sun, Jan 04, 2009 at 04:02:53PM +0100, cpghost wrote:BR gt;gt;BR gt;gt; On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote:BR gt;gt; gt; Someone needs to change the FreeBSD boot menu. The way the word/logoBR gt;gt; gt; quot;FreeBSDquot; is displayed in large font with, ASCII characters, reminds meBR gt;gt; gt; of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of theBR gt;gt; gt; BBS. But it`s 2009 and FreeBSD is a solid, professional,BR gt;gt; gt; enterprise-grade operating system and the silly ASCII logo is the onlyBR gt;gt; gt; thing that says amateur about the product. I would try to make theBR gt;gt; gt; change myself for myself, but i am not a programmer.BR gt;gt;BR gt;gt; You can change the logo yourself, e.g. to Beastie.BR gt;gt; Just add this line to /boot/loader.conf:BR gt;gt;BR gt;gt; loader_logo=quot;beastiequot;BR gt;BR gt; and:BR gt;BR gt; loader_color=quot;YESquot;BR gt;BR gt; to get beastie in all his colourful glory ;)BR gt;BR gt;gt;BR gt;gt; If you want to change the logo or add a new one,BR gt;gt; have a look at /boot/beastie.4th. That's whereBR gt;gt; the graphics are. This is Forth, so the code mayBR gt;gt; seem a little bit opaque at first.BR gt;gt;BR gt;gt; gt; I love this product and would like to suggest changing thatBR gt;gt; gt; screen. To what? I don't know.nbsp; Maybe instead of the large logoBR gt;gt; gt; simply put quot;FreeBSD version XXX, copy rightquot; etc. Or heck, maybe aBR gt;gt; gt; color bootscreen like GRUB has in Linux (from what i've seen inBR gt;gt; gt; Centos/Trixbox).BR gt;gt;BR gt;gt; The beastie logo is in ANSI-color (there's a bw version of itBR gt;gt; too). You can create your own ANSI-color representation of yourBR gt;gt; customized logo too.BR gt;gt;BR gt;gt; A fully graphical boot logo (e.g. by switching to VESA) won't be soBR gt;gt; good, because there are many users out there who boot FreeBSD onBR gt;gt; headless devices (like Soekris), which don't have the appropriateBR gt;gt; circuitry and have to fall back to the serial console. That's whyBR gt;gt; the current boot screen is very good: it's lightweight, portable,BR gt;gt; and to a certain extent customizable.BR gt;BR gt; Oliver Fromme was working on a graphical bootloader:BR gt;BR gt; A HREF=http://wiki.freebsd.org/OliverFromme/BootLoader;http://wiki.freebsd.org/OliverFromme/BootLoader/ABR gt;BR gt; The page was last updated in July by the looks of it.BR gt;BR gt; lt;snipgt;BR gt;gt;BR gt;gt; Regards,BR gt;gt; -cpghost.BR gt;BR gt; Regards,BR gt;BR gt; --BR gt;BR gt;nbsp; FrankBR gt;BR gt;BR gt;nbsp; Contact info: A HREF=http://www.shute.org.uk/misc/contact.html;http://www.shute.org.uk/misc/contact.html/ABR gt;BR gt; ___BR gt; freebsd-questions@freebsd.org mailing listBR gt; A HREF=http://lists.freebsd.org/mailman/listinfo/freebsd-questions;http://lists.freebsd.org/mailman/listinfo/freebsd-questions/ABR gt; To unsubscribe, send any mail to quot;freebsd-questions-unsubscr...@freebsd.orgquot;BR gt;BR BR __BR This e-mail has been scanned by Spam Manager Email Service, using Skeptic(tm) technology powered by MessageLabs.BR __BR /FONT /P /BODY
Re: OT: how many rankmount units is a tower-case
On Sun, Jan 04, 2009 at 12:42:02PM -0800, per...@pluto.rain.com wrote: If a hard disk formatted and used in a position , in that position it may be used if manufacturer is NOT advised a specific position. After loading of files into hard disk , change of position may cause difficulty in reading of already recorded data . This point should be considered . Sun, at least, used to warn about this back in the MFM/ESDI days, recommending that a disk should be reformatted if its orientation were changed, but those drives used all their heads for data and depended on reproduceable mechanical positioning to align the heads at the selected cylinder. I'm not sure it still applies to drives that dedicate one head to fine-tuning track position by reading factory-recorded servo patterns. (Quick check, if actual geometry is known: a drive with an odd number of heads most likely has a dedicated servo surface.) BTW most drives of that era, while OK on either side as well as right side up, were *not* supposed to be run upside down -- the bearings were not designed for that. That may well have been true back in those days, but reasonably modern drives[*] do not have those limitations. Todays drives can be mounted in any orientation, and should have no problems being remounted in a new orientation. From Western Digital's FAQ: Physical mounting of the drive: WD drives will function normally whether they are mounted sideways or upside down (any X, Y, Z orientation). Of course, the physical design of your system may limit the positions in which the drive can be mounted. However, in all cases, you should mount the drive with all four screws for good grounding. Also ensure that there is enough air space around the drive for adequate air flow, and avoid mounting the drive near sources of excessive heat (such as some CPUs). From Seagate's FAQ: All Seagate Maxtor's internal hard drives can be fitted sideways or upside down. As long as they can not be moved during use and get enough cooling it is irrelevant in which direction they are mounted. From Hitachi's installation guide: There are many variations of system cases. Hitachi Deskstar drive can be mounted with any side or end vertical or hori- zontal. Do not mount the drive in a tilted position. [*] resonably modern drives includes just about all drives any sane person would even consider using for a new computer build. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ 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
FIXED: vpnc connects, but does not work
I have installed vpnc to connect to an employer's Cisco VPN system, and it seems to make the connection, but after connecting I can't ping the gateway nor anything beyond it ... It turned out the only problem was the absence of NAT Traversal Mode cisco-udp in vpnc.conf. (Presumably not all configurations of the Cisco 3000 will need that, else it would be the default, but it seems to be correct for the one involved here.) I never did figure out why that kept the interface from responding to a ping of its own address :( ___ 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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?
Just FWIW, the proper way to do online expansion with ZFS is quite different than that of a RAID controller, as doing a regular OCE process is quite difficult in ZFS (due to the variable-size stripes that ZFS uses, which makes the simple expansion of regular RAID-5 or RAID-6 not workable - or so I've read on the ZFS mailing lists) The way that I believe you can add capacity to an existing RAIDZ / RAIDZ2 is as follows: (this is based directly off of their documentation: http://docs.sun.com/app/docs/doc/819-5461/gcvjg?a=view) Your ZFS pool is made up of vdevs, which are in turn made up of raw disks / partitions / unicorns, other block devices. To increase the capacity of your existing pool, you simply add another vdev to it, and ZFS will intelligently start distributing the data between the two vdevs. The example, straight from their documentation (with some commentary from me) is an existing ZFS pool named rpool, which as 3 disks and is in a RAIDZ configuration # zpool status pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 errors: No known data errors Now, we want to add three *new* disks to the storage pool - to do this, we simply add a new RAIDZ device comprised of our three new disks into the existing pool: # zpool add rpool raidz c2t2d0 c2t3d0 c2t4d0 # zpool status pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c2t2d0 ONLINE 0 0 0 c2t3d0 ONLINE 0 0 0 c2t4d0 ONLINE 0 0 0 errors: No known data errors If you're looking for more info on ZFS, I suggest looking at the Sun ZFS administration guide: http://docs.sun.com/app/docs/doc/819-5461/gavwn?a=browse Particularly, the section #5, on ZFS Storage Pools: http://docs.sun.com/app/docs/doc/819-5461/gavwn?a=view Charles Richards richar...@gmail.com charlesrichards.net On Jan 3, 2009, at 5:19 AM, Frederique Rijsdijk wrote: After some reading, I come back from my original idea. Main reason is I'd like to be able to grow the fs as the need develops in time. One could create a raidz zpool with a couple of disks, but when adding a disk later on, it will not become part of the raidz (I tested this). It seems vdevs can not be nested (create raidz sets and join them as a whole), so I came up with the following: Start out with 4*1TB, and use geom_raid5 to create an independent redundant pool of storage: 'graid5 label -v graid5a da0 da1 da2 da3' (this is all tested in vmware, one of these 'da' drives is 8GB) Then I 'zpool create bigvol /dev/raid5/graid5a', and I have a / bigvol of 24G - sounds about right to me for a raid5 volume. Now lets say later in time I need more storage, I buy another 4 of these drives, and 'graid5 label -v graid5b da4 da5 da6 da7' and 'zpool add bigvol /dev/raid5/graid5b' Now my bigvol is 48G. Very cool! Now I have redundant storage that can grow and it's pretty easy too. Is this OK (besides from the fact that graid5 is not in production yet, nor is ZFS ;) or are there easier (or better) ways to do this? - So I want redundancy (I don't want one failing drive to cause me to loose all my data) - I want to be able to grow the filesystem if I need to, by adding a (set of) drive(s) later on. -- FR ___ 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
zip files...
guys, i have three huge zip files, .zip, and z02, z01. how do i unzip these into the original? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php ___ 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: zip files...
On Sun, 4 Jan 2009 22:48:21 -0800 Gary Kline kl...@thought.org wrote: how do i unzip these into the original? hello gary, use unzip filename. if you don't have (un)zip installed you can get them with pkg_add -r zip unzip (assuming you can become root) -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ 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
why printf() don't work?
I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf(execute main()) will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include sys/ioctl.h #include unp.h static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1]; static int iget; static int iput; static int nqueue; static socklen_t clilen; static void sig_io(int); static void sig_hup(int); int main(int argc,char **argv){ printf(execute main()); int sockfd; struct sockaddr_in servaddr,cliaddr; sockfd=socket(AF_INET,SOCK_DGRAM,0); bzero(servaddr,sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=htonl(INADDR_ANY); servaddr.sin_port=htons(SERV_PORT); bind(sockfd,(SA *)servaddr,sizeof(servaddr)); dg_echo(sockfd,(SA *)cliaddr,sizeof(cliaddr)); } void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ printf(called dg_echo); int i; const int on=1; sigset_t zeromask,newmask,oldmask; sockfd=sockfd_arg; clilen=clilen_arg; for(i=0;iQSIZE;i++){ dg[i].dg_data=malloc(MAXDG); dg[i].dg_sa=malloc(clilen); dg[i].dg_salen=clilen; } iget=iput=nqueue=0; signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); fcntl(sockfd,F_SETOWN,getpid()); ioctl(sockfd,FIOASYNC,on); ioctl(sockfd,FIONBIO,on); sigemptyset(zeromask); sigemptyset(oldmask); sigemptyset(newmask); sigaddset(newmask,SIGIO); sigprocmask(SIG_BLOCK,newmask,oldmask); for(;;){ while(nqueue==0) sigsuspend(zeromask); sigprocmask(SIG_SETMASK,oldmask,NULL); sendto(sockfd,dg[iget].dg_data,dg[iget].dg_len,0,dg[iget].dg_sa,dg[iget].dg_salen); if(++iget=QSIZE) iget=0; sigprocmask(SIG_BLOCK,newmask,oldmask); nqueue--; } } static void sig_io(int signo){ printf(sig_io called); ssize_t len; int nread; DG *ptr; for(nread=0;;){ if(nqueue=QSIZE) err_quit(receive overflow); ptr=dg[iput]; ptr-dg_salen=clilen; len=recvfrom(sockfd,ptr-dg_data,MAXDG,0,ptr-dg_sa,ptr-dg_salen); if(len0){ if(errno==EWOULDBLOCK) break; else err_sys(recvfrom error); } ptr-dg_len=len; nread++; nqueue++; if(++iput=QSIZE) iput=0; } cntread[nread]++; } static void sig_hup(int signo){ printf(sig_hup called); int i; for(i=0;i=QSIZE;i++) printf(cntread[%d]=%ld\n,i,cntread[i]); } --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank 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
Re: zip files...
On Sun, Jan 04, 2009 at 11:36:27PM -0800, prad wrote: On Sun, 4 Jan 2009 22:48:21 -0800 Gary Kline kl...@thought.org wrote: how do i unzip these into the original? hello gary, use unzip filename. if you don't have (un)zip installed you can get them with pkg_add -r zip unzip (assuming you can become root) thanks much:-) -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php ___ 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