Re: see_other_uids
On Thu, Dec 22, 2011 at 11:43:17PM +0200, Vitali wrote: Gentlemen In FreeBSD there is one great feature I like very much. If you set the variable security.bsd.see_other_uids to zero, users can't see other users' processes. This is best security feature ever, lol :D jirib
Re: Can't create 1.5TB softraid partition.
2011/12/23 Christian Weisgerber na...@mips.inka.de: The MBR format is limited to a 32-bit number of sectors. Given And then there was GPT. What's the state of GPT support in OpenBSD? Best Martin
Re: see_other_uids
On Fri, Dec 23, 2011 at 6:49 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: On Thu, Dec 22, 2011 at 10:43 PM, Vitali coonar...@gmail.com wrote: Gentlemen In FreeBSD there is one great feature I like very much. If you set the variable security.bsd.see_other_uids to zero, users can't see other users' processes. Is there something like that in OpenBSD? https://www.youtube.com/bsdconferences#p/u/4/JaVnNllZxn4 Not sure how far is that or if it's still work in progress That's very interesting, thank you. But I just need to say sysctl security.bsd.see_other_uids=0 This is a little bit different. :) Thank you. -- ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow / Le Puits Dans L'Ombre ### -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: see_other_uids
On Fri, Dec 23, 2011 at 9:08 AM, Vitali coonar...@gmail.com wrote: On Fri, Dec 23, 2011 at 6:49 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: On Thu, Dec 22, 2011 at 10:43 PM, Vitali coonar...@gmail.com wrote: Gentlemen In FreeBSD there is one great feature I like very much. If you set the variable security.bsd.see_other_uids to zero, users can't see other users' processes. Is there something like that in OpenBSD? https://www.youtube.com/bsdconferences#p/u/4/JaVnNllZxn4 Not sure how far is that or if it's still work in progress That's very interesting, thank you. But I just need to say sysctl security.bsd.see_other_uids=0 If you have X running then it doesn't matter and doesn't hide stuff ;-) This is a little bit different. :) Thank you. -- ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow / Le Puits Dans L'Ombre ### -- ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: see_other_uids
But I just need to say sysctl security.bsd.see_other_uids=0 If you have X running then it doesn't matter and doesn't hide stuff ;-) It's not for me, it's for the collective farm servers... :))) -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Novedades
We have just launched a new superb muscle training / fitness App. Its name FitneesE . Already available at AppleStore. This is the marketing e-mail campaign we are launching within short. Be the first to know all about it!! If you have a smart phone? If you are in sports, muscle training, fitness, or you just mind about your shape and physical condition? This App is for You! [IMAGE] [IMAGE]
Re: kernel panic (mii_phy_setmedia) on mac mini A1347 (bge device unknown)
thank's, small forget ;-) I will try it . On Fri, 23 Dec 2011 11:51:33 +0100, Mike Belopuhov m...@crypt.org.ru wrote: On Fri, Dec 23, 2011 at 11:43 AM, Wesley M. open...@e-solutions.re wrote: Hi, So i installed a fresh OpenBSD 4.9 to try to patch the files : brgphy.c and miidevs I have the following error when compiling : ... D_KERNEL B -c ../../../../dev/mii/brgphy.c ../../../../dev/mii/brgphy.c:177: error: 'MII_MODEL_xxBROADCOM3_BCM57765' undeclared here (not in a function) ../../../../dev/mii/brgphy.c:178: error: 'MII_STR_xxBROADCOM3_BCM57765' undeclared here (not in a function) *** Error code 1 Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 92 of /usr/share/mk/sys.mk). you have to run make in /sys/dev/mii prior to compiling.
Re: kernel panic (mii_phy_setmedia) on mac mini A1347 (bge device unknown)
Thank you very much. It works, i can now use bge0 on the mac mini. (OpenBSD 4.9) Wesley.
Affordable SEO Link Bulding Proposal
Hi, Hope you are well. We have over 5 years of working experience with some of the finest SEO firms in India. We are writing you this mail with the intentions of establishing business relations with you. At present our capabilities are limited to SEO and Link Building. However both the services are of the highest quality and we follow only ethical practices. For Link Building: we only deliver one way links which are theme based and have a minimum Page Rank of 1 and above. Besides, we use varied anchor texts as per client's requirements. For SEO: we offer standard as well as custom packages. We will be happy to extend the same to you at discounted prices. Without taking much time of yours, please let me know you if you would consider us as your outsourcing partners and we would be happy to discuss this further. We are looking forward to establish a long term mutually beneficial relation with you. Kind Regards, Om Online Marketing Executive
Re: Can't create 1.5TB softraid partition.
On 22/12/2011 21:36, Keith wrote: I am having some trouble getting 4 x 2TB sata disks into one big single softraid (raid 5) disk. I can create the softraid0 disk and it's 5.5TB want would like to get a single 5.5TB partition but can only make one single 1.5TB partition! Can someone tell me where I'm going wrong. Thanks Keith === Start from fresh and delete softraid0 disk... #bioctl -d sd0 ## Wipe the first part of the disks. #dd if=/dev/zero of=/dev/rwd0c bs=10m count=1 #dd if=/dev/zero of=/dev/rwd1c bs=10m count=1 #dd if=/dev/zero of=/dev/rwd2c bs=10m count=1 #dd if=/dev/zero of=/dev/rwd3c bs=10m count=1 #fdisk -iy wd0 #fdisk -iy wd1 #fdisk -iy wd2 #fdisk -iy wd3 ## Make a partition of type RAID #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd0 #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd1 #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd2 #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd3 #bioctl -c 5 -l /dev/wd0a,/dev/wd1a,/dev/wd2a,/dev/wd3a softraid0 sd1 at scsibus3 targ 1 lun 0: OPENBSD, SR RAID 5, 004 SCSI2 0/direct fixed sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors #dd if=/dev/zero of=/dev/rsd1c bs=1m count=1 #fdisk -iy sd1 This give me # fdisk -e sd1 Enter 'help' for information fdisk: 1 p Disk: sd1 geometry: 729602/255/63 [3131135488 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 194903 76 55 [ 64: 3131121474 ] OpenBSD Then I try and partition the disk. # disklabel -E sd1 Label editor (enter '?' for help at any prompt) a a offset: [64] size: [3131121474] FS type: [4.2BSD] p T OpenBSD area: 64-3131121538; size: 1.5T; free: 0.0T #size offset fstype [fsize bsize cpg] a: 1.5T 64 4.2BSD 8192 655361 c: 5.5T0 unused It seems like an fdisk issue to me. If I just use one 2TB sata disk and create the biggest partition I can using fdisk then I get a 1.8TB partition. If I do the same on a softraid (raid 5) partition using 4 of the 2TB disks the biggest partition I can make is just 1.5TB but the actual softraid disk is apparently 5723178MB (5.4TB) I was trying to get some details from fdisk to put here but i've just run fdisk -i sd0 on the wrong disk and trashed the boot disk I can't run the reboot command either as it just gives Segmentation fault. Keith
Re: Can't create 1.5TB softraid partition.
On Fri, Dec 23, 2011 at 09:05:08AM +0100, Martin Schr?der wrote: 2011/12/23 Christian Weisgerber na...@mips.inka.de: The MBR format is limited to a 32-bit number of sectors. Given And then there was GPT. What's the state of GPT support in OpenBSD? Best Martin Non-existant. Ken
Re: Proper way to update system + ports?
On Fri, Dec 23, 2011 at 06:19, Barry Grumbine barry.grumb...@gmail.com wrote: On Thu, Dec 22, 2011 at 3:29 PM, Corey clinge...@gmail.com wrote: On 12/21/2011 06:46 PM, Stuart Henderson wrote: On 2011-12-21, Coreyclinge...@gmail.com wrote: On 12/20/2011 11:16 AM, Stuart Henderson wrote: Then afterwards, can I check out the -current branch from CVS as I do with -stable? i.e. # cvs -d$CVSROOT checkout -P src Or am I not supposed to fetch build -current at all? Would it You can checkout src if you want, but you don't have to, you can just install the binary sets just as you would for a release be safer to just download the /snapshots/i386/install50.iso every couple weeks and do a fresh install every time? I guess I will There's really no need for fresh installs, upgrades work very well No need for install*.iso either, just download a new bsd.rd and boot that from the boot loader (boot /bsd.rd) and do a network upgrade install Out of curiosity, is this more efficient and/or less loading on the servers than downloading the iso (assuming one installs all sets)? Doesn't make a lot of difference server-side but I know it's a lot easier for me to boot a different kernel and point it at a (possibly locally mirrored or pre-downloaded) set of files than it is to download an iso, burn a cd and boot from it - I imagine this is the case for most people. Ah...ok. I'm usually following -current on only one or two machines, so I never really thought of setting up a local mirror (though there may be other advantages to doing that). How do you keep your local file mirror in sync with newer kernels/snapshots? Or do you do the local repo and the kernel somewhat independently, and just try new kernels (and read release notes) and see if stuff breaks? C Hi there, I just wanted to chime in with an alternate perspective. I've been running snapshots for two or three years now. Here's my procedure: 1. download installXX.iso 2. mount installXX.iso (http://openbsd.org/faq/faq14.html#MountImage) 3. cp /mnt/5.0/i386/bsd.rd / 4. cp -R /mnt/5.0 / 5. reboot 6. boot boot bsd.rd 7. Upgrade For Location of sets? type disk For Is the disk partition already mounted? say yes 8. After reboot use sysmerge and pkg_add -ui This works very nicely for me. I came across this method two or three years ago when I got tired of burning CDs. Also, I pay attention to when the latest snapshot packages were built, and try to pick a snapshot close to that date. BTW, this works for release-release, release-snapshot, snapshot-snapshot, I even successfully went from i386 to amd64 once, but I guarantee that is an unsupported move... haven't had the huevos to try it yet, but I think I could even get away skipping a release (eg. 4.8-5.0). If you use sysmerge and pay attention to the upgrade instructions (http://openbsd.org/faq/upgrade50.html) life is good. sysmerge kicks some serious ass.. -Barry For the record, i use a similar method. 1. snapdl (in ports, sysutils/snapdl) For Path to download sets? (or 'pretend' ) type /5.0/amd64 (adjust accordingly version and arch) 2. reboot 3. boot boot /5.0/amd64/bsd.rd 4. Upgrade For Location of sets? type disk For Is the disk partition already mounted? say yes 5. After reboot use sysmerge and pkg_add -ui By the way, the following diff would save me one keystroke but I don't know how many use external disk or store upgrade sets on another disk than the one used to boot. Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.655 diff -u -p -r1.655 install.sub --- install.sub 22 Nov 2011 14:02:14 - 1.655 +++ install.sub 23 Dec 2011 13:41:33 - @@ -1447,7 +1447,7 @@ install_cdrom() { } install_disk() { - ask_yn Is the disk partition already mounted? + ask_yn Is the disk partition already mounted? y if [[ $resp == n ]]; then get_drive disk '$(bsort $(get_dkdevs))' \ '$(bsort $(rmel $ROOTDISK $(get_dkdevs)))' || return Regards, -- Thomas Jeunet
I've Just fdisked my remote servers bootdisk Agghhh
I just acidentaly ran fdisk -i sd0 on a newly built but remote OBSD 5.0 x64 server. I thought about just rebooting and hoping it comes back up but the reboot command just gives # reboot /: create/symlink failed, no inodes free Segmentation fault Don't suppose anyone knows if there's anyway of forcing a reboot ? It is a totaly fresh install of OBSD 5.0 with nothing else installed on it. I have been trying to get a softraid built but have been having issues with fdisk and softraid and just accidentally typed fdisk -iy sd0 instead of fdisk -iy sd1.. Cheers Keith
cwm core dump with group and java applicatio
Hello misc@, I'm using cwm on amd64 -current. I'm using the group feature and when using a Java application, cycling back to the group with this window cores dump cwm: (gdb) bt #0 0x00020c8f354e in XRestackWindows () from /usr/X11R6/lib/libX11.so.15.0 #1 0x0040919d in group_show (sc=0x20ecf0400, gc=0x20ecf0530) at /usr/xenocara/app/cwm/group.c:138 #2 0x004089af in xev_handle_keypress (ee=0x7f7daab0) at /usr/xenocara/app/cwm/xevents.c:313 #3 0x00408add in xev_loop () at /usr/xenocara/app/cwm/xevents.c:423 #4 0x00403d3b in main (argc=3, argv=Variable argv is not available. ) at /usr/xenocara/app/cwm/calmwm.c:90 Apparently, gc-nhidden is more or less corrupted: (gdb) p *(struct group_ctx *) gc $2 = {entry = {tqe_next = 0x20ecf0560, tqe_prev = 0x20ecf0500}, clients = { tqh_first = 0x2099aa800, tqh_last = 0x2099aac10}, shortcut = 2, hidden = 1, nhidden = 5393, highstack = 1} (gdb) p gc-clients-tqh_first $3 = (struct client_ctx *) 0x2099aa800 (gdb) p gc-clients-tqh_first-entry-tqe_next $4 = (struct client_ctx *) 0x2099aa600 (gdb) p gc-clients-tqh_first-entry-tqe_next-entry-tqe_next $5 = (struct client_ctx *) 0x2099aa000 (gdb) p gc-clients-tqh_first-entry-tqe_next-entry-tqe_next-entry-tqe_next $6 = (struct client_ctx *) 0x2099aac00 (gdb) p gc-clients-tqh_first-entry-tqe_next-entry-tqe_next-entry-tqe_next-entry-tqe_next $7 = (struct client_ctx *) 0x0 So I have 4 windows in this group, all of which are either: (gdb) p gc-clients-tqh_first-app_name $8 = 0x201c08680 sun-awt-X11-XFramePeer (gdb) p gc-clients-tqh_first-entry-tqe_next-app_name $9 = 0x201c08720 sun-awt-X11-XDialogPeer Actually, only 2 windows were displayed at this time, so I guess this is related to issues between Java and X11 I always heard about. The nhidden variable is only incremented in 2 places : group_hide and group_movetogroup, so I guess the root cause lie there. However I don't know enough of cwm internals to dig deeper. Therefore, I temporarily made the following patch: Index: group.c === RCS file: /cvs/xenocara/app/cwm/group.c,v retrieving revision 1.54 diff -u -p -r1.54 group.c --- group.c 12 Oct 2011 15:43:50 - 1.54 +++ group.c 21 Dec 2011 22:54:11 - @@ -135,7 +135,7 @@ group_show(struct screen_ctx *sc, struct } } - XRestackWindows(X_Dpy, winlist, gc-nhidden); + XRestackWindows(X_Dpy, winlist, gc-highstack); xfree(winlist); gc-hidden = 0; Anyone has a proper fix? Cheers, -- Thomas Jeunet
Re: Can't create 1.5TB softraid partition.
On Fri, Dec 23, 2011 at 01:21:20PM +, keith wrote: On 22/12/2011 21:36, Keith wrote: I am having some trouble getting 4 x 2TB sata disks into one big single softraid (raid 5) disk. I can create the softraid0 disk and it's 5.5TB want would like to get a single 5.5TB partition but can only make one single 1.5TB partition! Can someone tell me where I'm going wrong. Thanks Keith === Start from fresh and delete softraid0 disk... #bioctl -d sd0 ## Wipe the first part of the disks. #dd if=/dev/zero of=/dev/rwd0c bs=10m count=1 #dd if=/dev/zero of=/dev/rwd1c bs=10m count=1 #dd if=/dev/zero of=/dev/rwd2c bs=10m count=1 #dd if=/dev/zero of=/dev/rwd3c bs=10m count=1 #fdisk -iy wd0 #fdisk -iy wd1 #fdisk -iy wd2 #fdisk -iy wd3 ## Make a partition of type RAID #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd0 #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd1 #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd2 #printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd3 #bioctl -c 5 -l /dev/wd0a,/dev/wd1a,/dev/wd2a,/dev/wd3a softraid0 sd1 at scsibus3 targ 1 lun 0: OPENBSD, SR RAID 5, 004 SCSI2 0/direct fixed sd1: 5723178MB, 512 bytes/sector, 11721070080 sectors #dd if=/dev/zero of=/dev/rsd1c bs=1m count=1 #fdisk -iy sd1 This give me # fdisk -e sd1 Enter 'help' for information fdisk: 1 p Disk: sd1 geometry: 729602/255/63 [3131135488 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 194903 76 55 [ 64: 3131121474 ] OpenBSD Then I try and partition the disk. # disklabel -E sd1 Label editor (enter '?' for help at any prompt) a a offset: [64] size: [3131121474] FS type: [4.2BSD] p T OpenBSD area: 64-3131121538; size: 1.5T; free: 0.0T #size offset fstype [fsize bsize cpg] a: 1.5T 64 4.2BSD 8192 655361 c: 5.5T0 unused It seems like an fdisk issue to me. If I just use one 2TB sata disk and create the biggest partition I can using fdisk then I get a 1.8TB partition. If I do the same on a softraid (raid 5) partition using 4 of the 2TB disks the biggest partition I can make is just 1.5TB but the actual softraid disk is apparently 5723178MB (5.4TB) I was trying to get some details from fdisk to put here but i've just run fdisk -i sd0 on the wrong disk and trashed the boot disk I can't run the reboot command either as it just gives Segmentation fault. Keith As Christian Weisgerber (aka naddy) already told you, the original problem can be fixed using the 'b' command within disklabel. But now I'm afraid you trashed some vital info. Booting form another cd or hard disk can help you solve the probem of repairing the mbr partition map and boot info. man installboot contains some help. -Ott
Re: Proper way to update system + ports?
On 12/23/2011 07:44 AM, Thomas Jeunet wrote: On Fri, Dec 23, 2011 at 06:19, Barry Grumbinebarry.grumb...@gmail.com wrote: On Thu, Dec 22, 2011 at 3:29 PM, Coreyclinge...@gmail.com wrote: On 12/21/2011 06:46 PM, Stuart Henderson wrote: On 2011-12-21, Coreyclinge...@gmail.comwrote: On 12/20/2011 11:16 AM, Stuart Henderson wrote: Then afterwards, can I check out the -current branch from CVS as I do with -stable? i.e. # cvs -d$CVSROOT checkout -P src Or am I not supposed to fetch build -current at all? Would it You can checkout src if you want, but you don't have to, you can just install the binary sets just as you would for a release be safer to just download the /snapshots/i386/install50.iso every couple weeks and do a fresh install every time? I guess I will There's really no need for fresh installs, upgrades work very well No need for install*.iso either, just download a new bsd.rd and boot that from the boot loader (boot /bsd.rd) and do a network upgrade install Out of curiosity, is this more efficient and/or less loading on the servers than downloading the iso (assuming one installs all sets)? Doesn't make a lot of difference server-side but I know it's a lot easier for me to boot a different kernel and point it at a (possibly locally mirrored or pre-downloaded) set of files than it is to download an iso, burn a cd and boot from it - I imagine this is the case for most people. Ah...ok. I'm usually following -current on only one or two machines, so I never really thought of setting up a local mirror (though there may be other advantages to doing that). How do you keep your local file mirror in sync with newer kernels/snapshots? Or do you do the local repo and the kernel somewhat independently, and just try new kernels (and read release notes) and see if stuff breaks? C Hi there, I just wanted to chime in with an alternate perspective. I've been running snapshots for two or three years now. Here's my procedure: 1. download installXX.iso 2. mount installXX.iso (http://openbsd.org/faq/faq14.html#MountImage) 3. cp /mnt/5.0/i386/bsd.rd / 4. cp -R /mnt/5.0 / 5. reboot 6. boot boot bsd.rd 7. Upgrade For Location of sets? type disk For Is the disk partition already mounted? say yes 8. After reboot use sysmerge and pkg_add -ui This works very nicely for me. I came across this method two or three years ago when I got tired of burning CDs. Also, I pay attention to when the latest snapshot packages were built, and try to pick a snapshot close to that date. BTW, this works for release-release, release-snapshot, snapshot-snapshot, I even successfully went from i386 to amd64 once, but I guarantee that is an unsupported move... haven't had the huevos to try it yet, but I think I could even get away skipping a release (eg. 4.8-5.0). If you use sysmerge and pay attention to the upgrade instructions (http://openbsd.org/faq/upgrade50.html) life is good. sysmerge kicks some serious ass.. -Barry For the record, i use a similar method. 1. snapdl (in ports, sysutils/snapdl) For Path to download sets? (or 'pretend' ) type /5.0/amd64 (adjust accordingly version and arch) 2. reboot 3. boot boot /5.0/amd64/bsd.rd 4. Upgrade For Location of sets? type disk For Is the disk partition already mounted? say yes 5. After reboot use sysmerge and pkg_add -ui By the way, the following diff would save me one keystroke but I don't know how many use external disk or store upgrade sets on another disk than the one used to boot. Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.655 diff -u -p -r1.655 install.sub --- install.sub 22 Nov 2011 14:02:14 - 1.655 +++ install.sub 23 Dec 2011 13:41:33 - @@ -1447,7 +1447,7 @@ install_cdrom() { } install_disk() { - ask_yn Is the disk partition already mounted? + ask_yn Is the disk partition already mounted? y if [[ $resp == n ]]; then get_drive disk '$(bsort $(get_dkdevs))' \ '$(bsort $(rmel $ROOTDISK $(get_dkdevs)))' || return Regards, Cool, good ideas. I usually do the image mount of the installXX.iso as Barry describes in a VM that has a USB stick as the main disk, do the install/upgrade, copy the tarred sets over to it, then use it to go upgrade any other machines I need to do. I was going to play with setting up a DHCP/TFTP server in that USB stick image so I could plug it into any handy machine (or use a VM), change a few network interface settings, and netboot machines to be upgraded from it, but haven't gotten around to that yet. I'll investigate snapdl, but my preference usually is to use the standard tools if they work adequately. I may have to set up that local mirror :) Thanks guys for the info. Heh -- I just wonder: how many other systems can you upgrade by untarring sets to a running system? Try that with Windows :) Corey
Reforma tu casa a precio de CRISIS
Reformas Dragulin SL Madrid (Espaqa) Calle Diego de Leon N: 54 , 1B Telefono: 622177850 (Dragulin) Se hace reformas en : - Electricidad - Fontaneria - Pladur : mochetas , tradosaos , tabiques , insonorizacion , techos desmontables de chapa todo los tipos... - Pintura : gotelet , liso (plastica , satinada , esmalte, estuco veneciano , en reliefe y liso ...) - Albaqleria todo el tipo Trabajo limpio , rapido y buena calidad...al mejor precios sin compromisos para mas informacion llamar 622177850 (Dragulin)
Reforma tu casa a precio de CRISIS
Reformas Dragulin SL Madrid (Espaqa) Calle Diego de Leon N: 54 , 1B Telefono: 622177850 (Dragulin) Se hace reformas en : - Electricidad - Fontaneria - Pladur : mochetas , tradosaos , tabiques , insonorizacion , techos desmontables de chapa todo los tipos... - Pintura : gotelet , liso (plastica , satinada , esmalte, estuco veneciano , en reliefe y liso ...) - Albaqleria todo el tipo Trabajo limpio , rapido y buena calidad...al mejor precios sin compromisos para mas informacion llamar 622177850 (Dragulin)
Re: iPad2 and iPhone4S USB messages
Yup, Any new iDevice will show up as uaudio/uhid, dhill@ already committed something so they'll attach as ugen(4) instead. If you want to use libusb ports (..like gphoto2), you'll need to add similars quirks for the iPad2. You didn't post the product ID. -Bryan.
wiconfig - simplifies the configuration of wireless interfaces
So, I got tired of doing my little time saving workarounds every time I connected to a wireless network--and decided to look for a solution. Several people have posted little wireless scripts and minor modifications here to help simplify and automate the configuration of wireless, but the scripts never seemed to go far enough. That said, I took the shut up and hack motto and crafted my own solution that is more complete and, well, sucks less than everyone else's solution (in my humble opinion). I tried to keep it simple and as minimally intrusive as possible. The following is an excerpt from the script's comments: # EXAMPLE # Manually configure a wireless interface # # # sh /etc/wiconfig iwi0 # # Automatically scan for wireless networks and, using previous manual # configurations, configure the wireless interface based on the strongest # wireless signal (for use with hostname.if(5) files) # # $ cat /etc/hostname.iwi0 # !/bin/sh /etc/wiconfig -q \$if # # With the above /etc/hostname.iwi0 in place, iwi0 will be configured # upon startup or whenever /etc/netstart iwi0 is invoked. # # wiconfig can also be used in conjunction with apmd. In the following # example, upon resume, it'll check the status of the wireless connection # and, if there is no network connection, it'll automatically scan for # wireless networks and, using previous manual configurations, configure # the wireless interface based on the strongest wireless signal. # # $ cat /etc/apmd/resume # #!/bin/sh # /bin/sh /etc/wiconfig -qs iwi0 I think this script will be quite useful for anyone who uses wireless on OpenBSD and enjoys taking his or her notebook places. That said, while this has been working well for me over the past couple of days, consider this a beta--I would like others to give it a test-drive and provide feedback. Also, know that I am not a programmer by profession. While I've done minor scripts here and there, this is the largest script I've ever written and I learned a fair amount about pdksh in the process. I took some queues from other related scripts and reviewed some of the scripts used by OpenBSD in writing this--so I'd appreciate feedback here as well and welcome patches. It is my hope that the time I spent writing this will save time for many people when it comes to wireless on OpenBSD. The wiconfig script can currently be downloaded from http://bink.mooo.com/~daniel/pub/, but please know I've only used it on OpenBSD 5.0. That said, please do not use this misc@ for support for this script. If you run into issues, please email me directly. Happy holidays.
Bonnes fêtes de fin d'année 2011 avec notre Application au pied du sapin
Joyeux NoC+l 2011 avec ALGO DATA Si ce message ne s'affiche pas correctement, vous pouvez le visualiser grCce C ce lien. B B Joyeux NoC+l Toute l'C)quipe d'ALGO DATA se joint C moi pour vous souhaiter d'excellentes fC*tes de fin d'annC)e.B A la veille de NoC+l, nous avons tenu C dC)poser au pied de votre sapin la derniC(re version db HOTEL Net-Resa , l'application iPhone qui vous permettra de voyager dans les meilleures conditions. B B B B B Antoine LAGIER, B www.algodata.frB B B B Si ce message ne s'affiche pas correctement, vous pouvez le visualiser grCce C ce lien. Si vous souhaitez ne plus recevoir de message de cette liste.
Re: OpenVPN issues on 5.0
Thanks. The last post on the thread of your supplied link, stated: when a packet comes from ral0 --- 10.0.0.1, the bridge changes the received interface to vr0, which has IFCAP_CSUM_IPv4. So when the icmp layer is about to test the checksum, it assumes the output interface is the same one which the packet came in (in our case, vr0, and not ral0). So the checksum does not get calculated. and that sounded familiar. On my attempts to analyze tcpdump(8) output from pf(4) on acx(4) and tun(4), I think (...) I noticed that packages received on acx were tagged as coming in on bge(4), not tun as I would expect. Am I understanding the potential problem correct? I believe my setup is a little different: WLAN | acx(4) -- tun(4) bridge bge(4) -- bge(4) url(4) -- INTERNET | LAN Fortunatly I still have the 5.0 machine available (I did the re-install with 4.7 on a different machine) but it is a laptop and I cannot replace bge. However, I can switch the setup and use either url(4, USB-adapter) or ep(4, PCMCIA) in place of bge, but I'm not sure if any of those won't do cksum offloading? ep1 == pcmcia1 3Com Corporation, 3C589, TP/BNC LAN Card Ver. 2a url0 == uhub0 port 1 USBKR100 USB 10/100 LAN rev 1.10/1.00 On Fri, Dec 23, 2011 at 05:26:07PM -0200, Christiano F. Haesbaert wrote: I didn't think this much through yet, but it can be a manifestation of: http://marc.info/?l=openbsd-miscm=132234363030132w=2 Could try replacing the bge with some cheap card, one that doesn't do cksum offloading ? If not, I'll check the driver to disable it this weekend. On 22 December 2011 21:32, Erling Westenvik erling.westen...@gmail.com wrote: On Thu, Dec 22, 2011 at 09:40:47AM +0100, Janne Johansson wrote: 2011/12/22 Erling Westenvik erling.westen...@gmail.com: Sorry for bumping this here @ misc when my question propably belong to some OpenVPN forum, but it seems like no-one out there can say much on OpenVPN issues that appears to be OpenBSD spesific. What puzzles me is that I cannot make the tun-interface show up in the route table on the server: DestinationGateway Flags Refs Use Mtu Prio Iface defaultAAA.BB.CCC.D UGS 3 1101 -8 url0 127/8 127.0.0.1 UGRS 00 331968 lo0 127.0.0.1 127.0.0.1 UH 20 331964 lo0 192.168.2/24 link#5UC 10 -4 acx0 192.168.2.200 00:16:ea:b3:65:d0 UHLc 1 400 -4 acx0 192.168.3/24 link#2UC 20 -4 bge0 192.168.3.106 00:1e:4f:95:19:1d UHLc 1 1582 -4 bge0 192.168.3.200 fe:e1:ba:d7:c3:24 UHLc 0 28 -4 bge0 193.90.160/20 link#6UC 10 -4 url0 AAA.BB.CCC.D 00:90:1a:42:6d:81 UHLc 10 -4 url0 AAA.BB.CCC.DDD 127.0.0.1 UGHS 00 331968 lo0 224/4 127.0.0.1 URS 00 331968 lo0 /etc/hostname.tun0 link0 up !/usr/local/sbin/openvpn --config /etc/openvpn/server.conf /etc/hostname.bridge0 add bge0 add acx0 up What does ifconfig tun0 say? When I did openvpn before I mostly didn't start openvpn from the tun config file myself, but rather start openvpn and make that one bring up tuns for me, but I would assume that if the tunnel goes up and then down and if it takes the tun0 down until the tunnel can be taken up again, the network that tun0 belonged to would not show in the routing table until it gets back up again. Any interface that has an address and that is up would somehow make an entry in the routing tables. Thanks, but I gave up, re-installed OpenBSD 4.7 and now everything is working. Beats me why but I'm pretty sure it had something to do with routing when running OpenVPN in bridged mode. For identical configurations as far as pf-, tun-, bridge- and OpenVPN files are concerned, this works: server: OpenBSD 4.7/OpenVPN 2.1.0 (using keys from 2.1.4) client: OpenBSD 5.0/OpenVPN 2.1.4 while this don't: server: OpenBSD 5.0/OpenVPN 2.1.4 client: OpenBSD 5.0/OpenVPN 2.1.4 I will try with OpenBSD 4.8 and 4.9 during the holidays. -- Cheers, Erling -- Cheers, Erling -- In terra pax hommnibus bonae voluntatis
buongiorno^
salvequesta C( buona occasione per acquistare iphone 4s per la tua famiglia il nostro iphone 4s C( nuovo ed originale. siamo in grado di offrire il miglior prezzo di altra societC vendiamo anche digitale camera.computer.television, guardare benvenuto sul nostro sito s i t e : www. lc . com 2011-12-24 8:16:25
Re: iPad2 and iPhone4S USB messages
On Fri, 23 Dec 2011, Brynet wrote: Yup, Any new iDevice will show up as uaudio/uhid, dhill@ already committed something so they'll attach as ugen(4) instead. For the iPhone, yes, but evidently not for the iPad2. If you want to use libusb ports (..like gphoto2), you'll need to add similars quirks for the iPad2. You didn't post the product ID. I assumed (perhaps foolishly) that this was already known since the device was recognized as 'Apple Inc. iPad rev 2.00/0.01'. And I don't _have_ the product ID anywhere I know of (other than by looking in the source). -Bryan. Dave -- Dave Anderson d...@daveanderson.com
Re: OpenVPN issues on 5.0
Solved! Or, since I don't really understand what is going on: solved.. I switched the roles for bge(4) and url(4) and all of a sudden everything started to work. I haven't tried to switch back to the non-working setup to verify, but please let me know if that would be of interest! Happy holidays! Cheers, Erling On Sat, Dec 24, 2011 at 12:32:00AM +0100, Erling Westenvik wrote: Thanks. The last post on the thread of your supplied link, stated: when a packet comes from ral0 --- 10.0.0.1, the bridge changes the received interface to vr0, which has IFCAP_CSUM_IPv4. So when the icmp layer is about to test the checksum, it assumes the output interface is the same one which the packet came in (in our case, vr0, and not ral0). So the checksum does not get calculated. and that sounded familiar. On my attempts to analyze tcpdump(8) output from pf(4) on acx(4) and tun(4), I think (...) I noticed that packages received on acx were tagged as coming in on bge(4), not tun as I would expect. Am I understanding the potential problem correct? I believe my setup is a little different: WLAN | acx(4) -- tun(4) bridge bge(4) -- bge(4) url(4) -- INTERNET | LAN Fortunatly I still have the 5.0 machine available (I did the re-install with 4.7 on a different machine) but it is a laptop and I cannot replace bge. However, I can switch the setup and use either url(4, USB-adapter) or ep(4, PCMCIA) in place of bge, but I'm not sure if any of those won't do cksum offloading? ep1 == pcmcia1 3Com Corporation, 3C589, TP/BNC LAN Card Ver. 2a url0 == uhub0 port 1 USBKR100 USB 10/100 LAN rev 1.10/1.00 On Fri, Dec 23, 2011 at 05:26:07PM -0200, Christiano F. Haesbaert wrote: I didn't think this much through yet, but it can be a manifestation of: http://marc.info/?l=openbsd-miscm=132234363030132w=2 Could try replacing the bge with some cheap card, one that doesn't do cksum offloading ? If not, I'll check the driver to disable it this weekend. On 22 December 2011 21:32, Erling Westenvik erling.westen...@gmail.com wrote: On Thu, Dec 22, 2011 at 09:40:47AM +0100, Janne Johansson wrote: 2011/12/22 Erling Westenvik erling.westen...@gmail.com: Sorry for bumping this here @ misc when my question propably belong to some OpenVPN forum, but it seems like no-one out there can say much on OpenVPN issues that appears to be OpenBSD spesific. What puzzles me is that I cannot make the tun-interface show up in the route table on the server: DestinationGateway Flags Refs Use Mtu Prio Iface defaultAAA.BB.CCC.D UGS 3 1101 -8 url0 127/8 127.0.0.1 UGRS 00 331968 lo0 127.0.0.1 127.0.0.1 UH 20 331964 lo0 192.168.2/24 link#5UC 10 -4 acx0 192.168.2.200 00:16:ea:b3:65:d0 UHLc 1 400 -4 acx0 192.168.3/24 link#2UC 20 -4 bge0 192.168.3.106 00:1e:4f:95:19:1d UHLc 1 1582 -4 bge0 192.168.3.200 fe:e1:ba:d7:c3:24 UHLc 0 28 -4 bge0 193.90.160/20 link#6UC 10 -4 url0 AAA.BB.CCC.D 00:90:1a:42:6d:81 UHLc 10 -4 url0 AAA.BB.CCC.DDD 127.0.0.1 UGHS 00 331968 lo0 224/4 127.0.0.1 URS 00 331968 lo0 /etc/hostname.tun0 link0 up !/usr/local/sbin/openvpn --config /etc/openvpn/server.conf /etc/hostname.bridge0 add bge0 add acx0 up What does ifconfig tun0 say? When I did openvpn before I mostly didn't start openvpn from the tun config file myself, but rather start openvpn and make that one bring up tuns for me, but I would assume that if the tunnel goes up and then down and if it takes the tun0 down until the tunnel can be taken up again, the network that tun0 belonged to would not show in the routing table until it gets back up again. Any interface that has an address and that is up would somehow make an entry in the routing tables. Thanks, but I gave up, re-installed OpenBSD 4.7 and now everything is working. Beats me why but I'm pretty sure it had something to do with routing when running OpenVPN in bridged mode. For identical configurations as far as pf-, tun-, bridge- and OpenVPN files are concerned, this works: server: OpenBSD 4.7/OpenVPN 2.1.0 (using keys from 2.1.4) client: OpenBSD 5.0/OpenVPN 2.1.4 while this don't: server: OpenBSD 5.0/OpenVPN 2.1.4 client: OpenBSD 5.0/OpenVPN 2.1.4 I will try with OpenBSD 4.8 and 4.9 during the holidays. -- Cheers, Erling -- Cheers, Erling -- In terra pax hommnibus bonae voluntatis
Re: iPad2 and iPhone4S USB messages
On Fri, Dec 23, 2011 at 09:30:44PM -0500, Dave Anderson wrote: For the iPhone, yes, but evidently not for the iPad2. Yes, it will be a manual effort for as long as Apple releases new devices. If you want to use libusb ports (..like gphoto2), you'll need to add similars quirks for the iPad2. You didn't post the product ID. I assumed (perhaps foolishly) that this was already known since the device was recognized as 'Apple Inc. iPad rev 2.00/0.01'. And I don't _have_ the product ID anywhere I know of (other than by looking in the source). That is the product name obtained from the device itself, you'll need to add it to usbdevs and regen first. Patches for other iDevices are on the lists, it should be easy enough for you to find them in the archives. Each model has it's own product ID, AFAIK they're not published by Apple. Look at usbdevs(8), specifically the verbose option. -Bryan.
Re: iPad2 and iPhone4S USB messages
On Fri, 23 Dec 2011, Brynet wrote: On Fri, Dec 23, 2011 at 09:30:44PM -0500, Dave Anderson wrote: For the iPhone, yes, but evidently not for the iPad2. Yes, it will be a manual effort for as long as Apple releases new devices. If you want to use libusb ports (..like gphoto2), you'll need to add similars quirks for the iPad2. You didn't post the product ID. I assumed (perhaps foolishly) that this was already known since the device was recognized as 'Apple Inc. iPad rev 2.00/0.01'. And I don't _have_ the product ID anywhere I know of (other than by looking in the source). That is the product name obtained from the device itself, you'll need to add it to usbdevs and regen first. Patches for other iDevices are on the lists, it should be easy enough for you to find them in the archives. Each model has it's own product ID, AFAIK they're not published by Apple. Look at usbdevs(8), specifically the verbose option. Ungh. I think I was confusing what appears in the dmesg for PCI devices with what appears for USB devices. Apologies to all. I'll run usbdevs and report the product ID when I get the chance. There's no urgency from my side; I'm not trying to do anything with this (yet). Dave -- Dave Anderson d...@daveanderson.com