00:02:56 thanks for all the help 00:02:58 have a good night!! 00:16:02 So what was the conclusion, if any, of mrkiko's EFI issue? 00:17:25 he would need access to the efi loader, freebsd loader is too late 00:18:39 rtprio, Thanks 00:24:20 http://dpaste.com//9T93QACYZ 00:24:22 Title: dpaste: 9T93QACYZ 00:24:22 There is "efibootmgr" which could be used to change the order (use at own risk, etc); then reboot (to see if new order is used to boot in the desired OS) 01:04:58 hello 01:21:18 has anybody ever got ipv6 to work without using one of their images 01:21:34 has anybody ever got ipv6 on ovh to work without using one of their images 01:21:35 sn00p: who's images? 01:21:45 ovh's i misstyped 01:21:54 oh. see what their image is doing and do that with your own 01:22:06 they dont have freebsd nomore 01:22:19 i used to have instructions on how to set it up , but i lost them 01:23:18 i see fantastic unsolved thread from 2017 on the forums 01:23:38 url? 01:23:45 https://forums.freebsd.org/threads/ipv6-host-route-to-on-link-gateway-fails.60347/ 01:23:46 Title: ipv6 -host route to on-link gateway fails | The FreeBSD Forums 01:24:19 jello 01:24:25 hey, does drill behave incorrectly if IPV6 nameservers are listed? 01:24:26 so it has a 128? 01:25:31 this link says just use route advertisement 01:25:58 https://support.us.ovhcloud.com/hc/en-us/articles/4412804434195-How-to-Configure-IPv6-on-a-Dedicated-Server 01:26:09 i'm guessing you tried that 01:26:27 yes 01:26:46 this other link from ovh says you should disable route advertisement.... 01:26:55 awesome 01:27:02 how do I disable route advertisement 01:28:17 i don't beleve it's enabled unless you have a line like ifconfig_lagg0_ipv6="inet6 accept_rtadv" 01:30:39 any ideas on how to fix this 01:30:54 so you enabled rtadv and it didn't get an ip? 01:31:16 i have enabled it already 01:31:48 (and net.inet6.ip6.accept_rtadv=1 ?) 01:32:02 let me try that 01:32:47 its necessary for rtadv to work, but i _thought_ the rc system did it for you 01:33:53 ifconfig_ix0=ipv6="inet accept_rtadv 2001:41d0:1:5db0::1 prefixlen 128 01:33:56 i have this in the rc.cofn 01:33:58 'rc.conf 01:34:18 if you're manually assigning an address, you don't want/need accept_rtadv 01:34:32 it's either or 01:34:38 ok 01:35:12 it still doesn't wo rk 01:35:45 are you `sh /etc/netstart` or rebooting or what 01:35:58 rebooting 01:36:17 but `ifconfig ix0` should show the ip 01:36:22 can you ping the router? 01:36:30 idk which one is the router 01:37:14 they don't tell you in your control panel? no i suppose they wouldn't 01:37:21 hmm 01:37:26 i edited 01:37:33 with prelinlen 32 01:37:42 i get ping6 yahoo.com 01:37:47 but it takes a long time to resolv 01:38:31 without a router i don't think that'd work 01:38:47 where did you get your ipv6 address 01:39:14 ovh 01:39:31 any other information with it? 01:39:39 no 01:39:59 not even a prefixlen? 01:40:07 prefixlen is 64 01:40:15 but I tried 64 then I changed it to 32 01:40:22 it pings it but doesn' tcome back 01:42:15 you need a router 01:42:25 i have a router 01:42:42 what is the address 01:42:48 sec 01:43:23 is it set in rc.conf as ipv6_defaultrouter ? 01:43:30 ipv6_defaultrouter="2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff 01:43:34 " 01:43:35 yes 01:43:55 and does it answer to ping? 01:44:24 how do I ping it, just type that address in? 01:44:34 ping6 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff 01:46:25 it pings it 01:46:27 no resposne 01:47:08 uh 01:47:36 i type that full line 01:47:36 what is `ifconfig_ix0` now? 01:47:50 network inferface 01:48:25 i know it's the network interface dummy, paste it because above you have 'inet' instead of 'inet6' 01:49:06 i have inet6 01:49:08 not inet 01:49:23 inet6 2001:41d0:1:5db0::1 prefixlen 128" 01:49:33 right? 01:50:03 ifconfig_ix0_ipv6="inet accept_rtadv 2001:41d0:1:5db0:1 prefixlen 32 01:50:17 inet6 01:50:19 i mean' 01:50:40 sorry I cant paste i have to type, im doing this kvm 01:50:49 i said take out accept_rtadv 01:50:54 ok 01:51:08 also why aren't you ssh'd into this box 01:51:43 cant login root disabled 01:53:22 ... PermitRootLogin prohibit-password 01:53:34 or create a user that's a member of wheel 01:53:40 don't make things hard on yourself 01:55:11 ok give me a sec 01:56:01 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff 01:56:03 but if that's the gateway they gave you and ip they gave you, maybe paste it in to verify it's correct 01:56:06 this is what ovh says is my gateway 01:56:18 that what it says in the dashboard 01:56:38 but that ip address doesn't appear to be in the network 01:58:20 ok, 01:59:21 are those 0's or O's 02:00:15 zeros 02:01:19 add net default: gateway 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff 02:01:20 root@sn00p:/etc # ping6 google.com 02:01:20 PING6(56=40+8+8 bytes) 2001:41d0:1:5db0::1 --> 2a00:1450:4007:807::200e 02:01:34 -- google.com ping6 statistics --- 02:01:34 12 packets transmitted, 0 packets received, 100.0% packet loss 02:01:43 and I have it set 32 02:01:46 if you can't ping the gateway, it's extremely unlikely anything else will work 02:02:11 i cant ping the gateway 02:02:19 i dont know which one the gateway is 02:02:48 i thought you said it's in the control panel 02:02:56 is it 02:02:57 are there other things in the control panel that will give a clue 02:02:58 it is 02:03:09 just the ivp6 address 02:03:18 and the aother ip4 address 02:04:08 i think it's still prefixlin 64, at least that's what the linux documentation says 02:04:52 if I changes it it says network unreachable 02:05:17 i change it to 64 and it says next unreachable 02:05:35 dd net ::0.0.0.0: gateway ::1 fib 0: route already in table 02:05:36 route: writing to routing socket: Network is unreachable 02:05:36 add net default: gateway 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff fib 0: Network is unreachable 02:06:12 i took out default gateway 02:06:23 ping6 yahoo.com 02:06:24 PING6(56=40+8+8 bytes) 2001:41d0:1:5db0::1 --> 2001:4998:44:3507::8000 02:06:24 ping6: sendmsg: No buffer space available 02:06:38 the numbers don't seem to line up, man 02:07:28 i cant get it fixed 02:08:10 The default gateway for your IPv6 block (IPv6_GATEWAY) is usually xxxx.xxxx.xxxx.xxFF:FF:FF:FF:FF. 02:08:24 that's on the ovh page 02:09:39 i'm getting really pissed at ovh 02:09:43 so your ip would need to be in that network 02:10:11 such as 2001:41d0:0303:a2ff:a:b:c:d prefixlen 64 02:10:18 I may as well install debian again 02:10:33 if you did that, i'd see how they do ipv6 on their image 02:10:40 it wont matter 02:10:44 i tried that already 02:10:45 long ago 02:14:46 i suppose ovh will tell you to go to hell if you approach them with freebsd 02:19:35 and of course ovh 02:19:39 doesn't have a frebsd image anymore 02:29:28 you don't need one, you just need to know how the image provisisioned ipv6 02:29:39 yea 02:29:47 i just opened up a support ticket 04:14:48 helllo 04:44:02 hello mictty 04:46:19 hello Helper 04:46:46 I am trying to support FreeBSD for a compiler project 04:47:56 I don't have an admin environment nor the idea of the layout where packages managed by own users so that users have their own paths for include or sysroot for claang 04:48:48 that is to say I made the compilation works with --sysroot=/ (duh) but I wonder how it is gonna be like in terms of regular user 04:48:49 why not the freebsd handbook? zoidberg! 04:50:09 i know it goes slightly different that depends on how admin configured. So i thought the best is to ask to a bsd admin 04:50:50 https://wiki.freebsd.org/BuildingFreeBSDWithClang 04:50:52 Title: BuildingFreeBSDWithClang - FreeBSD Wiki 04:51:02 llvm/clang foobar 04:51:35 ports build from source and pkg binarys built by some one else 04:52:13 netbsd pkgsrc even more ISA's and os's 04:52:28 its all about abstraction 04:53:25 i say focus on amd64 and risc-v cause arm/uboot/devtree is for the birds 04:53:55 besides the broadcom/softbank ip licensing foo 04:57:37 I mean I need to know how admins typically sandbox users. I need to know how users will get their own packages and place somewhere. I need to know how users would assign their environment variables to use their clang. I need to know typical paths for such an occasion. 04:59:10 I need to make sure users don't really need to configure anything once they try to run this build system 05:00:09 mictty, Unix machines have been used for decades in universities and other teaching environments. You can keep things simple. Or make them as complicated and strong for security as you need. 05:00:26 mutiuser,mutitasking, perhaps UID/GID 05:00:39 The simple case is just to count on regular Unix security in the classic way. 05:00:58 Or you could set everyone up inside their own jail where they are strongly restricted. 05:01:03 The choice is up to you. 05:01:28 3 users https://imgur.com/RWy9j4x sun 2/120 1984 $16,900.00 05:01:29 Title: Imgur: The magic of the Internet 05:01:46 focus on the specs of what was offered 05:02:21 atime,ctime,mtime, solaris bsm audits 05:02:26 That advert from 1984 is so quaint now. 05:02:48 i use to telnet for ada compiler cause my college could not afford them 05:03:02 insecure telnet/ftp 05:03:47 gopher/usenet rocked on amber display 05:05:55 telnet, ftp, rlogin, those were the best available because encryption was a munition restricted by the ITAR. Using encryption then was illegal. 05:06:01 ill beat the dead horse, ive said before in 1995 solaris 2.5.1 for pentium mmx/pro was $600.00 no compilers, meanwhile walnut creek cdrom for $50 came with freebsd/linux and compilers 05:06:27 and sunsite.edu dump 05:07:58 yeah the print the pgp in book to get around government 05:08:25 free speech vs weapons grade encryption 05:09:17 cat file | gpg -e -o file.gpg -r foobarmypassphrase 05:09:23 cat file.gpg | gpg -d -o file.decrypted 05:09:30 pgp/gpg 05:09:51 before all that dmcrypt/luks,truecrypt...etc 05:10:39 rennj: you don't need to cat... 05:10:51 dont be pedantic 05:10:54 hehe 05:11:14 example of pipes is always nice, and im old 05:11:23 let me scream at the clouds 05:12:37 i really need to shadow a bsd admin for a week 05:12:54 eating together 05:18:01 openbsd finding a null deference i want say in ping after 20+ years 05:18:17 fuzz the binary with file 05:18:28 that news 05:20:06 https://discoverbsd.com/p/bc9bd985c3 05:20:10 Title: Fuzzing ping(8) … and finding a 24 year old bug. 05:20:13 submited 11 December 2022 05:20:37 24 years!!!! 05:20:49 haha like lp account on sgi irix no passwd 05:20:53 classic 05:21:10 spam the print server 05:21:16 no paper left 05:21:32 besides ink,toner 05:22:36 https://tlakh.xyz/fuzzing-ping.html?utm_source=discoverbsd 05:22:37 Title: Fuzzing ping(8) 05:29:20 Freebsd 12.3 , install and I can't seem to input / in the guided partitioning.  What am I doing wrong? 05:32:51 rewrite in memory safe lang 05:32:55 the pain 05:33:17 What  language? 05:34:37 golang,rust,jvm/kotlin 05:35:05 or some such effort. like nix and reproducible builds 05:35:33 What are you  making? 05:35:33 avoid the supply chain attacks log4/pip 05:35:42 log4j 05:36:17 nothing different than https://oxide.computer/ trying to provide 05:36:18 Title: Oxide 05:36:42 from the server bsm all the way up the abstraction stack 05:36:44 Man my only coding has been hello world in two different assembly languages. 05:38:28 Okay, installing when you delete a partition, with a file system, how does that show up in the guided partitioning? Does it have to like refresh or something? 05:49:41 Eggshell with Romalian type. What do you think? 05:51:21 "I Have To Return Some Videotapes." 05:55:42 With an installing how do you check if you have internet.  I'm at fetching  base.txz and its on 98% 05:56:50 at 98% you have not figured out yet weather you have internet connection 05:57:08 cause 0% vs 98% 05:57:26 ping,traceroute,netstat 05:57:40 check the man pages 05:57:57 tcpdump/pcap if you really want to dig down 06:00:01 So the fact I have any thing fetching  mean I have connection 06:00:25 yeah the download perhaps timeouted..worse case 06:00:33 tcp/ip keepalive failure 06:01:48 still at 98% ? 06:01:50 Is there a way in the FreeBSD installer, to go back a step and pick a different site to fetch from? 06:02:23 Yes 98% still 06:03:41 oh so close, well take heart, back in the day just to download 700MB iso was 3days on 56K/modem 06:05:02 perhaps try again..no clue on my end 06:05:45 i remember bitching to OEM to include damn checksum on iso 06:05:49 I really do understand, why open source has so many install guides. 06:05:55 md5 let alone sha,des,aes 06:06:34 email them hey guys how about you include a checksum on the iso download 06:06:42 hehe 06:07:07 hmm 56k modem suckage days 06:08:59 the x-modem,z-modem,y-modem,kermit days of yore 06:09:26 you got the ppp account to your isp doing the dialup 06:10:16 hi 06:10:56 hi 06:13:22 :P 06:13:48 i like doing this to my kernel: strip /boot/kernel/kernel 06:20:28 I appear to create a partition, I selected the mount point and hit the backslash and I don't see anything. My keyboard appears to be recognized, I did the little test and typed a bunch of stuff including the backslash, so why can't I see it in the partitioning guided installation? Am I not understanding how the options actually work? 06:49:04 backslash as in "\"? 06:55:08 parv 06:55:25 mictty, Yes? 06:55:46 do you use CXXFLAGS 06:59:30 No, for I do not compile software often enough, outside of The Ports, where that would matter 07:00:18 do you have your users you administrate 07:01:09 I don't. I am not the person who could advise you on your project (from your earlier posts) 07:01:44 thank you parv. it still helps 10:07:58 Hello 10:08:12 Do you know how can I apply the aspell filters for "HTML" and "url" in the API? 10:08:18 in command line mode there's "aspell -a --mode=url" 10:46:40 cadmio: you mean such an util? 10:47:42 it seems there exists a filter https://bpa.st/5QLQ but I don't know how to use it 10:47:43 Title: View paste 5QLQ 10:50:24 cadmio: it looks like a set of interface... 10:52:28 do you think there's a possibility to apply the filter in the API? 11:09:14 cadmio: we can script to work between your file and aspell... 11:09:49 this is what I've at the moment https://bpa.st/RGMA#1L52 11:09:51 Title: View paste RGMA 11:10:06 it works well but it corrects urls like ".html" words 11:19:08 cadmio: what makes you stick to c for this kind of task? 11:20:27 I written the whole program now; I simply wanted to add a spell checker 11:21:49 cadmio: you can always syscall 11:25:49 cadmio: stdlib has system 11:26:46 but it's a pity to resort to syscall when there's the library which in the end works well 11:27:14 cadmio: I thought you do once and throw away code 12:15:37 parv: that was a really cool talk 12:19:55 why mysql has no just 'mysql' like sqlite3? 12:24:11 who did this 12:38:05 mictty: of course it does 12:44:10 you'll have to install one of these https://codeberg.org/FreeBSD/freebsd-ports/src/branch/main/databases/mysql56-client/Makefile#L20 12:44:13 Title: freebsd-ports/Makefile at main - freebsd-ports - Codeberg.org 12:44:49 codeberg based 13:16:16 I installed 12.3 and everything seemed to be fine and then I went into the bois and I could not find the install in the menu to boot it. Is that a know problem? I thought since the them drive for the install was seen the bois would see my install.  I have Windows, Linux .  Does freebsd have to have its bootload first or something? 13:33:18 tarel2, you using grub from linux to boot windows and linux ? 13:34:54 tarel2, and witch distro linux you use 13:52:51 hi all 13:53:10 I have a hdd ssd/gpt/ntfs with dual boot windows 10 and linux. I can't mount it in freebsd. 13:53:50 Freebsd is installed on another hdd, separate, all ssd and all gpt. 13:54:09 HDD with windows and Linux I put them with a usb system. 13:55:14 So, I change the hdds between them... 13:56:17 I can't mount the hdd. I can't even visualize it. 13:57:43 I'm not using grub, I say the BIOS because that's what I boot into, I manually select whatever operating system from there. And it doesn't appear in the list. That wasn't so in the past. 13:57:45 I come from the Linux World! I want to stay with FreeBSD! :D 13:59:11 The big I have ran frebsd and openbsd I have enjoyed how everything works.  I was on a pi so the hardware support was lacking . 13:59:51 But arguably, the Raspberry Pi is not a normal piece of hardware. 14:00:01 So I would expect the hardware support not to be there. 14:10:43 yo9fah: :D 14:59:19 mictty: :P 15:09:06 is there a way to explore a file with the extension .core? 15:09:07 is there a way to mark a package as required, so it won't be *falsely* autoremoved? 15:09:26 you can do pkg lock package 15:13:15 Helper: will that still allow to upgrade it tho? 15:13:28 nop 15:13:31 it wont 15:14:00 the only way to upgrade it it will be if you do pkg unlock package. 15:14:06 and then running pkg upgrade 15:16:31 Helper: yes, with lldb, but it's somewhat complicated 15:17:05 oh I see. 15:31:26 I have muliboot windows and Linux , I use the bio to chose the os and boot  alot .  Its older machine , Asus m5 a97 le 2.0.  I think I got the newest 13 and my machine just froze the asus logo.  I installed with 12.3 but I could not find freebsd in the bio boot menu.  12.4 , download for the install got stuck at 98% and I tried more then one 15:31:27 server.  Is my computer not something that works with Freebsd? 15:43:49 what are you downloading that gets stuck? 16:18:25 Helper: would be cool if pkg-lock(8) allowed a Version match, too. so you could go: pkg-lock FreeBSD-fetch -s >=13.1 16:21:03 * meena is just searching for a workaround for https://bugs.freebsd.org/254050 16:23:28 i never knew about those packages 16:24:53 rtprio: i provide a repo for people to try and feel the same pain as i do: https://alpha.pkgbase.live/ 16:24:55 Title: Unofficial FreeBSD pkgbase repository 16:25:51 i guess i eithr used the distrubution files or build from source 16:26:13 that's interesting tho 16:37:13 I've seen people build extremely small images / jails with PkgBase, and I'm kinda impressed 16:38:00 (i usually put Puppet as default on everything, which instantly ruins any chance of it being smol) 16:38:52 I need find a better way to do configuration management. 16:40:26 or maybe i just give up on that, and use buildah to build a fresh image every time there's a change 16:49:19 _xor: could i run nomad on my laptop to run a (podman) deployment on a cloud server? 17:01:06 tarel2, when you boot linux do you get grub hoot menu if yes update grub it will find freebsd and add to boot menu than you can boot it from there 17:01:56 meena: `pkg set -A 0 ...` ? check the examples of the pkg manpage for how to query those 17:06:10 ridcully: thanks! 17:51:42 Hi, could you help me understand this error? I just finished a system upgrade from 13.0 (aug21) to 13.1(dec22) and attempted 'portmaster -af', but it immediately dies with : not foundMk/Scripts/ports_env.sh: set: Illegal option -o pipefail 17:53:33 this is a 2020 issue, my previous OS's ports already had this flag in that file, so I'm extra baffled why this is showing up. 18:04:28 ultramage: i would try `pkg-static upgrade portmaster` and see if it still happens 18:04:40 ah, never mind, I see the problem now. the files got messed up during transfer. sh can't parse CRLF endings 18:05:52 it wasn't the command itself, it was the fact that it was the first non-comment line in the first file that was being executed by portmaster. 18:27:10 dos2unix it? 18:28:42 yup that was the quickfix I went with. 18:31:48 what the hell were you using to copy that didn't respect line endings? 18:41:31 ultramage, of course it can, that's what the $IFS environment variable is for. 18:42:14 I was forced to switch from svn to git for obtaining ports; I didn't have git bootstrapped on this thing yet, so I mirrored it to my pc and copied the files over. I didn't relize git crlf-ies by default. 18:46:14 CrtxReavr: I didn't know. I looked it up just now. Seems like it's a bash-only variable, ports run on sh. Sh seems to only handle LF line endings, and gets confused by the extra stray CRs 18:46:55 ultramage: i'd tar or zip it up the next time you need to do that, for safety 18:47:41 git by default will use the native system line endings. Same as for svn before. So... CRLF on Windows systems. :-( 18:48:06 wouldn't help, it was CRLF from the moment it was checked out, due to default git behavior. That behavior can be changed, but I'd need to re-checkout. git diff doesn't report everything as changed after I changed the setting, so it seems to auto-ignore that by default. 18:49:19 It's crazy but sh now includes bash'isms like pipefail and also has command line editing. Who knew? 18:49:37 you just need to flip core.autocrlf to 'input'. I was just tricked by all of git's meta files being LF 18:50:21 plus the fact that midnight commander only shows the ^M's in edit mode, it doesn't render them in view mode, which I was using to examine the problematic files 18:51:34 I wonder if the CR is the reason why the error message is rendered in such a weird way, without a space between the message and the file path : not foundMk/Scripts/ports_env.sh 18:52:21 ultramage, Bourne/POSIX shell definitely supports $IFS. Had to manipulte it many, many times. 18:52:21 or don't go copying around repos to windows systems >:| 18:53:22 does /bin/sh? it was fed a CRLF sh file and it crapped out on it, as I posted earlier. Then again, I have no idea how IFS works, so maybe it does if you actually set it 18:54:26 https://bpa.st/ZM2A 18:54:26 although, I don't think I'd want the OS configured to accept both, it's handy to be able to catch file encoding mistakes like that 18:54:27 Title: View paste ZM2A 18:56:04 ok, gotcha. can you use this to accept both LF and CRLF as a single line ending? My first guess is that if you put multiple things into that string, each becomes a separator, and CRLF would produce an empty line 18:57:24 IFS is not a good solution to line ending problems. 18:57:42 YOu can change it at will in a script. 18:58:24 rtprio: I was hasty. Also, regarding svn, svn by default copies the files as-is, unless you tag everything with eol-style property. 'native' would cause this same problem. 18:59:44 I somehow convinced myself by looking at files in .git/, that git runs fully on LF, forgetting that it doesn't and you can tweak that via .gitconfig 19:01:23 that said, it was really confusing how portmaster and Mk responded to a mis-encoded ports tree. I wonder if a safeguard against this could be added into the beginning of the process, so that when it trips, the error message isn't so misleading 19:01:32 first custom kernel success B) 19:02:13 Congratulations MantisOrientalis! Does this imply that there were earlier failures? 19:03:53 sigh... for kernel builds, I used to use MODULES_OVERRIDE= to only build the drivers I needed. Then one time the boot failed because freebsd split off something into a new mandatory module. Now I just build everything. 19:05:16 Hello Friends. I disabled sendmail (via rc.conf) and shutdown the process via the "service" command, however according to my /var/log/mail log, a sendmail process attempts to send an email to root@localhost with a log file daily at 3:00am. Any idea how I can surpress this email because it's filling up the log unncessicarily 19:06:51 sounds like the periodic daily summary report 19:06:54 RoyalYork: That's probably the periodic(8) output, you can change whether it gets mailed or put in a logfile in /etc/periodic.conf 19:08:06 ohh, that's an idea. I got so used to the daily e-mails, I didn't think about having them go elsewhere. Which log do they go to? 19:08:33 Catie: Thanks for this. Im new to BSD and have been scouring the man pages unsucessfully. 19:08:48 (though having the daily report in your face like that can help catch some issues early) 19:08:50 ultramage: I set mine to go to /var/log/{daily,weekly,monthly}.log, but keep the security mails coming straight to me 19:09:05 RoyalYork: Yeah, no worries! There's a whole damn lot to try and get used to 19:09:52 RoyalYork: the periodicity implied it was scheduled. Freebsd uses the usual /etc/crontab to start its periodic scripts, they default to 3am daily, 4am weekly 5am monthly I think. 19:12:14 Oh it looks like the default newsyslog.conf knows about the logfile names I used, which is probably why I used them in the first place 19:13:35 oh I see, makes sense. I went and deleted and commented out all unused log files, very early on, so I didn't realize this was a thing 19:16:24 maybe weird question: when I try to copy a directory from windows via smb, to a share of /tmp, I get "Failed to set folder attributes. The request is not supported.". This was before I updated the OS, and I haven't updated samba nor my file manager nor my OS in at least a year. I don't remember how long it's been doing this, just that in the past, it didn't. 19:18:24 I can process and network trace it later to see what exactly it's trying to do, just asking if it's something obvious. I didn't know tmpfs has operation restrictions 19:19:02 Catie: follow up to periodic if i may. Im reading the man page on periodic.conf(5). Says the conf resides in /etc/defaults but can be overidden with a file of the same name in /etc. Is there any downside to editing the file within /etc/defaults or is it best practice to use a separater override file in /etc? 19:19:24 RoyalYork: Best practice is to use the override file 19:19:46 Understood. Just to exercise the mind, whats the downside of editing the original? 19:20:42 RoyalYork: I think probably it's just that nobody will expect you to do so, honestly. Also there's more work for merging configuration files when update time rolls around, but that's not the biggest deal in the world 19:20:54 Thank you 19:21:14 I've always used the override files myself, so I couldn't really tell you if there are specific issues with editing the OS default 19:22:17 I guess its similar to what I do with rc.conf 19:28:24 ultramage: thanks for your help as well. looks like i accomplished my task. we'll see what the logs say at 3:00am 19:28:47 the override file is in the standard location in /etc, and it starts out empty so you can put in exactly the adjustments you need, and you can put in #comments describing why you put it in there. I use sysctl.conf the same way. 19:29:51 i'm on a ovh server and trying to get ipv6 setup with freebsd every time i get this ping6 google.com 19:29:52 ping6: UDP connect: No route to host 19:30:08 https://pastebin.com/1QUFDaWi is my periodic conf. I think I sat down one day and went through all the options and picked everything I found useful. There's a lot. 19:30:09 Title: # combine into single e-maildaily_status_security_inline="YES"weekly_status_ - Pastebin.com 19:31:33 sn00p: check ifconfig and netstat -arn, to see if your routable ipv6 address is there and that a default v6 route is there 19:32:57 how does ovh do ipv6? static configuration that they e-mailed you, placed right next to the static ipv4 configuration in rc.conf? 19:34:24 ultramage: very through conf file. i'll have to do that myself one day 19:36:24 ls 19:39:36 the more I play with freebsd, the more I realize man pages were the original google 19:47:45 having all the options and instructions right there, in a consistent format, came in handy countless times. Though there's also the freebsd handbook pages, and web search usually also helps. 20:09:56 Hello, I am trying to setup ipv6 on my ovh dedicated server, i get add net default: gateway 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff fib 0: Network is unreachable 20:09:57 and here is my rc.conf file https://pastebin.com/FH5wRY5m can anybody tell me what i'm doing wrong 20:09:58 Title: sendmail_enable="NONE"hostname="sn00p"ifconfig_ix0="DHCP"ifconfig_ix0_ipv6 - Pastebin.com 20:16:17 sn00p: you made a typo 20:16:53 also you might want to be consistent with the zero padding (303 or 0303) 20:17:28 I suspect there's a typo in the fourth part, your ip says a2df but your gateway says a2ff 20:19:54 ultramage, "In a Unix man page every word counts, sometimes twice." :-) 20:19:55 try ping6-ing your gateway, or maybe tracerouteing it. Network unreachable probably means that your host tries to neighbor-discover the gateway via broadcast, and nobody replies 20:21:48 ultramage, what typo did I make i put 32 instead of 128 and it seems to be working but really slow 20:22:08 your ip says a2df but your gateway says a2ff 20:22:37 thats what in the ovh control panel 20:22:59 ah alright then, if these two values are exactly what they should be, then I guess... 20:23:17 i ping6 google.com i get response but the connection seems slow 20:23:25 I'm actually not sure how that all works 20:23:46 normally, your gateway needs to be inside your / broadcast scope to actually work as a gateway, right? 20:24:00 idk 20:24:14 ovh is really weird setup 20:24:16 but I hear /128 is a thing... so right now I don't have a proper mental model on how that works exactly 20:25:20 the slowness might be an unrelated problem to this. 20:25:47 ok i just did a reboot 20:25:57 everything sseems to be working fine 20:28:21 did you put the /128 back in? 20:28:47 it didn't work on 128 i put 32 20:28:53 and it worked 20:32:18 that is not right 20:32:55 I refreshed my info a bit, I think how it works is that you get a /128 ip for your host, and then you either receive a router advertisement for a /64 on-link subnet, or you hardcode it into your route table 20:34:25 does ovh's instructions page cover the part about configuring the route? I also can't remember if you need to turn on a listener daemon for those RAs, or if the kernel handles that automatically 20:36:39 in my tunnel script, I have a line that says "route add -inet6 default -interface gif0". maybe that's all it takes? 20:42:41 one of the ifconfig optional parameters is 'accept_rtadv', btw. not sure if ovh wants you to define a static default route, or let them announce it 20:55:03 ultramage, doubtful you'd get a /128 20:55:31 sn00p: ipv6_default_interface="ix0" is probably what you're missing in that config 20:56:05 Normally you'd get an IP on a /64, and they'd provide you a /64, /56, /48, or maybe a /64 for use on your inside network. 20:56:05 how do I bind host for ipv6 with znc 20:57:00 the routing script calls 'ifconfig ix0 inet6 defaultif'. In my script, I just do 'route add -inet6 default -interface ix0'. Both seem to accomplish the same. 20:58:01 CrtxReavr: that's if you're a business customer, or are talking to a provider that hands out /64's. Apparently DHCPv6 does /128. And from what I've seen, everyone except those that care will only give you a /128 20:58:13 32 and 48 are the only ones that work 20:58:41 sn00p: set a /128. Add that missing rc.conf line that I just gave you. Then it should work. 20:59:22 i tried 128 it didn't work 20:59:25 64 and 128 ddidn't work 20:59:26 Right now it doesn't work because you didn't give it any route. You only configured your ip, and the gateway ip. 20:59:38 sn00p: ipv6_default_interface="ix0" 21:00:01 you are missing this. you forgot to define a default interface. it doesn't know which direction the gateway is 21:00:48 it is also possible that the gateway is announcing routes. in that case you could add that accept_rtadv flag to your ifconfig line. not sure about that. 21:01:26 Well, you realize that /128 is exactly one IP? 21:01:43 /128 is *NEVER* the right answer. 21:01:50 /127 can be for point to point connections. 21:02:15 But a segment or subnet should always be a /64. 21:02:34 And anything with a smaller prefix length, is just multiple /64s to use. 21:02:50 i added that line and reboot 21:03:47 No. You get one ip, one /128. That's all you get. You cannot host a routable subnet, you cannot have multiple IPs, you cannot do autoconf. Just one ip, same as in v4. 21:05:05 WTF are you talking about? 21:06:08 The thing is, routing is decoupled from your ip and prefix. I've honestly never thought about this, so I'm not sure how it works in v4 land. I'm used to hosts having a single v4 ip, a subnet, and the gateway being on the subnet. But apparently you can also just have a subnet of /32, say that the gateway is somewhere on the other end of re0's ethernet cable, and that's enough. 21:07:04 If you use a prefix smaller than a /64, you break and lose features. 21:07:41 a /64 is a one-size fits all prefix. . . every device in the world can be on the same /64 21:07:42 wtf am I talking about? that /64 is the ipv6 ideal dream, but /128 is the harsh reality. No service provider will give you a /64, unless they're are specifically there for giving out /64s to network operators. 21:08:02 You are very wrong. 21:08:23 Most IPSs that support v6 use DHCPv6-PD 21:08:31 you only need a /64 if you're going to run your own subnet. If all you're doing is hosting a webserver that only needs one IP, then that's what you'll get 21:08:49 They configure your public interface, and provide you a block of /64s to configure your internal interfaces with. 21:09:03 well, that is a nice service provider, probably business-tier 21:09:30 ultramage, just stop talking. I've been doing v6 professionally for at least 15 years. . . probably more. 21:09:46 I'm 99.99999% sure that my shitty residential ISP hands out /128s. OVH, the multinational server hosting company, apparently also hands out /128s only. Maybe if you ask for /64 they'll provide it 21:11:03 I've been running a v6 tunnel and networking over v6 for 18 years now... I have a /64 (had a /48 at one point too). It's just that I've seen some shit. 21:13:19 the main reason why I'm still tunneling is that when I asked my ISP about v6, they heavily implied that they don't do dual stack - that if I requested v6, they'd drop my public ip and NAT all my v4 traffic through their CGN; and that I'd only get a single /128 v6 address for my home router, all the PCs behind it would have to do 4to6 or 6to6 nat. 21:13:34 it doesn't seem to like 64 21:14:01 you are supposed to put /128 in there, as per instructions. 21:15:24 i still get network unreachable 21:15:37 you do not have a subnet. your subnet is /128, containing 1 ip - yours. to talk to the router, you blast packets out the default route over your wan interface (once you configure it right). Well, first it'll broadcast neighbor solicitation to find the mac of the router. 21:16:19 ok, how do I fix 21:16:36 i added ipv6_default_interface="ix0" 21:16:45 if the network is more complicated than that, you need a proper subnet and route. either statically configured (apparently not since it doesn't seem to be in OVH's instructions), or you get it via router broadcast - which you probably need to turn on 21:17:11 this is ovh's setup and i'm not using their image i'm using a custonm image 21:17:29 ifconfig_ix0_ipv6="inet6 2001:41d0:303:a2df::1 prefixlen 128 accept_rtadv" 21:18:42 tbh I don't know what exactly it'll take to make it work. All the internet guides and standard documents use /64 with the gateway on-link, or rely on RA and don't configure anything. So I don't have first-hand experience with a /128 situation. 21:21:44 64 and 128 still do not work 21:35:48 Greetings, 21:36:32 have you heard of an equivalent of etckeeper for freebsd , afaics it's not available in ports 21:39:59 sn00p: are you sure your gateway address is right? have you tried prefixlen 48? 21:41:21 i think i tried 48 i'll try again 21:42:59 sn00p: I think ipv6_default_interface was incorrect. 21:43:36 Hi, I would like to connect a laser printer to my FreeBSD, ideally installing as less things as possible. Currently I have a matrix printer attached. I print with lpr 21:43:37 I think what you need is a static route, saying that the gateway ip is on interface ix0 21:43:42 now I have read this: 21:43:47 https://forums.freebsd.org/threads/problems-with-my-samsung-usb-printer.10323/page-2 21:43:48 Title: Problems with my Samsung USB printer | Page 2 | The FreeBSD Forums 21:44:26 would that mean that I do not have to install anything? just point to the IP address of the printer? 21:44:26 sn00p: very early on I suggested using netstat -arn to look at your routes. Your goal is to make the gateway ip appear there, with 'gateway' column saying Link#, and Netif saying ix0 21:45:33 sidh, I have not heard of etckeeper for FreeBSD but would also like it myself. Though zfsutils auto snapshots are an acceptable alternative. 21:45:59 'route add -inet6 -interface ix0' would be the script, not sure how to express it via rc.conf. Maybe using the ipv6_static_routes section? 21:48:42 rwp, I don´t think you can follow the changes with zfs snapshots 21:49:47 I mean, the comment of the changes 21:50:58 sidh, I know it isn't the same. But it does create a time machine of sorts where one can reach back into the snapshots and diff files. 21:51:23 Since etckeeper has not been ported. But etckeeper seems reasonable to port. It should work with just some tweaks. 21:52:03 https://fossies.org/linux/etckeeper/pkgng/README 21:52:06 Title: etckeeper: pkgng/README | Fossies 21:54:02 sidh, I look forward to your report after you have tried it! :-) 21:54:21 rwp, just found it 21:57:42 Meanwhile... I have been relying upon "zfs list -t snapshot | grep zroot/ROOT/.*auto-snap" to get a listing of zfsutils automated snapshots. 21:57:46 Then "diff -u /.zfs/snapshot/zfs-auto-snap_monthly-2022-11-01-00h28/etc/rc.conf /etc" to see what has changed. 21:57:50 Then using "zfs diff zroot/ROOT/$SNAPSHOTNAME | grep /etc" to see what files have changed. 21:58:18 It's not as nice as having the full git available. But it is possible to see what I buggered up. :-} 22:07:54 rwp, yes , but when you want to centralize your conf files to provision other jails etc., using snapshot can be quite tedious 22:08:31 furthermore if you don't have a etc /local_etc dataset 22:29:43 I mount a DVD using mount -t cd9660 /dev/cd0 /mnt/cdrom, it mounts it correctly -no errors and mount shows it mounted- but then ls /mnt/cdrom shows nothing 22:29:46 any tip? 22:37:44 is there a dvd inside? is anything written on it? is it one of those multisession cases where everything was deleted? 22:39:58 it is a dvd (the printer driver dvd) 22:40:10 it is not a recordable dvd 22:42:38 https://bpa.st/2XRQ 22:42:39 Title: View paste 2XRQ 22:43:36 https://bpa.st/5OAQ 22:43:38 Title: View paste 5OAQ 22:44:12 sorry, this is the one: https://bpa.st/CLDQ 22:44:13 Title: View paste CLDQ 22:44:20 apparently everything is properly mounted but no files 22:49:45 uskerine: unmount it and what's `fdisk /dev/cd0` say? 22:49:58 i haven't mounted a cd in a long time 22:51:06 https://bpa.st/XBFQ 22:51:07 Title: View paste XBFQ 22:51:14 it is actually a DVD 22:51:16 only thoughts I have is to use ls -a in case there's hidden stuff, and maybe check /dev in case the dvd is a funky one with multiple partitions 22:51:18 I have tried other DVD and it works 22:51:23 i was too poor for a dvd drive 22:51:31 but this DVD is relatively new 22:51:40 (7/8 yr, brand new, stored in the printer box) 22:52:06 that looks weird; does it look the same with one of your dvds that works? 22:52:22 I am going to check 22:52:33 maybe it just means it's all zeroes? 22:52:53 oh, question, does cd9660 actually work on dvds? 22:53:05 yes it does, I mounted the other PC DVD with that 22:53:12 mounted fine and you could ls 22:53:12 okie 22:53:26 i thought cd9660 was for dvds too 22:53:37 https://bpa.st/TGBA 22:53:38 Title: View paste TGBA 22:53:47 this one is the dvd that mounts and can be browsed 22:53:59 ok, maybe fdisk is the wrong tool for this 22:54:10 gpart? 22:54:25 worth a shot, yeah 22:55:29 I'd probably image it raw and examine it with some dedicated utility. but it's just supposed to be a driver disk... 22:55:49 yes it is a bit weird 22:55:53 is it a pressed vendor-branded driver disk, or something made in a dvd-rw burner? 22:56:02 it is a pressed vendor-branded 22:56:08 it comes with a samsung printer 22:56:20 so it shall be a "proper" dvd 22:56:31 anyway, maybe it is faulty 22:56:42 I just wanted to see if the manual was there, I guess I can google 22:57:03 btw, the printer seems to use SPL, and I was wondering if there would be something to convert ps into SPL without using cups 22:57:19 I went pretty deep on the cd spec, which can have crazy stuff like multimode, audio tracks, xa mod (playtation), and all sorts of other crap. but I feel like dvds should be much more straightforward 23:00:01 probably the most straightforward thing is to put it into a windows pc and examine it there. but again, idk why it should be special. unless they borked the filesystem in a particular way that freebsd can't recover from 23:01:28 ultramage, i'm trying to setup znc for ipv6 every time i try to connect to server it says cant resolve bind hostname 23:01:44 well I was just thinking the way I was mounting was the wrong one, but apparently not, so it is not worth the effort 23:01:49 https://forums.freebsd.org/threads/freebsd-thinks-my-cds-and-dvds-are-empty.83936/ 23:01:50 Title: Other - FreeBSD thinks my CDs and DVDs are empty | The FreeBSD Forums 23:07:03 I already read that one 23:11:07 ls -ltr 23:11:12 cat /etc/printcap 23:11:16 cat /etc/printcap 23:11:23 slow down boss 23:11:29 before you rm -Rf yourself 23:11:29 oops sorry 23:18:45 uskerine: (reading backlog) did you try mount_udf for your dvd? 23:19:29 no I did not 23:19:30 I can try 23:19:37 oh yes I did 23:19:40 mount -t udf 23:19:47 it did not work either 23:24:41 i'm trying to rack my brain as to what other file format it could be 23:26:49 uskerine: is ther anything other than /dev/cd0... like cd0c perhaps ? 23:27:02 nope 23:27:21 I think there is soemthing fishy with that DVD or with that dvd config, in any case, other DVD is being read ok 23:27:34 now I am trying to get my Samsung laser printer working 23:27:39 if possible without CUPS 23:31:29 udf is the fs for dvds (usually), and when mounting it as cd9660 it would present a README saying use UDF :) 23:49:56 well it seems I have a brick instead of a printer given that I can not use it