-
mrkiko
thanks for all the help
-
mrkiko
have a good night!!
-
parv
So what was the conclusion, if any, of mrkiko's EFI issue?
-
rtprio
he would need access to the efi loader, freebsd loader is too late
-
parv
rtprio, Thanks
-
rtprio
-
VimDiesel
Title: dpaste: 9T93QACYZ
-
parv
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)
-
mictty
hello
-
sn00p
has anybody ever got ipv6 to work without using one of their images
-
sn00p
has anybody ever got ipv6 on ovh to work without using one of their images
-
rtprio
sn00p: who's images?
-
sn00p
ovh's i misstyped
-
rtprio
oh. see what their image is doing and do that with your own
-
sn00p
they dont have freebsd nomore
-
sn00p
i used to have instructions on how to set it up , but i lost them
-
rtprio
i see fantastic unsolved thread from 2017 on the forums
-
sn00p
url?
-
rtprio
-
VimDiesel
Title: ipv6 -host route to on-link gateway fails | The FreeBSD Forums
-
mictty
jello
-
laidback_01
hey, does drill behave incorrectly if IPV6 nameservers are listed?
-
sn00p
so it has a 128?
-
rtprio
this link says just use route advertisement
-
rtprio
-
rtprio
i'm guessing you tried that
-
sn00p
yes
-
rtprio
this other link from ovh says you should disable route advertisement....
-
rtprio
awesome
-
sn00p
how do I disable route advertisement
-
rtprio
i don't beleve it's enabled unless you have a line like ifconfig_lagg0_ipv6="inet6 accept_rtadv"
-
sn00p
any ideas on how to fix this
-
rtprio
so you enabled rtadv and it didn't get an ip?
-
sn00p
i have enabled it already
-
rtprio
(and net.inet6.ip6.accept_rtadv=1 ?)
-
sn00p
let me try that
-
rtprio
its necessary for rtadv to work, but i _thought_ the rc system did it for you
-
sn00p
ifconfig_ix0=ipv6="inet accept_rtadv 2001:41d0:1:5db0::1 prefixlen 128
-
sn00p
i have this in the rc.cofn
-
sn00p
'rc.conf
-
rtprio
if you're manually assigning an address, you don't want/need accept_rtadv
-
rtprio
it's either or
-
sn00p
ok
-
sn00p
it still doesn't wo rk
-
rtprio
are you `sh /etc/netstart` or rebooting or what
-
sn00p
rebooting
-
rtprio
but `ifconfig ix0` should show the ip
-
rtprio
can you ping the router?
-
sn00p
idk which one is the router
-
rtprio
they don't tell you in your control panel? no i suppose they wouldn't
-
sn00p
hmm
-
sn00p
i edited
-
sn00p
with prelinlen 32
-
sn00p
i get ping6 yahoo.com
-
sn00p
but it takes a long time to resolv
-
rtprio
without a router i don't think that'd work
-
rtprio
where did you get your ipv6 address
-
sn00p
ovh
-
rtprio
any other information with it?
-
sn00p
no
-
rtprio
not even a prefixlen?
-
sn00p
prefixlen is 64
-
sn00p
but I tried 64 then I changed it to 32
-
sn00p
it pings it but doesn' tcome back
-
rtprio
you need a router
-
sn00p
i have a router
-
rtprio
what is the address
-
sn00p
sec
-
rtprio
is it set in rc.conf as ipv6_defaultrouter ?
-
sn00p
ipv6_defaultrouter="2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff
-
sn00p
"
-
sn00p
yes
-
rtprio
and does it answer to ping?
-
sn00p
how do I ping it, just type that address in?
-
rtprio
ping6 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff
-
sn00p
it pings it
-
sn00p
no resposne
-
rtprio
uh
-
sn00p
i type that full line
-
rtprio
what is `ifconfig_ix0` now?
-
sn00p
network inferface
-
rtprio
i know it's the network interface dummy, paste it because above you have 'inet' instead of 'inet6'
-
sn00p
i have inet6
-
sn00p
not inet
-
rtprio
inet6 2001:41d0:1:5db0::1 prefixlen 128"
-
rtprio
right?
-
sn00p
ifconfig_ix0_ipv6="inet accept_rtadv 2001:41d0:1:5db0:1 prefixlen 32
-
sn00p
inet6
-
sn00p
i mean'
-
sn00p
sorry I cant paste i have to type, im doing this kvm
-
rtprio
i said take out accept_rtadv
-
sn00p
ok
-
rtprio
also why aren't you ssh'd into this box
-
sn00p
cant login root disabled
-
rtprio
... PermitRootLogin prohibit-password
-
rtprio
or create a user that's a member of wheel
-
rtprio
don't make things hard on yourself
-
sn00p
ok give me a sec
-
sn00p
2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff
-
rtprio
but if that's the gateway they gave you and ip they gave you, maybe paste it in to verify it's correct
-
sn00p
this is what ovh says is my gateway
-
sn00p
that what it says in the dashboard
-
rtprio
but that ip address doesn't appear to be in the network
-
sn00p
ok,
-
sn00p
are those 0's or O's
-
rtprio
zeros
-
sn00p
add net default: gateway 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff
-
sn00p
root@sn00p:/etc # ping6 google.com
-
sn00p
PING6(56=40+8+8 bytes) 2001:41d0:1:5db0::1 --> 2a00:1450:4007:807::200e
-
sn00p
-- google.com ping6 statistics ---
-
sn00p
12 packets transmitted, 0 packets received, 100.0% packet loss
-
sn00p
and I have it set 32
-
rtprio
if you can't ping the gateway, it's extremely unlikely anything else will work
-
sn00p
i cant ping the gateway
-
sn00p
i dont know which one the gateway is
-
rtprio
i thought you said it's in the control panel
-
sn00p
is it
-
rtprio
are there other things in the control panel that will give a clue
-
sn00p
it is
-
sn00p
just the ivp6 address
-
sn00p
and the aother ip4 address
-
rtprio
i think it's still prefixlin 64, at least that's what the linux documentation says
-
sn00p
if I changes it it says network unreachable
-
sn00p
i change it to 64 and it says next unreachable
-
sn00p
dd net ::0.0.0.0: gateway ::1 fib 0: route already in table
-
sn00p
route: writing to routing socket: Network is unreachable
-
sn00p
add net default: gateway 2001:41d0:0303:a2ff:00ff:00ff:00ff:00ff fib 0: Network is unreachable
-
sn00p
i took out default gateway
-
sn00p
ping6 yahoo.com
-
sn00p
PING6(56=40+8+8 bytes) 2001:41d0:1:5db0::1 --> 2001:4998:44:3507::8000
-
sn00p
ping6: sendmsg: No buffer space available
-
rtprio
the numbers don't seem to line up, man
-
sn00p
i cant get it fixed
-
rtprio
The default gateway for your IPv6 block (IPv6_GATEWAY) is usually xxxx.xxxx.xxxx.xxFF:FF:FF:FF:FF.
-
rtprio
that's on the ovh page
-
sn00p
i'm getting really pissed at ovh
-
rtprio
so your ip would need to be in that network
-
rtprio
such as 2001:41d0:0303:a2ff:a:b:c:d prefixlen 64
-
sn00p
I may as well install debian again
-
rtprio
if you did that, i'd see how they do ipv6 on their image
-
sn00p
it wont matter
-
sn00p
i tried that already
-
sn00p
long ago
-
rtprio
i suppose ovh will tell you to go to hell if you approach them with freebsd
-
sn00p
and of course ovh
-
sn00p
doesn't have a frebsd image anymore
-
rtprio
you don't need one, you just need to know how the image provisisioned ipv6
-
sn00p
yea
-
sn00p
i just opened up a support ticket
-
mictty
helllo
-
Helper
hello mictty
-
mictty
hello Helper
-
mictty
I am trying to support FreeBSD for a compiler project
-
mictty
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
-
mictty
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
-
rennj
why not the freebsd handbook? zoidberg!
-
mictty
i know it goes slightly different that depends on how admin configured. So i thought the best is to ask to a bsd admin
-
rennj
-
VimDiesel
Title: BuildingFreeBSDWithClang - FreeBSD Wiki
-
rennj
llvm/clang foobar
-
rennj
ports build from source and pkg binarys built by some one else
-
rennj
netbsd pkgsrc even more ISA's and os's
-
rennj
its all about abstraction
-
rennj
i say focus on amd64 and risc-v cause arm/uboot/devtree is for the birds
-
rennj
besides the broadcom/softbank ip licensing foo
-
mictty
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.
-
mictty
I need to make sure users don't really need to configure anything once they try to run this build system
-
rwp
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.
-
rennj
mutiuser,mutitasking, perhaps UID/GID
-
rwp
The simple case is just to count on regular Unix security in the classic way.
-
rwp
Or you could set everyone up inside their own jail where they are strongly restricted.
-
rwp
The choice is up to you.
-
rennj
3 users
imgur.com/RWy9j4x sun 2/120 1984 $16,900.00
-
VimDiesel
Title: Imgur: The magic of the Internet
-
rennj
focus on the specs of what was offered
-
rennj
atime,ctime,mtime, solaris bsm audits
-
rwp
That advert from 1984 is so quaint now.
-
rennj
i use to telnet for ada compiler cause my college could not afford them
-
rennj
insecure telnet/ftp
-
rennj
gopher/usenet rocked on amber display
-
rwp
telnet, ftp, rlogin, those were the best available because encryption was a munition restricted by the ITAR. Using encryption then was illegal.
-
rennj
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
-
rennj
and sunsite.edu dump
-
rennj
yeah the print the pgp in book to get around government
-
rennj
free speech vs weapons grade encryption
-
rennj
cat file | gpg -e -o file.gpg -r foobarmypassphrase
-
rennj
cat file.gpg | gpg -d -o file.decrypted
-
rennj
pgp/gpg
-
rennj
before all that dmcrypt/luks,truecrypt...etc
-
mictty
rennj: you don't need to cat...
-
rennj
dont be pedantic
-
rennj
hehe
-
rennj
example of pipes is always nice, and im old
-
rennj
let me scream at the clouds
-
mictty
i really need to shadow a bsd admin for a week
-
mictty
eating together
-
rennj
openbsd finding a null deference i want say in ping after 20+ years
-
rennj
fuzz the binary with file
-
rennj
that news
-
rennj
-
VimDiesel
Title: Fuzzing ping(8) … and finding a 24 year old bug.
-
rennj
submited 11 December 2022
-
rennj
24 years!!!!
-
rennj
haha like lp account on sgi irix no passwd
-
rennj
classic
-
rennj
spam the print server
-
rennj
no paper left
-
rennj
besides ink,toner
-
rennj
-
VimDiesel
Title: Fuzzing ping(8)
-
tarel2
Freebsd 12.3 , install and I can't seem to input / in the guided partitioning. What am I doing wrong?
-
rennj
rewrite in memory safe lang
-
rennj
the pain
-
tarel2
What language?
-
rennj
golang,rust,jvm/kotlin
-
rennj
or some such effort. like nix and reproducible builds
-
tarel2
What are you making?
-
rennj
avoid the supply chain attacks log4/pip
-
rennj
log4j
-
rennj
nothing different than
oxide.computer trying to provide
-
VimDiesel
Title: Oxide
-
rennj
from the server bsm all the way up the abstraction stack
-
tarel2
Man my only coding has been hello world in two different assembly languages.
-
tarel2
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?
-
rennj
Eggshell with Romalian type. What do you think?
-
rennj
"I Have To Return Some Videotapes."
-
tarel2
With an installing how do you check if you have internet. I'm at fetching base.txz and its on 98%
-
rennj
at 98% you have not figured out yet weather you have internet connection
-
rennj
cause 0% vs 98%
-
rennj
ping,traceroute,netstat
-
rennj
check the man pages
-
rennj
tcpdump/pcap if you really want to dig down
-
tarel2
So the fact I have any thing fetching mean I have connection
-
rennj
yeah the download perhaps timeouted..worse case
-
rennj
tcp/ip keepalive failure
-
rennj
still at 98% ?
-
tarel2
Is there a way in the FreeBSD installer, to go back a step and pick a different site to fetch from?
-
tarel2
Yes 98% still
-
rennj
oh so close, well take heart, back in the day just to download 700MB iso was 3days on 56K/modem
-
rennj
perhaps try again..no clue on my end
-
rennj
i remember bitching to OEM to include damn checksum on iso
-
tarel2
I really do understand, why open source has so many install guides.
-
rennj
md5 let alone sha,des,aes
-
rennj
email them hey guys how about you include a checksum on the iso download
-
rennj
hehe
-
rennj
hmm 56k modem suckage days
-
rennj
the x-modem,z-modem,y-modem,kermit days of yore
-
rennj
you got the ppp account to your isp doing the dialup
-
haku_
hi
-
mictty
hi
-
haku_
:P
-
haku_
i like doing this to my kernel: strip /boot/kernel/kernel
-
tarel2
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?
-
parv
backslash as in "\"?
-
mictty
parv
-
parv
mictty, Yes?
-
mictty
do you use CXXFLAGS
-
parv
No, for I do not compile software often enough, outside of The Ports, where that would matter
-
mictty
do you have your users you administrate
-
parv
I don't. I am not the person who could advise you on your project (from your earlier posts)
-
mictty
thank you parv. it still helps
-
cadmio
Hello
-
cadmio
Do you know how can I apply the aspell filters for "HTML" and "url" in the API?
-
cadmio
in command line mode there's "aspell -a --mode=url"
-
mictty
cadmio: you mean such an util?
-
cadmio
it seems there exists a filter
bpa.st/5QLQ but I don't know how to use it
-
VimDiesel
Title: View paste 5QLQ
-
mictty
cadmio: it looks like a set of interface...
-
cadmio
do you think there's a possibility to apply the filter in the API?
-
mictty
cadmio: we can script to work between your file and aspell...
-
cadmio
this is what I've at the moment
bpa.st/RGMA#1L52
-
VimDiesel
Title: View paste RGMA
-
cadmio
it works well but it corrects urls like ".html" words
-
mictty
cadmio: what makes you stick to c for this kind of task?
-
cadmio
I written the whole program now; I simply wanted to add a spell checker
-
mictty
cadmio: you can always syscall
-
mictty
cadmio: stdlib has system
-
cadmio
but it's a pity to resort to syscall when there's the library which in the end works well
-
mictty
cadmio: I thought you do once and throw away code
-
meena
parv: that was a really cool talk
-
mictty
why mysql has no just 'mysql' like sqlite3?
-
mictty
who did this
-
meena
mictty: of course it does
-
meena
-
VimDiesel
Title: freebsd-ports/Makefile at main - freebsd-ports - Codeberg.org
-
mictty
codeberg based
-
tarel2
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?
-
ledeni
tarel2, you using grub from linux to boot windows and linux ?
-
ledeni
tarel2, and witch distro linux you use
-
yo9fah
hi all
-
yo9fah
I have a hdd ssd/gpt/ntfs with dual boot windows 10 and linux. I can't mount it in freebsd.
-
yo9fah
Freebsd is installed on another hdd, separate, all ssd and all gpt.
-
yo9fah
HDD with windows and Linux I put them with a usb system.
-
yo9fah
So, I change the hdds between them...
-
yo9fah
I can't mount the hdd. I can't even visualize it.
-
tarel2
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.
-
yo9fah
I come from the Linux World! I want to stay with FreeBSD! :D
-
tarel2
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 .
-
tarel2
But arguably, the Raspberry Pi is not a normal piece of hardware.
-
tarel2
So I would expect the hardware support not to be there.
-
mictty
yo9fah: :D
-
yo9fah
mictty: :P
-
Helper
is there a way to explore a file with the extension .core?
-
meena
is there a way to mark a package as required, so it won't be *falsely* autoremoved?
-
Helper
you can do pkg lock package
-
meena
Helper: will that still allow to upgrade it tho?
-
Helper
nop
-
Helper
it wont
-
Helper
the only way to upgrade it it will be if you do pkg unlock package.
-
Helper
and then running pkg upgrade
-
rtprio
Helper: yes, with lldb, but it's somewhat complicated
-
Helper
oh I see.
-
tarel2
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
-
tarel2
server. Is my computer not something that works with Freebsd?
-
rtprio
what are you downloading that gets stuck?
-
meena
Helper: would be cool if pkg-lock(8) allowed a Version match, too. so you could go: pkg-lock FreeBSD-fetch -s >=13.1
-
-
rtprio
i never knew about those packages
-
meena
rtprio: i provide a repo for people to try and feel the same pain as i do:
alpha.pkgbase.live
-
VimDiesel
Title: Unofficial FreeBSD pkgbase repository
-
rtprio
i guess i eithr used the distrubution files or build from source
-
rtprio
that's interesting tho
-
meena
I've seen people build extremely small images / jails with PkgBase, and I'm kinda impressed
-
meena
(i usually put Puppet as default on everything, which instantly ruins any chance of it being smol)
-
meena
I need find a better way to do configuration management.
-
meena
or maybe i just give up on that, and use buildah to build a fresh image every time there's a change
-
meena
_xor: could i run nomad on my laptop to run a (podman) deployment on a cloud server?
-
ledeni
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
-
ridcully
meena: `pkg set -A 0 ...` ? check the examples of the pkg manpage for how to query those
-
meena
ridcully: thanks!
-
ultramage
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
-
ultramage
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.
-
rtprio
ultramage: i would try `pkg-static upgrade portmaster` and see if it still happens
-
ultramage
ah, never mind, I see the problem now. the files got messed up during transfer. sh can't parse CRLF endings
-
ultramage
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.
-
nacelle
dos2unix it?
-
ultramage
yup that was the quickfix I went with.
-
rtprio
what the hell were you using to copy that didn't respect line endings?
-
CrtxReavr
ultramage, of course it can, that's what the $IFS environment variable is for.
-
ultramage
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.
-
ultramage
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
-
rtprio
ultramage: i'd tar or zip it up the next time you need to do that, for safety
-
rwp
git by default will use the native system line endings. Same as for svn before. So... CRLF on Windows systems. :-(
-
ultramage
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.
-
rwp
It's crazy but sh now includes bash'isms like pipefail and also has command line editing. Who knew?
-
ultramage
you just need to flip core.autocrlf to 'input'. I was just tricked by all of git's meta files being LF
-
ultramage
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
-
ultramage
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
-
CrtxReavr
ultramage, Bourne/POSIX shell definitely supports $IFS. Had to manipulte it many, many times.
-
rtprio
or don't go copying around repos to windows systems >:|
-
ultramage
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
-
CrtxReavr
-
ultramage
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
-
VimDiesel
Title: View paste ZM2A
-
ultramage
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
-
rwp
IFS is not a good solution to line ending problems.
-
CrtxReavr
YOu can change it at will in a script.
-
ultramage
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.
-
ultramage
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
-
ultramage
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
-
MantisOrientalis
first custom kernel success B)
-
rwp
Congratulations MantisOrientalis! Does this imply that there were earlier failures?
-
ultramage
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.
-
RoyalYork
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
-
ultramage
sounds like the periodic daily summary report
-
Catie
RoyalYork: That's probably the periodic(8) output, you can change whether it gets mailed or put in a logfile in /etc/periodic.conf
-
ultramage
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?
-
RoyalYork
Catie: Thanks for this. Im new to BSD and have been scouring the man pages unsucessfully.
-
ultramage
(though having the daily report in your face like that can help catch some issues early)
-
Catie
ultramage: I set mine to go to /var/log/{daily,weekly,monthly}.log, but keep the security mails coming straight to me
-
Catie
RoyalYork: Yeah, no worries! There's a whole damn lot to try and get used to
-
ultramage
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.
-
Catie
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
-
ultramage
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
-
ultramage
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.
-
ultramage
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
-
RoyalYork
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?
-
Catie
RoyalYork: Best practice is to use the override file
-
RoyalYork
Understood. Just to exercise the mind, whats the downside of editing the original?
-
Catie
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
-
RoyalYork
Thank you
-
Catie
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
-
RoyalYork
I guess its similar to what I do with rc.conf
-
RoyalYork
ultramage: thanks for your help as well. looks like i accomplished my task. we'll see what the logs say at 3:00am
-
ultramage
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.
-
sn00p
i'm on a ovh server and trying to get ipv6 setup with freebsd every time i get this ping6 google.com
-
sn00p
ping6: UDP connect: No route to host
-
ultramage
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.
-
VimDiesel
Title: # combine into single e-maildaily_status_security_inline="YES"weekly_status_ - Pastebin.com
-
ultramage
sn00p: check ifconfig and netstat -arn, to see if your routable ipv6 address is there and that a default v6 route is there
-
ultramage
how does ovh do ipv6? static configuration that they e-mailed you, placed right next to the static ipv4 configuration in rc.conf?
-
RoyalYork
ultramage: very through conf file. i'll have to do that myself one day
-
RoyalYork
ls
-
RoyalYork
the more I play with freebsd, the more I realize man pages were the original google
-
ultramage
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.
-
sn00p
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
-
sn00p
and here is my rc.conf file
pastebin.com/FH5wRY5m can anybody tell me what i'm doing wrong
-
VimDiesel
Title: sendmail_enable="NONE"hostname="sn00p"ifconfig_ix0="DHCP"ifconfig_ix0_ipv6 - Pastebin.com
-
ultramage
sn00p: you made a typo
-
ultramage
also you might want to be consistent with the zero padding (303 or 0303)
-
ultramage
I suspect there's a typo in the fourth part, your ip says a2df but your gateway says a2ff
-
rwp
ultramage, "In a Unix man page every word counts, sometimes twice." :-)
-
ultramage
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
-
sn00p
ultramage, what typo did I make i put 32 instead of 128 and it seems to be working but really slow
-
ultramage
your ip says a2df but your gateway says a2ff
-
sn00p
thats what in the ovh control panel
-
ultramage
ah alright then, if these two values are exactly what they should be, then I guess...
-
sn00p
i ping6 google.com i get response but the connection seems slow
-
ultramage
I'm actually not sure how that all works
-
ultramage
normally, your gateway needs to be inside your / broadcast scope to actually work as a gateway, right?
-
sn00p
idk
-
sn00p
ovh is really weird setup
-
ultramage
but I hear /128 is a thing... so right now I don't have a proper mental model on how that works exactly
-
ultramage
the slowness might be an unrelated problem to this.
-
sn00p
ok i just did a reboot
-
sn00p
everything sseems to be working fine
-
ultramage
did you put the /128 back in?
-
sn00p
it didn't work on 128 i put 32
-
sn00p
and it worked
-
ultramage
that is not right
-
ultramage
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
-
ultramage
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
-
ultramage
in my tunnel script, I have a line that says "route add -inet6 default -interface gif0". maybe that's all it takes?
-
ultramage
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
-
CrtxReavr
ultramage, doubtful you'd get a /128
-
ultramage
sn00p: ipv6_default_interface="ix0" is probably what you're missing in that config
-
CrtxReavr
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.
-
sn00p
how do I bind host for ipv6 with znc
-
ultramage
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.
-
ultramage
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
-
sn00p
32 and 48 are the only ones that work
-
ultramage
sn00p: set a /128. Add that missing rc.conf line that I just gave you. Then it should work.
-
sn00p
i tried 128 it didn't work
-
sn00p
64 and 128 ddidn't work
-
ultramage
Right now it doesn't work because you didn't give it any route. You only configured your ip, and the gateway ip.
-
ultramage
sn00p: ipv6_default_interface="ix0"
-
ultramage
you are missing this. you forgot to define a default interface. it doesn't know which direction the gateway is
-
ultramage
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.
-
CrtxReavr
Well, you realize that /128 is exactly one IP?
-
CrtxReavr
/128 is *NEVER* the right answer.
-
CrtxReavr
/127 can be for point to point connections.
-
CrtxReavr
But a segment or subnet should always be a /64.
-
CrtxReavr
And anything with a smaller prefix length, is just multiple /64s to use.
-
sn00p
i added that line and reboot
-
ultramage
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.
-
CrtxReavr
WTF are you talking about?
-
ultramage
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.
-
CrtxReavr
If you use a prefix smaller than a /64, you break and lose features.
-
CrtxReavr
a /64 is a one-size fits all prefix. . . every device in the world can be on the same /64
-
ultramage
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.
-
CrtxReavr
You are very wrong.
-
CrtxReavr
Most IPSs that support v6 use DHCPv6-PD
-
ultramage
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
-
CrtxReavr
They configure your public interface, and provide you a block of /64s to configure your internal interfaces with.
-
ultramage
well, that is a nice service provider, probably business-tier
-
CrtxReavr
ultramage, just stop talking. I've been doing v6 professionally for at least 15 years. . . probably more.
-
ultramage
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
-
ultramage
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.
-
ultramage
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.
-
sn00p
it doesn't seem to like 64
-
ultramage
you are supposed to put /128 in there, as per instructions.
-
sn00p
i still get network unreachable
-
ultramage
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.
-
sn00p
ok, how do I fix
-
sn00p
i added ipv6_default_interface="ix0"
-
ultramage
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
-
sn00p
this is ovh's setup and i'm not using their image i'm using a custonm image
-
ultramage
ifconfig_ix0_ipv6="inet6 2001:41d0:303:a2df::1 prefixlen 128 accept_rtadv"
-
ultramage
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.
-
sn00p
64 and 128 still do not work
-
sidh
Greetings,
-
sidh
have you heard of an equivalent of etckeeper for freebsd , afaics it's not available in ports
-
jmnbtslsQE
sn00p: are you sure your gateway address is right? have you tried prefixlen 48?
-
sn00p
i think i tried 48 i'll try again
-
ultramage
sn00p: I think ipv6_default_interface was incorrect.
-
uskerine
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
-
ultramage
I think what you need is a static route, saying that the gateway ip is on interface ix0
-
uskerine
now I have read this:
-
uskerine
-
VimDiesel
Title: Problems with my Samsung USB printer | Page 2 | The FreeBSD Forums
-
uskerine
would that mean that I do not have to install anything? just point to the IP address of the printer?
-
ultramage
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
-
rwp
sidh, I have not heard of etckeeper for FreeBSD but would also like it myself. Though zfsutils auto snapshots are an acceptable alternative.
-
ultramage
'route add -inet6 <gateway ip> -interface ix0' would be the script, not sure how to express it via rc.conf. Maybe using the ipv6_static_routes section?
-
sidh
rwp, I don´t think you can follow the changes with zfs snapshots
-
sidh
I mean, the comment of the changes
-
rwp
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.
-
rwp
Since etckeeper has not been ported. But etckeeper seems reasonable to port. It should work with just some tweaks.
-
sidh
-
VimDiesel
Title: etckeeper: pkgng/README | Fossies
-
rwp
sidh, I look forward to your report after you have tried it! :-)
-
sidh
rwp, just found it
-
rwp
Meanwhile... I have been relying upon "zfs list -t snapshot | grep zroot/ROOT/.*auto-snap" to get a listing of zfsutils automated snapshots.
-
rwp
Then "diff -u /.zfs/snapshot/zfs-auto-snap_monthly-2022-11-01-00h28/etc/rc.conf /etc" to see what has changed.
-
rwp
Then using "zfs diff zroot/ROOT/$SNAPSHOTNAME | grep /etc" to see what files have changed.
-
rwp
It's not as nice as having the full git available. But it is possible to see what I buggered up. :-}
-
sidh
rwp, yes , but when you want to centralize your conf files to provision other jails etc., using snapshot can be quite tedious
-
sidh
furthermore if you don't have a etc /local_etc dataset
-
uskerine
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
-
uskerine
any tip?
-
ultramage
is there a dvd inside? is anything written on it? is it one of those multisession cases where everything was deleted?
-
uskerine
it is a dvd (the printer driver dvd)
-
uskerine
it is not a recordable dvd
-
uskerine
-
VimDiesel
Title: View paste 2XRQ
-
uskerine
-
VimDiesel
Title: View paste 5OAQ
-
uskerine
sorry, this is the one:
bpa.st/CLDQ
-
VimDiesel
Title: View paste CLDQ
-
uskerine
apparently everything is properly mounted but no files
-
rtprio
uskerine: unmount it and what's `fdisk /dev/cd0` say?
-
rtprio
i haven't mounted a cd in a long time
-
uskerine
-
VimDiesel
Title: View paste XBFQ
-
uskerine
it is actually a DVD
-
ultramage
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
-
uskerine
I have tried other DVD and it works
-
rtprio
i was too poor for a dvd drive
-
uskerine
but this DVD is relatively new
-
uskerine
(7/8 yr, brand new, stored in the printer box)
-
rtprio
that looks weird; does it look the same with one of your dvds that works?
-
uskerine
I am going to check
-
ultramage
maybe it just means it's all zeroes?
-
ultramage
oh, question, does cd9660 actually work on dvds?
-
uskerine
yes it does, I mounted the other PC DVD with that
-
uskerine
mounted fine and you could ls
-
ultramage
okie
-
rtprio
i thought cd9660 was for dvds too
-
uskerine
-
VimDiesel
Title: View paste TGBA
-
uskerine
this one is the dvd that mounts and can be browsed
-
rtprio
ok, maybe fdisk is the wrong tool for this
-
uskerine
gpart?
-
rtprio
worth a shot, yeah
-
ultramage
I'd probably image it raw and examine it with some dedicated utility. but it's just supposed to be a driver disk...
-
uskerine
yes it is a bit weird
-
ultramage
is it a pressed vendor-branded driver disk, or something made in a dvd-rw burner?
-
uskerine
it is a pressed vendor-branded
-
uskerine
it comes with a samsung printer
-
uskerine
so it shall be a "proper" dvd
-
uskerine
anyway, maybe it is faulty
-
uskerine
I just wanted to see if the manual was there, I guess I can google
-
uskerine
btw, the printer seems to use SPL, and I was wondering if there would be something to convert ps into SPL without using cups
-
ultramage
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
-
ultramage
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
-
sn00p
ultramage, i'm trying to setup znc for ipv6 every time i try to connect to server it says cant resolve bind hostname
-
uskerine
well I was just thinking the way I was mounting was the wrong one, but apparently not, so it is not worth the effort
-
ultramage
-
VimDiesel
Title: Other - FreeBSD thinks my CDs and DVDs are empty | The FreeBSD Forums
-
uskerine
I already read that one
-
uskerine
ls -ltr
-
uskerine
cat /etc/printcap
-
uskerine
cat /etc/printcap
-
rtprio
slow down boss
-
rtprio
before you rm -Rf yourself
-
uskerine
oops sorry
-
yuripv
uskerine: (reading backlog) did you try mount_udf for your dvd?
-
uskerine
no I did not
-
uskerine
I can try
-
uskerine
oh yes I did
-
uskerine
mount -t udf
-
uskerine
it did not work either
-
rtprio
i'm trying to rack my brain as to what other file format it could be
-
rtprio
uskerine: is ther anything other than /dev/cd0... like cd0c perhaps ?
-
uskerine
nope
-
uskerine
I think there is soemthing fishy with that DVD or with that dvd config, in any case, other DVD is being read ok
-
uskerine
now I am trying to get my Samsung laser printer working
-
uskerine
if possible without CUPS
-
yuripv
udf is the fs for dvds (usually), and when mounting it as cd9660 it would present a README saying use UDF :)
-
uskerine
well it seems I have a brick instead of a printer given that I can not use it