-
ivy
markmcb: that pkg-version issue will be fixed in the next pkg release, in the mean time we decided to also remove FreeBSD-ftpd (not freebsd-ftpd) entirely, since it was already slated for 15.0 and just wasn't done yet
-
polarian
Does anyone have IPv6 working on wireguard
-
polarian
for some reason I can't get it to work
-
polarian
IPv4 works just fine, IPv6 works on my phone too
-
polarian
so I know its not a router side issue
-
polarian
pf isn't dropping the packet
-
polarian
wg-quick routes seem to be correct
-
polarian
yet no IPv6 packets will pass
-
polarian
The host interface is IPv4 only, but this doesn't matter over a wireguard tunnel
-
polarian
wtf it just started working without me even touching it
-
polarian
oh wait it is firefox which is the issue
-
nimaje
I would have asked for netstat -r -W -n and ifconfig output to debug the issue, but as it is solved…
-
polarian
welp this is buggy asf, restarted wireguard and now it doesn't work again
-
polarian
nimaje: sure sorry about that, I should have pastebinned that too
-
polarian
it doesn't seem like firefox detects IPv6 though :/
-
polarian
alright so, checking wg0 the IPv6 packets are passing out, but there is no response passing back in
-
polarian
the response is being dropped for some reason
-
polarian
nimaje:
bpa.st/XRKPU here, stripped the public addresses out
-
polarian
it literally just randomly worked for a few seconds and now isn't again
-
polarian
oh wait it was because I was over ssh, thats why "it worked" xD
-
polarian
it never worked basically I mixed up my terminals :P
-
nimaje
can you look at the other side how it handles the packages? as you said they go out but no response is comming
-
polarian
alright sure
-
polarian
thats a good suggestion actually
-
polarian
nimaje: no IPv6 packets hit the other side
-
polarian
so I can assume my laptop must be dropping them then
-
polarian
I see IPv6 packets from my phone going via the tunnel
-
polarian
working just fine, but freebsd? nahj
-
markmcb
ivy: that's great! thanks for closing the loop
-
rtprio
ivy: hrm i ended up having to blast usr/local and /var/db/pkg and rebuilding everything
-
rtprio
not sure what i was expecting
-
polarian
ignore my IPv6 shit
-
polarian
I found the issue :)
-
nimaje
what was it? faulty firewall?
-
dsmith
polarian, Yes, what was it?
-
polarian
dsmith: making me say now are we? :P
-
» polarian is an idiot and assigned the same IPv6 to my phone
-
polarian
its classic bad documentation of your network
-
polarian
the documented IPv6 address for my phone differed than the actual one in the config
-
polarian
reason? I reinstalled android a lot on my phone in the last year, with DivestOS going EOL, then CalyxOS having trouble (and EOL for 6 months) and now on LineageOS :P
-
CrtxReavr
polarian, the "documented IP" is likely a temporary (privacy extension IP) and the "actual" is probably an EUI-64 SLAAC IP.
-
polarian
CrtxReavr: dunno what you are talking about
-
polarian
the IP I had written down as allocated in my docs for my network differed from the one in the config
-
polarian
in other words, I hadn't updated the docs
-
polarian
which meant when I manually assigned the next "free" IPv6
-
CrtxReavr
Okay - sorry for misinterpreting.
-
CrtxReavr
rtprio, hope you remembered to change your shell back to something !under /usr/local. >=]
-
rtprio
the big thing was grub2 and curl
-
rtprio
but then ports were so broken i had to start over
-
CrtxReavr
Been there.
-
CrtxReavr
Been a long time, fortunatly, but I've been there.
-
CrtxReavr
Not letting things other than ports & pkg install things to $LOCAL_BASE goes a long way to help with that.
-
CrtxReavr
I normally maintain a /usr/opt/ prefix for things I write, maintain, or compile by hand.
-
ivy
kind of sad that freebsd pollutes /usr/local so badly people can't actually use it for its intended use. i build my ports under /pkg instead
-
rtprio
build them, or use them under /pkg ?
-
nxjoseph
i don't think it's a pollution
-
ivy
rtprio: i mean i build them with LOCALBASE=/pkg
-
kevans_
how we do things work these days, now that we have user.localbase?
-
kevans_
s/we/well/
-
ivy
kevans_: i had to fix ~5 ports out of a few hundred, other than that it seems to work well. i think it actually broke make -C release more than anything in ports :-)
-
ivy
you will want my recent fix to /etc/defaults/rc.conf if you want to try it, otherwise the ldconfig path doesn't get set properly
-
kevans_
hmm
-
kevans_
things like syslog.conf are also a little bit of a challenge
-
kevans_
you almost need some of these to be generated at build time to get it 'just right', rather than complicating everything with some form of variable substitution at runtime
-
rtprio
ivy: do you use /usr/local for? ports rather than pkg? builds that aren't either pkg or ports? nothing?
-
ivy
rtprio: things which are local to the system. system-specific shell scripts, for example
-
rtprio
that reminds me of the netbsd/pkg+pkgsrc pattern
-
ivy
yeah, netbsd did this correctly
-
» CrtxReavr misses when you could just use portmaster to build/install/upgrade ports, and didn't have to phutz with poudriere.
-
kevans_
dsynth?
-
kevans_
or synth?
-
rtprio
CrtxReavr: why can't you?
-
CrtxReavr
There's always some that won't build. It's very inconsistent these days.
-
ivy
rtprio: practically a lot of stuff breaks with portmaster nowadays. for example if you have freebsd-gcc installed, you can't build any llvm or rust ports
-
kevans_
there's been a somewhat concerted effort to require clean environments for building ports
-
CrtxReavr
Nothing in ports shoudl be build with gcc anymore.
-
kevans_
that's a nice idea in theory
-
ivy
CrtxReavr: freebsd-gcc is for building the base system
-
CrtxReavr
How long did we wait to get gcc out of base?
-
ivy
since we support doing that, freebsd developers need freebsd-gcc installed to test it
-
impulse
What shell do you guys use? I'm coming from 20 years of using bash in linux.
-
V_PauAmma_V
(t)csh
-
ivy
impulse: zsh
-
ivy
but if you like bash, you can just keep using bash, it works fine in freebsd
-
impulse
yea, i'm trying to decide if i should keep using bash or try something with a BSD license to get the full BSD experience
-
impulse
does tcsh use libedit these days?
-
dsmith
The only thing that trips me up moving from bash to fbsd sh is lack of M-. But I found a vi-mode command that is almost the same "_"
-
dsmith
"vi-history-word"
-
impulse
dsmith: you use plain sh?
-
dsmith
On fbsd, yes.
-
dsmith
For about 2 weeks now...
-
ivy
sh is not too bad as an interactive shell since it got line editing and history search, i no longer feel an urge to change root's shell to csh
-
dsmith
Used to use fbsd years (20?) ago. Probaby used bash on it then
-
V_PauAmma_V
impulse, "ldd /bin/tcsh" says it doesn't.
-
impulse
oh but "ldd /bin/sh" does
-
impulse
interesting
-
CrtxReavr
Older bash versions supported a static-build option. . . I used to toss it in /bin/.
-
ivy
impulse: i think line editing in tcsh predates the existence of libedit, which was written specifically to add line editing to NetBSD base tools
-
impulse
ivy: yea looks like. i would probably prefer to use libedit though so i can have one configuration between all cli's
-
impulse
dsmith: should be able to add M-. to your libedit configuration
-
CrtxReavr
Changing root's shell to something not in your / volume is great. . . until something goes sideways and you can't mount /usr for instance.
-
impulse
without switching to vi mode
-
impulse
hmm no libedit on zsh either
-
CrtxReavr
I remember db talking about having a sysadmin who refused to install vi becuase they thought it was too much of a resource hog.
-
impulse
CrtxReavr: do you use sh as root then? or do you immediately invoke another shell when you log in?
-
impulse
CrtxReavr: was that in an embedded environment?
-
ivy
CrtxReavr: seems reasonable. ed(1) (the standard text editor) only requires 1 line, vi(1) can use up to 80 lines. that's 80x more lines!
-
CrtxReavr
impulse, no. . . just old.
-
CrtxReavr
impulse, I typically just leave root's shell as the csh default. . . and I alsomost every need to use it, 'cause I set my own shell as bash and 'sudo -s' keeps most of my environment, so. . . win-win.
-
ivy
root's shell is /bin/sh by default now (since 13?)
-
impulse
on my system, root's shell seems to be sh
-
dsmith
impulse, Yes, I have `bind "^[." vi-history-word` in my ~/.editrc
-
CrtxReavr
I notice it's set to sh on this VPS I IRC from. . . and I don't remember if I set that or if it changed somewhere.
-
CrtxReavr
This is an old VPS. . . it was prolly installed as 5.x or 6.x
-
CrtxReavr
Huh. . . must have changed to /bin/sh in a merge I didn't pay much attention too.
-
impulse
oh. libedit doesn't have yank-last-arg. i guess it's not really a dropin replacement for readline
-
dsmith
Yeah, the vi-history-word is not exactly the same. Adds an extra space. Close enough for my muscle memory