Re: Running OpenBSD on Raspberry Pi
Hello, Many thanks for all those advices. All of them make sense, but : * An used computer (I have plenty of them) cost 50-100€ a year in power (and is big and heats a lot, but that's not my main concern). * Alix or soekris are nice hardware, but expensive for me. I intend to build a home router to play a bit with networking, not an enterprise grade solution * Raspberry cost 50€ with power adapter, 16 GB SD card and case. I added 15€ for a wifi USB dongle and 20€ for a 802.1q switch. The power adapter is a 5V 1A, so it uses 5W power or less. TCO on five years : Alix : 200€ hardware (with power supply, CF, WiFi and case), 25€ power = 225€ Used computer from my closet : 0€ hardware, at least 250€ power = 250 € Raspberry : 85€ hardware, 25€ power = 110€ Half price. So I bought a raspberry. I does routing, firewalling, samba PDC with LDAP, DNS and DHCP. The only drawback : I have to use iptables (no need to recompile, works OOTB), and I found its syntax way less pleasant to use than its PF counterpart. Unfortunately, my coding skills are way too limited to try to port OpenBSD... So if nobody around thinks it worth the trouble to do it (with some good reasons I read in this thread), no problem. I'll stick on OpenBSD at work, and play with linux at home. -- Cordialement, Pierre BARDOU De : Andres Genovez [mailto:andresgeno...@gmail.com] Envoyé : mercredi 9 janvier 2013 21:21 À : Gene Cc : BARDOU Pierre; misc@openbsd.org Objet : Re: Running OpenBSD on Raspberry Pi 2013/1/9 Gene On Wed, Jan 9, 2013 at 10:54 AM, Andres Genovez wrote: > 2012/12/31 BARDOU Pierre > >> Hello, >> >> I would be very interested by an OpenBSD port too. >> Usage : home router with firewall, DNS and DHCP. >> >> I am looking into FreeBSD and NetBSD ports, but I would prefer to have the >> latest PF and OpenSSH versions... plus I am more used to OpenBSD and I like >> using it :-) >> >> If somebody knows X86 hardware able to do the same (routing/firewlling 20 >> mbps traffic, VLAN, fits in a tiny box, power consumption below 5W, price >> around 50$) as the raspberry I am interested BTW. >> > I am interested too, can somebody give an advice on what hardware to use? > maybe 5 lan or at least two lan? an below 100? > For under $100 USD your best bet is to look for a used computer on craigslist or a yard sale and install another NIC in it. But, this will not get you at 5 watts or less. For under $200 look at either PC Engines ALIX boards or Soekris. eBay has plenty of them. You can manage 5W or less this route. For the Raspberry Pi you will not get OpenBSD. You will have to use Linux and configure it manually, including recompiling the kernel with iptables support. You *might* be able to get under $100, but it won't be under 5 watts and it will be a jalopy. USB ethernet adapters start around $25 new. Thanks, i will look forward those, because a Mikrotik is under 100, and features over 1000. -Gene -- Atentamente Andrés Genovez Tobar / DTIT Elastix ECE - Linux LPI-1 - Novell CLA - Apple ACMT - Mikrotik MTCNA/MTCTCE/MTCRE/MTCWE http://www.cspmsa.com
Re: new computer
Buy a refurbished ThinkPad, still better older ThinkPad than > shitty plastic Acer/Asus crapbook. > > jirib > > I've got 3 pieces of them in the basement. After 1095 days (warranty in germany: 3 yrs) battery is dead (spare 100) and the rest will also give up in the next half year. Seems to be the "El cheapo Canon printer business model". Usually they got exactly ONE BIOS update. Bought several used ThinkPads and everyone is happy. In Germany about 200-300 André
Re: Foxconn NanoPC nT-i1250 fails to boot after install
On Wed, Jan 09, 2013 at 04:30:21PM -0800, Kent Fritz wrote: > Install works fine, but consistently stops after printing: > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > > Same behavior for 5.2 release, current, amd64 and i386, and another > model nT-i2847. Any hints where to poke next? Shot in the dark: Does it not hang if you disable the pms driver via boot -c? See the boot_config(8) man page. The RAMDISK_CD kernel doesn't have pms compiled in, and it might be the next thing pckbd0 is trying to initialise in the GENERIC kernel.
Foxconn NanoPC nT-i1250 fails to boot after install
Install works fine, but consistently stops after printing: wskbd0 at pckbd0: console keyboard, using wsdisplay0 Same behavior for 5.2 release, current, amd64 and i386, and another model nT-i2847. Any hints where to poke next? dmesg from booting bsd.rd follows. Thanks. Kent OpenBSD 5.2-current (RAMDISK_CD) #14: Tue Jan 8 14:28:01 MST 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz ("GenuineIntel" 686-class) 1.87 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF,ITSC real mem = 2132189184 (2033MB) avail mem = 2089598976 (1992MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/09/11, SMBIOS rev. 2.7 @ 0x7f002010 (46 entries) bios0: vendor American Megatrends Inc. version "4.6.5" date 03/14/2012 bios0: Foxconn nT-i1000 Series acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SSDT SSDT SSDT IFEU acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P0P8) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) bios0: ROM list: 0xc/0xf400! 0xcf800/0x1000 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0bf3 rev 0x03 vga1 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x0be2 rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 4 int 16 pci1 at ppb0 bus 1 vendor "Intel", unknown product 0x0890 (class network subclass miscellaneous, rev 0xc4) at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 4 int 17 pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x07: RTL8168E/8111E-VL (0x2c80), apic 4 int 17, address d0:27:88:d5:72:6e rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci3 at ppb2 bus 3 pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02 ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, AHCI 1.1 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.50014ee657159cc7 sd0: 152627MB, 512 bytes/sector, 312581808 sectors "Intel 82801GB SMBus" rev 0x02 at pci0 dev 31 function 3 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 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 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 umass0 at uhub0 port 6 configuration 1 interface 0 " CENTON USB" rev 2.00/11.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: SCSI2 0/direct removable serial.090c10002196 sd1: 30600MB, 512 bytes/sector, 62668800 sectors umass1 at uhub0 port 7 configuration 1 interface 0 "Generic USB2.0-CRW" rev 2.00/38.82 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd2 at scsibus2 targ 1 lun 0: SCSI0 0/direct removable serial.0bda013851638820 uhub5 at uhub0 port 8 "vendor 0x105b product 0x0d7d" rev 2.00/77.64 addr 4 uhub6 at uhub3 port 1 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 2 uhidev0 at uhub6 port 1 configuration 1 interface 0 "Dell Dell USB Keyboard" rev 1.10/3.01 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0 wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub6 port 2 configuration 1 interface 0 "vendor 0x0461 USB Optical Mouse" rev 2.00/2.00 addr 4 uhidev1: iclass 3/1 uhid at uhidev1 not configured uhidev2 at uhub6 port 3 configuration 1 interface 0 "No brand 4 Port KVMSwi
Re: new computer
Exactly, we are not here to debate about which firm is better but for the probleme every one can be met with openbsd or some subjects about technologie which is on Openbsd. Best Regards Olivier Calzi 2013/1/9 Matt Morrow > Your comments about asus are strictly personal opinion. I've owned an Asus > laptop for more than a year and it has been rock solid. I've knocked it > onto the floor a couple of times, it has been banged around and it's still > going strong. Also cheaper than a thinkpad. > > > > > > Buy a refurbished ThinkPad, still better older ThinkPad than > > shitty plastic Acer/Asus crapbook. > > > > jirib > > -- Cordialement Olivier Calzi
Re: new computer
Your comments about asus are strictly personal opinion. I've owned an Asus laptop for more than a year and it has been rock solid. I've knocked it onto the floor a couple of times, it has been banged around and it's still going strong. Also cheaper than a thinkpad. > > Buy a refurbished ThinkPad, still better older ThinkPad than > shitty plastic Acer/Asus crapbook. > > jirib
Re: new computer
On Wed, Jan 09, 2013 at 04:53:08PM +0100, Zoran Kolic wrote: > For some future period I will get new node to run on openbsd. > First dilema is to have laptop or desktop. Both have something > to learn about supported hardware. I'd like to know what are > popular el cheapo parts. Current, since at my place anything > older than 1-2 years cannot be found. > > 1. For desktop, some integrated solution. Like amd a4-3300. > Or to run for intel? No need for 3d or movies or games. I cannot > understand the state of this newer chips. In short: what inte- > grated cpu? What is good and proven mobo for that cpu? > > 2. The only option not to break the bank, 14" laptop is asus x401a. > Intel Celeron Dual Core B830 1.8GH, Intel HD Graphics 2000 > (Intel GT2), probably some atheros bgn wifi.HM70 Express Chip > set. Or: AMD Ontario Dual-Core C60 1.33GH, AMD Radeon > Mobility HD6290 (C60) AP, whoknowswhatwifi, as amd version. > > I've read supported hardware lists. Something is not available, > something is on expensive side. I already have nodes for mundane > tasks and would like to have dedicated box for openbsd, 64 bit. > If I go for desktop, I want the least expensive option and wor- > king on openbsd 5.2. The same for 14 inch laptop, probably with > matte screen, which is hard to find under $500. > The more I read, less I know what to buy. > Best regards Buy a refurbished ThinkPad, still better older ThinkPad than shitty plastic Acer/Asus crapbook. jirib
Re: Running OpenBSD on Raspberry Pi
2013/1/9 Gene > On Wed, Jan 9, 2013 at 10:54 AM, Andres Genovez > wrote: > > 2012/12/31 BARDOU Pierre > > > >> Hello, > >> > >> I would be very interested by an OpenBSD port too. > >> Usage : home router with firewall, DNS and DHCP. > >> > >> I am looking into FreeBSD and NetBSD ports, but I would prefer to have > the > >> latest PF and OpenSSH versions... plus I am more used to OpenBSD and I > like > >> using it :-) > >> > >> If somebody knows X86 hardware able to do the same (routing/firewlling > 20 > >> mbps traffic, VLAN, fits in a tiny box, power consumption below 5W, > price > >> around 50$) as the raspberry I am interested BTW. > >> > > I am interested too, can somebody give an advice on what hardware to use? > > maybe 5 lan or at least two lan? an below 100? > > > > For under $100 USD your best bet is to look for a used computer on > craigslist or a yard sale and install another NIC in it. But, this > will not get you at 5 watts or less. > > For under $200 look at either PC Engines ALIX boards or Soekris. eBay > has plenty of them. You can manage 5W or less this route. > > For the Raspberry Pi you will not get OpenBSD. You will have to use > Linux and configure it manually, including recompiling the kernel with > iptables support. You *might* be able to get under $100, but it won't > be under 5 watts and it will be a jalopy. USB ethernet adapters start > around $25 new. > > Thanks, i will look forward those, because a Mikrotik is under 100, and features over 1000. > -Gene > -- Atentamente Andrés Genovez Tobar / DTIT Elastix ECE - Linux LPI-1 - Novell CLA - Apple ACMT - Mikrotik MTCNA/MTCTCE/MTCRE/MTCWE http://www.cspmsa.com
msi_delroute() panic
Hi All, I saw a previous post back in late December where someone was discussing a random panic() related to msi_delroute(). I'm having the same problem I believe on a OpenBSD 5.1 box. The panic manifests itself about every week but no I can't find any specific event that is the cause. It appears related to the em driver thinking it is being removed. Any ideas or suggestions on how to debug this further? ddb{2}> trace Debugger() at Debugger+0x5 panic() at panic+0xe4 msi_delroute() at msi_delroute+0x54 intr_disestablish() at intr_disestablish+0xe9 em_detach() at em_detach+0x26 config_detach() at config_detach+0x143 config_detach_children() at config_detach_children+0x3e pci_detach_devices() at pci_detach_devices+0x15 ppb_hotplug_remove() at ppb_hotplug_remove+0x26 workq_thread() at workq_thread+0x33 end trace frame: 0x0, count: -10 ddb{2}> show panic msi_delroute: no msi capability ddb{2}> machine ddbcpu 1 Stopped at Debugger+0x5: leave RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO. DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb{1}> ps PID PPID PGRPUID S FLAGS WAIT COMMAND 7473 31910 7473 0 30x80 ttyin bash 21722 31910 21722 0 30x80 ttyin bash 31910 1 31910 0 30x80 selectscreen 5621 1 5621 0 30x80 ttyin getty 6818 1 6818 0 30x80 selectsendmail 27397 1 27397 0 30x80 ttyin getty 18642 1 18642 0 30x80 ttyin getty 20939 1 20939 0 30x80 ttyin getty 19043 1 19043 0 30x80 ttyin getty 22270 1 22270 0 30x80 ttyin getty 13738 1 13738 0 30x80 selectcron 17462 1 17462 99 30x80 poll sndiod 25578 1 25578 0 30x80 selectsshd 3068 6655 6655 68 30x80 selectsasyncd 6655 1 6655 0 30x80 selectsasyncd 8 4076 4076 68 30x80 selectisakmpd 4076 1 4076 0 30x80 netio isakmpd 16603 1 16603 0 30x80 poll ntpd 9965 14530 9965 83 30x80 poll ntpd 14530 1 14530 83 30x80 poll ntpd 28104 8325 8325 70 30x80 selectnamed 8325 1 8325 0 30x80 netio named 5060 11080 11080 74 30x80 bpf pflogd 11080 1 11080 0 30x80 netio pflogd 27911 10551 10551 73 30x80 poll syslogd 10551 1 10551 0 30x80 netio syslogd 16 0 0 0 30x100200 aiodoned aiodoned 15 0 0 0 30x100200 syncerupdate 14 0 0 0 30x100200 cleaner cleaner 13 0 0 0 30x100200 reaperreaper 12 0 0 0 30x100200 pgdaemon pagedaemon 11 0 0 0 30x100200 bored crypto 10 0 0 0 30x100200 pftm pfpurge 9 0 0 0 30x100200 usbtskusbtask 8 0 0 0 30x100200 usbatsk usbatsk 7 0 0 0 30x100200 acpi0 acpi0 6 0 0 0 7 0x40100200idle3 5 0 0 0 3 0x40100200idle2 *4 0 0 0 7 0x40100200idle1 3 0 0 0 70x100200syswq 2 0 0 0 7 0x40100200idle0 1 0 1 0 30x80 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb{1}> machine ddbcpu 2 Stopped at Debugger+0x5: leave RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO. DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb{2}> trace Debugger() at Debugger+0x5 panic() at panic+0xe4 msi_delroute() at msi_delroute+0x54 intr_disestablish() at intr_disestablish+0xe9 em_detach() at em_detach+0x26 config_detach() at config_detach+0x143 config_detach_children() at config_detach_children+0x3e pci_detach_devices() at pci_detach_devices+0x15 ppb_hotplug_remove() at ppb_hotplug_remove+0x26 workq_thread() at workq_thread+0x33 end trace frame: 0x0, count: -10 ddb{2}> machine ddbcpu 3 Stopped at Debugger+0x5: leave RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO. DO NOT EVEN
Re: Running OpenBSD on Raspberry Pi
On Wed, Jan 9, 2013 at 10:54 AM, Andres Genovez wrote: > 2012/12/31 BARDOU Pierre > >> Hello, >> >> I would be very interested by an OpenBSD port too. >> Usage : home router with firewall, DNS and DHCP. >> >> I am looking into FreeBSD and NetBSD ports, but I would prefer to have the >> latest PF and OpenSSH versions... plus I am more used to OpenBSD and I like >> using it :-) >> >> If somebody knows X86 hardware able to do the same (routing/firewlling 20 >> mbps traffic, VLAN, fits in a tiny box, power consumption below 5W, price >> around 50$) as the raspberry I am interested BTW. >> > I am interested too, can somebody give an advice on what hardware to use? > maybe 5 lan or at least two lan? an below 100? > For under $100 USD your best bet is to look for a used computer on craigslist or a yard sale and install another NIC in it. But, this will not get you at 5 watts or less. For under $200 look at either PC Engines ALIX boards or Soekris. eBay has plenty of them. You can manage 5W or less this route. For the Raspberry Pi you will not get OpenBSD. You will have to use Linux and configure it manually, including recompiling the kernel with iptables support. You *might* be able to get under $100, but it won't be under 5 watts and it will be a jalopy. USB ethernet adapters start around $25 new. -Gene
Re: Bad major libc.so.66.0 while trying to install via pkg_add
I installed current from a CD I took on my desk thinking it was the release. Thanks Janne and sorry for the noise. Le 2013-01-09 13:18, Janne Johansson a écrit : You have updated your system beyond the time when those packages were built. OR; You have updated your system and forgot to update PKG_PATH or /etc/pkg.conf to reflect it. See http://www.openbsd.org/faq/faq15.html#NoFun 2013/1/9 Michel Blais : Hi, The're 2 package I'm not able to install. # uname -a OpenBSD myhostname.mydomain.com 5.2 GENERIC.MP#8 amd64 # pkg_add nano Can't install libiconv-1.14 because of libraries |library c.65.0 not found | /usr/lib/libc.so.66.0 (system): bad major Can't install gettext-0.18.1p3: can't resolve libiconv-1.14 Can't install nano-2.2.6: can't resolve gettext-0.18.1p3,libiconv-1.14 # pkg_add pmacct Can't install pmacct-0.12.5p1 because of libraries |library c.65.0 not found | /usr/lib/libc.so.66.0 (system): bad major Anything I must do to fix it or I must try on current ? Thanks Michel -- Cordialement, Best regards, Michel Blais Administrateur réseau / Network administrator Targo Communications www.targo.ca 514-448-0773
Re: Running OpenBSD on Raspberry Pi
2012/12/31 BARDOU Pierre > Hello, > > I would be very interested by an OpenBSD port too. > Usage : home router with firewall, DNS and DHCP. > > I am looking into FreeBSD and NetBSD ports, but I would prefer to have the > latest PF and OpenSSH versions... plus I am more used to OpenBSD and I like > using it :-) > > If somebody knows X86 hardware able to do the same (routing/firewlling 20 > mbps traffic, VLAN, fits in a tiny box, power consumption below 5W, price > around 50$) as the raspberry I am interested BTW. > I am interested too, can somebody give an advice on what hardware to use? maybe 5 lan or at least two lan? an below 100? > > -- > Cordialement, > Pierre BARDOU > > > -Message d'origine- > De : Doug Brewer [mailto:brewer.d...@gmail.com] > Envoyé : lundi 31 décembre 2012 09:39 > À : KarlOskar Rikås; misc@openbsd.org > Objet : Re: Running OpenBSD on Raspberry Pi > > On Mon, Dec 31, 2012 at 12:13 AM, Tobias Ulmer wrote: > > On Sun, Dec 30, 2012 at 05:01:23PM +0100, KarlOskar Rikås wrote: > >> Hi, I wonder if it's possible to run OpenBSD on Raspberry Pi. > >> > >> Is there any image ready for putting on my SD card and boot up? If > >> not, is there any manual or guide how to make one? > > > > No it's not possible and there are no plans to change that. Search the > > archives if you're interested in the reasons. > > > > In short, there is plenty of better performing and better documented > > hardware available for nearly the same price. This makes the rpi > > unattractive for developers. > > If so, try install FreeBSD. Last time I checked, it worked pretty well for > me. > > BR, > Doug. > > -- Atentamente Andrés Genovez Tobar / DTIT Elastix ECE - Linux LPI-1 - Novell CLA - Apple ACMT - Mikrotik MTCNA/MTCTCE/MTCRE/MTCWE http://www.cspmsa.com
Re: Bad major libc.so.66.0 while trying to install via pkg_add
You have updated your system beyond the time when those packages were built. OR; You have updated your system and forgot to update PKG_PATH or /etc/pkg.conf to reflect it. See http://www.openbsd.org/faq/faq15.html#NoFun 2013/1/9 Michel Blais : > Hi, > > The're 2 package I'm not able to install. > > # uname -a > OpenBSD myhostname.mydomain.com 5.2 GENERIC.MP#8 amd64 > > # pkg_add nano > Can't install libiconv-1.14 because of libraries > |library c.65.0 not found > | /usr/lib/libc.so.66.0 (system): bad major > Can't install gettext-0.18.1p3: can't resolve libiconv-1.14 > Can't install nano-2.2.6: can't resolve gettext-0.18.1p3,libiconv-1.14 > # pkg_add pmacct > Can't install pmacct-0.12.5p1 because of libraries > |library c.65.0 not found > | /usr/lib/libc.so.66.0 (system): bad major > > Anything I must do to fix it or I must try on current ? > > Thanks > > Michel > -- May the most significant bit of your life be positive.
new computer
For some future period I will get new node to run on openbsd. First dilema is to have laptop or desktop. Both have something to learn about supported hardware. I'd like to know what are popular el cheapo parts. Current, since at my place anything older than 1-2 years cannot be found. 1. For desktop, some integrated solution. Like amd a4-3300. Or to run for intel? No need for 3d or movies or games. I cannot understand the state of this newer chips. In short: what inte- grated cpu? What is good and proven mobo for that cpu? 2. The only option not to break the bank, 14" laptop is asus x401a. Intel Celeron Dual Core B830 1.8GH, Intel HD Graphics 2000 (Intel GT2), probably some atheros bgn wifi.HM70 Express Chip set. Or: AMD Ontario Dual-Core C60 1.33GH, AMD Radeon Mobility HD6290 (C60) AP, whoknowswhatwifi, as amd version. I've read supported hardware lists. Something is not available, something is on expensive side. I already have nodes for mundane tasks and would like to have dedicated box for openbsd, 64 bit. If I go for desktop, I want the least expensive option and wor- king on openbsd 5.2. The same for 14 inch laptop, probably with matte screen, which is hard to find under $500. The more I read, less I know what to buy. Best regards Zoran
Bad major libc.so.66.0 while trying to install via pkg_add
Hi, The're 2 package I'm not able to install. # uname -a OpenBSD myhostname.mydomain.com 5.2 GENERIC.MP#8 amd64 # pkg_add nano Can't install libiconv-1.14 because of libraries |library c.65.0 not found | /usr/lib/libc.so.66.0 (system): bad major Can't install gettext-0.18.1p3: can't resolve libiconv-1.14 Can't install nano-2.2.6: can't resolve gettext-0.18.1p3,libiconv-1.14 # pkg_add pmacct Can't install pmacct-0.12.5p1 because of libraries |library c.65.0 not found | /usr/lib/libc.so.66.0 (system): bad major Anything I must do to fix it or I must try on current ? Thanks Michel
Re: Running OpenBSD on Raspberry Pi
Someone mentioned buying a cheap thin client on eBay; while you're at it, buy a cheap switch that supports Ethernet trunking -- that way you can cheaply extend your thin client's Ethernet port count (I used a Zyxel 2108 a while back). While we're on shoestring infrastructure and budgets, I mean. Tor
small web hosting
Hi Group Lets imagine there are 4 computers and one managable switch with vlan and qos. the scenerio look like this | firewall 1 + deamons (www dns webmail ) firewall 3 database internet - switch | |pfsync |rsync |pfsync |replication | firewall 2 + deamons (www dns webmail ) firewall 4 database or maybe like this | firewall 1 + deamons (www dns webmail ) internet - switch | |pfsync |rsync | firewall 2 + deamons (www dns webmail ) | | firewall 3 database ||pfsync |replication | firewall 4 database firewall 1 & 2 vlan 1 firewall 2 & 3 vlan 2 My question is scenerio 2 beter then 1 and is there a sens of doing redundant firewall with pfsync carp rsync and duplicated servers or is it beter to use this two computers to spred services for example firewall 1 for web and dns and second for emails. There is no doubt db should be replicated but should i duplicate web serwer if using raid mirroring what is beter ? asuming i have only 4 computers and relativly slow upload link like 3-4 Mb/s. This is not the problem because the company is destined for the local market and serv no movies radio and music.
Re: growfs on bsd.rd
On 01/08/13 23:38, Hugo Osvaldo Barrera wrote: > On 2013-01-04 00:41, Aaron Mason wrote: >> On Fri, Jan 4, 2013 at 1:28 PM, Hugo Osvaldo Barrera >> wrote: >>> Hi all, >>> >>> I'm curious as to why growfs is not included in bsd.rd. Is there any >>> particular reason for this? I belive it would be inmensly useful - since >>> bsd.rd is the first thing one would think of when needing to grow a root >>> partition (or a partition you don't want normally want to unmount). >>> >>> I've googled a bit, but haven't found anything related. >>> >>> Cheers, >>> >>> -- >>> Hugo Osvaldo Barrera >>> >> >> It's not too difficult to add tools to the ramdisk. >> >> http://www.thats-too-much.info/2013/01/04/work-smarter-not-harder-roll-your-own-openbsd-ram-disk/ >> > > My goal with this email was rather aimed to suggest growfs be included, > or to ask why it isn't, I've found I can easily mount /, copy growfs, > and umount / as a quick workaround anyway. space is at a premium on the ramdisk kernels. Since there's a "quick workaround", I think I'll take drivers or other things where there is no workaround... Nick.
Re: growfs on bsd.rd
On Wednesday 09 January 2013 05:38:26 Hugo Osvaldo Barrera wrote: > On 2013-01-04 00:41, Aaron Mason wrote: > > On Fri, Jan 4, 2013 at 1:28 PM, Hugo Osvaldo Barrera > > wrote: > >> Hi all, > >> > >> I'm curious as to why growfs is not included in bsd.rd. Is there any > >> particular reason for this? I belive it would be inmensly useful - since > >> bsd.rd is the first thing one would think of when needing to grow a root > >> partition (or a partition you don't want normally want to unmount). > >> > >> I've googled a bit, but haven't found anything related. > >> > >> Cheers, > >> > >> -- > >> Hugo Osvaldo Barrera > >> > > > > It's not too difficult to add tools to the ramdisk. > > > > http://www.thats-too-much.info/2013/01/04/work-smarter-not-harder-roll-your-own-openbsd-ram-disk/ > > > > My goal with this email was rather aimed to suggest growfs be included, > or to ask why it isn't, I've found I can easily mount /, copy growfs, > and umount / as a quick workaround anyway. > Space is the main reason. The mini system still has to fit on small install media. If you look at the install floppy's, you will see that they have to prune the kernel to make it fit. That job will get more difficult or maybe impossible if the mini system gets larger. I'm sure it is mentioned somewhere. Of course they can make a different mini system for bsd.rd. But again, more work and you get two different mini systems. gr Renzo
Re: Current isolation best practices?
On Wed, Jan 09, 2013 at 07:28:41AM +, John Long wrote: > I use Solaris zones to isolate a lot of stuff and I can host shell accounts > and occasional open source projects safely as far as I know. I would like to > be able to offer OpenBSD shell accounts but I don't know how to do that > safely without dedicating a machine to it so I haven't done it. I think > there would be a lot of value in zones/jails on OpenBSD. Mostly zones are a > superior solution to virtualbox/vmware etc. because they're very light and > provide good isolation and resource control and make good overall use of the > hardware. As you know on Solaris a zone can use limited resources. So first OpenBSD would need to have a feature to group processes into resource pools to limit resources usage. Then WPAR/zone/lxc-like feature would make *real* sense. For shell accounts you can right now just use sshd with chroot and manage each chroot with jailkit. If you need temporary environment for devs, check oVirt and their 'pool' funcionality which offers 'pool' of VMs where each one can be stateless. jirib