Pouria
Hi. How did you print that ASCII logo? with banner(6) ?
Carl
Carl
Hi. How did you print that ASCII logo? with banner(6) ?
in this txt called bannersteps will explain you how to make it
Carl
Pouria
Thanks. But i could not find anything about ASCII logo.
ɴꙩᴍᴀᴅ
Thanks. But i could not find anything about ASCII logo.
I guess line 19, changing hello world with your ascii should do it, right? ascii can be generated manually before and pasted at that line
Carl
yep .. you can write characters by your own or you have web pages to create ascii art
Pouria
When i turn on the PC, FreeBSD shows a date and time, how can i remove that? I could not found anything. I've checked /etc/gettytab but nothing is found.
Carl
with this script. it declares the colors, and then you just print whatever you want ... do tests like that
Carl
the motd function is how i made the banner you have seen ... later i used this function as a motd, or a status script ... whatever you want
Carl
yep
Carl
you can print a motd, you can make an rc service how the txt told you, or you can include it in a script like this https://codeberg.org/carldcharlie/scriptorun/src/branch/main/screenshots/scriptostatus.png
Carl
if you want to take control before you login, you must do an rc service
Carl
if you need to print a welcome when you login, you can use the motd
Pouria
But my problem is the date and time.
Carl
right now i am on openbsd and i can not reboot to launch freebsd, what is wrong with your date and time?
Pouria
right now i am on openbsd and i can not reboot to launch freebsd, what is wrong with your date and time?
No. I do not have date and time problem. When you turn on the PC; after starting services, you will see a date like this: Tue Aug 10 01:34:12 +0430 2021 login:
Pouria
I want to remove the date.
Carl
with rcorder(8) you can see how the services are launched and how they are called .... then you can look in /etc/rc i supose
Carl
and the end of the file /etc/rc maybe you have a date command?? i can not see my freebsd now, sorry
Anonymous
can I install custom kernel with a different name? I am not gonna use this kernel every time just in some situations
any idea on this? how can I have more than two kernels? not just kernel and kernel.old
Anonymous
any idea on this? how can I have more than two kernels? not just kernel and kernel.old
yup you can do a CUSTOM kernel, got to compile it, takes a very long time, likely to PANIC !!
Anonymous
yup you can do a CUSTOM kernel, got to compile it, takes a very long time, likely to PANIC !!
I compiled it i called it dakernel but when Install it, it replaces generic kernel I don't want that I want it to install separately like on linux
Anonymous
can you select which at boot ?
Anonymous
can you select which at boot ?
I can but there is just kernel and kernel.old why can't I have three or more
Anonymous
whats in /boot
ɴꙩᴍᴀᴅ
I can but there is just kernel and kernel.old why can't I have three or more
This might help https://blog.hostileadmin.com/2012/10/01/building-freebsd-with-multiple-kernels/
ɴꙩᴍᴀᴅ
Hello and welcome @ttl256
Dmitry
Hello and thank you
ɴꙩᴍᴀᴅ
Hello and thank you
Just curious, wizard outside computer world, inside it, or at both? (:
Dmitry
Just curious, wizard outside computer world, inside it, or at both? (:
A world is full of surprises when you doesn't know much about it. So I've been called such in respect to both worlds)
Dmitry
m4 question I’m trying to come up with a macro that adds arguments to a string and keeps it. Example: A(`foo’) A(`bar’) A => foo bar My best shot is: define(`A',`ifelse(`$#',`0',`undivert(1)',`divert(1)$1 divert`'dnl')') A(`foo’) A(`bar’) A => foo bar However I can’t use A to expand in another macro: translit(`A’,`a-z',`A-Z') => foo bar | expected: FOO BAR 1. How to correctly store a result of undivert to use it in another macro 2. Is my approach even sane or there’s better way to solve the problem?
Dmitry
Yes, it’s invoked in a shell
Dmitry
esyscmd?
ɴꙩᴍᴀᴅ
Yes, it’s invoked in a shell
@lyghters has a group dedicated to shell scripting that may hint you up quicker. I myself will do something similar to your best shot, still a beginner on shell scripting tho (:
AMIR
does bsd compatible with atom intel processors?
K
Yes
AMIR
low memory and cash and i think it's architecture is more like x86
AMIR
Yes
thanks!
Guillermo
Do you guys know if a 2 laptop cluster could be done?
Guillermo
I have 2 laptops for playing and I'm bored
ɴꙩᴍᴀᴅ
Do you guys know if a 2 laptop cluster could be done?
https://superuser.com/questions/245242/how-to-make-high-performance-cluster-out-of-2-laptops-i-have-at-home#245243
Guillermo
Will check it, thanks!
Anonymous
Hello. I love FreeBSD. I think I am experienced enough with computering, but I still must improve a lot; also onto the system related to that BSD distribution. As I've never been in touch with its internals, nor the userlands; but I still have enough life to live the BSD's life =)
Anonymous
This distribution is really cool, because not only is completely r0ck solid, it is also following a philosophy of not to pre-configure everything shipped with pkgs. Because is obviously related to each user; and also saves time when packaging. But the most important thing why I am saying it, is because making to configure everything is a good idea, since if not, then we'll conditioned to investigate without a worrying. Since configuring everything as possible, makes us to know the diff between important and not also so important things on the/our system(s) ;) and that's the cool I like/love it. It works like a charm, and it's really stable... I've been looking for any kind of bug, and I think I've only found some trouble with sddm configured themes, but... is some-kind of focus option not known yet.
Anonymous
I say because I was used to Linux-kind systems, and I realiced BSD like systems can be really good if in/on the hands of the right people. Just that. I am not saying anything wrong, I'm just saying I prefer BSD, but never decided FreeBSD, as I had a lot of prejudices... but I was stressed on Linux, with a bunch of manuals and not understanding why so many syntaxis... and then realized everything comes from BSD. And here we are!
ɴꙩᴍᴀᴅ
Hello and welcome @demon_arp
ɴꙩᴍᴀᴅ
Will check it, thanks!
Did you manage to do something?
Anonymous
Anonymous
Seems that isn't a general topic, as I can't find any related information easily by googling, so: can a heavily experienced sysadmin, tell me how to use the toor user, because I got really scared when I saw it, because I was thinking I am hacked? :)
Anonymous
hahaha
Anonymous
thanks, but can I ask why can it be useful during backup or recovery processes?
Pouria
But i will read about that.
Anonymous
Fine, nice to read it.
Pouria
https://en.wikipedia.org/wiki/Toor_(Unix)
Anonymous
I only say something related to this topic. In theory, you can login with any user using their name and getting and id, getpwnam or equivalent, (this related to low level coding), but also you can use sudo or doas to be toor used even without a shell, as you can specify it with -s param. But that's not the problem itself. I see a security risk on having nowadays the toor user, because it can be used evilish to gain uid 0 by using its name and not appearing as a root user, but as a toor and bypass some possible security checkings by other software or even the sysadmin with some bad looking on, or some command... but the worst I see, is that it is a resource that only works easily with having a shell. It's not the matter itself to don't have a shell, it's the matter to be a must to configure a shell and later on you have a backup account for root when the system crashes or whatever... I remember few cases where another root user was a need, but those cases were related with security bypass methods and... didn't finally got it to work because I saw rare another user with uid = 0. IMHO, this shouldn't be called a security risk at all, even could be useful in some cases where the exploit needs some other name instead of the root account for getpwna or spoof an uid = 0 account, even can be a easy backup setup. Let it installed and change some parameter to make it work under unwanted circumstances, for example, giving it a password and a shell but even being possible to hide that part of the file with a rootkit... so, if the use is only to configure it by hand, and give it a shell and a password is a must, or not if the recovery system doesn't need a password, why don't let it to be configurable easily by hand if you need it instead of having it by default, if by default it just doesn't work and is just a remember and a help to configure it if you want? I am speaking of reversing the logic of configuration by default, instead of pre-installing, don't pre-install, but if you need it, to have easily some script on the system to set up. Because usually is safer to see a toor account if you installed it, rather than it is by default and maybe backdoored or not... IDK, I really like it to be removed by default but to be a chance if you really need it. But also, speaking as a beginner. Nobody knows everything and sometimes the minimum byte makes the difference. And hope this helps.
Guillermo
Did you manage to do something?
Nope, the post says it's not possible
Anonymous
I only say something related to this topic. In theory, you can login with any user using their name and getting and id, getpwnam or equivalent, (this related to low level coding), but also you can use sudo or doas to be toor used even without a shell, as you can specify it with -s param. But that's not the problem itself. I see a security risk on having nowadays the toor user, because it can be used evilish to gain uid 0 by using its name and not appearing as a root user, but as a toor and bypass some possible security checkings by other software or even the sysadmin with some bad looking on, or some command... but the worst I see, is that it is a resource that only works easily with having a shell. It's not the matter itself to don't have a shell, it's the matter to be a must to configure a shell and later on you have a backup account for root when the system crashes or whatever... I remember few cases where another root user was a need, but those cases were related with security bypass methods and... didn't finally got it to work because I saw rare another user with uid = 0. IMHO, this shouldn't be called a security risk at all, even could be useful in some cases where the exploit needs some other name instead of the root account for getpwna or spoof an uid = 0 account, even can be a easy backup setup. Let it installed and change some parameter to make it work under unwanted circumstances, for example, giving it a password and a shell but even being possible to hide that part of the file with a rootkit... so, if the use is only to configure it by hand, and give it a shell and a password is a must, or not if the recovery system doesn't need a password, why don't let it to be configurable easily by hand if you need it instead of having it by default, if by default it just doesn't work and is just a remember and a help to configure it if you want? I am speaking of reversing the logic of configuration by default, instead of pre-installing, don't pre-install, but if you need it, to have easily some script on the system to set up. Because usually is safer to see a toor account if you installed it, rather than it is by default and maybe backdoored or not... IDK, I really like it to be removed by default but to be a chance if you really need it. But also, speaking as a beginner. Nobody knows everything and sometimes the minimum byte makes the difference. And hope this helps.
Jesus fucking Christ, are you writing an ancient scroll? Either downsize, or learn to paragraph correctly Like this
Anonymous
Jesus fucking Christ, are you writing an ancient scroll? Either downsize, or learn to paragraph correctly Like this
Like this is an old recipe of a very intelligent friend I met from the ancient Greece, and we learnt together to do magics. But thanks anyway ;-) BTW, nowadays toor is not used because now we know to lookup by uid rather than pwnam. I am a 31 y.o undertaking developer and sysadmin from Spain. I learnt writing in english with translate.google because when I started, I hadn't the chance to learn english well. Actually I don't really mind if it's best or worst written; I just see it compiles. But sorry, I understand you. It happens the same to me when reading Spanish.
Badugar
How difficult would it be to write an AX.25 stack for FreeBSD like the one present in Linux? Where would I start?
Badugar
(I'm a radio amateur, that's why I'm asking)
Anonymous
How difficult would it be to write an AX.25 stack for FreeBSD like the one present in Linux? Where would I start?
As far as I know, writing my own IP/TCP Stack was a pain. But I did from userspace.
Anonymous
Anonymous
I am trying to output the sound over the jack, into the speakers. But on FreeBSD there's not configured by default as in Linux. Then I only can hear over the internal speakers.
Anonymous
I killed pa and now I can't hear anything XD