Re: When will OpenBSD support UTF8?
--- Paul Irofti [EMAIL PROTECTED] wrote: On Thu, Nov 01, 2007 at 11:22:53AM -0400, Nick Guenther wrote: On 11/1/07, Juan Miscaro [EMAIL PROTECTED] wrote: Hi gang. Is there any priority for having OpenBSD support UTF8? // peter utf-8 isn't an OS-level thing. You need to do it in every app. Googling, the first result brings up http://osdir.com/ml/os.openbsd.ports/2004-02/msg00376.html as an example. The sad thing is that the man pages don't mention that OpenBSD's libc doesn't quite support locale, multibyte/wide char conversions thus Unicode. E.g. if you look at mbstowcs(3) you'd say: okay, I can use that... but looking at the code behind it you'll see its a pure stab that does a simple memcpy from chars to ints (or wchar_ts as they modernly call it in C99). To get back to the practical nature of my original request, if someone can let me know how to write French characters in a terminal (via an SSH connection) I would be very grateful. I would like to use a terminal emulator that uses UTF8 and I believe xterm does this but I can't find an OpenBSD package (or port) for it. // juan Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
Re: OpenBSD Sound
On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote: [...] probably not; at least not anytime soon. something for newbie hackers to work on: an ISC licensed audio daemon. Sorry for hijacking this thread, propably anyone has a quick hint to make my audio work in kde. Built /usr/src/regress/sys/dev/audio/obj as described here http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.html and autest -r 48000 delivers good quality tone. relevant dmesg seems to be this one: azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 21 (irq 10) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 However this doesn't seem to be a driver problem since autest passed with success. It's just that kde doesn't detect the device, where can I look at to nail down the problem? pkg_info contains either esound and arts. Thanks, Dorian
Re: hotplugd for CD's?
On Fri, Nov 02, 2007 at 10:03:45AM +, Edd Barrett wrote: On another note, it would also be useful to allow users to mount directories not owned by them. As it stands if you want to allow a user to mount a cdrom drive, they each need thier own mount directory. This is not convenient if many users are going to use a system, would you agree? Sure, you can configure sudo, but you can't get apps like KDE for example, to use it. Can you see the possibility of changing this so that the group may mount the cdrom, or even a 'user' directive in fstab, which I think I saw in some other operating system (:P). make it automounted. man 8 amd info amd :) -- Thirty days hath Septober, April, June, and no wonder. all the rest have peanut butter except my father who wears red suspenders.
Re: OpenBSD Sound
Dorian B|ttner [EMAIL PROTECTED] writes: However this doesn't seem to be a driver problem since autest passed with success. It's just that kde doesn't detect the device, where can I look at to nail down the problem? pkg_info contains either esound and arts. Several Thinkpad users including myself have found that by default the output volume is set to zero, and sounds start happening after you've pushed the sound volume up button for a few seconds. That may or may not be relevant to your particular situation, but I thought it worth mentioning. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: BIND and /var/arandom missing fix]
On Fri, Nov 02, 2007 at 07:31:22AM +, Stuart Henderson wrote: On 2007/11/01 22:46, J.D. Carlson wrote: I have ignored them, for a number of years and never worried about it. But management dictates we move to Men and Mice to manage dns. If I run their DNS Server Controller under linux emulation and the OpenBSD named is running as a chroot, it looks for a /dev/random or /dev/arandom inside the chroot. It fails if it is not there: Men and Mice DNS Server Controller for BIND[32343]: Unable to initalize crypting library. Random device not readable. So my choice was to give up OpenBSD as our name servers (never!) and run Linux or FreeBSD (also never!), or run OBSD named without the chroot. It seemed like a compromise I could live with. There's nothing magic about device nodes, you can just create them yourself. See mknod(1) and /dev/MAKEDEV. To have them work the partition can not be mounted nodev, which /var is. I shoukd have said it fails if it doesn't work. A simple test was to run dd if=/var/dev/arandom bs=1 count=5 after I created the device. It fails if the partition is mounted nodev.
Re: In Memoriam: Jun-ichiro Hagino
Physically, Itojun has gone from this temporal earthly life. But, IMHO, it won't be too long that his legacy in the IPV6 arena will be of immense adaptations and benefits to the internet community. Hence, the legend of the great gentle samurai hacker will always be honored forevermore. Hi! On Sat, Nov 03, 2007 at 01:45:57AM +0100, Gilbert Fernandes wrote: Dragos Ruiu a icrit : With great sadness, I regret to inform you that Itojun will not be presenting his great knowledge of IPv6 at PacSec. I have been informed by several sources that he passed away yesterday. This is very sad. Indeed. I just spent some time watching again all his youtube videos and the second one.. he talks of how ipv6 should be wide enough so we should not run out of addresses, not in his lifetime. And then he added that he hoped it would of course not be too short. Seeing this video is strange. Itojun was someone very friendly. And I mean it. Years ago I worked as a journalist for a french magazine called Login (it no longer does exist now, its mother company has gone bankrupt). For one of the issues, I had to write a big paper on Ipv6 and Itojun was, with a France Telecom ingineer specialized in ipv6 and working from Belgium, the one person that answered first when I was looking for advices and links on Internet. Itojun spent a lot of time searching and sending me documentation. Later, I learned that he had to get up early the next day but nonetheless he spent several hours in the night looking for information and writing some for me just for helping me on that paper. Itojun just did it, and didnt even talked about his half night because of this. He was someone gentle and kind and did efforts for others, and without even talking about it. Learning now that he is gone is very sad. *nods* Thanks for that memory. A few years later I remember Itojun receiving from someone on one of the openbsd's mailing list a rather rude answer. I did interverne and tried to tell that person he should be more cautious of his talk because he obviously didnt do his homework before being rude to Itojun (if I remember correctly it was after a commit and something was not working perfectly after). Itojun again did not publically answer his feelings, but I remember receiving from him an email later, in private. We do meet rude people or even morons from time to time (especially in openbsd-misc, you know what I mean right ?) and this event did make something to Itojun. I could feel it really hurt him to see someone react with so much rudeness after a commit and having spent time working for the whole community. He was puzzled and really did not understand the whole thing got out of proportion like that. *sigh* Sad, indeed. Hope it helped him that at least you stood openly behind him. I spent some time after this accident talking with him and telling him about his code and snippets I had seen, and taking some fresh news since our last email exchanges for my ipv6 paper. Only talked with him twice to say, and I will never forget his kindness and being very discrete about his efforts when having to help someone just because you shared something he did like to work upon. Goodbye Itojun. Kind regards, Hannah.
Re: hotplugd for CD's?
On 02/11/2007, Tilo Stritzky [EMAIL PROTECTED] wrote: On another note, it would also be useful to allow users to mount directories not owned by them. As it stands if you want to allow a user to mount a cdrom drive, they each need thier own mount directory. This is not convenient if many users are going to use a system, would you agree? Sure, you can configure sudo, but you can't get apps like KDE for example, to use it. Can you see the possibility of changing this so that the group may mount the cdrom, or even a 'user' directive in fstab, which I think I saw in some other operating system (:P). Insisting on proper ownership is fine, just give the files to the user on logon and take them back when she logs out. And when many users log in? This is what fbtab(5) is for. However I have yet to work out how this blends with X. One ugly but working way is to hack up /etc/X11/xdm/{Give,Take}Console to include the mountpoints and devices. BTW, mountpoints can just as well be in $HOME (or /tmp). Yes, thats how I do it now, but if I had more users it would have to be scripted, which would be quite annoying. Just ideas to make desktop use a little more automated. Thanks regards tilo -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
Re: hotplugd for CD's?
On 02/11/07 13:54 Edd Barrett wrote: On 02/11/2007, Tilo Stritzky [EMAIL PROTECTED] wrote: On another note, it would also be useful to allow users to mount directories not owned by them. As it stands if you want to allow a user to mount a cdrom drive, they each need thier own mount directory. This is not convenient if many users are going to use a system, would you agree? Sure, you can configure sudo, but you can't get apps like KDE for example, to use it. Can you see the possibility of changing this so that the group may mount the cdrom, or even a 'user' directive in fstab, which I think I saw in some other operating system (:P). Insisting on proper ownership is fine, just give the files to the user on logon and take them back when she logs out. And when many users log in? The dude next to drive gets access to it. If he inserts some media and mounts it, it's his data. Just like any other files he can give or deny access to other users by setting permissions. This is what fbtab(5) is for. However I have yet to work out how this blends with X. One ugly but working way is to hack up /etc/X11/xdm/{Give,Take}Console to include the mountpoints and devices. BTW, mountpoints can just as well be in $HOME (or /tmp). Yes, thats how I do it now, but if I had more users it would have to be scripted, which would be quite annoying. I'm not sure I understand. Maybe we are trying to solve different problems ;) As for the devcice nodes, theese go the user with the physical access (Otherwise practical jokes are a best case scenario). The mounted file structure is just like any other data, who owns it gives or denies access as nessecary. regards tilo
Re: BIND and /var/arandom missing fix]
On Fri, Nov 02, 2007 at 08:46:53AM -0400, Matt Rowley wrote: To have them work the partition can not be mounted nodev, which /var is. I shoukd have said it fails if it doesn't work. A simple test was to run Why not make /var/named its own partition? I.e., one mounted without nodev. Actually, I made /var/named/dev its own partition, like I said in the very first message. Limiting exposure even more.
Re: Questions to 4.0-4.1 upgrade
On Fri, 2 Nov 2007 14:00:32 +0100, Karel Kulhavy wrote I want to upgrade from 4.0 to 4.2 and I see I am supposed to perform 4.0-4.1 first. That's correct. :) Pay special attention to mail/* if you are using something other than the default Sendmail(8) configuration. - I use Exim so I should do this. What specifically is meant with pay special attention? *IF* you are using Sendmail -- then you will need to look at local configuration. But, you are using Exim instead of Sendmail, so I believe this does not apply to you. How do I figure out what local changes I did? Is there something like the cvs diff command? I have the system over a year and if I needed to change something in the config files then I just changed it and forgot it. This is all about the many manual changes you have made to /etc, and possibly some of the config files in /var. The easiest way to manage this is with the mergemaster package. It automates -- well, semi-automates -- the process, telling you what has changed, allows you to merge your customizations, and makes an otherwise dreary job much easier to do. ...I installed a lot of packages on my system and have no idea what is their complete list. How do I figure that out and how do I discern between packages that were already pre-installed by default and the ones I installed explicitly? Then, how do I upgrade a package XXX? A complete list can be had from pkg_info. Upgrades of all packages can be done simply and easily by setting PKG_PATH appropriately, then issuing: # pkg_add -iu ..is the application upgrade guide something the application author publishes or something that the OpenBSD project publishes? Where is it? This will depend on the application. The only one that comes immediately to mind is PostgreSQL ... where the database must be exported/imported between releases. There may be others, of course.
Re: Installation troubles
On Thu, Nov 01, 2007 at 06:50:59PM -0400, Chris Zakelj wrote: Picked up a USB to serial converter on the way home from the office. Here's a complete installation attempt using the 4.2 i386 CD: Let's install the sets! Location of sets? (cd disk ftp http or 'done') [cd] Available CD-ROMs are: cd0. Which one contains the install media? (or 'done') [cd0] cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error ASC/ASCQ: ASC 0x11 ASCQ 0x06 cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error ASC/ASCQ: ASC 0x11 ASCQ 0x06 cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error ASC/ASCQ: ASC 0x11 ASCQ 0x06 No filesystems found on cd0 Location of sets? (cd disk ftp http or 'done') [cd] ASC/ASCQ 0x11/0x06 would appear to mean CIRC Unrecovered Error. These values are listed in /usr/src/sys/scsi_base.c, line 1207 and following. The error text is left out of install kernels to save space. Some random Googling gave me A CIRC unrecovered data error is defined as a block for which the CIRC based error correction algorithm was unsuccessful on all read attempts up to the read retry count. Layered error correction was not used. at http://www.t10.org/ftp/x3t9.2/document.89/89-108r0.txt Obvously our read retry count is 3 in this case. I don' know if the other OS's you tried have larger values and eventually succeeded, or if they just didn't happen to hit the same block. But it looks like an inability to read a particular block from that CD on that system. Ken
Re: BIND and /var/arandom missing fix]
I'm failing to see the problem, but really.. Linux emulation for mission critical applications just has Bad Idea written all over it.. I personally don't see a problem with creating an additional partition which allows such pseudo devices though...
GPRS/EDGE modems to use with a notebook
Hi! I'm looking for a mobile device which I could use for connecting to the internet with a notebook. I've read the www.openbsd.org/i386.html page and found some devices, but those are rather hard to find here in Hungary. Could someone inform me about some other GPRS/EDGE capable devices which will work with OpenBSD? (be it a pc-card or a mobile phone). Thanks! Daniel
Re: Wireless problems.
On 11/1/07, David Walker [EMAIL PROTECTED] wrote: Cheers. That looks exactly correct. ifconfig(8). Specifically IEEE 802.11 (WIRELESS DEVICES). Quote: bssid bssid Set the desired BSSID for IEEE 802.11-based wireless network interfaces. Presumably as you say I can change my hostname.if from 'dhcp' to 'dhcp SSID'. I will find out. Yes you can. Here is mine: $ cat /etc/hostname.wi0 dhcp nwid sexiestpad nwkey scrubbed !ping -c 2 192.168.11.1 $ The ping command is because my shitty broadcom router doesn't like to let packets through until I poke it a bunch for some reason. -Nick
Re: 4.2 Trouble with HP Notebook
On Nov 2, 2007 1:24 PM, Rafal Brodewicz [EMAIL PROTECTED] wrote: Frans Haarman pisze: The model is HP Compaq 6710b And indeed, enableing acpi crashes things! I have 6510b model and enabling acpi crashes system. The main problem in disabled acpi is that cpu fan doesn't respond to cpu temperature changes so it's very easy to overheat cpu. dmesg is in my previous post HP notebook fan issue. Probably acpi related thing. Try install amd64 version which works fine. i386 stops at MTRR for me too. Will try this today! Thanks.
Re: OpenBSD Sound
On Fri, Nov 02, 2007 at 12:42:29PM +0100, Dorian B?ttner wrote: On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote: [...] probably not; at least not anytime soon. something for newbie hackers to work on: an ISC licensed audio daemon. Sorry for hijacking this thread, propably anyone has a quick hint to make my audio work in kde. Built /usr/src/regress/sys/dev/audio/obj as described here http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.html and autest -r 48000 delivers good quality tone. relevant dmesg seems to be this one: azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 21 (irq 10) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 However this doesn't seem to be a driver problem since autest passed with success. It's just that kde doesn't detect the device, where can I look at to nail down the problem? pkg_info contains either esound and arts. is artsd running? $ pgrep -l artsd is the audio device opened for playback? $ audioctl play.open is it actuall artsd that has /dev/sound opened? (artsd uses /dev/sound instead of /dev/audio) $ fstat /dev/sound if all those are yes, then see if it works: $ artscat file.wav oh, and since you have azalia, you may need to tell artsd to resample to 48kHz. K Menu - Settings - Sounds Multimedia - Sound System In the Hardware tab. Check Use custom sampling rate, set it to 48000 Hz. or manually starts artsd with 'artsd -r 48000'. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org
Re: : deploy openssl patch
A very nice startegy from you. I have been looking for how to patch several machines this way. The kernel is easy since it is just one file to patch. But the userland is more delicate. Just to summarize your script (I want to understand how to do it manually), this seems what to do (?): Preparation: # MYTMP=/var/tmp/myroot # better use mktemp # mkdir $MYTMP # mkdir $MYTMP/obj $MYTMP/dest # cd /usr/src/etc # DESTDIR=$MYTMP/dest make distrib-dirs # cd $MYTMP/dest # mtree -c -k type ../dest.mtree Patching: # cd /usr/src Patch and build all patches as usual, but use `make DESTDIR=$MYTMP/dest install' instead of plain `make install' Creating the patch: # cd $MYTMP/dest # sudo mtree -f ../dest.mtree ../patch.mtree # MYPATCH=$MYTMP/patch.tar.gz # better use mktemp # grep '^extra:' ../patch.mtree | cut -d' ' -f2 \ | tar czf $MYPATCH -I - echo OK || echo FAILED Where the important tricks are `make distrib-dirs' in /usr/src/etc with DESTDIR set, mtree of the directory tree that was created there, patching with make install using argument DESTDIR, and mtree of the resulting tree to find what has changed; tar:ing the added files. On Thu, Nov 01, 2007 at 02:25:31PM -0700, Clint Pachl wrote: Markus Wernig wrote: Dear list I have a couple of 4.1 firewalls that I would like to upgrade to 4.2. Before taking them online again I'd like to deploy the openssl patch from ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.2/common/002_openssl.patch I feel your pain. Others have dissed on you for not having compile tools on your hosts and assume you're doing it for security reasons. I don't know your reason, but I only have compile tools on my build system. I create binary patches (see script below) and distribute across the network. Who the hell wants 20 (# of servers in my network) builds cranking on all your machines in the network? What a nightmare. What if they all fail? Worse yet, what if one fails? Someone is going to say, script/automate it. Screw that. Now you need to figure out how to make the sources available to all the hosts, initiate the build, make sure the build didn't fail, etc. Another reason I don't have compile tools on some of my servers is because they won't fit. Many of my dedicated systems use 256MB flash drives. The third reason to keep crap off your servers, including compiler tools, is that potentially that extra stuff could be exploitable. If it is, then you have to patch it too. Just extra work. Being perimeter firewalls, those systems don't have compile tools installed. I would thus need to pre-compile libssl on a 4.2 buildhost and deploy it onto the firewalls. I've been looking through the documentation but did not find a good way to do this, because openssl is not a package, but part of the base system. OpenBSD makes if very easy to create binary patches. I wrote a script below that automates most of the process. I have been using this script for a while and it works pretty good. The good thing about this is that it only creates a binary patch of executables and files that were affected by the source patch. This also has the benefit of touching only a small portion of the installed system, which can be helpful when you are monitoring for trojan horses. The alternative, which someone else mentioned, is just make a release. This is straightforward and officially supported. See release(8). Is there any way other than tar - scp - untar after compiling libssl? thx for any pointers /markus I will apologize in advance for the screwed spacing/tabbing. #!/bin/sh # # Builds kernel and userland from the /usr/src tree. The script sets up the # build environment then kicks the user to a shell to manually patch the # source. When in userland build mode, the user is also asked to build and # install using the instructions specified in the official OpenBSD patch. After # the user exits the work shell, this script will build the kernel or create a # binary userland patch depending on the operation mode. # # BUGS # Does not build or make binary patches for the X system. # usage() { cat - EOF usage: $APP {-k | -u} [-h] [-p patch-name] -k : kernel build mode; makes GENERIC GENERIC.MP kernels -u : userland build mode; makes binary patches -p : embedded in the newly built kernel/patch filenames -h : help EOF exit $1 } APP=${0##*/} REL=`uname -r` ARCH=`uname -m` Mode=0 PatchName= KernCfgs='GENERIC GENERIC.MP' while getopts p:kuh i do case $i in k) Mode=1 ;; u) Mode=2 ;; p) PatchName=-$OPTARG ;; h) usage 0 ;; *) echo $APP: cmdline parse error. usage 1 esac done [ $Mode -ne 0 ] || usage 1 TDIR=`mktemp -d /var/tmp/${APP}.XXX` || exit 1 trap 'rm -rf $TDIR
Re: 4.2 Trouble with HP Notebook
Frans Haarman pisze: The model is HP Compaq 6710b And indeed, enableing acpi crashes things! I have 6510b model and enabling acpi crashes system. The main problem in disabled acpi is that cpu fan doesn't respond to cpu temperature changes so it's very easy to overheat cpu. dmesg is in my previous post HP notebook fan issue. Probably acpi related thing. Try install amd64 version which works fine. i386 stops at MTRR for me too. Regards. -- Rafal Brodewicz [EMAIL PROTECTED]
Questions to 4.0-4.1 upgrade
I want to upgrade from 4.0 to 4.2 and I see I am supposed to perform 4.0-4.1 first. But some things are unclear to me in http://openbsd.org/faq/upgrade41.html: Pay special attention to mail/* if you are using something other than the default Sendmail(8) configuration. - I use Exim so I should do this. What specifically is meant with pay special attention? Files that must be manually merged, respecting any local changes made to them, if they were modified from the default, otherwise, just copy them over, too: How do I figure out what local changes I did? Is there something like the cvs diff command? I have the system over a year and if I needed to change something in the config files then I just changed it and forgot it. If you installed any packages on your system, you should upgrade them after completing the upgrade of the base system. - I installed a lot of packages on my system and have no idea what is their complete list. How do I figure that out and how do I discern between packages that were already pre-installed by default and the ones I installed explicitly? Then, how do I upgrade a package XXX? Check with the application's upgrade guide for details. - is the application upgrade guide something the application author publishes or something that the OpenBSD project publishes? Where is it? Thanks for clarifications, CL
Re: apm -S freezes the laptop
Conclusions: I thought it could be the ati driver First I tried to change it with the vesa one and it suspended very quickly; only X was not displayed correctly. So that I thought I could give X a chance to run on the fly (without xorg.conf) and 1- the laptop is suspending/ resuming the old thinkpad way (i.e. in a fraction of a second) 2- X is looking just as good as when using xorg.conf + vesa driver 3- But there is still a random power-off After some minutes the laptop decides to power-off; as fast as if it had been plugged without battery and you pulled out the power cable. sigh... Pau
Re: OpenBSD Sound
On Friday 02 November 2007 14:41:18 Daniel wrote: [...] ok I removed the auto-suspend checkbox in the control center audio settings. After restarting the system I now have better values: $ audioctl play.rate play.rate=48000 $ audioctl play.open play.open=1 $ artscat testcase.wav plays fine :)) however kde doesn't. There seems to be the glue missing between the artsd and the kde sound system? If you mean the kde system notification sounds are not working check this: KDE Control Center / Sound Multimedia / System Notifications: Bottom Right corner - [Player Settings] button. HTH, Daniel No kde doesn't play anything at all, kmixer doesn't have any available device.
Re: GPRS/EDGE modems to use with a notebook
On 2007. November 2. 17:56.39 John Jackson wrote: I've had success with the Sierra Wireless Aircard 860 on a Thinkpad X40. Lately though the card seems to be acting flakey and causing hard lockups. That could be a combination of the firmware which on the Aircard and the carrier which is ATT. From what I've read, it's recommended to keep the firmware updated to keep in step with the carrier's infrastructure updates. Unfortunately I haven't found a way to upgrade the cards firmware under OpenBSD or Linux. http://www.sierrawireless.com/estore/Default.aspx?SKU=1100521CID=1 John Thanks John, this would be great. Only one thing bothers me: Attention: the AirCard 860 is in its End Of Life phase and no longer available. For more information, click here / from the above mentioned site / On Fri, Nov 02, 2007 at 05:01:16PM +0100, Daniel wrote: Hi! I'm looking for a mobile device which I could use for connecting to the internet with a notebook. I've read the www.openbsd.org/i386.html page and found some devices, but those are rather hard to find here in Hungary. Could someone inform me about some other GPRS/EDGE capable devices which will work with OpenBSD? (be it a pc-card or a mobile phone). Thanks! Daniel
Re: Where is 'cdrom42.fs'? 4.2 -release
Rod, You are absolutely correct. Using the --reject *iso directive for wget in the instructions will now filter out all iso files from downloading. The wording on the web page has been cleaned up and clarified. Thanks for your feedback, it is appreciated. -- Calomel @ http://calomel.org OpenSource Research and Reference On Fri, Nov 02, 2007 at 12:55:39PM +1100, RW wrote: On Thu, 1 Nov 2007 20:01:16 -0400, Calomel wrote: Making a custom, bootable OpenBSD install CD http://calomel.org/bootable_openbsd_cd.html Calomel, I think you need to rapidly go edit your instructions and the script to get rid of the wildcard in the wget command to get the install files. Nobody building a custom CD will thank you for imposing a dowload of the 204MB install42.iso along with the needed files. Secondly, you need to stop referring to install sets as packages. I was really confused when I read The OpenBSD group do (sic) offer iso's you can download and use to install a system. The problem is they may have packages you know you will never use. because I knew that the downloadable iso includes NO packages. Packages are precompiled applications from the ports tree. Let's not confuse newbies. Rod/ In the beginning was The Word and The Word was Content-type: text/plain The Word of Rod.
Re: Remembering Jun-ichiro Hagino
* Adrian Fisher [EMAIL PROTECTED] [2007-11-01 11:22]: This thread is the first I have heard of him. Who is (or was) he? A. How unbelievably [EMAIL PROTECTED] You can't even have the decency to google his name before you spout your ignorance here, in an incredibly insensitive manner. Are you really that lazy that you can't google itojun and I feel lucky? - Instead you need to post here in a way that makes all the developers, myself included, wonder why we even read this lists to see posts like this from people who are too lazy to even look up the name of someone who was instrumental in helping to write and improve a lot of they software you're using, at least if you're on this list because you run OpenBSD. Your post would be on par with asking on this list who the hell this Theo de Raadt was. -Bob
Re: When will OpenBSD support UTF8?
On 11/2/07, Juan Miscaro [EMAIL PROTECTED] wrote: --- Paul Irofti [EMAIL PROTECTED] wrote: On Thu, Nov 01, 2007 at 11:22:53AM -0400, Nick Guenther wrote: On 11/1/07, Juan Miscaro [EMAIL PROTECTED] wrote: Hi gang. Is there any priority for having OpenBSD support UTF8? // peter utf-8 isn't an OS-level thing. You need to do it in every app. Googling, the first result brings up http://osdir.com/ml/os.openbsd.ports/2004-02/msg00376.html as an example. The sad thing is that the man pages don't mention that OpenBSD's libc doesn't quite support locale, multibyte/wide char conversions thus Unicode. E.g. if you look at mbstowcs(3) you'd say: okay, I can use that... but looking at the code behind it you'll see its a pure stab that does a simple memcpy from chars to ints (or wchar_ts as they modernly call it in C99). To get back to the practical nature of my original request, if someone can let me know how to write French characters in a terminal (via an SSH connection) I would be very grateful. I would like to use a terminal emulator that uses UTF8 and I believe xterm does this but I can't find an OpenBSD package (or port) for it. xterm comes with OpenBSD. just run 'xterm' You could try rxvt (which is in packages) if that doesn't work for some reason. -Nick
Re: etherip lag
Hi, Thank you for the help. Perhaps a problem with MSS (so PMTU discovery). Could you check if all ICMP are blocked at work ? Is it possible you setup your iMac to use a lower mss (let's say 1200) and try again ? I check with MTU 1200 on iMac. And the problem is solved. Things look better with only the following line in pf.conf scrub out on gif0 all max-mss 1280 I will check with MTU 1452. Cordialement, Jean-Girard Pailloncy
Re: In Memoriam: Jun-ichiro Hagino
Hi! On Sat, Nov 03, 2007 at 01:45:57AM +0100, Gilbert Fernandes wrote: Dragos Ruiu a icrit : With great sadness, I regret to inform you that Itojun will not be presenting his great knowledge of IPv6 at PacSec. I have been informed by several sources that he passed away yesterday. This is very sad. Indeed. I just spent some time watching again all his youtube videos and the second one.. he talks of how ipv6 should be wide enough so we should not run out of addresses, not in his lifetime. And then he added that he hoped it would of course not be too short. Seeing this video is strange. Itojun was someone very friendly. And I mean it. Years ago I worked as a journalist for a french magazine called Login (it no longer does exist now, its mother company has gone bankrupt). For one of the issues, I had to write a big paper on Ipv6 and Itojun was, with a France Telecom ingineer specialized in ipv6 and working from Belgium, the one person that answered first when I was looking for advices and links on Internet. Itojun spent a lot of time searching and sending me documentation. Later, I learned that he had to get up early the next day but nonetheless he spent several hours in the night looking for information and writing some for me just for helping me on that paper. Itojun just did it, and didnt even talked about his half night because of this. He was someone gentle and kind and did efforts for others, and without even talking about it. Learning now that he is gone is very sad. *nods* Thanks for that memory. A few years later I remember Itojun receiving from someone on one of the openbsd's mailing list a rather rude answer. I did interverne and tried to tell that person he should be more cautious of his talk because he obviously didnt do his homework before being rude to Itojun (if I remember correctly it was after a commit and something was not working perfectly after). Itojun again did not publically answer his feelings, but I remember receiving from him an email later, in private. We do meet rude people or even morons from time to time (especially in openbsd-misc, you know what I mean right ?) and this event did make something to Itojun. I could feel it really hurt him to see someone react with so much rudeness after a commit and having spent time working for the whole community. He was puzzled and really did not understand the whole thing got out of proportion like that. *sigh* Sad, indeed. Hope it helped him that at least you stood openly behind him. I spent some time after this accident talking with him and telling him about his code and snippets I had seen, and taking some fresh news since our last email exchanges for my ipv6 paper. Only talked with him twice to say, and I will never forget his kindness and being very discrete about his efforts when having to help someone just because you shared something he did like to work upon. Goodbye Itojun. Kind regards, Hannah.
Re: apm -S freezes the laptop
merda! in the middle of writing an email the laptop powered off! exactly the same behaviour I had when typing zzz or apm -S ?? I had to boot and, of course, the filesystem didn't like it at all... I'm going to try to update the bios, but I am not very positive... 2007/11/2, Pau Amaro-Seoane [EMAIL PROTECTED]: It IS suspending I was too impatient! it takes some seconds, whilst in the thinkpads is a fraction of second, but it is suspending N I C E But it only suspends when I press fn + moon (which is F1) anyway... good news, it seems Pau
hotplugd for CD's?
Hi, As it stands hotplugd does not respond to the insertion of CD's (obviously, as the cd device is not attached as such), but I reckon this would very convenient if it did. I have been poking around in the cd driver source code, to try and find a decent place to send the hotplug driver a cd event, but I am no kernel hacker, and I am not even sure that this is the way to go about it. Can anyone offer any information about how this could be done, or even why it shoud NOT be done if that is what you think and what IS the correct thing to do? On another note, it would also be useful to allow users to mount directories not owned by them. As it stands if you want to allow a user to mount a cdrom drive, they each need thier own mount directory. This is not convenient if many users are going to use a system, would you agree? Sure, you can configure sudo, but you can't get apps like KDE for example, to use it. Can you see the possibility of changing this so that the group may mount the cdrom, or even a 'user' directive in fstab, which I think I saw in some other operating system (:P). Just ideas to make desktop use a little more automated. Thanks -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
Re: 4.2 Trouble with HP Notebook
On Nov 1, 2007 6:51 PM, Valery Masiutsin [EMAIL PROTECTED] wrote: Hello,Frans ! What hp model do you have ? A lot of their models - models from nx line is a good example, have broken acpi tables in BIOS, it means you won't be able to get acpi working. Regards Valery The model is HP Compaq 6710b And indeed, enableing acpi crashes things!
Re: When will OpenBSD support UTF8?
On Thu, Nov 01, 2007 at 11:22:53AM -0400, Nick Guenther wrote: On 11/1/07, Juan Miscaro [EMAIL PROTECTED] wrote: Hi gang. Is there any priority for having OpenBSD support UTF8? // peter utf-8 isn't an OS-level thing. You need to do it in every app. Googling, the first result brings up http://osdir.com/ml/os.openbsd.ports/2004-02/msg00376.html as an example. The sad thing is that the man pages don't mention that OpenBSD's libc doesn't quite support locale, multibyte/wide char conversions thus Unicode. E.g. if you look at mbstowcs(3) you'd say: okay, I can use that... but looking at the code behind it you'll see its a pure stab that does a simple memcpy from chars to ints (or wchar_ts as they modernly call it in C99).
Re: BIND and /var/arandom missing fix]
On 2007/11/01 22:46, J.D. Carlson wrote: I have ignored them, for a number of years and never worried about it. But management dictates we move to Men and Mice to manage dns. If I run their DNS Server Controller under linux emulation and the OpenBSD named is running as a chroot, it looks for a /dev/random or /dev/arandom inside the chroot. It fails if it is not there: Men and Mice DNS Server Controller for BIND[32343]: Unable to initalize crypting library. Random device not readable. So my choice was to give up OpenBSD as our name servers (never!) and run Linux or FreeBSD (also never!), or run OBSD named without the chroot. It seemed like a compromise I could live with. There's nothing magic about device nodes, you can just create them yourself. See mknod(1) and /dev/MAKEDEV.
OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
With the release of 4.2 I thought I would check again to see if the vpn1411 still fails with 'Corrupted MAC on input' on a Soekris net4801. I am happy to say that I can no longer reproduce the error using the GENERIC kernel. In the past I could pop up the error within minutes using this simple script: --- #!/bin/sh while true do cat /var/log/messages done --- Last night after about 10 minutes my ssh window was still happily spitting out text, so I opened up four more windows and ran an instance of the script in each window. Eight hours later and there was not a single failure. I was curious if something was recently changed in the Hifn driver. CVS shows that there were two patches put in in the last six weeks, but neither of those are in 4.2. The latest release of OpenBSD appears to be using version 1.152 of the driver, which has been in use for 16 months as far back as OpenBSD 4.0. Does anyone know if this was intentionally fixed, or is this an unintentional byproduct of code being cleaned up somewhere else? Breeno
Re: Questions to 4.0-4.1 upgrade
Karel Kulhavy [EMAIL PROTECTED] writes: How do I figure out what local changes I did? Is there something like the cvs diff command? cvs diff would give you some useful info. I tend to use mergemaster plus pay attention to the upgrade notes. I have the system over a year and if I needed to change something in the config files then I just changed it and forgot it. one other way to do it is to untar etc.tgz somewhere else and run a diff on each file you may have changed. If you installed any packages on your system, you should upgrade them after completing the upgrade of the base system. - I installed a lot of packages on my system and have no idea what is their complete list. pkg_info will give you a complete list of installed packages. How do I figure that out and how do I discern between packages that were already pre-installed by default and the ones I installed explicitly? Then, how do I upgrade a package XXX? No packages are preinstalled by default. There's the base system and there's packages. I tend to set PKG_PATH to something sensible like the relevant packages directory on a nearby mirror and then use pkg_add -u (and possibly some other parameters) to upgrade the packages. If there are packages pkg_add doesn't find upgrade candidates for it will tell you. Typically that's about ports that you need to build locally such as some java related ones, acroread, opera and possibly others. Check with the application's upgrade guide for details. - is the application upgrade guide something the application author publishes or something that the OpenBSD project publishes? Where is it? That could be a number of differen things depending on the application and package. Packages that need some attention after an upgrade tend to display a message about what needs to be done at the end of upgrade/install. But then if there's a lot of packages to upgrade, those messages could scroll off the top of your screen too quickly for you to notice, so doing the upgrades from a script(1) session (producing a record of what happens on your terminal in a text file) is usually a good idea. When you no longer need the typescript file, rm is your friend too :) - P -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: OpenBSD Sound
On Friday 02 November 2007 13:42:33 Dorian B|ttner wrote: On Friday 02 November 2007 13:07:54 Jacob Meuser wrote: On Fri, Nov 02, 2007 at 12:42:29PM +0100, Dorian B?ttner wrote: On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote: [...] probably not; at least not anytime soon. something for newbie hackers to work on: an ISC licensed audio daemon. Sorry for hijacking this thread, propably anyone has a quick hint to make my audio work in kde. Built /usr/src/regress/sys/dev/audio/obj as described here http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.ht ml and autest -r 48000 delivers good quality tone. relevant dmesg seems to be this one: azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 21 (irq 10) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 However this doesn't seem to be a driver problem since autest passed with success. It's just that kde doesn't detect the device, where can I look at to nail down the problem? pkg_info contains either esound and arts. is artsd running? $ pgrep -l artsd 2299 artsd is the audio device opened for playback? $ audioctl play.open play.open=0 seems not to be 'yes'? it is read-only variable. is it actuall artsd that has /dev/sound opened? (artsd uses /dev/sound instead of /dev/audio) $ fstat /dev/sound empty table if all those are yes, then see if it works: $ artscat file.wav oh, and since you have azalia, you may need to tell artsd to resample to 48kHz. K Menu - Settings - Sounds Multimedia - Sound System In the Hardware tab. Check Use custom sampling rate, set it to 48000 Hz. or manually starts artsd with 'artsd -r 48000'. done, but didn't help. Shouldn't artsd appear in the list of available soundsystems, btw? THanks, Dorian ok I removed the auto-suspend checkbox in the control center audio settings. After restarting the system I now have better values: $ audioctl play.rate play.rate=48000 $ audioctl play.open play.open=1 $ artscat testcase.wav plays fine :)) however kde doesn't. There seems to be the glue missing between the artsd and the kde sound system?
Re: GPRS/EDGE modems to use with a notebook
I've had success with the Sierra Wireless Aircard 860 on a Thinkpad X40. Lately though the card seems to be acting flakey and causing hard lockups. That could be a combination of the firmware which on the Aircard and the carrier which is ATT. From what I've read, it's recommended to keep the firmware updated to keep in step with the carrier's infrastructure updates. Unfortunately I haven't found a way to upgrade the cards firmware under OpenBSD or Linux. http://www.sierrawireless.com/estore/Default.aspx?SKU=1100521CID=1 John On Fri, Nov 02, 2007 at 05:01:16PM +0100, Daniel wrote: Hi! I'm looking for a mobile device which I could use for connecting to the internet with a notebook. I've read the www.openbsd.org/i386.html page and found some devices, but those are rather hard to find here in Hungary. Could someone inform me about some other GPRS/EDGE capable devices which will work with OpenBSD? (be it a pc-card or a mobile phone). Thanks! Daniel
Re: apm -S freezes the laptop
It IS suspending I was too impatient! it takes some seconds, whilst in the thinkpads is a fraction of second, but it is suspending N I C E But it only suspends when I press fn + moon (which is F1) anyway... good news, it seems Pau
Re: Network troubles with release/AMD64
On 02/11/2007, Huncar, Peter [EMAIL PROTECTED] wrote: Hello list I have trouble upgrading from latest snapshot to -stable :( The system will boot, but network won't start with : no such interface message. After loggin from console,when I type ifconfig, I'll get : no such interface 4.2-current is newer than 4.2, and downgrading is not supported. You must have newer userland and/or libraries than the kernel that you are trying to run with. In 4.2-current, there's been a flag day to accommodate for these changes: http://www.openbsd.org/faq/current.html#20070903 C.
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Nov 1, 2007 11:50 PM, Vadim Jukov [EMAIL PROTECTED] wrote: Hmmm, looks sane. Run xev(1) application (inside X, of course) and see, does it generate anything when you try to move/click/scroll while pointer is positioned in it's window. Post what you see: no reaction on second mouse touching, or sample of messages it generates. No output at all from USB mouse in xev. Also, please, run usbdevs -v and post output lines here. output from usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Microsoft Optical Mouse with Tilt Wheel(0x00d1), Microsoft(0x045e), rev 1.20 Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered And last but not least: try to rename/move xorg.conf and start X without it. Does this help? Nope! Still no USB mouse but X works fine. :) Thanks for the lesson, I can see where xev could come in handy from time to time. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: host name should be in lower caps
On 11:41 Thu 01 Nov , MohanKumar Shah - TLS , Chennai wrote: Is host name subjected to lower caps only? doesn't matter, it's case insensitive. regards, Julian -- If you don't remember something, it never existed... If you aren't remembered, you never existed... I don't quite understand what love is like... But if there was someone who liked me, I'd be happy.
Re: carp ip loadbalancing bug ?
-Urspr|ngliche Nachricht- Von: Marco Pfatschbacher [EMAIL PROTECTED] Gesendet: 31.10.07 20:10:51 An: holger glaess [EMAIL PROTECTED] CC: misc@openbsd.org Betreff: Re: carp ip loadbalancing bug ? On Wed, Oct 31, 2007 at 11:26:48AM +0100, holger glaess wrote: hi i did the carp ip loadbalancing setup as describe at the man page. i did it on an full funktional carp cluster that means that carp an pf is ok. host A: inet 10.100.0.254 255.255.252.0 10.100.3.255 carpdev em0 vhid 25 pass office2world link0 link1 group lan_if inet alias 10.100.1.253 255.255.252.0 NONE Your configuration looks sane. Currently I'm aware of one problem with ip balancing: It doesn't work for the 'carpdev' case. Is your em0 interface also part of the same /22 as carp? Marco hi yes the em0 ist member of the /22 network and the carpdev opion ist an old setting from the start of this cluster where i setup no ip on the interface. should i try this ip balancing whitout this option ? holger
Re: Network troubles with release/AMD64
* Huncar, Peter [EMAIL PROTECTED] [2007-11-02 18:47]: I have trouble upgrading from latest snapshot to -stable :( surprising, isn't it. sheesh. http://www.openbsd.org/faq/faq5.html#Flavors -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: OpenBSD Sound
On Friday 02 November 2007 13:07:54 Jacob Meuser wrote: On Fri, Nov 02, 2007 at 12:42:29PM +0100, Dorian B?ttner wrote: On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote: [...] probably not; at least not anytime soon. something for newbie hackers to work on: an ISC licensed audio daemon. Sorry for hijacking this thread, propably anyone has a quick hint to make my audio work in kde. Built /usr/src/regress/sys/dev/audio/obj as described here http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.html and autest -r 48000 delivers good quality tone. relevant dmesg seems to be this one: azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 21 (irq 10) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 However this doesn't seem to be a driver problem since autest passed with success. It's just that kde doesn't detect the device, where can I look at to nail down the problem? pkg_info contains either esound and arts. is artsd running? $ pgrep -l artsd 2299 artsd is the audio device opened for playback? $ audioctl play.open play.open=0 seems not to be 'yes'? it is read-only variable. is it actuall artsd that has /dev/sound opened? (artsd uses /dev/sound instead of /dev/audio) $ fstat /dev/sound empty table if all those are yes, then see if it works: $ artscat file.wav oh, and since you have azalia, you may need to tell artsd to resample to 48kHz. K Menu - Settings - Sounds Multimedia - Sound System In the Hardware tab. Check Use custom sampling rate, set it to 48000 Hz. or manually starts artsd with 'artsd -r 48000'. done, but didn't help. Shouldn't artsd appear in the list of available soundsystems, btw? THanks, Dorian
Re: BIND and /var/arandom missing fix]
To have them work the partition can not be mounted nodev, which /var is. I shoukd have said it fails if it doesn't work. A simple test was to run Why not make /var/named its own partition? I.e., one mounted without nodev. cheers, Matt
Re: hotplugd for CD's?
On 02/11/07 10:03 Edd Barrett wrote: Hi, As it stands hotplugd does not respond to the insertion of CD's (obviously, as the cd device is not attached as such), but I reckon this would very convenient if it did. I have been poking around in the cd driver source code, to try and find a decent place to send the hotplug driver a cd event, but I am no kernel hacker, and I am not even sure that this is the way to go about it. Can anyone offer any information about how this could be done, or even why it shoud NOT be done if that is what you think and what IS the correct thing to do? dunno On another note, it would also be useful to allow users to mount directories not owned by them. As it stands if you want to allow a user to mount a cdrom drive, they each need thier own mount directory. This is not convenient if many users are going to use a system, would you agree? Sure, you can configure sudo, but you can't get apps like KDE for example, to use it. Can you see the possibility of changing this so that the group may mount the cdrom, or even a 'user' directive in fstab, which I think I saw in some other operating system (:P). Insisting on proper ownership is fine, just give the files to the user on logon and take them back when she logs out. This is what fbtab(5) is for. However I have yet to work out how this blends with X. One ugly but working way is to hack up /etc/X11/xdm/{Give,Take}Console to include the mountpoints and devices. BTW, mountpoints can just as well be in $HOME (or /tmp). Just ideas to make desktop use a little more automated. Thanks regards tilo -- Best Regards Edd --- http://students.dec.bournemouth.ac.uk/ebarrett
Re: Where is 'cdrom42.fs'? 4.2 -release
On 02/11/07 03:12 Bibby wrote: Hi, all. Part of file: 4.2/i386/INSTALL.i386: --- cdrom42.fsThe i386 boot and installation 2.88MB floppy image that contains almost all OpenBSD drivers; see below. This document got fixed to late to make it in the release, sorry. Pick the INSTALL.i386 from a snapshot (just that text file!), this should get you going. Same thing for other archs. regards tilo If i want to use 'mkisofs' to create a custom iso image(e.g, add some binary packages), which file should i use for the '-b' option? Thanks very much. -- Bibby(Huangbin Zhang) OpenBSD User in China Mainland: http://www.OpenBSDonly.org/
Re: OpenBSD Sound
On 2007. November 2. 14:23.27 Dorian B|ttner wrote: On Friday 02 November 2007 13:42:33 Dorian B|ttner wrote: On Friday 02 November 2007 13:07:54 Jacob Meuser wrote: On Fri, Nov 02, 2007 at 12:42:29PM +0100, Dorian B?ttner wrote: On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote: [...] probably not; at least not anytime soon. something for newbie hackers to work on: an ISC licensed audio daemon. Sorry for hijacking this thread, propably anyone has a quick hint to make my audio work in kde. Built /usr/src/regress/sys/dev/audio/obj as described here http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t46 29307.ht ml and autest -r 48000 delivers good quality tone. relevant dmesg seems to be this one: azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 21 (irq 10) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0 azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 However this doesn't seem to be a driver problem since autest passed with success. It's just that kde doesn't detect the device, where can I look at to nail down the problem? pkg_info contains either esound and arts. is artsd running? $ pgrep -l artsd 2299 artsd is the audio device opened for playback? $ audioctl play.open play.open=0 seems not to be 'yes'? it is read-only variable. is it actuall artsd that has /dev/sound opened? (artsd uses /dev/sound instead of /dev/audio) $ fstat /dev/sound empty table if all those are yes, then see if it works: $ artscat file.wav oh, and since you have azalia, you may need to tell artsd to resample to 48kHz. K Menu - Settings - Sounds Multimedia - Sound System In the Hardware tab. Check Use custom sampling rate, set it to 48000 Hz. or manually starts artsd with 'artsd -r 48000'. done, but didn't help. Shouldn't artsd appear in the list of available soundsystems, btw? THanks, Dorian ok I removed the auto-suspend checkbox in the control center audio settings. After restarting the system I now have better values: $ audioctl play.rate play.rate=48000 $ audioctl play.open play.open=1 $ artscat testcase.wav plays fine :)) however kde doesn't. There seems to be the glue missing between the artsd and the kde sound system? If you mean the kde system notification sounds are not working check this: KDE Control Center / Sound Multimedia / System Notifications: Bottom Right corner - [Player Settings] button. HTH, Daniel
Network troubles with release/AMD64
Hello list I have trouble upgrading from latest snapshot to -stable :( The system will boot, but network won't start with : no such interface message. After loggin from console,when I type ifconfig, I'll get : no such interface I thought I commented out some drivers, when building the kernel, but after booting freshly downloaded generic bsd, I'll get the same error. I have the old kernel -current (latest snapshot from ftp.openbsd.org few days ago, but lost the source tree unfortunatelly when updating) and it works when booting the old one. dmesg attached - there are both working and not-working one. Google didn't help. Does anybode have any clue? Thank you Peter Huncar # dmesg row: 0 col: 0 Row: 0 Column: 0 Num Rows: 1 Num Columns: 2 Version: 2 Serial Number: 200710310 Mod Counter: -1110458963 Clean: Yes Status: 0 raid0: Component /dev/wd1e being configured at row: 0 col: 1 Row: 0 Column: 1 Num Rows: 1 Num Columns: 2 Version: 2 Serial Number: 200710310 Mod Counter: -1110458963 Clean: Yes Status: 0 WARNING: truncating disk at r 0 c 0 to 60918353 blocks. raid0 at rootraid1: Component /dev/wd0d being configured at row: 0 col: 0 Row: 0 Column: 0 Num Rows: 1 Num Columns: 2 Version: 2 Serial Number: 200710311 Mod Counter: 1776964345 Clean: Yes Status: 0 raid1: Component /dev/wd1d being configured at row: 0 col: 1 Row: 0 Column: 1 Num Rows: 1 Num Columns: 2 Version: 2 Serial Number: 200710311 Mod Counter: 1776964345 Clean: Yes Status: 0 raid1 at rootsyncing disks... done raid1 detached raid0 detached rebooting... OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1073278976 (1023MB) avail mem = 1030926336 (983MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0630 (22 entries) bios0: vendor American Megatrends Inc. version Version 07.00T date 04/02/01 bios0: MSI MS-6702 acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3400+, 2200.41 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required cpu0: Cool'n'Quiet K8 2200 MHz: speeds: 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x01 ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon VE QY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) dc0 at pci0 dev 8 function 0 DEC 21142/3 rev 0x41: irq 12, address 00:40:c7:97:55:af amphy0 at dc0 phy 1: Am79C873 10/100 PHY, rev. 2 re0 at pci0 dev 11 function 0 Realtek 8169 rev 0x10: RTL8169S (0x0400), irq 11, address 00:11:09:2c:8c:99 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0 pciide0 at pci0 dev 13 function 0 Promise PDC20378 rev 0x02: DMA pciide0: using irq 10 for native-PCI interrupt pciide1 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA pciide1: using irq 10 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: ST3160827AS wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide1 channel 1 drive 0: ST3160827AS wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5 pciide2 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd2 at pciide2 channel 0 drive 0: Maxtor 92041U4 wd2: 16-sector PIO, LBA, 19541MB, 40020624 sectors wd3 at pciide2 channel 0 drive 1: SAMSUNG SV1021H wd3: 16-sector PIO, LBA, 9732MB, 19932192 sectors wd2(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 4 wd3(pciide2:0:1): using PIO mode 4, Ultra-DMA mode 5 pciide2: channel 1 disabled (no drives) viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00 iic0 at viapm0 iic0: addr 0x2f 00=12 01=0f 02=10 03=01 04=07 05=00 14=14 15=62 16=02 17=00 pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lm0 at
Custom Kernel for 4.2 upgrade
It seems like each upgrade there is one gotcha that I stumble on. Here is this one. I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but it has worked (minus the one gotcha) for me from 3.6 until 4.1 so I expect it will work for 4.2. And don't get on my case about buy the CD I send $10/month to the project for all the great work they do. I downloaded and untarred a fresh 4.2 src and sys tree. Then: # cd /usr/src/sys/arch/i386/conf/ # config GENERIC /dev/null:1: syntax error *** Stop. I've found only one other reference to this anywhere on the intarweb and there was no resolution for it. I checked both the 4.1 - 4.2 upgrade doc and the following -current doc and there are no clues as to why this is happening. Is it the expat change? The upgrade doc seems to indicate that this would only affect packages. Thank in advance to whoever helps me out. -- Jason Murray IMBA Durham Region Rep - www.imba.org/canada DMBA President - www.durhammountainbiking.ca TORBG Executive - www.torbg.org
Re: GPRS/EDGE modems to use with a notebook
Hi, these are summarized from documentation with tested or untested, up to 4.2+: Kevin . AnyDATA E100H . Belkin F5U103 / F5U120 . e-Tek Labs Kwik232 . GoHubs GoCOM232 . HUAWEI Mobile Connect E612 / E618 / E620 . Novatel Wireless Merlin NRM6831, U530, U630, U740 GSM/GPRS/UMTS modems . Option GlobeTrotter 3G FUSION / QUAD / QUAD PLUS . Peracom single port serial adapter . Vodafone Mobile Connect 3G . AudioVOX GSM/GPRS modems . Siemens Connect2AIR GSM/GPRS modems . Sierra Wireless A550, A555 CDMA 1x, and A710, A750 GSM/GPRS, AC850 GSM/GPRS/UMTS modems . Sony Ericsson GC75 GSM/GPRS modems . Sony Ericsson GC89 GSM/GPRS/EGDE modems The followings cards are supported from 4.1/4.2: . Sierra Wireless AirCard 580 / 595 / 875 CardBus . Dell W5500 PCI Express Mini Card . Novatel ExpressCard . Novatel Wireless Merlin V620 CardBus . Novatel Wireless S720CardBus . Novatel Wireless ES620, U720USB . Novatel Wireless XU870 HSDPA ExpressCard . Sierra Wireless EM5625 USB module . Sierra Wireless MC5720/MC5725/MC8765/MC8775 PCI Express Mini Card . HUAWEI E220 (HSDPA), . E270 or E870 (HSDPA/HSUPA) (untested but should work with same AT commands) . AirPrime PC5220 CardBus . Kyocera KPC650 CardBus . ONDA Communication H600 CardBus . QUALCOMM HSDPA-enabled Mobile Station ModemT (MSMT) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Saturday, November 03, 2007 1:15 AM To: misc@openbsd.org Subject: Re: GPRS/EDGE modems to use with a notebook On 2007. November 2. 17:56.39 John Jackson wrote: I've had success with the Sierra Wireless Aircard 860 on a Thinkpad X40. Lately though the card seems to be acting flakey and causing hard lockups. That could be a combination of the firmware which on the Aircard and the carrier which is ATT. From what I've read, it's recommended to keep the firmware updated to keep in step with the carrier's infrastructure updates. Unfortunately I haven't found a way to upgrade the cards firmware under OpenBSD or Linux. http://www.sierrawireless.com/estore/Default.aspx?SKU=1100521CID=1 John Thanks John, this would be great. Only one thing bothers me: Attention: the AirCard 860 is in its End Of Life phase and no longer available. For more information, click here / from the above mentioned site / On Fri, Nov 02, 2007 at 05:01:16PM +0100, Daniel wrote: Hi! I'm looking for a mobile device which I could use for connecting to the internet with a notebook. I've read the www.openbsd.org/i386.html page and found some devices, but those are rather hard to find here in Hungary. Could someone inform me about some other GPRS/EDGE capable devices which will work with OpenBSD? (be it a pc-card or a mobile phone). Thanks! Daniel
Re: OpenBSD Sound
No, it didn't. Actually tryin' a fresh install - slightly remember that it did work on the fresh install. I'll let you know. On Friday 02 November 2007 15:45:49 Stijn wrote: Dorian, One wild guess: does it change when you start KDE as root? HTH, Stijn Dorian B|ttner wrote: On Friday 02 November 2007 14:41:18 Daniel wrote: [...] ok I removed the auto-suspend checkbox in the control center audio settings. After restarting the system I now have better values: $ audioctl play.rate play.rate=48000 $ audioctl play.open play.open=1 $ artscat testcase.wav plays fine :)) however kde doesn't. There seems to be the glue missing between the artsd and the kde sound system? If you mean the kde system notification sounds are not working check this: KDE Control Center / Sound Multimedia / System Notifications: Bottom Right corner - [Player Settings] button. HTH, Daniel No kde doesn't play anything at all, kmixer doesn't have any available device.
BIS3780
I have a little issue here at work and I thought I would run it past the list to see if anyone has any suggestions. At work we have an ancient M$ box running an even more ancient hw/sw combo of an 8 bit ISA card and a piece of DOS software in order to speak to a client using the BIS3780 protocol. We have been completely unable to get them to update to anything newer. Does anyone know of a piece of software for OpenBSD that could emulate 3780? I would LOVE to be able to toss the old box in the dumpster and use a nice new OpenBSD box instead. Google, Yahoo, even that MSN search thing came up with SQUAT when I typed in BIS3780 so I am pretty sure that this is a futile effort but didn't think it would hurt to try here since I have tried everywhere else I can think of. Thanks s
Re: Where is 'cdrom42.fs'? 4.2 -release
On Fri, 2 Nov 2007 12:35:28 -0400, Calomel wrote: Rod, You are absolutely correct. Using the --reject *iso directive for wget in the instructions will now filter out all iso files from downloading. The wording on the web page has been cleaned up and clarified. Thanks for your feedback, it is appreciated. That's what we are here for mate. I'll send you my method when I clean it up a bit for public consumption. It avoids using anything not in a basic install. i.e. no pkg_add stuff. Then you can take anything from it that you might like. Regards, Rod. From the land down under: Australia. Do we look umop apisdn from up over?
Sangoma wanpipe driver and ALTQ on OpenBSD 4.0
Hi, I am new to OpenBSD. I followed ftp://ftp.sangoma.com/OpenBSD/current_wanpipe/WanpipeInstallationOpenBSD.pdf to install the sangoma wanpipe driver on OpenBSD 4.0, during the Setup script, I did not get step 4: Set Driver global variables? (Y|N) - Set global driver's variables such as ENABLE/DISABLE ALTAThe SETUP SCRIPT WILL ASK THESE FEATURES ONLY IF IT ENABLES IN YOUR KERNEL. I looked into the wanpipe Setup script, found the relevant ALTQ portion: - # Check if kernel support ALTQ altq_opt=`grep ^[[:space:]]*options[[:space:]][[:space:]]*ALTQ $KCONFIG` if [ $OSYSTEM = FreeBSD ]; then ...snip elif [ $OSYSTEM = OpenBSD ]; then if [ -z $altq_opt ]; then altq_opt=`grep ^[[:space:]]*option[[:space:]][[:space:]]*ALTQ $SYSDIR/$GENERIC_OPENBSD_KERNEL_CONF` fi fi if [ -n $altq_opt ]; then echo ALTQ= ${WANPIPE_MAKEFILEIN} else echo #ALTQ= ${WANPIPE_MAKEFILEIN} fi --- and I ran grep -r ^[[:space:]]*option[[:space:]][[:space:]]*ALTQ /usr/src/sys/*, I get: conf/GENERIC:option ALTQ# ALTQ base I also checked the /usr/src/sys/arch/i386/conf/GENERIC: machine i386 include ../../../conf/GENERIC I assume that ALTQ is already supported by the OpenBSD i386 GENERIC kernel, am I correct? If so, why the Sangoma Setup script skipped the step 4 for ALTQ global varible setting? Does it mean I can't do packets shapping on the Sangoma wanpipe T1 card? Thanks in advance! Ming Li http://bl0g.blogdns.com
Re: BIS3780
Are you reffering to this? http://en.wikipedia.org/wiki/IBM_2780 Sevan / Venture37 _ Feel like a local wherever you go. http://www.backofmyhand.com
Re: : deploy openssl patch
Raimo Niskanen wrote: A very nice startegy from you. I have been looking for how to patch several machines this way. The kernel is easy since it is just one file to patch. But the userland is more delicate. Just to summarize your script (I want to understand how to do it manually), this seems what to do (?): Preparation: # MYTMP=/var/tmp/myroot # better use mktemp # mkdir $MYTMP # mkdir $MYTMP/obj $MYTMP/dest # cd /usr/src/etc # DESTDIR=$MYTMP/dest make distrib-dirs # cd $MYTMP/dest # mtree -c -k type ../dest.mtree Patching: # cd /usr/src Patch and build all patches as usual, but use `make DESTDIR=$MYTMP/dest install' instead of plain `make install' Creating the patch: # cd $MYTMP/dest # sudo mtree -f ../dest.mtree ../patch.mtree # MYPATCH=$MYTMP/patch.tar.gz # better use mktemp # grep '^extra:' ../patch.mtree | cut -d' ' -f2 \ | tar czf $MYPATCH -I - echo OK || echo FAILED Where the important tricks are `make distrib-dirs' in /usr/src/etc with DESTDIR set, mtree of the directory tree that was created there, patching with make install using argument DESTDIR, and mtree of the resulting tree to find what has changed; tar:ing the added files. You got it. If you run the entire command sequence as root you don't need to use sudo. I run this as a regular user, who can sudo to root. Most of the command sequence can be run without privileges except for the 'make install/distrib-dirs' and mtree. Also, the places where you mentioned using mktemp, you should. However, if you run as root, you could just build in a non-public directory, like /root, to be safe. I just use temp files/dirs because after the build I place the binary patches into my versioned patch distribution system, which automates the distribution of these patches to all the nodes on the network. On Thu, Nov 01, 2007 at 02:25:31PM -0700, Clint Pachl wrote: Markus Wernig wrote: Dear list I have a couple of 4.1 firewalls that I would like to upgrade to 4.2. Before taking them online again I'd like to deploy the openssl patch from ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.2/common/002_openssl.patch I feel your pain. Others have dissed on you for not having compile tools on your hosts and assume you're doing it for security reasons. I don't know your reason, but I only have compile tools on my build system. I create binary patches (see script below) and distribute across the network. Who the hell wants 20 (# of servers in my network) builds cranking on all your machines in the network? What a nightmare. What if they all fail? Worse yet, what if one fails? Someone is going to say, script/automate it. Screw that. Now you need to figure out how to make the sources available to all the hosts, initiate the build, make sure the build didn't fail, etc. Another reason I don't have compile tools on some of my servers is because they won't fit. Many of my dedicated systems use 256MB flash drives. The third reason to keep crap off your servers, including compiler tools, is that potentially that extra stuff could be exploitable. If it is, then you have to patch it too. Just extra work. Being perimeter firewalls, those systems don't have compile tools installed. I would thus need to pre-compile libssl on a 4.2 buildhost and deploy it onto the firewalls. I've been looking through the documentation but did not find a good way to do this, because openssl is not a package, but part of the base system. OpenBSD makes if very easy to create binary patches. I wrote a script below that automates most of the process. I have been using this script for a while and it works pretty good. The good thing about this is that it only creates a binary patch of executables and files that were affected by the source patch. This also has the benefit of touching only a small portion of the installed system, which can be helpful when you are monitoring for trojan horses. The alternative, which someone else mentioned, is just make a release. This is straightforward and officially supported. See release(8). Is there any way other than tar - scp - untar after compiling libssl? thx for any pointers /markus I will apologize in advance for the screwed spacing/tabbing. #!/bin/sh # # Builds kernel and userland from the /usr/src tree. The script sets up the # build environment then kicks the user to a shell to manually patch the # source. When in userland build mode, the user is also asked to build and # install using the instructions specified in the official OpenBSD patch. After # the user exits the work shell, this script will build the kernel or create a # binary userland patch depending on the operation mode. # # BUGS # Does not build or make binary patches for the X system. # usage() { cat - EOF usage: $APP {-k | -u} [-h] [-p patch-name] -k : kernel build mode; makes GENERIC GENERIC.MP kernels -u : userland
Re: OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
Hi, Breen Ouellette schrieb: With the release of 4.2 I thought I would check again to see if the vpn1411 still fails with 'Corrupted MAC on input' on a Soekris net4801. I am happy to say that I can no longer reproduce the error using the GENERIC kernel. Noticed that too, maybe it's this change: * New MAC algorithm available for data integrity in ssh(1), UMAC-64. About 20% faster than HMAC-MD5. See: http://openbsd.org/plus42.html Michael
Re: When will OpenBSD support UTF8?
On Fri, Nov 02, 2007 at 07:41:35AM -0400, Juan Miscaro wrote: --- Paul Irofti [EMAIL PROTECTED] wrote: On Thu, Nov 01, 2007 at 11:22:53AM -0400, Nick Guenther wrote: On 11/1/07, Juan Miscaro [EMAIL PROTECTED] wrote: Hi gang. Is there any priority for having OpenBSD support UTF8? // peter utf-8 isn't an OS-level thing. You need to do it in every app. Googling, the first result brings up http://osdir.com/ml/os.openbsd.ports/2004-02/msg00376.html as an example. The sad thing is that the man pages don't mention that OpenBSD's libc doesn't quite support locale, multibyte/wide char conversions thus Unicode. E.g. if you look at mbstowcs(3) you'd say: okay, I can use that... but looking at the code behind it you'll see its a pure stab that does a simple memcpy from chars to ints (or wchar_ts as they modernly call it in C99). You would REALLY be surprised how much of a difference this `simple stub' does... it allows us to compile *a lot* of code that helps support utf8 in ports land. And in reality, this part of OpenBSD is C99-compliant. There's absolutely *nothing* in the standard that says you have to support any locale except the C locale (which we do). If something has to be documented, it's probably that we just support 8 bit locales for now... That said, this will eventually improve, and yes, this is a long road. If it was only the C library, it would be rather simple... To get back to the practical nature of my original request, if someone can let me know how to write French characters in a terminal (via an SSH connection) I would be very grateful. I would like to use a terminal emulator that uses UTF8 and I believe xterm does this but I can't find an OpenBSD package (or port) for it. // juan The xterm in OpenBSD can do it. It supports the utf8 option. You will need an editor that supports utf8 characters as well. Both vim and emacs do. There are lots of programs in ports that have fairly decent level of locale support. Heck, I can actually write japanese in OpenBSD, for instance, and that's a *whole lot* more complicated than just french characters.
my work at p2k7
This was really shortly mentioned on undeadly, because it probably deserves a separate announcement and article. First, I want to really thank robert@ again for the organization, and putting up with rude OpenBSD french developers as he has... plus the people who donated enough to make these kind of events possible. Also, my laptop died 3 weeks before the hackathon, and I got a new one, thanks to project money. It's not really the most expensive laptop you've ever seen, but it has a dual-core... Now for some background. I've been maintaining OpenBSD's make for a long time (over 8 years, I think). It started as simple bug-fixes, then speed-ups, then more radical clean-ups. About one year ago, I had a kind of epiphany (yeah, I'm a fan of Angel): I realized that this code is really atrocious, and instead of fixing bugs, I started replacing big chunks of it. Not to disparage the guy who wrote pmake in the first place, as he had very different constraints and goals, but it is painfully obvious this is a half-finished research project, and not an industry-standard POSIX make. So, I started cutting stuff that no-one uses, and options that simply don't work, to try to make sense of the beast. And I changed algorithms. Most specifically, I streamlined the suffix handling, and I killed all the remote job handling. To make sense of make, you've got to realize there are basically two beasts folded into one: make in `compat' mode uses its own engine to figure out which targets to compute first, and its own job runner. The engine is rather simple, since it doesn't have to queue things up, and can just run commands. The parallel engine is a bit more complex, since it tries to explore more of the tree to start up several jobs at once. It also has an interesting idea: it tries to create shell scripts that agregate commands to minimize the number of processes created. Unfortunately, THIS is a bad idea, in modern times, since POSIX mandates separate commands must be run by separate jobs. As a result, things that work with standard sequential make no longer run with parallel make. A few months ago, I started designing a way to overcome those issues. Mostly, I wanted to get rid of the shell script creation in the parallel make case. I realized I could have a `tail-call optimization': if I fork() a job to compute a target, and then fork/exec each command separately, I would not need to fork() the last command, thus optimizing the really common case that uses one command per target. Enter p2k7, with a tall goal: try to make make -j usable. This was an ideal setting: I had a week mostly empty of other contingencies, and a few people motivated to give me feedback. So I started merging the engines, and killing old make code (all the stuff that was building shell scripts). Pretty soon, I ran into debug issues: the output was really mangled, and unusable. make -j uses pipes to separate the outputs from various jobs, and tries to print stuff line by line. I realized it was keeping a lot of fds open! whereas it should close about half of them (this explained why cnst@ had run into the allocation bug that fast... make was gobbling file descriptors like candy), and I also realized I could make things better by using non-blocking fds and applying a greedy approach: try to get as many complete lines/buffers from one fd before getting to the rest. The result was immensely satisfying: instead of having chunks of intermixed outputs, suddenly, very long linking lines were appearing as one single line (since make's internal buffers are much smaller than a full pipe kernel buffer, this means that, in most case, all the job output was already there). The devil lies in the details, as usual. On tuesday, my src/ build was stopping in make clean, in the middle of gnu/binutils. And my error messages were worth shit: make was basically telling: `oh, btw, there was an error in one job. Here, figure out what's going on'. So I revamped the error messages on wednesday morning, and started polishing other stuff, like duplicating pipes so that stdout and stderr do not get mixed up. I finally figured out what was going on: turns out make clean was running stuff like: distclean: -rm somefile and THIS rm was exiting with an error, as somefile didn't exit yet. And, yes, thanks to my `optimization' I didn't catch the error: make was seeing the job having an issue. So, back to the drawing board, let's optimize unless we can't... and we cannot really decide beforehand, because this - can quite well come from a make variable, in which case, we'll notice `just in time'. So, I got a version that went past this problem in a few minutes, and got it cleaned up properly the day after. After that, I ran into quite a few more issues in src. Let's say that it's not yet ready for parallel build. Together with miod@ (who was playing with make remotely), we fixed a few of them... let's just say that what remains is the hard ones... it will
Re: Custom Kernel for 4.2 upgrade
On 2007/11/02 14:45, Jason Murray wrote: I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but it has worked (minus the one gotcha) for me from 3.6 until 4.1 so I expect it will work for 4.2. And don't get on my case about buy the CD I send $10/month to the project for all the great work they do. I downloaded and untarred a fresh 4.2 src and sys tree. On what, some other box running 4.2, or on the 4.1 box? If it's the 4.1 box, you *may* be able to follow the procedures from old faq/current.html and do things in stages, but it's *far* easier to install 4.2 somewhere (either separate physical hardware, or a VM: qemu on the 4.1 box would be ok, if a little slow) and build the new kernel there.
Re: Questions to 4.0-4.1 upgrade
Karel, stop pretending. Everyone who can google your name will find out rather quickly that you're not the stupid idiot that needs to spam misc@ with boring questions like this. On Fri, Nov 02, 2007 at 02:00:32PM +0100, Karel Kulhavy wrote: I want to upgrade from 4.0 to 4.2 and I see I am supposed to perform 4.0-4.1 first. But some things are unclear to me in http://openbsd.org/faq/upgrade41.html: Pay special attention to mail/* if you are using something other than the default Sendmail(8) configuration. - I use Exim so I should do this. What specifically is meant with pay special attention? Files that must be manually merged, respecting any local changes made to them, if they were modified from the default, otherwise, just copy them over, too: How do I figure out what local changes I did? Is there something like the cvs diff command? I have the system over a year and if I needed to change something in the config files then I just changed it and forgot it. If you installed any packages on your system, you should upgrade them after completing the upgrade of the base system. - I installed a lot of packages on my system and have no idea what is their complete list. How do I figure that out and how do I discern between packages that were already pre-installed by default and the ones I installed explicitly? Then, how do I upgrade a package XXX? Check with the application's upgrade guide for details. - is the application upgrade guide something the application author publishes or something that the OpenBSD project publishes? Where is it? Thanks for clarifications, CL
Re: my work at p2k7
On Fri, 2 Nov 2007 20:43:49 +0100, Marc Espie wrote: This was really shortly mentioned on undeadly, because it probably deserves a separate announcement and article. and lots more informative stuff Gosh it's nice to hear the process in this form Marc. Totally comprehensible for those of us who don't have all your skills and experience and bloody well written too. In Australia (it may not be unique to us but I have not heard it elsewhere) we have a saying: Your blood's worth bottling! It applies to you. On behalf of those who appreciate just how well the OpenBSD ports and packages work for us, I'd like to thank you very much. Rod/ From the land down under: Australia. Do we look umop apisdn from up over?
Re: When will OpenBSD support UTF8?
i wrote a previous e-mail about use of UTF-8 on [EMAIL PROTECTED] if you want to use a UTF-8 on OpenBSD, you can reference patches on some sites. (one is a kevlo's previous citrus patch, other site is a Takehiko NOZAKI 's home) http://web.archive.org/web/20040604124636/www.kevlo.org/patch-src_citrus http://sigsegv.s25.xrea.com/distfiles/citrus/OpenBSD/ thanks - Jung
Re: my work at p2k7
In Australia (it may not be unique to us but I have not heard it elsewhere) we have a saying: Your blood's worth bottling! I'll drink to that! Miod
Re: When will OpenBSD support UTF8?
On Fri, Nov 02, 2007 at 09:03:31PM +0100, Marc Espie wrote: On Fri, Nov 02, 2007 at 07:41:35AM -0400, Juan Miscaro wrote: --- Paul Irofti [EMAIL PROTECTED] wrote: On Thu, Nov 01, 2007 at 11:22:53AM -0400, Nick Guenther wrote: On 11/1/07, Juan Miscaro [EMAIL PROTECTED] wrote: Is there any priority for having OpenBSD support UTF8? utf-8 isn't an OS-level thing. You need to do it in every app. Googling, the first result brings up http://osdir.com/ml/os.openbsd.ports/2004-02/msg00376.html as an example. The sad thing is that the man pages don't mention that OpenBSD's libc doesn't quite support locale, multibyte/wide char conversions thus Unicode. E.g. if you look at mbstowcs(3) you'd say: okay, I can use that... but looking at the code behind it you'll see its a pure stab that does a simple memcpy from chars to ints (or wchar_ts as they modernly call it in C99). You would REALLY be surprised how much of a difference this `simple stub' does... it allows us to compile *a lot* of code that helps support utf8 in ports land. And in reality, this part of OpenBSD is C99-compliant. There's absolutely *nothing* in the standard that says you have to support any locale except the C locale (which we do). If something has to be documented, it's probably that we just support 8 bit locales for now... That said, this will eventually improve, and yes, this is a long road. If it was only the C library, it would be rather simple... To get back to the practical nature of my original request, if someone can let me know how to write French characters in a terminal (via an SSH connection) I would be very grateful. I would like to use a terminal emulator that uses UTF8 and I believe xterm does this but I can't find an OpenBSD package (or port) for it. // juan The xterm in OpenBSD can do it. It supports the utf8 option. You will need an editor that supports utf8 characters as well. Both vim and emacs do. There are lots of programs in ports that have fairly decent level of locale support. Heck, I can actually write japanese in OpenBSD, for instance, and that's a *whole lot* more complicated than just french characters. Would supporting UTF-8 in OpenBSD change the apparent speed at which it runs on older hardware? Debian Etch does UTF-8 by default and it crawls on my P-II; they told me it was because of UTF-8 and locales support. I changed the locale to C and removed the locales support and it speeded up dramatically. That type of tweaking of a base install isn't as easy in OpenBSD. Doug.
OpenBSD 4.2 hardware recommendation
Hello! I have a network with 100 users and 7 servers and current firewall need to be replaced. I want to by brand server due to company policy. It can be SPARC or x86. But vendors don't officially support OpenBSD with their hardware. We need tower server with 1 proccessor, 2 gigs of RAM, 2 SCSI disks and 2 power supply. Does anyone recommend brand server which supports OpenBSD?
Re: OpenBSD 4.2 hardware recommendation
On Sat, 2007-11-03 at 00:20 +0300, VP wrote: Hello! I have a network with 100 users and 7 servers and current firewall need to be replaced. I want to by brand server due to company policy. Brand as in put your company name on the hardware It can be SPARC or x86. But vendors don't officially support OpenBSD with their hardware. We need tower server with 1 proccessor, 2 gigs of RAM, 2 SCSI disks and 2 power supply. Does anyone recommend brand server which supports For a _firewall_ ?! Are you sure you don't want something more opt for forwarding packets? Or is this a multi-function system? ~BAS OpenBSD?
Re: OpenBSD 4.2 hardware recommendation
It can be SPARC or x86. But vendors don't officially support OpenBSD with their hardware. We need tower server with 1 proccessor, 2 gigs of RAM, 2 SCSI disks and 2 power supply. Does anyone recommend brand server which supports For a _firewall_ ?! Are you sure you don't want something more opt for forwarding packets? Or is this a multi-function system? Of course, server must have min 2 good integrated NIC's. It will be firewall with IDS. Which options you mean?
Re: OpenBSD Sound
resending, sorry if this is a dup. On Fri, Nov 02, 2007 at 02:59:13PM +0100, Dorian B?ttner wrote: No kde doesn't play anything at all, kmixer doesn't have any available device. ah, you have kdemultimedia installed. there were a couple issues with that port that mostly broke arts, but have been fixed in the last few days. either uninstall kdemultimedia, or update to kdemultimedia-3.5.8p0. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org
Re: BIS3780
If you are referring to the IBM 3780.. Perhaps the following sites will be of some interest.. http://telecom.tbi.net/bisync.htm http://www.3780-emulation.com/ http://www.serengeti.com/bisync.php3 Good luck.
Re: Installation troubles
Kenneth R Westerback wrote: ASC/ASCQ 0x11/0x06 would appear to mean CIRC Unrecovered Error. These values are listed in /usr/src/sys/scsi_base.c, line 1207 and following. The error text is left out of install kernels to save space. Some random Googling gave me A CIRC unrecovered data error is defined as a block for which the CIRC based error correction algorithm was unsuccessful on all read attempts up to the read retry count. Layered error correction was not used. at http://www.t10.org/ftp/x3t9.2/document.89/89-108r0.txt Obvously our read retry count is 3 in this case. I don' know if the other OS's you tried have larger values and eventually succeeded, or if they just didn't happen to hit the same block. But it looks like an inability to read a particular block from that CD on that system. Ken That explains the *what* (sort of), but not the why. Given that this occurs on four different systems, with four different drives, with upwards of eight different IDE cables (both 40- and 80-conductor), and that it's across multiple releases and multiple CD's, there has to be something I'm doing wrong. I'm just at a loss as to what.
Re: OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
Breen Ouellette [EMAIL PROTECTED] wrote: With the release of 4.2 I thought I would check again to see if the vpn1411 still fails with 'Corrupted MAC on input' on a Soekris net4801. I am happy to say that I can no longer reproduce the error using the GENERIC kernel. Does anyone know if this was intentionally fixed, or is this an unintentional byproduct of code being cleaned up somewhere else? There has been no fix for this, on account of nobody having diagnosed the problem in the first place. -- Christian naddy Weisgerber [EMAIL PROTECTED]
ftpd follow symlinks
OpenBSD 4.2 on i386: does ftpd have the capability to follow sym links? or is there a work around that would allow it to? if not, will that support be added any time soon? -- -Lawrence -Student ID 1028219
Re: Custom Kernel for 4.2 upgrade
On the 4.1 box. As I've said I've done this since 3.6 with no problems. On 2-Nov-07, at 4:21 PM, Stuart Henderson wrote: On 2007/11/02 14:45, Jason Murray wrote: I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel in order to upgrade. I know this is not supported, but it has worked (minus the one gotcha) for me from 3.6 until 4.1 so I expect it will work for 4.2. And don't get on my case about buy the CD I send $10/month to the project for all the great work they do. I downloaded and untarred a fresh 4.2 src and sys tree. On what, some other box running 4.2, or on the 4.1 box? If it's the 4.1 box, you *may* be able to follow the procedures from old faq/ current.html and do things in stages, but it's *far* easier to install 4.2 somewhere (either separate physical hardware, or a VM: qemu on the 4.1 box would be ok, if a little slow) and build the new kernel there. -- Jason Murray IMBA Durham Region Rep - www.imba.com/canada DMBA President - www.durhammountainbiking.ca TORBG Exec - www.torbg.org
Re: OpenBSD 4.2 / Soekris net4801 / vpn1411 - No More 'Corrupted MAC on input' Using OpenSSH
Michael [EMAIL PROTECTED] wrote: Noticed that too, maybe it's this change: * New MAC algorithm available for data integrity in ssh(1), UMAC-64. About 20% faster than HMAC-MD5. ssh still defaults to hmac-md5. umac-64 isn't used unless you explicitly configure it. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Re: Custom Kernel for 4.2 upgrade
On 2007/11/02 18:03, Jason Murray wrote: On the 4.1 box. As I've said I've done this since 3.6 with no problems. If you were able to take a shortcut for the last 3 years or so, take that as a bonus, but don't expect it to always work (-: You were lucky those times.
Re: Custom Kernel for 4.2 upgrade
It's not a shortcut. It is documented, just not supported. On 2-Nov-07, at 6:23 PM, Stuart Henderson wrote: On 2007/11/02 18:03, Jason Murray wrote: On the 4.1 box. As I've said I've done this since 3.6 with no problems. If you were able to take a shortcut for the last 3 years or so, take that as a bonus, but don't expect it to always work (-: You were lucky those times.
Re: pgt prevents pf from scrubbing?
I was able to reproduce this issue with a clean installation of 4.2 as wellso long as the AP uses pgt, pf's scrub is broken. Thoughts? On 10/31/07, Daniel Melameth [EMAIL PROTECTED] wrote: I recently changed my 4.1-stable AP from ral to pgt only to find pf not scrubbing packets anymore. To make this confusion more simple, I made a temporary simple pf.conf: $ sudo cat /etc/pf.conf external_if = pppoe0 set debug loud scrub in on $external_if all scrub out on $external_if all max-mss 1452 nat on $external_if from ! $external_if - ( $external_if ) block in log on $external_if pass out quick on $external_if inet proto tcp to any pass out quick on $external_if inet proto { udp, gre, icmp } to any block out log on $external_if With this ruleset I now have the following: $ sudo pfctl -vvs rules @0 scrub in on pppoe0 all fragment reassemble [ Evaluations: 2051 Packets: 292 Bytes: 45542 States: 0 ] [ Inserted: uid 0 pid 10012 ] @1 scrub out on pppoe0 all max-mss 1452 fragment reassemble [ Evaluations: 236 Packets: 236 Bytes: 9859States: 0 ] [ Inserted: uid 0 pid 10012 ] @0 block drop in log on pppoe0 all [ Evaluations: 831 Packets: 4 Bytes: 1092States: 0 ] [ Inserted: uid 0 pid 10012 ] @1 pass out quick on pppoe0 inet proto tcp all flags S/SA keep state [ Evaluations: 32Packets: 242 Bytes: 55041 States: 7 ] [ Inserted: uid 0 pid 10012 ] @2 pass out quick on pppoe0 inet proto udp all keep state [ Evaluations: 19Packets: 23Bytes: 3049States: 3 ] [ Inserted: uid 0 pid 10012 ] @3 pass out quick on pppoe0 inet proto gre all keep state [ Evaluations: 7 Packets: 0 Bytes: 0 States: 0 ] [ Inserted: uid 0 pid 10012 ] @4 pass out quick on pppoe0 inet proto icmp all keep state [ Evaluations: 7 Packets: 0 Bytes: 0 States: 0 ] [ Inserted: uid 0 pid 10012 ] @5 block drop out log on pppoe0 all [ Evaluations: 7 Packets: 7 Bytes: 280 States: 0 ] [ Inserted: uid 0 pid 10012 ] However, a simple visit to a web site when using pgt shows scrub is not scrubbing as my mss is 1460: $ sudo tcpdump -ni pppoe0 port 80 tcpdump: listening on pppoe0, link-type PPP_ETHER 12:05:46.892243 x.y.101.219.58561 64.37.182.61.80: S 2341795589:2341795589(0) win 8192 mss 1460,nop,wscale 2,nop,nop,sackOK (DF) 12:05:46.969268 64.37.182.61.80 x.y.101.219.58561: S 3585146952:3585146952(0) ack 2341795590 win 8190 mss 1460 12:05:46.970368 x.y.101.219.58561 64.37.182.61.80: . ack 1 win 17520 (DF) 12:05:46.970902 x.y.101.219.58561 64.37.182.61.80: P 1:642(641) ack 1 win 17520 (DF) 12:05:47.056958 64.37.182.61.80 x.y.101.219.58561: P 1:636(635) ack 642 win 19200 (DF) 12:05:47.060172 x.y.101.219.58561 64.37.182.61.80: P 642:1347(705) ack 636 win 16885 (DF) 12:05:47.151883 64.37.182.61.80 x.y.101.219.58561: P 3556:3780(224) ack 1347 win 8190 12:05:47.152153 64.37.182.61.80 x.y.101.219.58561: P 2096:2100(4) ack 1347 win 8190 (frag 55634:[EMAIL PROTECTED]) 12:05:47.153298 x.y.101.219.58561 64.37.182.61.80: . ack 636 win 16885 (DF) 12:05:47.156386 x.y.101.219.58561 64.37.182.61.80: . ack 636 win 16885 (DF) But if I simply put the ral card back and reboot, scrub works again-and this is reproducible. $ sudo tcpdump -ni pppoe0 port 80 tcpdump: listening on pppoe0, link-type PPP_ETHER 11:14:32.100411 x.y.115.226.53842 64.37.182.61.80: S 313284:313284(0) win 8192 mss 1452,nop,wscale 2,nop,nop,sackOK (DF) 11:14:32.176738 64.37.182.61.80 x.y.115.226.53842: S 2437399687:2437399687(0) ack 313285 win 8190 mss 1452 11:14:32.177300 x.y.115.226.53842 64.37.182.61.80: . ack 1 win 17424 (DF) 11:14:32.177661 x.y.115.226.53842 64.37.182.61.80: P 1:642(641) ack 1 win 17424 (DF) 11:14:32.263894 64.37.182.61.80 x.y.115.226.53842: P 1:636(635) ack 642 win 32767 (DF) 11:14:32.266375 x.y.115.226.53842 64.37.182.61.80: P 642:1347(705) ack 636 win 16789 (DF) 11:14:32.360790 64.37.182.61.80 x.y.115.226.53842: P 636:2088(1452) ack 1347 win 8190 (DF) 11:14:32.361099 64.37.182.61.80 x.y.115.226.53842: P 3540:3773(233) ack 1347 win 8190 I don't get it. I haven't had much sleep, but what's missing here? The hostname.if for the ral and pgt cards are identical. For what it's worth, here's the output from pf debug load during the session when using the pgt card: Oct 31 12:05:46 meth /bsd: pf_map_addr: selected address x.y.101.219 Oct 31 12:05:47 meth /bsd: pf_normalize_ip: reass frag 21209 @ 0-24 Oct 31 12:05:47 meth /bsd: pf_normalize_ip: reass frag 21209 @ 24-1480 Oct 31 12:05:47 meth /bsd: pf_reassemble: 1480 1480? Oct 31 12:05:47 meth /bsd: pf_reassemble: complete: 0xd6aeb100(1500)
mutt + reply-to
Hello, I realize this isn't directly OpenBSD-related, though believe I came across a message in misc a while back that discussed including a reply-to field in mutt. Lately I have been having difficulty getting my mutt mail to successfully deliver to several addresses. Google mail doesn't accept it, Yahoo mail automatically puts it in the spam/bulk folder. I checked the full headers and found: X-Authentication-Warning: (myhostname): sean set sender to (alternateaddress) using -f My guess is due to that warning other accounts block or spamify the email upon delivery, not really sure. In any case, maybe I could fix that by just placing my actual account email address in the set from field of the .muttrc and put my alternate address in some type of reply to field. I don't know if that would solve the so-called spam problem though. It'd be nice if the emails I send to family, friends, colleagues, are successfully delivered. Thank you for any advice on this! Sean
Re: mutt + reply-to
On 2007/11/02 17:38, Sean Darby wrote: I checked the full headers and found: X-Authentication-Warning: (myhostname): sean set sender to (alternateaddress) using -f this can be fixed with something like http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951 (and add yourself to /etc/mail/trusted-users) My guess is due to that warning other accounts block or spamify the email upon delivery, not really sure. Divining spam filtering at large sites is a black art.
Re: mutt + reply-to
On Fri 2007.11.02 at 22:50 +, Stuart Henderson wrote: On 2007/11/02 17:38, Sean Darby wrote: I checked the full headers and found: X-Authentication-Warning: (myhostname): sean set sender to (alternateaddress) using -f this can be fixed with something like http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951 (and add yourself to /etc/mail/trusted-users) or use the relatively new smtp_url variable (mutt 1.5.15+)
Re: Network troubles with release/AMD64
Hello Correct me if I'm wrong. Snapshot binaries downloaded 5days before releasing 4.2 officially has newer code than the release. So if I will fetch -current it will work again? I'm gonna try it then. Thank you. Peter Huncar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henning Brauer Sent: Friday, November 02, 2007 7:02 PM To: misc@openbsd.org Subject: Re: Network troubles with release/AMD64 * Huncar, Peter [EMAIL PROTECTED] [2007-11-02 18:47]: I have trouble upgrading from latest snapshot to -stable :( surprising, isn't it. sheesh. http://www.openbsd.org/faq/faq5.html#Flavors -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: Custom Kernel for 4.2 upgrade
On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote: It's not a shortcut. It is documented, just not supported. On 2-Nov-07, at 6:23 PM, Stuart Henderson wrote: On 2007/11/02 18:03, Jason Murray wrote: On the 4.1 box. As I've said I've done this since 3.6 with no problems. If you were able to take a shortcut for the last 3 years or so, take that as a bonus, but don't expect it to always work (-: You were lucky those times. This is interesting. Please, tell me where it is documented how to source-upgrade from release to release? I've done so too, several times in the past, but I thought (knew) I would do a binary reinstall if I botch the thing. It didn't happen and after I tried binary upgrades, I don't miss trying and sweating through a source upgrade (OK, I wasn't *that* hard). Upgrading by source is like going from -release to -current (just not to _current_ -current ;-) - you have to expect to deal with the unforeseen. --knitti
mutt + reply-to
Hello, I realize this isn't directly OpenBSD-related, though believe I came across a message in misc a while back that discussed including a reply-to field in mutt. Lately I have been having difficulty getting my mutt mail to successfully deliver to several addresses. Google mail doesn't accept it, Yahoo mail automatically puts it in the spam/bulk folder. I checked the full headers and found: X-Authentication-Warning: (myhostname): sean set sender to (alternateaddress) using -f My guess is due to that warning other accounts block or spamify the email upon delivery, not really sure. In any case, maybe I could fix that by just placing my actual account email address in the set from field of the .muttrc and put my alternate address in some type of reply to field. I don't know if that would solve the so-called spam problem though. It'd be nice if the emails I send to family, friends, colleagues, are successfully delivered. Thank you for any advice on this! Sean -- PGP/GnuPG Public Key: http://mpec.net/gsd.asc
Re: OpenBSD 4.2 hardware recommendation
2007/11/2, VP [EMAIL PROTECTED]: We need tower server with 1 proccessor, 2 gigs of RAM, 2 SCSI disks and 2 power supply. Does anyone recommend brand server which supports OpenBSD? You don't need one computer with two discs and two psus; instead get two systems and use carp to get HA. Also 2GB for a firewall is overkill. Spend the money on the NICs instead. Of course, you could simply buy a GeNUa system, which get's you a hardend OBSD firewall. :-) Best Martin
Re: Network troubles with release/AMD64
Huncar, Peter [EMAIL PROTECTED] writes: Hello Correct me if I'm wrong. Snapshot binaries downloaded 5days before releasing 4.2 officially has newer code than the release. Correct. 4.2 was frozen awhile ago. I just downloaded the snapshots and they worked for my on amd64. -- Sincerely, Craig Brozefsky [EMAIL PROTECTED] what a klon - neko http://www.red-bean.com/~craig Less matter, more form! - Bruno Schulz ignazz, I am truly korrupted by yore sinful tzourceware. -jb
Re: ftpd follow symlinks
Lord Sporkton wrote: OpenBSD 4.2 on i386: does ftpd have the capability to follow sym links? or is there a work around that would allow it to? Are these symlinks pointing outside the chroot? if not, will that support be added any time soon?
Re: Custom Kernel for 4.2 upgrade
On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote: I downloaded and untarred a fresh 4.2 src and sys tree. Then: # cd /usr/src/sys/arch/i386/conf/ # config GENERIC /dev/null:1: syntax error *** Stop. i don't think this has anything to do with 4.1 or 4.2. you have a broken something (config, GENERIC, ...).
Re: Custom Kernel for 4.2 upgrade
I've followed the upgrade portion of the FAQ each time. This time the relevant doc would be: http://www.openbsd.org/faq/upgrade42.html I'm not trying to do a recompilation of the entire source, just the kernel. Once I'm booted into the new RAIDFrame aware kernel I can mount my array and finish the install according to upgrade42.html. On 2-Nov-07, at 7:13 PM, knitti wrote: This is interesting. Please, tell me where it is documented how to source-upgrade from release to release? I've done so too, several times in the past, but I thought (knew) I would do a binary reinstall if I botch the thing. It didn't happen and after I tried binary upgrades, I don't miss trying and sweating through a source upgrade (OK, I wasn't *that* hard). Upgrading by source is like going from -release to -current (just not to _current_ -current ;-) - you have to expect to deal with the unforeseen. Absolutely. And -misc has always provided me with that one clue I needed. -- Jason Murray IMBA Durham Region Rep - www.imba.com/canada DMBA President - www.durhammountainbiking.ca TORBG Exec - www.torbg.org
Re: mutt + reply-to
Hi Stuart, Thank you very much for the info! I appreciate it a lot. I've now updated my /etc/mail/trusted-users file with my [EMAIL PROTECTED] address (which is what I currently have in my from: field in my muttrc). Regarding the link you provided (on cvs.openbsd.org...) How would I use that? (Sorry, I'm not a computer guru and that page was a little confusing for me.) Thanks! Sean On 11/2/07, Stuart Henderson [EMAIL PROTECTED] wrote: On 2007/11/02 17:38, Sean Darby wrote: I checked the full headers and found: X-Authentication-Warning: (myhostname): sean set sender to (alternateaddress) using -f this can be fixed with something like http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951 (and add yourself to /etc/mail/trusted-users) My guess is due to that warning other accounts block or spamify the email upon delivery, not really sure. Divining spam filtering at large sites is a black art.
Re: GPRS/EDGE modems to use with a notebook
On 2007. November 2. 19:30.56 Kevin Cheng wrote: Hi, these are summarized from documentation with tested or untested, up to 4.2+: Kevin [...] Thanks a lot! Where did you get this list? Daniel
Re: mutt + reply-to
Hi Okan, Thank you for the info - very much appreciated. I'm still running OpenBSD 4.1, my mutt is at 1.4.2.2i (2006-07-14). Is there a way to get mutt 1.5.15+ while still on 4.1? (Hopefully without messing with any current emails/settings or 4.1settings.) I'm not a pro with computers but always open to reading up on necessary things. What can I find out about that smtp_url variable? (How to use it or similar.) Thank you very much! Sean On 11/2/07, Okan Demirmen [EMAIL PROTECTED] wrote: On Fri 2007.11.02 at 22:50 +, Stuart Henderson wrote: On 2007/11/02 17:38, Sean Darby wrote: I checked the full headers and found: X-Authentication-Warning: (myhostname): sean set sender to (alternateaddress) using -f this can be fixed with something like http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=4951 (and add yourself to /etc/mail/trusted-users) or use the relatively new smtp_url variable (mutt 1.5.15+)
Issues with pkg_add wget on 4.2
In my install42.site file, I add several packages to a machine that I'll want later. In this case, I execute pkg_add wget, and here is the result: Installing package: wget ldconfig: /var/run/ld.so.hints: No such file or directory libiconv-1.9.2p3: complete Can't install gettext-0.14.6p0: lib not found expat.8.0 Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3 Full dependency tree is libiconv-1.9.2p3 Can't install wget-1.10.2p0: can't resolve gettext-0.14.6p0 Any ideas for a fix? Don
Re: mutt + reply-to
On Nov 2, 2007 4:48 PM, Sean Darby [EMAIL PROTECTED] wrote: Hi Stuart, Thank you very much for the info! I appreciate it a lot. I've now updated my /etc/mail/trusted-users file with my [EMAIL PROTECTED] address (which is what I currently have in my from: field in my muttrc). er, no. /usr/share/sendmail/README: names of users that will be ``trusted'', that is, able to set their envelope from address using -f without generating a warning message. In other words, you list your local Unix user in the file, not an email address. DS
Misc. questions
On 02/11/2007, Bob Beck [EMAIL PROTECTED] wrote: * Adrian Fisher [EMAIL PROTECTED] [2007-11-01 11:22]: This thread is the first I have heard of him. Who is (or was) he? A. How unbelievably [EMAIL PROTECTED] You can't even have the decency to google his name before you spout your ignorance here, in an incredibly insensitive manner. Are you really that lazy that you can't google itojun and I feel lucky? - Instead you need to post here in a way that makes all the developers, myself included, wonder why we even read this lists to see posts like this from people who are too lazy to even look up the name of someone who was instrumental in helping to write and improve a lot of they software you're using, at least if you're on this list because you run OpenBSD. Your post would be on par with asking on this list who the hell this Theo de Raadt was. Yea. I always wondered about that. Just who *is* this Teoh dude? He doesn't seem to write that many emails here, so he can't be that important, right? We probably shouldn't pay much attention to him. And I wonder who this Googel is. Does he work for Microsoft? Everybody constantly seems to assume that we're buddies, but I don't even *know* the guy. Yours truly, etc., etc. --Baron Ropers van Ropers von Ropersropers, Esquire PS: Please visit my website: http://tinyurl.com/3aremt It is really nice.
Re: Custom Kernel for 4.2 upgrade
I hope not. $ which config /usr/sbin/config $ file /usr/sbin/config /usr/sbin/config: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, dynamically linked (uses shared libs), stripped $ ls -l /usr/sbin/config -r-xr-xr-x 1 root bin 76836 Mar 10 2007 /usr/sbin/config March 10th is when I did the 4.0 - 4.1 upgrade. On a whim I unpacked config from my 4.1 tarballs. Same problem. GENERIC shouldn't be broken as it is fresh from sys.tar.gz. I took a quick look and it looks fine. On 2-Nov-07, at 7:39 PM, Ted Unangst wrote: On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote: I downloaded and untarred a fresh 4.2 src and sys tree. Then: # cd /usr/src/sys/arch/i386/conf/ # config GENERIC /dev/null:1: syntax error *** Stop. i don't think this has anything to do with 4.1 or 4.2. you have a broken something (config, GENERIC, ...). -- Jason Murray IMBA Durham Region Rep - www.imba.com/canada DMBA President - www.durhammountainbiking.ca TORBG Exec - www.torbg.org
Re: Issues with pkg_add wget on 4.2
On Fri, Nov 02, 2007 at 05:00:34PM -0700, Don Jackson wrote: In my install42.site file, I add several packages to a machine that I'll want later. In this case, I execute pkg_add wget, and here is the result: Installing package: wget ldconfig: /var/run/ld.so.hints: No such file or directory libiconv-1.9.2p3: complete Can't install gettext-0.14.6p0: lib not found expat.8.0 Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3 Full dependency tree is libiconv-1.9.2p3 Can't install wget-1.10.2p0: can't resolve gettext-0.14.6p0 Any ideas for a fix? Install xbase
Risposta automatica
Segretariato Generale della Presidenza della Repubblica L'indirizzo di posta elettronica [EMAIL PROTECTED] non h piy operativo. E' possibile inviare messaggi utilizzando la sezione La posta presente all'interno del sito www.quirinale.it . * * Questo messaggio di posta elettronica ed ogni suo eventuale allegato possono contenere informazioni di carattere privato o confidenziale, rivolte esclusivamente ai destinatari sopra indicati. Se non siete quindi tra i corretti destinatari o se avete ricevuto erroneamente questo messaggio, siete pregati di rispondere immediatamente al mittente segnalando l'accaduto e successivamente cancellare quanto ricevuto, compresi gli eventuali allegati. A tal riguardo, vi rendiamo noto che l'utilizzo, la divulgazione, la copia o la distribuzione anche parziale di questo messaggio costituisce violazione dell'obbligo di non prendere cognizione della corrispondenza tra altri soggetti, sia ai sensi dell'art.616 c.p., sia ai sensi del D.Lgs.196/03 ed espone quindi il responsabile alle relative conseguenze. Si evidenzia, infine, che le informazioni o le opinioni espresse in questo messaggio o all'interno dei suoi eventuali allegati, rappresentano esclusivamente il punto di vista del mittente che non necessariamente coincide con gli atti ufficiali della Presidenza della Repubblica. * *
Re: mutt + reply-to
er, no. /usr/share/sendmail/README: names of users that will be ``trusted'', that is, able to set their envelope from address using -f without generating a warning message. In other words, you list your local Unix user in the file, not an email address. DS Okay. My local unix username is sean... I'll remove the email address and plug sean in place of it. Thanks for correcting me on that.
Re: Remembering Jun-ichiro Hagino
Try to see people's ignorance as a testament to his character in wanting to do what he felt was the right thing. How many developers do you know that had commit access to FreeBSD, NetBSD, and OpenBSD? I only noticed accidently when the documentation for all three BSDs looked very familiar once long ago in IPv6's early stages :-). While I saw him do a fascinating talk on IPv6 once, I see him as representing the many quiet coders who quite literally shut up and hack. It's the quiet ones who change the world, the loud ones only take the credit. RIP itojun. -- Chris On 2-Nov-07, at 11:45 AM, Bob Beck wrote: * Adrian Fisher [EMAIL PROTECTED] [2007-11-01 11:22]: This thread is the first I have heard of him. Who is (or was) he? A. How unbelievably [EMAIL PROTECTED] You can't even have the decency to google his name before you spout your ignorance here, in an incredibly insensitive manner. Are you really that lazy that you can't google itojun and I feel lucky? - Instead you need to post here in a way that makes all the developers, myself included, wonder why we even read this lists to see posts like this from people who are too lazy to even look up the name of someone who was instrumental in helping to write and improve a lot of they software you're using, at least if you're on this list because you run OpenBSD. Your post would be on par with asking on this list who the hell this Theo de Raadt was. -Bob