Re: Remote ssh tunnel in background or script?
2009/11/9 Kevin Kinsey k...@daleco.biz Svante Kvarnstrom wrote: Hello Have you tried -f (for background) and -N for Do not execute a remote command? See man 1 ssh for more details. Svante Cheers for you! It was -f without -N that produced the error. I'm guessing I got down the manpage about as far as -f and didn't go any further. *beats head on desk* Thanks, Svante! For the archives: SMTP OVER SSH TUNNEL FREEBSD sudo ssh -f -N -L localname:24:remotename:52525 m...@remotename When SMTP is listening on remotename port 52525. sudo is needed to open the tunnel on the localname side on port 24 (a privileged port). You could do this as root on the local side, but shouldn't connect *to* root on the remote computer. On Nov 9, 2009, at 7:30 PM, Kevin Kinsey wrote: Greetings! sudo ssh -L thisbox:24:remotebox:52525 m...@remotebox I've got Sendmail listening there on 52525, and it works fine; the local clients are told to connect to thisbox port 24. The only issue is that I have to run it from a terminal session. When I tried to bg the process (cmdstring ) it doesn't work, exactly. I've gotten an error message at times*, and at other times I apparently get thisbox listening on port 24 but it's not an SMTP daemon that's listening. I have a feeling it's cause I'm in csh, which is notorious for backgrounding issues. ? At any rate, what I'd like to do is have a script set up the connection, or write some daemon that would monitor the connection and fix it if it gets reset. At any rate, if I could get this SSH process to detach from a terminal, it'd be great. Any suggestions? Kevin Kinsey ___ 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 if you put it on a port 1024 instead of 24 you wont need to run it as root so can drop the sudo bit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Does FreeBSD support the Ralink RT73 chipset
I just got my hands on a Belkin Wireless device that uses a Ralink RT73 chipset. Rather than waste a lot of time attempting to get it to work, I thought I would ask if anyone here has succeed in doing so. I see that FreeBSD supports: Atheros and Intersil Prism components;however, I did not see any mention of the Ralink RT73 chipset. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Like the ski resort of girls looking for husbands and husbands looking for girls, the situation is not as symmetrical as it might seem. Alan McKay ___ 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
pppoe related
Hi, What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? Thank you! László ___ 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 remote MS ACCESS database
Hello, Is there any chance to read and update a remote MS ACCSESS database from FreeBSD 8-CURRENT, via ODBC? Thanks in advance 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: pppoe related
On Tue, 10 Nov 2009 06:52:22 -0800 (PST) Dánielisz László laszlo_daniel...@yahoo.com wrote: What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? man ppp -ddial Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpkFUClUr3Pn.pgp Description: PGP signature
Re: FreeBSD remote MS ACCESS database
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Apitz wrote: Hello, Is there any chance to read and update a remote MS ACCSESS database from FreeBSD 8-CURRENT, via ODBC? Thanks in advance matthias Hi Matthias, I haven't used it before, but perhaps the unixODBC port would help you? http://bit.ly/2MejSv Best regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFK+YP00sRouByUApARAorNAKCujTYRRFoRmaZsBCD1Fye+Z+VxcQCfY1af q2Xw/MKKJFbGsUDTWBDgqQI= =7NtD -END PGP SIGNATURE- ___ 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: FreeBSD remote MS ACCESS database
In the last episode (Nov 10), Matthias Apitz said: Is there any chance to read and update a remote MS ACCSESS database from FreeBSD 8-CURRENT, via ODBC? Thanks in advance With samba, wine, and a local install of Office, sure. ODBC is a programming API, not a networking protocol, so you need direct access to the .mdb file. MS Access is the only thing that can read .mdb files, so that's why you need wine and a local Office install. If you really need remote access to the data, move the tables into a client-server database (mysql, postgres, etc) so you can get to them directly from Unix, and use linked tables in your .mdb file so Access itself will still work. -- Dan Nelson dnel...@allantgroup.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
x input method question
I'm trying to type hangul/korean in any X app. No luck so far. I'm on a paired-down desktop on xfwm, and I've installed nabi and scim-hangul, but neither one seems to do anythingI'm on 8-RC1 if it makes any difference...I'm actually an english speaker, so the nabi www pages are a little hard to look at for help ;) Thanks, 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
libjpeg.so.9 missing from my installation of FBSD 7.2
I very much appreciate the help I get here. And boy!, do I need it. Undoubtedly I did something wrong when I was putting my system together. But I just can't throw it away -- I'm trying to get some things done. So, awk! help! ___ 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: FreeBSD remote MS ACCESS database
In response to Dan Nelson dnel...@allantgroup.com: In the last episode (Nov 10), Matthias Apitz said: Is there any chance to read and update a remote MS ACCSESS database from FreeBSD 8-CURRENT, via ODBC? Thanks in advance With samba, wine, and a local install of Office, sure. ODBC is a programming API, not a networking protocol, so you need direct access to the .mdb file. MS Access is the only thing that can read .mdb files, so that's why you need wine and a local Office install. Not quite accurate. The .mdb format is supported by a number of Microsoft products. In particular, MS offers an ODBC driver that read/writes the .mdb files and makes it look like any other ODBC device. I don't know if there's an equivalent for FreeBSD (or anything other than Windows). If you really need remote access to the data, move the tables into a client-server database (mysql, postgres, etc) so you can get to them directly from Unix, and use linked tables in your .mdb file so Access itself will still work. Connecting to a .mdb-based database remotely is fraught with peril. I've seen dozens of .mdb databases corrupted over my years because some weird file locking glitch or network glitch caused the files to become mangled. Add to that the fact that an .mdb database has absolutely no security (to the degree that any user could simply delete the entire thing) and I have to agree with Dan's assertion that you'll be much better off, long run, to move this onto a read DB server. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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: libjpeg.so.9 missing from my installation of FBSD 7.2
On Tue, Nov 10, 2009 at 11:09:55AM -0500, Henry Olyer wrote: I very much appreciate the help I get here. And boy!, do I need it. Undoubtedly I did something wrong when I was putting my system together. But I just can't throw it away -- I'm trying to get some things done. So, awk! help! $ pkg_info -W /usr/local/lib/libjpeg.so.9 /usr/local/lib/libjpeg.so.9 was installed by package jpeg-6b_7 Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installer: missing GEOM/gpart capabilities slicing disk?
On Mon, Nov 9, 2009 at 7:40 AM, Daniel O'Connor docon...@gsoft.com.auwrote: [ -current CC dropped ] On Mon, 9 Nov 2009, O. Hartmann wrote: I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on a barndnew harddrive. As far as I recall partitioning a disk is now done via gpart and the limitation of having only 8 (-2) partitions from a through h except b and c is now obsoleted. When dropping into the installation process, I realised that the 8 partition boundary is still present. Is there a howto (I searched the wiki and lists without success)? I read a lot about how to install FreeBSD on op of a complete ZFS infrastructure, but key issue seems to be a hands-on partitioning of the target haddrive via the fixit procedure. sysinstall does not [yet] do GPT partitions, I believe someone is working on patches but I have no idea what state they are in. Progressing nicely, but still quite a ways off from being ready. ;) -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does FreeBSD support the Ralink RT73 chipset
Hi there, I am using RT61, so makes me wonder that RT73 does. Cheers! 2009/11/10 carmel_ny carmel...@hotmail.com: I just got my hands on a Belkin Wireless device that uses a Ralink RT73 chipset. Rather than waste a lot of time attempting to get it to work, I thought I would ask if anyone here has succeed in doing so. I see that FreeBSD supports: Atheros and Intersil Prism components;however, I did not see any mention of the Ralink RT73 chipset. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Like the ski resort of girls looking for husbands and husbands looking for girls, the situation is not as symmetrical as it might seem. Alan McKay ___ 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 -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions ___ 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: FreeBSD remote MS ACCESS database
On Tue, 10 Nov 2009 16:01:58 +0100 Matthias Apitz g...@unixarea.de wrote: Hello, Is there any chance to read and update a remote MS ACCSESS database from FreeBSD 8-CURRENT, via ODBC? Thanks in advance matthias If you are familiar with python you could use py-odbc to read the access .mdb file as a normal database. A connection string of an Acess 2007 db without a password would look like this, where fileName is the complete path and file name of the access mdb file. cntString = Provider=Microsoft.Jet.OLEDB.4.0; Data Source=%s; User Id=admin;Password=; % (fileName) I've not tried it over an internet connection, though. -- Rod Person http://www.rodperson.com Religion is what keeps the poor from murdering the rich. -Napoleon ___ 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: libjpeg.so.9 missing from my installation of FBSD 7.2
Henry Olyer wrote: I very much appreciate the help I get here. And boy!, do I need it. Undoubtedly I did something wrong when I was putting my system together. But I just can't throw it away -- I'm trying to get some things done. So, awk! help! Where you performing an upgrade of an existing system? AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port. This was (fairly) recently upgraded, and if you did not follow the /usr/ports/UPDATING instructions carefully, you probably ended up with some dependent apps still linked to the old version of the library. See /usr/ports/UPDATING: 20090719: AFFECTS: users of graphics/jpeg AUTHOR: din...@freebsd.org The IJG jpeg library has been updated to version 7.0. Please rebuild all ports that depend on it. In short, try the following (assuming you use portupgrade): portupgrade -fr graphics/jpeg ___ 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: Remote ssh tunnel in background or script?
Kevin Kinsey k...@daleco.biz wrote: Greetings! In order to continue to allow them to connect to an outbound SMTP box on the LAN, I've done this on their server: sudo ssh -L thisbox:24:remotebox:52525 m...@remotebox I wrote a script to get around my home firewall, it doesn't do exactly as you want but that only requires changing the ssh bit. I call it from cron so it stays alive, if it dies it will re-connect otherwise it just checks a lock file. It may be of use David #!/usr/bin/perl ## ## PURPOSE: ## run reverse ssh to work ## ## designed to be run from crontab. creates a lock file so that ## not more than one instance of the process is started ## use strict; use warnings; ## user crontab doesn't have permission in /var for lock file ## or for ports below 1024 my $username='username'; my $hostname=hostname; my $address=$hostname..somewhere.com; my $port=$ARGV[0]; #2022; my $lckfile=/tmp/revssh.${hostname}.pid; sub start_ssh { ## fork process to start ssh defined( my $pid=fork ) or die cannot fork process: $!; ## parent - open lock file with child pid if($pid) { print Starting process: $pid\n; open(LOCKFILE,$lckfile) or die Cannot create lock file: $!; print LOCKFILE ${pid}; close(LOCKFILE); } else { ## child - start ssh process exec(ssh -qnNCX -R ${port}:localhost:22 . ${usernam...@${address}) or die cannot exec process\n; } } ## main if(! -e $lckfile) { start_ssh(); } else { ## get running(?) pid from pid file @ARGV = ($lckfile);my $old_pid = ARGV; my $running = kill 0, $old_pid; ## lock file exists - is process still running? if ( $running == 1 ) { die Process running: $old_pid\n; } else { ## check lockfile was deleted! if(! unlink $lckfile) { die Lockfile not deleted\n; } print Orphan lock file - Lock file deleted\n\t; start_ssh(); } } ___ 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: pppoe related
Thank you! Found out! From: Andreas Rudisch c...@gmx.net To: Dánielisz László laszlo_daniel...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Tue, November 10, 2009 4:04:27 PM Subject: Re: pppoe related On Tue, 10 Nov 2009 06:52:22 -0800 (PST) Dánielisz László laszlo_daniel...@yahoo.com wrote: What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? man ppp -ddial Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 ___ 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
FATAL TRAP 12
Someone has had problems with this type of issues? what it is related to? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Does FreeBSD support the Ralink RT73 chipset
On Tue, 10 Nov 2009 17:17:12 + Jeronimo Calvo jeronimocal...@googlemail.com replied: I am using RT61, so makes me wonder that RT73 does. I contacted Belkin to make sure I had the proper information. They responded: Chipset information for F5D9050 version 4000 is Ralink RT2671F, RT2528L (RT73) -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Increased knowledge will help you now. Have mate's phone bugged. ___ 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
Ruby Enterprise Edition 1.8.7 Apache / Passenger on FreeBSD 7.2
Hello, I was trying to use Apache/Passenger with Ruby Enterprise Edition 1.8.7 (both versions) on a FreeBSD 7.2 (i386 and x86_64), and Apache reports the following error: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 with Suhosin-Patch Phusion_Passenger/2.2.5 configured -- resuming normal operations Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) Has anyone come across to that ? Thanks in advance, Konstantinos___ 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: libjpeg.so.9 missing from my installation of FBSD 7.2
Manolis Kiagias writes: Where you performing an upgrade of an existing system? AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port. This was (fairly) recently upgraded, and if you did not follow the /usr/ports/UPDATING instructions carefully, you probably ended up with some dependent apps still linked to the old version of the library. In short, try the following (assuming you use portupgrade): portupgrade -fr graphics/jpeg graphics/jpeg is a dependency for a _lot_ of ports. (100+ on my system.) Were I in the OP's shoes, I'd run pkg_info -R to find out which ones and feed the (edited) results through pkg_sort. Otherwise I might find myself rebuilding something like OpenOffice at an inopportune moment Robert thirty six hours and counting, tra-la Huff ___ 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
g4u option
Hi all, I'm trying to figure out ,if possible, how to get g4u to only clone data, i.e. I have an 80 gig drive but my OS and applications only come to about 6gigs that’s what I want to clone to the new drive. Is there a way to accomplish this? TIA J ___ 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: g4u option
On Tue, 10 Nov 2009 12:00:56 -0500, Jean-Paul Natola jnat...@familycareintl.org wrote: Hi all, I'm trying to figure out ,if possible, how to get g4u to only clone data, i.e. I have an 80 gig drive but my OS and applications only come to about 6gigs that’s what I want to clone to the new drive. Is there a way to accomplish this? Yes: using the proper tool for this job. :-) In case of FreeBSD, dump + restore are excellent tools for the task you seem to be describing. Refer to the mailing list archive (or the Handbook) for examples how to use it - it's quite easy. Using dump and restore involves some other tools to prepare the target disk (e. g. fdisk, bsdlabel, newfs), but everything can easily be scripted so it runs without any human interaction. Sadly, I can't answer your question about g4u because I've never heared of it, and I don't see it in the ports collection, so my anser is relatively FreeBSD-specific (but those tools are the standard tools for such jobs in nearly all UNIX and Linux environments). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cut/Paste with USB mouse inoperative
I just switched from a regular mouse to a USB mouse wireless mouse. The mouse works fine except that the cut/paste middle button feature is inoperative. The scroll feature works correctly though. I removed all references to 'mouse' in the /etc/rc.conf file and rebooted; however, nothing changed. I then tried to change mouse port from the default: moused_port=/dev/psm0 to moused_port=/dev/usm0 That did no help either. Is there anyway to get this to work? -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Living in California is like living in a bowl of granola. What ain't flakes and nuts is fruits. ___ 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: Cut/Paste with USB mouse inoperative
On Tue, 10 Nov 2009 15:33:46 -0500, Carmel carmel...@hotmail.com wrote: I just switched from a regular mouse to a USB mouse wireless mouse. The mouse works fine except that the cut/paste middle button feature is inoperative. The scroll feature works correctly though. I removed all references to 'mouse' in the /etc/rc.conf file and rebooted; however, nothing changed. have you first tried the obvious workaround for nonstandard mice with not three buttons, i. e. pressing the left and the right button together to emulate the middle button? If this works, there seems to be some misconfiguration. I'm not using wheel mice (nor am I using cordless mice), so I cant help much. I'm using the middle mouse button for cut / paste (click), and for the vertical scroll functionality (press + move). I then tried to change mouse port from the default: moused_port=/dev/psm0 to moused_port=/dev/usm0 That did no help either. USB mice don't need to be setup via moused, as far as I remember. Just comment out the moused_* entries in the /etc/rc.conf file. Is there anyway to get this to work? You could try to set it explicitely in /etc/X11/xorg.conf: Section InputDevice Identifier Mouse0 Driver mouse Option Device/dev/sysmouse Option Protocol Auto Option ZAxisMapping 4 5 Option Emulate3Buttons Option EmulateWheel Option EmulateWheelButton2 EndSection The buttons are 1 and 3 for left and right, 2 should be the middle one, 4 and 5 are up / down of the wheel. You can always use the xev program to check what actually happens when you use the different mouse buttons. If you're relying on HAL and DBUS, well, ... :-) I think there must be some kind of workaround to make things work again with HAL that worked before with X, such as special settings for mice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libjpeg.so.9 missing from my installation of FBSD 7.2
Robert Huff wrote: Manolis Kiagias writes: Where you performing an upgrade of an existing system? AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port. This was (fairly) recently upgraded, and if you did not follow the /usr/ports/UPDATING instructions carefully, you probably ended up with some dependent apps still linked to the old version of the library. In short, try the following (assuming you use portupgrade): portupgrade -fr graphics/jpeg graphics/jpeg is a dependency for a _lot_ of ports. (100+ on my system.) Were I in the OP's shoes, I'd run pkg_info -R to find out which ones and feed the (edited) results through pkg_sort. Otherwise I might find myself rebuilding something like OpenOffice at an inopportune moment Robert thirty six hours and counting, tra-la Huff I am afraid openoffice is indeed one of the packages linked to jpg.. In this case - and assuming this was caused by an improper upgrade of jpeg - maybe the OP could simply downgrade just the jpeg port to the previous version. The current version provides libjpeg.so.10 ___ 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: icewm - error during portupgrade / compiling
Hey, I'm the maintainer for x11-wm/icewm. Could you tell me if add the port devel/gnome-vfs helps? And could you tell me what the output of make showconfig is for icewm? ___ 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: g4u option
On Tue, Nov 10, 2009 at 9:00 AM, Jean-Paul Natola jnat...@familycareintl.org wrote: Hi all, I'm trying to figure out ,if possible, how to get g4u to only clone data, i.e. I have an 80 gig drive but my OS and applications only come to about 6gigs that’s what I want to clone to the new drive. Is there a way to accomplish this? TIA J ___ 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 g4u does partitions so if the data is on a separate partition from the OS then yes. If everything is on one partition then you'll have to copy the whole thing with g4u ___ 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: Cut/Paste with USB mouse inoperative
On 11/10/09, Carmel carmel...@hotmail.com wrote: I just switched from a regular mouse to a USB mouse wireless mouse. The mouse works fine except that the cut/paste middle button feature is inoperative. The scroll feature works correctly though. I removed all references to 'mouse' in the /etc/rc.conf file and rebooted; however, nothing changed. I then tried to change mouse port from the default: moused_port=/dev/psm0 to moused_port=/dev/usm0 You probably meant to put /dev/ums0 That did no help either. Is there anyway to get this to work? -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Living in California is like living in a bowl of granola. What ain't flakes and nuts is fruits. ___ 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
8.0-RC3?
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/ shows that there is an RC3 ISO image available for download? How many RC's until the final release? ___ 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
wdm and xdm problems - related to HAL?
So I got Xorg working with Hal. Wahoo. If I log in from a display manager I encounter some weird stuff. If I am using xdm and I log out of the window manager and then attempt to shut down the computer - by going to tty 0 and typing # halt -p - the disk syncs and then the shutdown freezes. If I am using wdm and I log out of the window manager and want to log back in, it takes my username but does not clear the text field for me to type a password. There is only one regular user on the system. FreeBSD 7.2 release. Blackbox wm. graphics: ATI mobility radeon Xpress 200m, 64MB - 128MB. Display: 1280x800. == Wherever the corpse is, there the vultures will gather. Matthew 24:28 ___ 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: Cut/Paste with USB mouse inoperative
On Tue, 10 Nov 2009 22:03:25 +0100 Polytropon Polytropon free...@edvax.de replied: On Tue, 10 Nov 2009 15:33:46 -0500, Carmel carmel...@hotmail.com wrote: I just switched from a regular mouse to a USB mouse wireless mouse. The mouse works fine except that the cut/paste middle button feature is inoperative. The scroll feature works correctly though. I removed all references to 'mouse' in the /etc/rc.conf file and rebooted; however, nothing changed. have you first tried the obvious workaround for nonstandard mice with not three buttons, i. e. pressing the left and the right button together to emulate the middle button? If this works, there seems to be some misconfiguration. Negative, it does not work. I'm not using wheel mice (nor am I using cordless mice), so I cant help much. I'm using the middle mouse button for cut / paste (click), and for the vertical scroll functionality (press + move). I then tried to change mouse port from the default: moused_port=/dev/psm0 to moused_port=/dev/usm0 That did no help either. USB mice don't need to be setup via moused, as far as I remember. Just comment out the moused_* entries in the /etc/rc.conf file. Is there anyway to get this to work? You could try to set it explicitely in /etc/X11/xorg.conf: Section InputDevice Identifier Mouse0 Driver mouse Option Device/dev/sysmouse Option Protocol Auto Option ZAxisMapping 4 5 Option Emulate3Buttons Option EmulateWheel Option EmulateWheelButton2 EndSection The buttons are 1 and 3 for left and right, 2 should be the middle one, 4 and 5 are up / down of the wheel. You can always use the xev program to check what actually happens when you use the different mouse buttons. 'X' has nothing to do with it. It fails to work both in and out of 'X'. With the old mouse it worked fine. If you're relying on HAL and DBUS, well, ... :-) I think there must be some kind of workaround to make things work again with HAL that worked before with X, such as special settings for mice. Way more trouble than it is worth. I might just go back to the old mouse. Strangely enough, the new mouse works perfectly under Windows so I know it is not broken. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Will Rogers never met you. ___ 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: wdm and xdm problems - related to HAL?
A little sidenote: On Tue, 10 Nov 2009 14:06:04 -0800 (PST), Neil Short nesh...@yahoo.com wrote: If I am using xdm and I log out of the window manager and then attempt to shut down the computer - by going to tty 0 and typing # halt -p - the disk syncs and then the shutdown freezes. You should use the shutdown command (instead of halt)a to make sure services are stopped correctly. The halt command does not take care of this topic. # shutdown -p now Does the freeze happen if you press the power button (which should initate the mechanism above), too? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cut/Paste with USB mouse inoperative
On Tue, 10 Nov 2009 17:13:12 -0500, Carmel carmel...@hotmail.com wrote: 'X' has nothing to do with it. It fails to work both in and out of 'X'. With the old mouse it worked fine. The moused program offers a diagnostics mode: # moused -f -d -p /dev/ums0 Maybe you can try this and see what really happens when you press the buttons? The -i option is interesting, too. Way more trouble than it is worth. I might just go back to the old mouse. Strangely enough, the new mouse works perfectly under Windows so I know it is not broken. If it does work there, but not in FreeBSD, it might have a strangely constructed firmware which justifies the statement that it is broken by design... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.0-RC3?
On Wed, Nov 11, 2009 at 09:00:04AM +1100, Alex R wrote: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/ shows that there is an RC3 ISO image available for download? How many RC's until the final release? Depends on what they find is needed to get the RELEASE ready to go. Check the following: The Release Engineering page. http://www.freebsd.org/releng/index.html And the wiki entry referenced in the Release Engineering page. http://wiki.freebsd.org/8.0TODO Looks like 8.0 is expected very soon. But, it will come when ready not on an MS fantasy schedule. It is all on the FreeBSD web side.http://www.freebsd.org/ jerry ___ 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: Renaming USB device
On Tue, 10 Nov 2009 17:19:39 -0600, Peter Steele pste...@maxiscale.com wrote: When a system has a USB drive present, the system typically names it /dev/da0. However, if the system has SATA drives hooked to an LSI controller, or if the system has SCSI drives, the same drive prefix is used as is for the USB drive. All direct-access media (DASD) is represented as a da device, even digital cameras may be. For our purposes, we'd like to separate the USB drive from the main hard drives as far as the drive prefix is concerned, for example something like /dev/usb0 would be ideal. This prefix is already in use, see man 4 usb. I realize this is something that likely has to be done in the form of a kernel patch, but the question is can it be easily done? A kernel patch isn't needed and would surely break many working subsystems. An option is to use aliases through the means of /etc/devfs.conf, e. g. linkda3 usbdisk0 or, if you want to enter the field of partition names in /etc/fstab, refer to the disks by their labels, so you don't need to know which da device a certain disk or USB stick actually is - it gives you independance from the order of detection by the system (first detected, first device name). If you could elaborate more on the goal you are seeking, other useful information could come from this list. At the moment, it's just my wild guessing. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: x input method question
Steve Franks bahamasfra...@gmail.com writes: [...] I'm actually an english speaker, so the nabi www pages are a little hard to look at for help ;) http://nabi.kldp.net/english.html Sincerely, -- All the members of my family have lived well the last ten years, without danger, without harm. I can't endanger them or their livelihoods out of greed. -- Vito Corleone, Chapter 2, page 74 ___ 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
Renaming USB device
When a system has a USB drive present, the system typically names it /dev/da0. However, if the system has SATA drives hooked to an LSI controller, or if the system has SCSI drives, the same drive prefix is used as is for the USB drive. For our purposes, we'd like to separate the USB drive from the main hard drives as far as the drive prefix is concerned, for example something like /dev/usb0 would be ideal. I realize this is something that likely has to be done in the form of a kernel patch, but the question is can it be easily done? ___ 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: Renaming USB device
If you could elaborate more on the goal you are seeking, other useful information could come from this list. At the moment, it's just my wild guessing. :-) I have a bootable FreeBSD image on a USB stick that clones itself on the target system's hard drive, creating partitions and other configuration as defined in the cloning logic. The /etc/fstab on the USB image is hard coded to mount root (/) from /dev/da0s1a. However, other systems where the hard drives use the same prefix as the USB stick, the fstab on the stick is incorrect (it would need to be /dev/da4s1a on systems with four SCSI drives since those disks would be names da0-da3). So what we really want is a way to solve this problem--Have a generic bootable USB drive that doesn't need to have a custom fstab for different kinds of systems. ___ 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: g4u option
Le Tue, 10 Nov 2009 12:00:56 -0500, Jean-Paul Natola jnat...@familycareintl.org a écrit : I'm trying to figure out ,if possible, how to get g4u to only clone data, i.e. I have an 80 gig drive but my OS and applications only come to about 6gigs that’s what I want to clone to the new drive. Is there a way to accomplish this? g4u uses dd(1) to dump the disk or a partition, then it compresses datas with gzip. It copies *all*. You can save size by filling the filesystem of the partition with '0'. This is in the FAQ of g4u: http://www.feyrer.de/g4u/#shrinkimg g4u is based on NetBSD, not FreeBSD. Regards. ___ 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: Renaming USB device
On Tue, 10 Nov 2009 17:19:39 -0600 Peter Steele pste...@maxiscale.com wrote: When a system has a USB drive present, the system typically names it /dev/da0. However, if the system has SATA drives hooked to an LSI controller, or if the system has SCSI drives, the same drive prefix is used as is for the USB drive. For our purposes, we'd like to separate the USB drive from the main hard drives as far as the drive prefix is concerned, for example something like /dev/usb0 would be ideal. I realize this is something that likely has to be done in the form of a kernel patch, but the question is can it be easily done you can use glabel to give the devices unique names. ___ 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: Renaming USB device
On Tue, 10 Nov 2009 17:47:38 -0600, Peter Steele pste...@maxiscale.com wrote: I have a bootable FreeBSD image on a USB stick that clones itself on the target system's hard drive, creating partitions and other configuration as defined in the cloning logic. The /etc/fstab on the USB image is hard coded to mount root (/) from /dev/da0s1a. However, other systems where the hard drives use the same prefix as the USB stick, the fstab on the stick is incorrect (it would need to be /dev/da4s1a on systems with four SCSI drives since those disks would be names da0-da3). So what we really want is a way to solve this problem-- Have a generic bootable USB drive that doesn't need to have a custom fstab for different kinds of systems. In this case, labelling the USB stick would be a good chioce. The /etc/fstab entries then refer to those labels instead of device names (that could change). You can use generic labels as well as UFS labels here; even a reference to the UFSID would be possible, as well as independant from da detection order. For the target hard disk, which sometimes is ad (ATA disks), sometimes da (SCSI and SATA disks), a conditional based upon dmesg could be a good way to automate the process of finding out where to install to. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Renaming USB device
In this case, labelling the USB stick would be a good chioce. The /etc/fstab entries then refer to those labels instead of device names (that could change). You can use generic labels as well as UFS labels here; even a reference to the UFSID would be possible, as well as independant from da detection order. For the target hard disk, which sometimes is ad (ATA disks), sometimes da (SCSI and SATA disks), a conditional based upon dmesg could be a good way to automate the process of finding out where to install to. Okay, labeling it is. I'll check this option out. Thanks! ___ 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: Renaming USB device
On Wed, 11 Nov 2009, Polytropon wrote: On Tue, 10 Nov 2009 17:19:39 -0600, Peter Steele pste...@maxiscale.com wrote: When a system has a USB drive present, the system typically names it /dev/da0. However, if the system has SATA drives hooked to an LSI controller, or if the system has SCSI drives, the same drive prefix is used as is for the USB drive. I realize this is something that likely has to be done in the form of a kernel patch, but the question is can it be easily done? A kernel patch isn't needed and would surely break many working subsystems. An option is to use aliases through the means of /etc/devfs.conf, e. g. linkda3 usbdisk0 That's fragile for dynamic devices; da3 might not be da3 next time it's attached. You can create a link on device detection through devd.conf using ln. It's also necessary to manually set owner and permissions, since devfs.conf settings aren't applied. Thread about that here: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=4340+0+archive/2009/freebsd-current/20091101.freebsd-current or, if you want to enter the field of partition names in /etc/fstab, refer to the disks by their labels, so you don't need to know which da device a certain disk or USB stick actually is - it gives you independance from the order of detection by the system (first detected, first device name). Labels are an excellent solution in this case. -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: Renaming USB device
Labels are an excellent solution in this case. I've done some quick research on this and it will indeed solve the issue regarding a generic fstab. I have a related question though. I want to take this a step further and convert the bootable USB stick into a bootable CD-ROM image. This is a little trickier because the CD-ROM device is read-only and I'm going to have to use some solution involving mfsroot. I checked out the BSD Live CD and there isn't even a /etc/fstab on the disk, at least not the /etc on the root of the CD. I tried to duplicate what I thought they were doing but although I could got a bootable CD the system complained that the file system was read-only, so clearly the mfsroot config wasn't set up correctly. How exactly is this done? And ultimately there will be the same issue with the /etc/fstab as far as providing a generic entry for the root mount device. I don't think I can use glabel in this case. What's the best option here? ___ 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