Fwd: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Sven-Volker Nowarra
>> ... >> >> $ ./tftpd_rewrite >> $ doas chgrp _tftpd /tmp/tftpd_rewrite.sock ; doas chmod g+w /tmp/tftpd_rewrite.sock >> $ doas tftpd -v -r /tmp/tftpd_rewrite.sock /home/vm >> >> $ tftp 127.0.0.1 >> tftp> get /etc/boot.conf >> Received 38 bytes in 0.0 seconds >> >> $ syslogc daemon | tail -n1 >> J

Re: Copy files to usb (slow)

2017-01-29 Thread G
Thanks. I used a 3.0 usb stick(msdos) and i get 6.6mb/sec. I guess its ok. thanks for your answer. On 01/29/17 23:31, edward wandasiewicz wrote: > From your dmesg, your machine has USB 3.0 hardware ports > > usb0 at xhci0: USB revision 3.0 > > and you're using a USB 2.0 flash drive - rev 2.00/1

Re: Copy files to usb (slow)

2017-01-29 Thread edward wandasiewicz
>From your dmesg, your machine has USB 3.0 hardware ports usb0 at xhci0: USB revision 3.0 and you're using a USB 2.0 flash drive - rev 2.00/1.10 umass0 at uhub0 port 2 configuration 1 interface 0 "Kingston DataTraveler 2.0" rev 2.00/1.10 addr 6 You could upgrade to a USB 3.0 flash drive. On US

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Sven-Volker Nowarra
> Am 29.01.2017 um 14:23 schrieb Jiri B : > >>> Isn't better to use rewrite/file remapping instead of hacking pxeboot? >>> If an i386 machine would request /etc/boot.conf via tftp you could rewrite >>> it to (based on fact you know that that machine is i386 - during provisioning) >>> /etc/i386/boot

Re: Copy files to usb (slow)

2017-01-29 Thread Ali Farzanrad
G wrotes: >Hello. >Im trying to copy files from my laptop to a usb stick. >The speed varies between 300kB/sec and 400kB/sec. Its really slow. I also have the same problem. It seems that block files are slow and it is not possible to mount raw files. I tested it with dd(1) and found that fastest w

Copy files to usb (slow)

2017-01-29 Thread G
Hello. Im trying to copy files from my laptop to a usb stick. The speed varies between 300kB/sec and 400kB/sec. Its really slow. my fstab is ef1bca26af91f0cd.b none swap sw ef1bca26af91f0cd.a / ffs rw,softdep 1 1 ef1bca26af91f0cd.k /home ffs rw,softdep,nodev,nosuid 1 2 ef1bca26af91f0cd.d /tmp ffs

FTP proxy not listing certain directories?

2017-01-29 Thread Kaya Saman
Hi, as I have now managed to get back into my OBSD system I have tested ftp again from clients yet still even with the recent upgrade I seem to be unable to list certain directories?? I have checked the option flags for ftpproxy (man ftpproxy) however, couldn't find anything of help. An

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Jiri B
> > Isn't better to use rewrite/file remapping instead of hacking pxeboot? > > If an i386 machine would request /etc/boot.conf via tftp you could rewrite > > it to (based on fact you know that that machine is i386 - during > > provisioning) > > /etc/i386/boot.conf. For the client I suppose it woul

Re: installXX.fs build

2017-01-29 Thread Thuban
* Jiri B le [27-01-2017 17:01:17 -0500]: > On Fri, Jan 27, 2017 at 08:29:08PM +0100, Thuban wrote: > > Hi, > > > > Just by curiosity, I was wondering how installXX.fs file is build? > > https://github.com/openbsd/src/blob/master/distrib/amd64/iso/Makefile#L9 > > j. Thanks. [demime 1.01d removed