Re: Problem about ppp -nat
Pongthep Kulkrisada wrote: Hi All, I have just subscribed to freebsd-questions and I have a question about ppp -nat. I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. The host running FBSD7.0R has been connecting to the outside world using user-ppp without any problem for very long. Now I want to share internet access to the other host behind NAT through this FBSD host. My FBSD machine has 2 interfaces i.e. tun0 (connecting to ISP) with dynamic IP (of course) fxp0 (for internal LAN) with static IP of 192.168.1.10 My WinXP machine has 1 interface (internal LAN) with static IP of 192.168.1.11 Previously I have a router acting as a gateway for all machines behind NAT. But now I want FBSD machine to work as a gateway. I have never done this before. I tried some googling with reading ppp(8) and ipfw(8). And I tried masquerading but it didn't work. I have plenty configuration files. But the relevant configurations are listed here. /etc/rc.conf # enable IP forwarding gateway_enable=YES # previously I ran web-server, just disable it or comment it out, not sure why! #apache_enable=YES On the host running WinXP, I set its gateway and DNS server to the IP of ppp host i.e. 192.168.1.10. I then inserted the following line as the first rule in /etc/ipfw.rules. /sbin/ipfw add allow all from any to any via fxp0 (I know this rule is dangerous, but just for testing.) I then issue the ppp command. [EMAIL PROTECTED]:~# ppp -background -nat myisp FBSD host (running ppp) can access anywhere but WinXP host can't. I learned from some site explaining that ppp itself has the capability of IP masquerading. And it does not require natd(8). So I don't mention about natd here. Anyone have a clue or who have done the correct configurations, please point me out. Thank you in advance. Pongthep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You need to run dhcp so you can assign ip address on the LAN so the down stream xp box can gain access to the public internet through your gateway freebsd box. There is a detailed step by step instructions in the install guide at www.a1poweruser.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS Recovery Tools
What does MAXPHYS mean (yes max raw I/O transfer) and do? A little bit more specific if you may. how large can be single read from disk. when you say read 2 files in the same time, FreeBSD will readahead at most MAXPHYS from one file, then from file 2, from file 1 etc. 128kB/s is way too much for todays drives, that can read 1MB within one access time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS Recovery Tools
On Fri, Nov 21, 2008 at 10:42 AM, Wojciech Puchar [EMAIL PROTECTED] wrote: What does MAXPHYS mean (yes max raw I/O transfer) and do? A little bit more specific if you may. how large can be single read from disk. when you say read 2 files in the same time, FreeBSD will readahead at most MAXPHYS from one file, then from file 2, from file 1 etc. 128kB/s is way too much for todays drives, that can read 1MB within one access time. Thank you for your explanation. a great day, v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ZFS Recovery Tools
What does MAXPHYS mean (yes max raw I/O transfer) and do? A little bit more specific if you may. how large can be single read from disk. when you say read 2 files in the same time, FreeBSD will readahead at most MAXPHYS from one file, then from file 2, from file 1 etc. 128kB/s is way too much for todays drives, that can read 1MB within one access time. 128kB/s is way to much , and you set it to 1024, or did you mean way to low ? Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.4/1795 - Release Date: 17-11-2008 17:24 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS Recovery Tools
Thank you for your explanation. from what i tested 1MB is optimal on modern drives, 2MB doesn't speed up much (if any) but increases latency. use lower values for old drives (20GB) and low memory (=64MB) machines ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver
On Thu, 20 Nov 2008 17:17:01 -0500 Dan wrote: I have issues with sound - it does not support software jack detection, so using headphones means the speakers are still on :(. Welcome to freebsd-emulation@ ML. This issue is not very hard imho. WBR -- bsam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Asus eeepc, Freebsd-head, problem with ath/wifi driver
On Fri, 21 Nov 2008 12:47:33 +0300 Boris Samorodov wrote: On Thu, 20 Nov 2008 17:17:01 -0500 Dan wrote: I have issues with sound - it does not support software jack detection, so using headphones means the speakers are still on :(. Welcome to freebsd-emulation@ ML. This issue is not very hard imho. Uh, this should be freebsd-multimedia@ ML, sorry. WBR -- bsam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. Goksin Akdeniz -- http://www.enixma.org signature.asc Description: This is a digitally signed message part.
ascii text format
algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using diff
add -u On Fri, 21 Nov 2008, Fbsd1 wrote: Trying to use diff program to create a patch. Output gos to console and does not create the patch file. If it do diff original updated patch.file The patch.file does not look like a normal patch file. What am I doing wrong here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ZFS Recovery Tools
when you say read 2 files in the same time, FreeBSD will readahead at most MAXPHYS from one file, then from file 2, from file 1 etc. 128kB/s is way too much for todays drives, that can read 1MB within one access time. 128kB/s is way to much , and you set it to 1024, or did you mean way to low ? i meant too little. sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd 7.0 - asterisk 1.4 install problem (libslang-1.4.9 conflicts with installed package(s):,libslang2-2.1.4 )
OS: FreeBSD 7.0-RELEASE-p5 (i386) Asterisk: 1.4.21.2_5 I dont wanna install old version asterisk ( /usr/ports/net/asterisk12). ## # pwd /usr/ports/net/asterisk # make === Vulnerability check disabled, database not found === Found saved configuration for asterisk-1.4.21.2_4 === Extracting for asterisk-1.4.21.2_5 = MD5 Checksum OK for asterisk-1.4.21.2.tar.gz. = SHA256 Checksum OK for asterisk-1.4.21.2.tar.gz. = MD5 Checksum OK for asterisk-1.4.21.1-codec-negotiation-20080715.diff.gz. = SHA256 Checksum OK for asterisk-1.4.21.1-codec-negotiation-20080715.diff.gz. /bin/mkdir -p /usr/ports/net/asterisk/work/asterisk-1.4.21.2/codecs/ilbc /usr/bin/find /usr/ports/net/asterisk/work/asterisk-1.4.21.2 -name '*.d' -delete === Patching for asterisk-1.4.21.2_5 === Applying distribution patches for asterisk-1.4.21.2_5 === Applying extra patch /usr/ports/net/asterisk/files/ilbc_enable.diff === Applying extra patch /usr/ports/net/asterisk/files/codecnego-patch-Makefile === Applying extra patch /usr/ports/net/asterisk/files/dtmf_debug.diff === Applying extra patch /usr/ports/net/asterisk/files/feature_disconnect.diff === Applying extra patch /usr/ports/net/asterisk/files/sip_force_callid.diff === Applying extra patch /usr/ports/net/asterisk/files/sip_set_auth.diff === Applying extra patch /usr/ports/net/asterisk/files/rtp_force_dtmf-codecnego.diff === Applying FreeBSD patches for asterisk-1.4.21.2_5 /usr/bin/sed -i.bak -e 's|/var/lib|/usr/local/share|g' /usr/ports/net/asterisk/work/asterisk-1.4.21.2/configs/musiconhold.conf.sample === asterisk-1.4.21.2_5 depends on executable: mpg123 - found === asterisk-1.4.21.2_5 depends on executable: gmake - found === asterisk-1.4.21.2_5 depends on executable: bison - found === asterisk-1.4.21.2_5 depends on shared library: speex.1 - found === asterisk-1.4.21.2_5 depends on shared library: newt.51 - not found === Verifying install for newt.51 in /usr/ports/devel/newt === newt-0.51.0_7 depends on shared library: slang.1 - not found === Verifying install for slang.1 in /usr/ports/devel/libslang === Installing for libslang-1.4.9 === libslang-1.4.9 conflicts with installed package(s): libslang2-2.1.4 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/devel/libslang. *** Error code 1 Stop in /usr/ports/devel/newt. *** Error code 1 Stop in /usr/ports/net/asterisk. *** Error code 1 Stop in /usr/ports/net/asterisk. ### # whereis libslang libslang: /usr/ports/devel/libslang # cd /usr/ports/devel/libslang # make # make install === Installing for libslang-1.4.9 === libslang-1.4.9 conflicts with installed package(s): libslang2-2.1.4 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/devel/libslang. *** Error code 1 Stop in /usr/ports/devel/libslang. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ascii text format
On Fri, 21 Nov 2008 10:49:16 +, pwn [EMAIL PROTECTED] wrote: what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. Judging from your example text, what you're searching for is a tool to format your text in paragraph mode (block mode) using spaces between the words. I'm not sure if there's already a tool on FreeBSD that does the trick, but you can surely write a simple awk script to do it. I'd suggest something like this: Break each input line into words using the space character as separator. Then, iterate over these words and put spaces after each word; repeat this until you've reached the desired text width. This should be relatively easy to accomplish. Furthermore, you can add an empty string before each output line in order to create a left margin. -- 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 [EMAIL PROTECTED]
Re: ascii text format
On Friday 21 November 2008 12:49:16 pwn wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt You seem to be fighting against your tools rather than working with them - the browser will strip out your whitespace and reflow your text anyway unless you prevent it somehow (pre tags?) so you might be better off just using HTML/CSS to control the format. However, you could look at various tools for processing text, depending exactly what you're trying to do: the manpages for fmt, groff, and pr might all offer some ideas. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smbfs 2 GB file size limit
At 02:05 PM 11/20/2008, Chris Pratt wrote: On Nov 20, 2008, at 7:21 AM, David Horn wrote: On Thu, Nov 20, 2008 at 7:07 AM, Derek Ragona No error message, it just stopped writing at 1 Gb. I was doing this using scp. Whoa, hopefully you just made a few typos here, or we are going down the wrong path of investigation. Did you really mean to say scp or cp ? scp(1) - secure copy (remote file copy program) cp(1)- copy files ... What ssh version is running on both of these other systems ? What OS are both of these other systems ? So it looks to me like there is some issue with the scp that is within FreeBSD i386 7. As per my previous message, I still suggest running single variable tests to make sure that you know what is causing the failure, but if you just want to jump to a possible solution, you can try updating ssh to the latest in the ports tree (5.0p1). If you have the FreeBSD ports collection installed and updated using portsnap(8) or csup(1) , just do: cd /usr/ports/security/openssh-portable make install Otherwise, install / update your ports collection using portsnap(8) (fetch update or fetch extract) first, then install openssh-portable. Good Luck. ---Dave I apologize in advance if this has nothing to do with this. I'd ignored this thread completely since it had SMB in the subject. Today I noticed the comments shown above that it was apparently actually related to ssh (scp). The fired a synapse of a recent session failure I was having after updating a server to 7.0 that normally accrues about a gig of changes a day. My backup server was running 5.5 and rsyncing the diffs each day. After the upgrade of the application server, the 5.5 client began to hang it's rsync session every day. I updated the 5.5 server to 7.0 (which OBTW replaced the ssh suite) and the problem disappeared. I didn't see in the thread what the actual ssh client OS or rev was but perhaps the client is downrev and there is an issue there. I did no research to figure out why, having my backup server so far downrevved made it's upgrade my first potshot and it worked. Chris, Thanks for the additional input. I am going to try updating openssh from the ports as this appears to be an issue with scp. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem about ppp -nat
Allthough others have already given you good advice, I'd like to add that I'm running here at a similar setting, but without any of these Windows. :-) First of all, I made my kernel capable; significant parts: # Firewall, NAT options DUMMYNET options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=500 options IPFILTER options IPDIVERT # PPPoE: netgraph(4) system options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_SOCKET options NETGRAPH_PPPOE If you don't want to compile a custom kernel, it's no problem. As far as I know, the required kernel modules will be loaded automatically. My setting includes two network interfaces, just like yours. Interface xl0 + tun0 is the PPPoE connection to the outside, while interface rl0 is the connection to the (slow) switch where the clients are connected. Configuration in /etc/rc.conf goes this way: ifconfig_xl0=inet 192.168.0.1 netmask 0xff00 ifconfig_rl0=inet 192.168.1.1 netmask 0xff00 media 10baseT/UTP firewall_enable=YES firewall_type=/etc/ipfw.conf gateway_enable=YES named_enable=YES natd_enable=YES natd_interface=xl0 ppp_enable=YES ppp_profile=mydslprovider ppp_mode=ddial ppp_nat=YES The connection is established via /etc/ppp/ppp.conf settings. Then I use a DHCP server to assign IPs to the clients instead of giving them fixed ones. In fact, they are fixed because I set up isc-dhcpd3-server (from ports) to assign IPs according to the respective MAC adresses. :-) Important note to IPFW settings: Have the line add divert natd ip from any to any via xl0 in your /etc/ipfw.conf. If you need to, you can add flags for natd in order to have a certain kind of port or address redirection, such as natd_flags=-redirect_port tcp 192.168.1.5:23 or natd_flags=-redirect_address 192.168.1.2 123.456.789.123 \ -redirect_address 192.168.1.5 123.456.789.123 In any case, go and check your Windows the usual way. Don't forget to do it, instead you'll end up searching for an error on the correctly working FreeBSD installation. :-) Check if the Windows has got the correct IP, if the name server settings are correct and if you can (1st) ping the gateway machine and (2nd) something outside the gateway machine. -- 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 [EMAIL PROTECTED]
RTL8168/8111 Not Being Assigned to Interface
I'm running 7.0-RELEASE-i386 on Jetway's NC92-N230 mainboard. The board has one integrated RTL8168/8111 gigabit NIC as well as an expansion board with three RTL8168/8111 NICs. [EMAIL PROTECTED]:1:0:0: class=0x02 card=0x816810ec chip=0x816810ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' class = network subclass = ethernet [EMAIL PROTECTED]:2:4:0: class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169/8110 Family Gigabit Ethernet NIC' class = network subclass = ethernet [EMAIL PROTECTED]:2:6:0: class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169/8110 Family Gigabit Ethernet NIC' class = network subclass = ethernet [EMAIL PROTECTED]:2:7:0: class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169/8110 Family Gigabit Ethernet NIC' class = network subclass = ethernet Why would the three NICs work while the onboard NIC does not? I would imagine the same driver services both controllers. Do I need to assign an interface to the device somehow? Thank you! -- View this message in context: http://www.nabble.com/RTL8168-8111-Not-Being-Assigned-to-Interface-tp20621867p20621867.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0 locale problem
I recently upgraded from 5.4 to 7.0 (to 6.3 first and then to 7.0) and now there are some locale problems this server. I have same I had earlier on 5.4 login.conf with settings: :charset=iso-8859-15:\ :lang=fi_FI.ISO8859-15: for all users. And locale command says: LANG=fi_FI.ISO8859-15 LC_CTYPE=fi_FI.ISO8859-15 LC_COLLATE=fi_FI.ISO8859-15 LC_TIME=fi_FI.ISO8859-15 LC_NUMERIC=fi_FI.ISO8859-15 LC_MONETARY=fi_FI.ISO8859-15 LC_MESSAGES=fi_FI.ISO8859-15 LC_ALL= Finnish characters (äö) doesn't work on terminal (they give nothing), but them works on some softwares like nano and vi. Yet them doesn't work on some other programs. Like weechat (ircclient that some users use). And perl started saying this every time it's run: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en_US.ISO8859-15 are supported and installed on your system. perl: warning: Falling back to the standard locale (C). So. What might have been changed there on upgrade procedure? -- pepe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel SMB performance
Hello all We are considering using an application that uses FreeBSD web servers in front of Windows file servers. How reliable/scalable is the kernel SMB module? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ascii text format
Jonathan McKeown wrote: On Friday 21 November 2008 12:49:16 pwn wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt You seem to be fighting against your tools rather than working with them - the browser will strip out your whitespace and reflow your text anyway unless you prevent it somehow (pre tags?) so you might be better off just using HTML/CSS to control the format. However, you could look at various tools for processing text, depending exactly what you're trying to do: the manpages for fmt, groff, and pr might all offer some ideas. Jonathan yes, i want that the text appears displayed such as manpages like, how can i accomplish this task? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ascii text format
On Friday 21 November 2008 16:53:09 pwn wrote: Jonathan McKeown wrote: On Friday 21 November 2008 12:49:16 pwn wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt You seem to be fighting against your tools rather than working with them - the browser will strip out your whitespace and reflow your text anyway unless you prevent it somehow (pre tags?) so you might be better off just using HTML/CSS to control the format. However, you could look at various tools for processing text, depending exactly what you're trying to do: the manpages for fmt, groff, and pr might all offer some ideas. Jonathan yes, i want that the text appears displayed such as manpages like, how can i accomplish this task? Manpages use advanced formatting codes. You can achieve some result, by: fmt -c 70 80 bad.txt But anything further you will have to edit the text. Maybe you can wrap some formatting codes around the text for the tbl(1) program. But I agree with Jonathan - it's easier to reformat the text using HTML code and some of that can be done with a script/parser, providing the text uses some degree of consistency. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ascii text format
On Fri, 21 Nov 2008 10:49:16 +, pwn [EMAIL PROTECTED] wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt It looks like you want groff(1) (or some other typesetting system that can generate plain text output, like GNU Texinfo). The groff utility and its associated formatting toolchain is relatively easy to learn and it can produce output like: ,--- | | | | Some Title | | | A. U. Thor | |13 Friday St. |Someplace (SP) | | | ABSTRACT | | Dreaming of space-flight, and predicting its | future, have always been favorite pastimes of sci- | ence fiction. In my first science column for FSF, | I can't resist the urge to contribute a bit to | this grand tradition. | | A science-fiction writer in 1991 has a pro- | found advantage over the genre's pioneers. Nowa- | days, space-exploration has a past as well as a | future. ``The conquest of space'' can be judged | today, not just by dreams, but by a real-life | track record. | | | 1. Introduction | | Here's the main text. | | 2. Getting Started | | This is the first paragraph of a new section. The sec- | tion titles are automatically indented, numbered and format- | ted with the default style of ``numbered headers'' by the | groff_ms(7) macros themselves. | | Note how the first line of each paragraph is also | indented a bit to the right. This is the default style of | groff_ms(7) output, but you can easily tune and tweak the | defaults to match pretty much any style you prefer. | | `--- from relatively easy to prepare input text files. The text shown above has been produced by the following ``document source'', written in the style expected by the groff_ms(7) formatting macros: .TL Some Title .AU A.\ U.\ Thor .sp 1 .AI 13 Friday St. Someplace (SP) .AB Dreaming of space-flight, and predicting its future, have always been favorite pastimes of science fiction. In my first science column for .I FSF , I can't resist the urge to contribute a bit to this grand tradition. .PP A science-fiction writer in 1991 has a profound advantage over the genre's pioneers. Nowadays, space-exploration has a past as well as a future. ``The conquest of space'' can be judged today, not just by dreams, but by a real-life track record. .AE .\ === .\ This is a comment at the start of a new section. .\ === .ds RH Introduction .NH Introduction .PP Here's the main text. .\ === .\ This is a comment at the start of a new section. .\ === .ds RH Getting Started .NH Getting Started .PP This is the first paragraph of a new section. The section titles are automatically indented, numbered and formatted with the default style of ``numbered headers'' by the .B groff_ms(7) macros themselves. .PP Note how the first line of each paragraph is also indented a bit to the right. This is the default style of groff_ms(7) output, but you can easily tune and tweak the defaults to match pretty much any style you prefer. If this looks interesting, you can find a *lot* of information about groff and its macro packages at the following places: 1. In the `Info manual' of groff itself. This is already installed as part of your base system, and you can start reading it by typing: % info groff 2. At the web page of groff itself: http://www.gnu.org/software/groff/#documentation 3. At the troff.org pages: http://troff.org/ These pages are about groff's ancestor: the `troff' formatter. They include various links about online troff/groff resources. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send
Re: ascii text format
On Fri, 21 Nov 2008 15:53:09 +, pwn [EMAIL PROTECTED] wrote: yes, i want that the text appears displayed such as manpages like, how can i accomplish this task? The manpages are written in groff. More specifically, they are written in a format that may be formatted by the `mdoc' macros of groff; the set of groff macros described in the groff_mdoc(7) manpage. See my other post about using groff and a specially formatted `input file' to produce text output similar to the manpage look feel :) The `mdoc' macro package is just _one_ of the available sets of macros for formatting text with groff. Check out the groff wiki at http://www.port.de/cgi-bin/groff/GroffMacroPackages for information about the standard macro packages included with groff. The `extras' page at http://www.port.de/cgi-bin/groff/GroffExtras has pointers to other, non-standard macro packages. This may be a bit interesting too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 locale problem
This has been solved. I just had to upgrade and/or reinstall many of our ports... On Fri, Nov 21, 2008 at 4:28 PM, pepe [EMAIL PROTECTED] wrote: I recently upgraded from 5.4 to 7.0 (to 6.3 first and then to 7.0) and now there are some locale problems this server. I have same I had earlier on 5.4 login.conf with settings: :charset=iso-8859-15:\ :lang=fi_FI.ISO8859-15: for all users. And locale command says: LANG=fi_FI.ISO8859-15 LC_CTYPE=fi_FI.ISO8859-15 LC_COLLATE=fi_FI.ISO8859-15 LC_TIME=fi_FI.ISO8859-15 LC_NUMERIC=fi_FI.ISO8859-15 LC_MONETARY=fi_FI.ISO8859-15 LC_MESSAGES=fi_FI.ISO8859-15 LC_ALL= Finnish characters (äö) doesn't work on terminal (they give nothing), but them works on some softwares like nano and vi. Yet them doesn't work on some other programs. Like weechat (ircclient that some users use). And perl started saying this every time it's run: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en_US.ISO8859-15 are supported and installed on your system. perl: warning: Falling back to the standard locale (C). So. What might have been changed there on upgrade procedure? -- pepe -- pepe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel SMB performance
We are considering using an application that uses FreeBSD web servers in front of Windows file servers. How reliable/scalable is the kernel SMB module? no idea. it worked many times when i wanted to fetch few files from windows. but i don't think anyone really cares very much about it being very well tested, bug free and high performance (i may be wrong here). it's not the way unix is used in normal cases :) (reverse is true) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ascii text format
El día Friday, November 21, 2008 a las 03:53:09PM +, pwn escribió: Jonathan McKeown wrote: On Friday 21 November 2008 12:49:16 pwn wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt You seem to be fighting against your tools rather than working with them - the browser will strip out your whitespace and reflow your text anyway unless you prevent it somehow (pre tags?) so you might be better off just using HTML/CSS to control the format. However, you could look at various tools for processing text, depending exactly what you're trying to do: the manpages for fmt, groff, and pr might all offer some ideas. Jonathan yes, i want that the text appears displayed such as manpages like, how can i accomplish this task? what about: $ groff -Tascii bad.txt SOME TITLE Dreaming of space-flight, and predicting its future, have always been favorite pastimes of science fiction. In my first science column for FSF, I can't resist the urge to contribute a bit to this grand tradition. A science-fiction writer in 1991 has a profound advantage over the genre's pioneers. Nowadays, space-exploration has a past as well as a future. The conquest of space can be judged today, not just by dreams, but by a real-life track record. and some more tweakings after that with sed, ... matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Q: What's the difference between an iphone and a freerunner? A: One works but takes away your freedom, the other is free but needs your work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PXE Boot - Silent kernel dmesg output
All: Has anyone experience a PXE boot problem on amd64 (Dell PowerEdge 850, 1850, DRAC4, DRAC5) where kernel dmesg output is suppressed on VGA Console? I've tried kernels, mfsroot, and pxeboot from 6.4-RC2, 6.3-PLX, 7.1-B2 builds. I've verified stock /boot/device.hints, /defaults/loader.conf, and /boot/loader.conf are in place on my NFS export. Here's a slightly ambiguous screenshot: http://people.collaborativefusion.com/~seklecki/pxe_lock.jpg Note: Its hard to tell, but the spindle has already become a block cursor. We used to see this in early 6.x days and assumed it was a bum bPXE configuration on the server-side; eventually mfsroot would get loaded and sysinstall(8) welcome would be the first thing displayed after the 2nd stage boot loader. Breaking out of the loader reveals: console=vidconsole Very very strange... I'm going to have a look at tcpdump(8) on NFS reads to my export and determine if it is indeed actually reading loader.conf(5). However, the system-wide defaults w/o loader.conf + loader.rc + boot.conf shouldn't prohibit kernel VGA console output. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008, Goksin Akdeniz wrote: On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. Eons ago I used ``style'' and ``diction'' which were from the Bell Labs *roff text processing that were available on Xenix. I found them quite useful, but haven't seen them in years. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Nobody wants to be called common people, especially common people. Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Kernel SMB performance
We are considering using an application that uses FreeBSD web servers in front of Windows file servers. How reliable/scalable is the kernel SMB module? no idea. it worked many times when i wanted to fetch few files from windows. but i don't think anyone really cares very much about it being very well tested, bug free and high performance (i may be wrong here). I think you are. We should care about a KERNEL module being bug free and high performance. If not, hey why not just use DOS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync throwing odd error
This is the week for strange problems... I use rsync to copy tinydns data files to backup name servers. This has been working for about a year with no problem. Suddenly, I am getting odd errors: /usr/local/bin/rsync -az -e 'ssh ' data.cdb [EMAIL PROTECTED]:/usr/ local/etc/tinydns/root/data.cdb channel 1: open failed: administratively prohibited: open failed The rsync does work. That is, the file is copied over. So this is actually a warning, I guess. On the other server, the one the file is being copied TO, the following is printed in /var/log/auth.log Nov 21 12:43:38 qu sshd[4604]: Address 67.111.0.194 maps to on.example.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! Nov 21 12:43:38 qu sshd[4604]: Accepted publickey for root from 67.111.0.194 port 55777 ssh2 I'm guessing this is some sort of DNS mis-match, but I don't quite grasp what the problem could be. Again, this did work without error or warning until recently. Something has changed, but not the DNS records. I'm stumped. Any ideas much appreciated. (I have changed the addresses in the examples above to protect the innocent (me!) -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ascii text format
pwn escribió: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? there is command on VIM like set textwidth but this is not suitable for me. any help i appreciate. i add an example on a temporary host for make sure all understand. (i need to format the text for he appear like the example good.txt) http://one.xthost.info/temphost/good.txt http://one.xthost.info/temphost/bad.txt [SNIP] Well, try par, it's a port, use portinstall, pkg_add or another tool to install it: http://cvsweb.freebsd.org/ports/textproc/par I was using it with vim and mutt to format mail some years ago ;) Best regards, -- .O. | Daniel Molina Wegener | C/C++ Coder ..O | dmw [at] coder [dot] cl | FOSS Developer OOO | FreeBSD Linux User| Standards Basis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
* Bill Campbell [EMAIL PROTECTED] [2008-11-21 09:25:32 -0800]: Eons ago I used ``style'' and ``diction'' which were from the Bell Labs *roff text processing that were available on Xenix. I found them quite useful, but haven't seen them in years. The FreeBSD port of GNU diction and style is at /usr/ports/misc/diction. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008 at 12:03:25PM +, Goksin Akdeniz wrote: On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. thanks for the datapoint. good to know these tools are en-route. i'm working on some ye-olden texts that need updating to 21st century english. gary Goksin Akdeniz -- http://www.enixma.org -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008 at 09:25:32AM -0800, Bill Campbell wrote: On Fri, Nov 21, 2008, Goksin Akdeniz wrote: On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. Eons ago I used ``style'' and ``diction'' which were from the Bell Labs *roff text processing that were available on Xenix. I found them quite useful, but haven't seen them in years. hmmm! yeah, i probably have these that i swiped from SVR2 [shhh-h] in 1986-7. i never used the roff stuff except in in idiot-mode, but i do remember that joe somebody came up with the tool for running-off man pages. gary Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Nobody wants to be called common people, especially common people. Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync throwing odd error
On Nov 21, 2008, at 12:50 PM, John Almberg wrote: This is the week for strange problems... I use rsync to copy tinydns data files to backup name servers. This has been working for about a year with no problem. Suddenly, I am getting odd errors: /usr/local/bin/rsync -az -e 'ssh ' data.cdb [EMAIL PROTECTED]:/ usr/local/etc/tinydns/root/data.cdb channel 1: open failed: administratively prohibited: open failed The rsync does work. That is, the file is copied over. So this is actually a warning, I guess. On the other server, the one the file is being copied TO, the following is printed in /var/log/auth.log Nov 21 12:43:38 qu sshd[4604]: Address 67.111.0.194 maps to on.example.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! Nov 21 12:43:38 qu sshd[4604]: Accepted publickey for root from 67.111.0.194 port 55777 ssh2 I'm guessing this is some sort of DNS mis-match, but I don't quite grasp what the problem could be. A... a reverse DNS problem! Sorry for the dumb question, but it's amazingly helpful to just write down the question clear enough for the group. It frequently clarifies the problem to the point where the answer becomes obvious, even to a newbie like me. DNS had been delegated to this server, but now that seems to be no longer working, so the reverse DNS look up is all wrong. That makes sense... an external change by the colo guys must have triggered this. Will get on to them, and that should short this problem out. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008 at 10:07:53AM -0800, Charlie Kester wrote: * Bill Campbell [EMAIL PROTECTED] [2008-11-21 09:25:32 -0800]: Eons ago I used ``style'' and ``diction'' which were from the Bell Labs *roff text processing that were available on Xenix. I found them quite useful, but haven't seen them in years. The FreeBSD port of GNU diction and style is at /usr/ports/misc/diction. (!!) great to hear that Ma Bell/ATT didn't lock this stuff away for 90+ years under a copyright. be interesting to see what style[123] does to my by-hand transliterations. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
Gary Kline [EMAIL PROTECTED] writes: On Fri, Nov 21, 2008 at 12:03:25PM +, Goksin Akdeniz wrote: On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. thanks for the datapoint. good to know these tools are en-route. i'm working on some ye-olden texts that need updating to 21st century english. They aren't really en route. They are here, and they're working for me. The dictionaries are no longer installed with OpenOffice by default -- as I understand it, this is because there are now so many different languages that would need to be included. The documentation I used was at: http://wiki.services.openoffice.org/wiki/Dictionaries -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPFW Rule
I am trying to add a IPFW rule to forward traffic but I keep getting the message ipfw: getsockopt(IP_FW_ADD): Invalid argument. The rule I am trying to add looks like this: ipfw add 600 fwd 192.169.2.3, 6000 tcp from 192.169.2.3 to any 80 I do have IP Forwarding enabled. Any ideas what I am doing wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7.0 fdisk issue during installation
Greetings, I tried to install FreeBSD 7.0 on an old server earlier today and ran in to a number of issues related to slicing and labeling the disk using fdisk. The drive in the machine is a 40GB Seagate Barracude (ST34001A) installed as a Secondary Master on the IDE bus using LBA. The BIOS reports that the drive has 16 sectors pr block, but little else. When accessing fdisk during install, fdisk complains that the disk geometry is invalid and sets it to the default geometry for 40GB: Cylinders: 4865 Heads: 255 Sectors: 63 I've tried with the following configuration based on what was reported by the BIOS: Cylinders: 19150 Heads: 255 Sectors: 16 Looking in the manual: http://www.seagate.com/support/disc/manuals/ata/cuda7200pm.pdf, Seagate is specifying the following logical characteristic: Cylinders: 16383 Read / Write heads: 16 Sectors pr track: 63 Which of these settings should be the correct one for the fdisk geometry? Additionally I encountered problems during installation if splitting the disk into more than 4 slices. This would cause the following error to be thrown during prior to the install files being copied (when sysinstall was executing the newfs commands): Error mounting /mnt/dev/X on /mnt/usr. No such file or directory Using only 4 slices seems to have solved this error, however I'd like the disk layout to use 5 slices as follows: / = 512MB swap = 2048MB (the machine has 1024MB RAM) /tmp = 512MB /var = 2048MB /usr = whatever remains I noticed that when having 5 slices, the last slice (/usr) would be named X rather than ad2s5 as I'd expect (the drive was detected as ad2). Is this behaviour related to the error in any way? Also, is the above disk layout good for a server intended to run both a web server (Apache) and a database server (PostGreSQL) ? Finally after installation (using only 4 slices) the system will only boot if the FreeBSD boot manager is used. This in turn causes a 4 menu options, all of them named FreeBSD to appear during startup despite only the / slice having been set as bootable in fdisk which appears to be indicated by an A in the flag column. Selecting the first menu item by pressing F1 will make the system boot as expected. It seems rather silly though to use a boot manager when FreeBSD is the only operating system that is installed (and ever will be installed) on the machine. If the FreeBSD boot manager is not used however and only the MBR is set during installation, the system will fail at startup with error Invalid Partition Table. Is this because the harddrive is installed as the Secondary Master on the IDE bus? Appreciate any input on this Cheers Jona ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008, Charlie Kester wrote: * Bill Campbell [EMAIL PROTECTED] [2008-11-21 09:25:32 -0800]: Eons ago I used ``style'' and ``diction'' which were from the Bell Labs *roff text processing that were available on Xenix. I found them quite useful, but haven't seen them in years. The FreeBSD port of GNU diction and style is at /usr/ports/misc/diction. Thanks. I didn't know that there was a GNU version of this, but since you pointed this out, I found that it's a package in the OpenPKG portable packaging system which we use for most things. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 ...government has nothing to give to anybody that it doesn't first take from somebody else. In other workds, all its relief and subsidy schemes are merely ways of robbing Peter to support Paul -- Henry Hazlitt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 fdisk issue during installation
On Fri, Nov 21, 2008 at 08:03:58PM +0100, Jonatan Evald Buus wrote: Greetings, I tried to install FreeBSD 7.0 on an old server earlier today and ran in to a number of issues related to slicing and labeling the disk using fdisk. The drive in the machine is a 40GB Seagate Barracude (ST34001A) installed as a Secondary Master on the IDE bus using LBA. The BIOS reports that the drive has 16 sectors pr block, but little else. When accessing fdisk during install, fdisk complains that the disk geometry is invalid and sets it to the default geometry for 40GB: Cylinders: 4865 Heads: 255 Sectors: 63 I've tried with the following configuration based on what was reported by the BIOS: Cylinders: 19150 Heads: 255 Sectors: 16 Looking in the manual: http://www.seagate.com/support/disc/manuals/ata/cuda7200pm.pdf, Seagate is specifying the following logical characteristic: Cylinders: 16383 Read / Write heads: 16 Sectors pr track: 63 Which of these settings should be the correct one for the fdisk geometry? Let the system set it and just go with what it does. Geometry is virtual nowdays. Except in some unusual situations (on IDE) Cylinders, heads and sectors most often do not mean what they used to. The system drivers have it all figured out. The important thing for you is the total number of blocks/sectors. If that doesn't work, you will have to do some diagnosis, but in about 10 out of 9 times, accepting how FreeBSD sets it is correct and works. Additionally I encountered problems during installation if splitting the disk into more than 4 slices. This would cause the following error to be thrown during prior to the install files being copied (when sysinstall was executing the newfs commands): You cannot have more than 4 slices. The system limits you to 4 slices, identified by numbers 1..4 Once you divide in to slices, each can be further divided in to up to 8 partitions, although it is really 7 because partition 'c' has special meaning and is not really available to be a real partition. Partitions are identified with alpha letters a..h - with 'c' being used to identify the whole slice. You use fdisk to create the slices (and write the MBR and set the bootable flag). Then you use bsdlabel (formerly called disklabel) to create the partitions within a slice (plus write the slice boot block. Typically, you want to make partition 'a' be the root (/) filesystem and 'b' be swap space on a bootable system slice. Some things assume these designations. Then you newfs partitions a, d, e, f, g, h or as many as you use. But don't touch c and don't newfs b if it is to be swap. jerry Error mounting /mnt/dev/X on /mnt/usr. No such file or directory Using only 4 slices seems to have solved this error, however I'd like the disk layout to use 5 slices as follows: / = 512MB swap = 2048MB (the machine has 1024MB RAM) /tmp = 512MB /var = 2048MB /usr = whatever remains I noticed that when having 5 slices, the last slice (/usr) would be named X rather than ad2s5 as I'd expect (the drive was detected as ad2). Is this behaviour related to the error in any way? Also, is the above disk layout good for a server intended to run both a web server (Apache) and a database server (PostGreSQL) ? Finally after installation (using only 4 slices) the system will only boot if the FreeBSD boot manager is used. That is probably because you have created what is referred to in the documentation as a dangerously dedicated disk. You can make it work that way. FreeBSD can handle it. But other systems will not play nicely with it. This in turn causes a 4 menu options, all of them named FreeBSD to appear during startup despite only the / slice having been set as bootable in fdisk which appears to be indicated by an A in the flag column. Again, because you tried to do it the wrong way. You created 4 FreeBSD slices, probably each with an MBR and so the BIOS and the first MBR think they are all bootable. Selecting the first menu item by pressing F1 will make the system boot as expected. It seems rather silly though to use a boot manager when FreeBSD is the only operating system that is installed (and ever will be installed) on the machine. You can put in the other non-boot manager block during installation if you want and it will only boot FreeBSD. But, something is needed. I forget what they call it in the sysinstall screen, but you might just as well put in the FreeBSD boot manager (MBR). If the FreeBSD boot manager is not used however and only the MBR is set during installation, the system will fail at startup with error Invalid Partition Table. Is this because the harddrive is installed as the Secondary Master on the IDE bus? No, it is because you did not create any partition table (with bsdlabel). jerry Appreciate any input on this Cheers Jona ___ freebsd-questions@freebsd.org mailing list
Re: Kernel SMB performance
2008/11/21 Ansar Mohammed [EMAIL PROTECTED] I think you are. We should care about a KERNEL module being bug free and high performance. Agreed. We did a migration from a Windows email server a while back (about 40,000 mail boxes). As customers logged into the FreeBSD boxes, a process was kicked off to copy email from the Windows box to the FreeBSD boxes, this being done using SMB + some parsing in the script. This worked flawlessly for about 10 million files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RTL8168/8111 Not Being Assigned to Interface
hamtilla wrote: I'm running 7.0-RELEASE-i386 on Jetway's NC92-N230 mainboard. The board has one integrated RTL8168/8111 gigabit NIC as well as an expansion board with three RTL8168/8111 NICs. [EMAIL PROTECTED]:1:0:0: class=0x02 card=0x816810ec chip=0x816810ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' class = network subclass = ethernet [EMAIL PROTECTED]:2:4:0: class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169/8110 Family Gigabit Ethernet NIC' class = network subclass = ethernet [EMAIL PROTECTED]:2:6:0: class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169/8110 Family Gigabit Ethernet NIC' class = network subclass = ethernet [EMAIL PROTECTED]:2:7:0: class=0x02 card=0x10ec16f3 chip=0x816710ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169/8110 Family Gigabit Ethernet NIC' class = network subclass = ethernet Why would the three NICs work while the onboard NIC does not? I would imagine the same driver services both controllers. Do I need to assign an interface to the device somehow? Thank you! Aloha, I use the same PCI cards in a number of servers. All work fine. But on board ones are only 100 so I dont use them. However I notice that the on board nic in your case uses a different chipset: chip=0x816810ec is onboard. chip=0x816710ec is slot pci's. I dont know what this means in respect to operation problems though. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008 at 02:05:41PM -0500, Lowell Gilbert wrote: Gary Kline [EMAIL PROTECTED] writes: On Fri, Nov 21, 2008 at 12:03:25PM +, Goksin Akdeniz wrote: On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. thanks for the datapoint. good to know these tools are en-route. i'm working on some ye-olden texts that need updating to 21st century english. They aren't really en route. They are here, and they're working for me. The dictionaries are no longer installed with OpenOffice by default -- as I understand it, this is because there are now so many different languages that would need to be included. The documentation I used was at: http://wiki.services.openoffice.org/wiki/Dictionaries i Can understand the ``myriad dictionaries problem'' since OO supports so many languages; but I'm looking for a grammar tool. There was some rumble about a grammar-checker becoming available sometime [like RSN:)] ... but so far nothing. --At the same time, the GNU diction program has found several things. Havent used that for ages. gary -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and hardware??
On Thu, Nov 20, 2008 at 04:53:03PM +, [EMAIL PROTECTED] wrote: (Forgive the top-posting) Why? Your assertion that linux is both low end unix and low end windows replacement is factually wrong: As a high end unix I think it's earned it's stripes, currently dominating the top 500 supercomputer systems in the world, some no other unix has managed to accomplish this time round. Notably, when compared to freebsd it offers support for virtualisation where bsd is nowhere close to doing, just one example of high end unix feature it provides. As a gui desktop, I'm certain kde is a superior interface to windows in many ways. While I agree that, without some kind of supporting argument, the statement that Linux systems are low end Unix replacements are kind of spurious sounding, I don't think that market share is really an effective metric for determination of the quality of a replacement for a given class of OS. I'm also not sure I see how virtualization makes or breaks the quality of any Unix-like system, or qualifies it as high end. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Zat was zen, dis is tao. http://tao.apotheon.org pgpat2uiW7mAn.pgp Description: PGP signature
Re: FreeBSD 7.0 fdisk issue during installation
Hi Jerry, Thank you for the swift and very thorough response. If I understand you correctly, then I should only create 1 slice of the entire disk (seeing as FreeBSD will be the only OS) using fdisk and then partition the slice using bsdlabels from sysinstall? Previously I was aiming for 5 slices, each of which had a single partition as described below. From your explanation I take it that slices are what Windows refers to as Primary Partitions? If that's the case then I understand the behaviour I experienced. Is it possible to make a slice non-bootable? And would there be any benefits (less fragmentation, faster access time etc.) in using slices rather than partitions to layout the harddrive or should slices only be used to represent a physical harddrive? Appreciate the clarification Cheers Jona On Fri, Nov 21, 2008 at 8:55 PM, Jerry McAllister [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 08:03:58PM +0100, Jonatan Evald Buus wrote: Greetings, I tried to install FreeBSD 7.0 on an old server earlier today and ran in to a number of issues related to slicing and labeling the disk using fdisk. The drive in the machine is a 40GB Seagate Barracude (ST34001A) installed as a Secondary Master on the IDE bus using LBA. The BIOS reports that the drive has 16 sectors pr block, but little else. When accessing fdisk during install, fdisk complains that the disk geometry is invalid and sets it to the default geometry for 40GB: Cylinders: 4865 Heads: 255 Sectors: 63 I've tried with the following configuration based on what was reported by the BIOS: Cylinders: 19150 Heads: 255 Sectors: 16 Looking in the manual: http://www.seagate.com/support/disc/manuals/ata/cuda7200pm.pdf, Seagate is specifying the following logical characteristic: Cylinders: 16383 Read / Write heads: 16 Sectors pr track: 63 Which of these settings should be the correct one for the fdisk geometry? Let the system set it and just go with what it does. Geometry is virtual nowdays. Except in some unusual situations (on IDE) Cylinders, heads and sectors most often do not mean what they used to. The system drivers have it all figured out. The important thing for you is the total number of blocks/sectors. If that doesn't work, you will have to do some diagnosis, but in about 10 out of 9 times, accepting how FreeBSD sets it is correct and works. Additionally I encountered problems during installation if splitting the disk into more than 4 slices. This would cause the following error to be thrown during prior to the install files being copied (when sysinstall was executing the newfs commands): You cannot have more than 4 slices. The system limits you to 4 slices, identified by numbers 1..4 Once you divide in to slices, each can be further divided in to up to 8 partitions, although it is really 7 because partition 'c' has special meaning and is not really available to be a real partition. Partitions are identified with alpha letters a..h - with 'c' being used to identify the whole slice. You use fdisk to create the slices (and write the MBR and set the bootable flag). Then you use bsdlabel (formerly called disklabel) to create the partitions within a slice (plus write the slice boot block. Typically, you want to make partition 'a' be the root (/) filesystem and 'b' be swap space on a bootable system slice. Some things assume these designations. Then you newfs partitions a, d, e, f, g, h or as many as you use. But don't touch c and don't newfs b if it is to be swap. jerry Error mounting /mnt/dev/X on /mnt/usr. No such file or directory Using only 4 slices seems to have solved this error, however I'd like the disk layout to use 5 slices as follows: / = 512MB swap = 2048MB (the machine has 1024MB RAM) /tmp = 512MB /var = 2048MB /usr = whatever remains I noticed that when having 5 slices, the last slice (/usr) would be named X rather than ad2s5 as I'd expect (the drive was detected as ad2). Is this behaviour related to the error in any way? Also, is the above disk layout good for a server intended to run both a web server (Apache) and a database server (PostGreSQL) ? Finally after installation (using only 4 slices) the system will only boot if the FreeBSD boot manager is used. That is probably because you have created what is referred to in the documentation as a dangerously dedicated disk. You can make it work that way. FreeBSD can handle it. But other systems will not play nicely with it. This in turn causes a 4 menu options, all of them named FreeBSD to appear during startup despite only the / slice having been set as bootable in fdisk which appears to be indicated by an A in the flag column. Again, because you tried to do it the wrong way. You created 4 FreeBSD slices, probably each with an MBR and so the BIOS and the first MBR think they are all bootable. Selecting the first menu
Re: do we have any grammar checkers for FBSD?
On Fri, Nov 21, 2008 at 2:59 PM, Gary Kline [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 02:05:41PM -0500, Lowell Gilbert wrote: Gary Kline [EMAIL PROTECTED] writes: On Fri, Nov 21, 2008 at 12:03:25PM +, Goksin Akdeniz wrote: On Friday 21 November 2008 01:21:20 Gary Kline wrote: If there is one with OOo-3, I haven't been able to build it yet gary Hello Gary, Spellcheck and dictionary addons are avilable for OOo-3 but can not be installed due to bugs. thanks for the datapoint. good to know these tools are en-route. i'm working on some ye-olden texts that need updating to 21st century english. They aren't really en route. They are here, and they're working for me. The dictionaries are no longer installed with OpenOffice by default -- as I understand it, this is because there are now so many different languages that would need to be included. The documentation I used was at: http://wiki.services.openoffice.org/wiki/Dictionaries i Can understand the ``myriad dictionaries problem'' since OO supports so many languages; but I'm looking for a grammar tool. There was some rumble about a grammar-checker becoming available sometime [like RSN:)] ... but so far nothing. --At the same time, the GNU diction program has found several things. Havent used that for ages. gary Well, there is http://www.languagetool.org/ available for OOo, but I don't know how to get it installed due to the bad transfer url error that's been reported [1] when installing extensions. Any ideas related to that? [1] http://lists.freebsd.org/pipermail/freebsd-openoffice/2008-October/003941.html -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: do we have any grammar checkers for FBSD?
Gary Kline [EMAIL PROTECTED] writes: i Can understand the ``myriad dictionaries problem'' since OO supports so many languages; but I'm looking for a grammar tool. There was some rumble about a grammar-checker becoming available sometime [like RSN:)] ... but so far nothing. --At the same time, the GNU diction program has found several things. Havent used that for ages. Oh, right, sorry; I meant to mention the OpenOffice extension LanguageTool. As a grammar checker, it's not very good, but it's good enough to catch a bunch of common typo-ish mistakes that a spell checker will always miss. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gzip and dump
Hi all, I lost my Hard Drive and all my many tens of thousands of emails. Thus, my excellent repository of answers from this list were sent to oblivion. I make dumps using gzip and forget the command line to restore files from the zipped dump. I use the command line like: dump 0 -h0 -uaLf - /home | gzip dumpfile.gz If someone cand remind me the proper way to restore a file I would be greatful. TIA, -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Warning: Can't find .....
On Fri, Nov 21, 2008 at 1:52 AM, Brent Clark [EMAIL PROTECTED]wrote: matt donovan wrote: Well you didn't install man pages since minimal install does not install them. To get the man pages you have to change 7.0-RELEASE-p5 to just 7.0-RELEASE Hi Thanks for this, I actually did realise my mistake after the post. Mans installed :) What does make me wonder is how or why sysinternal's option was set to 7.0-RELEASE-p5 and / or could not work around it. Anyway, its working, so im chuffed. Thanks again for the reply Kind Regards Brent Clark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] well Sysinstall goes by the version that you have installed so if you update your machine to patchlevel 5 sysinstall will change the OS to the -p5 instead of the base setting ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 fdisk issue during installation
On Fri, 21 Nov 2008 22:41:07 +0100, Jonatan Evald Buus [EMAIL PROTECTED] wrote: If I understand you correctly, then I should only create 1 slice of the entire disk (seeing as FreeBSD will be the only OS) using fdisk and then partition the slice using bsdlabels from sysinstall? Yes, that's the usual way. Sysinstall suggest this way, too, but you can use fdisk and bsdlabel manually, if you want. Previously I was aiming for 5 slices, each of which had a single partition as described below. Not neccessary, as you see. By the way, if you would want to have one disk (harddisk) for your home directories, you wouldn't make any slice on it, you could create just one partition there, for example: /dev/ad0s1b = swap /dev/ad0s1a = / /dev/ad0s1d = /tmp /dev/ad0s1e = /var /dev/ad0s1f = /usr /dev/ad2= /home From your explanation I take it that slices are what Windows refers to as Primary Partitions? Yes. If that's the case then I understand the behaviour I experienced. You understood it correctly. Is it possible to make a slice non-bootable? Yes, by not setting the bootable flag in the slice editor. And would there be any benefits (less fragmentation, faster access time etc.) in using slices rather than partitions to layout the harddrive or should slices only be used to represent a physical harddrive? I don't think it will give you any speed gains when you have, let's say, /dev/ad[0s[12345]c instead of /dev/ad0s1[adefg]. Speed limitations usually occur according to the order harddisks are placed on the (P)ATA bus and how you copy data from one partition to another, for example, a master - slave copy usually is slower than a master - master copy; copies between partitions on the same drive tend to be slower than copies between two physical drives. In daily use, I don't think your suggestion would be of a significant benefit - if it was, it would have been done this way for years already. :-) -- 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 [EMAIL PROTECTED]
Re: FreeBSD 7.0 fdisk issue during installation
On Fri, Nov 21, 2008 at 10:41:07PM +0100, Jonatan Evald Buus wrote: Hi Jerry, Thank you for the swift and very thorough response. If I understand you correctly, then I should only create 1 slice of the entire disk (seeing as FreeBSD will be the only OS) using fdisk and then partition the slice using bsdlabels from sysinstall? Yes. Or you don't have to use sysinstall. You can do it manually. But, using sysinstall makes it easy. You don't absolutely have to slice or bsdlabel it. You can either just newfs the device /dev/da0 or you can create a slice and just newfs that /dev/da0s1. Then you get that 'dangerously dedicated' disk which FreeBSD can use, but nothing else can including some non-FreeBSD boot managers. Some people do that to save a couple thousand bytes of space, but on a multi-gigabyte drive, who cares about a couple thousand bytes. Previously I was aiming for 5 slices, each of which had a single partition as described below. Yup. That won't work. From your explanation I take it that slices are what Windows refers to as Primary Partitions? If that's the case then I understand the behaviour I experienced. Yes. There is that conflict of terminology. But, FreeBSD has called it slices from the beginning. Is it possible to make a slice non-bootable? Yes. Just don't put in an MBR and don't mark it bootable in the fdisk stage. And would there be any benefits (less fragmentation, faster access time etc.) in using slices rather than partitions to layout the harddrive or should slices only be used to represent a physical harddrive? There is no advantage in making a slice non-bootable, except you might be able to save a few bytes of storage - storage that is not normally used anyway. There is no advantage in speed or access time and fragmentation is only a MS worry. It is not an issue in superior UNIX filesystems - at least in FreeBSD's. I don't understand the last line of that paragraph. Pretty much everything is virtual in disk drive addressing nowdays. It doesn't matter which level you refer to. The slice and its limit to 4 is a feature of standard BIOS basically. All the other things, partitions, extended partitions, etc are ways of getting around the limits.The only real reason nowdays to have more than one slice on a drive in FreeBSD is if you want to put more than one bootable system on the drive. For example, the machine I am typing on has MS-XP and FreeBSD, plus a Dell diagnostic slice - so three slices are used. I could squish those slices down and add one more, say for Linux or a different version of FreeBSD if I wanted, but I don't. Generally, when I make a machine intended only for FreeBSD, I put all the disk in one bootable slice. Then I partition that slice to suit me. My pattern is usually: a / (root) b swap (125% of memory size) c defines the slice - not a real partition d /tmp (used as scratch space by many utilities) e /usr f /var (size depends on logging and databases which live here) g /home(user home directories, plus I put some of the things that can grow unexpectedly such as /var/mail, /var/spool /usr/ports, /usr/local here and make symlinks to them) Some people make just one big partition for root plus some for swap. I like the control I have over things my way a little better and I can get by with backing up and restoring more manageable chunks my way. If the machine is to be a dual boot as this one is, I carve it up in to slices - one for each bootable system.If it already has some MS thing loaded, I use some tool such as Gparted or Partition Magic to shrink the MS primary partition and create two or three or four of them. Then I use fdisk to set up the FreeBSD slice to be bootable and bsdlabel to partition that slice. By the way, 'dual boot' is kind of a generic term referring to any number of bootable slices more than one. So, it could refer to two, three or four actual bootable systems on the drive. Except for something like the hidden Dell diagnostic slice (HP and probably other vendors like to do that as well), MS must be in the first slice because it doesn't like to play well with other systems. But, it does overlook the 'hidden' slices OK. That 'hidden' attribute is ignored by FreeBSD. But, since it doesn't care which slice it is in, that is no problem. When I have a second (or third, etc) disk on the machine, I generally do not make those disks bootable. I make them just one plain slice each and generally, since they mostly get used as mass data storage, I create just one partition in that slice. But, I have created more when it was useful. One I am thinking about, it was useful to make more partitions in the second drive because I was using it to build a system to distribute to other machines and I could isolate that in one separate partition that
Re: gzip and dump
I lost my Hard Drive and all my many tens of thousands of emails. Thus, my excellent repository of answers from this list were sent to oblivion. I make dumps using gzip and forget the command line to restore files from the zipped dump. I use the command line like: dump 0 -h0 -uaLf - /home | gzip dumpfile.gz If someone cand remind me the proper way to restore a file I would be greatful. cd /target/directory zcat dumpfile.gz|restore -rf - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync throwing odd error
A... a reverse DNS problem! Nope... wasn't that. Reverse DNS was working fine. I just didn't know how to check it properly. Well, that was a good idea. Time to find another one! - John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync throwing odd error
/usr/local/bin/rsync -az -e 'ssh ' data.cdb [EMAIL PROTECTED]:/usr/local/etc/tinydns/root/data.cdb channel 1: open failed: administratively prohibited: open failed The rsync does work. That is, the file is copied over. So this is actually a warning, I guess. On the other server, the one the file is being copied TO, the following is printed in /var/log/auth.log Nov 21 12:43:38 qu sshd[4604]: Address 67.111.0.194 maps to on.example.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! well it's as easy as reading messages. you exactly posted answer to your question! make your reverse DNS and forward DNS match. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Log capturing program
I need a log capturing program, like WallWatcher, to run on my FreeBSD box and capture logs from a router running Tomato. Some analyzing features would be nice. Could you recommend something? -- skx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sockstat problem
hello list! i have this error running sockstat: # sockstat sockstat: struct xtcpcb size mismatch sockstat: struct xinpcb size mismatch sockstat: struct xunpcb size mismatch sockstat: struct xunpcb size mismatch USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS # someone have a clue ? tks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Websites for $199/mo...request an online demo today
AutoRevo: Optimized Flash Websites [http://cts.vresp.com/c/?AutoRevo/433b92dfee/950437680b/11e82b2d88] Easy. Professional. Optimized. Get Your Professionally Designed, Flash-Accented Website ONLINE in as little as 3 Days for only $199 a month One-time artwork design fees starting at $399 Click site images for more examples [http://cts.vresp.com/c/?AutoRevo/433b92dfee/950437680b/a6b6eff023] Additional Features: Search Engine Optimized Design Unlimited VIN Decoding CARFAX and AutoCheck Integration Customizable eBrochures Custom Window Stickers Export to ANY online classified Web Traffic Reporting Tools OnTarget Real-time Pricing Tool Lead Capture and Management Digital Docs Professional Image Featured Inventory Unlimited Photos Fully Customizable Pages Google Maps Integration Request a FREE Demo today and see how our websites can enhance your business... Contact a Sales Director Today, 888.311.7386! [http://cts.vresp.com/c/?AutoRevo/433b92dfee/950437680b/b1d7c78372] Having trouble viewing this email? View it in your browser. [http://cts.vresp.com/c/?AutoRevo/433b92dfee/950437680b/b1389e8583] __ If you no longer wish to receive these emails, please reply to this message with Unsubscribe in the subject line or simply click on the following link: http://cts.vresp.com/u?433b92dfee/950437680b/9f11daf __ This message was sent by AutoRevo using VerticalResponse AutoRevo 7920 Belt Line Rd Suite 450 Dallas, Texas 75254 US Read the VerticalResponse marketing policy: http://www.verticalresponse.com/content/pm_policy.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sockstat problem
On 11/22/08, x03ml [EMAIL PROTECTED] wrote: hello list! i have this error running sockstat: # sockstat sockstat: struct xtcpcb size mismatch sockstat: struct xinpcb size mismatch sockstat: struct xunpcb size mismatch sockstat: struct xunpcb size mismatch Your kernel and world are not it sync. -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
named and ntpd start order in rc.d
FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It continues to have 2 processes running, the process which does the DNS lookup fails to exit, and ntpd fails to adjust the clock even after days of running. Immediately after bootup and several hours or days later this is what I get: # ps -U root | grep ntpd 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid If I do a /etc/rc.d/ntpd restart on a running system it fixes the problem, and only one of the ntpd processes remains, and the clock gets adjusted. I have named running as a caching name server on my system. The contents of my /etc/resolv.conf: domain nerius.com nameserver 127.0.0.1 My /etc/rc.conf: ... named_enable=YES ntpd_enable=YES ... I believe that the problem with ntpd is that named is started AFTER ntpd. Trying to reproduce problem. On a running system. I shut down named. Then I restart ntpd, then I start named. I can reproduce the problem that happens on bootup - ntpd has 2 processes and does not adjust the clock. Restarting ntpd while named is running fixes the problem I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd script, adding named to REQUIRE section in comments. In your opinion, is this a robust fix? For example the line in my /etc/rc.d/ntpd script that looks like so: # REQUIRE: DAEMON ntpdate cleanvar devfs would be changed to this: # REQUIRE: DAEMON ntpdate cleanvar devfs named Also, should I report this as a bug to some sort of bug tracking system? Where? I really like FreeBSD and would like to see all bugs get fixed. Thanks for a great system to all of you. - Nerius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
broke pakage mysql50-client
Hello group clean cd install of freebsd 7.0 release installing php5-extensions the mysql50-client is broke had to cd into /usr/ports/databases/mysql50-client ftp get ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.0-RELEASE/packages/databases/mysql-client-5.0.45_1.tbz then ran install mysql50-client then the php5-extensions package installed as needed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD on a Mac Mini Intel?
Is anyone running FreeBSD on a Mac Mini Intel? I've looked around for a definitive discussion on the topic but couldn't find anything on this list or Google at least. I'd like to replace a couple of relatively high power-consuming servers with a couple of Mac Mini Intel's. For my purposes they are plenty good enough. I'd prefer to stay with the 6.X release for now. I've got a lot of Mac's around running OS X but in this case these boxes would be headless and without keyboards. An alternate serial console would be nice if that can be rigged up via USB and a serial converter. IJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]