Re: Setup of Router machine with FreeBSD
Nathan, Thank you very much for your reply. I have tried out your suggestion and experienced some problem. Hope you could kindly shed some light on them and I really appreciate it. First, I experienced connection problem from server machine(192.168.2.1) to router interface (192.168.2.2). I connected the two network cards with standard Internet cable and tried to ping each other. However, it output following message which makes me think the connection between server and router is problematic; PING sendto Host is down. Any idea why this is happening? I think ping should work as long as I set the IP of network cards correctly and connect them with cable. Second, I am confused about the setup at the router machine. How the router machine figures out the relationship between 192.168.2.2 and 192.168.1.1 if we do not configure it to do so? Is there anything needs to be done besides adding route at server machine and client? Thank you very much for your kind attention! Have a nice day! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong On Mon, Jan 11, 2010 at 11:44 PM, nvidi...@envieweb.net wrote: Quoting Paul Shi shih...@hkusua.hku.hk: Dear All, I have tried to setup a wireless network consist of a server, AP, a router machine and wireless client. Here is setup and configuration of my design. Please correct me if I am wrong about anything. Server IP: 192.168.2.1, Gateway: 192.168.2.2, Netmask: 255.255.255.0 - IP: 192.168.2.2, Netmask: 255.255.255.0 Router IP: 192.168.1.1, Netmask: 255.255.255.0 - IP:192.168.1.2, Gateway: 192.168.1.1, Netmask: 255.255.255.0 Access Point - IP: 192.168.1.3, Netmask: 255.255.255.0 Client I have add following to /etc/rc.conf of server machine static_routes=serverinternal routes_serverinternal='-net 192.168.2.1/24 192.168.2.2 and following to /etc/rc.conf of router machine static_routes=internal routes_internal='-net 192.168.2.2/24 192.168.1.1 Is there anything I have done wrong? Or anything else I need to do. My problem now is I cannot connect from server to router machine. Any suggestion would be greatly appreciated! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong ___ 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 Paul, It seems to me your problem is in your route configuration. 192.168.2.1/24 is incorrect, /24 indicates the bitmask; the network address should be correctly written as 192.168.2.0/24 instead indicating a network address of '192.168.2.0' with a network of 254 usable IP addresses in the same subnet. You'll thus only have to have ONE route entry for the whole network, not one per IP (unless that is your intention -in which case the '-net' syntax is incorrectly being used). So long as routing is turned on (man sysctl), simply pointing the server to the router and the client to the router to connect to each other should work. Try doing the commands from the console first to get it all working, then worry about putting in the startup configs on boot-up. Given your example, I'd login to 'server' and run: route add 192.168.1.0/24 192.168.2.2 (if the router is the ONLY router from the server, use this instead): route add 0.0.0.0 192.168.2.2 Then, from the client, add: route add 192.168.2.0/24 192.168.1.1 The gateway/router box itself does not need any routing setup internally; you don't need/shouldn't be setting any routes given that 192.168.2.2, and 192.168.1.2 are hosts on the two networks for which you want to allow routes. They key is in getting the clients to both use the same gateway, (as accessible from the network they are respectfully on). This may be a little more clearly depicted below: Host A (192.168.2.1) -- Router (192.168.2.2) (192.168.1.1) -- Host B (192.168.1.3) Host A: - needs to know to use '192.168.2.2' as it's gateway to 192.168.1.0/24 - may just use 192.168.2.2 as it's default gateway to ANY network Host B: - needs to know to use '192.168.1.1' as it's gateway to 192.168.2.0/24 - similarly, may just use '192.168.1.1' as it's default gateway to ANY as well Assuming you're connecting the internet at some point to the gateway (router) machine, a decent firewall filter and NAT will most likely be required as
post midnight and still live....
it's the 12th and my link thru qwest is still up. for now. maybe the tech from comcast saw how things were wired and fixed it. maybe he is a laid ofif ph.d. philosophy prof never know , given the economy. anyhow, I hope things still work over the next several days... -g -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Converting i386 to amd64
Matthew Seaman wrote: Michael Powell wrote: Greetings everyone: [snip] Thanks in advance for the wielding of any clue sticks. :-) This sort of process /is/ possible, but it is a lot more involved than you're anticipating. Unless you're the sort of person that likes doing terribly complicated and risky procedures for the hell of it, you are going to be better off just starting from scratch and reinstalling using an AMD64 .iso. It's going to be quicker to reinstall anyhow. Cheers, Matthew OK, that's what I needed to know. It just didn't seem as if something as complex as a cross build could be handled with just one little TARGET=xxx. Terrible and complicated for no real gain is not my style. I like KISS. I have done scratch reloads before and can handle it just fine, it's more a time management fork in the road issue. This tells me I can allocate amount of time for a scratch reload as opposed to time for 'terrible and complicated'. It just means more console time instead of coming by once an hour for a few minutes. I'll stick with what I know will work then, and budget my time accordingly. Thanks for the reply! -Mike ___ 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
installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know?
For my upcoming storage system, the OS install is going to be on a 80gb Intel SSD disk and for various reasons, I am now pretty convinced to stick with UFS2 for the root partition (the actual data pool will be ZFS using traditional SATA disks). I am probably going to use GPT partitioning and have the SSD host the swap, boot, root and a few other partitions. What do I need to know in regards to partition alignment and filesystem block sizes to get the best performance out of the Intel SSDs? Thanks. - Sincerely, Dan Naumov ___ 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: copying a disk with ignoring errors
Allow me to continue this thread with a question about a method to erase a disk that has bad sectors. I bought a 1TB hard disk and will do the recoverdisk job soon. Then the disk, a Seagate which is still under warranty until 2013 as my local distributor told me, will go back and hopefully I'll be getting a replacement in a few weeks. But before I'll giv back that disk I would like to erase the disk thoroughly. Now, is the a way to do that in the opposite direction? Would dd noerror do that? Christoph Kukulies schrieb: Thanks to all. recoverdisk was the one, indeed. phk was the original author. And that was the one that already helped me once. Maybe I could have searched the archives also and would have been able to find that previous message a couple of years ago. I also found by searching archives, that ffsrecov, now ffs2recov, might be a tool for partially recovering a disk. -- Christoph Mike Tancsa schrieb: At 08:30 PM 1/5/2010, Polytropon wrote: recoverdisk This one worked for me to recover my mum's borked Windows XP HD. It was able to recover enough, that I only needed to find one missing dll. Prior to that, it wouldnt even boot up getting stuck on the failing parts of the disk. ---Mike ___ 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: denying spam hosts ssh access - good idea?
Anton Shterenlikht wrote: I'm thinking of denying ssh access to host from which I get brute force ssh attacks. This is a returning topic, search the archives. Anyway, the returning answer: - why not let your firewall do the blocking? If your blocking is IP based that's the place to block. - why do you default to allow? How about default block, and then add the few good networks you know that actually need access? Restricting access to your own continent is a good start. I made this tool to create lists of ip ranges for individual countries: http://www.locolomo.org/pub/src/toolbox/inet.pl if you're in US then it may not work since some US companies have ranges delegated directly by IANA rather than ARIN, but these are few so it's easy to add ranges manually, check the list here: http://www.iana.net/assignments/ipv4-address-space/ipv4-address-space.xml - why allow password based authentication? disable password based authentication and rely on keys, then you can ignore all the brute force attempts. - above not a solution? See if you can tweak the sshd_config: MaxAuthTries MaxStartups can slow down brute force attacks preventing it from sucking up resources. Disable root login, restrict login to real users, if you have a group users just restrict to that using AllowGroups. - trying to block individual offending hosts is futile, the attacker will usually try maybe a 1000 times, but the next one will likely come from a different address. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: denying spam hosts ssh access - good idea?
On Tue, Jan 12, 2010 at 10:42:06AM +0100, Erik Norgaard wrote: Anton Shterenlikht wrote: I'm thinking of denying ssh access to host from which I get brute force ssh attacks. This is a returning topic, search the archives. Anyway, the returning answer: - why not let your firewall do the blocking? If your blocking is IP based that's the place to block. I'm already under the University firewall. Only port 22 is let through. But even that filles my logs. - why do you default to allow? How about default block, and then add the few good networks you know that actually need access? Restricting access to your own continent is a good start. I made this tool to create lists of ip ranges for individual countries: http://www.locolomo.org/pub/src/toolbox/inet.pl if you're in US then it may not work since some US companies have ranges delegated directly by IANA rather than ARIN, but these are few so it's easy to add ranges manually, check the list here: http://www.iana.net/assignments/ipv4-address-space/ipv4-address-space.xml thanks, will look at this - why allow password based authentication? disable password based authentication and rely on keys, then you can ignore all the brute force attempts. I don't allow password based authentication. - above not a solution? See if you can tweak the sshd_config: MaxAuthTries MaxStartups can slow down brute force attacks preventing it from sucking up resources. also a good idea, will look at this. Disable root login, restrict login to real users, if you have a group users just restrict to that using AllowGroups. yes, this is in place. - trying to block individual offending hosts is futile, the attacker will usually try maybe a 1000 times, but the next one will likely come from a different address. I guess this answers my question most directly. From all the replies I got so far I gather that /etc/hosts.allow exists a historical heritage and no real use is made of it nowadays. Although some people appear to like it (e.g. Samuel Martín Moro). many thanks for your help and support. anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Solved: Problems building en-openoffice.org-GB-3.1.1 from ports
On Saturday 02 January 2010, Mike Clarke wrote: After successfully moving from 6.4 to 8.0 by doing a clean install I've embarked on the task of rebuilding OpenOffice from ports :-( I'm getting a confusing error in the config stage: === Configuring for en-openoffice.org-GB-3.1.1 snip checking for gperf... /backup/tmp/ports/work/usr/ports/editors/openoffice.org-3/work/OOO310 _m19/solenv/bin/gperf checking gperf version... /libexec/ld-elf.so.1: Shared object libstdc++.so.5 not found, required by gperf test: : bad number configure: error: too old, you need at least 3.0.0 === Script configure failed unexpectedly. and on Sunday 03 January 2010, Matthew Seaman wrote: Mike Clarke wrote: After pondering a bit more over this problem I think I know where the 6.4 stuff may have come from. After I built the base system I copied various useful files from /root on the 6.4 system, including /root/.cshrc which contained a line setting PACKAGESITE to ftp://ftp2.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-6.4-relea se/All/ and it's quite possible that I ran portinstall -P for some ports before I got round to changing this to point to packages-8. Yep. This would stick a fairly hefty spanner in the works. Considering the vast number of files in /usr/local/bin with links to missing libraries I think my best approach now will be to deinstall ALL my ports and reinstall them again from scratch after deleting everything in /usr/ports/packages and checking that all directories in /usr/local (except etc) have been emptied. This also is a good move. Don't forget to treat /compat/linux similarly to /usr/local if you have any linux stuff installed -- there have been a lot of changes to the linuxulator newly available in 8.0 which you really want if you're going to run linux stuff under emulation. If you strip out /compat/linux completely, then under 8.0 you'll get the latest linux-base-f10 by default when you re-install. When reinstalling ported software, it's a good idea to adopt the following strategies: * Install whatever ports management software you prefer (portupgrade(1), portmaster(1)) pretty much straight away -- you'll need this to build everything. * Look at the list of installed packages on your 6.4 install, and pick out the packages that are your end-use applications. These will mostly be leaf packages, but not always. * You only need to reinstall just those packages -- everything else should be installed automatically as dependencies. This will help you avoid installing and outdated build dependencies or otherwise orphaned packages which otherwise tend to accumulate on an actively updated system. * For the end-use packages you choose, run 'make config-recursive' before you start building anything to ensure you've selected all the required options. Or use portmanager(1) which runs you through the config stage first of all. You need to be a bit careful doing this, as toggling an option in a port can radically change its dependency list, and may bring new sets of options into play. To resolve that, you'll need to re-run 'make config-recursive' until it no longer prompts you to make any OPTIONS settings. [There's a PR to fix this behaviour in the works, but it hasn't been committed yet.] * Where there are ports that have compilation flags or knobs that aren't controlled through OPTIONS dialogues, then be sure to record any non- default settings in /etc/make.conf. You can use a construct like this to only apply settings to specific ports: .if ${.CURDIR:M*/mail/dkim-milter} WITH_LIBDKIM_INSTALL= yes WITH_LIBDKIM_SHARED=yes WITH_VERIFY_DOMAINKEYS= yes WITH_STATS= yes WITH_DNS_UPGRADE= yes .endif Well known KNOBS should be set globally where you aren't using the default setting, eg: WITH_OPENSSL_PORT= yes WITH_BDB_VER= 47 WITH_MYSQL_VER= 51 WITH_OPENLDAP_VER= 24 WANT_OPENLDAP_SASL= yes WITH_GECKO= libxul WITH_APACHE2= yes APACHE_PORT=www/apache22 WITH_MODPERL2= yes PERL_VERSION= 5.10.1 Again, changing these settings can affect the dependency tree and potentially bring new sets of OPTIONS into play, so test repeatedly with 'make config-recursive' * It's a good idea to run 'make fetch-recursive' or 'portinstall -RF ...' or 'portmaster -F ...' after sorting out configuration to download any distfiles before trying to build everything, as this is another place where a big build session can blow up while you aren't looking. It's not mandatory though. * Once everything is configured nicely, it should be possible to just run a massive portupgrade(1) or portmaster(1) session unattended to build and install everything, without finding that 10
Re: pkg_info fails with leave_playpen: can't chdir back to ''
On Wednesday 30 December 2009, Henry Wong wrote: I'm seeing the same problem with pkg_info on FreeBSD 8.0 RELEASE. However, I also found that even when running as the root user, if I'm in a chroot jail, it does not fail. Sometime after experiencing this problem I discovered that my ports had suffered from the accidental introduction of some packages which had been built for rev. 6.4 (see the thread under http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210421.html). As a result of this I had to completely remove and re-install all my ports and I haven't seen the leave_playpen problem since then. It might be just coincidence or it may be that pkg_info just got confused by all the links to wrong and non-existent libraries. Could it be that the ports in your main system are corrupt but those in the jail are clean? -- Mike Clarke ___ 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
Buld echo
I have 35 log files that I want to flush once a day. In order to keep them exist I now do an 'echo logfile.log' How can I do such in one command having the same effect on all log files? Jos Chrispijn ___ 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: Buld echo
I have 35 log files that I want to flush once a day. In order to keep them exist I now do an 'echo logfile.log' How can I do such in one command having the same effect on all log files? You could have a look at newsyslog: it would purge and recreate the files for you, including the right ownership and mode, plus it ciould keep compressed back logs, and notify some process of your choice. Bests, Olivier ___ 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
watching WebEx session on FreeBSD
Hello, Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu ___ 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't mountroot from ZFS pool
2010/1/11 Steve Bertrand st...@ibctech.ca All, I've successfully upgraded the disks in my ZFS backup server, and can import/mount the pool properly. However, I designed this box originally so that it mounts / from zfs:storage after booting from a USB stick. After the upgrade of the disks, I'm stuck at a mountroot prompt when I attempt to boot the system with the original USB /boot key. Can someone inform me how to find the / filesystem at the mountroot prompt? If not, is there *any* way to boot the system normally from another medium, and then 'reload' the system with the ZFS / after its been mounted so that the system functions as designed (ie. cron works etc)? Steve ___ 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 did you export the pool at all before rebooting it? ___ 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: Converting i386 to amd64
2010/1/12 Michael Powell nightre...@hotmail.com Matthew Seaman wrote: Michael Powell wrote: Greetings everyone: [snip] Thanks in advance for the wielding of any clue sticks. :-) This sort of process /is/ possible, but it is a lot more involved than you're anticipating. Unless you're the sort of person that likes doing terribly complicated and risky procedures for the hell of it, you are going to be better off just starting from scratch and reinstalling using an AMD64 .iso. It's going to be quicker to reinstall anyhow. Cheers, Matthew OK, that's what I needed to know. It just didn't seem as if something as complex as a cross build could be handled with just one little TARGET=xxx. Terrible and complicated for no real gain is not my style. I like KISS. I have done scratch reloads before and can handle it just fine, it's more a time management fork in the road issue. This tells me I can allocate amount of time for a scratch reload as opposed to time for 'terrible and complicated'. It just means more console time instead of coming by once an hour for a few minutes. I'll stick with what I know will work then, and budget my time accordingly. Thanks for the reply! -Mike ___ 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 You could do a binary upgrade from the cd (making sure you have a backup), then recompile all your old ports. Its a bit dirty but does work. eg I have taken a 4.2 box stright to 7.2 with this method. I did a make world and delete-old for completeness. I wasn't worried about having ufs v1 file systems but you might. ___ 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: watching WebEx session on FreeBSD
Matthias Apitz wrote: Hello, Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. I recently returned to using FreeBSD as a KDE 4 desktop after experimenting with various Linux incantations for a couple of years. I finally got tired of it. I had used KDE for years on FreeBSD, but it was always the hard way. There may be different rough edges, but I've always been convinced that KDE largely runs better on FreeBSD, especially wrt to 8.0. Instead of a regular install and subsequent lots of time installing stuff this time I wanted to check out PCBSD. There are some things I'm not crazy about but for some reason or another they got Flash 10 working in Firefox right out of the box. I chose not to use their PIB packaging system for installing additional software that is not part of the default. I rebuilt the OS with the make buildworld, etc, dance so my kernel is half the size of theirs and chose to use portupgrade to manage keeping ports in line. Have been steadily installing stuff with ports and so far so good. I installed the beta 3 DVD they have released because I was mainly interested in FreeBSD 8 and the previous non-Beta is 7.x based. I only used it as a launch pad and then took over my own maintenance from there. Now for some reason or another I thought that when I tried the free 14 day test account that it was Java based. I don't know why this stuck in my mind at all. However, I am able to look at their Flash demo just fine. So it is is achievable on FreeBSD. -Mike ___ 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: Catastrophic Installation Failure now!
The problem was caused by a permission change in the mysql data directory, in my case /disk02/db/mysql/DATA - why and how is beyond my comprehension. It would be a good tactic for developers to to include a troubleshooting script to check directory permissions in installations, as this is such a common problem. At a minimum a simple checklist would help. I have had situations where I have looked at files/directories after an installation and could not tell what it should be. Thanks again! jaymax wrote: MAJOR SCREWUP I was frustrated by a failure to create a ROOT password and decided to do a clean reinstall Did a make deinstall from the following ports -- View this message in context: http://old.nabble.com/Catastrophic-Installation-Failure-now%21-tp27100257p27126987.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 freebsd-questions-unsubscr...@freebsd.org
Re: Buld echo
On 1/12/2010 12:21 PM, Jos Chrispijn wrote: I have 35 log files that I want to flush once a day. In order to keep them exist I now do an 'echo logfile.log' How can I do such in one command having the same effect on all log files? You could use truncate(1). Something like: truncate -s 0 file1 file2 file2 ... ___ 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: watching WebEx session on FreeBSD
Matthias Apitz wrote: Hello, Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. OK - I signed up for another 14 day trial, and eventually at some point I always arrive at a page that says: Support Not Available Meeting Center is not available for your computer's operating system. For information about system requirements, please refer to the FAQ support. I even tried using Konqueror's sending browser ID as IE7 on Win XP. Still ultimately ends up here. So FreeBSD is not a supported OS, also not on their list in the FAQ either. So it seems they have decided specifically to disallow participation by anyone using FreeBSD. I guess they don't consider anyone using FreeBSD to be commercially viable. This sucks, and I will make a complaint when I hunt down their Feedback area. As far as I can tell (IMHO) so far is I don't see any reason why it should not work. I have both functional Flash and Java. -Mike ___ 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: Setup of Router machine with FreeBSD
Paul, The key thing you need to look at is enabling routing on the machine you want to act as a gateway. Given the dual-homed nature of the machine it's routing table will already contain each of the interfaces on the two networks, and as such the router machine will 'know' how to connect to each of the networks it is on. What is missing, is that you must tell the router machine that it can relay information across these known networks for other hosts. As with most things, there's better documentation available on the subject, and I'd HIGHLY recommend you try reading the following handbook section 'Gateways and Routes' for a better understanding: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Within that section, it will elaborate as to how you can turn on and off the function to act as a gateway for other hosts. As in my original email reply to the list, the specific command is 'sysctl' which allows you to tune key variables controlling the kernel functionality - in this case, the behavior of acting as a gateway. Please take a few moments and read through that section, it should greatly clarify some things for you. As always, feel free to ask again if you need further help with something. Regarding your ping problem; are you using the correct cabling to go from ethernet card to card? You must use cross cables for direct connections, and straight-through if using a hub or switch. Assuming that you have no firewall in place blocking traffic, then ping should work fine - I would suggest you check your cabling first and go from there. Running the command 'ifconfig -a' will list your active network interfaces and should show the 'media state' as being connected and at what speed/duplex - check there first and work your way back. Hope this helps. -- Nathan Vidican nat...@vidican.com Quoting Paul Shi shih...@hkusua.hku.hk: Nathan, Thank you very much for your reply. I have tried out your suggestion and experienced some problem. Hope you could kindly shed some light on them and I really appreciate it. First, I experienced connection problem from server machine(192.168.2.1) to router interface (192.168.2.2). I connected the two network cards with standard Internet cable and tried to ping each other. However, it output following message which makes me think the connection between server and router is problematic; PING sendto Host is down. Any idea why this is happening? I think ping should work as long as I set the IP of network cards correctly and connect them with cable. Second, I am confused about the setup at the router machine. How the router machine figures out the relationship between 192.168.2.2 and 192.168.1.1 if we do not configure it to do so? Is there anything needs to be done besides adding route at server machine and client? Thank you very much for your kind attention! Have a nice day! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong On Mon, Jan 11, 2010 at 11:44 PM, nvidi...@envieweb.net wrote: Quoting Paul Shi shih...@hkusua.hku.hk: Dear All, I have tried to setup a wireless network consist of a server, AP, a router machine and wireless client. Here is setup and configuration of my design. Please correct me if I am wrong about anything. Server IP: 192.168.2.1, Gateway: 192.168.2.2, Netmask: 255.255.255.0 - IP: 192.168.2.2, Netmask: 255.255.255.0 Router IP: 192.168.1.1, Netmask: 255.255.255.0 - IP:192.168.1.2, Gateway: 192.168.1.1, Netmask: 255.255.255.0 Access Point - IP: 192.168.1.3, Netmask: 255.255.255.0 Client I have add following to /etc/rc.conf of server machine static_routes=serverinternal routes_serverinternal='-net 192.168.2.1/24 192.168.2.2 and following to /etc/rc.conf of router machine static_routes=internal routes_internal='-net 192.168.2.2/24 192.168.1.1 Is there anything I have done wrong? Or anything else I need to do. My problem now is I cannot connect from server to router machine. Any suggestion would be greatly appreciated! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong ___ 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 Paul, It seems to me your problem is in your route configuration. 192.168.2.1/24 is incorrect, /24
bsdar/netstat issue
Hello, Got an issue. On FreBSD amd64 bsdsar dows not works properly because of netstat -b -i -n shows one extra column Idrop $ uname -m amd64 $ netstat -b -i -n NameMtu Network Address Ipkts Ierrs Idrop Ibytes Opkts Oerrs Obytes Coll bge0 1500 Link#1 00:00:1a:19:3b:69 722511 0 0 413208866 447516 0 63777493 0 $ uname -imprs FreeBSD 8.0-STABLE amd64 amd64 GENERIC In i386 netstat output is as was before $ uname -m i386 $ netstat -b -i -n NameMtu Network Address Ipkts Ierrs IbytesOpkts Oerrs Obytes Coll wpi0* 2290 Link#1 00:1b:77:d3:75:5e0 0 00 0 0 0 $ uname -imprs FreeBSD 8.0-STABLE i386 i386 NAFNOTE To make bsdsar work properly I have modified it here is the diff: $ diff -u /usr/local/bin/bsdsar_gather /usr/local/bin/bsdsar_gather.new --- /usr/local/bin/bsdsar_gather2010-01-12 14:19:09.0 +0200 +++ /usr/local/bin/bsdsar_gather.new2010-01-12 14:18:13.0 +0200 @@ -91,11 +91,11 @@ # now lets pull data from netstatlist foreach $ifaceline (@netstatlist) { chomp $ifaceline; - ($ifacename, $Mtu, $Network, $Address, $inpkts, $inerrs, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; + ($ifacename, $Mtu, $Network, $Address, $inpkts, $inerrs, $idrops, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; if ( $coll eq ) { # $coll is empty because of a blank column, assume this is Address # so try again wthout it - ($ifacename, $Mtu, $Network, $inpkts, $inerrs, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; + ($ifacename, $Mtu, $Network, $inpkts, $inerrs, $idrops, $inbytes, $outpkts, $outerrs, $outbytes, $coll) = split/\s+/,$ifaceline; } $ifaceinfo .= $ifacename,$inpkts,$inerrs,$inbytes,$outpkts,$outerrs,$outbytes,$coll\|; Did anyone faced such issue before ? Or thie is not a bug with netstat/bsdsar. Thank you. -- Maxim Ianoglo a.k.a dotNox ( dot...@gmail.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
top/ps: is Active Memory = sum(resident set size)?
This has probably been discussed before, so apology for asking the same question again. Should the Active memory, as reported by top(1), be equal to the sum of rss (the real memory (resident set) size of the process) of all processes, as reported by ps(1)? The sum of ps(1) rss fields is probably the same as the sum of RES fields of top(1). I seem to have much bigger Active set than the sum of all resident (or real) memories used by all processes. Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
can't update system.
Hello, Forgive cross posting, i have an unusable system and an not sure where to post. This follows up a more lengthy post, but i've got some new info so again. libxul requiers libiconv libiconv requires libxul i have WITH_GECKO=libxul in make.conf i'm using FreeBSD 8.0-stable. thanks. ken ___ 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: watching WebEx session on FreeBSD
On Tue, 12 Jan 2010, Matthias Apitz wrote: Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Failing that, there's Wine. Firefox and the Flash plugin run under Wine. There are occasional graphic artifacts and Firefox windows want a double-click on the close gadget to actually close, but otherwise it works very well. Java also runs, although there it's not 100%. Maybe enough for Webex. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't update system.
On Tue, Jan 12, 2010 at 09:45:35PM +0600, keneasson wrote: Hello, Forgive cross posting, i have an unusable system and an not sure where to post. This follows up a more lengthy post, but i've got some new info so again. libxul requiers libiconv libiconv requires libxul libiconv does not require libxul AFAICT. i have WITH_GECKO=libxul in make.conf That is likely what is causing your problems. Remove that line and see if things work better. i'm using FreeBSD 8.0-stable. thanks. ken ___ 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 -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: watching WebEx session on FreeBSD
On 01/12/10 10:48, Warren Block wrote: On Tue, 12 Jan 2010, Matthias Apitz wrote: Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Failing that, there's Wine. Firefox and the Flash plugin run under Wine. There are occasional graphic artifacts and Firefox windows want a double-click on the close gadget to actually close, but otherwise it works very well. Java also runs, although there it's not 100%. Maybe enough for Webex. -Warren Block * Rapid City, South Dakota USA I have also tried WebEx in FreeBSD with similar results. I have not tried using f10, but I wonder if the WebEx Java component detects that it's running in diablo (or rather not a recognised Java engine). FWIW I have had success with other similar products in FreeBSD, namely MeetingPlace. IMO it runs better in FreeBSD than Windows. - Colin ___ 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
So, did I mis-file this PR? [bin/141175: New cpio(1) in FreeBSD 8 regressed and left out a previous option: -V (dots) [regression]]
When FreeBSD-8 came out, it came with a newly rewritten cpio(1) that no longer offered an option I originally started using with SunOS/Solaris, but came to expect on FreeBSD and Linux as well. Since it was pretty trivial to add it back, I did so and offered the patch in PR bin/141175: http://www.freebsd.org/cgi/query-pr.cgi?pr=141175 The option is -V to print a dot per file copied rather than the much more verbose -v and the dots variant that can be useful for some feedback when copying a large hierarchy. My PR was filed on 2008/Dec/4, over a month ago, yet there has not even been a single response to it. Did I mis-file it? Thanks, Philip ___ 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: watching WebEx session on FreeBSD
El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribió: On Tue, 12 Jan 2010, Matthias Apitz wrote: Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Thanks for the hint; I looked around there but can not see any WebEx Business Suite 27 (WBS27) client to down load; is this part of the 14day Free Trial? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu ___ 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't update system.
On 1/12/10, Erik Trulsson ertr1...@student.uu.se wrote: On Tue, Jan 12, 2010 at 09:45:35PM +0600, keneasson wrote: Hello, Forgive cross posting, i have an unusable system and an not sure where to post. This follows up a more lengthy post, but i've got some new info so again. libxul requiers libiconv libiconv requires libxul libiconv does not require libxul AFAICT. i have WITH_GECKO=libxul in make.conf That is likely what is causing your problems. Remove that line and see if things work better. WITH_GECKO doesn't cause any additional dependencies to be defined for the libiconv port. Only when USE_GECKO or WANT_GECKO are defined (see /usr/ports/Mk/bsd.port.mk), then WITH_GECKO will be used to choose the appropriate GECKO port. Scot ___ 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
E-commerce Gateway
E-commerce Payment Gateway Solution: (E-commerce Gateway Solution for United States and Canadian Merchants) Federated Payments- USA Merchant Accounts MSI Canada- Canadian Merchant Accounts About Us Federated Payments / MSI Canada is a credit card payment processor in the United States and Canadian marketplace. We have an “A” Industry Rating with the BBB (Better Business Bureau) and annually process over 2 billion dollars in credit card payment transactions. Established in 1998, Federated Payments recently took its place as one of the Top 50 Payment Processors in the Industry and is considered the fastest growing Processor according to the Neilson Report. We service more than 20,000 merchants across the country and employ 150 sales support and technical staff in the United States and Canada. Federated Payments operates as Merchant Services Inc. Canada (MSI Canada) as its Canadian operations. Recognizing the Gateway Problem We are aware of the difficulties web developers experience when adding shopping carts to sites and then to face security compliance issues when Payment Gateways are to be integrated. In most cases, the client’s bank does not support an online payment gateway solution. This begins the clients search to find the right bank that will approve or provide a payment gateway that can comply to the shopping cart security standards. After this step is complete, the client is left to babysit the bank to ensure correspondence is maintained with the web developer until task is complete. For any developer, dropping the ball at the end is simply bad practice hence integrating PayPal saves the client from anguish and despair temporarily. PayPal charges high credit card processing rates which leads to even more client despair in the end. Professionalism is lost when the gateway page re-directs the customer to a process he is not interested in fulfilling. PayPal should be considered an additional feature and not the primary gateway function. Required customer sign-ups and account verification processes deter customers from returning to PayPal sites. Client loses retention momentum. SafePay Solution The SafePay Gateway Program is a solution for merchants to process online in a secured manner without giving up large profits for processing. We offer the “Lowest Rate Guarantee” to every client that comes on board. Included with the SafePay Program is the Backend Gateway which enables clients a backend to enter orders manually, to put customers on recurring payments, pull reports, customizable fields, download/upload Quick Books file feature , multiple user with Admin control features and much more. A demo will be provided to your client for training by our technicians. SafePay Payment Gateway Solution Features: · Enables real-time online transaction processing · Fully CISP and PCI Certified · Free Quick Click Shopping Cart- Or connect with over 80 certified shopping carts · Recurring Billing- Bill your customers daily, weekly or monthly for as many payments as requires · Cardholder Authentication Card Programs: Verified by Visa, MasterCard SecureCode · Virtual Terminal- With a Level 3 intuitive user interface, you will be able to authorize, process and manage credit card transactions manually from any computer that has an internet connection. · API Integration- With API Integration solution your merchants will utilize the highest level of secure transaction infrastructure available. · Batch Upload Process- With batch upload processing you will be able to control and approve transactions manually prior to settlement. The batch processing system automatically allocates the batches in 1/16 bins and reduces overall processing time to a fraction of your competitors. · Electronic Check- Electronic Check is a payment solution that enables online and traditional merchants to accept and process electronic check payments directly from their Web site’s storefront or through the Virtual Terminal. By accepting electronic checks, you are able to expand the payment options available to your customers and thereby increase sales. Solution Option 1 Federated Payments and MSI Canada offers one of the best Payment Gateway programs in the industry known as Safepay. To simplify the shopping cart integration to our payment gateway, here are some free shopping carts we support: Free Supported Shopping Carts: OsCommerce.com, nopdesign.com, virtuemart.net, zencart.com, precisionweb.net Solution Option 2 Our technicians are equipped to handle any type of shopping cart in the marketplace. Custom built designs are accepted with additional security compliance testing. This means that the majority of shopping carts fall into compliance with our payment gateway solution after testing. Simple Process · When an
sendmail issues - make fails to create aliases.db in /etc/mail
make in /etc/mail fails (silently) to create aliases.db. I touched all the source files I modified to make sure they would be rebuilt (since the last rebuild failed). What I am finding is that the command /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases is not creating aliases.db, nor is it creating any errors. I tried running `/usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases`, but aw no errors from that, either. Anyone experienced something like this before and have suggestions on what I should examine next? Thanks, -Jim Stapleton [r...@mail-jail /etc/mail]# ls Makefilefreebsd.mc mail-jail.submit.cf README freebsd.submit.cf mail-jail.submit.mc access freebsd.submit.mc mailer.conf access.db helpfilemailertable.sample access.sample local-host-namessendmail.cf aliases mail-jail.cfsubmit.cf freebsd.cf mail-jail.mcvirtusertable.sample [r...@mail-jail /etc/mail]# touch aliases; touch access; touch local-host-names ; touch sendmail.cf; touch virtusertable.sample [r...@mail-jail /etc/mail]# make /usr/sbin/makemap hash access.db access chmod 0640 access.db /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases chmod 0640 /etc/mail/aliases.db chmod: /etc/mail/aliases.db: No such file or directory *** Error code 1 Stop in /etc/mail. [r...@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases sendmail: -O option ignored postalias: dict_eval: const mail postalias: dict_eval: const ipv4 postalias: dict_eval: const postalias: dict_eval: const postalias: dict_eval: const postalias: dict_eval: const postalias: name_mask: ipv4 postalias: dict_eval: const mail-jail.localdomain postalias: dict_eval: const localdomain postalias: dict_eval: const Postfix postalias: dict_eval: expand ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name} - postfix postalias: dict_eval: const postfix postalias: dict_eval: const maildrop postalias: dict_eval: expand $myhostname, localhost.$mydomain, localhost - mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: expand $myhostname - mail-jail.localdomain postalias: dict_eval: const postalias: dict_eval: const /usr/local/libexec/postfix postalias: dict_eval: const /var/db/postfix postalias: dict_eval: const /usr/local/sbin postalias: dict_eval: const /var/spool/postfix postalias: dict_eval: const pid postalias: dict_eval: const all postalias: dict_eval: const postalias: dict_eval: const double-bounce postalias: dict_eval: const nobody postalias: dict_eval: const hash:/etc/aliases postalias: dict_eval: const 20090828 postalias: dict_eval: const 2.6.5 postalias: dict_eval: const hash postalias: dict_eval: const deferred, defer postalias: dict_eval: const postalias: dict_eval: expand $mydestination - mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: expand $relay_domains - mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: const TZ MAIL_CONFIG LANG postalias: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C postalias: dict_eval: const host postalias: dict_eval: const postalias: dict_eval: const += postalias: dict_eval: const -=+ postalias: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps postalias: dict_eval: const postalias: dict_eval: const bounce postalias: dict_eval: const cleanup postalias: dict_eval: const defer postalias: dict_eval: const pickup postalias: dict_eval: const qmgr postalias: dict_eval: const rewrite postalias: dict_eval: const showq postalias: dict_eval: const error postalias: dict_eval: const flush postalias: dict_eval: const verify postalias: dict_eval: const trace postalias: dict_eval: const proxymap postalias: dict_eval: const proxywrite postalias: dict_eval: const postalias: dict_eval: const 2 postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 3600s postalias: dict_eval: const 3600s postalias: dict_eval: const 5s postalias: dict_eval: const 5s postalias: dict_eval: const 1000s postalias: dict_eval: const 1000s postalias: dict_eval: const 10s postalias: dict_eval: const 10s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: dict_eval: const 500s postalias: dict_eval: const 500s postalias: dict_eval: const 18000s postalias: dict_eval: const 18000s postalias: dict_eval: const 1s postalias: dict_eval: const 1s postalias: name_mask: host postalias: inet_addr_local: configured 1 IPv4 addresses postalias: mynetworks: 192.168.1.4/32 postalias: dict_eval: const 192.168.1.4/32 postalias: open hash
Re: can't update system.
Hi thanks for the reply. I'm worried that changing WITH_GECKO will try and rebuild firefox2 which is marked IGNORE. It took me a long time to get that resolved. Here is a bit of my portmaster -a log, it's pretty clear that there is a dependency loop. portmaster -a gt; pormasterbuild.log /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by pg_config /libexec/ld-elf.so.1: Shared object libiconv.so.3 not found, required by httpd [: -le: argument expected ... lt;the actual log filegt; ===gt;gt;gt; Gathering distinfo list for installed ports ===gt;gt;gt; Starting check of installed ports for available updates ===gt;gt;gt; Checking ports for recursive 'make config' ===gt;gt;gt; Launching child to update glib-2.22.3 to glib-2.22.4 ===gt;gt;gt; Port directory: /usr/ports/devel/glib20 ===gt;gt;gt; Launching 'make checksum' for devel/glib20 in background ===gt;gt;gt; Gathering dependency list for devel/glib20 from ports ===gt;gt;gt; Starting recursive 'make config' check ===gt;gt;gt; Launching child to update devel/gettext glib-2.22.3 gt;gt; devel/gettext ===gt;gt;gt; Port directory: /usr/ports/devel/gettext ===gt;gt;gt; Gathering dependency list for devel/gettext from ports ===gt;gt;gt; Starting recursive 'make config' check ===gt;gt;gt; Launching child to update converters/libiconv glib-2.22.3 gt;gt; devel/gettext gt;gt; converters/libiconv ===gt;gt;gt; Port directory: /usr/ports/converters/libiconv ===gt;gt;gt; Gathering dependency list for converters/libiconv from ports ===gt;gt;gt; Starting recursive 'make config' check ===gt;gt;gt; Launching child to update devel/libtool22 glib-2.22.3 gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 ===gt;gt;gt; Port directory: /usr/ports/devel/libtool22 ===gt;gt;gt; Gathering dependency list for devel/libtool22 from ports ===gt;gt;gt; Starting recursive 'make config' check ===gt;gt;gt; Launching child to update www/libxul glib-2.22.3 gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/lib xul ... ===gt;gt;gt; Port directory: /usr/ports/devel/gettext ===gt;gt;gt; Starting check for build dependencies ===gt;gt;gt; Gathering dependency list for devel/gettext from ports ===gt;gt;gt; Starting dependency check ===gt;gt;gt; Launching child to update converters/libiconv glib-2.22.3 gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/lib xul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; ww w/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libto ol22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/ libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; d evel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/lib iconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converter s/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; conv erters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gette xt gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/ gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; d evel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibilit y/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessi bility/atk gt;gt; devel/gettext gt;gt; converters/libiconv lt;/endgt; If only only try and rebuild libxul or libiconv, then the dependency loop only includes these two files. #portmaster www/libxul ===gt;gt;gt; Port directory: /usr/ports/devel/gettext ===gt;gt;gt; Starting check for build dependencies ===gt;gt;gt; Gathering dependency list for devel/gettext from ports ===gt;gt;gt; Starting dependency check ===gt;gt;gt; Launching child to update converters/libiconv www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt; converters/libiconv gt;gt; devel/libtool22 gt;gt; www/libxul gt;gt; accessibility/atk gt;gt; devel/gettext gt;gt;
zpool upgrade - is it safe?
Hi all, I just upgraded to a more recent version of 8.0-STABLE, and I noticed during boot that zfs had changed from version 13 to version 14. Is it safe to run zpool upgrade -a on a system while in multiuser, or will I have to take some security measures, such as creating a complete backup and/or booting into singleuser? Rolf Nielsen ___ 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: pkg_info fails with leave_playpen: can't chdir back to ''
Mike, Thanks for your response. Since originally writing that message, I had done some tests (there was a misconfiguration in mailer that my browser called on the system I was sending from so the message got sent out much later when it was corrected). I had tried running the exact same executable both in the jail and outside and got a different set of libraries. One odd thing that I had also noticed is that when I ran ldd against the same executable, I came up with a different set of libraries. I'm not sure what controls the library searches. As far as I can tell the libraries are the same also. However, since then, my /var/run/ld-elf* files have changed. I no longer see the problem or the differences in ldd. This may have corrected the problem. Henry Mike Clarke wrote: On Wednesday 30 December 2009, Henry Wong wrote: I'm seeing the same problem with pkg_info on FreeBSD 8.0 RELEASE. However, I also found that even when running as the root user, if I'm in a chroot jail, it does not fail. Sometime after experiencing this problem I discovered that my ports had suffered from the accidental introduction of some packages which had been built for rev. 6.4 (see the thread under http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210421.html). As a result of this I had to completely remove and re-install all my ports and I haven't seen the leave_playpen problem since then. It might be just coincidence or it may be that pkg_info just got confused by all the links to wrong and non-existent libraries. Could it be that the ports in your main system are corrupt but those in the jail are clean? -- Henry Wong Lead Software Engineer Lumeta - / Securing the Network in the Face of Change / _hw...@lumeta.com_ 732.357.3534 (office) 732.564.0731 (fax) 220 Davidson Avenue Somerset , NJ 08873-4146 www.lumeta.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: sendmail issues - make fails to create aliases.db in /etc/mail
On Tue, Jan 12, 2010 at 12:00:03PM -0500, Jim wrote: make in /etc/mail fails (silently) to create aliases.db. I touched all the source files I modified to make sure they would be rebuilt (since the last rebuild failed). What I am finding is that the command /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases is not creating aliases.db, nor is it creating any errors. I tried running `/usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases`, but aw no errors from that, either. Anyone experienced something like this before and have suggestions on what I should examine next? Thanks, -Jim Stapleton What happens if you do a grep aliases in /etc/mail? In my sensmail files I see references to aliases in the config *.cf and Makefile, and the aliases file itself. Did you edit any of these files? Should work by default. gary [r...@mail-jail /etc/mail]# ls Makefilefreebsd.mc mail-jail.submit.cf README freebsd.submit.cf mail-jail.submit.mc access freebsd.submit.mc mailer.conf access.db helpfilemailertable.sample access.sample local-host-namessendmail.cf aliases mail-jail.cfsubmit.cf freebsd.cf mail-jail.mcvirtusertable.sample [r...@mail-jail /etc/mail]# touch aliases; touch access; touch local-host-names ; touch sendmail.cf; touch virtusertable.sample [r...@mail-jail /etc/mail]# make /usr/sbin/makemap hash access.db access chmod 0640 access.db /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases chmod 0640 /etc/mail/aliases.db chmod: /etc/mail/aliases.db: No such file or directory *** Error code 1 Stop in /etc/mail. [r...@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases sendmail: -O option ignored postalias: dict_eval: const mail postalias: dict_eval: const ipv4 postalias: dict_eval: const postalias: dict_eval: const postalias: dict_eval: const postalias: dict_eval: const postalias: name_mask: ipv4 postalias: dict_eval: const mail-jail.localdomain postalias: dict_eval: const localdomain postalias: dict_eval: const Postfix postalias: dict_eval: expand ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name} - postfix postalias: dict_eval: const postfix postalias: dict_eval: const maildrop postalias: dict_eval: expand $myhostname, localhost.$mydomain, localhost - mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: expand $myhostname - mail-jail.localdomain postalias: dict_eval: const postalias: dict_eval: const /usr/local/libexec/postfix postalias: dict_eval: const /var/db/postfix postalias: dict_eval: const /usr/local/sbin postalias: dict_eval: const /var/spool/postfix postalias: dict_eval: const pid postalias: dict_eval: const all postalias: dict_eval: const postalias: dict_eval: const double-bounce postalias: dict_eval: const nobody postalias: dict_eval: const hash:/etc/aliases postalias: dict_eval: const 20090828 postalias: dict_eval: const 2.6.5 postalias: dict_eval: const hash postalias: dict_eval: const deferred, defer postalias: dict_eval: const postalias: dict_eval: expand $mydestination - mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: expand $relay_domains - mail-jail.localdomain, localhost.localdomain, localhost postalias: dict_eval: const TZ MAIL_CONFIG LANG postalias: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C postalias: dict_eval: const host postalias: dict_eval: const postalias: dict_eval: const += postalias: dict_eval: const -=+ postalias: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps postalias: dict_eval: const postalias: dict_eval: const bounce postalias: dict_eval: const cleanup postalias: dict_eval: const defer postalias: dict_eval: const pickup postalias: dict_eval: const qmgr postalias: dict_eval: const rewrite postalias: dict_eval: const showq postalias: dict_eval: const error postalias: dict_eval: const flush postalias: dict_eval: const verify postalias: dict_eval: const trace postalias: dict_eval: const proxymap postalias: dict_eval: const proxywrite postalias: dict_eval: const postalias: dict_eval: const 2 postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 100s postalias: dict_eval: const 3600s postalias: dict_eval: const 3600s postalias: dict_eval: const 5s postalias: dict_eval: const 5s postalias: dict_eval: const 1000s postalias: dict_eval: const 1000s postalias: dict_eval: const 10s postalias: dict_eval: const 10s postalias: dict_eval: const 1s postalias: dict_eval: const 1s
Re: can't update system.
On 1/12/10, keneasson keneas...@zoho.com wrote: Hi thanks for the reply. I'm worried that changing WITH_GECKO will try and rebuild firefox2 which is marked IGNORE. It took me a long time to get that resolved. Here is a bit of my portmaster -a log, it's pretty clear that there is a dependency loop. portmaster -a gt; pormasterbuild.log /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by pg_config /libexec/ld-elf.so.1: Shared object libiconv.so.3 not found, required by httpd [: -le: argument expected ... I would suggest you check the /var/db/pkg/libiconv*/+CONTENTS file to see if it contains any extra dependencies. The begining of my libiconv*/+CONTENTS file only contains this: @comment PKG_FORMAT_REVISION:1.1 @name libiconv-1.13.1 @comment ORIGIN:converters/libiconv @cwd /usr/local man/man1/iconv.1.gz @comment MD5:5c4f3aa5c04f006466355e377b1a2560 : There should be no @pkgdep or @comment DEPORIGIN lines in this file. If you have these in there, then remove them as libiconv has no dependencies. Scot ___ 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: top/ps: is Active Memory = sum(resident set size)?
Hi-- On Jan 12, 2010, at 6:17 AM, Anton Shterenlikht wrote: Should the Active memory, as reported by top(1), be equal to the sum of rss (the real memory (resident set) size of the process) of all processes, as reported by ps(1)? No. They aren't measuring the same thing; in a system with plenty of available RAM, processes might be entirely resident because there is no memory pressure to start paging inactive pages out, but only be using a fraction of their address space, in which case active per top will be less than the sum of RSS. -- -Chuck ___ 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: sendmail issues - make fails to create aliases.db in /etc/mail
What happens if you do a grep aliases in /etc/mail? In my sensmail files I see references to aliases in the config *.cf and Makefile, and the aliases file itself. as in ls `/etc/mail | grep aliases` or `cat /etc/mail/* | grep aliases` The former shows the file 'aliases' only. The latter (getting rid of lines starting with # to clean up a bunch of crud) [s...@elrond /data/jail/mail-jail/etc/mail]$ cat * | grep -a 'aliases' | grep -avE '^#' SENDMAIL_ALIASES?= /etc/mail/aliases all: cf maps aliases aliases: ${SENDMAIL_ALIASES:%=%.db} O AliasFile=/etc/mail/aliases vrfyVerify an address. If you want to see what it aliases O AliasFile=/etc/mail/aliases newaliases /usr/libexec/sendmail/sendmail O AliasFile=/etc/mail/aliases Find shows the following files contain 'aliases' in non-comment lines: ./mailer.conf ./freebsd.cf ./freebsd.submit.cf ./helpfile ./sendmail.cf ./submit.cf ./Makefile ./aliases ./mail-jail.cf ./mail-jail.submit.cf Did you edit any of these files? Should work by default. I edited: access, aliases, local-host-names, virtusertable.sample (and apparantly forgot to copy the latter to virtualusertable, so it shouldn't affect anything anyway) -Jim Stapleton ___ 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: sendmail issues - make fails to create aliases.db in /etc/mail
On Tue, 12 Jan 2010, Jim wrote: make in /etc/mail fails (silently) to create aliases.db. I touched all the source files I modified to make sure they would be rebuilt (since the last rebuild failed). Just tried it here successfully, although I'd usually do newaliases. [r...@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases sendmail: -O option ignored ... postalias: dict_eval: const Postfix ... postalias: open hash /etc/aliases Looks like you're using postfix pretending to be sendmail. Evidently postfix doesn't build aliases.db the same way. You might try newaliases. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 7.2 equiv for usbconfig on 8.0?
On Tue, Jan 5, 2010 at 3:06 PM, Mike Tancsa m...@sentex.net wrote: At 04:53 PM 1/5/2010, Steve Franks wrote: How do I reset my usb on 7.2 when I insert a card in the internal flash reader? usbconfig works great on 8, but I have systems I cannot upgrade at the moment... I dont think there is a reset equiv, but I usually do something like cat /dev/null /dev/da[#] where da# corresponds to the internal reader / device. eg. cat /dev/null /dev/da1 ---Mike Exactly what is that supposed to accomplish? My 7.2 box just barfs on it: cat /dev/null /dev/da0 bash: /dev/da0: Device not configured Best, Steve ___ 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't update system.
I did a pkg_delete for both libiconv and libxul in the hope that this would clear any stale depends from firefox2 days causing me these problems. local# cd /var/db/pkg/ local# ls | grep iconv php5-iconv-5.2.12 local# now the makefile on the other hand: local# cd /usr/ports/converters/libiconv local# vi Makefile # New ports collection makefile for:libiconv # Date created: 17 July 2000 # Whom: Maxim Sobolev lt;sobo...@freebsd.orggt; # # $FreeBSD: ports/converters/libiconv/Makefile,v 1.52 2009/08/02 19:32:38 mezz Exp $ # PORTNAME= libiconv PORTVERSION=1.13.1 CATEGORIES= converters devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= gn...@freebsd.org COMMENT=A character set conversion library USE_AUTOTOOLS= libtool:22 #cd ../../devel/libtool22 local# make ===gt; libtool-2.2.6b depends on file: /usr/local/lib/libxul/libxul.so - not found ===gt;Verifying install for /usr/local/lib/libxul/libxul.so in /usr/ports/www/libxul ===gt; libxul-1.9.0.17 depends on executable: zip - found ===gt; libxul-1.9.0.17 depends on executable: gmake - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/printproto.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/bin/perl5.10.1 - found ===gt; libxul-1.9.0.17 depends on file: /usr/local/bin/intltool-extract - found ===gt; libxul-1.9.0.17 depends on executable: pkg-config - found ===gt; libxul-1.9.0.17 depends on executable: update-desktop-database - found ===gt; libxul-1.9.0.17 depends on shared library: dbus-glib-1.2 - found ===gt; libxul-1.9.0.17 depends on shared library: cairo.2 - found ===gt; libxul-1.9.0.17 depends on shared library: nspr4 - found ===gt; libxul-1.9.0.17 depends on shared library: Xft.2 - found ===gt; libxul-1.9.0.17 depends on shared library: iconv.3 - not found ===gt;Verifying install for iconv.3 in /usr/ports/converters/libiconv ===gt; libiconv-1.13.1 depends on file: /usr/local/lib/libxul/libxul.so - not found ===gt;Verifying install for /usr/local/lib/libxul/libxul.so in /usr/ports/www/libxul ken. On Tue, 12 Jan 2010 23:42:38 +0600 Scot Hetzel lt;swhet...@gmail.comgt; wrote On 1/12/10, keneasson lt;keneas...@zoho.comgt; wrote: gt; Hi thanks for the reply. gt; I'm worried that changing WITH_GECKO will try and rebuild firefox2 which is marked IGNORE. It took me a long time to get that resolved. gt; gt; Here is a bit of my portmaster -a log, it's pretty clear that there is a dependency loop. gt; gt; portmaster -a amp;gt; pormasterbuild.log gt; /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by pg_config gt; /libexec/ld-elf.so.1: Shared object libiconv.so.3 not found, required by httpd gt; [: -le: argument expected gt; gt; ... I would suggest you check the /var/db/pkg/libiconv*/+CONTENTS file to see if it contains any extra dependencies. The begining of my libiconv*/+CONTENTS file only contains this: @comment PKG_FORMAT_REVISION:1.1 @name libiconv-1.13.1 @comment ORIGIN:converters/libiconv @cwd /usr/local man/man1/iconv.1.gz @comment MD5:5c4f3aa5c04f006466355e377b1a2560 : There should be no @pkgdep or @comment DEPORIGIN lines in this file. If you have these in there, then remove them as libiconv has no dependencies. Scot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
(no subject)
On Tue, Jan 12, 2010 at 12:29 PM, keneasson keneas...@zoho.com wrote: I did a pkg_delete for both libiconv and libxul in the hope that this would clear any stale depends from firefox2 days causing me these problems. : #cd ../../devel/libtool22 local# make === libtool-2.2.6b depends on file: /usr/local/lib/libxul/libxul.so - not found ===Verifying install for /usr/local/lib/libxul/libxul.so in /usr/ports/www/libxul libtool22 has no dependencies, this points to something in your environment is causing the GECKO port to be included as a dependency. Check your /etc/make.conf, and/or /usr/local/etc/ports.conf (if using ports-mgmt/portconf) for USE_GECKO. Scot ___ 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: watching WebEx session on FreeBSD
On Tue, 12 Jan 2010, Matthias Apitz wrote: El d?a Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribi?: On Tue, 12 Jan 2010, Matthias Apitz wrote: Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Thanks for the hint; I looked around there but can not see any WebEx Business Suite 27 (WBS27) client to down load; is this part of the 14day Free Trial? Sorry, I don't know. My experience was with the Windows version some time back. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't update system.
On Tue, Jan 12, 2010 at 12:51 PM, Scot Hetzel swhet...@gmail.com wrote: On Tue, Jan 12, 2010 at 12:29 PM, keneasson keneas...@zoho.com wrote: I did a pkg_delete for both libiconv and libxul in the hope that this would clear any stale depends from firefox2 days causing me these problems. : #cd ../../devel/libtool22 local# make === libtool-2.2.6b depends on file: /usr/local/lib/liul/libxul.so - not found === Verifying install for /usr/local/lib/libxul/libxul.so in /usr/ports/www/libxul libtool22 has no dependencies, this points to something in your environment is causing the GECKO port to be included as a dependency. Check your /etc/make.conf, and/or /usr/local/etc/ports.conf (if using ports-mgmt/portconf) for USE_GECKO. Also check these files for WANT_GECKO. dv8t01# pwd /usr/ports/devel/libtool22 dv8t01# make -V LIB_DEPENDS dv8t01# make -V LIB_DEPENDS WANT_GECKO=libxul cairo.2:/usr/ports/graphics/cairo jpeg.10:/usr/ports/graphics/jpeg nspr4:/usr/ports/devel/nspr nss3:/usr/ports/security/nss png.5:/usr/ports/graphics/png Xft.2:/usr/ports/x11-fonts/libXft iconv.3:/usr/ports/converters/libiconv atk-1.0.0:/usr/ports/accessibility/atk glib-2.0.0:/usr/ports/devel/glib20 gtk-x11-2.0.0:/usr/ports/x11-toolkits/gtk20 IDL-2.0:/usr/ports/devel/libIDL pango-1.0.0:/usr/ports/x11-toolkits/pango Scot ___ 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: watching WebEx session on FreeBSD
On 01/12/10 11:12, Matthias Apitz wrote: El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribió: On Tue, 12 Jan 2010, Matthias Apitz wrote: Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Thanks for the hint; I looked around there but can not see any WebEx Business Suite 27 (WBS27) client to down load; is this part of the 14day Free Trial? matthias You should be able to try this using the online demo. http://www.webex.com/go/live_demo if it works the download will be automatic. I am still trying to make it work as well. -Colin ___ 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: ISO image size -regarding
Hi, To update all, I followed Roland's suggestion and installed isomaster and just opened the iso file (1GB) and saved it again and it 'magically' shrank to 570 MB. The new ISO was burned and tested on a physical machine and it works fine. Thanks Roland ! I tried Ian's suggestion and copied from the ISO file and can confirm that his recommended changes did the trick and the ripped files only measure 570 MB making it easier to use mkisofs . Thanks Ian ! Cheers Scott On Sat, Jan 9, 2010 at 6:04 AM, Ian Smith smi...@nimnet.asn.au wrote: In freebsd-questions Digest, Vol 292, Issue 14, Message: 12 On Fri, 8 Jan 2010 16:41:24 -0800 Knight Tiger cau...@gmail.com wrote: Hi, I am trying to create a custom ISO image of FreeBSD 6.4. The only difference between the release ISO and this custom image is a modified driver (amdsmb.ko). I did not create the new driver. I believe it was backported from a later release. I understand that this is not a backport of the driver but a hack but the ISO size surprises me. The steps I had followed (listed below) resulted in an ISO image of around 1 GB while the original ISO image is around 600 MB. The new image work boots fine but I am not sure why it is huge Steps: // mount the release ISO # mdconfig -a -t vnode -f 6.4-RELEASE-i386-disc1.iso -u 0 # mount_cd9660 /dev/acd0 /mnt # pwd /usr/home/scott # mkdir custom # cd custom // copy iso files to custom # rsync -a /mnt . Hi Scott, nearly all in /rescue are hardlinks to one big executable, and there are also hardlinks in /bin and /sbin, hence your size difference. rsync(1): Note that -a does not preserve hardlinks, because finding multi- ply-linked files is expensive. You must separately specify -H. Note also that for compatibility, -a currently does not include --flags (see there) to include preserving change file flags (if supported by the OS). # scp sc...@remote:/boot/kernel/amdsmb.ko boot/kernel/. // wrap up in a ISO # cd .. #mkisofs -R -b boot/cdboot -no-emul-boot -o custom.iso custom The ISO file is created successfully but is huge. I mounted it in VirtualBox and boots just fine. I was able to install the OS (although I have not checked the functionality of amdsmb changes yet) I looked up information on creating custom ISO images but they had all involved rebuilding the kernel while I am not sure if I need to do the same Any leads is appreciated. Yes, running make release might be just a tad over the top for this :) cheers, Ian ___ 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: Jails - Ethernet data vs IP data
On 01/09/10 21:21, Tim Judd wrote: I bought a new SiliconDust HDHomeRun device which brings two Digital coaxial tuners to an ethernet network. From what I read and understand about the HDHomeRun (HDHR), is that it does have an IP address assigned to the system, but all packets of video are actually just raw Ethernet packets/data that has it's own payload and protocol. The port MythTV (to which I'm starting to love) maintainer has marked the two pieces of MythTV as conflicting ports (I'll address to the maintainer directly), so I build the frontend (the user interface if you will) on the host, because it needs lots of X11/xorg. The backend runs as a daemon talking with MySQL to manage everything. Since they conflict, the backend goes onto a jail. I have to port-compile the backend every time, the packages have missing dependencies. It takes quite a while. I know the HDHR is online, I can watch the video without MythTV interaction, but the jailed backend isn't seeing it. So I was hoping to see if I can query the group and see if raw ethernet data can be delivered to a jail, or if I'm just fishing in the empty fish bowl trying to get this to work in a jail. Thanks forANY input in regards to limits the jail system might have. This is on a golden 8.0-RELEASE i386, haven't updated it yet. Take a look at the security.jail.allow_raw_sockets sysctl, or the allow.raw_sockets jail parameter (probably the former since the jail parameters don't have good rc support yet). By default, jails aren't allowed to create the raw sockets necessary for direct ethernet communication. Setting security.jail.allow_raw_sockets=1 should allow that. You might also need to clear security.jail.socket_unixiproute_only (or set allow.socket_af) - not sure about that. - Jamie ___ 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: sendmail issues - make fails to create aliases.db in /etc/mail
On Tue, Jan 12, 2010 at 11:09:54AM -0700, Warren Block wrote: On Tue, 12 Jan 2010, Jim wrote: make in /etc/mail fails (silently) to create aliases.db. I touched all the source files I modified to make sure they would be rebuilt (since the last rebuild failed). Just tried it here successfully, although I'd usually do newaliases. [r...@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases sendmail: -O option ignored ... postalias: dict_eval: const Postfix ... postalias: open hash /etc/aliases Looks like you're using postfix pretending to be sendmail. Evidently postfix doesn't build aliases.db the same way. You might try newaliases. Yeah, that might work. I had troubles with aliases and the database and it didn't resolve itself until I ran newaliases. But newaliases is just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf with newaliases which point to the *real* binary. That's where things disappear down the rabbit hole. Are you trying to run sendmail as postfix? -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
cross compiler for x86_64 freebsd
I am trying to build a crosscompiler (gcc-4.1.2, binutils-2.15, freebsd-8.0) with target as x86_64-freebsd and host as i686-linux. Everything builds successfully but compiler-assist libraries (libgcc_s, libstdc++, etc.) are Linux library, not a FreeBSD one. $ file gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8 gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped If I build with binutils-2.17.50.15 everything is fine. $ file gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8 gcc-4.1.2/x86_64-freebsd8.0/lib/libstdc++.so.6.8: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped Same is the case for freebsd6.0,6.3 ___ 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: watching WebEx session on FreeBSD
On 01/12/10 14:23, Colin Albert wrote: On 01/12/10 11:12, Matthias Apitz wrote: El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribió: On Tue, 12 Jan 2010, Matthias Apitz wrote: Has someone had luck with watching a WebEx session on FreeBSD based desktop? As far as I understand, it is somehow Flash and RDP based, i.e. some tools like Firefox with flash and a RDP client are required. I'm always forced to launch a VM with XP to watch such sessions and it would be good for me to overcome this situation. The Linux Webex client might work. http://support.webex.com/support/system-requirements.html says it'll run under Fedora 10, and linux_base-f10 works well. Thanks for the hint; I looked around there but can not see any WebEx Business Suite 27 (WBS27) client to down load; is this part of the 14day Free Trial? matthias You should be able to try this using the online demo. http://www.webex.com/go/live_demo if it works the download will be automatic. I am still trying to make it work as well. -Colin Followup: I was able to make this work by changing my user agent from: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091106 Firefox/3.5.5 to: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091106 Firefox/3.5.5 So it looks like linux_base-f10 is not required. The first time I tried this firefox crashed. Then I opened firefox from the command line to see if I could see the error, and it is working now. I am still testing to see what functionality does/does not work. I am using 8.0 Stable with diablo 1.6 and firefox 3.5.5. Thanks, -Colin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1
1.add WITHOUT_X11=yes in /etc/make.conf 2.remove X11BASE= from that file and 4.make all-depend-list 5.make clean all depend soft 6.make menuconfig set X11 disable 7.make make install 2010/1/12 Don O'Neil li...@lizardhill.com: Ok.. just for grins I installed a new instance of 6.1, NO Patches, just straight off the ISO... I loaded the ports that came WITH the distro, and was able to make php 5.1.2 ok... When I did a portsnap fetch, portsnap extract, then went into the /usr/ports/lang/php5 and just typed make I get the same error... SO as it seems, the port is broken, at least for working with FreeBSD 6.1. Can anyone give me some hints on how to build this sucker by hand? Seems as though there are a bunch of patches that are referenced in the distinfo file. I REALLY need to get this taken care of asap, any help is appreciated. Thanks! I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Remove them. This makes sure they are not defined, not even empty (as in #define BLA - symbol 'BLA' is defined). Where to go from here? Do I have and old version of something that is causing this? I get this error _right away_ before anything is even built. It seems to be a check by the Makefile at port's top level. Ok... I have no definition for X11BASE anywhere, not in my env, not in my /etc/make.conf, nowhwere... However, it's still complaining about X11BASE being deprecated. I tried just adding WITHOUT_X11=yes in /etc/make, and without it. I even searched all the Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find any reference to X11, or X, or X11BASE, but nada... I don't even know where this error message is being generated from. I can't even do a basic make without it immediately spitting out the error: # make X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Stop. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS on top of GELI
2010/1/12 Rafał Jackiewicz free...@o2.pl: Thanks, could you do the same, but using 2 .eli vdevs mirrorred together in a zfs mirror? - Sincerely, Dan Naumov Hi, Proc: Intell Atom 330 (2x1.6Ghz) - 1 package(s) x 2 core(s) x 2 HTT threads Chipset: Intel 82945G Sys: 8.0-RELEASE FreeBSD 8.0-RELEASE #0 empty file: /boot/loader.conf Hdd: ad4: 953869MB Seagate ST31000533CS SC15 at ata2-master SATA150 ad6: 953869MB Seagate ST31000533CS SC15 at ata3-master SATA150 Geli: geli init -s 4096 -K /etc/keys/ad4s2.key /dev/ad4s2 geli init -s 4096 -K /etc/keys/ad6s2.key /dev/ad6s2 Results: *** single drive write MB/s read MB/s eli.journal.ufs2 23 14 eli.zfs 19 36 *** mirror write MB/s read MB/s mirror.eli.journal.ufs2 23 16 eli.zfs 31 40 zfs 83 79 *** degraded mirror write MB/s read MB/s mirror.eli.journal.ufs2 16 9 eli.zfs 56 40 zfs 86 71 Thanks a lot for your numbers, the relevant part for me was this: *** mirror write MB/s read MB/s eli.zfs 31 40 zfs 83 79 *** degraded mirror write MB/s read MB/s eli.zfs 56 40 zfs 86 71 31 mb/s writes and 40 mb/s reads is something that I guess I could potentially live with. I am guessing the main problem of stacking ZFS on top of geli like this is the fact that writing to a mirror requires double the CPU use, because we have to encrypt all written data twice (once to each disk) instead of encrypting first and then writing the encrypted data to 2 disks as would be the case if we had crypto sitting on top of ZFS instead of ZFS sitting on top of crypto. I now have to reevaluate my planned use of an SSD though, I was planning to use a 40gb partition on an Intel 80GB X25-M G2 as a dedicated L2ARC device for a ZFS mirror of 2 x 2tb disks. However these numbers make it quite obvious that I would already be CPU-starved at 40-50mb/s throughput on the encrypted ZFS mirror, so adding an l2arc SSD, while improving latency, would do really nothing for actual disk read speeds, considering the l2arc itself would too, have to sit on top of a GELI device. - Sincerely, Dan Naumov ___ 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
Endianness
I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. -- Rob Farmer ___ 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: Endianness
On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1
This is _exactly_ what I did, and as soon as I try a 'make all-depend-list' the error shows up. I don't even have the X11 system installed (it's a headless server, with no GUI). This is on a CLEAN 6.1 install, without any upgrades/patches, just straight off the ISO install and after a portsnap install/extract. I tried building it _before_ I updated the ports and it would build a 5.1.2 php ok, but I need 5.2.12. Something has changed in the port between 5.1.2 and 5.2.12 1.add WITHOUT_X11=yes in /etc/make.conf 2.remove X11BASE= from that file and 4.make all-depend-list 5.make clean all depend soft 6.make menuconfig set X11 disable 7.make make install 2010/1/12 Don O'Neil li...@lizardhill.com: Ok.. just for grins I installed a new instance of 6.1, NO Patches, just straight off the ISO... I loaded the ports that came WITH the distro, and was able to make php 5.1.2 ok... When I did a portsnap fetch, portsnap extract, then went into the /usr/ports/lang/php5 and just typed make I get the same error... SO as it seems, the port is broken, at least for working with FreeBSD 6.1. Can anyone give me some hints on how to build this sucker by hand? Seems as though there are a bunch of patches that are referenced in the distinfo file. I REALLY need to get this taken care of asap, any help is appreciated. Thanks! I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Remove them. This makes sure they are not defined, not even empty (as in #define BLA - symbol 'BLA' is defined). Where to go from here? Do I have and old version of something that is causing this? I get this error _right away_ before anything is even built. It seems to be a check by the Makefile at port's top level. Ok... I have no definition for X11BASE anywhere, not in my env, not in my /etc/make.conf, nowhwere... However, it's still complaining about X11BASE being deprecated. I tried just adding WITHOUT_X11=yes in /etc/make, and without it. I even searched all the Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find any reference to X11, or X, or X11BASE, but nada... I don't even know where this error message is being generated from. I can't even do a basic make without it immediately spitting out the error: # make X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Stop. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.725 / Virus Database: 270.14.136/2616 - Release Date: 01/11/10 23:35:00 ___ 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: Endianness
David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. SPARC is big endian. Or at least it used to be. Power4,5,6 are all big endian too if I'm not mistaken. Correct me if I'm wrong but anything based around the CISC architecture is big endian. ___ 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: Endianness
Kaya Saman samank...@netscape.net writes: David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. SPARC is big endian. Or at least it used to be. Power4,5,6 are all big endian too if I'm not mistaken. Correct me if I'm wrong but anything based around the CISC architecture is big endian. As the original poster observed, PowerPC, Sparc and IA64 are all capable of being used in either endian setting. I checked endian.h, and it looks as though FreeBSD uses Sparc as big-endian, IA64 as little-endian, and PowerPC as whatever it picks up from gcc (probably big-endian, since the architecture does funny things with alignment in little-endian mode. My best advice, though, is to suggest that Mr. Farmer shouldn't assume that the application will work anywhere without actually trying it. -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: Endianness
On 2010-01-12 22:04, David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. ia64 (Itanium) hardware has selectable endianess. I've never worked with Itanium in any OS, so I can't say whether FreeBSD supports selecting or is fixed at either little- or bigendian. ___ 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: Endianness
On Tue, Jan 12, 2010 at 11:29:21PM +0200, Kaya Saman wrote: David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: [...] I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. SPARC is big endian. Or at least it used to be. Power4,5,6 are all big endian too if I'm not mistaken. Correct me if I'm wrong but anything based around the CISC architecture is big endian. Believe the O.P. is asking, What endian is FreeBSD on these architectures? If I was making an application that needed endian information then I'd look in arpa/inet.h and machine/endian.h to discover what I was running on. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ 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: zpool upgrade - is it safe?
2010/1/12 Rolf Nielsen listrea...@lazlarlyricon.com Hi all, I just upgraded to a more recent version of 8.0-STABLE, and I noticed during boot that zfs had changed from version 13 to version 14. Is it safe to run zpool upgrade -a on a system while in multiuser, or will I have to take some security measures, such as creating a complete backup and/or booting into singleuser? Rolf Nielsen ___ 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 Its fine to upgrade a pool in multi user mode as it is with most things zfs. However beware when up upgrade a pool as once you have you cant go back, and if you want the revert to your previous install you wont be able to. Therefore a general rule of thumb is unless you need a new feature on a new pool version dont upgrade it. A least wait a few weeks until your new install is fully bedded in and tested ___ 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: Endianness
On Tue, Jan 12, 2010 at 1:51 PM, David Kelly dke...@hiwaay.net wrote: On Tue, Jan 12, 2010 at 11:29:21PM +0200, Kaya Saman wrote: David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: [...] I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. SPARC is big endian. Or at least it used to be. Power4,5,6 are all big endian too if I'm not mistaken. Correct me if I'm wrong but anything based around the CISC architecture is big endian. Believe the O.P. is asking, What endian is FreeBSD on these architectures? If I was making an application that needed endian information then I'd look in arpa/inet.h and machine/endian.h to discover what I was running on. Ah - thanks for the pointer - I was looking at /src/sys/sys/endian.h rather than the machine specific versions, which is why I didn't get anything out of it. For the archives, it appears that amd64, arm, i386, ia64, and pc98 are little endian. -- Rob Farmer -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Endianness
On Tue, Jan 12, 2010 at 1:47 PM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Kaya Saman samank...@netscape.net writes: David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. SPARC is big endian. Or at least it used to be. Power4,5,6 are all big endian too if I'm not mistaken. Correct me if I'm wrong but anything based around the CISC architecture is big endian. As the original poster observed, PowerPC, Sparc and IA64 are all capable of being used in either endian setting. I checked endian.h, and it looks as though FreeBSD uses Sparc as big-endian, IA64 as little-endian, and PowerPC as whatever it picks up from gcc (probably big-endian, since the architecture does funny things with alignment in little-endian mode. My best advice, though, is to suggest that Mr. Farmer shouldn't assume that the application will work anywhere without actually trying it. Well, the upstream author states in the documentation that there are endian problems and to use it only on little endian machines. I don't have any hardware that is non-i386/amd64 and about a year ago when I tried to cross build to powerpc in tinderbox it didn't work, so I can't really do that. -- Rob Farmer -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: Endianness
Rob Farmer rfar...@predatorlabs.net writes: On Tue, Jan 12, 2010 at 1:47 PM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: As the original poster observed, PowerPC, Sparc and IA64 are all capable of being used in either endian setting. I checked endian.h, and it looks as though FreeBSD uses Sparc as big-endian, IA64 as little-endian, and PowerPC as whatever it picks up from gcc (probably big-endian, since the architecture does funny things with alignment in little-endian mode. My best advice, though, is to suggest that Mr. Farmer shouldn't assume that the application will work anywhere without actually trying it. Well, the upstream author states in the documentation that there are endian problems and to use it only on little endian machines. I don't have any hardware that is non-i386/amd64 and about a year ago when I tried to cross build to powerpc in tinderbox it didn't work, so I can't really do that. I didn't mean to imply that you need to check, just that it's likely to not work (regardless of endianness) and you should be aware of that. powerpc and sparc aren't tier-1 architectures anyway, so ordinary users are unlikely to run into them, and there are probably lots of ports that won't run on them. The tinderbox doesn't even build for powerpc. -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: denying spam hosts ssh access - good idea?
Anton Shterenlikht wrote: - why not let your firewall do the blocking? If your blocking is IP based that's the place to block. I'm already under the University firewall. Only port 22 is let through. But even that filles my logs. What I meant was that if you want to block IPs or ranges of IPs then a firewall is the place to block, it's efficient and simple. If your university firewall doesn't satisfy you there is nothing that hinders you from configuring firewall rules on your server. Cheers, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sendmail issues - make fails to create aliases.db in /etc/mail
Looks like you're using postfix pretending to be sendmail. Evidently postfix doesn't build aliases.db the same way. You might try newaliases. I tried that, but it had an identical result. -Jim Stapleton ___ 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: sendmail issues - make fails to create aliases.db in /etc/mail
Yeah, that might work. I had troubles with aliases and the database and it didn't resolve itself until I ran newaliases. But newaliases is just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf with newaliases which point to the *real* binary. That's where things disappear down the rabbit hole. Are you trying to run sendmail as postfix? I did install postgress, I didn't expect it to make any changes (I had planned on potentially fiddling with it at some point, so I wanted it in the jail template). I'm assuming it must have made modifications to my system replacing sendmail with it? Thanks -Jim Stapleton ___ 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: zpool upgrade - is it safe?
On 2010-01-12 22:57, krad wrote: 2010/1/12 Rolf Nielsen listrea...@lazlarlyricon.com mailto:listrea...@lazlarlyricon.com Hi all, I just upgraded to a more recent version of 8.0-STABLE, and I noticed during boot that zfs had changed from version 13 to version 14. Is it safe to run zpool upgrade -a on a system while in multiuser, or will I have to take some security measures, such as creating a complete backup and/or booting into singleuser? Rolf Nielsen ___ freebsd-questions@freebsd.org mailto: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 mailto:freebsd-questions-unsubscr...@freebsd.org Its fine to upgrade a pool in multi user mode as it is with most things zfs. However beware when up upgrade a pool as once you have you cant go back, and if you want the revert to your previous install you wont be able to. Therefore a general rule of thumb is unless you need a new feature on a new pool version dont upgrade it. A least wait a few weeks until your new install is fully bedded in and tested Thanka. Since I have no idea what passthrough-x aclinherit support does and I've been fine without it so far, I guess I'll stick with version 13 for now then. :) ___ 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: sendmail issues - make fails to create aliases.db in /etc/mail
On Tue, 2010-01-12 at 18:11 -0500, Jim wrote: Yeah, that might work. I had troubles with aliases and the database and it didn't resolve itself until I ran newaliases. But newaliases is just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf with newaliases which point to the *real* binary. That's where things disappear down the rabbit hole. Are you trying to run sendmail as postfix? I did install postgress, I didn't expect it to make any changes (I had planned on potentially fiddling with it at some point, so I wanted it in the jail template). I'm assuming it must have made modifications to my system replacing sendmail with it? caution: i'm replying from evo which does not allow vi[m], so this may be [even more] disjointed than usual... yes, if you have installed anything over sendmail, the chances are that it made internal mods to various files that sendmail needs. i've used sendmail by-default since 2.0.5 and it was a serious challenge from SVR4 that i had used since about 1986. i've stuck with sendmail more out of an unwillingness to have to mess with something new. more-on-my-plate i don't need. prob'ly the same for 98% of the list. can you make copies of everything you have as-is now? as root #cd / ; # cp -rp /etc /etc.bak; and the rest of what you can find? this way, you'll at least be able to put things back the way they are at this moment if goinf ahead stalls. after you have back-up, rebuild your os and install sendmail from ports. /usr/mail/sendmail. there are some sendmail-related things in the ports tree you may want to look into now or later. at any rate, build the port and try a make -n install to see what the install would do without the -n ... see where things get stored. ---in face, that is one way of finding where sendmail has its files and directories now--- after you are satisfied that nothing serious will break finish the ports install with make install clean then reboot and test out the new port. i keep [[[ KEPT; past tense ]]] a huge file of IPs and hostnames in /etc/mail/access[.db]i still deny some sites that i can't discourage with spamblockers in the /etc/mail/access file. so, from time to time i keep .bak files/directories myself. hth. gary Thanks -Jim Stapleton ___ 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: sendmail issues - make fails to create aliases.db in /etc/mail
On Tue, 12 Jan 2010, Jim wrote: Looks like you're using postfix pretending to be sendmail. Evidently postfix doesn't build aliases.db the same way. You might try newaliases. I tried that, but it had an identical result. If you want to keep postfix, you'll have to figure it out separately. From the verbose messages, it looked like it may have put aliases.db in /etc, not /etc/mail. Did you install postfix from ports? If you want to go back to sendmail, deinstalling the postfix port may restore /etc/mail/mailer.conf to the original state. Otherwise, see the man page for mailer.conf. -Warren Block * Rapid City, South Dakota USA___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Endianness
On Tue, 12 Jan 2010 12:51:00 -0800 Rob Farmer rfar...@predatorlabs.net wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. Perhaps your makefile could check endianess on the build machine and set IGNORE if it's bigendian, e.g. if the output of file /bin/ls doesn't contain LSB. ___ 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
cannot install apache22 on FBSD 8.0
Gentlemen, I am absolutely stupefied by apache22, php5, php5-extensions and phpmysql refusing to be updated or installed I did manage to do one installation on a freshly upgraded box from 7.2 to 8.0 but with very frustrating and time consuming efforts. I still don't know how I managed, but it seems to work, for the moment anyway. Could someone explain to me why there is a problem with apache22, php5 and the rest - when doing an upgrade from 7.2 to 8.0. I followed the instructions in the handbood to the letter and both times there is a problem. Am I doing something that is not evident in the instructions. Even the apache site states very clearly that and update is about as simple as could be. The long list of errors when installing apache seem to deal with a lot of undeclared stuff (first use in this function) for a lot of uldap stuff like cache, connection etc. etc. How does one deal with this as there seems to be nothing on google. TIA ___ 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: Intel PRO/Wireless 2100 ipw WPA
I've entered PR kern/142766 for this. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org