Re: Which environment variable?
On Monday 14 January 2008 09:35:41 Matiss wrote: Is there such environment variable, which changes window title for putty? No there is no such variable, that I am aware of. You just have to send some control characters to the terminal to change its title. How to send these characters really depends on your shell. How do I change that title to let's say server name for my shell? You could use something like this in your ~/.bash_profile if you use bash. echo -en \033]0;`hostname`\007 The above sends: 1) ASCII \033 2) ] 3) 0 4) ; 5) the_hostname 6) ASCII \007 The idea is that you should initiliaze the xterm's title at login time. Check the page below for your favorite shell. There are even two workaround in Perl and C in case your shell has no easy way to send the control characters. http://tldp.org/HOWTO/text/Xterm-Title HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which environment variable?
On Mon, 14 Jan 2008 09:35:41 +0200 Matiss said: Is there such environment variable, which changes window title for putty? I mean, MC is able to change it to working dir I think.. How do I change that title to let's say server name for my shell? Thanks :) man xprop Or for the terminally lazy, cat xtitle #!/bin/sh # # gets/sets xterm title # me=`basename $0` usage=Usage : $me [pwd | new title ... ] ('pwd' sets it to the current directory); Adjective='Current' while [ $# -gt 0 ] do case $1 in --help | -help | -h | -\?) echo; echo $usage; exit 0;; -*) echo $me: Unrecognized switch: $1 ($me -help to show valid options); exit 1;; pwd) Adjective='New'; Title=`pwd`;; *) Adjective='New'; Title=$1; while [ $# -gt 1 ] do shift;Title=$Title $1; done;; esac shift done if [ -n $Title ] then xprop -id $WINDOWID -set WM_NAME $Title; fi Title=`xprop -id $WINDOWID | grep WM_NAME | cut -d= -f2` echo $Adjective 'title :' $Title exit 0 -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID mirror really worked
On Mon, 14 Jan 2008 07:48:09 +0100 (CET) Wojciech Puchar wrote: gmirror works too very good without any hardware :) Yes, but a hardware RAID works without the OS having to know about it. :-) Regards, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing the output of uname -m or -p
On Mon, 14 Jan 2008 01:03:42 +0100 Kris Kennaway wrote: Can this even be done and if so how? See the manpage, and the UNAME_* variables. One other thing: Will that change the way the system reacts in any way? Apps should run normally (well, a browser may give a wrong plattform information but that should be it). But what happens if you try to compile something? Will a wrong plattform or CPU variable screw up what the compiler spits out? Could be rather unhealthy if the compiler optimizes code for a sun4u on an i386. :-) Regards, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AFS ... or equivalent ...
Marc G. Fournier wrote: Does anyone know if there is any serious work being done to get AFS working under FreeBSD? I have a large project that I'm working on that AFS (or something equivalent) would be *very* useful for, but we're trying to keep it as FreeBSD-pure as possible ... Yes. Please get in touch with any of the people CC'ed in this list. I believe Matt Benjamin is the one who is actually getting serious on this project. Patches were even mentioned in a recent email. I recall Jim Rees is knowledgeable on AFS. I also think one Derrick J. Brashear was interested/knowledgeable too, but I don't have his address handy. If I misrepesented anyone please feel free to correct me. Matt, if you do not know Marc, look up Postgresql. Marc is the port maintainer for postgresql as well as a postgres developer. (iirc) Me, I am just a user who put together an ugly, ugly little FreeBSD port a long time ago in the hope that it would inspire some people who were qualified to do real work to pick it up and run with it. There are a couple mailing lists suitable for FreeBSD porting discussions. One is run by the OpenAFS people and the other is run by FreeBSD people. Sorry for the spam and cross posts. It seems like the interest in OpenAFS on FreeBSD is building. I hope that this message will put the right people in touch with each other and that maybe a concerted effort to port OpenAFS to FreeBSD will arise. Later, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinterpret gamepad input as keyboeard input
On Mon, 14 Jan 2008 08:12:51 +0100 Christopher Illies wrote: I tried out usbhidaction with something like: Generic_Desktop:Game_Pad.Button:Button_1 1 1 /bin/echo -n ls Obviously, this approach does not work as I hoped. ls is echoed in a shell window, but it is not interpreted as input. Then use the command directly: /bin/sh -c ls Regards, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which is the Latest Clustering Tools for FreeBSD7.0
Dear Friends, Am Interested to know more about the Latest Clustering tools available in FreeBSD 7.0 What am looking for is Load Balancing cluster + High Availability cluster Is SG Cluster Still active project ? [http://turtle.ee.ncku.edu.tw/sgcluster/ ] The Pico BSD mentioned in this page is very very old one. Features of SG Attracted me : { Manageable - It is very simple to install and a friendly web user interface is available to ease the administration. Single Image - It transparently clusters back-end servers running different platforms into a single system that appears as a single server to the client Scalable - The system service capacity can be increased by adding new servers to the cluster Load Balancing - It automatically routes incoming requests to the least loaded servers for optimal performance. Fault Tolerant - SG load balancer monitors the availability of back-end servers and only routes client's requests to those alive ones. More than one load balancers can be setup to avoid the single point of failure in the whole system. High Availability - SG cluster can mask the faults on load balancer or back-end servers if there are sufficient redundancies. It also keeps service available when doing system upgrad } But the package mentioned to setup is very very old. Any one having experience in Latest Clustering, please point me the Right URL. (Am very beginner) Applications am Willing to run in Very Large Scale are : Apache + PHP + MySQL + FastCGI + C++ Based Custom Web Based Application + PostgreSQL on Top of FreeBSD 7.0 Thanks in advance. -- // // Susanth K // // Knowledge is the only treasure that increase on sharing // ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AFS ... or equivalent ...
The server runs on FreeBSD as far as I know. There is a client, and I think it still builds if you apply Matt's patches, which are in the OpenAFS bug tracking system. But it doesn't run. No one is actively maintaining the FreeBSD port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No spam???
Last week I set up a brand new mail server with a combination of pf/ spamassassin/maildrop for spam filtering... Everything seems to work great. All real mail seems to be getting through. I monitored the spamd and maildrop logs during the first few days to make sure my very conservative spam settings (spamd marks email that scored higher than 5 as spam, and maildrop drops spam that scores higher than 12) to make sure that real mail isn't getting dropped. At the beginning of the week, I was getting a few spam a day in my spam folder. What has me spooked is that this whole weekend I got exactly one spam in my spam folder (a false positive, in fact). This is down from around 500 that I normally get per day (which is why I was keen to get an up-to-date mailserver!) I know this is an odd thing to worry about, but is this normal? Since the spam doesn't even seem to be reaching spamd, I'm guessing that the real hero is pf, which must be blocking 99.99% of spam at the packet level. Is this normal? TIA: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID mirror really worked
Hello, Christian. On 14 января 2008 г., 14:12:04 you wrote: CB On Mon, 14 Jan 2008 07:48:09 +0100 (CET) Wojciech Puchar wrote: gmirror works too very good without any hardware :) CB Yes, but a hardware RAID works without the OS having to know about it. :-) ...and its failures? ;) -- Best regards, Michael mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pfctl on wireless interfaces
I'm running tests on a few congestion control schemes which use pfctl to activate the respective queue controller. This works fine on interfaces with a fixed capacity as altq sets up the respective queue taking the bandwidth into consideration. On wireless interfaces however this capacity varies over time. an so altq's use of the declared capacity is overly optimistic (in my case, 54Mbps). This results in pfctl not queueing packets until this capacity has been met: the packets are queued at the interface as pfctl has no indication of the varying signal level. Is there anyway of either extracting the queue level directly from the interface card or, alternatively, forcing altq to take into consideration the signal level at any given time? The first seems more plausible, but I'm not really sure if the second would have other uses (priority queueing etc). Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AFS ... or equivalent ...
On Sun, 13 Jan 2008, Jason C. Wells wrote: Marc G. Fournier wrote: Does anyone know if there is any serious work being done to get AFS working under FreeBSD? I have a large project that I'm working on that AFS (or something equivalent) would be *very* useful for, but we're trying to keep it as FreeBSD-pure as possible ... Yes. Please get in touch with any of the people CC'ed in this list. I believe Matt Benjamin is the one who is actually getting serious on this project. Patches were even mentioned in a recent email. I recall Jim Rees is knowledgeable on AFS. I also think one Derrick J. Brashear was interested/knowledgeable too, but I don't have his address handy. If I misrepesented anyone please feel free to correct me. Matt, if you do not know Marc, look up Postgresql. Marc is the port maintainer for postgresql as well as a postgres developer. (iirc) Me, I am just a user who put together an ugly, ugly little FreeBSD port a long time ago in the hope that it would inspire some people who were qualified to do real work to pick it up and run with it. There are a couple mailing lists suitable for FreeBSD porting discussions. One is run by the OpenAFS people and the other is run by FreeBSD people. Sorry for the spam and cross posts. It seems like the interest in OpenAFS on FreeBSD is building. I hope that this message will put the right people in touch with each other and that maybe a concerted effort to port OpenAFS to FreeBSD will arise. Arla, which is just an AFS client, runs on some versions of FreeBSD, although typically not really recent ones. I spent a little time this summer looking at getting it updated to 7, but ran out of time. I'd like very much to get at least the kernel parts of an AFS client into the base system, as otherwise any AFS port (be it Arla, OpenAFS, etc) will constantly be falling behind and breaking as the base tree moves forward. Our VFS tends to change with moderate speed, and having it in the base tree will allow it to be updated as part of regular changes to our KPI by the author of the changes, rather than watching more and more ifdefs appear in a third-party tree. I'm happy to lend a hand with this, but I don't have the time (apparently) to drive a port forward myself right now. Robert N M Watson Computer Laboratory University of Cambridge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How backup huge pgsql ?
I want to known how can I make backup of huge postgresql database (huge mean ~ 2To). I can stop the access of the database during N1 hours. Any idea about this ? I came around this particular problem by setting up a read only mirror of an Oracle instance using Oracle DataGuard. Of course the product is Oracle-specific, but the idea should apply to PostgreSQL databases as well and its what we're in the process of installing here. The idea is to setup an identical but read-only copy of the production database on a seperate machine. This read-only copy is kept in sync with the production database using the various PostgreSQL High-Availability features (discussed here postgresql.org/docs/8.2/static/high-availability.html) Such as a Master-Slave Replication or a Synchronous Multi-Master Replication. Say you're using a Master-Slave Replication. With this setup, you can stop the Master-Slave replication before running the backup on the read-only copy on the slave machine. This way you have a consistent view of your data while you backup and the production database is still online. Once your backup is over, you simply turn on the replication again to update your slave's data with what has changed on the master while the replication was offline. Simple and effective. Beware, you will take a performance hit when you turn replication on. What's more, since you now have a read-only database, you can use it in your pre-production and test environments without any impact on your production systems. HTH, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID mirror really worked
gmirror works too very good without any hardware :) CB Yes, but a hardware RAID works without the OS having to know about it. :-) ...and its failures? ;) :) for mirroring there is almost no CPU overhead so buying extra hardware doesn't make sense at all. not mentioning that most of such hardware are actually normal disk controllers with extra soft in BIOS. these are supported by ataraid driver. much better is to use gmirror so it will be completely portable. and - with gmirror you DO NOT have to mirror/stripe/concat whole drives. and that's what i do most often - mirror important data but store unimportant data without it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which is the Latest Clustering Tools for FreeBSD7.0
Hi Susanth, On Mon, 14 Jan 2008, Susanth K wrote: Am Interested to know more about the Latest Clustering tools available in FreeBSD 7.0 Me too;-) Is SG Cluster Still active project ? [http://turtle.ee.ncku.edu.tw/sgcluster/ I don't know.. and have not used it. Sorry. Applications am Willing to run in Very Large Scale are : Apache + PHP + MySQL + FastCGI + C++ Based Custom Web Based Application + PostgreSQL on Top of FreeBSD 7.0 At my work place we have (FreeBSD based) Juniper DXes as a frontend to Red Hat boxes. With vanilla FreeBSD I could think of CARP/VRRP and pf incl. pfsync for redundancy on packet layer and pound as a web frontend (does reverse proxy, loadbalancing and heart-beat to mark failed servers). I did this before. I never run MySQL and PostgreSQL clustered, just in master/slave replication mode. Clustering at my workplace is done using MS SQL. We start a bigger Drupal project I am keen to know what PostgreSQL and MySQL offer in this regard these days (the MS SQL support in Drupal is a bit dubious) Regards Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
Written by Rudy on 01/10/08 18:58 Aryeh M. Friedman wrote: rm /usr/ports/distfiles/flashplugin/fp7_archive.zip An other way to fix it in some ways is to run a make makesum to update the distfile checksums The fp7_archive.zip was an odd case were I felt more comfortable deleting it -- hadn't see that error before (and didn't save it to cut and paste). I thought it was only my system, but apparently, others had this same issue with the fp7_archive.zip file. Maybe a new one was released with the same filename on adobe? Would makesum would blindly use what is in the /usr/ports/distfiles -- corrupt, man-in-the-middled, or whatever was there? I've never used makesum... I will RTFM. :) Rudy I haven't been following this thread, but FWIW make sure you disable the Composite extension on your X server, or the plugin will not work correctly. I'm not sure why, but without disabling Composite I've only gotten gray windows where the player should be. In xorg.conf: Section Extensions Option Composite Off EndSection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AFS ... or equivalent ...
On Mon, Jan 14, 2008 at 12:34:24AM -0400, Marc G. Fournier wrote: Hi ... I recently started working for a company that is using AFS to mirror their data between various data centers, in the US, Asia and the EU ... the idea is that the several thousand servers that are being run have access to identical information .. Now, depressingly enough, it looks like OpenAFS works on everything *but* BSD ... :( IBM AFS for AIX, Version 3.6 IBM AFS for Digital Unix, Version 3.6 IBM AFS for HP-UX, Version 3.6 IBM AFS for Linux, Version 3.6 IBM AFS for SGI IRIX, Version 3.6 IBM AFS for Solaris, Version 3.6 Does anyone know if there is any serious work being done to get AFS working under FreeBSD? I have a large project that I'm working on that AFS (or something equivalent) would be *very* useful for, but we're trying to keep it as FreeBSD-pure as possible ... Well, there is a client-only AFS project called Arla. I have been using it for about 1 1/2 years with no problem. But, it tends to be some versions behind in the FreeBSD it supports. Whoever supports it apparently doesn't have the time or other resources to keep up to the most recent FreeBSD versions. I have been told by persons who have done an AFS port here to a proprietary BSD based UNIX (but not any of the current free ones), that the difficuly part is the client and that the server is relatively easy to port. The reason being that the client has to reach deep in to the kernel, but the server does not - is pretty much sufficient unto itself. I know that one of the impediments in the past was the politics with the AFS group that was spun out of CMU, vs IBM vs some other interests and whose pocketbook was going to get gored all confounded with some claims for a newer, more wonderful thing called DFS which was supposed to obsolete AFS and also be integrated with a distrubuted queueing system, but which now seems like will never become real. But those issues are fairly ancient and mostly settled. OpenAFS seems to be the result and it runs well on the systems listed in the OP. So it would seem like folks could just ignore all that and move on to getting a good working OpenAFS port -- if only enough people could spare the resources for doing the necessary work. I would sure like to see both a good AFS client and an AFS server become well supported.OpenAFS has some new big technical issues to solve. Maybe having the smarts of FreeBSD contributing to the thinking, it would help those issues come to reasonable solutions too. jerry Thoughts? Pointers? - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHiuZQ4QvfyHIvDvMRAlRMAJ9mcK6kOCdkudVlTFzzoPuAqgMOWQCfTY9k QRN/4A2GvUni6jNsDX8Du/U= =Mtrv -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AFS ... or equivalent ...
For those of you who haven't seen this. Here is my rudimentary port. It is nothing more than the FreeBSD parts wrapped around the OpenAFS source. I think I was working on version 5 of FreeBSD but I don't recall for sure. This was version OpenAFS 1.4.2. It compiled. The kernel module loaded. I was able to get tokens using the system heimdal. I even got a directory listing via the client. Attempting to manipulate files resulted in an immediate panic. http://www.stradamotorsports.com/~jcw/openafs/ I would advise those who are interested to discuss and choose a mailing list for continuing the effort. We are currently writing four different lists in this thread. I'll test whatever you guys come up with. I'll be running FreeBSD-6.3 real soon now. Later, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which environment variable?
On Mon, Jan 14, 2008 at 09:35:41AM +0200, Matiss wrote: Is there such environment variable, which changes window title for putty? I mean, MC is able to change it to working dir I think.. How do I change that title to let's say server name for my shell? I think what you are referring to is the Xterm title so you need to do that using Xterm stuff. I set the titles in my xinitrc file. There is probably something you can do on the fly too, but I have never tried it. But, anyway, look at setting Xterm window titles. jerry Thanks :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trendnet TEG-PCITXR hw rev 3.0 re driver
Went looking for a cheap GigE PCI card to use with a 6.2 (6.3-PRERELEASE) stable system, and brought this home due to Microcenter not stocking Intel cards and me not wanting to wait for Newegg to ship one to me. I have the re driver built into the kernel, but this particular card is not recognized even though its supposed to be based on the Realtek 8169 chipset. Realtek has a linux driver download (of unknown quality) and that source has a mod time of 2/06, so I'm guessing it's not a reinvention of the wheel or a super-significant change. Anyone track these things close enough to know if there's something significant changed in this chipset family? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0 RC1 snd_hda headset sound only
Hi all I have installed 7.0 RC1 on my Dell XPS m1330 with Sigmatel HDA sound. snd_hda driver was patched with this http://people.freebsd.org/~ariff/READMEhttp://people.freebsd.org/%7Eariff/READMEinstructions. But still have audio only in headset and no sound on internal speakers. Any suggestions Thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No spam???
John Almberg wrote: Last week I set up a brand new mail server with a combination of pf/spamassassin/maildrop for spam filtering... Everything seems to work great. All real mail seems to be getting through. I monitored the spamd and maildrop logs during the first few days to make sure my very conservative spam settings (spamd marks email that scored higher than 5 as spam, and maildrop drops spam that scores higher than 12) to make sure that real mail isn't getting dropped. At the beginning of the week, I was getting a few spam a day in my spam folder. What has me spooked is that this whole weekend I got exactly one spam in my spam folder (a false positive, in fact). This is down from around 500 that I normally get per day (which is why I was keen to get an up-to-date mailserver!) I know this is an odd thing to worry about, but is this normal? Since the spam doesn't even seem to be reaching spamd, I'm guessing that the real hero is pf, which must be blocking 99.99% of spam at the packet level. Is this normal? TIA: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] How did you setup pf? You just have a 'generic' blacklist? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing the output of uname -m or -p
Christian Baer wrote: On Mon, 14 Jan 2008 01:03:42 +0100 Kris Kennaway wrote: Can this even be done and if so how? See the manpage, and the UNAME_* variables. One other thing: Will that change the way the system reacts in any way? Apps should run normally (well, a browser may give a wrong plattform information but that should be it). But what happens if you try to compile something? Will a wrong plattform or CPU variable screw up what the compiler spits out? Could be rather unhealthy if the compiler optimizes code for a sun4u on an i386. :-) It will confuse some things, yes. e.g. buildworld and ports, and maybe some things at runtime. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting Western Digital USB drive?
On Thu, Dec 13, 2007 at 11:02:29AM -0500, Jerry McAllister wrote: On Thu, Dec 13, 2007 at 10:53:38AM -0500, Patrick Baldwin wrote: I'm wondering if I need to format the USB drive for use with FreeBSD? I think you will have to use something to divide the disk in to more than one slice, each of which can be what you want - fat32, FreeBSD, etc. or maybe upgrade to a more recent FreeBSD. I tried it with Partition Magic, but it failed because it wouldn't recognize USB disks - not even the 8.0 version which claims it will. I haven't had time to try gparted or any others. Will do so soon. Just a followup. I finally got around to downloading the gparted boot disk and it worked just fine. I was able to muck with my external USB drive all I wanted. Not as pretty a display as Partition Magic but close and has the advantage that it works. jerry jerry On 12/12/07, Patrick Baldwin [EMAIL PROTECTED] wrote: Hi, I'm trying to mount a 160 GB Western Digital USB 2.0 drive on a FreeBSD 6.2 system. This seemed like it should be relatively simple, but: webmail# mount /dev/da0s1 /mnt/usbdrive mount: /dev/da0s1 on /mnt/usbdrive: incorrect super block OK, it seemed a good chance the USB drive was formatted with NTFS, so I tried: webmail# mount_ntfs /dev/da0s1 /mnt/usbdrive mount_ntfs: /dev/da0s1: Invalid argument Further reading on mount_ntfs suggested that even if I got it to work, it's not quite what I want: I want read write access with compressed files supported. dmesg: umass0: Western Digital External HDD, rev 2.00/1.04, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: WD 1600BEV External 1.04 Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x), rev 1.00 port 1 addr 2: high speed, self powered, config 1, External HDD(0x0702), Western Digital(0x1058), rev 1.04 port 2 powered port 3 powered port 4 powered Any help appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinterpret gamepad input as keyboeard input
On Jan 14 at 08:12 +0100, Christopher Illies wrote: I have a gamepad and would like to make certain gamepad actions to be seen as regular keyboard input. Is this possible? I tried out usbhidaction with something like: Generic_Desktop:Game_Pad.Button:Button_1 1 1 /bin/echo -n ls Obviously, this approach does not work as I hoped. ls is echoed in a shell window, but it is not interpreted as input. Would vkbd(4) do the trick? Tim. pgpm9E5W59eGC.pgp Description: PGP signature
Re: HOW-TO get Flash7 working!
Does anyone else have audio/video sync issues with linux-flashplugin7? Following the general procedure outlined in this thread, linux-flashplugin7 does work...sort of. The video proceeds the audio. This holds true for linux-opera and linux-firefox. The synch gap widens as time progresses. In a 5 minute clip, the offset is probably 5-10 seconds or more. Anyone else? -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No spam???
On Mon, 14 Jan 2008, John Almberg wrote: [...] At the beginning of the week, I was getting a few spam a day in my spam folder. What has me spooked is that this whole weekend I got exactly one spam in my spam folder (a false positive, in fact). This is down from around 500 that I normally get per day (which is why I was keen to get an up-to-date mailserver!) I know this is an odd thing to worry about, but is this normal? Since the spam doesn't even seem to be reaching spamd, I'm guessing that the real hero is pf, which must be blocking 99.99% of spam at the packet level. Is this normal? I don't know if it's normal or not, but it sounds like a great result. Would you mind sharing your pf config? -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trendnet TEG-PCITXR hw rev 3.0 re driver
Shawn Barnhart wrote: Went looking for a cheap GigE PCI card to use with a 6.2 (6.3-PRERELEASE) stable system, and brought this home due to Microcenter not stocking Intel cards and me not wanting to wait for Newegg to ship one to me. Card works after switching slots on the motherboard, but I got re0: watchdog timer errors on reboot and no traffic on the card. I unplugged and replugged the NIC cable at the switch end and I get traffic now, but I have a proper Intel card on order from Newegg. I don't trust this one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (bez temata)
At 1:41 PM +0200 1/13/08, Matiss wrote: Hey all Hope this is more or less right place to ask. What I noticed on my FreeBSD 6.2 installation, that pkg_add -r ImageMagick results in a file not found error. DTG864# pkg_add -r ImageMagick Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ImageMagick.tbz: File unavailable (e.g., file not found, no access) same with pkg_add -r ImageMagick-nox11. and sure enough, indeed there is no ImageMagick.tbz on freebsd ftp server for freebsd version 6. Browsed the net, but couldn't find any info on this. Of course I could compile from ports, but that takes too much time. So, any ideas, why there is no ImageMagick.tbz, and what shall one do? :) I've run into this sort of thing myself. IMHO, the problem is perhaps a bit of overzealousness on the part of developers to get people to upgrade. Apparently 6.0 is considered too obsolete to maintain on mainstream servers, not that I really know as I have nothing to do with any of that. If you want to run the package that was released with 6.0, apparently ImageMagick-6.2.2.1.tbz, you can try the URL ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/. -- Walter M. Pawley [EMAIL PROTECTED] Wump Research Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 RC1 snd_hda headset sound only
On Jan 15, 2008 3:10 AM, Oleksandr Rudyk [EMAIL PROTECTED] wrote: Hi all I have installed 7.0 RC1 on my Dell XPS m1330 with Sigmatel HDA sound. snd_hda driver was patched with this http://people.freebsd.org/~ariff/READMEhttp://people.freebsd.org/%7Eariff/READMEinstructions. But still have audio only in headset and no sound on internal speakers. Any suggestions try to add hint.pcm.0.config=gpio0 to your /boot/loader.conf that w ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No spam???
I know this is an odd thing to worry about, but is this normal? Since the spam doesn't even seem to be reaching spamd, I'm guessing that the real hero is pf, which must be blocking 99.99% of spam at the packet level. I don't know how you configured pf, but since I use the black list fromhttp://www.sa-blacklist.stearns.org/sa-blacklist/sa-blacklist.current.sendmail-access, I reduced drastically the spam that reaches SpamAssassin. The key point with such black list is that you must trust the list, as there is no place for false positive. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mouse sensitivity
I'm wondering if it's possible to adjust the sensitivity of the mouse - that is, the amount of physical distance I have to move my mouse before 'moused' moves the cursor by one unit. I'm not talking about acceleration here. Purely a linear scaling is what I mean. I think we can leave Xorg out of this discussion for now - I am talking about console here. In '/etc/rc.conf', I can specify 'moused_flags=-a 2.0' for example. However, what this does is make the tick of the mouse be in 2 unit increments. So, where the '-a 1.0' flag would move the cursor one unit at a time, '-a 2.0' moves the cursor two units at a time, and as a result, we lose some fine-grain mouse resolution. OK, now maybe I'll mention Xorg. I have a dual boot with Linux. In other words, it's all the same hardware - the mouse and everything. If I set 'moused_flags=-a 2.0' in FreeBSD, the mouse cursor starts moving in two pixel increments (in Xorg) and thus loses resolution (note: also moves in two unit increments in console). So I'm leaving 'moused_flags' out of my config. Now, in both Linux and FreeBSD the cursor is able to move one pixel at a time in the X and Y directions (verified this with a magnifying glass). However, in Linux, I need to move the mouse half as much to get the cursor to move one pixel. Is there a way to speed up the mouse on the FreeBSD side as well? Would this way of speeding up the mouse also speed it up in the console? Because my Xorg uses /dev/sysmouse, I believe that the console pointer and the Xorg pointer are related. I'm aware of the 'xset' utility, but this does not seem to do anything for linear scaling, only acceleration. Also, it [of course] has no effect on the console pointer. I'm pretty new to FreeBSD, but I'm liking it! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trendnet TEG-PCITXR hw rev 3.0 re driver
Shawn Barnhart wrote: Went looking for a cheap GigE PCI card to use with a 6.2 (6.3-PRERELEASE) stable system, and brought this home due to Microcenter not stocking Intel cards and me not wanting to wait for Newegg to ship one to me. I have the re driver built into the kernel, but this particular card is not recognized even though its supposed to be based on the Realtek 8169 chipset. Realtek has a linux driver download (of unknown quality) and that source has a mod time of 2/06, so I'm guessing it's not a reinvention of the wheel or a super-significant change. Anyone track these things close enough to know if there's something significant changed in this chipset family? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have 5 of the nic cards TEG PCI TXR running on Various versions of 7. * and 8.* of FreeBSD. There was somebody on the weekind also having trouble with version 6.* Same as your problem. Try switch to 7.* ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* + All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse sensitivity
Nerius Landys [EMAIL PROTECTED] writes: I'm aware of the 'xset' utility, but this does not seem to do anything for linear scaling, only acceleration. Also, it [of course] has no effect on the console pointer. Linear? Do you mean threshold 0, like `xset m 3/2 0'? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ntop install error related to net-snmp
Hello all, I'm attempting to install Ntop 3.3_1 from ports and I'm hitting a snag during compilation. Here is the error: In file included from /usr/local/include/net-snmp/utilities.h:54, from /usr/local/include/net-snmp/net-snmp-includes.h:78, from iface.c:766: /usr/local/include/net-snmp/library/container.h: In function 'CONTAINER_FREE': /usr/local/include/net-snmp/library/container.h:416: error: lvalue required as left operand of assignment I've got the latest version of net-snmp installed - 5.3.2. Any help would be appreciated. Thanks! -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgpqxmC92nUVw.pgp Description: PGP signature
Re: Mouse sensitivity
I'm aware of the 'xset' utility, but this does not seem to do anything for linear scaling, only acceleration. Also, it [of course] has no effect on the console pointer. Linear? Do you mean threshold 0, like `xset m 3/2 0'? 'xset' is indeed what I want. Err, `xset', not 'xset'. I'm learning the FreeBSD lingo. When I do `xset q' it gives me the defaults, and I get a line: Pointer Control: acceleration: 2/1threshold: 4 So think what I want is something along the lines of `xset 3/1 3'. Thanks for the help. I didn't think `xset' would do what I wanted, but it does.[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysinstall and bsdlabel/boot
I was trying to install 7.0RC1 (hope it's OK to post this here, because I believe that older versions of FreeBSD have this same limitation) and came across a gotcha. I had an MBR on disk that I wanted to keep. It was Lilo and all it did was boot a selected slice, it was configured to function the same as FreeBSD's `boot0'. So, the install of FreeBSD came to the area where it asks what to do with the MBR. There are three choices: 1) boot manager, 2) simple MBR, and 3) do nothing. I chose to do nothing because I wanted to keep Lilo in the MBR. But, by choosing this option, I expected sysinstall to install the /boot/boot code to the beginning of the FreeBSD slice. Well, no such boot code was installed, apparently, unless I totally missed something. Basically, after the install, when I delegated Lilo to boot the chosen [FreeBSD] slice, it did not find any boot code on that slice. My workaround for this was to choose option 1) boot manager. I ended up using boot0 (the boot manager) which I feel is superior to Lilo because it is more modular, simpler. However, some users may not want this. I didn't find any option in sysinstall to install just the /boot/boot code to the beginning of the FreeBSD slice. Am I missing something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newest security patch and custom kernel
Hello, Using freebsd-update I applied the latest security patches which were announced yesterday. However, I then notice this message: The following files will be updated as part of updating to 6.2-RELEASE-p10: /boot/GENERIC/kernel My question is whether my update missed the point because I have a custom kernel? If so, do I need to apply it manually as described in the security advisory? If I still want to go down the binary road, how can I make sure my custom kernel gets patched, too? Thank you very much! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newest security patch and custom kernel
Hello, Norman Maurer pisze: Hi, the /usr/src/sys* stuff should be patched anyway. But you need to build your kernel again and install it to reflect the changes. Even if i think it only update the -p10 label in the case of -p10 patch set. OK. So this page applies to me now? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=/MYKERNEL/ 3. Install the new kernel: # make installkernel KERNCONF=/MYKERNEL/ *Note:* It is required to have full FreeBSD source tree to build the kernel. I am interested if I need to download latest FBSD sources then? I have not touched them since I built a custom kernel. Thank you! Zbigniew Szalbot cheers Norman Am Dienstag, den 15.01.2008, 07:03 +0100 schrieb zbigniew szalbot: Hello, Using freebsd-update I applied the latest security patches which were announced yesterday. However, I then notice this message: The following files will be updated as part of updating to 6.2-RELEASE-p10: /boot/GENERIC/kernel My question is whether my update missed the point because I have a custom kernel? If so, do I need to apply it manually as described in the security advisory? If I still want to go down the binary road, how can I make sure my custom kernel gets patched, too? Thank you very much! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newest security patch and custom kernel
Hi, the /usr/src/sys* stuff should be patched anyway. But you need to build your kernel again and install it to reflect the changes. Even if i think it only update the -p10 label in the case of -p10 patch set. cheers Norman Am Dienstag, den 15.01.2008, 07:03 +0100 schrieb zbigniew szalbot: Hello, Using freebsd-update I applied the latest security patches which were announced yesterday. However, I then notice this message: The following files will be updated as part of updating to 6.2-RELEASE-p10: /boot/GENERIC/kernel My question is whether my update missed the point because I have a custom kernel? If so, do I need to apply it manually as described in the security advisory? If I still want to go down the binary road, how can I make sure my custom kernel gets patched, too? Thank you very much! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newest security patch and custom kernel
It should be enough to just building and installing the kernel. The freebsd-update should have patched the kernel src files anyway. bye Norman Am Dienstag, den 15.01.2008, 07:24 +0100 schrieb zbigniew szalbot: Hello, Norman Maurer pisze: Hi, the /usr/src/sys* stuff should be patched anyway. But you need to build your kernel again and install it to reflect the changes. Even if i think it only update the -p10 label in the case of -p10 patch set. OK. So this page applies to me now? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=/MYKERNEL/ 3. Install the new kernel: # make installkernel KERNCONF=/MYKERNEL/ *Note:* It is required to have full FreeBSD source tree to build the kernel. I am interested if I need to download latest FBSD sources then? I have not touched them since I built a custom kernel. Thank you! Zbigniew Szalbot cheers Norman Am Dienstag, den 15.01.2008, 07:03 +0100 schrieb zbigniew szalbot: Hello, Using freebsd-update I applied the latest security patches which were announced yesterday. However, I then notice this message: The following files will be updated as part of updating to 6.2-RELEASE-p10: /boot/GENERIC/kernel My question is whether my update missed the point because I have a custom kernel? If so, do I need to apply it manually as described in the security advisory? If I still want to go down the binary road, how can I make sure my custom kernel gets patched, too? Thank you very much! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
Modulok wrote: Does anyone else have audio/video sync issues with linux-flashplugin7? Following the general procedure outlined in this thread, linux-flashplugin7 does work...sort of. The video proceeds the audio. This holds true for linux-opera and linux-firefox. The synch gap widens as time progresses. In a 5 minute clip, the offset is probably 5-10 seconds or more. I have audio lag as well. Never heard of turning off COMPOSITE mode in the xorg.conf... will try right now! Also, I got this update from Alexander Leidinger: 2.6.x emulation is not available in 6.x or 5.x (2.6.20 is totally wrong, the only 2.6 kernel version we are targeting ATM is 2.6.16). It is also not stable yet, there are known bugs. linux_base-f7 is also only useable with 2.6 emulation, installing it is not recommended for non-developers. so, set your linuxemu to a lower kernel version than I blindly recommended before: echo compat.linux.osrelease=2.6.16 /etc/sysctl.conf I say, push forward and get 2.6.16 stable and forget 2.4.2 on the FreeBSD 7 branch! People want old linux emulation? Use FreeBSD 6! Time to restart X, Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newest security patch and custom kernel
Hello again, Norman Maurer pisze: It should be enough to just building and installing the kernel. The freebsd-update should have patched the kernel src files anyway. Thank you for very helpful advice. One last question, is it necessary to restart the machine? Or can I keep it online after building and installing the kernel? I don't care about uname -a details not being updated unless the machine needs restarting to include the updates. Thank you! Zbigniew Szalbot bye Norman Am Dienstag, den 15.01.2008, 07:24 +0100 schrieb zbigniew szalbot: Hello, Norman Maurer pisze: Hi, the /usr/src/sys* stuff should be patched anyway. But you need to build your kernel again and install it to reflect the changes. Even if i think it only update the -p10 label in the case of -p10 patch set. OK. So this page applies to me now? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=/MYKERNEL/ 3. Install the new kernel: # make installkernel KERNCONF=/MYKERNEL/ *Note:* It is required to have full FreeBSD source tree to build the kernel. I am interested if I need to download latest FBSD sources then? I have not touched them since I built a custom kernel. Thank you! Zbigniew Szalbot cheers Norman Am Dienstag, den 15.01.2008, 07:03 +0100 schrieb zbigniew szalbot: Hello, Using freebsd-update I applied the latest security patches which were announced yesterday. However, I then notice this message: The following files will be updated as part of updating to 6.2-RELEASE-p10: /boot/GENERIC/kernel My question is whether my update missed the point because I have a custom kernel? If so, do I need to apply it manually as described in the security advisory? If I still want to go down the binary road, how can I make sure my custom kernel gets patched, too? Thank you very much! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]