g
its just quiet as fuck
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Thank you for the news. I'll read into it later.
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Recently I like listening to podcasts. It also improves my English listening skills. Are there FreeBSD podcasts that You would recommend? (on a website or as a youtube podcast)
(I'm asking about a recommendation. Not about "a podcast" in general, because I did use Internet search engine prior to asking)
ษด๊ฉแดแดแด
Geld check out https://www.bsdnow.tv/
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Geld check out https://www.bsdnow.tv/
I just did like 10 minutes ago. Downloaded an episode! Thanks for recommendation. It means it's good then.
Alfarizz
Hallo.
Want to ask about encrypt.
Is it possible to encrypt all mail files in server? So email file cannot be read by any user. Except via email client user related
g
trying to use libBFD on freebsd but just including the header gets me
/usr/local/include/bfd.h:1748:3: error: use of undeclared identifier 'ptr'
g
/usr/local/include/bfd.h:1745:38: error: expected ')'
bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
ษด๊ฉแดแดแด
g
z4ck
x250
Works really everything?
g
i dont know about bluetooth or modem but yes
z4ck
z4ck
z4ck
And another question for community, does security updates(freebsd-update) work under Raspberry Pi 3? Because under RPI2 they doesn't.
g
needed a few things fixed and i just gave up haha
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Lately I fool around with piping.
ls | grep "something"
And I understand that each line is passed to grep and if it contains" something", then it echo'es that line.
Yet there are things that don't work as I would think they should.
Like, I'm in my test directory, and I would lile to quickly make a copy of my root (/) directory and creare empty folders with the same names.
ls -1 / | mkdir
But I get "mkdir: Missing argument"
Why? Each line is provided as an argument to mkdir to make a folder, yet it doesn't.
mrphyber
mkdir
does not read its arguments from stdin, check out
xargs
for that
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Ok
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Wow
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Works
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
ls -1 / | xargs mkdir
mrphyber
what you must understand about pipes is that they rely on stdin/stdout of each process involved in the pipe.
ex:
grep "something" file | sed "s/1/2"
.
here is what will happen: grep and sed are started at the same time. grep will do its things, grep from file with expr "something" and instead of passing its output to stdout of your terminal, it will pass its output in the pipe that will magically transfer this text in the stdin of sed
sed will now process with its regexp the text received in the stdin from the pipe
hope it's clear
mrphyber
pipe is just a powerful tool to redirect out from a process and piping it in stdin of another process, it's just wonderful
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
mrphyber
you're very welcome
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Well, I wanted to make a copy of / because I was thinking about making a "dummy" copy of linux, something bare minimum, so that I could chroot into it. Apparently just coping everything from /bin doesn't solve it.
I would like to make a "jail" or "sandbox" so that it won't affect my system. I'm pretty sure it's possible! I just have to search more!
mrphyber
unfortunately I don't have very much experience with this topic
afaik jails let you chroot in a new fbsd environment that is still dependant on the host kernel
mrphyber
I think you should look into bhyve, an hypervisor for fbsd
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
To run a child shell with another file system as the root file system (assuming that /tmp is the mount point of a file system), enter:
mkdir /tmp/bin
cp /bin/sh /tmp/bin
chroot /tmp sh or chroot /tmp /bin/shCopy
This makes the directory name / (slash) refer to the /tmp for the duration of the /bin/sh command. It also makes the original root file system inaccessible. The file system on the /tmp file must contain the standard directories of a root file system.
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa500/chroot.htm
I do that and I still get
"no such file or directory"
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Ohhhh wait. Its not a mounted fikesystem. Maybe that's why
mrphyber
in order for chroot to work, the destination root must be a mountpoint of an existing filesystem root
Anonymous
I would like to make a "jail" or "sandbox" so that it won't affect my system. I'm pretty sure it's possible! I just have to search more!....jail is one option....or u can try to play with boot environment...tho i prefer jail.....u can make many jails to play around with
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
mrphyber
play around with jails, I think they are what you are searching
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
mrphyber
np man
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
So I followed stackoverflow posts.
To chroot into a directory, you need
lib, lib64 and usr, in your new root directory. I did
cp -a /lib newdir/
cp -a /lib64 newdir/
But since my laptop is crap and I only have 2GB of space left, I mounted usr
mkdir newdir/usr
sudo mount -o bind /usr newdir/usr
Then
sudo chroot newdir/
And I got
Bash-4.4#
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
I know mounting doesn't really make it a "jail", but once I have more space, I can fool around with it more. So far I'm happy.
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
I would do
rm rf --no-preserve-root /
But the /usr is mounted 😁
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Right. I thought like...
"well, since you start Xorg with startx, then how do you start wayland? Also startx? Since its about a" graphical session"rather than just a program" but no, a quick Qwant serach led me to a reddit topic
https://www.reddit.com/r/archlinux/comments/57lvzl/how_to_start_wayland/
with /u/nicman24 saying:
[...] There is no need to startx because the compositor is itself the graphical server (sort of)
Got it.
Other user /u/K900_ said
There's no such thing as "start Wayland", as there's no such program as "Wayland". Wayland is a protocol, and there are multiple Wayland-compatible compositors out there, Plasma's KWin being one of them. You can start a KWin-on-Wayland session with startplasmacompositor [...]
Which matches the first quote.
#LearningSomethingNewEveryDayOnFreeBSDTelegramGroup
Jay
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Unpack base.tgz
http://ftp10.freebsd.org/pub/FreeBSD/releases/amd64/12.1-RELEASE/
base.txz, that one, right?
Jay
Same version as your kernel
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
In theory. IN THEORY.
If I have my main system, and I plug, for example FuryBSD(or another version of FreeBSD) that is installed on a USB stick
(installed, not live-cd with persistence).
With my Xorg not started
Can I chroot into the USB stick, and do startx, and use the system on a USB stick just as I would from booting it properly?( So using it without actually booting it)
That would be cool! Wow! And even if you guys say it won't work, I'm gonna try it once I'm back home! (in a week).
(I'll share my big failure with you all once I have a chance to test it!)
Edit: Apparently it IS possible. Great. I'll test it later!
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Haha someone said piping? 😂😂
melvin
add lolcat โจ โจ
melvin
and head-in option
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
😭
melvin
ego@navi ~> sudo pacman -Ss lolcat
[sudo] password for ego:
community/lolcat 100.0.0-2
Okay, no unicorns. But rainbows!!
melvin
ill do it for you
melvin
shit, it depends on 19 ruby related packages
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
I used termux on Android to send the cow. I use my laptop without Internet.
melvin
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
melvin
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Welcome!
Frostbite
:) hey everybody
g
welcome
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
:) hey everybody
Due to high amount of spamming bots, please prove that you're a human by solving this equation:
2+8=?
Frostbite
10
g
17
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Frostbite
😂
Nameful
13
Geld [0/4๐] ๐ต๐ธ ุชุญูุง ููุณุทูู
Your AIs still have yo improve.
g
:3
Alfarizz
Can you give me related link please?
Alfarizz
Alfarizz
can someone help me?
Could not link driver rlm_sql_mysql: Cannot open "/usr/local/lib/freeradius-3.0.20/rlm_sql_mysql.so"
Make sure it (and all its dependent libraries!) are in the search path of your system's ld
/usr/local/etc/raddb/mods-enabled/sql[20]: Instantiation failed for module "sql"
Alfarizz
how i can find this liblary
/usr/local/lib/freeradius-3.0.20/rlm_sql_mysql.so
Alfarizz
freebsd 12.0 release
Alfarizz
oke thanks @Jharked999