-
ober
and ath9k is not supported...
-
kevans
nimaje: I think formally we only guarantee from N-1 major release, but typically N-2 will work as well
-
ScrewDriver1337
wasup gentlemen
-
ScrewDriver1337
How do I do IPv6 in PF? Just like with IPv4?
-
ScrewDriver1337
Any caveats I should know before?
-
oprs
ScrewDriver1337: be mindful of ICMPv6, IPv6 relies on it pretty heavily (path MTU discovery, etc), much more so than IPv4 does on ICMP
-
oprs
and of coure, read The Book of PF, if you haven't already :-)
-
jauntyd
debdrup: I just thought you all had a system and I didn't want to interfere. ty
-
ScrewDriver1337
Well, currently I dont know jack shit about IPv6, so I gotta disable it completely
-
ivy
ScrewDriver1337: without checking the manual, i think 'block in quick inet6' / 'block out quick inet6' should probably work
-
ivy
alternatively, configure your network interfaces with "inet6 ifdisabled" to prevent them bring up ipv6 at all (this may even be the default, not sure)
-
ScrewDriver1337
I need to secure my NFS and other services. I know IPv4 and can trust my knowledge here, but I cannot say same for IPv6
-
ScrewDriver1337
So until I learn IPv6 - I will block it
-
Bushmaster
greetings all, i am planning to install FreeBSD, is it gonna be hard work?
-
la_mettrie
probably not
-
jb1277976
Bushmaster: its easier then you think. like easier then some linux installs.. probably eaiser
-
Bushmaster
excellent, can I install it in Proxmox VE?
-
Bushmaster
thanks jb1277976
-
debdrup
jauntyd: I've no clue what you're on about :)
-
Bushmaster
Installing FreeBSD, so far all going fine
-
Hecate
Bushmaster: \o/
-
Bushmaster
just a quick question Hecate will UNIX commands will work in FreeBSD right?
-
Bushmaster
I borrowed a book from library, its old book in UNIX Commands, I wonder those commands will work with BSD
-
futune_
how old UNIX? from the 80s? 90s?
-
polarian
freshports.org/editors/vscode ugh... no quarterly, it seems latest always has the built ports, is it better to use latest on desktop then?
-
Hecate
Bushmaster: how old is the book?
-
Hecate
Bushmaster: in general I'd recommend getting a book about FreeBSD proper, or even just getting the manual
-
polarian
I should really start contributing to the port tree :/
-
polarian
question, if a port has a maintainer, and the maintainer hasn't yet submitted a patch to bugs.freebsd.org, is it fine for you to write a patch to update/fix it and then submit it to bugs.freebsd.org?
-
Bushmaster
I installed FreeBSD but something gone wrong
-
Bushmaster
I can log in with user and root account but it keeps throwing me some message
-
Bushmaster
bsd ntpd[687] : error resolving pool 2. freebsd.pool.ntp.org : Name does not resolve (8)
-
psycorama
this looks like a "kernel" message, these are always printed on tty1
-
psycorama
is your network setup properly?
-
Bushmaster
the message keeps coming every after minutes
-
Bushmaster
well i declared statis IP 192.168.1.75, default route 192.168.1.1 and netmask 192.168.1.0/24
-
psycorama
do the outputs of `ifconfig` and `netstat -rn` look ok?
-
psycorama
the netmask looks strange.
-
Bushmaster
and then it ask for resolver configuration and i put down bsd.unix.com and DNS 1 : 192.168.1.1
-
Bushmaster
left DNS 2 blank
-
psycorama
netmask should be 255.255.255.0
-
Bushmaster
i could do 255.255.255.0
-
Bushmaster
yeah i did that but it did something i cant remember so that i thought i go with 192.168.1.0/24
-
Bushmaster
so you think this caused the issue right
-
Bushmaster
may be should go with DHCP then to save all the hassle
-
Bushmaster
kill it and reinstall again?
-
psycorama
it looks like a thing to me. dhcp is the easier part, when you have a dhcp-server in your network
-
Bushmaster
it canot connect to internet or do SSH now
-
Bushmaster
yeah gonna kill it now
-
psycorama
-
Bushmaster
i just killed it
-
Bushmaster
gonna install back on in Proxmox
-
Bushmaster
go with DHCP this time
-
Bushmaster
that issue is gone but now new issue
-
Bushmaster
if i type su it wont let me root
-
Bushmaster
saying sorry
-
Bushmaster
how I can be root then, i did declare root password during installation
-
Alver
"Sorry" would indicate you typed the wrong password
-
stl
Bushmaster: the user from which you are trying to 'su' should be in the 'wheel' group
-
Bushmaster
i did put user in wheel group
-
paulf
wheel doesn't get sudo access out of the box, you need to modify sudoers with visudo first
-
Alver
This is about su, not sudo.
-
Alver
Bushmaster: and if you do 'id' it shows you in the wheel group?
-
Bushmaster
hang on
-
Bushmaster
-
Alver
Bushmaster: the user is not in the wheel group as you can tell
-
Bushmaster
now that I cannot get into root, I am screwed to fix this issue right?
-
Alver
You can get into root by logging in locally on the machine, I would hope. :)
-
Alver
Or via SSH, but that's (iirc) not enabled by default
-
Bushmaster
so reboot this VM and put root and root password right
-
ridcully
isn't uid=1000 in wheel by default?
-
Bushmaster
now I logged in as root but this machine where i am talking to you folks is Debian and I cannot ssh as root from this machine like before
-
Bushmaster
but I am root in FreeBSD, can you help me resolving the issue so that when I log in as user I can do su
-
oprs
pw groupmod wheel -m cattish
-
oprs
should add cattish to the wheel group
-
Bushmaster
let me see oprs
-
oprs
ridcully: his username (cattish) has uid=1001, so I'm guessing multiple accounts were created for some reason
-
Bushmaster
i got the command prompt back oprs
-
Bushmaster
oprs first time when i installed FreeBSD i messed up the manual IP hence this is the second time in VM hence it could be the reason of two cattish
-
Bushmaster
no idea though
-
ridcully
oprs: that's why i asked - i assumed a different user was added and the user with uid=1000 might be used to recover via ssh
-
oprs
yeah
-
Bushmaster
what I should do now, I executed that last command oprs kindly provided and I got command prompt back
-
oprs
Bushmaster: try the same ssh command again, you should be able to use su now
-
Bushmaster
from this Debian machine I am using you mean
-
oprs
I mean from bushmaster, as before
-
Bushmaster
yes it worked, but let me send you the link
-
Bushmaster
oh no
-
Bushmaster
it wont let me in
-
Bushmaster
-
oprs
yeah, that's because you're trying to connect as root
-
oprs
what you should do is: ssh cattish⊙111
-
oprs
then use su
-
Bushmaster
oh yes, you folks are cool, it worked, i got it hehehe
dpaste.com/DXSTLSTZB
-
Bushmaster
is it okay I hang out here and learn
-
Bushmaster
ilearnt more here than from that old book
-
oprs
sure, hey which book is that btw ? just curious
-
Bushmaster
Beginning Modern Unix, Manish Jain, Apress Publication, 2018
-
Bushmaster
sorry, its not a BSD Book
-
oprs
oh it's not that old, I was expecting something from the 80s :-)
-
oprs
anyway, if you want something more FreeBSD specific, you probably want to read the FreeBSD Handbook:
docs.freebsd.org/en/books/handbook
-
Bushmaster
so what is the command to update the system, surely its not apt update or dnf upgrade hehehe, is it pkg update
-
Bushmaster
let me check
-
Bushmaster
great, it has pdf version as well, just downloaded it, very good
-
Bushmaster
thanks a lot
-
oprs
yw !
-
Bushmaster
how to update the system
-
ivy
Bushmaster: pkg is for ports (third-party software), in current version it does not handle the base system, you probably want freebsd-update command for that
-
ivy
that might change in future if we get pkgbase by default (slated for 15.0 release, but we'll see)
-
Bushmaster
you folks are BSD Developer I think
-
Bushmaster
hang on let me utilize that command
-
ivy
do read the handbook chapter on freebsd-update before using it
-
Bushmaster
okay
-
Bushmaster
it just showing colon sign, may be doing something,
dpaste.com/7DPRCLSYY
-
ridcully
Bushmaster: it's showing you the changes it would bring using the pager (e.g. `more`). press `q` to quit the pager if you are fine with the changes
-
Bushmaster
oh okay thanks ridcully and then issue that command from the hand book page 636 freebsd-update install right?
-
ifreund
for some reason my FreeBSD guest vm does not receive any DHCPOFFERS when attepting to configure the vtnet0 interface using dhclient
-
ifreund
DHCP works fine for a linux guest vm on the same host system with the same host network configuration
-
ifreund
anyone have a tip for how I could debug this?
-
Bushmaster
i think update is done
dpaste.com/7U4QUZHPQ
-
Bushmaster
thanks a lot folks
-
Bushmaster
i am happy and you folks being BIG BIG HELP
-
Bushmaster
I will be around anyway
-
Bushmaster
one thing i just noticed it cannot shut down if i issue shutdown now
-
Bushmaster
it comes up with saying Enter Full path of shell or RETURN /bin/sh:
-
polarian
what tools do you guys use for presentations
-
polarian
slides and stuff :)
-
ifreund
polarian: pdfpc
-
ifreund
to actually make the presentations, anything that can generate pdfs
-
polarian
GPLv3 :/
-
polarian
anything _more free_?
-
polarian
aka not copylefted
-
psycorama
what about LaTex?
-
polarian
psycorama: already planned to write it in latex the issue is presenting the pdf
-
polarian
something minimal, lightweight and permissive
-
psycorama
aaah, i misread that
-
polarian
wait beamer exists...
-
ivy
i have a raidz2 with 8x 7200rpm SAS disks, and when copying the files to a Samba share from a Windows client (10GbE, 9k mtu) i only get ~550MB/s at most. if i copy files from the share that are in the cache i get ~1GB/s, so i don't think the problem is a network issue. is this the typical performance i should expect from this array? i thought it would be a bit faster given the individual disks can do at least 120MB/s sequential i/o each
-
shbrngdo
a long time I noted performance bottlenecking between samba and windows. Using samba between BSD and either FBSD or Linux performed better, maybe even 50% better (this was back in the 2000's though) with equivalent hardware. Still you have spinny drives and writing is always slower than reading, eespecially if they are 'shingled'
-
CrtxReavr
ivy, for "spinning rust," I'd say 550/MB/s is pretty freak'n amazing.
-
CrtxReavr
s/\//
-
duskmoss
ivy: thats all I'd expect for writes. thats 90 MB/s per drive which is pretty close to max. if you're not using a large recordsize you may get a bit more, or maybe a bit more from adding a metadata vdev to reduce iops on the HDD but I wouldn't bet on either. you may also be bandwidth limited by your system bus, or your HBA
-
lts
That would be a really old HBA
-
ivy
it's not a bandwidth limit, i get ~1GB/s if i read from data in the ARC. but i could believe it's just the practical limit of 7200 rpm disks
-
ivy
was mostly curious what sort of speeds other people get
-
ivy
when i tested these disks they did about 120MB/s each in sequential write (but i know zfs needs to write metadata as well...)
-
ivy
fwiw the HBA says: PCIe Width/Speed: x4 (5.0 GB/sec)
-
ivy
i'm not entirely sure what that means because no PCIe version does 5GB/s over an x4 connection
-
ivy
maybe it means 5GT/s, which would be right for PCIe 2.0 x4
-
ivy
(so 2GB/s)
-
lts
A single lane of PCIe 2.0 is 5GT/s
-
ivy
right, 5GT/s per lane, x4 being 4 lanes, so minus overhead 2GB/s total
-
ivy
((5*4)/8)*0.80 = 2.00
-
lts
Right, my bad, B vs b
-
ivy
but anyway this HBA is pretty old (as you can tell from it using PCIe 2.0 to begin with :-) so that could be a factor even if it's not reaching the theoretical PCIe limit
-
daemon
hey all I have a gateway/router with mpd5 that has re0: local lan 172.31.5.0/24 em0: backup 4G network, igb0/fib1: PPPoE connection, igb1/fib2: PPPoE connection, is anyone able to provide me with a link to a basic nat setup for just dealing with twe two pppoe links fib1/2 for packet filter?
-
daemon
they both have the same gateway ip hence the different fibs
-
dch
ivy: I read this article a few days ago,
allthingsopen.org/articles/noisy-zfs-disks & it gave a lot of info on how raidz works, and some of the constraints, would like to know if its useful for you too
-
uskerine
which package contains -if any- the legacy rcp, rsh and rexec ?
-
nimaje
pretty sure there is one and that the update notice listed it, but I don't remember, you could use freshports to search for rcp in pkg-plists
-
uskerine
nimaje thanks. so if you search using pkg-plists you search for files contained in the package ?
freshports.org/net/bsdrcmds
-
nimaje
each port (except for shitty exceptions) declares what files it will install statically, mostly via a file named pkg-plist and sometimes via some variables in the ports makefile (if there are only a few installed files), freshports lets you search for those statically declared files (and the ports framework will complain in stage-qa if it doesn't match what really gets installed)