[Solved in a way] Sendmail as client via smarthost and ssl
On Thu, Oct 28, 2010 at 02:49:34PM +0200, Christopher Illies wrote: To send email from my computer at work I need to send through a smarthost. ... After having had no success with sendmail and sasl, I switched to mail/dma and it worked right away. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Sendmail as client via smarthost and ssl
On 29/10/2010 14:49, Christopher Illies wrote: ... Ok, when I use telnet, this happens: telnet send.ki.se 587 Trying 130.xxx.xxx.26... Connected to send.ki.se. Escape character is '^]'. 220 KIMSX09.user.ki.se Microsoft ESMTP MAIL Service ready at Fri, 29 Oct 2010 14:55:51 +0200 EHLO 250-KIMSX09.user.ki.se Hello [136.xxx.xxx.214] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-AUTH GSSAPI NTLM 250-8BITMIME 250-BINARYMIME 250 CHUNKING ... I'd guess from here that the microsoft mail server (i'd say exchange but its part of IIS these days i think) is being awkward. GSSAPI is kerberos related i believe, NTLM is a windows method from what i remember. I'm not familiar with either i'm afraid. Thanks for your suggestions, anyhow. It might very well be that something about the server's behaviour is awkward. fetchmail, which worked well with the old server, stopped working after the mailserver was changed to the current one. The settings were correct, but only after I installed a new version of fetchmail, it worked again. It looks like that I will have to use webmail for now. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Sendmail as client via smarthost and ssl
GSSAPI is the Generic Security Services Application Program Interface and NTLM is NT Lan Manager -- they are both authentication systems popular amongst various generations of Microsoft OSes. GSSAPI is actually based on that old Unix stalwart: Kerberos, and hence is also fairly popular amongst non-Microsoft types. They are some of the authentication mechanisms that come as standard with SASL implementations. Unless you know that you do need them, you almost certainly don't. ... Thanks your for the explanation. I was actually not sure whether or not these options were needed. Authentication to the smarthost did not work, and at one point I noticed the line: ... 250-AUTH GSSAPI NTLM ... coming from the server. So I gave it a try - and it still did not work. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Sendmail as client via smarthost and ssl
From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] On Behalf Of Vincent Hoffman [vi...@unsane.co.uk] Sent: Thursday, October 28, 2010 11:22 PM To: freebsd-questions@freebsd.org Subject: Re: Sendmail as client via smarthost and ssl On 28/10/2010 15:25, Christopher Illies wrote: 2010-10-28 14:49, Christopher Illies: To send email from my computer at work I need to send through a smarthost. In the past I had added the line: define(`SMART_HOST', `[smpt.ki.se]') Brackets are only needed for ipaddresses. ... All I had to do for was add AuthInfo:relay.isp.net U:smmsp I:username P:PassWord M:PLAIN to /etc/mail/access and the smarthost directive. I added U:smmsp and M:PLAIN to my /etc/mail/auth/client-info file, but that did not change anything. When I left out the square brackets around the server name in that file, I got another error message in /val/log/maillog: Oct 29 12:05:22 muck sm-mta[42252]: o9TA5Mtt042250: to=christopher.ill...@web.de, ctladdr=ch...@muck.ks.se (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30466, relay=send.ki.se. [130.229.20.28], dsn=4.0.0, stat=Deferred: Name server: send.ki.se.: host name lookup failure ... (I also set up SSL separately as i'm using plain method but you seem to have that covered.) Could you explain this a bit further, please? I am not clear on how this works. Setting up SSL is done by compiling sendmail with sasl, isn't it? Or is there something else to do? Also, the term plain method confuses me: This does not refer to whether or not you are using ssl? Sorry to bother you with all these questions. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Sendmail as client via smarthost and ssl
Thanks for your explanations, Vince. It got me one step further (I think). ... PLAIN mechanism mean that i'm sending the password/user in plain rather than using something like DIGEST-MD5 or any of the other possible mechanisms that can be listed in confAUTH_MECHANISMS in your sendmail .mc file to get a list of whats supported by your relay telnet to it on port 25 and issue an EHLO command. the supported mechanisms are listed following the AUTH keyword. for example for me (11:59:59 ~) 1 $ telnet RELAY.ISP.net 25 Trying 213.xxx.xxx.53... Connected to RELAY.ISP.net. ... 250-AUTH LOGIN PLAIN ---THIS ONE. 250-STARTTLS 250-DELIVERBY 250 HELP Ok, when I use telnet, this happens: telnet send.ki.se 587 Trying 130.xxx.xxx.26... Connected to send.ki.se. Escape character is '^]'. 220 KIMSX09.user.ki.se Microsoft ESMTP MAIL Service ready at Fri, 29 Oct 2010 14:55:51 +0200 EHLO 250-KIMSX09.user.ki.se Hello [136.xxx.xxx.214] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-AUTH GSSAPI NTLM 250-8BITMIME 250-BINARYMIME 250 CHUNKING Although I have no idea what GSSAPI and NTLM are, I remembered that I have seen these abbreviations before: NTLM is an OPTION for cyrus-sasl2, and yes, it is compiled in (WITH_NTLM=true). And GSSAPI appeared first in the mc file: define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl So I changed the authinfo/client-info file to: AuthInfo:[send.ki.se] U:smmsp I:XXX P:YYY M:GSSAPI Still, it does not work: 530 5.7.1 Client was not authenticated Christopher ___ 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
Sendmail as client via smarthost and ssl
To send email from my computer at work I need to send through a smarthost. In the past I had added the line: define(`SMART_HOST', `[smpt.ki.se]') to my mc file, plus some address rewriting for outgoing mail. This has worked for years. Now the mail system has changed and it requires some authentication, connection via ssl to a different server and via a different port (587). Since then I have not been able to get my computer to send email via the smarthost. Not knowing much about sendmail, I tried google and more or less blindly followed suggestions. Here is what I have done so far, but sending email still does not work: 1. recompiled sendmail with sasl by adding the following lines to /etc/make.conf + installing security/cyrus-sasl2 + recompiling sendmail: SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 2. Adding the following line to my mc file (+ make all install restart): define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl dnl Set port define(`RELAY_MAILER_ARGS', `IPC $h 587') I also changed the smarthost to the new name: define(`SMART_HOST', `[send.ki.se]') 3. create the file /etc/mail/auth/client-info + run makemap hash client-info client-info: AuthInfo:[send.ki.se] I:LOGIN P:PASSWORD When trying to send email the returned email from the Mail Delivery Subsystem MAILER-DAEMON contains the following error message: - The following addresses had permanent fatal errors - christopher.ill...@web.de (reason: 530 5.7.1 Client was not authenticated) - Transcript of session follows - ... while talking to send.ki.se.: MAIL From:christopher.ill...@ki.se SIZE=473 AUTH= 530 5.7.1 Client was not authenticated 554 5.0.0 Service unavailable In /var/log/maillog the following error messages appear: Oct 28 13:52:53 muck sm-mta[19110]: STARTTLS=client, relay=send.ki.se., version=TLSv1/SSLv3, verify=FAIL, cipher=AES128-SHA, bits=128/128 Oct 28 13:52:58 muck sm-mta[19110]: o9SBqqHs019108: to=christopher.ill...@web.de, ctladdr=ch...@muck.ks.se (1001/1001), delay=00:00:06, xdelay=00:00:06, mailer=relay, pri=30473, relay=send.ki.se. [130.229.20.26], dsn=5.0.0, stat=Service unavailable Oct 28 13:52:58 muck sm-mta[19110]: o9SBqqHs019108: o9SBqwHs019110: DSN: Service unavailable Any suggestions to help me send email from my computer are gratefully appreciated. The system is 8-stable. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Sendmail as client via smarthost and ssl
2010-10-28 14:49, Christopher Illies: To send email from my computer at work I need to send through a smarthost. In the past I had added the line: define(`SMART_HOST', `[smpt.ki.se]') Brackets are only needed for ipaddresses. What happens when you remove the brackets, like so define(`SMART_HOST', `your.mail.server') Nothing changes. I get the same error messages as with the brackets. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Sendmail as client via smarthost and ssl
On Thu, 2010-10-28 at 14:49 +0200, Christopher Illies wrote: snip define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl dnl Set port define(`RELAY_MAILER_ARGS', `IPC $h 587') I can't speak to the validity of the technique that you're attempting to use, however the 'dnl' directive is an instruction to ignore the rest of the line (c.f. '#' in shell scripts, etc., in fact I believe 'dnl' is a mnemonic for something like delete to newline or discard to newline). In which case these are probably intended to be: define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl dnl Set port define(`RELAY_MAILER_ARGS', `IPC $h 587')dnl Wayne Yes, you are right. This is not only how these lines are intended to be, this is how they actually look like. Some newlines were deleted while copy-and-pasting these lines. Sorry for the confusion. Christopher ___ 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: PDF inventory software
On Mon, Jun 08, 2009 at 05:17:29PM -0400, Daniel Underwood wrote: I'm looking for a way to manage my personal collection of research articles. Ideally I'd like some way to keep records on authors, keywords, journals, and publication years of articles (PDF files) downloaded onto my local drive. In the course of reading literature for research, it often happens that I find myself wanted to return to something I have previously read, but I only recall a few things about the article, often the author and a keyword. Is there some inventory/database software (for local use only) that can be easily used for this purpose? (The closest things that comes to mind (conceptually) is image collection software.) What are some of my options here? If you want something with a GUI, you could have a look at JabRef (needs Java): http://jabref.sourceforge.net/index.php It keeps a BibTeX database, lets you do searches on it and links to the downloaded pdf files. Christopher ___ 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: Reinterpret gamepad input as keyboeard input
On Tue, Jan 15, 2008 at 10:48:09PM +1100, Timothy Bourke wrote: On Jan 15 at 11:58 +0100, Christopher Illies wrote: On Mon, Jan 14, 2008 at 10:09:30PM +1100, Timothy Bourke wrote: 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? Thank you, vkbd sounds interesting. It looks like that there are no shell commands to create input to a virtual keyboard, so I will have to write my own. I don't know about that part of it. I looked at vkbd a long time ago when trying to make a Super Nintendo controller driver work as a keyboard. Vkbd almost did the trick, but it's intended to work from user mode. It occurred to me, after my post, that if your script need only work under X-windows, there are probably have more options for generating keyboard events. You could, for example, look at x11/padkey, particularly the doXKey() call. Best regards, Tim. Thanks for thank hint. I looked a bit into vkbd now and I also came across your post from February 2007. I agree, the fact that /dev/vkbdctl does not appear by default is confusing. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Reinterpret gamepad input as keyboeard input
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. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .login_conf ignored [solved]
On Tue, May 15, 2007 at 06:39:05PM +0200, Ernest Sales wrote: On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote: The locale settings in my .login_conf are ignored: [...] Try compiling just your ~/login_conf, make sure a ~/login_conf.db file appears. Ernest Thanks, that has worked! Before I always used cap_mkdb /etc/login.conf plus all the user's $HOME/.login_conf, but just using it on my ~/.login_conf did the trick. A ~/.login_conf.db file has appeared. I feel a bit silly for not having come up with it myself. I guess what confused me was that on another user's account the cap_mkdb compiling wasn't neccessary, but I don't need to understand that now that it works for me. Thanks again. Christopher But you are still curious, aren't you? Yes AFAIK, there are two possible explanations: 1) There _is_ a .login_conf.db file in the other user's homedir. No 2) The other account pertains to a different login class than yours, which already sets the desired locale and so masquerades the user's settings being ignored. Dunno if a user can see his own login class. If you have permissions, can use vipw to find out (if unfamiliar, take a look to vipw(8) and passwd(5) manpages, notice the 'class' field). Ernest Not that I can see. I 'chris' is my login, and 'bill' in another account that does not have this problem: ; sudo cat /etc/master.passwd | egrep 'chris|bill' | awk -F: '{ print $1,:, $5,:}' chris : : bill : : ; whoami chris ; ls /home/bill/.login* /home/bill/.login /home/bill/.login_conf ; cat /home/bill/.login_conf # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53 # ache Exp $ # # see login.conf(5) # me:\ :charset=iso-8859-1:\ :lang=se_SE.ISO8859-1: ; sudo sed -i.bak -e 's/se_SE/de_DE/' /home/bill/.login_conf ; su -l bill Password: $ whoami bill $ env | egrep -i 'lang|charset' MM_CHARSET=iso-8859-1 LANG=de_DE.ISO8859-1 But to change settings on the 'chris' account I have to use cap_mkdb /home/chris/.login_conf. Strange... Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
.login_conf ignored
The locale settings in my .login_conf are ignored: ; cat .login_conf # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53 # ache Exp $ # # see login.conf(5) # me:\ :charset=UTF-8:\ :lang=en_US.UTF-8: ; env | egrep -i 'lang|charset' LANG=en_US.ISO8859-1 MM_CHARSET=iso-8859-1 ; ls -l .login_conf -rw-r--r-- 1 chris chris 146 May 15 08:26 .login_conf ; uname -r 6.2-STABLE My .login_conf file is not a symlink or world writable etc. Also, an identical .login_conf for another user is applied without problems. What am I missing? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .login_conf ignored
On Tue, May 15, 2007 at 12:27:10PM +0200, Ernest Sales wrote: On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote: The locale settings in my .login_conf are ignored: ; cat .login_conf # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53 # ache Exp $ # # see login.conf(5) # me:\ :charset=UTF-8:\ :lang=en_US.UTF-8: ; env | egrep -i 'lang|charset' LANG=en_US.ISO8859-1 MM_CHARSET=iso-8859-1 ; ls -l .login_conf -rw-r--r-- 1 chris chris 146 May 15 08:26 .login_conf ; uname -r 6.2-STABLE My .login_conf file is not a symlink or world writable etc. Also, an identical .login_conf for another user is applied without problems. What am I missing? Christopher Did you run cap_mkdb? From login.conf manpage: The default /etc/login.conf shipped with FreeBSD is an out of the box configuration. Whenever changes to this, or the user's ~/.login_conf, file are made, the modifications will not be picked up until cap_mkdb(1) is used to compile the file into a database. This database file will have a .db extension and is accessed through cgetent(3). Never had to deal with ~/.login_conf files, but what cap_mkdb manpage seems to say is that you have to concatenate all sources in one run, i.e. cap_mkdb /etc/login.conf /home/user1/.login.conf /home/user2/.login.conf ... HTH Ernest Thanks, unfortunately no success. When I concatenate all ~/login_conf files with /etc/login.conf I get the following warning message: cap_mkdb: ignored duplicate: me It did not help with my locale setting, though. Strangely, another user account on the same computer works correctly in that respect. Also, running cap_mkdb after changing the ~/login_conf of that user is not neccessary for the changes to take effect. This makes me think that there is something wrong with my user account. But what? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .login_conf ignored [solved]
On Tue, May 15, 2007 at 04:36:46PM +0200, Ernest Sales wrote: On Tuesday, May 15, 2007 1:18 PM, Christopher Illies wrote: On Tue, May 15, 2007 at 12:27:10PM +0200, Ernest Sales wrote: On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote: The locale settings in my .login_conf are ignored: ; cat .login_conf # $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53 # ache Exp $ # # see login.conf(5) # me:\ :charset=UTF-8:\ :lang=en_US.UTF-8: ; env | egrep -i 'lang|charset' LANG=en_US.ISO8859-1 MM_CHARSET=iso-8859-1 ; ls -l .login_conf -rw-r--r-- 1 chris chris 146 May 15 08:26 .login_conf ; uname -r 6.2-STABLE [...] Never had to deal with ~/.login_conf files, but what cap_mkdb manpage seems to say is that you have to concatenate all sources in one run, i.e. cap_mkdb /etc/login.conf /home/user1/.login.conf /home/user2/.login.conf ... HTH Ernest Thanks, unfortunately no success. When I concatenate all ~/login_conf files with /etc/login.conf I get the following warning message: cap_mkdb: ignored duplicate: me So I was mistaken. Try compiling just your ~/login_conf, make sure a ~/login_conf.db file appears. Ernest Thanks, that has worked! Before I always used cap_mkdb /etc/login.conf plus all the user's $HOME/.login_conf, but just using it on my ~/.login_conf did the trick. A ~/.login_conf.db file has appeared. I feel a bit silly for not having come up with it myself. I guess what confused me was that on another user's account the cap_mkdb compiling wasn't neccessary, but I don't need to understand that now that it works for me. Thanks again. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine on FreeBSD RELENG_6
On Wed, Nov 08, 2006 at 07:07:37PM +0100, Tore Lund wrote: Christopher Illies wrote: Is anyone successfully running wine emulating Windows 98 on FreeBSD 6.X? Which programs are you trying to run? I think you have a greater chance of getting responses if you tell us that. [...] I have had some problems with wine myself, and I find the documentation and good advice offered lacking in many respects. But I want to tell you that things seem to improve. I have just compiled wine 0.9.24, and for the first time it now runs my favorite photo editor without a hitch. I believe it very much depends on what programs you are trying to run and the effort you put into it. Besides, what is the alternative? I have tried qemu, and I think it is not the right thing for my purposes - I would rather dual boot Windows as long as I can make a handful of frequently used programs run under wine. But this is obviously a very personal choice - we all have different needs. I would need to run a program for scientific image evalution called Fuji Image Gauge. It is rather old and only run under Windows 98. The alternative for me would be to use a colleague's PC when it is available. For me the only thing that counts is evaluating some pictures in the most hasselfree way. It would be nice to do it on my computer, but if it doesn't work easily, I have other alternatives to do it. That is why I was just asking about other peoples experiences and did not want to start with troubleshooting, etc. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wine on FreeBSD RELENG_6
Is anyone successfully running wine emulating Windows 98 on FreeBSD 6.X? I know that wine used to have problems on FreeBSD and I never got it to run properly with some programs. I now tried again, but without success. Before going through the trouble of trouble-shooting and posting error messages I would like to know whether it is worth my while. cheers, Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'
On Fri, May 05, 2006 at 08:29:04PM -0500, Eric van Gyzen wrote: Christopher Illies wrote: On Tue, May 02, 2006 at 09:24:13AM +0100, Vittorio wrote: Last night , after portsnap(-ping) and trying to recompile the statistical software R from 2.2.1 to 2.3.0 I get the following: [...] cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../.. /lib -lR Rmain.o(.text+0x14): In function `main': : undefined reference to `R_running_as_main_program' *** Error code 1 No solution here, instead I am having the same problem, running 6.1-RC. If you found a solution, could you please post it here? You can work around this problem by removing R 2.2.1 before building R 2.3.0. I'll fix the port as soon as I have time. Eric -- the math/R maintainer Thanks, it works. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'
On Tue, May 02, 2006 at 09:24:13AM +0100, Vittorio wrote: Last night , after portsnap(-ping) and trying to recompile the statistical software R from 2.2.1 to 2.3.0 I get the following: [...] cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../.. /lib -lR Rmain.o(.text+0x14): In function `main': : undefined reference to `R_running_as_main_program' *** Error code 1 No solution here, instead I am having the same problem, running 6.1-RC. If you found a solution, could you please post it here? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-driver weirdness
On Wed, Nov 30, 2005 at 03:01:34PM -0800, Remington L wrote: Spoke to soon, it still crashing... Sorry to hear that. Did you ever try out the Nvidia Linux driver forum? Despite its name it also applies to FreeBSD. You can find a link to it from the Nvidia drivers download page, IIRC. There you will find discussions about all kinds of problems related to nvidia drivers on Linux/FreeBSD, and even nvidia people read that forum. HTH, Christopher On 11/29/05, Remington [EMAIL PROTECTED] wrote: NvAGP 0 is running solid, dont know what it is... has to be the nvidia driver On Tue, 2005-11-29 at 08:26 +0100, Christopher Illies wrote: On Mon, Nov 28, 2005 at 02:01:02PM -0800, Remington L wrote: This is a fresh install as of three days ago. I can try NvAGP 0 but what point would that do if it disables AGP? Well, in my case it did solve the problem of xorg locking up. It is something you can try out, maybe it works, maybe it doesn't. The card still works with AGP disabled, only a bit slower, but ... it works and does not lock up anymore. I don't know much about hardware, but I guess there some problem with Nvidia working together with certain AGP chipsets on FreeBSD/Linux, but not on Windows. Strange Anyway, your problem might be the same, might be diffenrent, disabling AGP might help, or it might not, just try it out. I would be interested to hear whether it worked, though. Christopher On 11/28/05, Louis LeBlanc [EMAIL PROTECTED] wrote: On 11/27/05 10:37 PM, Remington sat at the `puter and typed: FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sat Nov 26 23:19:14 PST 2005 root@:/usr/obj/usr/src/sys/MACHINE i386 nvidia-driver-1.0.7676_1 All ports current as of a few hours ago. No special make flags. Im sure this is a repeat post or I'm missing something stupid. Xorg keeps randlonly locking and hard rebooting my machine when the nvidia xorg driver is loaded. It can keep running for a few minutes, or take a few hours before the lockup can occur. I have commented out device agp out of my kernel config, and likewise kept it in there, both with no luck. I've also tried NvAGP set to both 1, and 2 with no luck Driver nvidia VendorName NVIDIA BoardName Geforce 6800 GT Option NvAGP 2 BusID PCI:1:0:0 Any assitance would be great, after an extensive google search I got nothing. Is this an upgrade, or a new install of 6.0? Many of the threads I've read regarding the Nvidia driver with 6.0 suggested that the Nvidia driver be rebuilt after the 6.0 upgrade. In fact, I believe rebuilding all ports was recommended, which is why I've decided to invest in a second hard drive to do a new install. I don't know if it will help, but my own config is pretty much the same - with a couple extras to omit the logo splash, accelerate rendering, etc. Of course, I'm still running 5.4. Try rebuilding the driver from ports - that's probably your best bet. HTH Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Nusbaum's Rule: The more pretentious the corporate name, the smaller the organization. (For instance, the Murphy Center for the Codification of Human and Organizational Law, contrasted to IBM, GM, and ATT.) -- -- -- Dr. Christopher Illies Karolinska Intitute Rolf Luft Center for Diabetes Research Department of Molecular Medicine L3 Karolinska Hospital S-171 76 Stockholm Sweden Tel +46 (0)8 517 76549 (lab) Fax +46 (0)8 517 79450 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-driver weirdness
On Sun, Nov 27, 2005 at 10:37:20PM -0800, Remington wrote: Im sure this is a repeat post or I'm missing something stupid. Xorg keeps randlonly locking and hard rebooting my machine when the nvidia xorg driver is loaded. It can keep running for a few minutes, or take a few hours before the lockup can occur. I have commented out device agp out of my kernel config, and likewise kept it in there, both with no luck. I've also tried NvAGP set to both 1, and 2 with no luck Driver nvidia VendorName NVIDIA BoardName Geforce 6800 GT Option NvAGP 2 BusID PCI:1:0:0 Any assitance would be great, after an extensive google search I got nothing. Did you try disabling AGP completely with Option NvAGP 0? That is what helped in my case (screen frozen, but mouse pointer moves bug). HTH, Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-driver weirdness
On Mon, Nov 28, 2005 at 02:01:02PM -0800, Remington L wrote: This is a fresh install as of three days ago. I can try NvAGP 0 but what point would that do if it disables AGP? Well, in my case it did solve the problem of xorg locking up. It is something you can try out, maybe it works, maybe it doesn't. The card still works with AGP disabled, only a bit slower, but ... it works and does not lock up anymore. I don't know much about hardware, but I guess there some problem with Nvidia working together with certain AGP chipsets on FreeBSD/Linux, but not on Windows. Strange Anyway, your problem might be the same, might be diffenrent, disabling AGP might help, or it might not, just try it out. I would be interested to hear whether it worked, though. Christopher On 11/28/05, Louis LeBlanc [EMAIL PROTECTED] wrote: On 11/27/05 10:37 PM, Remington sat at the `puter and typed: FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sat Nov 26 23:19:14 PST 2005 root@:/usr/obj/usr/src/sys/MACHINE i386 nvidia-driver-1.0.7676_1 All ports current as of a few hours ago. No special make flags. Im sure this is a repeat post or I'm missing something stupid. Xorg keeps randlonly locking and hard rebooting my machine when the nvidia xorg driver is loaded. It can keep running for a few minutes, or take a few hours before the lockup can occur. I have commented out device agp out of my kernel config, and likewise kept it in there, both with no luck. I've also tried NvAGP set to both 1, and 2 with no luck Driver nvidia VendorName NVIDIA BoardName Geforce 6800 GT Option NvAGP 2 BusID PCI:1:0:0 Any assitance would be great, after an extensive google search I got nothing. Is this an upgrade, or a new install of 6.0? Many of the threads I've read regarding the Nvidia driver with 6.0 suggested that the Nvidia driver be rebuilt after the 6.0 upgrade. In fact, I believe rebuilding all ports was recommended, which is why I've decided to invest in a second hard drive to do a new install. I don't know if it will help, but my own config is pretty much the same - with a couple extras to omit the logo splash, accelerate rendering, etc. Of course, I'm still running 5.4. Try rebuilding the driver from ports - that's probably your best bet. HTH Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Nusbaum's Rule: The more pretentious the corporate name, the smaller the organization. (For instance, the Murphy Center for the Codification of Human and Organizational Law, contrasted to IBM, GM, and ATT.) -- -- Dr. Christopher Illies Karolinska Intitute Rolf Luft Center for Diabetes Research Department of Molecular Medicine L3 Karolinska Hospital S-171 76 Stockholm Sweden Tel +46 (0)8 517 76549 (lab) Fax +46 (0)8 517 79450 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting an iPod
On Sun, Oct 30, 2005 at 04:03:02PM +0100, edward wrote: I rebuilt the kernel with HFS/HFS+ support and it boots and loads OK. May I ask how you got this to work and which FreeBSD version you are using? On my FreeBSD 6.0 system the hfs-freebsd-03p2 port fails to build after printing some warning messages. The complete source code is installed under /usr/src as suggested. TIA Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question
On Wed, Oct 05, 2005 at 11:39:19PM -0700, sulie halim wrote: how can we view/open files in freebsd? e.g write.doc, write.txt or write.ppt? To just view .doc files from the commandline, you can also try textproc/catdoc. Abiword (editors/abiword) can also edit Word files, but has difficulties with some documents that work fine with openoffice. I routinely exchange Powerpoint presentations (*.ppt) between Powerpoint and Openoffice with only minor problems. HTH, Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended AGP Nvidia card?
On Thu, Sep 22, 2005 at 09:29:00AM -0500, Kirk Strauser wrote: On Thursday 22 September 2005 01:58, you wrote: Have you checked the docs for the nvidia drivers? All geforce series should have full, or near full, hardware acceleration since nvidia releases there own closed source drivers. [...] And that's the problem. RenderAccel hasn't worked on the MX 400s I own (one in a FreeBSD machine, one in a Linux box) in quite a few months. I can't downgrade at all on the Linux box because the most recent version of the Nvidia driver that supports RenderAccel without crashing won't run on recent kernels. That's the main reason I'm shopping for replacements - my hardware isn't as usable as it was six months ago. I use an MX400 on FreeBSD with RenderAccel enabled. I had to disable AGP completely (neither NvAGP nor FreeBSD AGP worked), because I was seeing crashes (screen and keyboard are frozen, but mouse pointer moves - a common bug with FreeBSD/Linux according to the nvidia forum). Since I disabled AGP, I had no more crashes with my card, even with RenderAccel enabled. HTH Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: storing make options / interactive configuration
On Tue, Jul 19, 2005 at 10:42:19PM -0400, Rob Paxon wrote: 3.) Where do you guys prefer to store your make options? I've read using 'pkgtools.conf', but assume this doesn't effect 'make install', only portupgrade et al. I use something like the following in my /etc/make.conf: ## #port specific options ## .if ${.CURDIR:M*/www/mplayer-plugin} WITH_MOZILLA=firefox .endif This way it works well both with 'make install' and portupgrade/ portmanager. I took the idea from the portmanager man page. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Keymapping in X: xterm vs. rxvt
I have some problems with how some programs as sh or dc behave in aterm, but not xterm. About my system: ~%uname -a FreeBSD Klabautermann.ks.se 5.4-STABLE FreeBSD 5.4-STABLE #8: Thu Jun 30 21:18:02 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 With a Swedish keyboard: ~%cat /etc/rc.conf [...] keymap=swedish.iso [...] ~%cat /usr/X11R6/lib/X11/xorg.conf [...] Section InputDevice Identifier Keyboard0 Driver kbd Option XkbRules xorg Option XkbModel pc105 Option XkbLayout se Option XkbVariant nodeadkeys EndSection [...] ~%cat .login_conf [...] me:\ :charset=iso-8859-1:\ :lang=en_US.ISO8859-1 [...] The problem starts when I use any of rxvt/aterm/wterm with sh as their shell (e.g. aterm -e sh): In this case when I press SHIFT + 8, which should give me ( (= open parenthesis) on my keyboard, the shell executes a backspace. Also the backspace does not work, but apart from that all other keys, including special characters, seem to work fine. With xterm I do not see any of these problems at all. All other shells, csh, tcsh and zsh work fine with aterm. So far I could ignore all this and be happy using aterm with zsh, but when I now (aterm and zsh) use a program like dc or ficl, which require input, I again have SHIFT + 8 mapped to BACKSPACE not to (. Again, dc does not have this problem run in xterm. This behaviour seems to be inheritable, because when start xterm not directly from the window manager, but from aterm, both sh and dc have SHIFT + 8 mapped to a backspace-like action. I checked the $TERM variable, but that is always rxvt on aterm and xterm on xterm. BTW, bc and vi run fine under all conditions, i.e. ( is where it should be. So to conclude: There is something that sh, dc and ficl have in common concerning how they interpret keys under X that does not work together with aterm/rxvt/wterm, but runs fine with xterm. Then again, this behavior seems to be inheritable. Result: I am confused. Where is the problem? Is it my configuration, something with xorg, something with rxvt/aterm/wterm or something with sh/dc/...? How can I fix it, so that sh and dc will have the correct keyboard mapping also in aterm? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: abiword (or even Ooo) and more fonts.
On Fri, Jun 17, 2005 at 09:13:56PM -0700, Gary Kline wrote: Folks, Once upon a time (like when I ran v 4.x) I somehow managed to have a bunch of ttf-derived fonts that somehow worked with abiword. Is there anything in x11-fonts that would give me access to more than the standard fonts? (Just for my rare snail letters that would use something fun or offbeat.) There is a section in the handbook about ttf fonts. I got ttf fonts to work on my system that way. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html HTH, Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cleaning Out Ports?
On Mon, Jan 31, 2005 at 08:32:41PM -0500, Matt LaPlante wrote: I know the ports system is designed to install dependencies automatically, but how does one go about removing them? Say one large package installs several dependencies, but then later on that package is removed...and now we're left with several orphaned packages. Is there a way to either detect, or even automatically clean out orphaned packages? I'm particularly concerned because I'm dealing with a few systems which are rather well aged, and have gone through several upgrade cycles. I know the Linux version of the ports system found in Gentoo (portage) offers extensive functionality for finding and removing orphaned dependencies, so I'm hoping FreeBSD has some such feature as well. Thanks. Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that detects and removes orphaned dependencies. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On Sun, Jan 30, 2005 at 05:32:40PM -0500, [EMAIL PROTECTED] wrote: My display is to big for the monitor, I only see half of the desk top. How do I fix this? thanks -- You don't give much information ( which FreeBSD, are you using X and a window manager ?), so I have to guess. If you are using X and the problem is that you only see part of your desk top on the screen, but you can scroll with mouse to other parts of the desk top, then your 'virtual screen' is bigger than your actual screen. You can fix this by modifying your xfree86.conf or xorg.conf, depending on which FreeBSD you use. HTH, Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Typo in: cache-update (portindex) - hangs(?)
Thanks for your reply and sorry for the typo. Yes cache-init also took a couple of hours on my computer, but when it finished i got the command-promt back. But I am having problems with cache-update. I include the last paragraphs of my original post with the typo corrected: for upating the portstree I do: # cvsup -g -L 2 ports-supfile # cache-update # portindex -o /usr/ports/INDEX-5 (I am using 5-stable) # portsdb -u (I am also using portupgrade) # portupgrade -arR (or whatever) What happens if you add # make fetchindex immediately after the cvsup? I just tried it and it does not change the behaviour of cache-update. cache-update still shows a short burst of activity before it becomes idle, but does not return to the command promt. But if I understand it correctly, isn't the whole purpose of the portindex-suite to provide yet another mechamism to create an up to date INDEX(-5) file, but both being faster than 'make index' (portsdb -U) and more up to date than 'make fetchindex'? So wouldn't the 'make fetchindex' kind of defeat the purpose of using portindex? Sorry, for all the questions, I am still trying to figure this all this out for myself. I am still quite unexperienced in FreeBSD .. ;-) Christopher ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Typo in: cache-update (portindex) - hangs(?)
The reason cache-update becomes idle is that it is waiting for input: specifically, it's waiting for something from which it can determine the latest changes to your /etc/ports hierarchy. (See the cache-update man page for more details.) In your case, you should just be able to pipe the output of the cvsup command into cache-update to achieve the desired effect. (You might need to use cache-update -f cvsup-output the tell it what kind of input format you're feeding it.) In other words, try something akin to this: cvsup -g -L 2 ports-supfile | cache-update -f cvsup-output I use the cvsup-checkouts input format when running cache-update. In other words, my cache-update command is as follows (I'm running -CURRENT): cache-update -f cvsup-checkouts -i /var/db/sup/ports-all/checkouts.cvs:. (Note that the final . is significant.) Cache-update can also use the -f plain input format in conjunction with its find-updated command to look for changes made after a given date. See the find-updated man page for details. So, you have a lot of flexibility in how you can update the portindex cache. Thanks a lot for this explanation. Rereading the man page now I actually understand what it says. Maybe the cache-update man page, or indeed any of the portindex man pages would benefit from an examples section to make life easier for people like me... The way I understand FreeBSD works this means that I have to write it and then contact the maintainer to submit it? Christopher ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Typo in: cache-update (portindex) - hangs(?)
The problem I have is now that cache-init seems to hang: ^^ Sorry, this was a typo: I meant cache-update, not cache-init. It took a couple of hours for cache-init to complete on my K-6/2 450 / 128MB machine at home. You may just want to give it some time. Thanks for your reply and sorry for the typo. Yes cache-init also took a couple of hours on my computer, but when it finished i got the command-promt back. But I am having problems with cache-update. I include the last paragraphs of my original post with the typo corrected: for upating the portstree I do: # cvsup -g -L 2 ports-supfile # cache-update # portindex -o /usr/ports/INDEX-5 (I am using 5-stable) # portsdb -u (I am also using portupgrade) # portupgrade -arR (or whatever) The problem I have is now that cache-update seems to hang: When I start it there is activity for some seconds (as seen in top), but no output at all, then silence, but the command promt does not come back. From a different terminal I get this (not wrapped): ~%ps aux | grep cache-update root58657 6.3 2.6 8052 6684 p1 I+9:50AM 0:08.27 cache-update (perl) Since cache-update seems to be idle I used to ctrl-C cache-update and then proceed, so far without getting into trouble. Is this expected behaviour or am I doing something wrong here? Christopher ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cache-update (portindex) - hangs(?)
Hi, I am trying to figure out the correct way to use sysutils/p5-FreeBSD-Portindex. From how I understand it, the procedure for updating the ports system would be: to initialise cache, afterwards occasionally : # cache-init then for upating the portstree: # cvsup -g -L 2 ports-supfile # cache-update # portindex -o /usr/ports/INDEX-5 (I am using 5-stable) # portsdb -u (I am also using portupgrade) # portupgrade -arR (or whatever) The problem I have is now that cache-init seems to hang: When I start it there is activity for some seconds (as seen in top), but no output at all, then silence - but the command promt does not come back. From a different terminal I get this (not wrapped): ~%ps aux | grep cache-update root58657 6.3 2.6 8052 6684 p1 I+9:50AM 0:08.27 cache-update (perl) Since cache-update seems to be idle I used to ctrl-C cache-update and then proceed, so far without getting into trouble. Is this expected behaviour or am I doing something wrong here? Christopher ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mic problems
I have installed KDE3, aumix and skype ports in my machine. When I try to use skype .. it works perfectly ... I can listen the remote side. But the other side cannot listen to me. How is possible to do a correct configuration in my microphone ? Did you adjust mic and rec with mixer(8) ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
annoying dhclient error messages
I recently installed FreeBSD 5.3 on my desktop at work. DHCP was configured with sysinstall (/etc/rc.conf: ifconfig_fxp0=DHCP), and /etc/dhclient.conf is empty. In fact I do have a good network connection. The problem is that I get the following annoying error messages about every two to five minutes: Nov 13 13:43:59 Klabautermann dhclient: slp-directory-agent: 4 extra bytes at end of array Nov 13 13:43:59 Klabautermann last message repeated 2 times Nov 13 13:43:59 Klabautermann dhclient: parse_option_param: Bad format a Nov 13 13:46:26 Klabautermann dhclient: slp-directory-agent: 4 extra bytes at end of array Nov 13 13:46:26 Klabautermann last message repeated 2 times Nov 13 13:46:26 Klabautermann dhclient: parse_option_param: Bad format a These messages are more a nuisance than anything else, still I would like to get rid of them. I updated the system last week (tag=RELENG_5), but that did not help. Interestingly, I do not see these messages when running Debian GNU/Linux on the very same computer. Google did not reveal anything helpful. Thanks in advance for any help or pointers, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]