-
rwp
debdrup, I am sure that most people don't want hard real time systems. Because if so then that's what we would have. We don't so they don't.
-
rwp
For doing bulk calculations normal timesharing systems is better. And most of what we do is bulk computing.
-
okeuday
Hi, I was looking at a FreeBSD 14.0 machine on a 10GbE network, but iperf -s tells me that FreeBSD is only allowing approximately 6 Gigabits/second instead of something closer to 9.4 Gigabits/second that I see on Linux, FreeBSD configuration changes don't appear to improve the bandwidth available, is it possible it is just due to poor performance in the FreeBSD source code? i.e., does anyone have FreeBSD running with 10GbE and decent b
-
okeuday
andwidth in a iperf -s test?
-
polarian
I have a question about wifi, and I got a feeling a network manager will be required for this, but I will ask anyways... I have wifi enabled using DHCP and WPA parameters... however IPv6 is manually configured on my network... is there anyway to match an SSID with a DHCP allocated IPv4 and a static IPv6? without a network manager?
-
polarian
to be honest come to think about it, this is something which is easily scriptable
-
polarian
although I feel that would just be reinventing the role of a network manager...
-
rtprio
yeah, let's not do that
-
rtprio
i feel like the proper solution is to fix the ivp6 network
-
polyex
ya let's get ipv6 polished
-
rtprio
either dhcp or auto addressing
-
polarian
rtprio: no can do currently :P
-
lw
polarian: if it helps, we're getting a DHCPv6 client "soon" which means you can configure static IPv6 addresses there like you would for DHCPv4, so no need for static config
-
polarian
I think I should just write a script...
-
polarian
it seems my emails to freebsd mailing list have went ignored however... maybe I should ifdown wlan0 in the meantime
-
ek
Maybe I'm not understanding the issue, but it seems like static v6 and a DHCP acquired v4 would be pretty standard? What's the problem?
-
polarian
-
VimDiesel
Title: Wifi/Bluetooth hardware switch on Dell E6430
-
rtprio
seems like a script you could write into DHCLIENT-SCRIPT(8)
-
polarian
ek: well I can switch wifi network, I want the IPv6 statically assigned to wlan0 ONLY when connecting to a specific SSID
-
polarian
rtprio: I assume I can just parse the ifconfig output within the script to check if the SSID matches, and then set the address?
-
ek
polarian: Ah. I see. It sounds like the switch on the Dell is software driven and not hardware driven (so, that's a bummer.)
-
rtprio
yeah, or chcek it with wpa_cli
-
ek
Yeah. I would think you could just set up the WPA config to use a static v6 address when connecting to any particular SSID.
-
polarian
ek: I believe I remember it working on void Linux... probably another GPL'd driver which BSD can't use
-
polarian
also wpa_supplicant supports static addresses within the config?
-
rtprio
ek: i don't see a static option
-
polarian
neither do I in the man page
-
lw
i'm rather surprised wpa_supplicant doesn't have a way to run a script when connecting to a new ssid, unless i'm missing it in the manpage
-
polarian
lw: its usually wrapped with something like NetworkManager on Linux... so I see why it doesn't :P
-
polarian
I think NetworkManager wraps it... it might implement the supplicant logic itself.. .
-
polarian
-
polarian
I will try rtprio's suggestion
-
polarian
Thanks for the advice
-
ek
"WPA inet <ADDR> netmask <MASK> ssid <SSID>" doesn't work anymore?
-
ek
-
VimDiesel
Title: Solved - Static IP over WPA Wifi | The FreeBSD Forums
-
polarian
ek: you mean in the rc.conf?
-
polarian
not the wpa_supplicant.conf though?
-
ek
Yes.
-
polarian
there is a downside to that...
-
polarian
if I connect to say my university wifi... which is IPv4 only
-
polarian
it will assign a non-routable IPv6 address...
-
polarian
it must only execute when its a specific SSID :)
-
ek
I've not tested this, but if you specify the SSID in /etc/rc.conf, it should only use that configuration for that SSID. Multiple lines for the assignment of IP's might be supported for different SSID's.
-
ek
Again, I cannot guarantee this. But, give it a shot and see?
-
polarian
oh wait I completely missed the ssid option
-
polarian
I will give your solution a shot first, and then go with rtprio if it doesn't work
-
polarian
thanks for the he;l[p
-
polarian
help*
-
ek
Sure thing. Good luck! I hope it works. Would like to hear the outcome of the testing. If I had an FBSD laptop to test with now, I'd give it a go myself.
-
polarian
sure I will ping you if it works, if you are good with that?
-
polarian
likely need to try it tomorrow though, its currently 3am :P
-
lw
ah, 3am, the Periodicing Hour
-
polarian
Periodicing Hour?
-
lw
like the witching hour but more freebsd. (it's when periodic daily runs)
-
rtprio
oh. i assumed you'd move this wireless device to other networks
-
rtprio
but if not, sure, ek's idea is good
-
polyex
why do i get "lockf: /var/run/periodic.daily.lock: already locked" when i run sudo periodic daily?
-
lw
polyex: it's already running, or perhaps it somehow exited and didn't clean up the lockfile
-
polyex
hm ya i'm getting periodic sitting around with locks hmm
-
polyex
on a few different jails, but 1 not
-
polyex
it was in 3 of 4 jails on a new install. rebooted, they were working. weird
-
polyex
i wonder if it's flakey
-
polyex
rebuilt machine and all jails were working
-
polyex
weird
-
polyex
14.1 inc
-
nimaje
ek: are you sure that rc.conf line doesn't just restrict the interface to that one ssid? polarian want diffrent configs depending on ssid (static ipv6 for one specific ssid, else normal automatic dynamic ipv6)
-
lw
i'm having an issue with network tuning, using 15.0/amd64 on two systems - on both sides i've set kern.ipc.maxsockbuf=614400000, net.inet.tcp.{send,recv}space=4194304, MTU is 9000, TCP hostcache is disabled. with iperf3, in one direction i get 9.88Gb/s with 9k byte packets, in the other direction i get 1.68Gb/s with 1500 byte packets. what's going on?
-
lw
netstat -Wrn shows mtu 9000 as expected on both sides
-
lw
the only difference i can see between the two systems is that during the slow test, the 'server' side is using a bridge rather than the physical interface
-
lw
jbo: ping
-
drobban
trying to destroy a dataset. but it claims its being busy. is there a simple way of inspecting whats "using" it?
-
llua
drobban: fuser -c mountpoint
-
polarian
nimaje: I am not sure...
-
polarian
may as well try it
-
polarian
and if it works then good
-
polarian
if not oh well
-
polarian
also USB speeds are painfully slow...
-
polarian
150kB/s is the max dd can write a usb stick... this USB stick can do much more...
-
polarian
I have heard this complaint a lot from FreeBSD users, is there any fix to it?
-
polarian
-
VimDiesel
Title: dpaste/d7KFV (Python)
-
polarian
thats the dmesg
-
V_PauAmma_V
polarian, what block size do you use in the dd command?
-
polarian
V_PauAmma_V: default
-
V_PauAmma_V
Try 128K.
-
V_PauAmma_V
-
VimDiesel
Title: Chapter 2. Installing FreeBSD | FreeBSD Documentation Portal
-
yamada
freebsd++
-
yamada
development of freebsd still got directions i favor ^^
-
polarian
V_PauAmma_V: I will try that now
-
polarian
yup much faster with 1M bs
-
polarian
and conv=sync makes it even faster... I guess this was a case of RTFM
-
polarian
FreeBSD dd doesn't seem to have the same defaults as other platforms then?
-
drobban
llua: interesting thanks! did not know about fuser.
-
polarian
I found a segfault
-
polarian
if you specify inet6 with subnet in rc.conf and sh /etc/netstart
-
polarian
it segfaults
-
sfox
that's strange sync would make it faster
-
sfox
not slower
-
sfox
maybe it's because of the purely sequential workload
-
sfox
if you sync immediately it doesn't give the chance for controller reordering
-
jgh
big chunks
-
sfox
sounds painful
-
rtprio
which command segfaults
-
rtprio
d
-
polarian
lost the backlog since my last message, if anyone responded please resend
-
polarian
is there no way to add a route with ifconfig(8), route(8) must be used? because I can assign a static IPv6 through ifconfig arguments in rc.conf but not add the route for it
-
V_PauAmma_V
< rtprio> which command segfaults
-
polarian
sh /etc/netstart with inet mixed with subnet
-
polarian
inet6*
-
polarian
I accidentally did "inet6 <ipv6 address> subnet 64" instead of "inet6 <ipv6 address> prefixlen 64"
-
polarian
I just have just done CIDR but meh
-
polarian
the first (incorrect) one segfaults
-
V_PauAmma_V
Which command in /etc/netstart?
-
polarian
not sure... let me go break my laptop again then I guess
-
polarian
hm weird... its not segfaulting this time
-
polarian
nevermind then I guess
-
V_PauAmma_V
You can configure static routes through rc.conf arguments: see static_routes and ipv6_static_routes. (That feature uses route(8) indeed, but that's an implementation matter.)
-
polarian
V_PauAmma_V: ah thanks for the pointer :)