-
pkubaj
rtprio: any my desktop
pastebin.com/x8mYgYy6
-
VimDiesel
Title: pkubaj@KGPE-D16 ~ [SIGINT]> curl -I -v
freebsd.org/* Trying 147. - Pastebin.com
-
polyex
anyone know how to read files on a ufs thumb drive from linux?
-
pkubaj
polyex: load ufs module and try to mount your drive
-
polyex
tried that. modprobe ufs ?
-
polyex
sudo modprobe ufs ... modprobe: ERROR: could not insert 'ufs': Invalid argument
-
pkubaj
dmesg?
-
polyex
on the linux box?
-
pkubaj
yes
-
pkubaj
rtprio: it sounds idiotic, but i'm starting to wonder whether the architecture (arm64) is the issue here...
-
pkubaj
rtprio: found it
-
pkubaj
for some reason, no idea why, mtu was set up to 576 on the wan interface
-
pkubaj
i have no idea why it happened, it must have been set up automatically
-
spork_css_
pkubaj: interesting, so the port 80 responses were very tiny I expect (probably just doing a 301 redirect) and fit well within 576 bytes, good sleuthing
-
spork_css_
No idea what your wan interface type is, but 576 MTU definitely isn't the default...
-
vxwarlock
newfs_msdos -F 32 -c 1 What does 1 stand for here? [efi partition
-
vxwarlock
When I want to format without c1 it gives the following error. > newfs_msdos 32751 clusters too few clusters for fat32 need 65525.
-
vxwarlock
I couldn't understand it
-
RhodiumToad
-c is sectors per cluster
-
RhodiumToad
how big is the partition?
-
vxwarlock
newfs_msdos -F 32 -c 1 -S 4096 /dev/da0p1
-
RhodiumToad
how big is the partition?
-
nerozero
hello there, how can I generate a random number in freebsd using only existing posix shell commands
-
nerozero
found it - jot
-
parv
"man jot | grep -i posix" returns noting.
-
» parv tosses in an etch
-
rogersm
is not $RANDOM posix?
-
parv
I think RANDOM is shell dependent
-
rogersm
awk has rand
-
nerozero
parv: jot -r 1 0 9
-
nerozero
random 0..9
-
parv
nerozero, And?
-
rogersm
you can call awk
-
nerozero
parv, have you read my question ?
-
nerozero
ah ... jot is not posix ..
-
nerozero
ok
-
parv
nerozero, This one: "how can I generate a random number in freebsd using only existing posix shell commands"? Yes
-
nerozero
ok then, awk is the only otions
-
nerozero
*options
-
RhodiumToad
if you need to stick strictly to posix utilities, yes
-
dch
I needed to tell a bsdmake-invoked Makefile that it should use gmake for a dependency, on freebsd
-
dch
so I did `GMAKE!=which gmake || which make`
-
dch
seems to work ok
-
dch
maybe there is a nicer way
-
dch
on linux we should use make as usual in both top level (POSIX std) makefile, and only on FreeBSD, the subsidiary GNU makefile
-
cdrmack_
Hello, I looked for `strace` on FreeBSD but in port description I saw that it's similar to the built-in `truss`. How similar these two are?
-
CmdLnKid
have you compared the manual pages ?
-
jauntyd
-
VimDiesel
Title: truss
-
cdrmack_
I'm doing this right now but I thought that maybe some experienced users could share their own experience because. Wouldn't be surprised if someone said "truss is good enough, no need for strace in most cases".
-
CmdLnKid
strace just simply isn't goin to work here
-
CmdLnKid
eh i may be thinking of something else but truss all-in-all can handle your needs here
-
cdrmack_
Thanks, that's good information already. :)
-
CmdLnKid
dtrace can delve a bit deeper, scripted
-
CmdLnKid
anyone got a great ignore line for irssi and "Ping timeout:"'s
-
CmdLnKid
?
-
CmdLnKid
before i attempt to write some perl
-
CmdLnKid
"/ignore -regexp -pattern "has.quit.*Ping.timeout:" * QUITS" doesn't fly
-
CmdLnKid
or without the quotes
-
CmdLnKid
... or another configuration to just shove them all into a window
-
rtprio
uh, ignore parts and quits
-
CmdLnKid
no
-
rtprio
it does cover timeouts
-
CmdLnKid
so far ...
-
CmdLnKid
*/ignore -regexp -pattern ".*has.quit.*Ping.timeout:" * QUITS*
-
CmdLnKid
seems to work
-
CmdLnKid
i seemed to have my regex backwards
-
CmdLnKid
almoost sure it could be done more efficiently
-
Ronis_BR
hi! Why can't we have a NFS inside a Jail?
-
CmdLnKid
because how rpc works ?
-
Ronis_BR
CmdLnKid: but what is the technical difficulty?
-
signalblue
Ronis_BR: mount it on the jail host first
-
signalblue
then access it via the jail itself
-
signalblue
if you want an NFS server to run within a jail, that's easy
-
Ronis_BR
signalblue: I can run on host, no problem. I was just trying to keep everything inside jails
-
Ronis_BR
there is no problem, just curiosity :)
-
signalblue
yeah no I understand
-
signalblue
the real reason, I'm not qualified enough to explaim though lol
-
Ronis_BR
signalblue: :D Thanks!
-
Ronis_BR
signalblue: just one more question, but I can use a NFS inside a bhyve VM right?
-
rtprio
yep
-
signalblue
yes
-
Ronis_BR
thanks!
-
signalblue
no problem
-
ayaka
linux has the termios2 ioctl which could support variable baudrate not from the predefined set
-
ayaka
how does bsd support that?
-
hernan
is there some way to restart video? i have dual monitor and for unknown reason the second monitor is not receiving any screen signal... however i can list/activate it in arandr.. but it keeps black. i can reboot of course, but i rather not
-
vkarlsen
hernan: What happens if you flip to console and back?
-
hernan
vkarlsen: when switch to console, it displays console on both screens. when i switch back to X, the second screen goes black again
-
hernan
interesting
-
V_PauAmma_V
ayaka, some digging led me to cfsetispeed() and cfsetospeed(), which are POSIX functions.
-
vkarlsen
hernan: Maybe a driver issue?
-
hernan
vkarlsen: no idea... however it seems that firefox has some effect on it. this has happened before (with firefox closed and screen locked for a long time), then when i unlock (second screen doesnt come up) however when i open firefox the screen enables again
-
hernan
anyways, i pkg updated now, restarted firefox and second screen is working again
-
hernan
go wonder
-
hernan
but this last time even firefox wasnt enabling the second screen again.. until i pkg updated
-
hernan
no idea why this happens =)
-
vkarlsen
I'm happy I got to share this moment with you when you got it working again, even though none of it was my doing :D
-
hernan
also not using any video card, just intel processor video
-
hernan
vkarlsen: yeah, thanks =D
-
ayaka
V_PauAmma_V, yes but cfsetispeed() and cfsetospeed(): which must be one of these constants
-
macbethwin
hello heaps
-
V_PauAmma_V
That's not what the (13.2) FreeBSD manual page for them says, but that may be an extension to POSIX.
-
chargen
hello heaps
-
la_mettrie
hello volatiles
-
chargen
:)