Re: Need Help Installing and Configuring Xorg
Chuck Swiger cswi...@mac.com wrote: Sun's OpenWin (X11+Motif+DPS extension, IIRC) ... I'm fairly sure OpenWin did not include Motif, at least initially (although it may have been added later -- my experience with OpenWin ended with SunOS 4). olwm had a look and feel all its own. ___ 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: ftp installation
On 12 Jun 2011 at 4:32, Bill Tillman wrote: From: Daniel Feenberg feenb...@nber.org Subject: Re: ftp installation On Sat, 11 Jun 2011, Robert Simmons wrote: On Sat, Jun 11, 2011 at 6:52 PM, Daniel Feenberg feenb...@nber.org wrote: I have tried many of the ftp sites enumerated in sysinstall, with both 7.4-RELEASE and 8.2-RELEASE, and in all cases the installation proceeds for a few seconds and then hangs, with the last message on the console always being: DEBUG: Generating /etc/fstab file. ... Is there something off about the sysinstall ftp dialog? I don't see a way to monitor what is happening. Your firewall may be interfering with the connection. You may want to read the handbook section on FTP installs (the grey box at the bottom of the page): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-me dia.html Well, our router has never interfered with ftp transfers done from the command line, but switching to the firewall-friendly mode in sysinstall does fix the problem. Thank you Daniel Feenberg NBER If I recall correctly I had to open up my firewall completely to get the ftp installations to work. I use a FreeBSD diskless router running IPFW+NATD and the log files are set to max out at 5 so I can't see which port is trying to be used which gets blocked. So just for the 10 minutes or so to do an FTP install I just open the firewall wide and allow any to any. Once the install is complete I close the firewall again. That's why Passive (or PASV) mode is included in FTP. It only ever makes outgoing connections from a client. 99.9% of all routers/firewalls will honour that mode with no probems, unless it's been specifically blocked by an admin type somewhere. In the F'BSD install/update settings/dialogs etc, always select the option to use FTP from behind a firewall or router, or Firewall Friendly mode. That will invoke Passive mode transfers. It's the one thing I can do reliably with FreeBSD, no need to mess with router/firewall permissions etc. That only needs doing if you want to run a server that is reachable from outside your LAN. That in turn, opens a whole oil drum load (i.e. a big can of worms!) of potential security issues Take care. DaveB PS: Worth looking at, for a good, if lenghty explanation. http://slacksite.com/other/ftp.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: Need Help Installing and Configuring Xorg (Polytropon)
When it installs it comes with twm (Trivial Window Manager) Tom's Window Manager? A great little wm :) http://www.cpcnw.co.uk/twm/twmrc.htm ___ 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: hmph, one lesson self-caught...
You can't take no for an answer, freebsd-questions! 2011/06/11 19:47:43 -0700 Gary Kline kl...@thought.org = To FreeBSD Mailing List : GK About a minute ago I learned that you cannot have a ### comment GK _following_ the LoadModule lines in /usr/local/etc/apache22/httpd.conf in the upcoming release of www/p5-FCGI-Spawn I will have mod_perl simulation feature enabled by default... 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.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
ZFS on 8.1 - various problems after a disk failure.
I have a FreeBSD 8.2 server at home with 4 2TB drives in it running ZFS with a raidz pool. Some time ago, I had a disk fail. Initially it wasn't totally obvious the disk had failed so I ran a 'zpool scrub' on the pool, which threw up a lot of errors, and also produced a lot of sense errors, making it obvious I had a dead disk. I replaced the disk, then ran zpool replace zjumbo ad4 ad4 to replace the bad disk in-place, and start a resilver. Now I have a few problems: 1) The old ad4 is still listed, even after several scrub/resilvers. Shouldn't it go away? 2) Although I lost a whole directory with ~1TB of music, the space allocated to that directory is still around according df. 3) I have another bunch of files that appear in directory listings, but if I get Illegal byte sequence errors when trying to read them (with anything - du, file, wc). I have backups of most of the stuff on the pool (although it'd be nice to recover the more recent data), but how do I get out of this situation without nuking the site from orbit? (my current plan) Firstly, to get a reliable representation of what's actually on the filesystem, and for bonus points, getting back some of the data that should be intact (only one disk in the set was actually bad, right?). Here's my current zpool status. Thanks in advance for any pointers! Howie # zpool status pool: zjumbo state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: resilver completed after 10h57m with 15190 errors on Thu May 19 09:26:59 2011 config: NAME STATE READ WRITE CKSUM zjumbo DEGRADED 0 0 199K raidz1 DEGRADED 0 0 792K replacing DEGRADED 0 0 0 ad4/old UNAVAIL 0 16.1M 0 cannot open ad4 ONLINE 0 0 0 1.15T resilvered ad6ONLINE 0 0 0 677M resilvered ad8ONLINE 0 0 0 660M resilvered ad10 ONLINE 0 0 0 535M resilvered errors: 15190 data errors, use '-v' for a list ___ 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
Probably working too hard for this cron question
All, I've googled a bunch, read some freebsd.org docs, and just can't figure this out. I have a script that should read the current date into a variable, append the time/date stamp at the beginning of the file created with the date in the variable, do a bunch of cURL stuff, then append a time/date stamp at the end of the file. It works if I run it manually, but not from cron. Here are the batchfile and the cron entry: --begin script-- dt=`/bin/date +%Y-%m-%d` /bin/date /root/$dt-external1.txt /usr/local/bin/curl -K /root/urls.txt /root/$dt-external1.txt /bin/date /root/$dt-external1.txt --end script-- --begin crontab-- 15 12 * * */root/do-curl.sh --end crontab-- I'm doing all of this as root, as you can see. The job launches - I can see an entry for cURL in top - but no file in /root. I've tried several variations on the first line of the script, but I'm getting nowhere, though I'm sure it's something stupidly simple that I'm missing. What am I missing? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ESS (extended service set) configuration for FBSD
Hello, I wanted to know what is the best way to build an ESS (extended service set aka group of Access Points) using FreeBSD. Knowing that we are looking at the classic features of such network: 1. Couple of AP's configured with the same SSID 2. Authentication 3. Security 4. Roaming between AP's 5. Communication between stations in the same ESS The main problem to solve seems to be related to IAPP (Inter Access Point Protocol) aka 802.11f It is not very clear to me in which stage we are with this protocol and It's implementation… What would you advice ? How would you proceed ? Thanks for your support. –– - Grégory Bernard Director - --- www.osnet.eu --- -- Your provider of OpenSource appliances -- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ 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: Probably working too hard for this cron question
On Mon, Jun 13, 2011 at 12:52 PM, Kurt Buff kurt.b...@gmail.com wrote: All, I've googled a bunch, read some freebsd.org docs, and just can't figure this out. I have a script that should read the current date into a variable, append the time/date stamp at the beginning of the file created with the date in the variable, do a bunch of cURL stuff, then append a time/date stamp at the end of the file. It works if I run it manually, but not from cron. Here are the batchfile and the cron entry: --begin script-- dt=`/bin/date +%Y-%m-%d` /bin/date /root/$dt-external1.txt /usr/local/bin/curl -K /root/urls.txt /root/$dt-external1.txt /bin/date /root/$dt-external1.txt --end script-- --begin crontab-- 15 12 * * * /root/do-curl.sh --end crontab-- I'm doing all of this as root, as you can see. The job launches - I can see an entry for cURL in top - but no file in /root. I've tried several variations on the first line of the script, but I'm getting nowhere, though I'm sure it's something stupidly simple that I'm missing. What am I missing? #!/bin/sh ? -pete -- pete wright www.nycbug.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: Probably working too hard for this cron question
Yeah Pete, kinda need that huh. Kurt, If that turns out to be the only issue, don't feel bad - I've forgotten it myself several times! I'm sure many others have as well! G -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of pete wright Sent: Monday, June 13, 2011 3:25 PM To: Kurt Buff Cc: FreeBSD Questions Subject: Re: Probably working too hard for this cron question On Mon, Jun 13, 2011 at 12:52 PM, Kurt Buff kurt.b...@gmail.com wrote: All, I've googled a bunch, read some freebsd.org docs, and just can't figure this out. I have a script that should read the current date into a variable, append the time/date stamp at the beginning of the file created with the date in the variable, do a bunch of cURL stuff, then append a time/date stamp at the end of the file. It works if I run it manually, but not from cron. Here are the batchfile and the cron entry: --begin script-- dt=`/bin/date +%Y-%m-%d` /bin/date /root/$dt-external1.txt /usr/local/bin/curl -K /root/urls.txt /root/$dt-external1.txt /bin/date /root/$dt-external1.txt --end script-- --begin crontab-- 15 12 * * * /root/do-curl.sh --end crontab-- I'm doing all of this as root, as you can see. The job launches - I can see an entry for cURL in top - but no file in /root. I've tried several variations on the first line of the script, but I'm getting nowhere, though I'm sure it's something stupidly simple that I'm missing. What am I missing? #!/bin/sh ? -pete -- pete wright www.nycbug.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 font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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: Probably working too hard for this cron question
On Mon, Jun 13, 2011 at 2:14 PM, Gary Gatten ggat...@waddell.com wrote: Yeah Pete, kinda need that huh. Kurt, If that turns out to be the only issue, don't feel bad - I've forgotten it myself several times! I'm sure many others have as well! as someone who was fixing some brain dead cron entries he setup on friday this morning...i agree :^) -pete -- pete wright www.nycbug.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: Probably working too hard for this cron question
On Mon, Jun 13, 2011 at 13:25, pete wright nomadlo...@gmail.com wrote: On Mon, Jun 13, 2011 at 12:52 PM, Kurt Buff kurt.b...@gmail.com wrote: All, I've googled a bunch, read some freebsd.org docs, and just can't figure this out. I have a script that should read the current date into a variable, append the time/date stamp at the beginning of the file created with the date in the variable, do a bunch of cURL stuff, then append a time/date stamp at the end of the file. It works if I run it manually, but not from cron. Here are the batchfile and the cron entry: --begin script-- dt=`/bin/date +%Y-%m-%d` /bin/date /root/$dt-external1.txt /usr/local/bin/curl -K /root/urls.txt /root/$dt-external1.txt /bin/date /root/$dt-external1.txt --end script-- --begin crontab-- 15 12 * * * /root/do-curl.sh --end crontab-- I'm doing all of this as root, as you can see. The job launches - I can see an entry for cURL in top - but no file in /root. I've tried several variations on the first line of the script, but I'm getting nowhere, though I'm sure it's something stupidly simple that I'm missing. What am I missing? #!/bin/sh ? Definitely closer... Per the handbook, I added SHELL=/bin/sh to crontab, and I also added #!/bin/sh as the first line in the script But, while a file is being created, it's just /root/-external1.txt not /root/2011-06-13-external1.txt Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Probably working too hard for this cron question
Indeed. Brain fade comes with age - and long weekends with the 2 year old boy... Kurt On Mon, Jun 13, 2011 at 14:14, Gary Gatten ggat...@waddell.com wrote: Yeah Pete, kinda need that huh. Kurt, If that turns out to be the only issue, don't feel bad - I've forgotten it myself several times! I'm sure many others have as well! G -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of pete wright Sent: Monday, June 13, 2011 3:25 PM To: Kurt Buff Cc: FreeBSD Questions Subject: Re: Probably working too hard for this cron question On Mon, Jun 13, 2011 at 12:52 PM, Kurt Buff kurt.b...@gmail.com wrote: All, I've googled a bunch, read some freebsd.org docs, and just can't figure this out. I have a script that should read the current date into a variable, append the time/date stamp at the beginning of the file created with the date in the variable, do a bunch of cURL stuff, then append a time/date stamp at the end of the file. It works if I run it manually, but not from cron. Here are the batchfile and the cron entry: --begin script-- dt=`/bin/date +%Y-%m-%d` /bin/date /root/$dt-external1.txt /usr/local/bin/curl -K /root/urls.txt /root/$dt-external1.txt /bin/date /root/$dt-external1.txt --end script-- --begin crontab-- 15 12 * * * /root/do-curl.sh --end crontab-- I'm doing all of this as root, as you can see. The job launches - I can see an entry for cURL in top - but no file in /root. I've tried several variations on the first line of the script, but I'm getting nowhere, though I'm sure it's something stupidly simple that I'm missing. What am I missing? #!/bin/sh ? -pete -- pete wright www.nycbug.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 font size=1 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in' /div This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. /font ___ 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: Virtualbox on 8.2 64-bit (cont)
On 6/9/11 4:55 PM, Mario Lobo wrote: On Thursday 09 June 2011 10:49:37 Rob wrote: On 6/6/11 8:39 PM, Mario Lobo wrote: On Monday 06 June 2011 17:56:53 Rob wrote: I was attempting to install virtualbox on my 8.2-p2 64-bit system this weekend, and hit a rather curious situation. The pre-packaged version of virtualbox retrievable by pkg_add is 3.2.12 (which looks in ports/amd64/packages-8.2-release). Poking around on the ftp server, I see that packages-8.1-release also has a 3.x version, but packages-8-stable has the latest 4.0.8. I went to look in ports, which contains 4.0.8, and build it myself but I got an error saying I need to have the 32-bit libraries installed in order to build virtualbox. So, my question is 2-fold: 1) What is the reason the 64-bit pre-packaged version of virtualbox is still at the 3.x version? Would there be a problem with installing the packages (virtualbox and kernel module) from packages-8-stable? 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit libs. Is that possible? Searching around has produced old e-mail threads indicating this was a problem as of 2 or so years ago with the 3.x release. If it's not possible to build w/o the 32-bit libs, what do I need to install? Rob You need to rebuild your kernel with options COMPAT_FREEBSD32# Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Rob To remain with the same kernel you installed, you must install the source tree from the same CD/DVD you used for installation. You will have to run sysinstal and go to Configure Do post-install configuration of FreeBSD then Distributions Install additional distribution sets then mark [ ] src Sources for everything Choose the CDROM as installation media. After that you'll have all the sources on your HD and can proceed to the compilation of the 32 libs. If the sources are from the same CD you installed the system, they will be in sync with your kernel. No upgrade issues. What is that command doing though? It's building what from src? What is the output of build32? I assume it's not a kernel. Also, do you know the difference between pre-built packages on the freebsd ftp server in packages-8.2-release vs packages-8-stable? Rob ___ 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