Clarification about mfs/tmpfs on /tmp
Dear OpenBSD Community, I have been playing around with OpenBSD for ~2 weeks now, and I find myself very much at home in a system that puts correctness and careful development first. Needless to say that I have already made my first donation; I sincerely thank the developers for their time and effort. I plan to commit fully to OpenBSD on my laptop as soon as 6.4 stable is out, but before doing so, I have one remaining question: I would like to have either an mfs or tmpfs instance mounted at /tmp. I have already managed this by using an appropriate entry in fstab, but I have noticed, that the system also works, if fstab contains NO entry for /tmp. The first part of is: What is the default behavior in this case? Is an instance of mfs/tmpfs mounted with default parameters? The second part to my question is: What is the key difference between mfs and tmpfs? Should I prefer one over the other? The last part of my question concerns caching chromium data in /tmp. I have read that the OpenBSD chromium port has been "pledged" and "unveiled". Does this have any influence over whether I can run chrome --disk-cache/dir=/tmp/chrome? Thank you for taking the time to read my question. Kind regards, R.
Re: Dual boot OpenBSD with DragonFly BSD
I second this approach... 1 sep further you could go is with a laptopwith a 2.5 inch sata slot and an m sata slot Install each os on separate internal drives That way you can use the bios / boot menu to select the diskand hence the os u wish to boot... Hope this helps On Mon 8 Oct 2018, 15:17 Henrik Engmark, wrote: > This will be yet another non-answer to your question, I am fully aware, > but maybe it will be applicable to your situation. > > I always found dual booting with OpenBSD a little bit cumbersome > compared to other OSes. > Whenever I want to "dual boot" my OpenBSD client computers I > install the second OS to its own usb drive with its own mbr, leaving > the internal drive untouched. > When I want to boot the secondary OS I just interrupt the normal > boot process with whatever F-key and choose to boot from the stick. > Has served me well for many years, and makes it very easy to try out > different secondary OSes, as long as I consider OpenBSD my main. > > Regards, > Henrik > > -Original message- > > From: Dr. Martin Ivanov [mailto:martin.iva...@greenpocket.de] > > Sent: den 7 oktober 2018 16:23 > > To: misc@openbsd.org > > Subject: Dual boot OpenBSD with DragonFly BSD > > > > Hello, I am a Linux (Slackware) fan who is keen to try the BSD flavour > as well. I am planning to buy a new laptop, on which to install OpenBSD and > DragonFly BSD in a dual boot set up. I know this is a challenging task, so > I will proceed step by step. > > > > > > My first question is, which operating system has to be installed first, > DragonFly of OpenBSD? Assuming that it is DragonFly, I am planning to: > > > > > > 1. Load DragonFly using a USB boot disk and login as root > > > > 2. Slice the hard drive in two GPT slices using gpt (e.g., das0 and > > das1) > > > > 3. Create a, b, and d disklabel partitions on the Dragonfly slice > > (das0) > > > > 4. Install DragonFly on das0 > > > > 5. Create a, b, d, e, and probably some more disklabel partitions on > > the OpenBSD slice (das1) > > > > 6. Install OpenBSD on das1 > > > > Please correct me on any of the above steps. I will be happy to read > your suggestions. I would be very thankful if you provide the corresponding > commands in your answers. > > Thank you very much in advance! > >
Re: want.html: Unifi wifi gear for interop debugging
Good Gawd people, quit complaining about your "donation". If you want to support a dev buy the gear and ship it to them. I used to do it a fair bit, but can't any more because of pressing family member health issues. diana
Re: Dual boot OpenBSD with DragonFly BSD
I'm currently running rEFInd to dual boot Win10/OBSD on a Lenovo T460s. Just resized the Win10 partition, booted OBSD ramdisk, installed it on the spare space, and then installed fEFInd over the NT boot manager. To my surprise, it was a pretty painless procedure. And solid: just once in the last couple years a Win update mangled the boot manager and kidnapped the SSD, but reinstalling rEFInd over was just a two minutes fix. Good luck! El lun., 8 oct. 2018 a las 16:07, Henrik Engmark () escribió: > > This will be yet another non-answer to your question, I am fully aware, > but maybe it will be applicable to your situation. > > I always found dual booting with OpenBSD a little bit cumbersome > compared to other OSes. > Whenever I want to "dual boot" my OpenBSD client computers I > install the second OS to its own usb drive with its own mbr, leaving > the internal drive untouched. > When I want to boot the secondary OS I just interrupt the normal > boot process with whatever F-key and choose to boot from the stick. > Has served me well for many years, and makes it very easy to try out > different secondary OSes, as long as I consider OpenBSD my main. > > Regards, > Henrik > > -Original message- > > From: Dr. Martin Ivanov [mailto:martin.iva...@greenpocket.de] > > Sent: den 7 oktober 2018 16:23 > > To: misc@openbsd.org > > Subject: Dual boot OpenBSD with DragonFly BSD > > > > Hello, I am a Linux (Slackware) fan who is keen to try the BSD flavour as > > well. I am planning to buy a new laptop, on which to install OpenBSD and > > DragonFly BSD in a dual boot set up. I know this is a challenging task, so > > I will proceed step by step. > > > > > > My first question is, which operating system has to be installed first, > > DragonFly of OpenBSD? Assuming that it is DragonFly, I am planning to: > > > > > > 1. Load DragonFly using a USB boot disk and login as root > > > > 2. Slice the hard drive in two GPT slices using gpt (e.g., das0 and > > das1) > > > > 3. Create a, b, and d disklabel partitions on the Dragonfly slice > > (das0) > > > > 4. Install DragonFly on das0 > > > > 5. Create a, b, d, e, and probably some more disklabel partitions on > > the OpenBSD slice (das1) > > > > 6. Install OpenBSD on das1 > > > > Please correct me on any of the above steps. I will be happy to read your > > suggestions. I would be very thankful if you provide the corresponding > > commands in your answers. > > Thank you very much in advance! >
Dual boot OpenBSD with DragonFly BSD
This theoretically is doable but will be a challenge. Your options will also swing on whether the laptop you purchase will boot an old MBR scheme or is restricted to GPT/UEFI. DragonflyBSD has instructions on multibooting an older MBR. https://www.dragonflybsd.org/docs/handbook/Booting/ If you need GPT/UEFI, then you choosing a bootloader that is capable of GPT/UEFI dual booting. According to OpenBSD FAQ, Grub2 or reFIND will work. https://www.openbsd.org/faq/faq4.html#Multibooting -- J. Scott Heppler
Re: Monitoring system
Thanks alot! I needed to symlink the files to enable them to be libs in php On October 6, 2018 9:41:29 PM UTC, Richard Toohey wrote: >On 10/07/18 09:05, flipchan wrote: >> My phpinfo: dpaste.com/0VDR4TE >Have you looked in /usr/local/share/doc/pkg-readmes/ for anything >useful. > >I've moved off PHP 5.6 so not exactly sure what the file will be >called. > >The instructions for 7.0.31: > > /usr/local/share/doc/pkg-readmes/php-7.0.31 > >... include instructions about what to do for some extensions so you >/may/ need to do something similar. > > >- some 'core' extensions with extra dependencies are packaged >separately >(e.g. php-pdo_mysql, php-ldap, php-soap, and others) and can be >installed >with pkg_add(1). >... >For all extensions packaged separately (and for opcache), you will find >a >file named /etc/php-7.0.sample/(MODULE_NAME).ini. To enable it, >add a symlink into /etc/php-7.0 and restart: > > ln -sf ../php-7.0.sample/MODULE_NAME.ini /etc/php-7.0/ > > >Obviously these instructions will not be directly applicable in your >case, but do have a look in /usr/local/share/doc/pkg-readmes for >anything php-related. >> >> On October 6, 2018 4:42:16 PM UTC, Stuart Henderson > wrote: >>> On 2018-10-06, Richard Toohey wrote: On 10/06/18 07:16, Stuart Henderson wrote: > On 2018/10/05 17:35, flipchan wrote: >> It's weird because I have no error files that it describes the >>> error in, I am promted with >> "Configuration file errror DB type MYSQL is not supported by >>> current setup" I don't think the issue here - but if you are using PHP 7 make sure mysqli is used. http://php.net/manual/en/mysqlinfo.api.choosing.php >>> It all depends what zabbix-web wants. If it's written to use one >>> specific >>> api then you will need to use the module providing that. pdo_mysql >is >>> probably the most common nowadays. -- Take Care Sincerely flipchan layerprox dev
Re: Dual boot OpenBSD with DragonFly BSD
This will be yet another non-answer to your question, I am fully aware, but maybe it will be applicable to your situation. I always found dual booting with OpenBSD a little bit cumbersome compared to other OSes. Whenever I want to "dual boot" my OpenBSD client computers I install the second OS to its own usb drive with its own mbr, leaving the internal drive untouched. When I want to boot the secondary OS I just interrupt the normal boot process with whatever F-key and choose to boot from the stick. Has served me well for many years, and makes it very easy to try out different secondary OSes, as long as I consider OpenBSD my main. Regards, Henrik -Original message- > From: Dr. Martin Ivanov [mailto:martin.iva...@greenpocket.de] > Sent: den 7 oktober 2018 16:23 > To: misc@openbsd.org > Subject: Dual boot OpenBSD with DragonFly BSD > > Hello, I am a Linux (Slackware) fan who is keen to try the BSD flavour as > well. I am planning to buy a new laptop, on which to install OpenBSD and > DragonFly BSD in a dual boot set up. I know this is a challenging task, so I > will proceed step by step. > > > My first question is, which operating system has to be installed first, > DragonFly of OpenBSD? Assuming that it is DragonFly, I am planning to: > > > 1. Load DragonFly using a USB boot disk and login as root > > 2. Slice the hard drive in two GPT slices using gpt (e.g., das0 and > das1) > > 3. Create a, b, and d disklabel partitions on the Dragonfly slice > (das0) > > 4. Install DragonFly on das0 > > 5. Create a, b, d, e, and probably some more disklabel partitions on > the OpenBSD slice (das1) > > 6. Install OpenBSD on das1 > > Please correct me on any of the above steps. I will be happy to read your > suggestions. I would be very thankful if you provide the corresponding > commands in your answers. > Thank you very much in advance!
Re: u-boot loader edgerouter
Hi Did the test on my ERLs also: I upgraded to ubnts rel 1.10.7 and installed new firmware image via CLI. USB Stick Rebooted for installing OpenBSD snapshot in uboot: --- reset usb reset fatload usb 0 $loadaddr bsd.rd bootoctlinux rootdev=sd0 numcores=2 -- Installing octeon current snapshot of 7th October on USB stick went through, everything . After installing OpenBSD I rebooted manually (works): --- usb reset fatload usb 0 $loadaddr bsd bootoctlinux rootdev=sd0 numcores=2 --- What will not work currently with this ERL is to save the env and new firmware pops an allocation error (equally if ubnt vyatta or OpenBSD): --- U-Boot 1.1.1 (UBNT Build Version: e102_001_6e3d0) (Jul 27 2018 - 04:24:06) BIST check passed. UBNT_E100 r1:2, r2:18, f:8/135, serial #: SANITIZED MPR 13-00318-18 Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate) DRAM: 512 MB Clearing DRAM... done ERROR: Unable to allocate linux reserved memory (addr: 0x10, size: 0x800). Flash: 4 MB Net: octeth0, octeth1, octeth2 USB: (port 0) scanning bus for devices... 1 USB Devices found scanning bus for storage devices... Device 0: Vendor: SanDisk Prod.: Cruzer Fit Rev: 1.00 Type: Removable Hard Disk Capacity: 15264.0 MB = 14.9 GB (31260672 x 512) leds_init 206 0 Octeon ubnt_e100# Octeon ubnt_e100# setenv old_bootcmd "${bootcmd}" Octeon ubnt_e100# setenv bootcmd 'reset; usb reset; fatload usb 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0 numcores=2' Octeon ubnt_e100# setenv bootdelay 5 Octeon ubnt_e100# saveenv Saving Environment to Flash... Error: start and/or end address not on sector boundary Octeon ubnt_e100# ---
Re: want.html: Unifi wifi gear for interop debugging
On 2018-10-07, Mihai Popescu wrote: > Excuse me for this email, but why the hell many trolls have protonmail > email addresses? > > Just curious, thanks. Obviously our attempts at breaking protonmail in browsers didn't work well enough /s
Re: USB Audio, Serial Terminal
On 2018-10-08, Katherine Rohl wrote: > The first is using my USB headphones. I’ve tried following the instructions > in the FAQ (making sure that the audio device is set to the correct uaudio) > but to no avail. I’ve disabled my system’s onboard AC’97 audio to make sure > that there is only one audio device (confirmed with dmesg, my headphones show > up as uaudio0). Which configuration stuff do I need to post for y’all to help > me? :( The output from "dmesg" would help (the whole thing please, don't trim it). "usbdevs -v" would also be good to have. If they are connected to a controller attached as XHCI (USB-3), as Stefan mentioned, they won't work. Sometimes there might be a BIOS setting to disable USB-3 and use USB-2 instead, which may help. Or you can disable the xhci driver in the kernel, sometimes the controller will attach as USB-2 instead, sometimes it won't attach at all (which can be a problem if your keyboard needs it). Anyway that's worth a try - at the "boot>" prompt type "boot -c", then type "disable xhci" and "quit" if you can still type at that point. > The second is that I have a VT420 serial terminal I’d like to use with > OpenBSD. I have it connected to a PL2303 USB-to-serial adapter. I’ve > successfully connected it to other systems using the USB-to-serial adapter, > but I’m having some problems with connecting it to OpenBSD. I’ve added > entries to ttys for the USB-to-serial adapter and I’ve set it up to use the > regular 9600bps gettytab entry. The terminal is configured for 9600 8N1, no > XON/XOFF, no RTS/CTS handshaking. This would normally look something like ttyU0 "/usr/libexec/getty std.9600" vt420 on secure But you could maybe try "cuaU0" instead of "ttyU0" if you are having problems with hardware control lines (read the tty(4) manual for an explanation of the differences).
Re: USB Audio, Serial Terminal
On Mon, Oct 08, 2018 at 03:10:58AM -0400, Katherine Rohl wrote: > Hi, > > I’ve been using OpenBSD 6.3 for a few weeks and I really like it! There are > only two major things left that I haven’t been able to figure out. > > The first is using my USB headphones. I’ve tried following the instructions > in the FAQ (making sure that the audio device is set to the correct uaudio) > but to no avail. I’ve disabled my system’s onboard AC’97 audio to make sure > that there is only one audio device (confirmed with dmesg, my headphones show > up as uaudio0). Which configuration stuff do I need to post for y’all to help > me? :( > If this machine is using a USB3 controller driven by the xhci(4) driver, then USB audio devices won't work. Support for the data transfer mode these devices use (called "isochronous transfers") is not yet finished. Progress has been slow mostly because developers with the necessary expertise have been busy in areas other than USB. This problem also affects USB video devices. > The second is that I have a VT420 serial terminal I’d like to use with > OpenBSD. I have it connected to a PL2303 USB-to-serial adapter. I’ve > successfully connected it to other systems using the USB-to-serial adapter, > but I’m having some problems with connecting it to OpenBSD. I’ve added > entries to ttys for the USB-to-serial adapter and I’ve set it up to use the > regular 9600bps gettytab entry. The terminal is configured for 9600 8N1, no > XON/XOFF, no RTS/CTS handshaking. > > It connects to my system and I’m able to log in but after 15 seconds or so, > the terminal loses its DSR signal and the connection resets, sending me back > to a new login screen. Anyone have one of these terminals that may be able to > advise me on gettytab settings? Not sure, I have never added an entry to gettytab. For USB serial devices I just run cu(1) like this: cu -l /dev/cuaU0 -s 9600 In fact, 9600 is the default speed so I could omit the -s option in this case, but the -s option is required for other baud rates. Does that work for you? > Other than that, I’m very pleased with the OS, especially with how quiet my > computer is when idle compared to running, say, Windows 10 ;) > That's great :) Glad to hear it is working well for you! > Thank you for your assistance! > > - Katherine >
Re: USB Audio, Serial Terminal
On Mon, Oct 08, 2018 at 03:10:58AM -0400, Katherine Rohl wrote: > > The first is using my USB headphones. I’ve tried following the > instructions in the FAQ (making sure that the audio device is set to > the correct uaudio) but to no avail. I’ve disabled my system’s > onboard AC’97 audio to make sure that there is only one audio device > (confirmed with dmesg, my headphones show up as uaudio0). Which > configuration stuff do I need to post for y’all to help me? :( What's the symptom? no sound at all? distorted sound? You don't need to disable the onboard device; if the usb devices shows as audio1 in dmesg, just add: sndiod_flags='-f rsnd/1' to /etc/rc.conf.local and restard sndiod as: doas rcctl restart sndiod Then play any file, ex. "aucat -i /foo/bar.wav" to see it it works. If it doesn't, first send dmesg (after the test).
USB Audio, Serial Terminal
Hi, I’ve been using OpenBSD 6.3 for a few weeks and I really like it! There are only two major things left that I haven’t been able to figure out. The first is using my USB headphones. I’ve tried following the instructions in the FAQ (making sure that the audio device is set to the correct uaudio) but to no avail. I’ve disabled my system’s onboard AC’97 audio to make sure that there is only one audio device (confirmed with dmesg, my headphones show up as uaudio0). Which configuration stuff do I need to post for y’all to help me? :( The second is that I have a VT420 serial terminal I’d like to use with OpenBSD. I have it connected to a PL2303 USB-to-serial adapter. I’ve successfully connected it to other systems using the USB-to-serial adapter, but I’m having some problems with connecting it to OpenBSD. I’ve added entries to ttys for the USB-to-serial adapter and I’ve set it up to use the regular 9600bps gettytab entry. The terminal is configured for 9600 8N1, no XON/XOFF, no RTS/CTS handshaking. It connects to my system and I’m able to log in but after 15 seconds or so, the terminal loses its DSR signal and the connection resets, sending me back to a new login screen. Anyone have one of these terminals that may be able to advise me on gettytab settings? Other than that, I’m very pleased with the OS, especially with how quiet my computer is when idle compared to running, say, Windows 10 ;) Thank you for your assistance! - Katherine