Re: Laptop Multi-HD partitioning advice (ZFS)
On 5 May 2011 00:17, Daniel Staal wrote: > > I just got notified my new Thinkpad X220 is on it's way, and I'm thinking > about the best way to use it. ;) Obviously, FreeBSD with ZFS is on top of > the list. (De-dup and compression on my space-limited laptop? Yes, > please.) > > Some relevant vitals (after a couple of upgrades that are also on their > way): > 6GB of RAM > 250GB 2.5in HDD > 40GB mSATA SSD > > I'm planning on installing the patched version of 8.2, with the patches for > ZFS v28. My idea at this point is to use the main HDD as the primary drive, > with the SSD partitioned into a small[1] ZIL-device and a larger cache > drive. Since it's a SSD, I don't think disk contention should be an issue > for that use, and it should speed up both reads and writes. It might even > reduce the amount of main-disk use that happens. (Or at least, make it > happen in short bursts, and let the drive idle in between.) > > I might still upgrade that HDD to something larger than stock. I could go > to an SSD there too (and it's on a SATA III connection, so it could be a > *faster* SSD), but I think I'm more likely to go with more space if I decide > to upgrade. > > Obviously, I'm not afraid of a weird config in this case. ;) I'm also not > trying to optimize hard for space, or for any specific use-case: I tend to > use a laptop for light-duty when I'm not traveling, then more heavy-duty (as > well as watching movies, etc) during occasional traveling. The idea here is > to let ZFS do the disk optimization. It'll probably slow down my boot times > from what could be possible, but I'm hoping ZFS will do things like move a > movie I'm *currently* watching to the cache drive, and let the machine shut > down the hard drive. > > Two things I'm *not* sure what the best choices for are the swap partition, > and the boot sector. Swap could be on the HDD (slow, reduces my apparent > disk-space), on the SSD (fast, reduces my most valuable disk space), or in > ZFS (doesn't use dedicated space, but has stability issues under heavy > load). Of course I may not ever *need* much swap, as I have a fair amount > of RAM. (And I don't care about crash dumps on this box.) > > The boot sector doesn't really matter as much; if I go with a dedicated > swap partition that will probably also hold the boot sector. Otherwise, I'm > leaning towards the SSD, as I'm already planning on partitioning that, and > I'm less likely to pull it out. > > Or, of course, there may be other considerations that I've overlooked in > the rest. So, I'm looking for wisdom, or other thoughts people have. ;) > > Daniel T. Staal > > [1] As per: > < > http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Separate_Log_Devices > > > ZIL devices will never use more than 1/2 of RAM, at absolute max, and in > most cases will use significantly less. Fully upgraded, this machine > supports 8GB of RAM, so a 4GB ZIL device would be plenty in all cases, and > would probably be overkill. > > --- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --- > ___ > 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" > I think you may be agonizing to much. You would have to to seriously bad to make it slow and even then its a relative thing. Giving it 4GB ZIL, 8 GB swap, and 28 gb l2arc will make it rapid and cover you for most things. Putting the swap on the 250 gig drive wont make much difference though as like you said you wont be paging to disk much Put the bootblocks etc on the hd. They are only 64kb anyhow so will make no noticable difference to the boot time. Also if your ssd dies you wont have an unusable system (apart from a zil issue maybe) ___ 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"
Problem when swapping two IP addresses machines
Hello Yesterday I swapped the IP addresses of two machines ( new and old mail server ). After I rebooted the two machines I was unable to join our DNS server ( even to ping it ) I suspect the DNS was keeping the IP / MAC address mapping of the two swapped machines , so I flushed the ARP cache but it was still impossible to join the DNS from the concerned machines. I have to reboot the DNS Server to be able to ping it and use it again. The DNS server runs FreeBSD 8.0-RELEASE-p4. Thanks for any infos. ___ 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: rox-fm
Em 05-05-2011 02:50, Alejandro Imass escreveu: On Wed, May 4, 2011 at 7:45 PM, Daniel C. Dowse wrote: On Wed, 04 May 2011 23:33:18 +, pwnedomina wrote: Em 04-05-2011 20:49, Daniel C. Dowse escreveu: [...] please always check that the recipient is the mailing list and not the one that answered your question. Yeah, this is a pain in the ass, and it's really not the OP's fault entirely. It's a simple mailman config option but I think it's an idiosyncrasy thing about open lists, blah, blah, blah. The easiest way is to ALWAYS HIT REPLY ALL, and the figure out who the mail is going to. IMHO it should ALWAYS be the list ONLY, but many list admins use it the way it's set-up here on the general questions list, why tf it beats me, but it's really annoying. I wish someone could clearly explain why the reply-to field should ONLY have the mailing-list address, or at least have as the default address and not the other way around as it is here! Best, -- Alejandro Imass ok, ive choosen "reply to all". my question now is i have setted the command prompt to "|[%n@%m:%c]%#" but i intend to place color red in the [] brackets, how can i accomplish this?| ___ 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"
Asus N70SV does not boot
Hello, We are trying to boot the amd64 8.2-RELEASE cd and it get stucks at the end of: cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Nothing happens, even five minutes later.. The motherboard is on a SIS chipset, do you have any clue on this? Cheers, -- David Demelier ___ 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: rox-fm
On Thu, 05 May 2011 09:43:04 +, pwnedomina wrote: > ok, ive choosen "reply to all". my question now is > i have setted the command prompt to > "|[%n@%m:%c]%#" > but i intend to place color red in the [] brackets, how can i accomplish > this?| It looks like you are configuring a C shell prompt, correct? Make sure you have the following settings in ~/.cshrc (or in /ect/csh.cshrc, if you want a global setting): set promptchars = "%#" set prompt = "%n@%m:%~%# " This would give you the STANDARD prompt - note the space after the prompt character and the absense of the brackets. You want red color - I'm not sure if this is supported in csh. At least I know that bold printing is possible. Have a look at this: set prompt = "[%B%n@%m:%~%b]%# " This uses %B and %b to switch on and off bold printing. Refer to "man csh", section "Special shell variables" and scroll down to "prompt" - there are some more special settings to customize the prompt. It mentions "%{string%}" for escape sequences and can MAYBE be used for changing color. Is the pipe character at the beginning of the prompt intended? If yes, use this: set prompt = "|[%B%n@%m:%~%b]%# " I've kept the space at the end of the prompt for better readability. Remove it if desired. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Laptop Multi-HD partitioning advice (ZFS)
> I think you may be agonizing to much. You would have to to seriously bad > to make it slow and even then its a relative thing. > > Giving it 4GB ZIL, 8 GB swap, and 28 gb l2arc will make it rapid and cover > you for most things. Putting the swap on the 250 gig drive wont make much > difference though as like you said you wont be paging to disk much > > Put the bootblocks etc on the hd. They are only 64kb anyhow so will make > no noticable difference to the boot time. Also if your ssd dies you wont > have an unusable system (apart from a zil issue maybe) I know I'm completely over-analyzing this. ;) But where's the fun in computers if you can't over-analyze something? I know any of the ways will *work*. (Or can be made to.) I'm just asking for the wisdom and the opinions of the internets on whether anything could be considered 'better'. So: Thanks for your thoughts. (One note: Loss of the ZIL drive should not be a problem under the patched ZFS. As of ZFS v19, the ZIL can be lost or removed without affecting the filesystem. Prior to that once you had defined a ZIL drive you needed to always have a working ZIL drive.) Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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: rox-fm
Em 05-05-2011 12:37, Polytropon escreveu: On Thu, 05 May 2011 09:43:04 +, pwnedomina wrote: ok, ive choosen "reply to all". my question now is i have setted the command prompt to "|[%n@%m:%c]%#" but i intend to place color red in the [] brackets, how can i accomplish this?| It looks like you are configuring a C shell prompt, correct? Make sure you have the following settings in ~/.cshrc (or in /ect/csh.cshrc, if you want a global setting): set promptchars = "%#" set prompt = "%n@%m:%~%# " This would give you the STANDARD prompt - note the space after the prompt character and the absense of the brackets. You want red color - I'm not sure if this is supported in csh. At least I know that bold printing is possible. Have a look at this: set prompt = "[%B%n@%m:%~%b]%# " This uses %B and %b to switch on and off bold printing. Refer to "man csh", section "Special shell variables" and scroll down to "prompt" - there are some more special settings to customize the prompt. It mentions "%{string%}" for escape sequences and can MAYBE be used for changing color. Is the pipe character at the beginning of the prompt intended? If yes, use this: set prompt = "|[%B%n@%m:%~%b]%# " I've kept the space at the end of the prompt for better readability. Remove it if desired. according to this page http://understudy.net/custom.html C shell support colors, how can i turn this prompt set prompt = "[%B%n@%m:%~%b]%# " with red color on brackets and white color on text? ___ 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: Can I bridge the same subnet across a VPN?
On Wed, May 4, 2011 at 4:31 PM, Geoff Roberts wrote: > Was this easy to measure, and how did you measure this - dropped packets on > the bridge interface? I don't remember. It's been too long since I last tried it. Dropped packets would be a good measure, though, assuming the bridge interface does that kind of accounting. ___ 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: rox-fm
On Thu, 05 May 2011 16:14:15 +, pwnedomina wrote: > according to this page http://understudy.net/custom.html C shell support > colors, how can i turn this prompt > > set prompt = "[%B%n@%m:%~%b]%# " > > with red color on brackets and white color on text? Have a look at the page you mentioned above and you'll easily find the answer, especially if you consult the section http://understudy.net/custom.html#color_prompts and then scroll down to "TC Shells" - keep in mind that FreeBSD's C shell is a TC shell (/bin/csh and /bin/tcsh are the same program). I've tried the example (on FreeBSD 7) from the web page you mentioned and found that set prompt = "%{\033[31m%}[%{\033[0m%}%B%n@%m:%~%b%{\033[31m%}]%{\033[0m%}%# " works as intended. %{\033[31m%} switches red color on, and %B/%b applies bold face for the text inside the brackets. In the section http://understudy.net/custom.html#table2 you'll find a reference for the other colors "programming codes". You could, for example, use a different color for root and nonroot shells, or change color depending on specific shell accounts on your system. You can also use other attributes like %S/%s for standout (here: inverse) mode, or %U/%u for underline mode. However, not every terminal (emulator) is capable of displaying them as intended, for example the text mode console cannot do unterlining, vt100 can do blinking _and_ underlining, but can't do colors, xterm can do underlining, but _not_ blinking, but can do colors... and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rox-fm
Em 05-05-2011 17:20, Polytropon escreveu: On Thu, 05 May 2011 16:14:15 +, pwnedomina wrote: according to this page http://understudy.net/custom.html C shell support colors, how can i turn this prompt set prompt = "[%B%n@%m:%~%b]%# " with red color on brackets and white color on text? Have a look at the page you mentioned above and you'll easily find the answer, especially if you consult the section http://understudy.net/custom.html#color_prompts and then scroll down to "TC Shells" - keep in mind that FreeBSD's C shell is a TC shell (/bin/csh and /bin/tcsh are the same program). I've tried the example (on FreeBSD 7) from the web page you mentioned and found that set prompt = "%{\033[31m%}[%{\033[0m%}%B%n@%m:%~%b%{\033[31m%}]%{\033[0m%}%# " works as intended. %{\033[31m%} switches red color on, and %B/%b applies bold face for the text inside the brackets. In the section http://understudy.net/custom.html#table2 you'll find a reference for the other colors "programming codes". You could, for example, use a different color for root and nonroot shells, or change color depending on specific shell accounts on your system. You can also use other attributes like %S/%s for standout (here: inverse) mode, or %U/%u for underline mode. However, not every terminal (emulator) is capable of displaying them as intended, for example the text mode console cannot do unterlining, vt100 can do blinking _and_ underlining, but can't do colors, xterm can do underlining, but _not_ blinking, but can do colors... and so on. the example you supply worked fine. thanks for helping. ___ 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: Can I bridge the same subnet across a VPN?
On 5/5/2011 12:24 AM, David Brodbeck wrote: The problem I've always found with bridged solutions is they don't cope well under heavy traffic loads when the VPN link is slower than the LANs they're bridging between. And the VPN link is usually slower if it's over a WAN. The link tends to get saturated. There is no inbuilt reason why a L2 VPN is more easily saturated than a L3 VPN. After all protocols doing bulk transfers should - and mostly - use TCP which autotunes the rate of sent packets. And TCP should be able to saturate the lower-bandwidth link of the whole path. That's normal and desirable. Some care must be taken with the broadcast and multicast traffic which goes through the L2 VPN. Just my 2 cents, Nikos ___ 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: rox-fm
Em 05-05-2011 17:20, Polytropon escreveu: On Thu, 05 May 2011 16:14:15 +, pwnedomina wrote: according to this page http://understudy.net/custom.html C shell support colors, how can i turn this prompt set prompt = "[%B%n@%m:%~%b]%# " with red color on brackets and white color on text? Have a look at the page you mentioned above and you'll easily find the answer, especially if you consult the section http://understudy.net/custom.html#color_prompts and then scroll down to "TC Shells" - keep in mind that FreeBSD's C shell is a TC shell (/bin/csh and /bin/tcsh are the same program). I've tried the example (on FreeBSD 7) from the web page you mentioned and found that set prompt = "%{\033[31m%}[%{\033[0m%}%B%n@%m:%~%b%{\033[31m%}]%{\033[0m%}%# " works as intended. %{\033[31m%} switches red color on, and %B/%b applies bold face for the text inside the brackets. In the section http://understudy.net/custom.html#table2 you'll find a reference for the other colors "programming codes". You could, for example, use a different color for root and nonroot shells, or change color depending on specific shell accounts on your system. You can also use other attributes like %S/%s for standout (here: inverse) mode, or %U/%u for underline mode. However, not every terminal (emulator) is capable of displaying them as intended, for example the text mode console cannot do unterlining, vt100 can do blinking _and_ underlining, but can't do colors, xterm can do underlining, but _not_ blinking, but can do colors... and so on. i had a little problem, after i have rox-filer running im unable to see output of root-tail texts in background, what can i do in order to fix this? ___ 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"
ld-elf.so.1 Shared object "libkipi.so.7" not found
Hello, I'm having hard times with digikam. It used to work properly but then, after one of the updates (I'm not able to track it) it stopped. When I try to run digikam I'm getting this error message: /libexec/ld-elf.so.1: Shared object "libkipi.so.7" not found, required by "digikam" I've tried to rebuild digikam and all dependencies but it's still the same. My ports tree is updated. I'm running FreeBSD 8.2-R on amd64 and digikam-kde4 port. Any ideas please? Michael ___ 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: Can I bridge the same subnet across a VPN?
On Thu, May 5, 2011 at 10:39 AM, Nikos Vassiliadis wrote: > There is no inbuilt reason why a L2 VPN is more easily saturated > than a L3 VPN. I disagree slightly. With L2 you have broadcasts and non-routable protocols being sent over the wire. This is fortunately becoming less of an issue than it used to be, but it can (for example) be a problem for certain kinds of Windows networking. I have had severe congestion problems in the past when bridging wired interfaces to wireless. In general I think adding a slow hop that's invisible to clients is asking for trouble, but that's not to say it can't work well in certain environments. The main thing to remember is just because the clients can pretend it's a LAN doesn't mean you can. ;) ___ 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"
Home firewall with DLink router & FreeBSD
Hi, at home I have a DLink Dir 300 router to provide internet access for my home network. The network is composed by two Windows PCs, one Linux laptop and one FreeBSD server we use mainly for storage and as web/database server. I must add, the server only have one network card. I would like to know if its possible to use the FreeBSD server as a Firewall for the whole network, securing LAN and WiFi connections. If this can be done, then how? could you point me to some howto?. Thanks in advance, Leonardo M. Ramé http://leonardorame.blogspot.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rox-fm
On Wed, May 4, 2011 at 7:50 PM, Alejandro Imass wrote: > I wish someone could clearly explain why the reply-to field should > ONLY have the mailing-list address, or at least have as the default > address and not the other way around as it is here! This is one of the all-time great religious wars of the internet, on par with vi vs. Emacs and top-posting vs. bottom-posting. See http://marc.merlins.org/netrants/reply-to-harmful.html for one side of the argument, and http://www.metasystema.net/essays/reply-to.html for the other side. My advice is to just accept that some mailing list administrators will choose one side of this particular schism, and others will choose the other. Arguing the issue rarely gets anywhere. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
about ulpt speed
we recently bought kyocera 2020D printer. There are USB and LAN versions. We got cheaper USB as it is connected 1 meter from server anyway. But seems there are some problems with USB ulpt seems to work fine, device is connected at 480Mbps but 2 page 5 megabyte postscript file is transmitted 10-15 seconds. On Kyocera 3900DN which have EXACTLY same internal processor, same amount of RAM, but LAN interface and even similar printing mechanism and nearly same look - same file is accepted below one second to printer and soon it is printing it. Larger postscript files are transmitted longer. I am not sure but seems it is not printer problem. Any ideas what to check/change in ulpt? ___ 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"
Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? Thanks in advance/advice/suggestions. I am taking the plunge a little further. Before I just installed and left it alone :( [except for a few packages that I wanted and ran/installed via ports ], now I am trying to learn more and setup the firewall. I set up the simple example setup by Polytropon and most is working. My freebsd version has moved to FreeBSD 8.2 [olivares@grullahighschool /usr/home/olivares]$ uname -a FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Antonio ___ 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: rox-fm
On Thu, May 5, 2011 at 4:35 PM, David Brodbeck wrote: > On Wed, May 4, 2011 at 7:50 PM, Alejandro Imass wrote: >> I wish someone could clearly explain why the reply-to field should >> ONLY have the mailing-list address, or at least have as the default >> address and not the other way around as it is here! > > This is one of the all-time great religious wars of the internet, on > par with vi vs. Emacs and top-posting vs. bottom-posting. > > See http://marc.merlins.org/netrants/reply-to-harmful.html for one > side of the argument, and > http://www.metasystema.net/essays/reply-to.html for the other side. > Man, that's hilarious! Using the same rhetoric but backwards! Very cool read... and I was even kinda shy to ask, I mean so many years on lists and I'd thought I had heard something on this respect but never imagined it was actually a religious point. Thanks again, -- Alejandro ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares wrote: > Tried to do this: > # portupgrade -f ruby > # rm /var/db/pkg/pkgdb.db > # portupgrade -f ruby18-bdb > # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > # portupgrade -af > > Did not work correctly[too many customizations] and Tried again I think "customizations" refers to the "make config" screens, correct? It's the typical kind of interaction that _nobody_ likes. :-) > I had many packages that need to be updated so I am running : > > # portupgrade -arRp > > will this prompt me for customizations? The -P (and -PP) parameters requests precompiled binary packages - there is no way to configure them (as they have already been built using the port's default options). However, as soon as a package is not available, portupgrade will install the port from source (so make sure your ports tree is up to date), and it MAY happen that there is a "make config" interaction. The portupgrade program has a --batch parameter that reflects the BATCH=yes option for make calls (as if you would use "make install"). The "decision tree" is as follows: Port can be configured? Yes. Port has already been configured? Yes. Build it with that options. No. Ask for options. Then build it with that options. No. Build port. This applies if there is no package (which you require with the -P parameter to portupgrade). Make sure you've understood the upgrading procedures for the system and the installed applications correctly. There _may_ be better tools than portupgrade for dealing with the second part (e. g. portmaster, portmanager). The command line parameters you've collected make portupgrade perform a "pkg_add-like upgrade" the binary way. Also note the correct order of the upgrade steps: 1. Upgrade system (with freebsd-update) 2. Upgrade ports tree (with portsnap) 3. Upgrade installed software (with portupgrade) As I've mentioned, there are other tools that could take the place of the "with *" suggested above, but I think this is the way you intend to go. Just as an example, "make config-recursive" allows you to do all the config screens in one run, one after each other, and as soon as the settings got saved, they will be used without any further questions. See "man ports" for details about the several build targets; also see "man portupgrade" of other options you might need to create a non-interactive way of upgrading your installed ports. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 6:33 PM, Polytropon wrote: > On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares > wrote: >> Tried to do this: >> # portupgrade -f ruby >> # rm /var/db/pkg/pkgdb.db >> # portupgrade -f ruby18-bdb >> # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db >> # portupgrade -af >> >> Did not work correctly[too many customizations] and Tried again > > I think "customizations" refers to the "make config" > screens, correct? It's the typical kind of interaction > that _nobody_ likes. :-) > Yes these are the ones :) I have encountered two/three days of these :( This is why I am asking. > > >> I had many packages that need to be updated so I am running : >> >> # portupgrade -arRp >> >> will this prompt me for customizations? > > The -P (and -PP) parameters requests precompiled binary > packages - there is no way to configure them (as they have > already been built using the port's default options). > However, as soon as a package is not available, portupgrade > will install the port from source (so make sure your > ports tree is up to date), and it MAY happen that there > is a "make config" interaction. > > The portupgrade program has a --batch parameter that > reflects the BATCH=yes option for make calls (as if you > would use "make install"). > > The "decision tree" is as follows: > > Port can be configured? > Yes. > Port has already been configured? > Yes. > Build it with that options. > No. > Ask for options. > Then build it with that options. > No. > Build port. > > This applies if there is no package (which you require > with the -P parameter to portupgrade). > > Make sure you've understood the upgrading procedures for > the system and the installed applications correctly. > There _may_ be better tools than portupgrade for dealing > with the second part (e. g. portmaster, portmanager). > The command line parameters you've collected make portupgrade > perform a "pkg_add-like upgrade" the binary way. > > Also note the correct order of the upgrade steps: > 1. Upgrade system (with freebsd-update) > 2. Upgrade ports tree (with portsnap) > 3. Upgrade installed software (with portupgrade) > This is exactly more or less what I have done. while doing 1, I encountered several broken ports. But I just skipped those. Ran 2 like the commands I posted. > > As I've mentioned, there are other tools that could take > the place of the "with *" suggested above, but I think > this is the way you intend to go. > > Just as an example, "make config-recursive" allows you to > do all the config screens in one run, one after each other, > and as soon as the settings got saved, they will be used > without any further questions. See "man ports" for details > about the several build targets; also see "man portupgrade" > of other options you might need to create a non-interactive > way of upgrading your installed ports. I should have asked before :(, tried to do it on my own. I have spent two to three days answering questions back and forth and it seemed that I would not finish :( I was not sure to proceed or not, because previously I got burned with many errors that lib.so , ... and I saw the system working and left it at that. But now I know that to keep a system in good working condition it needs to be updated with security updates :) > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Thanks for helping out. I have not encountered any prompts(*crossing my fingers*) will let you know how this turns out. Regards, Antonio ___ 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: rox-fm
On Thu, 05 May 2011 19:42:32 +, pwnedomina wrote: [cut] >> >i had a little problem, after i have rox-filer running im unable to see >output of root-tail texts in background, what can i do in order to fix this? It may be cause your run rox with -S [ --rox-session ] option and the pinboard is set as your backdrop, you probably have to run rox without the session command. cheers Daniel Dowse \\|// (o o) ---ooO-(_)-Ooo--- - Wer Morgens verknittert ist, hat Tagsueber mehr Zeit sich zu - - enfalten; - - - Please send plain ASCII text only.- - Please reply below quoted text section. - - ___ 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: rox-fm
Em 05-05-2011 23:48, Daniel C. Dowse escreveu: > On Thu, 05 May 2011 19:42:32 +, pwnedomina wrote: > [cut] >> i had a little problem, after i have rox-filer running im unable to see >> output of root-tail texts in background, what can i do in order to fix this? > It may be cause your run rox with -S [ --rox-session ] option and the pinboard > is set as your backdrop, you probably have to run rox without the session > command. > > cheers > > Daniel Dowse > > \\|// > (o o) > ---ooO-(_)-Ooo--- > - Wer Morgens verknittert ist, hat Tagsueber mehr Zeit sich zu - > - enfalten; - > - > - Please send plain ASCII text only. - > - Please reply below quoted text section. - > - > > as for the root-tail what settings you recommend to use? on http://fluxbox-wiki.org/index.php?title=.xinitrc they have show this example #!/bin/sh #log files we like to watch logfile1="/var/log/messages,white" logfile2="/var/log/kern.log,green" logfile3="/var/log/auth.log,red,'LOGIN'" logfile4="/var/log/secure,red,'ALERT!!'" #the font we want our log to show logfont="-rolibue-matto-bold-r-normal--14-14-75-75-m-90-iso8859-1" #the deminsions of our log area geom="800x350+10+40" exec gkrellm2 -w & exec root-tail -g ${geom} -fn ${logfont} ${log1} ${log2} ${log3} ${log4}" klipper xset r rate 195 35 #load our custom keymaps for special keys to work in x xmodmap ~/.Xmodmap #load our custom settings for terminal and other stuff xrdb -load ~/.Xdefaults #start a window manager exec fluxbox #can only execute one this time we use fluxbox #exec openbox which does not seem very suitable, do you recommend other settings? #exec wmaker ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 7:44 PM, Antonio Olivares wrote: On Thu, May 5, 2011 at 6:33 PM, Polytropon wrote: > > On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares < > olivares14...@gmail.com> wrote: > >> Tried to do this: > >> # portupgrade -f ruby > >> # rm /var/db/pkg/pkgdb.db > >> # portupgrade -f ruby18-bdb > >> # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > >> # portupgrade -af > >> > >> Did not work correctly[too many customizations] and Tried again > > > > I think "customizations" refers to the "make config" > > screens, correct? It's the typical kind of interaction > > that _nobody_ likes. :-) > > > Yes these are the ones :) I have encountered two/three days of these > :( This is why I am asking. > > > > > >> I had many packages that need to be updated so I am running : > >> > >> # portupgrade -arRp > >> > >> will this prompt me for customizations? > > > > The -P (and -PP) parameters requests precompiled binary > > packages - there is no way to configure them (as they have > > already been built using the port's default options). > > However, as soon as a package is not available, portupgrade > > will install the port from source (so make sure your > > ports tree is up to date), and it MAY happen that there > > is a "make config" interaction. > > > > The portupgrade program has a --batch parameter that > > reflects the BATCH=yes option for make calls (as if you > > would use "make install"). > > > > The "decision tree" is as follows: > > > > Port can be configured? > >Yes. > >Port has already been configured? > >Yes. > >Build it with that options. > >No. > >Ask for options. > >Then build it with that options. > >No. > >Build port. > > > > This applies if there is no package (which you require > > with the -P parameter to portupgrade). > > > > Make sure you've understood the upgrading procedures for > > the system and the installed applications correctly. > > There _may_ be better tools than portupgrade for dealing > > with the second part (e. g. portmaster, portmanager). > > The command line parameters you've collected make portupgrade > > perform a "pkg_add-like upgrade" the binary way. > > > > Also note the correct order of the upgrade steps: > > 1. Upgrade system (with freebsd-update) > > 2. Upgrade ports tree (with portsnap) > > 3. Upgrade installed software (with portupgrade) > > > This is exactly more or less what I have done. while doing 1, I > encountered several broken ports. But I just skipped those. Ran 2 > like the commands I posted. > > > > As I've mentioned, there are other tools that could take > > the place of the "with *" suggested above, but I think > > this is the way you intend to go. > > > > Just as an example, "make config-recursive" allows you to > > do all the config screens in one run, one after each other, > > and as soon as the settings got saved, they will be used > > without any further questions. See "man ports" for details > > about the several build targets; also see "man portupgrade" > > of other options you might need to create a non-interactive > > way of upgrading your installed ports. > > I should have asked before :(, tried to do it on my own. I have spent > two to three days answering questions back and forth and it seemed > that I would not finish :( I was not sure to proceed or not, because > previously I got burned with many errors that lib.so , ... and I > saw the system working and left it at that. But now I know that to > keep a system in good working condition it needs to be updated with > security updates :) > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > > > Thanks for helping out. I have not encountered any prompts(*crossing > my fingers*) will let you know how this turns out. > something to keep in mind portmaster does the same thing and all of portupgrades switches work with portmaster, the only significant difference is that portmaster will run through and prompt you for all of the 'make config' options first and then go about it's business unattended from that point on... it will test for a valid set of config options in all of it's deps before it builds anything, so for something large like gnome, you might sit there for a while answering config screens, but once it's done, it will require no more interaction unless a make dies for some reason... -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
> something to keep in mind portmaster does the same thing and all of > portupgrades switches work with portmaster, the only significant difference > is that portmaster will run through and prompt you for all of the 'make > config' options first and then go about it's business unattended from that > point on... it will test for a valid set of config options in all of it's > deps before it builds anything, so for something large like gnome, you might > sit there for a while answering config screens, but once it's done, it will > require no more interaction unless a make dies for some reason... > > -- >> A: Yes. >> >Q: Are you sure? >> >>A: Because it reverses the logical flow of conversation. > >> >>>Q: Why is top posting frowned upon? Now, another question. I was thinking about this. Should I have popped in a dvd and just used it to upgrade? Should I have run # make buildworld or some magical command(s) that will build the system against newer binaries and newer ports so that the system works better and optimized? I have limited experience using FreeBSD :(, have used it on and off since release 5.3 with KDE 3.4/3.5 series. I installed it and had dialup at home tried to get the ltmodem port working, but did not succeed :(, and I left it as pristine as it was. I also got a BSDLiveCD : by Scott Ullrich: http://livebsd.com/ \begin{quote} Inception LiveBSD was founded by Scott Ullrich and Chris Buechler in January 2004. It started its life as an open source project, modifying FreeSBIE scripts to build FreeBSD-based live CD's. A name was decided on, and the domain registered on February 28, 2004. The first LiveBSD Desktop CD was released at that time, a KDE desktop live CD based on FreeBSD 5.2, built using modified FreeSBIE scripts. \end{quote} I really liked it and used it at school. However the project died/was unsupported, it appears FreeSBIE has not had much love either. So far it has not prompted me for any configurations. Had done that for two/three days with the previous command: # portupgrade -af Then # freebsd-update install but the ports/packages were still for old 8.1 release :(, now I have updated ports tree with # portsnap fetch # portsnap extract and # portsnap install and running : # portupgrade -arRp I hope that it would finish soon. I don't know enough like I would like to. Sadly :( except for installing some ports [cd /usr/ports/editor/some-package/, make install clean] and the package would build after configuring some stuff :), but now the stuff was overwhelming :( and I would have preferred to learn a quick and not too painful way of updating :) But this is part of learning and I will take it in stride. It is building new documentation packages handbook for several languages some new packages and it is moving nicely :) Regards, Antonio ___ 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"
Home firewall with DLink router and FreeBSD
Hi, at home I have a DLink Dir 300 router to provide internet access for my home network. The network is composed by two Windows PCs, one Linux laptop and one FreeBSD server we use mainly for storage and as web/database server. I must add, the server only have one network card. I would like to know if its possible to use the FreeBSD server as a Firewall for the whole network, securing LAN and WiFi connections. If this can be done, then how? could you point me to some howto?. P.S.: this is the 2nd time I send this email, the first time it got caught by SpamAssassin. Maybe because a link in my signature. Thanks in advance, Leonardo M. Ramé ___ 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: Home firewall with DLink router and FreeBSD
On 5/5/11 8:37 PM, Leonardo M. Ramé wrote: Hi, at home I have a DLink Dir 300 router to provide internet access for my home network. The network is composed by two Windows PCs, one Linux laptop and one FreeBSD server we use mainly for storage and as web/database server. I must add, the server only have one network card. It becomes difficult to use a server as a firewall unless you have an "inside" and an "outside" network. Easiest is to simply add another network card, should that be possible on your server. Another possibility is to use VLAN taggging and connect the server to a switch that understands VLANs. I would like to know if its possible to use the FreeBSD server as a Firewall for the whole network, securing LAN and WiFi connections. If this can be done, then how? could you point me to some howto?. Yes. I'd start on the FreeBSD website and start reading things that look useful. If you're thinking about using pf as your firewall, which I'd personally recommend though other options are perfectly workable also, there's a nice document on the OpenBSD web site, IIRC. P.S.: this is the 2nd time I send this email, the first time it got caught by SpamAssassin. Maybe because a link in my signature. We got both on the list. --Jon Radel j...@radel.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011 19:27:03 -0500, Antonio Olivares wrote: > Now, another question. I was thinking about this. Should I have > popped in a dvd and just used it to upgrade? I've never tried that, but it _should_ be possible to "overwrite" an existing installation (e. g. 8.1) with the files of the newer one (e. g. 8.2); however I would consider this a bad approach. > Should I have run > # make buildworld > or some magical command(s) that will build the system against newer > binaries and newer ports so that the system works better and > optimized? Depends. If you want to follow -RELEASE _and_ you do not need a custom kernel, use freebsd-upgrade to use the binary way. If you _intendedly_ want to use source based updates to use -STABLE (or even -CURRENT) and (or) you need a custom kernel that requires compiling, using the source is the better way. Personally, I do both. On servers for example, I upgrade the binary way on -RELEASE, then rebuild the ports (after upgrading the ports tree, of course). On my testing system that I use to try out "bleeding edge" software and where I also want a custom kernel (due to some specific hardware), I use the source Luke. > I have limited experience using FreeBSD :(, have used it on and off > since release 5.3 with KDE 3.4/3.5 series. I installed it and had > dialup at home tried to get the ltmodem port working, but did not > succeed :(, and I left it as pristine as it was. I have also started using FreeBSD with dialup (real PPP with modem), but this one was a regular serial one which worked out of the box - not as the crap usually assembled into "modern" laptops... > I also got a > BSDLiveCD : by Scott Ullrich: > > http://livebsd.com/ There's also FreeSBIE, one of the famous FreeBSD live system CDs (which I traditionally use for diagnostics and test). > \begin{quote} > Inception > LiveBSD was founded by Scott Ullrich and Chris Buechler in January > 2004. It started its life as an open source project, modifying > FreeSBIE scripts to build FreeBSD-based live CD's. A name was decided > on, and the domain registered on February 28, 2004. The first LiveBSD > Desktop CD was released at that time, a KDE desktop live CD based on > FreeBSD 5.2, built using modified FreeSBIE scripts. > \end{quote} Sounds interesting, thanks for mentioning it! > I really liked it and used it at school. However the project died/was > unsupported, it appears FreeSBIE has not had much love either. You can build your own live system CD if needed - there are excellent tools for that. So once you got a system configured the way you want, you can follow this idea and make a "portable system" from that. > So far it has not prompted me for any configurations. Had done that > for two/three days with the previous command: > > # portupgrade -af This will stop on any point a configuration is needed. > Then > # freebsd-update install Shouldn't you upgrade the system PRIOR TO the ports? The order is recommended as system -> ports tree -> ports. > but the ports/packages were still for old 8.1 release :(, Yes, as you've updated them on 8.1, and THEN you got the system to 8.2. > now I have > updated ports tree with > # portsnap fetch > # portsnap extract > and > # portsnap install That's correct. Just as a sidenote: There is another way to upgrade the ports tree, the "traditional one" from the days before portsnap: Step 1: Add this to /etc/make.conf: SUP_UPDATE= yes SUP=/usr/bin/csup SUPFLAGS= -g -L 2 SUPHOST=cvsup.freebsd.org PORTSSUPFILE= /etc/sup/ports.sup Step 2: Create /etc/sup/ports.sup: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all Note: You can use a different cvsup host and can also exclude port categories from being updated (e. g. for languages you do not use, or kinds of programs you are not interested in). See /usr/share/examples/cvsup/ports-supfile for more details, it's very well documented (here: in comments). Step 3: Perform the update # cd /usr/ports # make update Now you have a _current_ ports tree. Note: A similar method works for the system sources. Add SUPFILE=/etc/sup/stable.sup to /etc/make.conf and create /etc/sup/stable.sup like this: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all This will give you 8-CURRENT. Use "tag=RELENG_8.0" for 8.0-pX (security branch, just as freebsd-update would do), and if you need RELEASE, use "tag=RELENG_8.0.0". Then, # cd /usr/src # make update # make buildworld buildkernel See /usr/src/Makefile (comment section) for which make targets
Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 05, 2011 at 05:50:28PM -0500, Antonio Olivares wrote: > > Dear all, > > I was running FreeBSD 8.1 and am in the process of updating it > following advice in handbook: > > http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html > > ran > # freebsd-update fetch > # freebsd-update install > > # portupgrade -af > > # freebsd-update -r 8.2-RELEASE upgrade > > then > > # freebsd-update install > > Tried to do this: > # portupgrade -f ruby > # rm /var/db/pkg/pkgdb.db > # portupgrade -f ruby18-bdb > # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db > # portupgrade -af > > Did not work correctly[too many customizations] and Tried again > > # freebsd-update install > > and had nothing more to do :( > > I had many packages that need to be updated so I am running : > > # portupgrade -arRp > > will this prompt me for customizations? Yes it will. I usually use the -C flag of portupgrade when I'm updating ports. This flag prompts you with all the options screens before it does the update. That way you're not left with the upgrade hanging half way through whilst it waits for you to configure the options. As Polytropon says you can use the --batch flag if you know that you don't want to change the default options. > > Thanks in advance/advice/suggestions. I am taking the plunge a little > further. Before I just installed and left it alone :( [except for a > few packages that I wanted and ran/installed via ports ], now I am > trying to learn more and setup the firewall. I set up the simple > example setup by Polytropon and most is working. My freebsd version > has moved to FreeBSD 8.2 > > > > [olivares@grullahighschool /usr/home/olivares]$ uname -a > FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE > #0: Thu Feb 17 02:41:51 UTC 2011 > r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > Regards, > > Antonio Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgpqLhHuOp63u.pgp Description: PGP signature
Re: Home firewall with DLink router and FreeBSD
--As of May 5, 2011 5:37:52 PM -0700, Leonardo M. Ramé is alleged to have said: Hi, at home I have a DLink Dir 300 router to provide internet access for my home network. The network is composed by two Windows PCs, one Linux laptop and one FreeBSD server we use mainly for storage and as web/database server. I must add, the server only have one network card. I would like to know if its possible to use the FreeBSD server as a Firewall for the whole network, securing LAN and WiFi connections. If this can be done, then how? could you point me to some howto?. --As for the rest, it is mine. I don't know of any howto's but it is possible. You would need to set up the FreeBSD box with two ip's on it's interface, (one as an alias), and have them on separate networks. (Sharing the same hardware, but with non-overlapping ip ranges. Make one a 10.* network and one a 192.168.* network.) One is the 'outside' network, and includes your internet gateway. The other is your 'inside' network and includes everything else. (Including your WiFi access point.) Then you set up the FreeBSD box to route & NAT between them, and to firewall along the way. A standard FreeBSD firewall howto would work there, as long as you watch that you never specify an interface name in the firewall rules, but use the IP address instead. However, I would not recommend this. It's way too easy to accidentally at some later point put one of your home boxes on the 'outside' network and then you've just bypassed your firewall. Another ethernet card won't cost much, and will make the setup easier and more secure: You can then physically separate the networks. Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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: rox-fm
Em 06-05-2011 01:01, pwnedomina escreveu: > Em 05-05-2011 23:48, Daniel C. Dowse escreveu: >> On Thu, 05 May 2011 19:42:32 +, pwnedomina wrote: >> [cut] >>> i had a little problem, after i have rox-filer running im unable to see >>> output of root-tail texts in background, what can i do in order to fix this? >> It may be cause your run rox with -S [ --rox-session ] option and the >> pinboard >> is set as your backdrop, you probably have to run rox without the session >> command. >> >> cheers >> >> Daniel Dowse >> >> \\|// >> (o o) >> ---ooO-(_)-Ooo--- >> - Wer Morgens verknittert ist, hat Tagsueber mehr Zeit sich zu - >> - enfalten; - >> - >> - Please send plain ASCII text only. - >> - Please reply below quoted text section.- >> - >> >> > as for the root-tail what settings you recommend to use? > on http://fluxbox-wiki.org/index.php?title=.xinitrc > they have show this example > > #!/bin/sh > #log files we like to watch > logfile1="/var/log/messages,white" > logfile2="/var/log/kern.log,green" > logfile3="/var/log/auth.log,red,'LOGIN'" > logfile4="/var/log/secure,red,'ALERT!!'" > #the font we want our log to show > logfont="-rolibue-matto-bold-r-normal--14-14-75-75-m-90-iso8859-1" > #the deminsions of our log area > geom="800x350+10+40" > exec gkrellm2 -w & > exec root-tail -g ${geom} -fn ${logfont} ${log1} ${log2} ${log3} ${log4}" > klipper > xset r rate 195 35 > #load our custom keymaps for special keys to work in x > xmodmap ~/.Xmodmap > #load our custom settings for terminal and other stuff > xrdb -load ~/.Xdefaults > #start a window manager > exec fluxbox > #can only execute one this time we use fluxbox > #exec openbox > > which does not seem very suitable, do you recommend other settings? > #exec wmaker > > now, whenever i try to execute rox and open files i get the message "exec: /path/file: Permission denied". what is wrong? ___ 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: about ulpt speed
On Fri, 6 May 2011, Wojciech Puchar wrote: we recently bought kyocera 2020D printer. There are USB and LAN versions. We got cheaper USB as it is connected 1 meter from server anyway. But seems there are some problems with USB ulpt seems to work fine, device is connected at 480Mbps but 2 page 5 megabyte postscript file is transmitted 10-15 seconds. On Kyocera 3900DN which have EXACTLY same internal processor, same amount of RAM, but LAN interface and even similar printing mechanism and nearly same look - same file is accepted below one second to printer and soon it is printing it. Larger postscript files are transmitted longer. I am not sure but seems it is not printer problem. Any ideas what to check/change in ulpt? It's worth trying unlpt. But if the sending time is proportional to the file size, it's probably not that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011, Chris Brennan wrote: something to keep in mind portmaster does the same thing and all of portupgrades switches work with portmaster, portmaster doesn't have the same switches as portupgrade. Or, being more precise, it has some of the same option flags, but they mean something completely different. For example, -R. the only significant difference is that portmaster will run through and prompt you for all of the 'make config' options first and then go about it's business unattended from that point on... The -c or -C options for portupgrade do that, but they aren't on by default. ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011, Antonio Olivares wrote: Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again portupgrade is written in Ruby and uses ruby-bdb, so this may not work. -f is of questionable value. Why not just cd to the port directories, and 'make clean build deinstall install'? # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp -a is equivalent to -arR. And that's building packages, which is not necessary unless you want to copy them to another machine. will this prompt me for customizations? Options menus? Yes, the ports will ask on their own. If you use the -c or -C options, portupgrade will do all of them at the start of the process. ___ 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: Home firewall with DLink router and FreeBSD
--- On Thu, 5/5/11, Jon Radel wrote: > From: Jon Radel > Subject: Re: Home firewall with DLink router and FreeBSD > To: freebsd-questions@freebsd.org > Date: Thursday, May 5, 2011, 9:50 PM > > On 5/5/11 8:37 PM, Leonardo M. Ramé wrote: > > > > Hi, at home I have a DLink Dir 300 router to provide > internet access for my home network. The network is composed > by two Windows PCs, one Linux laptop and one FreeBSD server > we use mainly for storage and as web/database server. > > > > I must add, the server only have one network card. > > It becomes difficult to use a server as a firewall unless > you have an "inside" and an "outside" network. Easiest > is to simply add another network card, should that be > possible on your server. Another possibility is to use > VLAN taggging and connect the server to a switch that > understands VLANs. > > > > > I would like to know if its possible to use the > FreeBSD server as a Firewall for the whole network, securing > LAN and WiFi connections. If this can be done, then how? > could you point me to some howto?. > > > > Yes. I'd start on the FreeBSD website and start > reading things that look useful. If you're thinking > about using pf as your firewall, which I'd personally > recommend though other options are perfectly workable also, > there's a nice document on the OpenBSD web site, IIRC. > Thanks, I think I better add a 2nd network card, as Daniel suggested. Then I'll try this again. Leonardo M. Ramé http://leonardorame.blogspot.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Sending a Fax
One of my clients needs to send a lot of faxes. He has a Brother 8680DN which will fax. Any ideas how to send a file to it and get it to send a fax? I am not finding anything beyond printing for that unit via Google.___ 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: Sending a Fax
On 5 May 2011, at 22:19, Matthias Apitz wrote: > El día Thursday, May 05, 2011 a las 07:21:29PM -0700, Doug Hardie escribió: > >> One of my clients needs to send a lot of faxes. He has a Brother 8680DN >> which will fax. Any ideas how to send a file to it and get it to send a >> fax? I am not finding anything beyond printing for that unit via >> Google.___ > > Check out HylaFAX in the ports; don't know if your modem is supported; Thanks. As best as I can tell the Brother unit has a modem built it, but the only interface to it is via ethernet. I suspect it takes a PDF and then sends that, much like printing.___ 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: Sending a Fax
>> One of my clients needs to send a lot of faxes. He has a Brother 8680DN which will fax. >> Any ideas how to send a file to it and get it to send a fax? I am not finding anything >> beyond printing for that unit via Google. According to http://welcome.solutions.brother.com/bsc/public_s/id/us/us/en/monolasermfc/m fc8680dn_us/spec/index.html, this device does have PC FAX capabilities on Windows/Mac/Linux. Here is the download site for Linux drivers: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html With some Linux emulator and CUPS tweaking, you should be able to get the Linux PC FAX capability working on FreeBSD. YMMV, HTH. -- Regards, Matt Emmerton ___ 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: Sending a Fax
On Thu, May 05, 2011, Doug Hardie wrote: > >On 5 May 2011, at 22:19, Matthias Apitz wrote: > >> El día Thursday, May 05, 2011 a las 07:21:29PM -0700, Doug Hardie escribió: >> >>> One of my clients needs to send a lot of faxes. He has a Brother 8680DN >>> which will fax. Any ideas how to send a file to it and get it to send a >>> fax? I am not finding anything beyond printing for that unit via >>> Google.___ >> >> Check out HylaFAX in the ports; don't know if your modem is supported; > >Thanks. As best as I can tell the Brother unit has a modem built it, but >the only interface to it is via ethernet. I suspect it takes a PDF and >then sends that, much like printing. I've found that the Multitech external modems have been the most reliable for fax operations. We've been using HylaFAX for years, since it was called Flexfax. Bill -- INTERNET: b...@celestial.com 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 Skype: jwccsllc (206) 855-5792 Never chastise a Windows user...just smile at them kindly as you would a disadvantaged child. WBM ___ 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"