Re: How do you do "family remote support"?
On 13/07/17 09:36, Philippe wrote: The best option to me was a reverse SSH. A script connect them automatically to my server @home, opening a specific port so I can connect to their computers. It works, it's simple, they don't have to do anything, they even can go anywhere I'll still be able to help them. You don't have to worry about NAT and dynamic IP addresses anymore. :-) +1. And the script they run to start a reverse SSH session can also create a tunnel for VNC, and start x11vnc. -- Étienne
Re: Split zone DNS?
On 29/07/17 12:04, Craig Skinner wrote: What is the best tool to accomplish this these days? Is NSD the "modern" tool to be using on OpenBSD? When OpenBSD changed from BIND to NSD & Unbound, I found it simpler to serve the private domain '.internal' on the LAN;- An alternative is to use a subdomain (like "internal.example.org") for your LAN, and let the authoritative nameserver delegate the authority on that subdomain to your local nameserver. -- Étienne
Re: Best Practices python virtualenv
On 05/01/18 01:54, IL Ka wrote: Since /usr/local/ has wxallowed by default (see your /etc/fstab) it works. Does it affect security? In theory -- yes, because python can now create WX pages. True. But I use this solution because: - root controls what goes in /usr/local - I mount /home without wxallowed - I mount /usr/local read-only Also, I expect that in the future, less and less packages that I use require /usr/local to be mounted with wxallowed. I agree, this last point is not improving my security at all. -- Etienne
bioctl, encryption, and keydisk
Hello list, What I'm going to describe will most probably sound very silly, but I believe I have a reasonable use case. I'm trying to setup a machine with full disk encryption using a partition of the same disk as a keydisk. (take all the time you want to laugh, then carry on reading). So I'm creating two RAID partitions "a" and "p", then run: bioctl -c C -l sd0a -k sd0p softraid0 and this succeed. I'm then proceeding to a normal installation on sd1, then reboot, and I'm greeted with the message `ERR M`. I have tried this with the p partition at the beginning or at the end of the disk, tried to change sizes,... no effect. I'm wondering if what I'm trying is actually supported? Any idea? For those who wonder, my use case is installing 100+ virtual machines in the cloud with full disk encryption, rebooting them, and using rc.firsttime to overwrite the key so if the machine is powered down, it can't be booted anymore. I'm also aware that this is still vulnerable to an attack from someone who's in control of the host machine. -- Étienne
Re: bioctl, encryption, and keydisk
On 04/05/18 17:40, Marcus MERIGHI wrote: I'm currently reading https://marc.info/?l=openbsd-misc&m=141435482820277 "crypto softraid and keydisk on same harddrive", 2014-10-26. jsing@ had this patch, which was tested and worked for the OP - but was not commited: https://marc.info/?l=openbsd-misc&m=141450636905550 Nice! Thanks for that, I'll try. -- Étienne
Re: Can SSH report successful connections to pf?
On 04/05/18 23:16, Luke Small wrote: Can SSH and possibly other programs more easily able to report successful connections so pf can make stricter bruteforce connection rejecting even better? See this paper, that might contain what you're trying to achieve: https://www.sans.org/reading-room/whitepapers/firewalls/cleaning-yard-discussion-mothers-home-network-security-32933 At the end of a "pass" rule in pf.conf, the author adds: max‐src‐conn 3, max‐src‐conn‐rate 2/5, overload flush global which means: "any source can only have a total of three connections, and they may not create them at a rate faster than two every five minutes. If they do, they will be added to the abusers table and every packet/session will be globally dropped." I locked myself out of many boxes thanks to that. -- Étienne
Re: Private cloud hosting recommendations
On 2015-10-09 16:04, Martín Ferco wrote: I'm looking for alternatives to host our OpenBSD web frontends off-site. Up [...] vcloud air, but haven't heard from him yet, and was starting to take a look at virtustream -- they seem to offer ESXi hypervisors as well as VMware vloud air. My two cents: http://buyvm.net I have seen a few issues with their network in Europe, and they consider you crazy for running any BSD, but they provide you with OpenBSD images, and they're cheap. -- Étienne
Keyboard mapping in X with Yubikey
Hello there, As far as I could find, the Yubikey is incompatible with my keyboard mapping, and even the personalisation tool can't help. So I'm trying to configure a different keymap for just for that device. That works fine on the console with wsconctl, but I can't get it to work in X. setxkbmap(1) needs a device id as an argument, and I'm supposed to find that id in the output of "xinput list", but that output never changes, with the Yubikey plugged in or out. It permanently shows: % xinput list ⎡ Virtual core pointer id=2[master pointer (3)] ⎜ ↳ Virtual core XTEST pointerid=4[slave pointer (2)] ⎜ ↳ /dev/wsmouse0 id=7[slave pointer (2)] ⎜ ↳ /dev/wsmouse id=8[slave pointer (2)] ⎣ Virtual core keyboard id=3[master keyboard (2)] ↳ Virtual core XTEST keyboard id=5[slave keyboard (3)] ↳ /dev/wskbdid=6[slave keyboard (3)] Any idea where to go from there? Plugging the key shows the following in dmesg: uhidev3 at uhub1 port 1 configuration 1 interface 0 "Yubico Yubikey NEO OTP+U2F" rev 2.00/3.43 addr 7 uhidev3: iclass 3/1 ukbd1 at uhidev3: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 uhidev4 at uhub1 port 1 configuration 1 interface 1 "Yubico Yubikey NEO OTP+U2F" rev 2.00/3.43 addr 7 uhidev4: iclass 3/0 uhid2 at uhidev4: input=64, output=64, feature=0 Cheers,
Mismatch between config and documentation for dhcpd?
Hello there, man dhcp-options(5) shows the option classless-static-routes, however, when I use it, dhcpd fails to start and returns: dhcpd: /etc/dhcpd.conf line 49: unknown option dhcp.classless-static-routes I suspect this is just a mismatch between the documentation and the options with which dhcpd has been built. Or is it? Cheers, -- Étienne
Re: Mismatch between config and documentation for dhcpd?
On 2016-01-21 00:27, Stuart Henderson wrote: man dhcp-options(5) shows the option classless-static-routes, however, when I use it, dhcpd fails to start and returns: dhcpd: /etc/dhcpd.conf line 49: unknown option dhcp.classless-static-routes It looks like it should just be "classless-static-routes" without a dhcp. prefix. I didn't add a prefix, it's been added in the log by the program itself. My config file looked like below: option domain-name-servers 192.168.0.71, 192.168.0.149; option classless-static-routes 192.168.32/24 192.168.0.1; deny unknown-clients; For the moment, I'll go with the following config, which works: option domain-name-servers 192.168.0.71, 192.168.0.149; option static-routes 192.168.32.7 192.168.0.1, 192.168.32.15 192.168.0.1; deny unknown-clients; Cheers, -- Étienne
Re: Mismatch between config and documentation for dhcpd?
On 2016-01-21 12:28, Raf Czlonka wrote: I didn't add a prefix, it's been added in the log by the program itself. My config file looked like below: option domain-name-servers 192.168.0.71, 192.168.0.149; option classless-static-routes 192.168.32/24 192.168.0.1; ^ Is this by any chance because the above is not valid CIDR and should have been, 192.168.32.0/24? I just tried, I'm afraid it doesn't make any change. -- Étienne
Re: Mismatch between config and documentation for dhcpd?
On 2016-01-21 12:28, Raf Czlonka wrote: I didn't add a prefix, it's been added in the log by the program itself. My config file looked like below: option domain-name-servers 192.168.0.71, 192.168.0.149; option classless-static-routes 192.168.32/24 192.168.0.1; ^ Is this by any chance because the above is not valid CIDR and should have been, 192.168.32.0/24? I just tried, I'm afraid it doesn't make any change. -- Étienne
Re: Mismatch between config and documentation for dhcpd?
On 01/22/16 09:02, Raf Czlonka wrote: Is this by any chance because the above is not valid CIDR and should have been, 192.168.32.0/24? I just tried, I'm afraid it doesn't make any change. Hi Étienne, I don't think you've mentioned the release version of OpenBSD you are running - code for classless-static-routes and classless-ms-static-routes has been added two years ago and first appeared in OpenBSD 5.5. I'm running 5.8/i386 on this machine. -- Étienne
Re: Mismatch between config and documentation for dhcpd?
On 2016-01-22 12:40, Stuart Henderson wrote: I'm running 5.8/i386 on this machine. You are trying to use syntax for OpenBSD's dhcpd with ISC dhcpd from packages. That was it! Thank you so much, I was really confused. It's a bit disappointing to see that ISC dhcp-options' manpage doesn't offer 'classless-static-routes' option while mentioning that 'static-routes' is not used by the majority of DHCP clients anymore. I'm using ISC dhcpd for the failover option, on two Soekris boxes that do DNS, DHCP, packet filtering and a few more things on the edge of my local network. Any chance to see this failover option available in OpenBSD's dhcpd one day? Cheers, -- Étienne
Re: Mismatch between config and documentation for dhcpd?
On 01/24/16 21:55, Stuart Henderson wrote: I'm not sure what failover options isc-dhcpd has, I haven't felt the need for anything more than OpenBSD dhcpd's -y/-Y myself. Maybe I don't either. Thanks for pointing this out! -- Étienne
trouble while building a release
Hello list, I'm a bit confused. I believe I have correctly applied the instructions in release(8), but I hit this error when running "make release" in paragraph 4, on unmodified sources: # cd /usr/src/etc && make release […] sh /usr/src/sys/conf/newvers.sh touch: version: Permission denied /usr/src/sys/conf/newvers.sh[84]: cannot create version: Permission denied *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC (Makefile:970 'vers.o') *** Error 2 in . (Makefile:20 'bsd') *** Error 2 in . (Makefile:274 'release-sets') *** Error 2 in . (Makefile:267 'do-release') *** Error 2 in /usr/src/etc (Makefile:251 'release') However, I have set the directories and permissions as requested: # ls -ld $RELEASEDIR drwxr-xr-x 2 build daemon 512 Dec 31 06:51 /var/www/htdocs/pub/OpenBSD/6.2/amd64/ # ls -ld $DESTDIR drwx-- 13 build wheel 512 Dec 31 06:58 /var/destdir/ # mount | grep vnd1 /dev/vnd1a on /var/destdir type ffs (local, nodev, noexec, noperm) Any idea on what I need to check? Cheers, -- Étienne
Re: trouble while building a release
On 03/01/18 18:54, Theo Buehler wrote: On Wed, Jan 03, 2018 at 06:07:36PM +, Etienne wrote: # cd /usr/src/etc && make release […] sh /usr/src/sys/conf/newvers.sh touch: version: Permission denied /usr/src/sys/conf/newvers.sh[84]: cannot create version: Permission denied You probably didn't do 'rm -rf /usr/obj/*' after building and installing the kernel (first sentence in second paragraph of step 3 in release(8)): Thank you so much, that was it, I missed that detail. -- Étienne
Re: Writing "ones" instead of "zeroes" when wiping disk
On 11/01/18 14:45, Andreas Thulin wrote: in order to achieve paranoid disk-wiping? I don't have a solution to offer for existing disks, but that made me just think that it would be probably easy to create two partitions on a disk, one that will be a keydisk (https://www.openbsd.org/faq/faq14.html#softraidFDEkeydisk) and one that would be the real partition holding the data, and the day you need to wipe the disk, the only thing you need to wipe (a few times if you're paranoid) is the keydisk partition, and the data will be unrecoverable. Does that sound sensible, or am I missing something? -- Étienne
Re: DNS-01 challenge in acme-client
On 01/03/18 14:39, Consus wrote: It is more complicated than creating a file in a folder. With a little luck it's not. Both NSD and BIND allow you to include files in zone configuration like this: [...] The only problem here is #3, but it's possible to create e.g. another pledged process that can only execute /etc/acme-client/dns-challenge.sh and you can put all your complicated stuff there. Well, really, what you're asking for is having acme-client offload the complicated stuff (set the TXT records, then check for verification) to a script, which to me looks pretty much the same as writing a script to do everything. I believe you'll see limited advantage in having acme-client do any work here, compared to having your script issue the CSR, send it to Letsencrypt, receive the TXT records, and do the rest of the complicated stuff mentioned above. I think acme-client's value is where the certificate for a server, the server, and the verification challenge/process all take place on the same machine. But the DNS service is likely to be handled by another (or rather, many other) machine(s). Cheers, -- Étienne
Re: Keyboard mapping in X with Yubikey
On 12/10/15 15:49, Etienne wrote: [...] in X. setxkbmap(1) needs a device id as an argument, and I'm supposed to find that id in the output of "xinput list", but that output never changes, with the Yubikey plugged in or out. It permanently shows: % xinput list ⎡ Virtual core pointer id=2[master pointer (3)] ⎜ ↳ Virtual core XTEST pointerid=4[slave pointer (2)] ⎜ ↳ /dev/wsmouse0 id=7[slave pointer (2)] ⎜ ↳ /dev/wsmouse id=8[slave pointer (2)] ⎣ Virtual core keyboard id=3[master keyboard (2)] ↳ Virtual core XTEST keyboard id=5[slave keyboard (3)] ↳ /dev/wskbdid=6[slave keyboard (3)] I have given up on this issue for a while, I'm back at it now. In man xorg.conf, in the InputDevice section, I read: Option "Floating" "boolean" When enabled, the input device is set up floating and does not report events through any master device or control a cursor. The device is only available to clients using the X Input Extension API. This option is disabled by default. The options CorePointer, CoreKeyboard, AlwaysCore, and SendCoreEvents, are the inverse of option Floating (i.e. SendCoreEvents "on" is equivalent to Floating "off" ). Does that mean that if a device has this option on, an additional entry will be visible in the output of xinput (as a command)? Cheers, -- Étienne
Re: OpenBSD 6.0 bsd.rd doesn't boot on soekris net4801
On 2016-10-02 16:54, Peer Janssen wrote: Goal: Upgrade a working soekris net4801 from OpenBSD 4.6 to 6.0. First I copied the complete 256 MB SiliconDrive CF-Disk to a newer SanDisk 8 GB Ultra one and rebootet, which worked smoothly and fine. [...] Is a system like the soekris net4801 not supported any more? Or is there something I can do to install the new version on it? I upgraded the same machine to 6.0 today, and didn't see any problem. So I suspect your hardware (either the CF-Disk or the board itself) is defective. Hope that helps. Cheers, -- Étienne
Temperature
Hello list, I seem to have a little hardware related problem. I have been using a Lenovo x120e for some time, and OpenBSD ran nicely on it until April. As soon as I upgraded to 5.5, and from quite early after kernel loading, the console started showing and repeating at regular intervals: acpitz0: critical temperature reached 93C, shutting down acpithinkpad0: Unknown event 0x6022 ("93C" is just a typical value, I've seen any between 92 and 98). I usually have just the time to log in before the system logs me out and shuts down. This laptop normally runs at around 80°C, and I think the temperature reading in OpenBSD is correct, because I get similar warnings and temperature values when I reboot immediately into another OS. Booting on 5.6 bsd.rd and upgrading the system went fine, but as soon as I restarted the system, the same situation happened. Feeling adventurous, I tried to disable acpitz* during the boot process, which made the messages go away. The system ran just below 100°C (as reported by sysctl) for some time without any problem, until I didn't want to take the risk for any longer and shut it down manually. I also have an x100e from the same brand, quite similar even if older and slower, which does _NOT_ show the same symptoms. I'm attaching the dmesg and sysctl hw.sensors output of both machines running 5.6. Has anyone been running 5.5 and 5.6 on a x120e? Any clues on what I should do to diagnose the problem any better? Cheers! -- Ãtienne OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug 8 00:20:21 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1861025792 (1774MB) avail mem = 1802760192 (1719MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf09b0 (43 entries) bios0: vendor LENOVO version "6XET45WW (1.28 )" date 09/17/2010 bios0: LENOVO 35089CU acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP TCPA SSDT APIC MCFG HPET SLIC acpi0: wakeup devices PB5_(S5) OHC0(S3) OHC1(S3) OHC2(S3) OHC3(S3) OHC4(S3) P2P_(S5) LID_(S3) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) Neo X2 Dual Core Processor L335, 1597.30 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) Neo X2 Dual Core Processor L335, 1596.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-3 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (PB5_) acpiprt2 at acpi0: bus 4 (P2P_) acpiprt3 at acpi0: bus 1 (AGP_) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, PSS acpicpu1 at acpi0: PSS acpitz0 at acpi0: critical temperature is 92 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "42T4787" serial 626 oem "SONY" acpibtn2 at acpi0: LID_ cpu0: PowerNow! K8 1597 MHz: speeds: 1600 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 3200" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 2 int 18 ppb1 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), msi, address c8:0a:a9:6a:6c:6b rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 6 function 0 "AMD RS780 PCIE" rev 0x00: msi pci3 at ppb2 bus 3 "Realtek 8192SE" rev 0x10 at pci3 dev 0 function 0 not configured ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22, AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed naa.5000c50022882f8c sd0: 238475MB, 512 bytes/sector, 488397168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16, version 1.0, legacy
Re: Temperature
On 2014-11-14 18:27, Etienne wrote: Hello list, Sorry for answering to myself, that was my first post and I didn't expect the attachements to be concatenated after my message. Please let me reformat: x100e# dmesg OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug 8 00:20:21 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1861025792 (1774MB) avail mem = 1802760192 (1719MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf09b0 (43 entries) bios0: vendor LENOVO version "6XET45WW (1.28 )" date 09/17/2010 bios0: LENOVO 35089CU acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP TCPA SSDT APIC MCFG HPET SLIC acpi0: wakeup devices PB5_(S5) OHC0(S3) OHC1(S3) OHC2(S3) OHC3(S3) OHC4(S3) P2P_(S5) LID_(S3) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) Neo X2 Dual Core Processor L335, 1597.30 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG, 3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) Neo X2 Dual Core Processor L335, 1596.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG, 3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-3 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (PB5_) acpiprt2 at acpi0: bus 4 (P2P_) acpiprt3 at acpi0: bus 1 (AGP_) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, PSS acpicpu1 at acpi0: PSS acpitz0 at acpi0: critical temperature is 92 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "42T4787" serial 626 oem "SONY" acpibtn2 at acpi0: LID_ cpu0: PowerNow! K8 1597 MHz: speeds: 1600 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 3200" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 2 int 18 ppb1 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), msi, address c8:0a:a9:6a:6c:6b rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 6 function 0 "AMD RS780 PCIE" rev 0x00: msi pci3 at ppb2 bus 3 "Realtek 8192SE" rev 0x10 at pci3 dev 0 function 0 not configured ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22, AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed naa.5000c50022882f8c sd0: 238475MB, 512 bytes/sector, 488397168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3c: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 azalia0: codecs: Conexant/0x5066 audio0 at azalia0 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 pci4 at ppb3 bus 4 pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport"
Re: Temperature
On 2014-11-14 18:56, Gregor Best wrote: ("93C" is just a typical value, I've seen any between 92 and 98). I usually have just the time to log in before the system logs me out and shuts down. This laptop normally runs at around 80??C, and I think the temperature reading in OpenBSD is correct, because I get similar warnings and temperature values when I reboot immediately into another OS. [...] So running on another OS for a longer time has the temperature of your laptop staying at around 80C? That sounds awfully high. Maybe you just need to clean out the fans and airways inside the laptop and the timing is just a coincidence. Just make sure the fan does not turn (by blocking it with a toothpick or the like) when blowing compressed air through the case or vacuuming out dustbunnies so the bearing does not get damaged. Thanks everybody for the feedback and advices. I think it's fair to conclude my machine has a unique problem not related to the model (I bought it as a used machine, maybe the previous owner messed something). I'm still surprised by the 20°C difference between OpenBSD and Linux, and by the fact it was apparently working fine on 5.4. I'll see how much I can clean it up/change the paste before trying anything else. Cheers! -- Étienne
Re: Temperature
On 2014-11-14 19:59, patrick keshishian wrote: As I say, I never have had this issue with x120e, which I've been using for over 3 years with OpenBSD, mainly following snapshots. Thanks for the info. Clearly, I need to open the beast for inspection. Cheers! -- Étienne
carp hooks?
Hello list, I would like to know if there is any trigger in CARP, any way to run a script on a CARP interface status change? I could monitor /var/log/messages for that, but is there any cleaner, more efficient way? Cheers, -- Étienne
Re: carp hooks?
On 2015-01-05 19:51, Ted Unangst wrote: I would like to know if there is any trigger in CARP, any way to run a script on a CARP interface status change? I could monitor /var/log/messages for that, but is there any cleaner, more efficient way? ifstated? Thanks! Sorry, I promise, none of my searches helped me suspect even its existence. Cheers, -- Étienne
Full disk encryption and keyboard
Hello list, Is there a way to have a different keymap in boot? Not that it's really necessary to type "boot bsd.rd", but it would be much more efficient when typing a passphrase to decrypt a softraid partition to boot from. Cheers, -- Étienne
Re: Full disk encryption and keyboard
On 2015-01-12 15:49, Theo de Raadt wrote: The underlying problem here is that the boot loader doesn't support key= maps. And even if we hacked something together, it would be a significant undertaking, since all the architectures are so different. Thanks. That's what I thought, but I was hoping I was wrong. :-) Cheers, -- Étienne
Re: Full disk encryption and keyboard
On 2015-01-12 09:45, Jan Stary wrote: Am Sonntag, den 11.01.2015, 20:45 + schrieb etie...@magickarpet.org: > Is there a way to have a different keymap in boot? Not that it's really > necessary to type "boot bsd.rd", but it would be much more efficient > when typing a passphrase to decrypt a softraid partition to boot from. How exactly would a different keymap be much more efficient? Because I would make much less mistakes and wouldn't have to type it so many times in a row. :-) How often do you type that softraid crypt password? Every time I boot, and I reboot often because my laptop has a problem with suspend, so far. :-) -- Étienne
File transfer from NetBSD to OpenBSD
Hello there, Could anyone recommend which filesystem type to use when backing up a few hundred GB of files from NetBSD onto a USB disk, planning to restore them on an OpenBSD machine. I remember distantly that last time I tried with FFS, it didn't work. Cheers, -- Étienne
Re: File transfer from NetBSD to OpenBSD
On 2015-03-01 17:38, Kenneth Gober wrote: FAT (and FAT32) would probably involve less experimentation. to bypass the limitations of FAT, I recommend using tar(1) and split(1). tar cfC - /filesystem-to-back-up . | split -b 2000m that will produce a tar file split into 2GB chunks named xaa, xab, xac, etc. to restore: cat x?? | tar xfC - /directory-to-restore-into . Great idea. Thanks, that should do the trick. this assumes that NetBSD tar and split are substantially similar to OpenBSD's. I'll report if I found it doesn't. Cheers! -- Étienne
dig and DNSSEC
Hello there, Is there any chance that dig (src/usr.sbin/bind/bin/dig/) could be build with -DDIG_SIGCHASE to enable dnssec verification in future releases? Where would be a proper place to request that? Cheers, -- Étienne
Re: dig and DNSSEC
On 2015-09-25 15:05, Stuart Henderson wrote: Is there any chance that dig (src/usr.sbin/bind/bin/dig/) could be build with -DDIG_SIGCHASE to enable dnssec verification in future releases? Where would be a proper place to request that? I've just added this to the ports version of BIND (ports/net/isc-bind), packages for this will arrive in future snapshots. You'll probably want to do something like "alias dig=/usr/local/bin/dig" or similar to avoid finding the version from base first in your shell path. Terrific! Thank you so much. By any chance, once the base version of bind is being phased out, do you know if there will still be a dig(1) in the base? Cheers, -- Étienne
man dhcp-options
Hello there, It seems to me that dhcpd is ignoring "option routers" when there is a "option classless-static-routes" in the same configuration block. Ex: with the following: option routers 192.168.0.254; option classless-static-routes 192.168.32.0/24 192.168.0.1; dhcpd will start, the client will see its routing table populated with a route to 192.168.0.32, but not with a default gateway. To achieve what I intended with the above, I remove "option routers" completely, and I add: option classless-static-routes 192.168.32.0/24 192.168.0.1, 0.0.0.0/0 192.168.0.254; Now the client has a default route and a route to 192.168.32.0/24. I have verified this with both an OpenBSD client and a Linux client. I don't know if this is intended or not, but if it is, I would suggest mentioning in man dhcp-options that using "option classless-static-routes" overrides/ignores "option routers". Cheers,
Re: man dhcp-options
On 2016-02-22 13:05, Kenneth Westerback wrote: Documenting every conformance with DHCP standards in the man page is unlikely to be popular. :-) I guess it makes sense to document one thing in one place only. I just wish I had known where to look in the first place. :-) Cheers,
"untrust" intermediate certificates
Hello list, I came across that blog post https://blog.filippo.io/untrusting-an-intermediate-ca-on-os-x/ and I have been trying to find an equivalent way of doing so in OpenBSD/LibreSSL, to no avail. Am I missing something? Oh, and yes, I know, this should not be needed if we could really trust the certificate authorities. Cheers,
Re: wifind(8) find your wifi
On 06/03/16 05:12, Ray Lai wrote: #!/bin/sh if [[ $1 == "home" ]]; then doas ifconfig run0 nwid foonet wpa wpakey ultrasecret doas dhclient run0 fi Yup. The goal of wifind is to do exactly this, the moment I resume my laptop, without my interaction. May I know what's triggering it? I have something similar, but I need to click on a button to run it. Cheers, -- Étienne
Re: wifind(8) find your wifi
On 06/03/16 14:31, Raf Czlonka wrote: May I know what's triggering it? I have something similar, but I need to click on a button to run it. /etc/apm/resume I presume :^) man 8 apmd Thanks.
overshooting limits set in login.conf
Hello list, My browser is behaving strangely, and I suspect it's hitting the limits set in login.conf. Is there a way to log when a limit has been hit, what the PID was, and more? I would happily spend the time to tweak them to match my usage of the browser, but I'm a little bit blind regarding what to change, and for what value. How would you proceed? Cheers,
Re: overshooting limits set in login.conf
On 07/07/16 13:56, Ted Unangst wrote: Etienne wrote: My browser is behaving strangely, and I suspect it's hitting the limits set in login.conf. Is there a way to log when a limit has been hit, what the PID was, and more? I would happily spend the time to tweak them to match my usage of the browser, but I'm a little bit blind regarding what to change, and for what value. How would you proceed? There's no log, but you might guess by watching top. Are you using firefox? It handles low memory by segfaulting. I'm using Chromium and Firefox, and mostly the problem with Chromium. The default staff limit of 1.5GB is usually good for some basic text websites. If you need to look at more complicated sites, you might try raising the limit beforehand. I find 4GB (ulimit -d 4123123) to work reasonably well. I will try that, thanks. -- Étienne
Re: OpenBSD 6.0 release and errata60.html
On 09/02/16 11:56, bytevolc...@safe-mail.net wrote: I have noticed that some people tend to use "I have a doubt" with the meaning "I have a question/issue/problem". This is different from "I'm doubting" which means "I have no confidence in" or "I'm questioning". I think it is important to note here that not everyone speaks fluent English. I think a huge problem within mailing lists in general is the tendency for people to gang up and focus on petty wording issues, and associating "attitude" or "tone" with words, focusing on the point of a post itself. Completely agree, worth mentioning again and again. -- Étienne
Re: Backup strategies
On Sat, 31 Jan 2009 13:03:11 + (UTC) Stuart Henderson wrote: > On 2009-01-31, Predrag Punosevac wrote: > > I am seeking advice about the backup strategies and possible use > > of CVS to accomplish this task. > > .. > > > I have seen a thread about 2-3 months ago on misc in which there > > was a similar question by a OpenBSD user who wanted to keep his > > /etc on his firewall machines up to date as well as back up > > configuration files in the case of the disaster by CVS. > > CVS is great for text based config files, and has the advantage it's > in base. but it's slow at some things, and sometimes it can e.g. be > nice to have access to the whole revision history whichever machine > you're using.. > > you might find something like git or hg works better for you, or > you might find CVS is fine, or you might find your current method > is really the most appropriate to how you work. > > it's really a personal thing, try some alternatives and see which > you get along with best. i kinda like cpio for fast backup of filesystems... for large media files (think anime movies) -- I think its generally best to just burn them on a iso.. cheers! erob
Re: Unfortunate dot was ... missing
On February 24, 2009 01:43:18 pm you wrote: > All, > > I just forget the dot !! in the 'rm -r ./dev' so I have no /dev anymore > on my server box. > One can tell me if this is possible to backup the system without freshh > install ? > This is a i386 4.4 OpenBSD. One could eventually send me a way or > another the full /dev in case this option actually works ? > > Thanks > JF If you have a root disk somewhere you could perhaps use that a temporary root filesystem. I think it should have /dev in it.. my 2 cents, erob
Re: 4.5 arrived in Canada
cool, i'll look forward for getting a boxed copy... :) any ideas where to find one of those in montreal ? Regards and congrats for the release! - erob On April 17, 2009 12:37:22 pm Jean-Francois wrote: > Absolutely *Splendid* > > As of today for order to France what is the channel ? > > Regards, > > Jean-Frangois > > Le vendredi 17 avril 2009 18:29:43, vous avez icrit : > > This year I was watching more closely for pre-order page to be updated > > and paid a few extra bucks for express shipping. > > > > Same picture - two sizes: > > > > 0.5M: http://gallery.bax.on.ca/OpenBSD45s.jpg > > 5.0M: http://gallery.bax.on.ca/OpenBSD45.jpg > > > > Frank
How to upgrade libstdc++ to 4.2 ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, Is there a way for building libstdc++ and friends without having to do a ``make build'' in /usr/src ? I've managed to upgrade gcc to 3.3.5, but I get the following issue when compiling a fresh kernel from today's head branch: mkdir -p /usr/src/sys/arch/i386/compile/GENERIC/lib/kern making sure the kern library is up to date... `libkern.o' is up to date. making sure the compat library is up to date... `libcompat.a' is up to date. sh /usr/src/sys/arch/i386/compile/GENERIC/../../../../conf/newvers.sh cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized - Wno-format -Wno-main -fno-builtin-printf -fno-builtin-log -O2 -pipe -nostdinc - I. -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch -I/usr/src/sys/arch /i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKME MSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMP AT_35 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS - DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DP PP_DEFLATE -DMROUTING -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS -DACPIVERBOSE -DPCIVERBO SE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD - DWSDI! SPLAY_DEF rm -f bsd ld -Ttext 0xD0100120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o vfs_bio.o(.text+0x171): In function `bufinit': : undefined reference to `buf' vfs_bio.o(.text+0x193): In function `bufinit': : undefined reference to `buffers' vfs_subr.o(.text+0x1ca4): In function `vfs_syncwait': : undefined reference to `buf' vfs_subr.o(.text+0x1d5d): In function `vfs_syncwait': : undefined reference to `buf' ffs_subr.o(.text+0x231): In function `ffs_checkoverlap': : undefined reference to `buf' ext2fs_subr.o(.text+0xc9): In function `ext2fs_checkoverlap': : undefined reference to `buf' uvm_glue.o(.text+0x86): In function `uvm_kernacc': : undefined reference to `buffers' machdep.o(.text+0x367): In function `allocsys': : undefined reference to `buf' machdep.o(.text+0x397): In function `setup_buffers': : undefined reference to `buffers' machdep.o(.text+0x48f): In function `setup_buffers': : undefined reference to `buffers' *** Error code 1 Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 702 of Makefile). Here's some details: cc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.2/3.3.5/specs Configured with: Thread model: single gcc version 3.3.5 (propolice) uname -a OpenBSD flick 4.2 GENERIC#1 i386 (I know this question is not quite related with the bug outlined above but at least it could help to get the kernel compiling :] Also, for extra bonus points, I'm not sure why a 'basic_file.h' file is missing when trying to build libstdc++: cd /usr/src make build ... lot's of lines here skipped for readability but included in attachment ... install: ./i386-unknown-openbsd4.2/bits/basic_file.h: No such file or directory *** Error code 71 Any ideas what should be done for upgrading libstdc++ to 4.2 ? Regards, - -Etienne iEYEARECAAYFAkb1xLUACgkQdXKAffkXj4OUQgCfR0nL6doj45ydgjD4vTsYHD9X UCgAoL8EFbMGrYfoyjswy+3sXkF/7dKu =ip5E -END PGP SIGNATURE- [demime 1.01d removed an attachment of type application/octet-stream which had a name of out]
Re: Instant Messenger (CLI-based multi-protocol)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Sean, While thinking about your post, you could most likely install an alternative icq client by either looking on some websites, or perhaps by taking a peek at the FreeBSD ports collection (in the ``net-im ''category). As an alternative, maybe you could try compiling ``ysm`` ? [1] Regards, Etienne 1. http://ysmv7.sourceforge.net/ On Sat, 22 Sep 2007 20:05:57 -0500 Sean Darby <[EMAIL PROTECTED]> wrote: > I'm not sure if my message (below) went through, it didn't seem to post. > Attempting again. Sorry if duplicated. > > Subject: Instant Messenger (CLI-based multi-protocol) > > Hi, > > I have been wanting to switch from a GUI "meta"-type chat (uses Yahoo, AIM, > etc.) to terminal/CLI-based. I came across "centericq" (apparently it works > with multiple protocols) though when trying to install it I get... > > $ sudo make > ===> centericq-4.9.11p0 is marked as broken: requires update but new version > has issues. > > I'm not a computer guru... don't really know how to resolve that issue. > > I'm running OpenBSD 4.1 and that install attempt was straight out of 4.1's > unaltered ports tree. > > ( /usr/ports/net/centericq ) > > I'm wondering if I have somehow messed up my ports (not sure how, I set them > up exactly as instructed) :( or perhaps the actual application in the 4.1 > ports just comes like that, "broken". I hope not. > > Is there a better program out there somewhere that is CLI-based for using > chat with Yahoo, AIM, MSN, ICQ, IRC, and Jabber? > > (Or is there a way to get "centericq" to install/work?) > > Better yet... one with encryption options? > > Thank you very much for your help! > > Sean iEYEARECAAYFAkb10BgACgkQdXKAffkXj4OmJACfaknkLBCrddLcPYGxigkCwngX hsQAn0aTylIk5Z9OFQQee1tsbGUxvSnr =yFMI -END PGP SIGNATURE-
Re: How to upgrade libstdc++ to 4.2 ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Joachim, I agree that using a snapshot or waiting for a tarball to be available could be an easier way to upgrade libstc++ to 4.2. However, I'm curious to know if libstdc++ can be compiled with the GCC and binutils, without having to upgrade the whole system. Note that I'm not implicitely seeking technical support here -- only trying to occupy some spare time learning how GCC et al can be used or 'misused' in OpenBSD.. Regards, Etienne On Sun, 23 Sep 2007 21:52:00 +0200 Joachim Schipper <[EMAIL PROTECTED]> wrote: > On Sat, Sep 22, 2007 at 09:43:34PM -0400, Etienne Robillard wrote: > > Greetings, > > > > Is there a way for building libstdc++ and friends without > > having to do a ``make build'' in /usr/src ? > > Why not install a snapshot [1]? It is a lot easier... > > Joachim > > [1] If you really mean to upgrade to 4.2, `why not wait for the tarballs > to become available'. Upgrading from one release to another by compiling > is very much not supported. iEYEARECAAYFAkb3A2gACgkQdXKAffkXj4Mt9QCfVw3gqCeZKJApfqzvdN9g79ZT 1h8AoLeUMM7hJb4yzscvHGQf6+CG51Uq =hUfz -END PGP SIGNATURE-
Re: console xterm
On Tue, 12 Aug 2008 15:32:47 -0700 (PDT) martin0641 <[EMAIL PROTECTED]> wrote: > Is it possible to make the console, not running X, display colors for files > and directories? > -- > View this message in context: > http://www.nabble.com/console-xterm-tp18953785p18953785.html > Sent from the openbsd user - misc mailing list archive at Nabble.com. > Perhaps. But I'd simply use `ls -FG' for that.. in ~/.kshrc put: alias ls='ls -FG' Regards, -Etienne
Re: console xterm
On Wed, 13 Aug 2008 10:56:35 +0200 ropers <[EMAIL PROTECTED]> wrote: > 2008/8/13 T. Ribbrock <[EMAIL PROTECTED]>: > > On Wed, Aug 13, 2008 at 07:26:52AM +0200, ropers wrote: > > [...] > >> Is there a way to have a colour ls and still be able to page through it? > > > > With gls (which I use), there is. Example: > > Ah! gls = gnuls I suppose. I see there's a 4.3 package for gnuls. > > > gls -lF --color=always|less -r > > > > Suitable aliases should do the rest, I suppose. You'll have to use less > > with '-r', otherwise the colour control codes are not interpreted. This > > can have some downsides - see "man less". > > Smashing! I'll look into that. > > Thanks a bunch! :) > --ropers > how about: export TERM=cons25 alias ls='colorls -FG' Sorry i confused freebsd console (cons25) with obsd console (vt220), but with cons25 and colorls the console looks pretty.. ;) Regards, -Etienne
Re: console xterm
On Wed, 13 Aug 2008 17:08:02 + (UTC) [EMAIL PROTECTED] (Christian Weisgerber) wrote: > Etienne Robillard <[EMAIL PROTECTED]> wrote: > > > export TERM=cons25 > > Bad. > > > alias ls='colorls -FG' > > > > Sorry i confused freebsd console (cons25) with obsd console (vt220), but > > with cons25 and colorls the console looks pretty.. ;) > > The proper terminal type would be TERM=wsvt25. The colorls package > description actually says as much. > > -- > Christian "naddy" Weisgerber [EMAIL PROTECTED] > Yeah. Thanks for the clarification. Although setting the terminal type to `cons25' seems like getting colored ls output, its breaking my keyboard mapping apart.. :) Regards, -Etienne
rtw0 is playing games with me (again)
Hi, I've reinstalled OpenBSD 4.3 from scratch and tried to set up networking with the rtw driver but I couldn't make it work with dhclient.. Is this a known issue ? I've updated /usr/src to a recent current tree but I'm stuck trying to compile the base system... :-) I thought maybe rtw0 will work in 4.4-current, or perhaps the nic is damaged, but apparently it seem to work well with ifconfig, so I'm kinda clueless. Any pointers how to get rtw0 working in OpenBSD 4.3 would be kindly appreciated. Thanks! erob -- Etienne Robillard Software Developer, Green Tea Hackers Club Mobile phone number: 514-962-7703 Website: http://gthc.org/ Email: robillard.etienne (at) gmail.com
Re: rtw0 is playing games with me (again)
On Thu, 11 Sep 2008 05:54:18 +0100 Tomas Bodzar <[EMAIL PROTECTED]> wrote: > Hi, > > Just my view as a beginner with this system (or BFU :-)).Using -current or > following -stable is easy.I was trying following -current ,but found,that > using snapshots is soo easy and that following -current is not really > good idea for people like me,which are in phase of learning this system. > > So now I use snapshots on my desktop at home and in Qemu.I have -release only > in MS Virtual Server for some databases needed for testing.And this is not so > important,so I can wait for next -release with upgrade. > > Tomas > Hi Tomas, Yeah me too I used to track -current, since I think this was the only way I managed to run successfully the rtw driver with my nic (a netgear something, aka el cheapo). I recalled that I must have managed to compile 4.3-current for that specific purpose, otherwise I'd experiment the same (moderately frustrating) problem with dhclient(8). Although it used to work with my all messed up 4.3-current, I've nuked the whole /usr filesystem and reinstalled OpenBSD 4.3, in hope that the 4.3-release iso would have the right code for this cheap ass nic card. It seems I will have to wait on 4.4-release, or perhaps I could take a guess and pick another snapshot and burn it on a cd, or even debug rtw armed with my guts and dr pepper :-) Thanks! - Etienne
Re: rtw0 is playing games with me (again)
On Thu, 11 Sep 2008 10:06:23 -0400 Etienne Robillard <[EMAIL PROTECTED]> wrote: > On Thu, 11 Sep 2008 05:54:18 +0100 > Tomas Bodzar <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Just my view as a beginner with this system (or BFU :-)).Using -current or > > following -stable is easy.I was trying following -current ,but found,that > > using snapshots is soo easy and that following -current is not really > > good idea for people like me,which are in phase of learning this system. > > > > So now I use snapshots on my desktop at home and in Qemu.I have -release > > only in MS Virtual Server for some databases needed for testing.And this is > > not so important,so I can wait for next -release with upgrade. > > > > Tomas > > > > Hi Tomas, > > Yeah me too I used to track -current, since I think this was the only way I > managed > to run successfully the rtw driver with my nic (a netgear something, aka el > cheapo). > > I recalled that I must have managed to compile 4.3-current for that specific > purpose, > otherwise I'd experiment the same (moderately frustrating) problem with > dhclient(8). > > Although it used to work with my all messed up 4.3-current, I've nuked the > whole /usr > filesystem and reinstalled OpenBSD 4.3, in hope that the 4.3-release iso > would have > the right code for this cheap ass nic card. It seems I will have to wait on > 4.4-release, > or perhaps I could take a guess and pick another snapshot and burn it on a > cd, or even > debug rtw armed with my guts and dr pepper :-) > > Thanks! > > - Etienne Ok so it rtw works fine with OpenBSD 3.9. I believe it used to work in 4.2 too, but I'm still amazed that neither 4.3 nor 4.4 managed to work for me with this driver. Ah well, I'm back in 2005 a.d. I'd be interested in tracing when/where exactly rtw has become bogus in 4.3/4.4. My hypothesis is that somehow the semantics of the ieee80211 stack have changed radically between 3.9 -> 4.3, thus making the rtw driver unfunctional with dhclient. I also recall a similar issue in FreeBSD 8.0, where a pseudo-device `vlan' is used for doing link aggregation. Perhaps the `trunk' pseudo-device is having the same issues than for configuring dhclient with the vlan device ? Best regards, Etienne
Re: upgrade 4.2 (i386) -> 4.3 (amd64)
On Thu, 1 May 2008 18:14:17 + (UTC) Stuart Henderson <[EMAIL PROTECTED]> wrote: > On 2008-05-01, Marten Rizwan <[EMAIL PROTECTED]> wrote: > > I have am Opteron box that is running 4.2 i386 right now, due to the fact > > that > > cvsupd doesn't compile on amd64. However, I've converted to cvsync and I am > > willing to upgrade to amd64. I'm almost positive such upgrade is unsuported; > > however, maybe someone has succeeded in upgrading this way. I'm just > > planning > > to go through regular upgrade, hoping that most of the stuff will get > > overwritten to amd64 libs and binaries. Please let me know if that's a > > terrible idea before I proceed. I could obviously do a clean install, but it > > would take little more effort to complete. > > It can work, but to be honest it's one of those "if you need to ask > you probably shouldn't be doing it"... > > If you keep a list of your currently-installed packages and a copy > of /etc (as well as, of course, any more obvious user data) it's > probably not a great deal more work to reinstall than "cross-upgrade". In any cases one is still interested in upgrading GNU libstdc++ from OpenBSD (3.9) 4.1 to 4.2 (and maybe 4.3): http://gthc.org/papers/upgrading-libstdc++-to-openbsd-4.2.txt Comments and improvements are welcomed. :) Regards, Etienne -- Etienne Robillard <[EMAIL PROTECTED]>
[Perl] can't delete packages with pkg_delete
Hi I'm using OpenBSD 4.3 with Perl 5.8.8, but somehow I cannot remove packages anymore: $ sudo pkg_delete -F dependencies opera-9.27 Can't locate sys/ttycom.ph in @INC (did you run h2ph?) (@INC contains: /usr/libdata/perl5/i386-openbsd/5.8.8 /usr/local/libdata/perl5/i386-openbsd/5.8.8 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl /usr/local/lib/perl5/site_perl .) at /usr/libdata/perl5/OpenBSD/ProgressMeter.pm line 49. Any ideas what could cause this, or do I need to recompile Perl from the base distribution ? Thanks in advance Etienne
Re: [Perl] can't delete packages with pkg_delete
On Mon, 16 Jun 2008 11:07:33 -0600 "Philip Guenther" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 10:18 AM, Etienne Robillard > <[EMAIL PROTECTED]> wrote: > > I'm using OpenBSD 4.3 with Perl 5.8.8, but somehow > > I cannot remove packages anymore: > > > > $ sudo pkg_delete -F dependencies opera-9.27 > > Can't locate sys/ttycom.ph in @INC (did you run h2ph?) (@INC contains: > > /usr/libdata/perl5/i386-openbsd/5.8.8 > > /usr/local/libdata/perl5/i386-openbsd/5.8.8 /usr/libdata/perl5 > > /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd > > /usr/libdata/perl5/site_perl/i386-openbsd > > /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl > > /usr/local/lib/perl5/site_perl .) at > > /usr/libdata/perl5/OpenBSD/ProgressMeter.pm line 49. > > > > Any ideas what could cause this, or do I need to recompile Perl > > from the base distribution ? > > The necessary file is part of the base install: > > $ tar tzf base43.tgz | grep ttycom.ph > ./usr/libdata/perl5/site_perl/i386-openbsd/sys/ttycom.ph > > (So something running as root removed a file that it shouldn't have.) > > > Philip Guenther Hi Philip, Hm... I don't have the base43.tgz package since I recompiled the whole base system from a previous release. $ locate ttycom.ph /usr/libdata/perl5/site_perl/i386-openbsd/sys/ttycom.ph $ cd /usr/include; h2ph -r -l . Now it works but for some reasons I had to run h2ph as above. Otherwise 'locate' would find the file but apparently it was still not in a usable state. Thanks! Etienne
Virtual consoles : device not configured, ultrasparc IIi
Hi, I'm trying to install openbsd on an ultrasparc IIi, and I need to run an X server on it. Unfortunately, I can't get several consoles : # echo "Hi, console" > /dev/ttyC0 Hi, console # echo "Are you configured ?">/dev/ttyC1 ksh: cannot create /dev/ttyC1 : Device not configured Is this a bug, or is there a way to get it to work ? Thanks, P.E. Meunier