Re: Strange WLAN issue with ral(4) in hostap mode
Thanks, Todd, and my apologies go to Jussi for misunderstanding his point. I can replicate this behaviour. Windows allows me to change the Power Save Mode on the Atheros AR5008 card used by Apple in the MacBook Pro to Off which resolves the issue (when the MBP is booted into Windows, anyway). Unfortunately there seems no documented method of performing this configuration change on Mac OS X - but that's for another community of users on another forum, obviously. Thanks again for your assistance and warm regards, Damon On Sat, Jan 3, 2009 at 8:18 AM, Todd T. Fries t...@fries.net wrote: There are power savings for 802.11 that OpenBSD does not support; this is entirely independent from saving battery via cpu clocking and it is also entirely independent from saving battery via adjusting the transmit power of the radio. The power savings for 802.11 actually put the radio to sleep for a given interval and wake it up sending a message to the AP which is supposed to hold packets for a given client until the client responds, which OpenBSD does not do, therefore packetloss ensues. I know this very well, my BlackBerry Pearl 8120 gets 90-95% packet loss with an OpenBSD based AP. Damien is aware of what needs doing, but I am to understand it is not a short or easy road to get there. Thanks, -- Todd Fries .. t...@fries.net _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | ..in support of free software solutions. \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Damon McMahon on 20090103 8:09.21, we have: | Jussi - thanks for the response, but I've tried that to no effect, | e.g. on the Macbook Pro the Energy Saver settings for Mains and | Battery modes are identical. | | On Fri, 2 Jan 2009 05:45:45 +0200, Jussi Peltola pe...@pelzi.net wrote: | Disable power saving on the clients.
Re: Saludos - Greetings
Best wishes to the people making this possible, and for the ones who follow them. OpenBSD it's making my work easier. -Jesus (from Murcia, Spain) Andres Genovez escribis: I hope this year, and wish the best luck to OpenBSD. For all the People who give away his knowledge, without nothing in return. Keep going. -- Atentamente Andris Genovez Tobar / Departamento Tecnico COMERCIAL SALVADOR PACHECO MORA S.A. / DESDE 1945 SPM TECNOLOGIAS Cuenca, Luis Cordero 9-70 y Gran Colombia Av. 27 de Febrero y Jacinto Flores Telifono. 593-7-2842388 ext 103 Fax. 593-7-2842388 ext 120 Celular 593-97670874 593-96816996 Alegro Mail: ageno...@cspmsa.com Viaje: andresgeno...@gmail.com www.cspmsa.com www.crice.org
Re: Intel D945GCLF2
Nenhum_de_Nos wrote: On Fri, January 2, 2009 17:40, Chris Cohen wrote: Has anyone installed openbsd on the Atom board D945GCLF2? If so could you post a dmesg and does it run stable? -- Thanks Chris has anyone seen any atom dual core with two lan ? I'd like a pf router that would be low energy :) Alix is openbsd friend right ? ( 2d3 in this case ) I did like alix but a mini itx with regular vga is better for me :) http://global.msi.com.tw/index.php?func=proddescmaincat_no=388prod_no=1693 ... but it's expensive -- Chris
Re: Intel D945GCLF2
Anathae Townsend wrote: checkout http://kerneltrap.org/mailarchive/openbsd-misc/2008/9/30/3457064 -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Chris Cohen Sent: Friday, January 02, 2009 12:41 PM To: misc@openbsd.org Subject: Intel D945GCLF2 Has anyone installed openbsd on the Atom board D945GCLF2? If so could you post a dmesg and does it run stable? -- Thanks Chris thanks! could someone please share what case he is using? I've found serveral, but they are all either too expensive or for in-car use. -- Thanks Chris
Re: Intel D945GCLF2
I use a Morex CUBID CP2600 [1] with a Morex 60W Power Kit. In Germany for approximately 110 Euro. I installed a 2.5 hard drive and pinched off the noisy case fans. Also I bought a new north bridge fan [2]. It could be still quieter, but it's much better as before. [1] http://www.morex.com.tw/products/productdetail.php?fd_id=35PHPSESSID=c88735b8e065cbbc0dcf57dce9f48f8e [2] http://www.scythe-usa.com/product/acc/016/sy124010l_detail.html -- Patrick Chris Cohen wrote: Anathae Townsend wrote: checkout http://kerneltrap.org/mailarchive/openbsd-misc/2008/9/30/3457064 -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Chris Cohen Sent: Friday, January 02, 2009 12:41 PM To: misc@openbsd.org Subject: Intel D945GCLF2 Has anyone installed openbsd on the Atom board D945GCLF2? If so could you post a dmesg and does it run stable? -- Thanks Chris thanks! could someone please share what case he is using? I've found serveral, but they are all either too expensive or for in-car use.
Re: ftp from script
Randal L. Schwartz wrote: Daniel == Daniel A Ramaley daniel.rama...@drake.edu writes: Daniel chdir /path-to-dir; You didn't check the success of the chdir. This will ruin your original current directory if that fails... Daniel unlink *; Oops! The proper solution is rmtree, a function defined in File::Path: use File::Path; rmtree('/path-to-dir'); You're right. You're so right, in fact, that I'd already changed the code; even I noticed that my original was bad practice. But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. Ed [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of eagirard.13018DEFANGED-vcf]
Re: ftp from script
On Jan 3, 2009, at 7:27 AM, Ed Ahlsen-Girard wrote: You're right. You're so right, in fact, that I'd already changed the code; even I noticed that my original was bad practice. You're doing this in perl, and not using Net::FTP? But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. from ftp(1): Note: mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode).
Re: ftp from script
On Sat, Jan 3, 2009 at 7:27 AM, Ed Ahlsen-Girard eagir...@cox.net wrote: ... But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. Perhaps you should actually show the complete output from one that succeeds and then again from one that fails. It's hard to help someone when all you tell us is: In all cases I see a connection to the server, followed by a complaint of an invalid directory, and disconnection. Oh, and please don't anonymize the URLs like you did in your original post. For all we know, you're actually using completely different URLs (purposely or from a typo) and thus completely wasting our time. Philip Guenther
Testing in a virtual environment
Hello. I have what is hopefully a quick question. Has anyone successfully run OpenBSD 4.4 in a virtualized environment? If so, which one? I've been trying to get it to run within VirtualBox 2.1 with limited success. (OpenBSD will install, but trying to compile software results in a crash.) It is *not* my intention to revive the discussion about how much insecurity a virtual environment adds[1]. I'm aware of the risks. I plan on using virtualized OpenBSD purely for testing and building -release that i can then push out to my production servers. The production servers of course run OpenBSD on bare hardware. [1] See http://marc.info/?l=openbsd-miscm=119318909016582w=2 Dan RamaleyDial Center 118, Drake University Network Programmer/Analyst 2407 Carpenter Ave +1 515 271-4540Des Moines IA 50311 USA
Re: Testing in a virtual environment
On 09:41, Sat 03 Jan 09, Daniel A. Ramaley wrote: Hello. I have what is hopefully a quick question. Has anyone successfully run OpenBSD 4.4 in a virtualized environment? If so, which one? I've been trying to get it to run within VirtualBox 2.1 with limited success. (OpenBSD will install, but trying to compile software results in a crash.) Running OpenBSD under VirtualBox is not stable at all. I have good experience running OpenBSD under xen, kvm and vmware-server. At the moment kvm is the way we do it now. Run Ubuntu 8.10 on the host, dont run anything in it but kvm. Just make sure that once you have the vm created and installed you add a line to the config so it uses the e1000 nic instead of the rtl that gives timeouts. The kvm documentation on their website also gives this advise and a sample how to do it. It is *not* my intention to revive the discussion about how much insecurity a virtual environment adds[1]. I'm aware of the risks. I plan on using virtualized OpenBSD purely for testing and building -release that i can then push out to my production servers. The production servers of course run OpenBSD on bare hardware. I have two build vms running on my home kvm server, one to compile and create releases for amd64 and one for x86. -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer aficionados are both called users?
Re: Intel D945GCLF2
Patrick Hemmen wrote: I use a Morex CUBID CP2600 [1] with a Morex 60W Power Kit. In Germany for approximately 110 Euro. I installed a 2.5 hard drive and pinched off the noisy case fans. Also I bought a new north bridge fan [2]. It could be still quieter, but it's much better as before. Thanks for your two replies. I've just got one more question. Can you read the temperatures with sysctl? (I'm thinking about a totally fanless design, since this thing would only route (Gbit LAN+DMZ and DSL) and run pf. So temperature monitoring would be nice) -- Chris
Re: Testing in a virtual environment
Daniel A. Ramaley wrote: Hello. I have what is hopefully a quick question. Has anyone successfully run OpenBSD 4.4 in a virtualized environment? Yes. VMWare Server, VirtualPC and Qemu all run OpenBSD fine including X. In addition VMWare Server and Qemu definitely allow virtualised kernel debugging using virtual com ports. PK
Re: ftp from script
johan beisser j...@caustic.org wrote: On Jan 3, 2009, at 7:27 AM, Ed Ahlsen-Girard wrote: You're right. You're so right, in fact, that I'd already changed the code; even I noticed that my original was bad practice. You're doing this in perl, and not using Net::FTP? I'm starting to think that's the way to do it. But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. from ftp(1): Note: mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). I don't want a tree. The URLs (I thought) pretty clearly showed that I was looking for the snaphot files, in the snaphot directory, which is well known and does not require recursion. -- Ed Ahlsen-Girard Ft. Walton Beach FL
Re: Testing in a virtual environment
On Jan 3, 2009, at 7:41 AM, Daniel A. Ramaley wrote: Hello. I have what is hopefully a quick question. Has anyone successfully run OpenBSD 4.4 in a virtualized environment? If so, which one? It works great in VMware ESXi and VMware Fusion. No special magic, it Just Works(tm). -- bk [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
OpenBSD4.4 cant sync the time
Default installed OpenBSD4.4 and wanna sync time But: # ping asia.pool.ntp.org PING asia.pool.ntp.org (220.130.158.52): 56 data bytes 64 bytes from 220.130.158.52: icmp_seq=0 ttl=48 time=198.467 ms 64 bytes from 220.130.158.52: icmp_seq=1 ttl=48 time=170.573 ms asia.pool.ntp.org64 bytes from 220.130.158.52: icmp_seq=2 ttl=48 time=181.703 ms --- asia.pool.ntp.org ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 170.573/183.581/198.467/11.464 ms # rdate asia.pool.ntp.org rdate: Could not connect socket: Connection refused I dont know why has this problem,any idea?THX. =) -- Regards Linyin SooChow China http://linyin.8800.org
Re: ftp from script
2009/1/3 eagir...@cox.net: johan beisser j...@caustic.org wrote: On Jan 3, 2009, at 7:27 AM, Ed Ahlsen-Girard wrote: You're right. You're so right, in fact, that I'd already changed the code; even I noticed that my original was bad practice. You're doing this in perl, and not using Net::FTP? I'm starting to think that's the way to do it. But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. from ftp(1): Note: mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). I don't want a tree. The URLs (I thought) pretty clearly showed that I was looking for the snaphot files, in the snaphot directory, which is well known and does not require recursion. -- Ed Ahlsen-Girard Ft. Walton Beach FL Must this be doable just from base? Otherwise, just install lftp which is scriptable in itself and can easily do stuff like mirror, get whatever.
Re: ftp from script
Philip Guenther wrote: On Sat, Jan 3, 2009 at 7:27 AM, Ed Ahlsen-Girard eagir...@cox.net wrote: ... But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. Perhaps you should actually show the complete output from one that succeeds and then again from one that fails. It's hard to help someone when all you tell us is: In all cases I see a connection to the server, followed by a complaint of an invalid directory, and disconnection. Oh, and please don't anonymize the URLs like you did in your original post. For all we know, you're actually using completely different URLs (purposely or from a typo) and thus completely wasting our time. Philip Guenther When I run this: #!/usr/bin/perl `cd /home/ed/snap`; unlink /home/ed/snap/*; system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/*tgz;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/INSTALL.i386;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/index.txt;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/bsd ); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/bsd.rd;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/ports.tar.gz;); exit; I get this: Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply.
Re: Intel D945GCLF2
No problem. Here the output of 'sysctl -a|grep hw'. hw.machine=i386 hw.model=Intel(R) Atom(TM) CPU 330 @ 1.60GHz (GenuineIntel 686-class) hw.ncpu=2 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=wd0 hw.diskcount=1 hw.sensors.cpu0.temp0=32.00 degC hw.sensors.admtm0.temp0=22.00 degC (Internal) hw.sensors.admtm0.temp1=36.00 degC (External) hw.sensors.admtm0.temp2=28.00 degC (External) hw.sensors.admtm0.volt0=2.54 VDC (2.5 V) hw.sensors.admtm0.volt1=0.00 VDC (Vccp) hw.sensors.admtm0.volt2=2.44 VDC (3.3 V) hw.sensors.admtm0.volt3=4.97 VDC (5 V) hw.sensors.admtm0.volt4=12.12 VDC (12 V) hw.sensors.admtm0.volt5=3.27 VDC (Vcc) hw.sensors.admtm0.volt6=1.57 VDC (1.5 V) hw.sensors.admtm0.volt7=1.78 VDC (1.8 V) hw.cpuspeed=1613 hw.setperf=100 hw.vendor=Intel Corporation hw.product=D945GCLF2 hw.uuid=c3d16cf0-8dd7-11dd-b190-00112550a074 hw.physmem=2135662592 hw.usermem=2135646208 -- Patrick Chris Cohen wrote: Patrick Hemmen wrote: I use a Morex CUBID CP2600 [1] with a Morex 60W Power Kit. In Germany for approximately 110 Euro. I installed a 2.5 hard drive and pinched off the noisy case fans. Also I bought a new north bridge fan [2]. It could be still quieter, but it's much better as before. Thanks for your two replies. I've just got one more question. Can you read the temperatures with sysctl? (I'm thinking about a totally fanless design, since this thing would only route (Gbit LAN+DMZ and DSL) and run pf. So temperature monitoring would be nice)
Re: ftp from script
Karl Karlsson wrote: 2009/1/3 eagir...@cox.net: johan beisser j...@caustic.org wrote: On Jan 3, 2009, at 7:27 AM, Ed Ahlsen-Girard wrote: You're right. You're so right, in fact, that I'd already changed the code; even I noticed that my original was bad practice. You're doing this in perl, and not using Net::FTP? I'm starting to think that's the way to do it. But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. from ftp(1): Note: mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). I don't want a tree. The URLs (I thought) pretty clearly showed that I was looking for the snaphot files, in the snaphot directory, which is well known and does not require recursion. -- Ed Ahlsen-Girard Ft. Walton Beach FL Must this be doable just from base? Otherwise, just install lftp which is scriptable in itself and can easily do stuff like mirror, get whatever. lftp would be fine, although at this opint I'm irritated with the problem enough that I want to find out why my perl isn't getting it done.
Nvidia 9300GE xorg.conf?
Greetings, I have this new box, and the thing has an Nvidia 9300GE for a video card. It appears to have an HDMI output, as well as a DVI. I was wondering if anyone was able to get X to function with this. OR, if there is a way for me to get it to work using any of the various X commands. Right now, the dmesg says the following: vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x06e0 rev 0xa1 According to the nv(4) page, it should be supported. I ran xorgconfig and set the Geforce driver, but receive a no screens found error. I don't mind the read 'man 8 make-it-work' comments. I have had Intel video in the past, and they just worked. My old inspiron 9300 has an Nvidia card that just works. I am assuming that it is just too new to be supported yet. Any help is appreciated... Regards, Bryan Brake Here is the dmesg of the box: OpenBSD 4.4-current (GENERIC.MP) #20: Wed Dec 24 01:56:16 MST 2008 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (GenuineIntel 686-class) 2.41 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR real mem = 3488833536 (3327MB) avail mem = 3384791040 (3227MB) User Kernel Config UKC disable re 111 re* disabled 112 re* disabled UKC exit Continuing... mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/07/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf06e0 (54 entries) bios0: vendor American Megatrends Inc. version 5.33 date 11/07/2008 bios0: HP-Pavilion FK484AV-ABA m9400t acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI SLIC SSDT acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S3) PS2M(S3) USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) USB4(S3) USBE(S3) GBE_(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus 3 (P0P4) acpiprt3 at acpi0: bus -1 (P0P5) acpiprt4 at acpi0: bus 2 (P0P6) acpiprt5 at acpi0: bus -1 (P0P7) acpiprt6 at acpi0: bus -1 (P0P8) acpiprt7 at acpi0: bus -1 (P0P9) acpicpu0 at acpi0 acpicpu1 at acpi0 acpicpu2 at acpi0 acpicpu3 at acpi0 acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0xe200 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82G33 Host rev 0x02 ppb0 at pci0 dev 1 function 0 Intel 82G33 PCIE rev 0x02: apic 4 int 16 (irq 5) pci1 at ppb0 bus 5 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x06e0 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 4 int 16 (irq 5) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 4 int 21 (irq 3) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x02: apic 4 int 18 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4 int 17 (irq 11) pci2 at ppb1 bus 3 ppb2 at pci2 dev 0 function 0 vendor Creative Labs, unknown product 0x7006 rev 0x00 pci3 at ppb2 bus 4 azalia0 at pci3 dev 0 function 0 vendor Creative Labs, unknown product 0x0009 rev 0x00: apic 4 int 16 (irq 5) azalia0: codecs: Creative Labs/0x000a audio0 at azalia0 ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x02: apic 4 int 18 (irq 10) pci4 at ppb3 bus 2 Realtek 8168 rev 0x02 at pci4 dev 0 function 0 not configured uhci2 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 4 int 23 (irq 14) uhci3 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02:
Re: OpenBSD4.4 cant sync the time
# rdate asia.pool.ntp.org rdate: Could not connect socket: Connection refused Connection refused is the answer to your question. $ host asia.pool.ntp.org asia.pool.ntp.org has address 121.131.26.55 asia.pool.ntp.org has address 202.90.149.86 asia.pool.ntp.org has address 203.123.49.2 asia.pool.ntp.org has address 202.71.97.92 asia.pool.ntp.org has address 203.200.188.4 Try some others by IP address like above until you find ones that connect and have low latency and good time. Or in your /etc/ntpd.conf use servers asia.pool.ntp.org which should use more than one server, so it would be ok if one didn't answer. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation [demime 1.01d removed an attachment of type application/pgp-signature]
Re: OpenBSD4.4 cant sync the time
THX,i use -n fix it On Sun, Jan 4, 2009 at 2:48 AM, Darrin Chandler dwchand...@stilyagin.com wrote: # rdate asia.pool.ntp.org rdate: Could not connect socket: Connection refused Connection refused is the answer to your question. $ host asia.pool.ntp.org asia.pool.ntp.org has address 121.131.26.55 asia.pool.ntp.org has address 202.90.149.86 asia.pool.ntp.org has address 203.123.49.2 asia.pool.ntp.org has address 202.71.97.92 asia.pool.ntp.org has address 203.200.188.4 Try some others by IP address like above until you find ones that connect and have low latency and good time. Or in your /etc/ntpd.conf use servers asia.pool.ntp.org which should use more than one server, so it would be ok if one didn't answer. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG dwchand...@stilyagin.com | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation -- Regards Linyin SooChow China http://linyin.8800.org
Re: OpenBSD4.4 cant sync the time
Is there a firewall in your way? On 1/3/09, Linyin linyin...@gmail.com wrote: Default installed OpenBSD4.4 and wanna sync time But: # ping asia.pool.ntp.org PING asia.pool.ntp.org (220.130.158.52): 56 data bytes 64 bytes from 220.130.158.52: icmp_seq=0 ttl=48 time=198.467 ms 64 bytes from 220.130.158.52: icmp_seq=1 ttl=48 time=170.573 ms asia.pool.ntp.org64 bytes from 220.130.158.52: icmp_seq=2 ttl=48 time=181.703 ms --- asia.pool.ntp.org ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 170.573/183.581/198.467/11.464 ms # rdate asia.pool.ntp.org rdate: Could not connect socket: Connection refused I dont know why has this problem,any idea?THX. =) -- Regards Linyin SooChow China http://linyin.8800.org
Re: OpenBSD4.4 cant sync the time
No,but is think problem maybe is this: rdate -n time.cn99.com -n Use SNTP (RFC 1361) instead of the RFC 868 time protocol. By default, rdate uses the RFC 868 TCP protocol But thx for ur reply On Sun, Jan 4, 2009 at 3:03 AM, Nick Guenther kou...@gmail.com wrote: Is there a firewall in your way? On 1/3/09, Linyin linyin...@gmail.com wrote: Default installed OpenBSD4.4 and wanna sync time But: # ping asia.pool.ntp.org PING asia.pool.ntp.org (220.130.158.52): 56 data bytes 64 bytes from 220.130.158.52: icmp_seq=0 ttl=48 time=198.467 ms 64 bytes from 220.130.158.52: icmp_seq=1 ttl=48 time=170.573 ms asia.pool.ntp.org64 bytes from 220.130.158.52: icmp_seq=2 ttl=48 time=181.703 ms --- asia.pool.ntp.org ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 170.573/183.581/198.467/11.464 ms # rdate asia.pool.ntp.org rdate: Could not connect socket: Connection refused I dont know why has this problem,any idea?THX. =) -- Regards Linyin SooChow China http://linyin.8800.org -- Regards Linyin SooChow China http://linyin.8800.org
Re: ftp from script
2009/1/3 Ed Ahlsen-Girard eagir...@cox.net: Philip Guenther wrote: On Sat, Jan 3, 2009 at 7:27 AM, Ed Ahlsen-Girard eagir...@cox.net wrote: ... But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. Perhaps you should actually show the complete output from one that succeeds and then again from one that fails. It's hard to help someone when all you tell us is: In all cases I see a connection to the server, followed by a complaint of an invalid directory, and disconnection. Oh, and please don't anonymize the URLs like you did in your original post. For all we know, you're actually using completely different URLs (purposely or from a typo) and thus completely wasting our time. Philip Guenther When I run this: #!/usr/bin/perl `cd /home/ed/snap`; unlink /home/ed/snap/*; system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/*tgz;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/INSTALL.i386;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/index.txt;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/bsd ); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/i386/bsd.rd;); system (ftp, -ia, ftp://rt.fm/pub/OpenBSD/snaphots/ports.tar.gz;); exit; I get this: Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version 6.6/OpenBSD) ready. 331 Guest login ok, send your email address as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 550 pub/OpenBSD/snaphots/i386: No such file or directory. 221 Goodbye. Connected to rt.fm. 220- 220- rt.fm __ 220- Located in Lake in the Hills, Illinois, USA. |__|__ 220- __|__|__| 220- Server provided and administrated by Superblock |__|__| 220- http://superblock.net/ |__| 220- 220- 100 Mbps connectivity courtesy of DLS Internet 220- http://dls.net/ 220- 220 quadruple.superblock.net FTP server (Version
Re: Intel D945GCLF2
Patrick Hemmen wrote: No problem. Here the output of 'sysctl -a|grep hw'. hw.machine=i386 hw.model=Intel(R) Atom(TM) CPU 330 @ 1.60GHz (GenuineIntel 686-class) hw.ncpu=2 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=wd0 hw.diskcount=1 hw.sensors.cpu0.temp0=32.00 degC hw.sensors.admtm0.temp0=22.00 degC (Internal) hw.sensors.admtm0.temp1=36.00 degC (External) hw.sensors.admtm0.temp2=28.00 degC (External) hw.sensors.admtm0.volt0=2.54 VDC (2.5 V) hw.sensors.admtm0.volt1=0.00 VDC (Vccp) hw.sensors.admtm0.volt2=2.44 VDC (3.3 V) hw.sensors.admtm0.volt3=4.97 VDC (5 V) hw.sensors.admtm0.volt4=12.12 VDC (12 V) hw.sensors.admtm0.volt5=3.27 VDC (Vcc) hw.sensors.admtm0.volt6=1.57 VDC (1.5 V) hw.sensors.admtm0.volt7=1.78 VDC (1.8 V) hw.cpuspeed=1613 hw.setperf=100 hw.vendor=Intel Corporation hw.product=D945GCLF2 hw.uuid=c3d16cf0-8dd7-11dd-b190-00112550a074 hw.physmem=2135662592 hw.usermem=2135646208 Great! Thank you! I'm going to buy one right now from alternate.de -- Chris
Re: ftp from script
Ed == Ed Ahlsen-Girard eagir...@cox.net writes: Ed #!/usr/bin/perl Ed `cd /home/ed/snap`; This doesn't do anything, except waste time. May I suggest a good book or two for learning perl, so you won't keep wasting time on this? :) Might be a good way to learn to check return values as well. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
Re: Strange WLAN issue with ral(4) in hostap mode
Any chance this recent change on CVS to sys/net80211/ieee80211_node.c by damien@ is related? Add an ieee80211_notify_dtim() function that drivers should call after every DTIM in HostAP mode. Flushes all group addressed MSDUs buffered at the AP for power management. Hope so! Cheers, Damon On Sat, Jan 3, 2009 at 8:18 AM, Todd T. Fries t...@fries.net wrote: There are power savings for 802.11 that OpenBSD does not support; this is entirely independent from saving battery via cpu clocking and it is also entirely independent from saving battery via adjusting the transmit power of the radio. The power savings for 802.11 actually put the radio to sleep for a given interval and wake it up sending a message to the AP which is supposed to hold packets for a given client until the client responds, which OpenBSD does not do, therefore packetloss ensues. I know this very well, my BlackBerry Pearl 8120 gets 90-95% packet loss with an OpenBSD based AP. Damien is aware of what needs doing, but I am to understand it is not a short or easy road to get there. Thanks, -- Todd Fries .. t...@fries.net _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | ..in support of free software solutions. \ 250797 (FWD) | \ \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Damon McMahon on 20090103 8:09.21, we have: | Jussi - thanks for the response, but I've tried that to no effect, | e.g. on the Macbook Pro the Energy Saver settings for Mains and | Battery modes are identical. | | On Fri, 2 Jan 2009 05:45:45 +0200, Jussi Peltola pe...@pelzi.net wrote: | Disable power saving on the clients.
Re: ftp from script
On Sat, Jan 3, 2009 at 4:27 PM, Ed Ahlsen-Girard eagir...@cox.net wrote: But my real problem was getting the download to work inside a script, and none of the presented ideas so far have helped that. A simple shell alternative maybe? - #!/bin/sh # -- retrieve snapshot files with a ftp pipeline DESTDIR=SNAP mkdir -p ${DESTDIR} SITE=ftp.caly.nl SITE=ftp.eu.openbsd.org DIR=/pub/OpenBSD/snapshots/i386 FILES= MD5 pxeboot for THIS in $FILES ; do echo Getting file: ${THIS}... echo get ${DIR}/${THIS} ${DESTDIR}/${THIS} | ftp -4ai ${SITE} # remote_filename local_filename done ls -l ${DESTDIR} - Disadvantage of this type of solution is the repeating ftp logins. If you are user 99 out of 100 allowed connections for the first file, you could be locked out haflway if you happen to become user 101 ;) ftp(1) is rather scriptable if you use a .netrc file, unfortunately rather unknown, and thus not beloved.. The following shell script creates a .netrc to do the actual work in a single ftp session. - d #!/bin/sh # $Id: snapget,v 1.2 2009/01/04 00:38:09 j65nko Exp $ # get snapshot files with a on the fly generated '.netrc' for ftp(1) # variables used in 'netrc' template # -- ARCH='i386' # architecture name used as ftp dir RN=44 # used in base${RN}.tgz etc #VERSION='4.4' # ftp dir for releases VERSION='snapshots' # ftp dir for snapshots DIR=/pub/OpenBSD/${VERSION}/${ARCH} SITE='ftp.calyx.nl' SITE='ftp.eu.openbsd.org' # customizable file sets # -- #SETS_START base= MD5 base${RN}.tgz bsd bsd.mp bsd.rd comp${RN}.tgz etc${RN}.tgz man${RN}.tgz misc${RN}.tgz x= xbase${RN}.tgz xetc${RN}.tgz xfont${RN}.tgz xserv${RN}.tgz xshare${RN}.tgz mini= MD5 base${RN}.tgz bsd bsd.rd etc${RN}.tgz pxe= pxeboot floppy= floppy${RN}.fs floppyB${RN}.fs floppyC${RN}.fs ALLSETS=base x mini pxe floppy #SETS_END # -- if [ $# -eq 0 ] ; then echo $0: Please specify one or more sets echo The sets are: ${ALLSETS} exit 1 fi # -- accumulate all sets in FILES for SET in $@ ; do eval FILES=\\${FILES} \$${SET}\ done # echo ${FILES} | tr '[:blank:]' '\n' # -- destination directory # DESTDIR=SNAP$(date -u +%Y-%m-%d_%H:%M_UTC) # mkdir ${DESTDIR} || exit 1 DESTDIR=SNAP mkdir -p SNAP #echo Destination directory: ${DESTDIR} # --- 'here document' as '.netrc' template cat -TEMPLATE ${DESTDIR}/.netrc machine ${SITE} login anonymous password tha...@puffy.org macdef init prompt off epsv4 off preserve on progress on $( for THIS in ${FILES} ; do echo get ${DIR}/${THIS} ${DESTDIR}/${THIS} done ) quit TEMPLATE # -- An empty line is the terminator for a macdef macro # -- So KEEP EMPTY LINE between 'quit' and here document marker 'TEMPLATE' # -- to prevent 'Macro definition missing null line terminator' messages # -- from 'ftp' echo -- Created '.netrc'--- cat -n $DESTDIR/.netrc echo -- echo Do you want to start 'ftp' with this '.netrc' ? (Y/N) ; read answer case $answer in [Yy] ) ;; *) echo $0: I take this for a 'NO', aborting ... exit 2 ;; esac # -- ftp uses HOME to locate '.netrc' env HOME=${DESTDIR} ftp -4 ${SITE} 21 | tee ${DESTDIR}/Logfile # -- EOF --- Example of usage: $ snapget ./snapget: Please specify one or more sets The sets are: base x mini pxe floppy $ snapget base x -- Created .netrc--- 1 2 machine ftp.eu.openbsd.org login anonymous password tha...@puffy.org 3 4 macdef init 5 prompt off 6 epsv4 off 7 preserve on 8 progress on 9 get /pub/OpenBSD/snapshots/i386/MD5 SNAP/MD5 10 get /pub/OpenBSD/snapshots/i386/base44.tgz SNAP/base44.tgz 11 get /pub/OpenBSD/snapshots/i386/bsd SNAP/bsd 12 get /pub/OpenBSD/snapshots/i386/bsd.mp SNAP/bsd.mp 13 get /pub/OpenBSD/snapshots/i386/bsd.rd SNAP/bsd.rd 14 get /pub/OpenBSD/snapshots/i386/comp44.tgz SNAP/comp44.tgz 15 get /pub/OpenBSD/snapshots/i386/etc44.tgz SNAP/etc44.tgz 16 get /pub/OpenBSD/snapshots/i386/man44.tgz SNAP/man44.tgz 17 get /pub/OpenBSD/snapshots/i386/misc44.tgz SNAP/misc44.tgz 18 get /pub/OpenBSD/snapshots/i386/xbase44.tgz SNAP/xbase44.tgz 19 get /pub/OpenBSD/snapshots/i386/xetc44.tgz SNAP/xetc44.tgz 20 get /pub/OpenBSD/snapshots/i386/xfont44.tgz SNAP/xfont44.tgz 21 get /pub/OpenBSD/snapshots/i386/xserv44.tgz SNAP/xserv44.tgz 22 get /pub/OpenBSD/snapshots/i386/xshare44.tgz
Re: Testing in a virtual environment
OpenBSD i386-current works fine in VirtualIron http://www.virtualiron.com/, which is an attractive Xen-based alternative to VMware ESX. I have not tried to run amd64 as a guest in VirtualIron yet. Nor have I checked if VItools have been ported to OpenBSD since I last looked into its source one year ago.