Re: How to run automatically a script as soon root login

2024-05-14 Thread Mario Marietto
I've installed the Cloudflare gateway on Debian as a vm because I can't do
it directly in FreeBSD. But I want to be covered even when I use FreeBSD.
The script that I wrote forward the Cloudflare "VPN" from Debian to
FreeBSD,so from outside my IP will be cloudFlared.

On Tue, May 14, 2024 at 1:16 PM Greg Wooledge  wrote:

> On Tue, May 14, 2024 at 01:10:05PM +0200, Mario Marietto wrote:
> > Your answer does not help me to understand how to use a "structured
> > programming / if , while, for, functions" for the specific task that I
> want
> > to achieve.
>
> What task is that?
>
>

-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-14 Thread Mario Marietto
Your answer does not help me to understand how to use a "structured
programming / if , while, for, functions" for the specific task that I want
to achieve. I failed using "your" lovely structured programming and that's
the reason why I'm asking for some hint to understand why and how I can use
it. Your answer puts the finger on the spot and isn't helpful, also because
it says things that I already knew.


On Tue, May 14, 2024 at 1:03 PM Greg Wooledge  wrote:

> On Tue, May 14, 2024 at 08:09:18AM +0200, Mario Marietto wrote:
> > Nobody can show a different way,a modern way, for creating my script ?
> Why
> > did I feel so comfortable by recreating the 1960s GOTO statement in Bash
> ?
>
> I have absolutely no clue what you're trying to do or why you're trying
> to do it, but I *promise* you, whatever you think you're doing, you
> have NOT recreated a GOTO statement in bash.
>
> You showed a function.  Functions can be called.  This is NOT the same
> as issuing a GOTO command, because once the function returns, control
> flow resumes from the point where it was called.
>
> Bash (and sh, on which bash is based) explicitly chose not to have a GOTO
> statement in its language.  The authors chose instead to use the control
> primitives that are collectively known as "structured programming"
> (if, while, for, functions).
>
>

-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-14 Thread Mario Marietto
Nobody can show a different way,a modern way, for creating my script ? Why
did I feel so comfortable by recreating the 1960s GOTO statement in Bash ?

On Mon, May 13, 2024 at 6:30 PM Will Mengarini  wrote:

> Nobody has yet applauded this glorious implementation
> of the 1960s GOTO statement in *Bash*?!
>
> * Mario Marietto  [24-05/13=Mo 13:37 +0200]:
> > function jumpto
> > {
> > label=$1
> > cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
> > eval "$cmd"
> > exit
> > }
>
> Anyway, Marietto, you've got two typi:
>
> > mid :
> That should be "mid:".
>
> > jump foo
> That should be "jumpto foo".
>
> Once you've got your root-login script working, I hope you
> move on to implementing a complete open-source PL/I compiler.
>


-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
yeah at the beginning i used xorg + xfce but then i realized that i did not
need them,so the context became the textual mode.

Il lun 13 mag 2024, 21:52 David Wright  ha
scritto:

> On Mon 13 May 2024 at 21:18:30 (+0200), Mario Marietto wrote:
> > On Mon, May 13, 2024 at 9:05 PM Greg Wooledge  wrote:
> > > On Mon, May 13, 2024 at 06:06:37PM +0200, Hans wrote:
> > > > Am Montag, 13. Mai 2024, 13:24:17 CEST schrieb Greg Wooledge:
> > > > > On Mon, May 13, 2024 at 07:36:07AM +0200, Richard wrote:
> > > > > > .profile
> > > >
> > > > Sorry, dumb question: Depending of the shell, the user is using
> (let's
> > > say, he
> > > > will use bash), can the script not be added into ~/.bashrc?
> > >
> > > The context has been snipped out.  The context for this was "OP is
> trying
> > > to run a command when root logs in".  The method of login was not
> stated.
> > > First responder said ".profile works for every method of login".  I
> said
> > > that this is incorrect: it doesn't work for many GUI login setups.
> > >
> > > In those same GUI login setups, .bashrc is *also* not read when the
> > > user logs in.  None of the shell startup files are read at all.
> > >
> > > All of this is a tangent to the actual problem, though.
> > >
> > > > If yes, second dumb question: Coiuld it be ANY script or command?
> > > > (also running as non-rootuser, like adding "runuser -u myuser
> > > > command_whatever").
> > >
> > > We're several layers deep into an X-Y problem here.  The *actual*
> problem
> > > is that the system's networking configuration is not correct/complete.
> > >
> > > The *workaround* is that the OP is logging in and running commands to
> > > change the networking configuration temporarily.
> > >
> > > The question resulting from the workaround (the Y in the X-Y) was "How
> > > can I automate these commands that I keep having to type?"
> > >
> > > The proper question should have been "How can I fix my system's
> networking
> > > configuration permanently?"
> > >
> > ---> The context has been snipped out
> >
> > nope. Read well what I said on my first post :
> >
> >
> > *[Forgot to say that I switched boot target to text with this command :*
> >
> > *sudo systemctl set-default multi-user.target]*
> >
> > What does this mean for you ?
>
> To me, it means just one more change while trying to get your
> networking to work. Your OP finished with "It does not work and anyway
> it does not seem to be what I want..." and "I suspect that the
> solution is easier than what I'm trying to do...". Again, to me,
> that suggests that after settling on a better, permanent solution
> to your problem, you would roll back the other changes that you
> made along the way.
>
> > The context is that I was not using any
> > desktop manager.
>
> My understanding of this statement is that "the context" is what
> is described in your OP. As you said you "switched boot target to
> text", I would assume you originally had a different target, likely
> a DM, and that you might revert back to it after solving the problem.
>
> Cheers,
> David.
>
>


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
---> The context has been snipped out

nope. Read well what I said on my first post :


*[Forgot to say that I switched boot target to text with this command :*

*sudo systemctl set-default multi-user.target]*

What does this mean for you ? The context is that I was not using any
desktop manager.


On Mon, May 13, 2024 at 9:05 PM Greg Wooledge  wrote:

> On Mon, May 13, 2024 at 06:06:37PM +0200, Hans wrote:
> > Am Montag, 13. Mai 2024, 13:24:17 CEST schrieb Greg Wooledge:
> > > On Mon, May 13, 2024 at 07:36:07AM +0200, Richard wrote:
> > > > .profile
> >
> > Sorry, dumb question: Depending of the shell, the user is using (let's
> say, he
> > will use bash), can the script not be added into ~/.bashrc?
>
> The context has been snipped out.  The context for this was "OP is trying
> to run a command when root logs in".  The method of login was not stated.
> First responder said ".profile works for every method of login".  I said
> that this is incorrect: it doesn't work for many GUI login setups.
>
> In those same GUI login setups, .bashrc is *also* not read when the
> user logs in.  None of the shell startup files are read at all.
>
> All of this is a tangent to the actual problem, though.
>
> > If yes, second dumb question: Coiuld it be ANY script or command?
> > (also running as non-rootuser, like adding "runuser -u myuser
> > command_whatever").
>
> We're several layers deep into an X-Y problem here.  The *actual* problem
> is that the system's networking configuration is not correct/complete.
>
> The *workaround* is that the OP is logging in and running commands to
> change the networking configuration temporarily.
>
> The question resulting from the workaround (the Y in the X-Y) was "How
> can I automate these commands that I keep having to type?"
>
> The proper question should have been "How can I fix my system's networking
> configuration permanently?"
>
>

-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
I think I have found my way,adding this line to /etc/sudoers :

marietto ALL=(ALL) NOPASSWD: /usr/bin/iptables

and on the warp script :

sudo /usr/bin/iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE

On Mon, May 13, 2024 at 3:20 PM  wrote:

> On Mon, May 13, 2024 at 09:17:31AM -0400, Greg Wooledge wrote:
> > On Mon, May 13, 2024 at 02:03:59PM +0100, Richmond wrote:
> > > >> sudo xterm -e "echo 1 > hello"
> >
> > > Yes, but why did it allow me to delete the file? I was not root
> > > then. Try it.
> >
> > Because you have write permission on the *directory* that the file is in.
> >
> > Removing (unlinking) a file is an operation that modifies a directory,
> > not the file itself.  You don't need write permission on the file.  Just
> > the directory.
>
> Unless the directory has the sticky bit set (e.g. /tmp).
>
> (For completeness: I know you know that).
>
> Cheers
> --
> t
>


-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
I don't have those typos in the code. The typo has been to copy the content
of the script by hand on the email message.

On Mon, May 13, 2024 at 6:30 PM Will Mengarini  wrote:

> Nobody has yet applauded this glorious implementation
> of the 1960s GOTO statement in *Bash*?!
>
> * Mario Marietto  [24-05/13=Mo 13:37 +0200]:
> > function jumpto
> > {
> > label=$1
> > cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
> > eval "$cmd"
> > exit
> > }
>
> Anyway, Marietto, you've got two typi:
>
> > mid :
> That should be "mid:".
>
> > jump foo
> That should be "jumpto foo".
>
> Once you've got your root-login script working, I hope you
> move on to implementing a complete open-source PL/I compiler.
>


-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
[image: Istantanea_2024-05-13_17-37-39.png]

Can someone explain to me why user "marietto" can't execute the command
iptables as root,without password ? thanks.

[image: Istantanea_2024-05-13_17-40-21.png]

On Mon, May 13, 2024 at 5:19 PM Mario Marietto 
wrote:

> There is still a problem. If I login automatically as user and inside the
> script I do this :
>
> sudo iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
>
> it asks me for the password (don't know why it didn't before) but I can't
> issue a password,because the script inside the vm should work automatically
> and should be hidden between the FreeBSD processes.
>
> On Mon, May 13, 2024 at 4:11 PM Stefan Monnier 
> wrote:
>
>> > You don't need to, but I definitely think he does. 
>> ^^
>>
>> [ Oh, bias, when will you leave me alone?  ]
>>
>>
>> Stefan
>>
>>
>
> --
> Mario.
>


-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
There is still a problem. If I login automatically as user and inside the
script I do this :

sudo iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE

it asks me for the password (don't know why it didn't before) but I can't
issue a password,because the script inside the vm should work automatically
and should be hidden between the FreeBSD processes.

On Mon, May 13, 2024 at 4:11 PM Stefan Monnier 
wrote:

> > You don't need to, but I definitely think he does. 
> ^^
>
> [ Oh, bias, when will you leave me alone?  ]
>
>
>     Stefan
>
>

-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
I've found that solution on the Internet. It wasn't the only solution that
I found,but that form won the challenge because it has found my mind ready
to detect that it could have worked. Maybe I could have used while,but
after 1 hour of thinking I didn't understand how and I resigned. The same
for until and for. Sorry for that,but I'm not an experienced coder. I try
to do my best with what I find on the Internet. I can adapt an already good
enough solution to fit my needs,but I'm not able to write a script from
scratch. It is also true that I found it good because it reminded me of my
old good times when I was a good basic and turbo pascal programmer.

On Mon, May 13, 2024 at 3:24 PM Nicolas George  wrote:

> Mario Marietto (12024-05-13):
> > The command iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
> > doesn't work if invoked as a user,it says "you must be root". So,as
> > user,the script seems to be working fine like this :
> >
> > function jumpto
> > {
> > label=$1
> > cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
> > eval "$cmd"
> > exit
> > }
>
> You seem to be investing a lot of effort into a fragile solution to
> emulate a deprecated execution control primitive.
>
> Regards,
>
> --
>   Nicolas George
>
>

-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
The command iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
doesn't work if invoked as a user,it says "you must be root". So,as
user,the script seems to be working fine like this :

function jumpto
{
label=$1
cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
eval "$cmd"
exit
}

start=${1:-"start"}

jumpto $start

start:
warp-cli disconnect
OLD_IP="$(curl -s api.ipify.org)"
#echo 1 > /proc/sys/net/ipv4/ip_forward (because I've uncommented this
command inside the file /etc/sysctl.conf)
sudo iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
warp-cli connect
NEW_IP="$(curl -s api.ipify.org)"
echo Connected to Cloudflare Warp...
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP

mid :
if [ "$OLD_IP = $NEW_IP ]
then
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP : it does not work
anymore,reconnecting...
sleep 10
jump foo
else
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP : it still works.
sleep 10
fi
jumpto mid

foo:
warp-cli disconnect
OLD_IP="$(curl -s api.ipify.org)"
warp-cli connect
NEW_IP="$(curl -s api.ipify.org)"
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP : it works again.
jumpto mid

On Mon, May 13, 2024 at 2:59 PM  wrote:

> On Mon, May 13, 2024 at 02:53:18PM +0200, Nicolas George wrote:
> > to...@tuxteam.de (12024-05-13):
> > > That's like slicing your morning baguette with the chainsaw.
> >
> > Worse than that, it will only work from an X11 environment. Certainly
> > not at boot.
>
> The analogy to that would be that not many kitchens are equipped with
> a chainsaw. Mine isn't ;-)
>
> Cheers
> --
> t
>


-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
--> If they only want this thing to happen when root logs in directly on a
console or ssh, then .profile may indeed be the correct answer.

Yes,I don't need to run xorg and a desktop environment,since warp-cli
disconnect and warp-cli connect do not require them.
I wouldn't to login as root automatically,but I've realized that this
command :

echo 1 > /proc/sys/net/ipv4/ip_forward

work only if I'm root. It does not work using sudo. So,in the end I've
chosen to be root instead of a normal user that can use sudo.

On Mon, May 13, 2024 at 1:24 PM Greg Wooledge  wrote:

> On Mon, May 13, 2024 at 07:36:07AM +0200, Richard wrote:
> > .profile
> > will always be read as soon as the user logs in, no matter how. Through a
> > terminal, a GUI, doesn't matter.
>
> That's not correct.  There are many different GUI login setups where
> the .profile is never read.
>
> That said, since this thread is specifically about *root* logins, GUI
> logins may not be possible.  It depends on which Display Manager and
> Desktop Environment are in use.  Many of them explicitly disallow direct
> root logins.
>
> So, ultimately it comes down to what the OP actually requires, and
> what type of setup they use.  If they only want this thing to happen
> when root logs in directly on a console or ssh, then .profile may
> indeed be the correct answer.
>
>

-- 
Mario.


Re: How to run automatically a script as soon root login

2024-05-13 Thread Mario Marietto
Hello to everyone,

Richard,thanks. I've launched the script inside the .profile file that's
inside the root folder and it worked. Thank you.

Plan B : From time to time the cloudflare connection stops working,so there
is the needing to repeat these commands :

warp-cli disconnect
warp-cli connect

At this point,I've modified the script like this one : (yes,I've been a
happy coder of BASIC and I feel the nostalgia of GOTO).


function jumpto
{
label=$1
cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
eval "$cmd"
exit
}

start=${1:-"start"}

jumpto $start

start:
warp-cli disconnect
OLD_IP="$(curl -s api.ipify.org)"
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
warp-cli connect
NEW_IP="$(curl -s api.ipify.org)"
echo Connected to Cloudflare Warp...
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP

mid :
if [ "$OLD_IP = $NEW_IP ]
then
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP : it does not work
anymore,reconnecting...
sleep 10
jump foo
else
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP : it still works.
sleep 10
fi
jumpto mid

foo:
warp-cli disconnect
OLD_IP="$(curl -s api.ipify.org)"
warp-cli connect
NEW_IP="$(curl -s api.ipify.org)"
echo OLD IP is $OLD_IP , NEW IP is $NEW_IP : it works again.
jumpto mid

On Mon, May 13, 2024 at 7:36 AM Richard  wrote:

> Should be as easy as executing the script from the .profile of root - that
> means if "log in as root" actually means root, not just sudo'ing. .profile
> will always be read as soon as the user logs in, no matter how. Through a
> terminal, a GUI, doesn't matter. No idea if doing this through systemd is
> even possible.
>
> Best
> Richard
>
> On Mon, May 13, 2024, 04:10 Mario Marietto  wrote:
>
>> Hello to everyone.
>>
>> I'm using Debian 12. I'm configuring a little Debian 12 vm with qemu that
>> I will use to forward the cloudflare connection to FreeBD.
>> What I want to do is to run the script below as soon as root has logged
>> in.
>>
>> I've configured the automatic login of root adding to this service file :
>>
>> nano /etc/systemd/system/getty.target.wants/getty@tty1.service
>>
>> this line :
>>
>> ExecStart=/sbin/agetty -o '-p -f -- \\u" --noclear --autologin root %I
>> $TERM
>>
>> Now,what I want to do is that the script below is ran as soon root is
>> able to logged in automatically :
>>
>> /usr/bin/warp
>>
>> warp-cli disconnect
>> echo 1 > /proc/sys/net/ipv4/ip_forward
>> iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
>> OLD_IP="$(curl -s api.ipify.org)"
>> warp-cli connect
>> NEW_IP="$(curl -s api.ipify.org)"
>> echo Connected to Cloudflare Warp...
>> echo OLD IP is : $OLD_IP,NEW IP is : $NEW_IP
>>
>> [Forgot to say that I switched boot target to text with this command :
>>
>> sudo systemctl set-default multi-user.target]
>>
>> What I tried right now has been to create a respawn service with systemd.
>> I created a file in /etc/systemd/system/ i.e. warp.service
>>
>> [Unit]
>> Desription=warp with systemd, respawn
>> After=pre-network.target
>>
>> [Service]
>> ExecStart=/usr/bin/warp
>> Restart=always
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>>
>> and I've activated it :
>>
>> systemctl enable warp.service
>>
>>
>> rebooted and started it manually :
>>
>> systemctl daemon-reload
>> systemctl start warp.service
>>
>> It does not work and anyway it does not seem to be what I want...
>>
>> [image: Istantanea_2024-05-12_23-46-37.png]
>>
>> I want that the warp script is run everytime root is logged in,not
>> more,not less.
>> I suspect that the solution is easier than what I'm trying to do...
>>
>> --
>> Mario.
>>
>

-- 
Mario.


How to run automatically a script as soon root login

2024-05-12 Thread Mario Marietto
Hello to everyone.

I'm using Debian 12. I'm configuring a little Debian 12 vm with qemu that I
will use to forward the cloudflare connection to FreeBD.
What I want to do is to run the script below as soon as root has logged in.

I've configured the automatic login of root adding to this service file :

nano /etc/systemd/system/getty.target.wants/getty@tty1.service

this line :

ExecStart=/sbin/agetty -o '-p -f -- \\u" --noclear --autologin root %I $TERM

Now,what I want to do is that the script below is ran as soon root is able
to logged in automatically :

/usr/bin/warp

warp-cli disconnect
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE
OLD_IP="$(curl -s api.ipify.org)"
warp-cli connect
NEW_IP="$(curl -s api.ipify.org)"
echo Connected to Cloudflare Warp...
echo OLD IP is : $OLD_IP,NEW IP is : $NEW_IP

[Forgot to say that I switched boot target to text with this command :

sudo systemctl set-default multi-user.target]

What I tried right now has been to create a respawn service with systemd.
I created a file in /etc/systemd/system/ i.e. warp.service

[Unit]
Desription=warp with systemd, respawn
After=pre-network.target

[Service]
ExecStart=/usr/bin/warp
Restart=always

[Install]
WantedBy=multi-user.target


and I've activated it :

systemctl enable warp.service


rebooted and started it manually :

systemctl daemon-reload
systemctl start warp.service

It does not work and anyway it does not seem to be what I want...

[image: Istantanea_2024-05-12_23-46-37.png]

I want that the warp script is run everytime root is logged in,not more,not
less.
I suspect that the solution is easier than what I'm trying to do...

-- 
Mario.


Debian does not load zfs automatically at boot and strange messages displayed on the screen...

2024-04-30 Thread Mario Marietto
Hello to everyone.

I've just installed Debian 12 (netinstall version with ssh server + web
server) as guest os on top of Windows 11 using qemu + whpx. These are the
parameters that I've used :


I:\OS\vms\qemu\qemu-system-x86_64.exe -machine q35 -accel whpx -cpu
kvm64,hv_relaxed,hv_time,hv_synic -m 8G -vga std -audiodev dsound,id=snd0
-device ich9-intel-hda -device hda-duplex,audiodev=snd0 -hda
"I:\Backup\Linux\Debian.img" -drive file=\\.\PhysicalDrive5 -drive
file=\\.\PhysicalDrive6 -drive file=\\.\PhysicalDrive8 -rtc base=localtime
-device usb-ehci,id=usb,bus=pcie.0,addr=0x3 -device usb-tablet -device
usb-kbd -smbios type=2 -nodefaults -netdev user,id=net0 -device
e1000,netdev=net0,id=net0,mac=52:54:00:11:22:33 -device ich9-ahci,id=sata
-bios "I:\OS\vms\qemu\OVMF_combined.fd"


Actually it has two problems :

1) I've added the module zfs to /etc/modules because I want to autoload zfs
as soon as Debian makes the booting,but it does not work. Probably this is
not the proper method to do it ?

2) As you can see on the attached picture,I see a lot of strange messages
on the screen ; I don't understand why they happen,but I would like to
suppress them.

[image: 2024-04-30 16 42 44.png]

-- 
Mario.


Fastly error: unknown domain: 199.232.150.132 : Fastly is cdn for Debian.

2023-12-10 Thread Mario Marietto
Hello to everyone.

I'm using Devuan 5 for arm32 on my ARM chromebook and I've just tried to
update the system,but I failed.

This is the sources.list file that I'm using :

deb http://pkg.bunsenlabs.org/debian beryllium main

deb http://deb.devuan.org/merged daedalus  main
deb http://deb.devuan.org/merged daedalus-updates  main
deb http://deb.devuan.org/merged daedalus-security main
deb http://deb.devuan.org/merged daedalus-backports main

deb-src http://deb.devuan.org/merged daedalus  main
deb-src http://deb.devuan.org/merged daedalus-updates  main
deb-src http://deb.devuan.org/merged daedalus-security main
deb-src http://deb.devuan.org/merged daedalus-backports main

# apt update

Hit:1 http://pkg.bunsenlabs.org/debian beryllium InRelease
Get:2 http://deb.devuan.org/merged daedalus InRelease [42.4 kB]
Get:3 http://deb.devuan.org/merged daedalus-updates InRelease [32.5 kB]
Get:4 http://deb.devuan.org/merged daedalus-security InRelease [32.5 kB]
Get:5 http://deb.devuan.org/merged daedalus-backports InRelease [32.6 kB]

Reading package lists... Done

E: Release file for
http://pkg.bunsenlabs.org/debian/dists/beryllium/InRelease is not valid yet
(invalid for another 8674d 3h 45min 8s). Updates for this repository will
not be applied.
E: Release file for http://deb.devuan.org/merged/dists/daedalus/InRelease
is not valid yet (invalid for another 8744d 2h 14min 0s). Updates for this
repository will not be applied.
E: Release file for
http://deb.devuan.org/merged/dists/daedalus-updates/InRelease is not valid
yet (invalid for another 8744d 7h 58min 21s). Updates for this repository
will not be applied.
E: Release file for
http://deb.devuan.org/merged/dists/daedalus-security/InRelease is not valid
yet (invalid for another 8744d 4h 58min 7s). Updates for this repository
will not be applied.
E: Release file for
http://deb.devuan.org/merged/dists/daedalus-backports/InRelease is not
valid yet (invalid for another 8744d 7h 58min 11s). Updates for this
repository will not be applied.

After a little experimenting it looks like to me that it is a Fastly error:

Fastly error: unknown domain: 199.232.150.132. Please check that this
domain has been added to a service.

Fastly is cdn for Debian.
-- 
Mario.


Re: Temporary failure in name resolution error when I try to ping Debian 12 / DomU running on top of the Devuan 5 host os / Dom0

2023-11-19 Thread Mario Marietto
It does not care anymore. The instructions on the website are working. It's
me that I totally forgot to add the IP on the VIF statement of the
debian.cfg file. As soon as I added it and I changed $main_ip with $ip on
the vip-route-local,the network started working like a charm.

To work the vif-route script should be modified like this :


netdev=mlan0
main_ip=$(dom0_ip)
case "${command}" in add|online)
ifconfig ${dev} ${main_ip} netmask 255.255.255.255 up
echo 1 >/proc/sys/net/ipv4/conf/${dev}/proxy_arp
echo 1 >/proc/sys/net/ipv4/conf/${dev}/forwarding
echo 1 >/proc/sys/net/ipv4/conf/mlan0/forwarding
echo 1 >/proc/sys/net/ipv4/conf/mlan0/proxy_arp /usr/sbin/arp -i mlan0 -Ds

Thanks anyway.


On Sun, Nov 19, 2023 at 10:56 PM Mario Marietto 
wrote:

> Errata corrige :
>
> nano debian.cfg :
>
> kernel = '/Dati/xen/kernels/zImage-6.1.61-stb-xen-cbe+'
> memory = '768'
> name = 'Debian-bookworm'
> vcpus = '1'
> disk = [ '/Dati/xen/debian.img,,xvda,w' ]
> vif = [ 'type=vif,mac=00:16:3e:12:34:56,script=vif-route-*local*' ]
> extra = 'console=hvc0 root=/dev/xvda rw init=/sbin/init
> xen-fbfront.video=24,1024,768'
>
> On Sun, Nov 19, 2023 at 10:54 PM Mario Marietto 
> wrote:
>
>> Hello.
>>
>> I'm trying to configure Debian 12 / DomU on my (Arm32) Chromebook because
>> I want to use the Internet and I want its IP address to be seen from
>> "outside" of my LAN.
>>
>> This is the tutorial that I'm following :
>>
>>
>>
>> https://github.com/mobile-virt/u-boot-chromebook-xe303c12/tree/chromebook/xen#starting-a-domu-guest
>>
>> Given these config files :
>>
>>
>> A) on the host os (Devuan 5)
>>
>> Linux devuan-bunsen 6.1.61-stb-xen-cbe+ #1 SMP PREEMPT Sat Nov  4
>> 13:46:17 EDT 2023 armv7l
>>
>> root@devuan-bunsen:~# ifconfig
>>
>> lo: flags=73  mtu 65536
>>inet 127.0.0.1  netmask 255.0.0.0
>>inet6 ::1  prefixlen 128  scopeid 0x10
>>loop  txqueuelen 1000  (Local Loopback)
>>RX packets 2729  bytes 8279984 (7.8 MiB)
>>RX errors 0  dropped 0  overruns 0  frame 0
>>TX packets 2729  bytes 8279984 (7.8 MiB)
>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>
>> mlan0: flags=4163  mtu 1500
>>inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
>>inet6 fe80::8839:239b:9b37:cf84  prefixlen 64  scopeid 0x20
>>RX packets 19694  bytes 2193230 (2.0 MiB)
>>RX errors 0  dropped 0  overruns 0  frame 0
>>TX packets 18757  bytes 10464406 (9.9 MiB)
>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>
>> vif4.0: flags=4163  mtu 1500
>>inet 192.168.1.7  netmask 255.255.255.255  broadcast 192.168.1.255
>>ether fe:ff:ff:ff:ff:ff  txqueuelen 1000  (Ethernet)
>>RX packets 359  bytes 94924 (92.6 KiB)
>>RX errors 0  dropped 0  overruns 0  frame 0
>>TX packets 42  bytes 1764 (1.7 KiB)
>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>
>> nano debian.cfg :
>>
>> kernel = '/Dati/xen/kernels/zImage-6.1.61-stb-xen-cbe+'
>> memory = '768'
>> name = 'Debian-bookworm'
>> vcpus = '1'
>> disk = [ '/Dati/xen/debian.img,,xvda,w' ]
>> vif = [ 'type=vif,mac=00:16:3e:12:34:56,script=vif-route' ]
>> extra = 'console=hvc0 root=/dev/xvda rw init=/sbin/init
>> xen-fbfront.video=24,1024,768'
>>
>>
>> nano /etc/xen/scripts/vif-route-local :
>>
>> #!/bin/bash
>>
>> #
>> # ${XEN_SCRIPT_DIR}/vif-route
>> #
>> # Script for configuring a vif in routed mode.
>> #
>> # Usage:
>> # vif-route (add|remove|online|offline)
>> #
>> # Environment vars:
>> # dev vif interface name (required).
>> # XENBUS_PATH path to this device's details in the XenStore (required).
>> #
>> # Read from the store:
>> # ip  list of IP networks for the vif, space-separated (default given
>> in
>> # this script).
>>
>> #
>>
>> dir=$(dirname "$0")
>> . "${dir}/vif-common.sh"
>> #netdev=$(mlan0)
>> main_ip=$(dom0_ip)
>> case "${command}" in
>> add|online)
>> echo $dev
>>   echo $ip
>> echo $main_ip
>> ifconfig ${dev} ${main_ip} netmask 255.255.255.255 up
>> echo 1 >/proc/sys/net/ipv4/conf/${dev}/proxy_arp
>> echo 1 >/proc/sys/net/ipv4/conf/${dev}/f

Re: Temporary failure in name resolution error when I try to ping Debian 12 / DomU running on top of the Devuan 5 host os / Dom0

2023-11-19 Thread Mario Marietto
Errata corrige :

nano debian.cfg :

kernel = '/Dati/xen/kernels/zImage-6.1.61-stb-xen-cbe+'
memory = '768'
name = 'Debian-bookworm'
vcpus = '1'
disk = [ '/Dati/xen/debian.img,,xvda,w' ]
vif = [ 'type=vif,mac=00:16:3e:12:34:56,script=vif-route-*local*' ]
extra = 'console=hvc0 root=/dev/xvda rw init=/sbin/init
xen-fbfront.video=24,1024,768'

On Sun, Nov 19, 2023 at 10:54 PM Mario Marietto 
wrote:

> Hello.
>
> I'm trying to configure Debian 12 / DomU on my (Arm32) Chromebook because
> I want to use the Internet and I want its IP address to be seen from
> "outside" of my LAN.
>
> This is the tutorial that I'm following :
>
>
>
> https://github.com/mobile-virt/u-boot-chromebook-xe303c12/tree/chromebook/xen#starting-a-domu-guest
>
> Given these config files :
>
>
> A) on the host os (Devuan 5)
>
> Linux devuan-bunsen 6.1.61-stb-xen-cbe+ #1 SMP PREEMPT Sat Nov  4 13:46:17
> EDT 2023 armv7l
>
> root@devuan-bunsen:~# ifconfig
>
> lo: flags=73  mtu 65536
>inet 127.0.0.1  netmask 255.0.0.0
>inet6 ::1  prefixlen 128  scopeid 0x10
>loop  txqueuelen 1000  (Local Loopback)
>RX packets 2729  bytes 8279984 (7.8 MiB)
>RX errors 0  dropped 0  overruns 0  frame 0
>TX packets 2729  bytes 8279984 (7.8 MiB)
>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> mlan0: flags=4163  mtu 1500
>inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
>inet6 fe80::8839:239b:9b37:cf84  prefixlen 64  scopeid 0x20
>RX packets 19694  bytes 2193230 (2.0 MiB)
>RX errors 0  dropped 0  overruns 0  frame 0
>TX packets 18757  bytes 10464406 (9.9 MiB)
>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> vif4.0: flags=4163  mtu 1500
>inet 192.168.1.7  netmask 255.255.255.255  broadcast 192.168.1.255
>ether fe:ff:ff:ff:ff:ff  txqueuelen 1000  (Ethernet)
>RX packets 359  bytes 94924 (92.6 KiB)
>RX errors 0  dropped 0  overruns 0  frame 0
>TX packets 42  bytes 1764 (1.7 KiB)
>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> nano debian.cfg :
>
> kernel = '/Dati/xen/kernels/zImage-6.1.61-stb-xen-cbe+'
> memory = '768'
> name = 'Debian-bookworm'
> vcpus = '1'
> disk = [ '/Dati/xen/debian.img,,xvda,w' ]
> vif = [ 'type=vif,mac=00:16:3e:12:34:56,script=vif-route' ]
> extra = 'console=hvc0 root=/dev/xvda rw init=/sbin/init
> xen-fbfront.video=24,1024,768'
>
>
> nano /etc/xen/scripts/vif-route-local :
>
> #!/bin/bash
>
> #
> # ${XEN_SCRIPT_DIR}/vif-route
> #
> # Script for configuring a vif in routed mode.
> #
> # Usage:
> # vif-route (add|remove|online|offline)
> #
> # Environment vars:
> # dev vif interface name (required).
> # XENBUS_PATH path to this device's details in the XenStore (required).
> #
> # Read from the store:
> # ip  list of IP networks for the vif, space-separated (default given
> in
> # this script).
>
> #
>
> dir=$(dirname "$0")
> . "${dir}/vif-common.sh"
> #netdev=$(mlan0)
> main_ip=$(dom0_ip)
> case "${command}" in
> add|online)
> echo $dev
>   echo $ip
> echo $main_ip
> ifconfig ${dev} ${main_ip} netmask 255.255.255.255 up
> echo 1 >/proc/sys/net/ipv4/conf/${dev}/proxy_arp
> echo 1 >/proc/sys/net/ipv4/conf/${dev}/forwarding
> echo 1 >/proc/sys/net/ipv4/conf/mlan0/forwarding
> echo 1 >/proc/sys/net/ipv4/conf/mlan0/proxy_arp
> /usr/sbin/arp -i mlan0 -Ds $main_ip mlan0 pub
> ipcmd='add'
> cmdprefix=''
> ;;
> remove|offline)
> do_without_error ifdown ${dev}
> ipcmd='del'
> cmdprefix='do_without_error'
> ;;
> esac
>
> case "${type_if}" in
> tap)
> metric=1
> ;;
> vif)
> metric=2
> ;;
> *)
> fatal "Unrecognised interface type ${type_if}"
> ;;
> esac
>
> # If we've been given a list of IP addresses, then add routes from dom0 to
> # the guest using those addresses.
> for addr in ${ip} ; do
> ${cmdprefix} ip route ${ipcmd} ${addr} dev ${dev} src ${main_ip}
> metric ${metric}
> done
>
> handle_iptable
>
> call_hooks vif post
>
> log debug "Successful vif-route ${command} for ${dev}."
> if [ "${command}" = "online" ]
> then
> success
> fi
>
>
> B) on the guest os (Debian 12)
>
>
> /etc/network/interfaces :
>
> source /etc/network/interfaces.d/*
>

Temporary failure in name resolution error when I try to ping Debian 12 / DomU running on top of the Devuan 5 host os / Dom0

2023-11-19 Thread Mario Marietto
Hello.

I'm trying to configure Debian 12 / DomU on my (Arm32) Chromebook because I
want to use the Internet and I want its IP address to be seen from
"outside" of my LAN.

This is the tutorial that I'm following :


https://github.com/mobile-virt/u-boot-chromebook-xe303c12/tree/chromebook/xen#starting-a-domu-guest

Given these config files :


A) on the host os (Devuan 5)

Linux devuan-bunsen 6.1.61-stb-xen-cbe+ #1 SMP PREEMPT Sat Nov  4 13:46:17
EDT 2023 armv7l

root@devuan-bunsen:~# ifconfig

lo: flags=73  mtu 65536
   inet 127.0.0.1  netmask 255.0.0.0
   inet6 ::1  prefixlen 128  scopeid 0x10
   loop  txqueuelen 1000  (Local Loopback)
   RX packets 2729  bytes 8279984 (7.8 MiB)
   RX errors 0  dropped 0  overruns 0  frame 0
   TX packets 2729  bytes 8279984 (7.8 MiB)
   TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

mlan0: flags=4163  mtu 1500
   inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
   inet6 fe80::8839:239b:9b37:cf84  prefixlen 64  scopeid 0x20
   RX packets 19694  bytes 2193230 (2.0 MiB)
   RX errors 0  dropped 0  overruns 0  frame 0
   TX packets 18757  bytes 10464406 (9.9 MiB)
   TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vif4.0: flags=4163  mtu 1500
   inet 192.168.1.7  netmask 255.255.255.255  broadcast 192.168.1.255
   ether fe:ff:ff:ff:ff:ff  txqueuelen 1000  (Ethernet)
   RX packets 359  bytes 94924 (92.6 KiB)
   RX errors 0  dropped 0  overruns 0  frame 0
   TX packets 42  bytes 1764 (1.7 KiB)
   TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

nano debian.cfg :

kernel = '/Dati/xen/kernels/zImage-6.1.61-stb-xen-cbe+'
memory = '768'
name = 'Debian-bookworm'
vcpus = '1'
disk = [ '/Dati/xen/debian.img,,xvda,w' ]
vif = [ 'type=vif,mac=00:16:3e:12:34:56,script=vif-route' ]
extra = 'console=hvc0 root=/dev/xvda rw init=/sbin/init
xen-fbfront.video=24,1024,768'


nano /etc/xen/scripts/vif-route-local :

#!/bin/bash
#
# ${XEN_SCRIPT_DIR}/vif-route
#
# Script for configuring a vif in routed mode.
#
# Usage:
# vif-route (add|remove|online|offline)
#
# Environment vars:
# dev vif interface name (required).
# XENBUS_PATH path to this device's details in the XenStore (required).
#
# Read from the store:
# ip  list of IP networks for the vif, space-separated (default given in
# this script).
#

dir=$(dirname "$0")
. "${dir}/vif-common.sh"
#netdev=$(mlan0)
main_ip=$(dom0_ip)
case "${command}" in
add|online)
echo $dev
  echo $ip
echo $main_ip
ifconfig ${dev} ${main_ip} netmask 255.255.255.255 up
echo 1 >/proc/sys/net/ipv4/conf/${dev}/proxy_arp
echo 1 >/proc/sys/net/ipv4/conf/${dev}/forwarding
echo 1 >/proc/sys/net/ipv4/conf/mlan0/forwarding
echo 1 >/proc/sys/net/ipv4/conf/mlan0/proxy_arp
/usr/sbin/arp -i mlan0 -Ds $main_ip mlan0 pub
ipcmd='add'
cmdprefix=''
;;
remove|offline)
do_without_error ifdown ${dev}
ipcmd='del'
cmdprefix='do_without_error'
;;
esac

case "${type_if}" in
tap)
metric=1
;;
vif)
metric=2
;;
*)
fatal "Unrecognised interface type ${type_if}"
;;
esac

# If we've been given a list of IP addresses, then add routes from dom0 to
# the guest using those addresses.
for addr in ${ip} ; do
${cmdprefix} ip route ${ipcmd} ${addr} dev ${dev} src ${main_ip} metric
${metric}
done

handle_iptable

call_hooks vif post

log debug "Successful vif-route ${command} for ${dev}."
if [ "${command}" = "online" ]
then
success
fi


B) on the guest os (Debian 12)


/etc/network/interfaces :

source /etc/network/interfaces.d/*
iface enX0 inet static
address 192.168.1.10/24
gateway 192.168.1.7

/etc/resolv.conf :

options edns0 trust-ad
search homenet.telecomitalia.it
nameserver 8.8.8.8


this is what happens within the guest os (Debian 12) :


root@bookworm:~# ifup enX0

root@bookworm:~# ip a

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
  valid_lft forever preferred_lft forever
   inet6 ::1/128 scope host noprefixroute
  valid_lft forever preferred_lft forever

2: sit0@NONE:  mtu 1480 qdisc noop state DOWN group default qlen
1000
   link/sit 0.0.0.0 brd 0.0.0.0

3: enX0:  mtu 1500 qdisc
pfifo_fast state UP group default
qlen 1000
   link/ether 00:16:3e:12:34:56 brd ff:ff:ff:ff:ff:ff
   inet 192.168.1.10/24 brd 192.168.1.255 scope global enX0
  valid_lft forever preferred_lft forever
   inet6 fe80::216:3eff:fe12:3456/64 scope link
  valid_lft forever preferred_lft forever

root@bookworm:~# ping google.it
ping: google.it: Temporary failure in name resolution


Where can be the error ? thanks.

-- 
Mario.


Re: Cliente IRC para Gnome (Moderno y Completo)

2023-11-06 Thread Mario Gianelli

El 31/10/23 a las 6:00 a. m., Jose Luis Alarcon Sanchez escribió:

Buenos días.

¿Tendríais la amabilidad de sugerirme un top de los mejores clientes
para IRC existentes para el escritorio Gnome?. No vale contestar ircII y
similares. Se trata de sustituir a Konversation, lo cual son Palabras Mayores.

Muchísimas gracias por anticipado.

Saludos.
Jose Luis.

--
https://lordofunix.org/

Usuario GNU/Hurd no registrado.
Usuario BSD registrado 51101.
Usuario Linux registrado #213309.
Una vez más cabalgaré con mis caballeros,
para defender lo que fue.
y el sueño de lo que pudo ser.


Yo uso KVirc, me recuerdo mucho al antiguo mIRC pors su capacidad de 
modificarlo con scripting.

--
███╗   ███╗ █╗ ██╗ ██╗ ██╗
╗ ║██╔══██╗██╔══██╗██║██╔═══██╗
██╔╔██║███║██╔╝██║██║   ██║
██║╚██╔╝██║██╔══██║██╔══██╗██║██║   ██║
██║ ╚═╝ ██║██║  ██║██║  ██║██║╚██╔╝
╚═╝ ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝ ╚═╝
--



Snapdragon

2023-09-16 Thread Mario Garcia
Buenas tardes

adquirir una laptop con la finalidad de instalar debian pero aun no lo
logró
quisiera saber si es compatible


 procesador Snapdragon (TM) 7c Gen 2 @ 2.55 GHz   2.55 GHz
4gb ram
64 ssd


saludos


Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-02 Thread Mario Marietto
Hello to everyone.

I'm trying to configure qemu 5.1 on Debian Buster on top of my ARM
chromebook,like this :

/configure --disable-werror --target-list=arm-softmmu --enable-opengl
--enable-gtk --enable-kvm --enable-guest-agent --enable-spice
--audio-drv-list="oss pa" --enable-libusb --enable-trace-backend=simple
--enable-debug --prefix=/usr/local

but I get the following error :

ERROR: User requested feature gtk ;
  configure was not able to find it.
  Install gtk3-devel

I tried to install the package libgtk-3-dev :

root@chromarietto:/home/marietto/Dati/virt/qemu-v5.1.0# apt-get install
libgtk-3-dev

but it won't be installed :

Reading package lists... Done
Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have requested
an impossible situation or if you are using the unstable distribution that
some required packages have not yet been created or been moved out of
Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies :

libgtk-3-dev : Depends: libatk-bridge2.0-dev but it is not going to be
installed
   Depends: libatk1.0-dev (>= 2.15.1) but it is not going to be
installed
   Depends: libegl1-mesa-dev but it is not going to be
installed
   Depends: libepoxy-dev (>= 1.0) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.


Any suggestions to fix it ? thanks.

On Sat, Sep 2, 2023 at 5:10 AM Max Nikulin  wrote:

> On 02/09/2023 04:15, Mario Marietto wrote:
> > I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and
> > header package. Is there a method or tool to convert these packages to
> > debian packages so that I can use them on Debian ?
>
> Kernel image from one project and headers+sources from another one may
> be a call to trouble due to different config and set of patches.
>
> I suspect that kernel image+modules packages from Ubuntu would not work
> for you.
>
> Having config for your current kernel in /boot you may try to rebuild
> the whole suite from sources (if you can get applied patches).
>
>

-- 
Mario.


Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Mario Marietto
Hello.

I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and
header package. Is there a method or tool to convert these packages to
debian packages so that I can use them on Debian ? That's because I prefer
Debian over Ubuntu. Thanks.


On Fri, Sep 1, 2023 at 10:25 PM Andrew M.A. Cater 
wrote:

> On Fri, Sep 01, 2023 at 01:16:31PM +0200, Mario Marietto wrote:
> > Hello to everyone.
> >
> > I've just installed Debian Buster on my ARM Chromebook,using this image :
> >
> > https://github.com/hexdump0815/imagebuilder/releases?page=12
> >
> > He says that the image is based on the kernel 5.4 and it is. Infact the
> > default running kernel is 5.4.14. But for the project that I'm working
> on,I
> > also need to install the linux source and the headers packages for the
> same
> > kernel (5.4.14),but unfortunately,between the packages I only see
> versions
> > 4.19 and 5.10. Is there a method to install the sources and headers
> > packages also for the kernel 5.4.14 ?
> >
>
> You're out of luck - Debian doesn't offer 5.4 but does offer 5.10 - and
> what you've got is not from Debian.
>
> You might be able to install debootstrap and current kernel sources
> and build your own. I'd suggest starting from Debian 12 to build a
> current image.
>
> In the interim, you need to ask the person who provided that image
> where the source and headers are.
>
> > The point is that for the project that I'm working on (using qemu 5.1 +
> > enabling kvm + kernel 5.4 + libvirt on my ARM chromebook) I need the
> kvm.h
> > header,that's provided by the linux-headers (5.4.14) package. I can't
> use a
> > version of qemu greater than 5.1 and a version of the kernel greater than
> > 5.4. That's the reason why I'm asking this question.
> >
>
> Go and ask, maybe - we can't really help.
>
> PS: Thanks very much for clear formatting of this message which is much
> easier to read than some of your prior messages.
>
> > Thanks very much.
> >
> > --
> > Mario.
>
> With every good wish, as ever,
>
> Andy Cater
>
>

-- 
Mario.


How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Mario Marietto
Hello to everyone.

I've just installed Debian Buster on my ARM Chromebook,using this image :

https://github.com/hexdump0815/imagebuilder/releases?page=12

He says that the image is based on the kernel 5.4 and it is. Infact the
default running kernel is 5.4.14. But for the project that I'm working on,I
also need to install the linux source and the headers packages for the same
kernel (5.4.14),but unfortunately,between the packages I only see versions
4.19 and 5.10. Is there a method to install the sources and headers
packages also for the kernel 5.4.14 ?

The point is that for the project that I'm working on (using qemu 5.1 +
enabling kvm + kernel 5.4 + libvirt on my ARM chromebook) I need the kvm.h
header,that's provided by the linux-headers (5.4.14) package. I can't use a
version of qemu greater than 5.1 and a version of the kernel greater than
5.4. That's the reason why I'm asking this question.

Thanks very much.

-- 
Mario.


Re: Error : virHostCPUGetKVMMaxVCPUs: KVM is not supported on this platform: Function not implemented

2023-08-30 Thread Mario Marietto
Zithro : And yet you continue trying to compile (possibly) incompatible
softwares from source, instead of following the user guides, and despite
our warnings. You essentially say "I want to do some complicated stuff
without understanding how it works, and quick please".

Are you reading my mind ? How can you know what I say ? I don't say or
think what you think I think. My approach is something like this : to
understand why I get that error,learning guides is not enough,or at least,I
found that learning by doing is a good choice to learn for me. So,the
chosen to recompile from scratch everything (Linux kernel,qemu,libvirt and
virt-manager) is not a masochistic choice, it is useful for me because
doing so,step by step,I will see what happens from a lot of different
angles and I can learn the whole procedure evaluating a process at a time.
Learning for me is important. If I do what you suggest as is,I will learn a
few things,because probably your solution is correct,but I need to make
errors before I can understand what's correct and what's not. Can you
understand my point ? I spend my time reading,but I can't read everything
since I don't know what's relevant and what's not. So before I read
something I ask on various forums or ML what I should learn. That's because
I need to focus my attention only on the points that are relevant to be
able to achieve the project. This is important to avoid reading a lot of
useless things that would lead me astray. With that said,I have understood
what to do,more or less. I should install a debian version that has a 5.4
kernel on board. I don't know which release could be. I hope that it has a
version of qemu minor than 5.2,otherwise it will not work. If it is 5.2 or
greater,I don't know what to do. Maybe I will try to recompile qemu 5.1 to
see if it can be good with a 5.4 kernel shipped by that version of Debian.
For sure I will also install libvirt and virt-manager and the UEFI files
from the packages of that distro. I hope you understand that for someone
who is learning there are many unknowns to solve. I hope you understand
that not everyone has a clear and global vision of what to do and you can't
expect to always or almost always deal with experienced people. Finally, I
hope you understand that what is simple for you is not or it is less so
easy for other users.

On Wed, Aug 30, 2023 at 7:15 PM zithro  wrote:

> Seems you also don't read and/or learn ...
> Don't top post please, it's a matter of respect.
>
>A: Because it messes up the order in which people normally read text.
>Q: Why is top-posting such a bad thing?
>A: Top-posting.
>Q: What is the most annoying thing in e-mail?
>
> On 30 Aug 2023 10:50, Mario Marietto wrote:
> > Not a useful suggestion for me. I'm not a coder,such as I'm not a pro
> > system admin : this is only a hobby for me. I try to do the best I
> can,but
> > I can't solve bugs for which a solution has not been found yet and that
> > involves the writing of a piece of code.
>
> And yet you continue trying to compile (possibly) incompatible softwares
> from source, instead of following the user guides, and despite our
> warnings.
> You essentialy say "I want to do some complicated stuff without
> understanding how it works, and quick please".
>
> Have you looked for bug reports for your THREE consecutive problems ?
> Why not going plain Debian stable and walk from there ?
>
> Have you checked the compilation flags needed ?
> You don't need to be a dev to understand, just spend time reading.
>
> If distros spend a huge amount of time packaging software, it's to
> ensure proper compatibility between software versions, including the
> kernel.
> Dumb example :
>- compile kernel 4.2
>- compile QEMU version 1
>- compile libvirt version 9
>
> I'm pretty sure you'll get as "strange" errors as you experienced.
> But those errors are not strange, it's just that code get created and
> deleted.
> If libvirt needs the function "virConnectGetDomainCapabilities()" from
> KVM, and the installed version of kernel/KVM does NOT ship this
> function, you get those kind of errors.
>
> My advice : look for people who use Linux/BSD -AND- your platform/model
> (Chromebook ARM).
> Also, if you're not ready to spend time, follow recent guides.
>
> --
> ++
> zithro / Cyril
>
>

-- 
Mario.


Debian soporte

2023-08-30 Thread Mario Garcia
Hola mi nombres mario garcia , quisiera pregutarle si una laptop con
siguiente procesador snapdragon (tM 7c puedo instalar debian. ?


Saludos ?


Re: Error : virHostCPUGetKVMMaxVCPUs: KVM is not supported on this platform: Function not implemented

2023-08-30 Thread Mario Marietto
Not a useful suggestion for me. I'm not a coder,such as I'm not a pro
system admin : this is only a hobby for me. I try to do the best I can,but
I can't solve bugs for which a solution has not been found yet and that
involves the writing of a piece of code.

On Wed, Aug 30, 2023 at 4:45 AM zithro  wrote:

> On 29 Aug 2023 23:48, Mario Marietto wrote:
>
> > I'm running Debian bookworm [...]
>
> No you're not.
>
> You're running a MODIFIED Debian version with a (rather old) MODIFIED
> kernel :
>
> > $ uname -r
> > 5.4.244-stb-cbe
>  >
> > [removed mostly copy/paste from old posts]
>
> > Can someone give me some suggestions to fix that error ? thanks.
>
> Yes, takes me 2 minutes too :
>
> 1. open the libvirt source code folder
> 2. grep the functions in error to get the file names
> 3. open those files and find out why the functions fail
> 4. edit code, recompile, test
> 5. do (4) till the problem is not solved
>
> Also, it's nice to report the bug where you got the disk image, so
> others won't waste their time for the same bug.
>
> If you solved your problem, propose a patch, so others may benefit.
>
> HTH !
>
> --
> ++
> zithro / Cyril
>
>

-- 
Mario.


Error : virHostCPUGetKVMMaxVCPUs: KVM is not supported on this platform: Function not implemented

2023-08-29 Thread Mario Marietto
, in
getDomainCapabilities
raise libvirtError('virConnectGetDomainCapabilities() failed')
libvirt.libvirtError: KVM is not supported on this platform: Function
not implemented


2023-08-29 10:10:14.157+: 1762: error :
virHostCPUGetKVMMaxVCPUs:1228 : KVM is not supported on this platform:
Function not implemented

[Tue, 29 Aug 2023 10:10:14 virt-manager 2141] DEBUG
(domcapabilities:250) Error fetching domcapabilities XML
Traceback (most recent call last):
  File "/usr/local/share/virt-manager/virtinst/domcapabilities.py",
line 245, in build_from_params
xml = conn.getDomainCapabilities(emulator, arch,
  ^^
  File "/usr/lib/python3/dist-packages/libvirt.py", line 4612, in
getDomainCapabilities
raise libvirtError('virConnectGetDomainCapabilities() failed')
libvirt.libvirtError: KVM is not supported on this platform: Function
not implemented
[Tue, 29 Aug 2023 10:10:14 virt-manager 2141] DEBUG (createvm:497)
Error checking for UEFI default
Traceback (most recent call last):
  File "/usr/local/share/virt-manager/virtManager/createvm.py", line
491, in _set_caps_state
guest.enable_uefi()
  File "/usr/local/share/virt-manager/virtinst/guest.py", line 589, in
enable_uefi
path = self._lookup_default_uefi_path()
   
  File "/usr/local/share/virt-manager/virtinst/guest.py", line 848, in
_lookup_default_uefi_path
raise RuntimeError(_("Libvirt version does not support UEFI."))
RuntimeError: Libvirt version does not support UEFI

Can someone give me some suggestions to fix that error ? thanks.
-- 
Mario.


Re: Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

2023-08-28 Thread Mario Marietto
Anyway,I found it relevant that I have the error with the wi-fi driver in
debian,but not with devuan.

On Mon, Aug 28, 2023 at 9:19 PM Mario Marietto 
wrote:

> Yes.thanks. I've already asked there. The author is busy with different
> projects,so I tried to look for some help from different sources or the
> thing will take too long a time.
>
> On Mon, Aug 28, 2023 at 8:40 PM zithro  wrote:
>
>> On 28 Aug 2023 19:00, Christian Britz wrote:
>> > On 28.08.23, 18:44, zithro wrote:
>> >> On 27 Aug 2023 12:09, Mario Marietto wrote:
>> >>> $ uname -a
>> >>> Linux chromarietto 5.4.244-stb-cbe
>> >>> #8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux
>> >>
>> >> Is it normal to get this "old" kernel on bookworm ARM ? No 6.x
>> versions ?
>> >
>> > This does not seem to be a Debian kernel at all. I get this on my
>> > Raspberry Pi running bookworm:
>> >
>> > $ uname -a
>> > Linux raspberrypi 6.1.0-11-arm64 #1 SMP Debian 6.1.38-4 (2023-08-08)
>> > aarch64 GNU/Linux
>> >
>>
>> Yes, in another post today, the OP wrote he was using :
>>
>>
>> https://github.com/hexdump0815/imagebuilder/releases/download/230220-01/chromebook_snow-armv7l-bookworm.img.gz
>>
>> The other post is about a kernel wifi driver misbehaving (mwifiex_sdio
>> ...).
>>
>> So I guess support should be asked there. There may be many differences
>> between OP's image and a standard Debian.
>>
>> --
>> ++
>> zithro / Cyril
>>
>>
>
> --
> Mario.
>


-- 
Mario.


Re: Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

2023-08-28 Thread Mario Marietto
Yes.thanks. I've already asked there. The author is busy with different
projects,so I tried to look for some help from different sources or the
thing will take too long a time.

On Mon, Aug 28, 2023 at 8:40 PM zithro  wrote:

> On 28 Aug 2023 19:00, Christian Britz wrote:
> > On 28.08.23, 18:44, zithro wrote:
> >> On 27 Aug 2023 12:09, Mario Marietto wrote:
> >>> $ uname -a
> >>> Linux chromarietto 5.4.244-stb-cbe
> >>> #8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux
> >>
> >> Is it normal to get this "old" kernel on bookworm ARM ? No 6.x versions
> ?
> >
> > This does not seem to be a Debian kernel at all. I get this on my
> > Raspberry Pi running bookworm:
> >
> > $ uname -a
> > Linux raspberrypi 6.1.0-11-arm64 #1 SMP Debian 6.1.38-4 (2023-08-08)
> > aarch64 GNU/Linux
> >
>
> Yes, in another post today, the OP wrote he was using :
>
>
> https://github.com/hexdump0815/imagebuilder/releases/download/230220-01/chromebook_snow-armv7l-bookworm.img.gz
>
> The other post is about a kernel wifi driver misbehaving (mwifiex_sdio
> ...).
>
> So I guess support should be asked there. There may be many differences
> between OP's image and a standard Debian.
>
> --
> ++
> zithro / Cyril
>
>

-- 
Mario.


Re: Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

2023-08-28 Thread Mario Marietto
Sure. It's debian. Uname -a for me is different because I have recompiled
the kernel several times. And I can't use 6 on this old netbook if I want
to enable kvm. The latest version supported is 5.7. Higher than this qemu
will not be recognized by kvm anymore. No problem if you don't want to use
kvm ; you can even use 6.x. The image that I've used there is the 6.x
onboard,but I have recompiled 5.4.

On Mon, Aug 28, 2023 at 7:10 PM Christian Britz  wrote:

> On 28.08.23, 18:44, zithro wrote:
> > On 27 Aug 2023 12:09, Mario Marietto wrote:
> >> $ uname -a
> >> Linux chromarietto 5.4.244-stb-cbe
> >> #8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux
> >
> > Is it normal to get this "old" kernel on bookworm ARM ? No 6.x versions ?
>
> This does not seem to be a Debian kernel at all. I get this on my
> Raspberry Pi running bookworm:
>
> $ uname -a
> Linux raspberrypi 6.1.0-11-arm64 #1 SMP Debian 6.1.38-4 (2023-08-08)
> aarch64 GNU/Linux
>
> --
> https://www.cb-fraggle.de
>
>

-- 
Mario.


mwifiex_sdio mmc2:0001:1: CMD_RESP: cmd 0x23f error, result=0x2 on your image Debian Bookworm for the ARM Chromebook.

2023-08-28 Thread Mario Marietto
Hello.

I'm playing with my old ARM Chromebook,model xe303c12. I've recompiled the
kernel to enable KVM,such as qemu 5.1 and libvirt from source code because
I want to virtualize FreeBSD 13.2 arm 32 bit. As default OS I've installed
Debian 12. So now my system sounds like this :

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux 12 (bookworm)
Release:12
Codename:   bookworm

$ uname -a
Linux chromarietto 5.4.244-stb-cbe
#8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux

$ uname -r
5.4.244-stb-cbe

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

$ qemu-system-arm --version
QEMU emulator version 5.1.0 (v5.1.0-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

$ python3 --version
Python 3.11.2

on my last experiment I've switched from Devuan 4 to Debian
bookworm,"burning" this image file to the sd card :


https://github.com/hexdump0815/imagebuilder/releases/download/230220-01/chromebook_snow-armv7l-bookworm.img.gz



I'm using it right now,but some huge errors are destroying my system files
reboot after reboot,because they are produced at a regular intervals :


[   10.480204] mwifiex_sdio mmc2:0001:1: info: FW download over, size
533976 bytes
[   10.719132] mwifiex_sdio mmc2:0001:1: WLAN FW is active
[   10.719369] Bluetooth: vendor=0x2df, device=0x912a, class=255, fn=2
[   11.089624] btmrvl_sdio mmc2:0001:2: sdio device tree data not available
[   11.091551] mwifiex_sdio mmc2:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   11.091563] mwifiex_sdio mmc2:0001:1: mwifiex_process_cmdresp: cmd
0x242 failed during initialization
[   11.133736] mwifiex_sdio mmc2:0001:1: info: MWIFIEX VERSION:
mwifiex 1.0 (14.68.29.p59)
[   11.135281] mwifiex_sdio mmc2:0001:1: driver_version = mwifiex 1.0
(14.68.29.p59)
[   12.914015] NET: Registered protocol family 38
[   19.058217] mwifiex_sdio mmc2:0001:1: info: trying to associate to
'ziomario' bssid
[   19.093260] mwifiex_sdio mmc2:0001:1: info: associated to bssid  successfully
[   19.116924] mwifiex_sdio mmc2:0001:1: CMD_RESP: cmd 0x23f error, result=0x2
[   19.129679] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
[   19.134791] mwifiex_sdio mmc2:0001:1: CMD_RESP: cmd 0x23f error, result=0x2
[   31.849443] TPS65090_RAILSDCDC1: disabling
[   31.858024] TPS65090_RAILSDCDC2: disabling
[   31.868245] TPS65090_RAILSDCDC3: disabling
[   31.878250] TPS65090_RAILSLDO1: disabling
[   31.887352] TPS65090_RAILSLDO2: disabling
[  115.862293] mwifiex_sdio mmc2:0001:1: CMD_RESP: cmd 0x23f error, result=0x2


If I don't get wrong,it is the wireless driver that has been added to the
system that's causing the problem,right ? or maybe it is incompatible with
the Debian 12 ?

Let me know please. I don't want to return to Devuan because libvirt is
easier to configure on Debian. But take in consideration that those errors
don't happen on Devuan.
-- 
Mario.


Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

2023-08-27 Thread Mario Marietto
Hello.

I'm running Debian bookworm on my ARM Chromebook,model "xe303c12" and I've
recompiled the kernel to enable KVM,so now my system sounds like this :


$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux 12 (bookworm)
Release:12
Codename:   bookworm

$ uname -a
Linux chromarietto 5.4.244-stb-cbe
#8 SMP PREEMPT Sat Aug 19 22:19:32 UTC 2023 armv7l GNU/Linux

$ uname -r
5.4.244-stb-cbe

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

$ qemu-system-arm --version
QEMU emulator version 5.1.0 (v5.1.0-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

$ python3 --version
Python 3.11.2


I have installed libvirt 9.7.0,qemu 5.1 and virt-manager from source code
with the final goal to be able to connect qemu,kvm and libvirt together to
virtualize FreeBSD 13.2 for arm 32 bit. If you ask me why I've recompiled
everything from source code,my answer will be complicated,but in short
terms,for some unknown reason, it reports an error like this :


"Warning : Failed to set up UEFI /
The Libvirt version does not support UEFI /
Install options are limited"


So,I went for the most complicated route : compiling everything from
scratch.

Below I pasted the whole procedure that I've followed,so you can understand
well what's wrong.


$ apt build-dep libvirt

$ git clone https://github.com/libvirt/libvirt.git
Cloning into 'libvirt'...

$ cd libvirt
$ meson setup build
$ ninja -C build
$ ninja -C build install

$ which virsh
/usr/local/bin/virsh

$ which libvirtd
/usr/local/sbin/libvirtd

$ apt install libgtk-3-dev libpulse-dev libgbm-dev libspice-protocol-dev \
libspice-server-dev libusb-1.0-0-dev libepoxy-dev libfdt-dev

$ git clone -b v5.1.0 http://git.qemu.org/qemu.git

$ cd qemu-v5.1.0

$ git submodule add -f https://git.kernel.org/pub/scm/utils/dtc/dtc.git dtc

$ ./configure --disable-werror --target-list=arm-softmmu \
--enable-opengl --enable-gtk --enable-kvm --enable-guest-agent \
--enable-spice --audio-drv-list="oss pa" --enable-libusb \
--enable-trace-backend=simple --enable-debug

$ make

$ make install

$ git clone https://github.com/virt-manager/virt-manager.git

$ apt install gobject-introspection libosinfo-1.0-0 libosinfo-1.0-dev \
gir1.2-libosinfo-1.0 libvirt-glib-1.0-dev

$ cd virt-manager
$ ./setup.py configure --prefix=/usr/local
$ sudo ./setup.py install

$ sudo usermod -a -G libvirt root
$ sudo usermod -a -G libvirtd root
$ sudo usermod -a -G libvirt-qemu libvirt-qemu
$ sudo usermod -a -G libvirt marietto
$ sudo adduser libvirt-qemu
$ sudo groupadd --system libvirt
$ sudo groupadd --system libvirt-qemu
$ sudo newgrp libvirt-qemu
$ newgrp libvirt

$ /usr/local/sbin# libvirtd &
[1] 2875

$ /usr/local/sbin# virtqemud &

info : libvirt version: 9.7.0 info :
hostname: chromarietto error : virPidFileAcquirePathFull:409
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable error : virStateInitialize:672 :
Initialization of QEMU state driver failed
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable error : daemonRunStateInit:617 :
Driver state initialization failed

$ /usr/local/sbin# ps ax | grep libvirt
2875 pts/0Sl 0:00 libvirtd

$ /usr/local/sbin# ps ax | grep virtqemu
nothing


If I do the opposite way :


$ /usr/local/sbin# virtqemud &

$ /usr/local/sbin# ps ax | grep virtqemu
3041 pts/0Sl 0:00 virtqemud

$ /usr/local/sbin# libvirtd &

info : libvirt version: 9.7.0 info :
hostname: chromarietto
error : virPidFileAcquirePathFull:409
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable
virStateInitialize:672 : Initialization of QEMU state driver failed
Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid
Resource temporarily unavailable daemon
RunStateInit:617 : Driver state initialization failed

$ /usr/local/sbin# ps ax | grep virtqemu
3041 pts/0Sl 0:00 virtqemud

$ /usr/local/sbin# ps ax | grep libvirt
nothing


In short terms : when I launch libvirt and then virtqemu,the first one does
not close itself,but the second one does it ; when I launch virtqemud and
then libvirt,the first one does not close itself,but the second one does it
; so,these two processes are not compatible with each other,but they should
run both,otherwise virt-manager will not work at all and I will not be able
to run any virtual machine.
-- 
Mario.


Re: Virtualization under Bookworm

2023-08-26 Thread Mario Marietto
So,surely go with virtualbox or vmware workstation.

On Sun, Aug 27, 2023 at 1:20 AM Carl Fink  wrote:

>
> On 8/26/23 16:01, Mario Marietto wrote:
> > If you want a powerful tool,you should spend some of your time on it.
> > If you want to use something easier,you will lose some features,at least.
>
> Yep. That's why I specified that I was more interested in easy setup in
> the threadstarter ....
>
> -Carl
>
>

-- 
Mario.


Re: Virtualization under Bookworm

2023-08-26 Thread Mario Marietto
If you want a powerful tool,you should spend some of your time on it. If
you want to use something easier,you will lose some features,at least.

On Sat, Aug 26, 2023 at 9:43 PM Carl Fink  wrote:

> Well, last time I looked (at least six or seven years ago) it was a weird
> maze of fiddling to get QEMU/KVM set up. Is it easier now?
> On 8/26/23 14:53, Mario Marietto wrote:
>
> For sure you can't miss qemu + kvm,they are the most powerful tools for
> virtualization. With qemu and kvm you can pass through to the guest OS even
> your gpu. With virtualbox or vmware you can't.
>
> On Sat, Aug 26, 2023 at 8:40 PM James Bloom  wrote:
>
>> Carl:
>>
>> I use VirtualBox on Debian 12, and I run virtual Windows 11 and Linux
>> machines with no issue. I also tried GNOME boxes and had no direct
>> problems, but I went back to using VirtualBox because it was compatible
>> with my cloud storage setup - I can save a VirtualBox virtual machine file
>> in the cloud server and access it from my desktop and laptop without issue,
>> whereas GNOME boxes wouldn’t work if I did that - there were always boot
>> errors. But GNOME boxes otherwise seemed to work great.
>>
>> James
>>
>> Get Outlook for iOS <https://aka.ms/o0ukef>
>> --
>> *From:* Carl Fink 
>> *Sent:* Saturday, August 26, 2023 9:29:30 AM
>> *To:* debian-user@lists.debian.org 
>> *Subject:* Virtualization under Bookworm
>>
>> Hi,
>>
>> I have a project that I'd like to work on in a virtual machine hosted on
>> my Bookworm system. In the old days (5-10 years ago) I used VirtualBox,
>> just from inertia. I haven't really virtualized since then.
>>
>> What's the current recommendation for someone who just wants to create a
>> one-off VM to run Debian under Debian? As this is not my job or even
>> main hobby, ideally it should have setup at least as easy as VirtualBox
>> was back in the day.
>>
>> System is an ASUS ExpertCenter PN52 (Ryzen 7 6800, 32 GB of RAM, 2
>> terabyte SSD).
>>
>> Thank you.
>>
>> -Carl Fink
>>
>>
>
> --
> Mario.
>
>

-- 
Mario.


Re: Virtualization under Bookworm

2023-08-26 Thread Mario Marietto
For sure you can't miss qemu + kvm,they are the most powerful tools for
virtualization. With qemu and kvm you can pass through to the guest OS even
your gpu. With virtualbox or vmware you can't.

On Sat, Aug 26, 2023 at 8:40 PM James Bloom  wrote:

> Carl:
>
> I use VirtualBox on Debian 12, and I run virtual Windows 11 and Linux
> machines with no issue. I also tried GNOME boxes and had no direct
> problems, but I went back to using VirtualBox because it was compatible
> with my cloud storage setup - I can save a VirtualBox virtual machine file
> in the cloud server and access it from my desktop and laptop without issue,
> whereas GNOME boxes wouldn’t work if I did that - there were always boot
> errors. But GNOME boxes otherwise seemed to work great.
>
> James
>
> Get Outlook for iOS <https://aka.ms/o0ukef>
> --
> *From:* Carl Fink 
> *Sent:* Saturday, August 26, 2023 9:29:30 AM
> *To:* debian-user@lists.debian.org 
> *Subject:* Virtualization under Bookworm
>
> Hi,
>
> I have a project that I'd like to work on in a virtual machine hosted on
> my Bookworm system. In the old days (5-10 years ago) I used VirtualBox,
> just from inertia. I haven't really virtualized since then.
>
> What's the current recommendation for someone who just wants to create a
> one-off VM to run Debian under Debian? As this is not my job or even
> main hobby, ideally it should have setup at least as easy as VirtualBox
> was back in the day.
>
> System is an ASUS ExpertCenter PN52 (Ryzen 7 6800, 32 GB of RAM, 2
> terabyte SSD).
>
> Thank you.
>
> -Carl Fink
>
>

-- 
Mario.


Re: How do I remotely access the computer in the next room?

2023-07-02 Thread Mario Marietto
enable X forwarding on the remote pc and install lxde and then,from your
pc,run :

ssh -Y ip remote lxpanel

Il lun 3 lug 2023, 01:50 Jeffrey Walton  ha scritto:

> On Sun, Jul 2, 2023 at 6:56 PM hobie of RMN 
> wrote:
> >
> > I need the best way currently available to operate my brother's computer
> > in the next room through my computer.  I think we're both running Debian
> > 11, the stable version for me, the testing version for him.  I've tried
> > ssh -X.  It does work but only for a short time, then the connection
> > crumbles - his computer has often locked up on him and we have no idea
> > why, so the 'short time' aspect of the -X approach may relate to that.
>
> Turn off Suspend under power settings. That is killing your SSH connection.
>
> > The point is, he's been away from home for awhile now and we're not sure
> > when he'll return. Chiefly I'm looking for the most convenient way to
> keep
> > an eye on his incoming e-mail for him.  Mostly I use Mutt; he uses
> > claws-mail exclusively, so I'll need to remotely launch claws-mail and
> > have it retrieve latest e-mails.
>
> Assuming you want a GUI tool, you might try VNC or Xpra.
>
> Jeff
>
>


Re: Nexus 10 Manta Mainline allows me to install Debian on my Nexus 10 ?

2023-06-28 Thread Mario Marietto
-> Great! Continue talking to them.

they don't reply to me.

-> https://www.debian.org/releases/stable/ will give you a guide to
read once you know the architecture.

I found the architecture :

cpu = ARM Cortex-A15
cpu bits = 32
instruction set = ARMv7

source : https://www.devicespecifications.com/en/model/9bef283c

so,it should be armhf,right ?

I see no guide on the link that you gave to me. Can you point me to a more
specific link ? I need a tutorial that teaches me how to use the code
stored on the github of those guys. Thank you very much.


On Wed, Jun 28, 2023 at 2:59 AM Dan Ritter  wrote:

> Mario Marietto wrote:
> > Hello.
> >
> > Please give a look here :
> >
> >
> https://forum.xda-developers.com/t/kernel-mainlining-manta-kernel.4461617/
> >
> > it does not seem that it has been abandoned...it seems that there have
> been
> > good progress.
>
>
> Great! Continue talking to them.
>
> Find out if this is an armel, armhf, or arm64 machine. All three
> are nominally supported by Debian, but booting is going to be
> fun (i.e. hard) in most cases.
>
> https://www.debian.org/releases/stable/ will give you a guide to
> read once you know the architecture.
>
> Once you've got a kernel booting, you can build an installation
> with debootstrap -- you'll want to build it on a different
> machine, then copy the image over to whatever media the hardware
> can use.
>
> If I remember correctly, the Nexus 10 had a bunch of cases of
> bad storage with very limited write lifetime. They are all 11
> years old now, so be prepared for that, too.
>
> -dsr-
>


-- 
Mario.


Re: Nexus 10 Manta Mainline allows me to install Debian on my Nexus 10 ?

2023-06-27 Thread Mario Marietto
Hello.

Please give a look here :

https://forum.xda-developers.com/t/kernel-mainlining-manta-kernel.4461617/

it does not seem that it has been abandoned...it seems that there have been
good progress.

On Wed, Jun 28, 2023 at 1:23 AM Dan Ritter  wrote:

> Mario Marietto wrote:
> > Hello.
> >
> > Excuse me for the lack of knowledge,but with the code stored on the
> github
> > below :
> >
> >
> https://github.com/alexmrqt/manta-mainline/tree/f4c38a7867f4e0e7481b71f96a0d0b4116b41c0f
> >
> > Can I install one of the latest Linux kernel versions on the
> > Nexus 10 ?
>
> No.
>
> > And
> > also a Linux distro like Debian ? On the github above there isn't a
> > structured tutorial to do so,can you suggest one to me ? I'm not able to
> > understand what to do out of the blue. I'm really excited to try the
> > installation of Debian on my Nexus 10. thanks.
>
> The utter lack of documentation, issues, and conversations
> suggests that the attempt was abandoned. You should talk to the
> person who has that github repo, but prepare for disappointment.
>
> -dsr-
>


-- 
Mario.


Nexus 10 Manta Mainline allows me to install Debian on my Nexus 10 ?

2023-06-27 Thread Mario Marietto
Hello.

Excuse me for the lack of knowledge,but with the code stored on the github
below :

https://github.com/alexmrqt/manta-mainline/tree/f4c38a7867f4e0e7481b71f96a0d0b4116b41c0f

Can I install one of the latest Linux kernel versions on the Nexus 10 ? And
also a Linux distro like Debian ? On the github above there isn't a
structured tutorial to do so,can you suggest one to me ? I'm not able to
understand what to do out of the blue. I'm really excited to try the
installation of Debian on my Nexus 10. thanks.

-- 
Mario.


Re: How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-21 Thread Mario Marietto
@Nicolas George : what about if I don't understand what ? I presume that
between us before all there are some relevant cultural differences. A rude
behavior like yours is not tolerable,since I haven't offended you
personally. I have only expressed opinions based on the cultural view of
the place where I live. So,try to be calm. We are reasonable people,I
think. I want to think this.

On Wed, Jun 21, 2023 at 9:18 AM Nicolas George  wrote:

> Mario Marietto (12023-06-20):
> > Or am I missing something ?
>
> Yes, a lot.
>
> --
>   Nicolas George
>
>

-- 
Mario.


Re: How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-20 Thread Mario Marietto
@nicolas george : you consider yourself a democratic person ? Do you fight
every day for the freedom of speech of other people ? I don't see any
insult from myself. The fact that you see it does not make it is. And what
about your invitation to the other people to ignore me ? I consider this
behavior the worst demonstration of a liberal and democratic society. Where
do you live ? I always thought that the USA was the first nation to fight
for the freedom of expression of everyone. I don't even understand what has
hurted you. It makes no sense that you feel offended because I don't know
you. I could not have said something that could have tarnished your
reputation and your honor,simply because I did not and do not know anything
about you. So you are inviting others not to help me on the basis of a
general and philosophical argumentation ? Or am I missing something ?

On Wed, Jun 21, 2023 at 12:35 AM Nicolas George  wrote:

> Mario Marietto (12023-06-20):
> > ---> Second, you are asking for help: that means your time is less
> valuable
> > than the time of people who might help you, and the most effort comes
> from
> > you.
> >
> > it's not a matter of effort : not everything is under our control : If I
> > don't know something,I COULD learn MORE,but if I don't know that thing
> > YET,I might NEVER know it. Knowledge is limited,but also imagination can
> be
> > limited. Your sentence is dangerous,because it "paints" someone that can
> do
> > everything,can learn everything,can imagine what he/she does not know
> yet.
> > You are painting some kind of superhero that has everything under his
> > control. Tell me that there are limits to what someone can
> > do,learn,imagine,because it's so important. The worst personality
> > structure, the sickest,in terms of clinical psychology is the
> narcissistic
> > / omnipotent one.
>
> Do not expect any help from me in the future.
>
> And I urge the competent people on this mailing list to read this
> insulting and entitled paragraph and consider whether they want to
> expend time helping somebody like you.
>
> Good luck.
>
> --
>   Nicolas George
>


-- 
Mario.


Re: How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-20 Thread Mario Marietto
Probably you call troll what you find difficult to understand ? I'm a
psychologist,not a troll. Try to read and understand. This is the right
method to understand more than what you understand now. If you talk about
troll,you close the door to a lot of interesting topics. Ok,they probably
aren't inherent to your job,but you may find them useful for your own
growth.

On Wed, Jun 21, 2023 at 12:09 AM  wrote:

> Mario Marietto  wrote:
> > ---> Second, you are asking for help: that means your time is less
> > valuable than the time of people who might help you, and the most
> > effort comes from you.
> >
> > it's not a matter of effort : not everything is under our control :
> > If I don't know something,I COULD learn MORE,but if I don't know that
> > thing YET,I might NEVER know it. Knowledge is limited,but also
> > imagination can be limited. Your sentence is dangerous,because it
> > "paints" someone that can do everything,can learn everything,can
> > imagine what he/she does not know yet. You are painting some kind of
> > superhero that has everything under his control. Tell me that there
> > are limits to what someone can do,learn,imagine,because it's so
> > important. The worst personality structure, the sickest,in terms of
> > clinical psychology is the narcissistic / omnipotent one.
>
> I call troll.
>
> > On Tue, Jun 20, 2023 at 5:48 PM Nicolas George 
> > wrote:
> >
> > > Mario Marietto (12023-06-20):
> > > > What about if I don't know which kind of information you need ?
> > > > I'm the hobbyist,you are the developer. It's better that you ask
> > > > what you want to know and I try to reply with my limited
> > > > knowledge.
> > >
> > > You are doubly mistaken here.
> > >
> > > First, this is a users mailing lists: the people who might help you
> > > are not developers, they are users just like you.
> > >
> > > Second, you are asking for help: that means your time is less
> > > valuable than the time of people who might help you, and the most
> > > efforts come from you.
> > >
> > > If you expect useful help on this mailing-list, start by respecting
> > > the people who are here, and that includes observing how their
> > > mails are formatted and trying to do the same.
> > >
> > > --
> > >   Nicolas George
> > >
> > >
> >
>
>

-- 
Mario.


Re: How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-20 Thread Mario Marietto
---> Second, you are asking for help: that means your time is less valuable
than the time of people who might help you, and the most effort comes from
you.

it's not a matter of effort : not everything is under our control : If I
don't know something,I COULD learn MORE,but if I don't know that thing
YET,I might NEVER know it. Knowledge is limited,but also imagination can be
limited. Your sentence is dangerous,because it "paints" someone that can do
everything,can learn everything,can imagine what he/she does not know yet.
You are painting some kind of superhero that has everything under his
control. Tell me that there are limits to what someone can
do,learn,imagine,because it's so important. The worst personality
structure, the sickest,in terms of clinical psychology is the narcissistic
/ omnipotent one.

On Tue, Jun 20, 2023 at 5:48 PM Nicolas George  wrote:

> Mario Marietto (12023-06-20):
> > What about if I don't know which kind of information you need ? I'm the
> > hobbyist,you are the developer. It's better that you ask what you want to
> > know and I try to reply with my limited knowledge.
>
> You are doubly mistaken here.
>
> First, this is a users mailing lists: the people who might help you are
> not developers, they are users just like you.
>
> Second, you are asking for help: that means your time is less valuable
> than the time of people who might help you, and the most efforts come
> from you.
>
> If you expect useful help on this mailing-list, start by respecting the
> people who are here, and that includes observing how their mails are
> formatted and trying to do the same.
>
> --
>   Nicolas George
>
>

-- 
Mario.


Re: How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-20 Thread Mario Marietto
What about if I don't know which kind of information you need ? I'm the
hobbyist,you are the developer. It's better that you ask what you want to
know and I try to reply with my limited knowledge.

On Tue, Jun 20, 2023 at 4:48 PM Stefan Monnier 
wrote:

> > ok,do you have some workaround to propose to me,boys ?
>
> Not before you give more info, no.
>
>
> Stefan
>
>

-- 
Mario.


Re: How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-20 Thread Mario Marietto
ok,do you have some workaround to propose to me,boys ? Thank you.

On Tue, Jun 20, 2023 at 3:18 AM Jeffrey Walton  wrote:

> On Mon, Jun 19, 2023 at 8:48 PM Stefan Monnier 
> wrote:
> >
> > [...]
> > > of=/dev/mmcblk1 status=progress bs=2M but very rarely it wants to
> boot. I
> > > don't understand where the error is. When I insert the sd card into the
> > > slot it beeps and it prepares itself to boot chrome OS from the
> internal
> > > memory,not Linux from the sd card.
> > >
> > > The problem could be systemd or whatever does that,to check and fix
> disk
> >
> > What makes you think so?  The description of the error you give about
> > gives me the impression the Chromebook doesn't even begin to boot the
> > GNU/Linux distribution on your SD card, in which case systemd can't be
> > the culprit.
>
> Yeah, I had a lot of problems with a Chromebook several years ago. I
> think I could get it into Developer Mode, but I could not get it to
> boot to USB. I spent days trying to get it to work. It was a Toshiba
> CB35, if I recall correctly.
>
> I find it best to donate old Chromebooks to a church or other
> non-profit. They are low-end, and they are not worth spending too much
> time on.
>
> Jeff
>
>

-- 
Mario.


How to stop systemd or whatever does,to always tries to check and fix disk errors

2023-06-19 Thread Mario Marietto
Hello.

I would like to upgrade the kernel and I want to enable KVM on my old but
still functional "Samsung Chromebook ARM model XE303C12 SNOW" because later
I want to virtualize FreeBSD with qemu and kvm. I've started following this
tutorial :


*http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/*
<http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/>


As you can see,they used Ubuntu 13.04 as userland. No,I don't want to run
such an old ubuntu version ! Actually my problem is that only 2 times over
10 tries my chromebook is able to boot correctly with the same setup. I've
also completely erased the sd card with sudo dd if=/dev/zero
of=/dev/mmcblk1 status=progress bs=2M but very rarely it wants to boot. I
don't understand where the error is. When I insert the sd card into the
slot it beeps and it prepares itself to boot chrome OS from the internal
memory,not Linux from the sd card.

The problem could be systemd or whatever does that,to check and fix disk
errors because it does not support natively chrome os disk partitions
flags. So it may break those flags after the first boot. So,I want to ask
if there is a method that stops systemd or whatever to check and fix disk
errors. Thanks.

-- 
Mario.


Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
 e2fslibs:armel...
I: Configuring liblz4-1:armel...
I: Configuring debianutils...
I: Configuring libgcrypt20:armel...
I: Configuring libncursesw5:armel...
I: Configuring libdb5.3:armel...
I: Configuring zlib1g:armel...
I: Configuring hostname...
I: Configuring multiarch-support...
I: Configuring mawk...
I: Configuring libpcre3:armel...
I: Configuring base-files...
I: Configuring libselinux1:armel...
I: Configuring findutils...
I: Configuring libacl1:armel...
I: Configuring ncurses-bin...
I: Configuring sed...
I: Configuring libsystemd0:armel...
I: Configuring coreutils...
I: Configuring tar...
I: Configuring libsemanage1:armel...
I: Configuring dpkg...
I: Configuring perl-base...
I: Configuring grep...
I: Configuring debconf...
I: Configuring tzdata...
I: Configuring gzip...
I: Configuring bsdutils...
I: Configuring dash...
I: Configuring init-system-helpers...
I: Configuring libpam0g:armel...
I: Configuring libpam-modules-bin...
I: Configuring bash...
I: Configuring libpam-modules:armel...
I: Configuring libpam-runtime...
I: Configuring passwd...
I: Configuring login...
I: Configuring libuuid1:armel...
I: Configuring libblkid1:armel...
I: Configuring libmount1:armel...
I: Configuring mount...
I: Configuring libfdisk1:armel...
I: Configuring util-linux...
I: Configuring e2fsprogs...
I: Configuring sysvinit-utils...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking adduser...
I: Unpacking libapparmor1:armel...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst2.0:armel...
I: Unpacking libapt-pkg5.0:armel...
I: Unpacking libdns-export162...
I: Unpacking libisc-export160...
I: Unpacking bsdmainutils...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking libcryptsetup4:armel...
I: Unpacking debconf-i18n...
I: Unpacking debian-archive-keyring...
I: Unpacking libelf1:armel...
I: Unpacking libstdc++6:armel...
I: Unpacking libgdbm3:armel...
I: Unpacking libgmp10:armel...
I: Unpacking gnupg...
I: Unpacking gnupg-agent...
I: Unpacking gpgv...
I: Unpacking libgnutls30:armel...
I: Unpacking ifupdown...
I: Unpacking iproute2...
I: Unpacking iptables...
I: Unpacking libip4tc0:armel...
I: Unpacking libip6tc0:armel...
I: Unpacking libiptc0:armel...
I: Unpacking libxtables12:armel...
I: Unpacking iputils-ping...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking kmod...
I: Unpacking libkmod2:armel...
I: Unpacking libassuan0:armel...
I: Unpacking libbsd0:armel...
I: Unpacking libcap2:armel...
I: Unpacking libestr0...
I: Unpacking libfastjson4:armel...
I: Unpacking libffi6:armel...
I: Unpacking libidn11:armel...
I: Unpacking libidn2-0:armel...
I: Unpacking libksba8:armel...
I: Unpacking liblocale-gettext-perl...
I: Unpacking liblogging-stdlog0:armel...
I: Unpacking liblognorm5:armel...
I: Unpacking libmnl0:armel...
I: Unpacking libnetfilter-conntrack3:armel...
I: Unpacking libnfnetlink0:armel...
I: Unpacking libpipeline1:armel...
I: Unpacking libpsl5:armel...
I: Unpacking libseccomp2:armel...
I: Unpacking libtasn1-6:armel...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking libunistring0:armel...
I: Unpacking logrotate...
I: Unpacking dmsetup...
I: Unpacking libdevmapper1.02.1:armel...
I: Unpacking nano...
I: Unpacking libncurses5:armel...
I: Unpacking netbase...
I: Unpacking libhogweed4:armel...
I: Unpacking libnettle6:armel...
I: Unpacking libnewt0.52:armel...
I: Unpacking whiptail...
I: Unpacking libnpth0:armel...
I: Unpacking libssl1.1:armel...
I: Unpacking libssl1.0.2:armel...
I: Unpacking libp11-kit0:armel...
I: Unpacking pinentry-curses...
I: Unpacking libpopt0:armel...
I: Unpacking libprocps6:armel...
I: Unpacking procps...
I: Unpacking libreadline7:armel...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking libslang2:armel...
I: Unpacking libsqlite3-0:armel...
I: Unpacking systemd...
I: Unpacking udev...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking xxd...
I: Unpacking wget...
I: Unpacking libxapian30:armel...
W: Failure while installing base packages. This will be re-attempted up to
five times.
W: See //debootstrap/debootstrap.log for details (possibly the package
archive is at fault)
W: Failure while installing base packages. This will be re-attempted up to
five times.
W: See //debootstrap/debootstrap.log for details (possibly the package
archive is at fault)
W: Failure while installing base packages. This will be re-attempted up to
five times.
W: See //debootstrap/debootstrap.log for details (possibly the package
archive is at fault)
W: Failure while installing base packages. This will be re-attempted up to
five times.
W: See //debootstrap/debootstrap.log for details (possibly the package
archive is at fault)
W: Failure while installing base packages. This will be re-attempted up to
five times.
W: See //debootstrap/debootstrap.log for details (possibly the package
archive is at fau

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
---> Just to be sure: is your Ubuntu (and your system) armhf?

As host I've installed ubuntu 14.04 (for amd64) and I've installed ubuntu
14.04 for arm-hf on the arm chromebook (the variant armel version does not
exist for the 14.04).

---> If not, you'll need something like qemu-user to emulate armhf.

yes,I've fixed the error by using qemu-debootstrap,but I tried to use
debootstrap because qemu-debootstrap gives some errors when I update the
chroot environment.

On Sun, Jun 18, 2023 at 1:01 PM Eduardo M KALINOWSKI <
edua...@kalinowski.com.br> wrote:

> On 18/06/2023 06:02, Mario Marietto wrote:
> > Hello.
> >
> > Maybe a little problem for you,but a bigger problem for me. I've
> > debootstrapped jessie on Ubuntu 14.04 with this command :
> >
> > debootstrap --foreign --arch=armhf jessie jessie-armhf
> > http://archive.debian.org/debian <http://archive.debian.org/debian>
> >
> > and it worked ok,but when I try to chroot within it :
> >
> > root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
>
> > chroot ./jessie-armhf /bin/bash
> >
> >
> > it gives the following error :
> >
> >
> > chroot: can't execute command "/bin/bash": No such file or directory
> >
> >
> > but I see the file bash within the directory /bin of the debootstrapped
> > directory called "jessie-armhf". What could be the problem ? thanks.
>
> Just to be sure: is your Ubuntu (and your system) armhf?
>
> If not, you'll need something like qemu-user to emulate armhf.
>
> (I'd expect I different error message in case of trying to run a binary
> for another architecture, but one never knows...)
>
> --
>Goes (Went) over like a lead balloon.
>
> Eduardo M KALINOWSKI
> edua...@kalinowski.com.br
>
>

-- 
Mario.


chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
Hello.

Maybe a little problem for you,but a bigger problem for me. I've
debootstrapped jessie on Ubuntu 14.04 with this command :

debootstrap --foreign --arch=armhf jessie jessie-armhf
http://archive.debian.org/debian

and it worked ok,but when I try to chroot within it :

root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
chroot ./jessie-armhf /bin/bash


it gives the following error :


chroot: can't execute command "/bin/bash": No such file or directory


but I see the file bash within the directory /bin of the debootstrapped
directory called "jessie-armhf". What could be the problem ? thanks.

-- 
Mario.


Re: how to debootstrap Debian 8 Jessie released 2015-04-25 on Ubuntu 14.04

2023-06-18 Thread Mario Marietto
ok. these works :

debootstrap --foreign --arch=armhf jessie jessie-armhf
http://archive.debian.org/debian

debootstrap --foreign --arch=armhf strech strech-armhf
http://archive.debian.org/debian

but not this :

root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
debootstrap --foreign --arch=armhf buster buster-armhf
http://archive.debian.org/debian

W: Cannot check Release signature; keyring file not available
/usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Release

E: Failed getting release file
http://archive.debian.org/debian/dists/buster/Release

root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros#
debootstrap --foreign --arch=armhf buster buster-armhf

I: Keyring file not available at
/usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
https://mirrors.kernel.org/debian
I: Retrieving Release

E: Failed getting release file
https://mirrors.kernel.org/debian/dists/buster/Release

thanks.

On Sun, Jun 18, 2023 at 10:14 AM Mario Marietto 
wrote:

> Can you elaborate the full command ? thanks.
>
> On Sun, Jun 18, 2023 at 10:12 AM Javier Barroso 
> wrote:
>
>> Hello,
>>
>> El dom., 18 jun. 2023 9:56, Mario Marietto 
>> escribió:
>>
>>> I'm running Ubuntu 14.04 and I would like to debootstrap debian jessie
>>> 8. I've found this tutorial and I tried , but it didn't work :
>>>
>>> from here :
>>>
>>> https://blog.lazy-evaluation.net/posts/linux/debian-armhf-bootstrap.html
>>>
>>>
>>> he says to do :
>>>
>>>
>>> # debootstrap --foreign --arch=armhf jessie jessie-armhf
>>>
>>>
>>> but unfortunately :
>>>
>>>
>>> I: Keyring file not available at
>>> /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
>>> https://mirrors.kernel.org/debian
>>>
>>> I: Retrieving Release
>>>
>>> E: Failed getting release file
>>> https://mirrors.kernel.org/debian/dists/jessie/Release
>>>
>>> how to fix it ? thanks.
>>>
>>> --
>>> Mario.
>>>
>>
>> You need to add http://archive.debian.org/debian yo the debootstrap
>> command
>>
>> Jessie was archived a long time ago
>>
>>>
>
> --
> Mario.
>


-- 
Mario.


Re: how to debootstrap Debian 8 Jessie released 2015-04-25 on Ubuntu 14.04

2023-06-18 Thread Mario Marietto
Can you elaborate the full command ? thanks.

On Sun, Jun 18, 2023 at 10:12 AM Javier Barroso 
wrote:

> Hello,
>
> El dom., 18 jun. 2023 9:56, Mario Marietto 
> escribió:
>
>> I'm running Ubuntu 14.04 and I would like to debootstrap debian jessie 8.
>> I've found this tutorial and I tried , but it didn't work :
>>
>> from here :
>>
>> https://blog.lazy-evaluation.net/posts/linux/debian-armhf-bootstrap.html
>>
>>
>> he says to do :
>>
>>
>> # debootstrap --foreign --arch=armhf jessie jessie-armhf
>>
>>
>> but unfortunately :
>>
>>
>> I: Keyring file not available at
>> /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
>> https://mirrors.kernel.org/debian
>>
>> I: Retrieving Release
>>
>> E: Failed getting release file
>> https://mirrors.kernel.org/debian/dists/jessie/Release
>>
>> how to fix it ? thanks.
>>
>> --
>> Mario.
>>
>
> You need to add http://archive.debian.org/debian yo the debootstrap
> command
>
> Jessie was archived a long time ago
>
>>

-- 
Mario.


how to debootstrap Debian 8 Jessie released 2015-04-25 on Ubuntu 14.04

2023-06-18 Thread Mario Marietto
I'm running Ubuntu 14.04 and I would like to debootstrap debian jessie 8.
I've found this tutorial and I tried , but it didn't work :

from here :

https://blog.lazy-evaluation.net/posts/linux/debian-armhf-bootstrap.html


he says to do :


# debootstrap --foreign --arch=armhf jessie jessie-armhf


but unfortunately :


I: Keyring file not available at
/usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
https://mirrors.kernel.org/debian

I: Retrieving Release

E: Failed getting release file
https://mirrors.kernel.org/debian/dists/jessie/Release

how to fix it ? thanks.

-- 
Mario.


I'm looking for a specific debian armhf / armel release

2023-06-17 Thread Mario Marietto
Hello to every Debian wonderful user.

I've installed Ubuntu 14.04 + kernel 3.13 + kvm on my Samsung Chromebook
ARM "SNOW" model XE303C12. Almost everything works (but not the mouse usb).
My goal is to upgrade Ubuntu (kernel and userland and I want to keep kvm
enabled). I would like to compile and enable kvm on a new kernel,all around
the 5.4 branch and most of all,I want to change Ubuntu to Debian.


This is the tutorial that I'm following :


http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/


As you can see they have used ubuntu 13.04 as host os,but I have used
ubuntu 14.04 because the 13.04 is so old that the repositories are offline.
On Ubuntu 14.04 the default compiler is the 4.8. Below you can see what
happened when I tried to recompile the kernel 5.4.244 using the compiler
4.8 :


root@marietto-Z87-HD3:/home/ziomario/Desktop/linux-5.4.244# ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- make uImage dtbs -j2

scripts/kconfig/conf  --syncconfig Kconfig
  CC  scripts/mod/empty.o
  CC  scripts/mod/devicetable-offsets.s
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CC  kernel/bounds.s
  CALLscripts/atomic/check-atomics.sh
  CC  arch/arm/kernel/asm-offsets.s
arch/arm/kernel/asm-offsets.c:45:2: error: #error Your compiler is too
buggy; it is known to miscompile kernels
 #error Your compiler is too buggy; it is known to miscompile kernels
  ^
arch/arm/kernel/asm-offsets.c:46:2: error: #error and result in
filesystem corruption and oopses.
 #error and result in filesystem corruption and oopses.
  ^
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2

it wants a newer compiler. Now,the point is that the samsung / arm
chromebook does not accept an Ubuntu version greater than 14.04. I've
already tried,but I saw only a lot of errors. So,I've thought : what
happens if I want to use Debian instead of Ubuntu ? What I want to do is to
look for an old Debian version that has the following requisites :

1) should be produced more or less on 2014 (at the time when ubuntu 14.04
has been created

2) it should have a little more recent compiler (more recent of 4.8)

3) the tutorial used "sudo qemu-debootstrap --arch=armel precise
./precise/" ; I don't know if I should use the version armel or armhf

4) for example let's take this debian directory :

https://cdimage.debian.org/cdimage/archive/7.4.0

I expected to find the iso image I need here :

https://cdimage.debian.org/cdimage/archive/7.4.0/armel/list-cd/

but I don't see any iso image file to download. The same on happens on :

https://cdimage.debian.org/cdimage/archive/7.4.0/armhf/list-cd/

where could be the iso image that I could try ? thanks.


-- 
Mario.


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
I remembered it badly. I thought I'd never been able to use kvm on
that old PC, but I've just been able to create a FreeBSD vm
on top of Ubuntu 14.04. Qemu and kvm work wonderfully. Probably some
virtualization features miss on the cpu,but...it works anyway.


On Fri, Jun 2, 2023 at 9:07 PM Stefan Monnier 
wrote:

> > Intel I5 cpu,
>
> Side note: this doesn't say much more than "an amd64 CPU produced by
> Intel in the last 13 years and whose release price was somewhere between
> $200 and $300" :-)
>
> See https://en.wikipedia.org/wiki/List_of_Intel_Core_i5_processors for
> more details.
>
>
> Stefan
>
>

-- 
Mario.


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
 - if bhyve fits your needs, why not run FreeBSD and bhyve?

I use Linux (+ qemu and kvm) and FreeBSD (with bhyve) depending what OS
between these allows me to perform a task faster and better.


- Look at Xen history, you'll see that it started in the mid 2000s.

I like Xen,I've used it for several months,but then I stopped using it
because on Linux I prefer qemu and kvm and on FreeBSD no one is interested
in maintaining Xen anymore. Everyone says that it is superated.


- And then, why not vmm, openBSD's virtual machines ?

I tried it,but I prefer bhyve. It has more functions and above all,the
passthru of my graphic card works on a Linux vm. vmm does not support it.


- But I think xen will run on some older hardware that kvm doesn't.

I think that bhyve is better than xen. So on FreeBSD I use bhyve and on
linux I use qemu+kvm,just because I have a recent hardware. On the old PC I
have installed FreeBSD and I use bhyve.

On Fri, Jun 2, 2023 at 6:54 PM Tim Woodall  wrote:

> On Fri, 2 Jun 2023, Michael Stone wrote:
>
> > On Fri, Jun 02, 2023 at 11:09:36AM +0200, Paul Leiber wrote:
> >> +1 for Xen, AFAIK the standard apt installation doesn't include any
> >> management GUI.
> >>
> >> This is the howto which helped me getting started:
> >>
> >> https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide
> >
> > I don't recommend xen for new projects. It has more pieces and tends to
> be
> > more fragile than qemu+kvm, for no real benefits these days. (IMO)
> >
> >
>
> I'm heavily invested in xen but I'd second this. One of my projects for
> this year is to move to kvm.
>
> But I think xen will run on some older hardware that kvm doesn't
> support.
>
>
>

-- 
Mario.


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
Excuse me,but there is something within your argumentation that I don't
like and I want to express what it is. Let's take Linux as an example of
what I want to say. Linux is well known to be an OS that can be installed
on the old machines,helping the people that can't buy a new computer to
surf the net and to do the basic things that they couldn't do using a more
complete and modern PC built with new hardware components. And this is a
linux quality that everyone loves and one of the reasons why Linux is
growing faster on the market.  I think that everyone likes this,right ?
So,why the same logic can't be applied to those software tools that go in
the same direction,to those tools that help the users to have those
functions that those old computers cannot give to them anymore ? Here it
seems there is a contradiction. You may argue that developing for a small
number of old computers isn't worth trying. But,first of all,I think that
there are a LOT of old PCs in the world,since poor people aren't only a
niche. We could discuss,anyway, how to reach the right amount of money to
pay the developers. I'm thinking of opening a crowdfunding campaign for
example. Or any other method to have the money that I can't imagine now. To
do a project like this is socially accepted and helps to work on the
perception of the users that computer science is something that they can
use to develop their life in a good way. Maybe by helping one of those poor
children,we are contributing to educate someone that in the future will
make great things for humanity. I think that using the old relation that
there is between costs and benefits is not applicable in every kind of
situation. There are already a lot of people who work on projects that they
like,but that they have a low social impact. Why not to work on a project
that aims to extend the functions of an old PC. And what's better than
using two operating systems on a single old pc? My old pc has 2 measly
cpu's, I used one for the host and the other for linux emulated with bhyve
and the performance was decent. Is there something that's more useful and
generous than this kind of project ?


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
ok. Thank you very much for the explanations.

On Fri, Jun 2, 2023 at 3:15 PM Michael Stone  wrote:

> On Fri, Jun 02, 2023 at 03:01:04PM +0200, Mario Marietto wrote:
> >Using qemu is out of discussion,because it is very slow. But as I
> said,bhyve
> >works better than qemu alone.
>
> kvm literally uses qemu as its user space, so it's very much not out of
> the discussion. If you can't use the kvm kernel extensions for
> virtualization, then running under qemu gets you the same userspace
> experience with a performance penalty. bhyve has its own requirements
> for what cpu extensions must be present, and AFAIK can't fall back to a
> non-accelerated mode if they are not, regardless of performance.
> Sometimes you might want VMs to run, even more slowly, than to not run
> at all.
>
> I get that there's some machine that you have that can't run kvm. I have
> no idea why without access to the machine. But that's not a general
> problem, that's a problem with some specific piece of hardware. It's not
> like kvm has exotic requirements--I'm running on some hardware that's
> more than a decade old.
>


-- 
Mario.


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
I mean. I cant use qemu on that I5 cpu because is slow without kvm. Kvm
does not work on that cpu because it is needs some extensions from the cpu
that there arent. Bhyve is the only alternative because it is a mix between
qemu and kvm in terms of speed. So. My question is : how much old cpu there
are that cant run kvm ? I dont think mine is the only one. May be a good
idea is to port bhyve on linux to cover the little needs of the users who
wants a fast hyp on the old cpus. and not,qemu in these cpus is very slow.
is not the solution. I really think there isnt any better alternative than
qemu in these situations. The only one is bhyve
 if someone wants to try the scenarios that im talking about,they will
understand for sure. and maybe they want to start the porting of bhyve on
linux.

Il ven 2 giu 2023, 15:01 Michael Stone  ha scritto:

> On Fri, Jun 02, 2023 at 08:41:44AM +, Victor Sudakov wrote:
> >Interestingly, libvirt claims to support bhyve, I just never felt a
> >need for such sophisticated tools to run just several VMs.
>
> Yes, it sounds like you should just ignore libvirt entirely and just
> install qemu-system-x86 (and not qemu-system-gui). That's a minimal
> system with no gui, you just run qemu from the command line to start
> VMs. If you run with --enable-kvm or --machine accel=kvm, then you're
> using kvm (assuming the kernel module is loaded).
>
> That said, there's a huge convenience factor for libvirt. You may end up
> with libraries you'll never use on the server, but so what? You can
> install virt-manager on a client system and manage with a gui that uses
> ssh in the background, or use virsh on the server. If you find yourself
> needing to do something infrequently, it's much easier to discover it in
> the virt-manager gui than it is to dig through docs on how to do it from
> the qemu command line. (This is, of course, the usual tradeoff between
> text and graphical interfaces.) It's also easier to use
> standard/documented solutions for startup, config, storage, etc, than it
> is to remember what bespoke solution you came up with several years ago
> when something breaks, even if all the abstraction layers of libvirt are
> "less efficient".
>
>


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
Using qemu is out of discussion,because it is very slow. But as I
said,bhyve works better than qemu alone.

On Fri, Jun 2, 2023 at 2:44 PM Michael Stone  wrote:

> On Fri, Jun 02, 2023 at 11:21:45AM +0200, Mario Marietto wrote:
> >wait wait. for sure the option should be enabled on the bios,but bhyve
> works in
> >a different way than kvm,so it works even if my cpu does not have all the
> virt.
> >parameters respected. Infact kvm does not work on that cpu. But how many
> cpus
> >there are like mine ? Does Linux feel to cover the gap of an alternative
> to
> >qemu and kvm ? not sure about xen as an alternative.
>
> kvm is literally the hardware acceleration piece. If your CPU doesn't
> support that, use qemu without kvm and you get exactly the same
> experience (just a bit slower). So "linux" "feels" no need to cover the
> gap, because there isn't one.
>
>

-- 
Mario.


Re: linphone and address books

2023-06-02 Thread Mario Marietto
I forgot to specify that I don't like a telephone so much like I had 20
years ago. I mean,I would like to see a VOIP phone with the form factor of
a smartphone. Sorry if I haven't been very clear.

On Fri, Jun 2, 2023 at 1:57 PM Dan Ritter  wrote:

> Jonas Smedegaard wrote:
> > Quoting Mario Marietto (2023-06-02 10:27:29)
> > > Does anyone know if on the market there is a phisycal phone (made with
> > > hardware components) which allows to place calls and to send sms only
> using
> > > the VOIP technology ? Would be an interesting product to buy and try
> in my
> > > opinion.
> >
> > Yes, so-called "SIP hardphones" exist.  Try a web search for those
> > terms, or if you are lazy you can use this as a starting point:
> > https://www.asteriskguru.com/tutorials/asterisk_hardphone.html
> >
> > An "hard" alternative is to use a so-called "SIP ATA" (Analogue Phone
> > Adapter) to connect a classic old POTS (Plain Old Telephny Standard)
> > phone with a SIP account.
>
> Having used and deployed both of these in significant numbers, I can
> state that SIP ATAs should be avoided unless absolutely necessary. All
> the functionality that people expect is in VOIP phones, and it's hard
> to access anything other than simple calling with the adapters.
>
> Polycom 33[0,5] VOIP phones are well-built, easy to provision for use
> with Asterisk, FreeSwitch and various VOIP companies, and relatively
> cheap as used phones.
>
> -dsr-
>


-- 
Mario.


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
wait wait. for sure the option should be enabled on the bios,but bhyve
works in a different way than kvm,so it works even if my cpu does not have
all the virt. parameters respected. Infact kvm does not work on that cpu.
But how many cpus there are like mine ? Does Linux feel to cover the gap of
an alternative to qemu and kvm ? not sure about xen as an alternative.

Il ven 2 giu 2023, 11:12 Victor Sudakov  ha scritto:

> Andy Smith wrote:
> > Hi Victor,
>
> Hi Andy!
>
> [dd]
> > > Now I see that a supported minimal headless configuration probably
> > > does not exist at all.
> >
> > I don't think that is correct at all, depending on what you mean by
> > "supported". You absolutely will find a guide out there to do what
> > you want, with relative ease I should think.
>
> Yes, I guess the https://wiki.debian.org/KVM seems a good guide and
> even covers the case of a minimal :-) installation.
>
> [dd]
> >
> > I would say that documentation from Ubuntu is likely to be more
> > "enterprisey". The other thing is, if you're coming from a BSD
> > background (you mentioned Bhyve) you probably are a lot more used to
> > there being one way of doing things and that way being thoroughly
> > documented.
>
> That's correct. Though I must admit the FreeBSD Handbook can be
> outdated in places as the project is clearly lacking resources. It is
> still a very good source of knowledge.
>
> > Whereas on Linux there tends to be multiple ways and
> > even the same one can be slightly different on different Linux
> > distributions.
>
> Some Debian documentation is very good too.
> >
> > I am using Xen more at the moment, but I generally wouldn't
> > recommend that to newcomers. I tend to recommend KVM just because
> > there's so many guides for it out there.
>
> I'm currently going to migrate some FreeBSD VMs from bhyve to a linux
> host. I hope KVM will have no problem with their raw disk images.
>
> [dd]
> >
> > I would probably just install qemu-kvm and accept the bloat of a lot
> > of packages that I would never use, use virsh to manage the VMs from
> > command line, and perhaps over time worm out which packages can be
> > safely removed.
>
> OK, thank you, maybe I'll go this route.
>
> --
> Victor Sudakov VAS4-RIPE
> http://vas.tomsk.ru/
> 2:5005/49@fidonet
>


Re: A hypervisor for a headless server?

2023-06-02 Thread Mario Marietto
Hello to everyone. I follow every day the development of bhyve for FreeBSD
and I have even collaborated with some of its developers to add the
functionality of the passing through of one nvidia gpu to a linux guest.
What to say ? that bhyve is a programming gem. Qemu and kvm have more
functionalities but they are even old. Bhyve is a fresh product that is
evolving fast. Qemu + kvm for example don't work on my old PC that has an
Intel I5 cpu,because it does not have all the virtualization requirements.
For the sake of my curiosity I tried bhyve and...it worked. I don't know
why,but I know that it requires less virtualization directives. Some
developers talked about the idea to rewrite it to make it a standalone tool
and I think that's a nice idea. As I think that a cool idea could be to
rewrite its code to port it to Linux. It could be used as a light
hypervisor,for those old machines like mine,that don't have all the
hardware prerogatives needed to run qemu and kvm.

On Fri, Jun 2, 2023 at 10:10 AM  wrote:

> On Fri, Jun 02, 2023 at 08:05:18AM +, Andy Smith wrote:
> > Hello,
>
> [...]
>
> > Most of the time with most packages it's obvious, but I have seen
> > some weird things from time to time! KVM is such a big package that
> > I shy away from just advising --no-install-recommends to those
> > inexperienced with it.
>
> 100% agreed. Whoever deviates from the "recommended" way should be
> prepared (and willing) to learn a few things on the way. Which may
> be a good thing or not :)
>
> Cheers
> --
> t
>


-- 
Mario.


Re: linphone and address books

2023-06-02 Thread Mario Marietto
Does anyone know if on the market there is a phisycal phone (made with
hardware components) which allows to place calls and to send sms only using
the VOIP technology ? Would be an interesting product to buy and try in my
opinion.

On Fri, Jun 2, 2023 at 10:04 AM Rainer Dorsch  wrote:

> Hello,
>
> I am using linphone since quite some time and it works very reliable for
> me.
> One feature I am missing is the import of existing address books (either
> from
> a vcf file, a carddav server or similar). Read only is sufficient for me.
> I see
> in settings, there is an advanced menu, which has an entry address book
> sources. But then it seems I need a plugin for that? Can anybody tell if
> and
> how that works?
>
> Another minor issue I have is that an ongoing call in linphone does not
> prevent KDE to go into suspend mode, if there is no user input.
>
> Alternatively, are there in bookworm alternative SIP clients, which you
> are
> recommending and integrate well with KDE Plasma?
>
> Any hint or advice is welcome.
>
> Many thanks
> Rainer
>
> --
> Rainer Dorsch
> http://bokomoko.de/
>
>
>

-- 
Mario.


Re: Help with Debian for ARM

2023-05-13 Thread Mario Marietto
Errata corrige :

I still have the old "Samsung / Google Nexus 10" tablet. I don't like
Android. Any help to install Debian instead of Android on this device is
appreciated. Thanks.

On Sat, May 13, 2023 at 2:27 PM Mario Marietto 
wrote:

> Hello.
>
> I still have the old "Samsung / Google Nexus 10" tablet. I don't like
> Android. Any help to install Ubuntu instead of Android on this device is
> appreciated. Thanks.
>
> --
> Mario.
>


-- 
Mario.


Help with Debian for ARM

2023-05-13 Thread Mario Marietto
Hello.

I still have the old "Samsung / Google Nexus 10" tablet. I don't like
Android. Any help to install Ubuntu instead of Android on this device is
appreciated. Thanks.

-- 
Mario.


Re: How to enable the audio on the Kinect 1 so that I can talk without having the microphone attached to my mouth...on Debian.

2023-04-04 Thread Mario Marietto
etup#
cat /proc/asound/cards

0 [PCH]: HDA-Intel - HDA Intel PCH
 HDA Intel PCH at 0x8933 irq 159
1 [Device ]: USB-Audio - USB Audio Device
 C-Media Electronics Inc. USB Audio Device at
usb-:00:14.0-3.1.2, full speed
4 [Device_1   ]: USB-Audio - USB Audio Device
 C-Media Electronics Inc. USB Audio Device at
usb-:00:14.0-3.1.3, full speed

:(

On Tue, Apr 4, 2023 at 4:54 PM Mario Marietto 
wrote:

> I have installed the package on Ubuntu 22.04. Same situation that I have
> on Debian 11. It is not recognized as sound device :
>
> root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# lsb_release -a
>
> LSB Version:core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
> Distributor ID: Ubuntu
> Description:Ubuntu 22.04.2 LTS
> Release:22.04
> Codename:   jammy
>
> root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# cat
> /proc/asound/cards
>
> 0 [PCH]: HDA-Intel - HDA Intel PCH
>  HDA Intel PCH at 0x8933 irq 159
> 1 [Device ]: USB-Audio - USB Audio Device
>  C-Media Electronics Inc. USB Audio Device at
> usb-:00:14.0-3.1.2, full speed
> 4 [Device_1   ]: USB-Audio - USB Audio Device
>  C-Media Electronics Inc. USB Audio Device at
> usb-:00:14.0-3.1.3, full speed
>
> On Tue, Apr 4, 2023 at 4:43 PM Mario Marietto 
> wrote:
>
>> I've fixed the issue and I have installed the deb package :
>>
>> root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# dpkg -i
>> hark-kinect_1.2.0.4440_amd64.deb
>>
>> (Lettura del database... 347122 file e directory attualmente installati.)
>> Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
>> Estrazione di hark-kinect (1.2.0.4440) su (1.2.0.4440)...
>> Configurazione di hark-kinect (1.2.0.4440)...
>>
>> This script is going to download the UAC Firmware for the Microsoft
>> Kinect Sensor device from the Microsoft Kinect for Windows SDK:
>> http://kinectforwindows.org/
>>
>> The full license of the SDK can be found at:
>> http://www.kinectforwindows.org/download/EULA.htm
>>
>> --2023-04-04 16:22:19--
>> http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>> Risoluzione di download.microsoft.com (download.microsoft.com)...
>> 23.59.69.117, 2a02:26f0:8d00:686::317f, 2a02:26f0:8d00:691::317f
>> Connessione a download.microsoft.com 
>> (download.microsoft.com)|23.59.69.117|:80...
>> connesso.
>> Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
>> Posizione:
>> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>> [segue]
>> --2023-04-04 16:22:19--
>> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
>> Connessione a download.microsoft.com 
>> (download.microsoft.com)|23.59.69.117|:443...
>> connesso.
>> Richiesta HTTP inviata, in attesa di risposta... 200 OK
>> Lunghezza: 21823488 (21M) [application/octet-stream]
>> Salvataggio in: «KinectSDK-v1.0-beta2-x86.msi»
>>
>> KinectSDK-v1.0-beta2-x86 100%[==>]
>>  20,81M  8,58MB/sin 2,4s
>>
>> 2023-04-04 16:22:21 (8,58 MB/s) - «KinectSDK-v1.0-beta2-x86.msi» salvato
>> [21823488/21823488]
>>
>> 945806927702b2c47c32125ab9a80344
>> 945806927702b2c47c32125ab9a80344
>> Extracting the UAC firmware...
>> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
>> p7zip Version 16.02 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,64 bits,16
>> CPUs Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (906ED),ASM,AES-NI)
>>
>> Scanning the drive for archives:
>> 1 file, 21823488 bytes (21 MiB)
>>
>> Extracting archive: KinectSDK-v1.0-beta2-x86.msi
>> --
>> Path = KinectSDK-v1.0-beta2-x86.msi
>> Type = Compound
>> Physical Size = 21823488
>> Extension = msi
>> Cluster Size = 4096
>> Sector Size = 64
>> 
>> Path = media1.cab
>> Size = 20488022
>> Packed Size = 20488192
>> --
>> Path = media1.cab
>> Type = Cab
>> Physical Size = 20488022
>> Method = MSZip
>> Blocks = 10
>> Volumes = 1
>> Volume Index = 0
>> ID = 0
>>
>> Everything is Ok
>>
>> Files: 4
>> Size:   434176
>> Compressed: 21823488
>>  done.
>> Elaborazione dei trigger per man-db (2.9.4-2)...
>>
>> I don't see errors,but I still don't see the kinect between t

Re: How to enable the audio on the Kinect 1 so that I can talk without having the microphone attached to my mouth...on Debian.

2023-04-04 Thread Mario Marietto
I have installed the package on Ubuntu 22.04. Same situation that I have on
Debian 11. It is not recognized as sound device :

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# lsb_release -a

LSB Version:core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:Ubuntu 22.04.2 LTS
Release:22.04
Codename:   jammy

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/kinect-1-audio# cat
/proc/asound/cards

0 [PCH]: HDA-Intel - HDA Intel PCH
 HDA Intel PCH at 0x8933 irq 159
1 [Device ]: USB-Audio - USB Audio Device
 C-Media Electronics Inc. USB Audio Device at
usb-:00:14.0-3.1.2, full speed
4 [Device_1   ]: USB-Audio - USB Audio Device
 C-Media Electronics Inc. USB Audio Device at
usb-:00:14.0-3.1.3, full speed

On Tue, Apr 4, 2023 at 4:43 PM Mario Marietto 
wrote:

> I've fixed the issue and I have installed the deb package :
>
> root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# dpkg -i
> hark-kinect_1.2.0.4440_amd64.deb
>
> (Lettura del database... 347122 file e directory attualmente installati.)
> Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
> Estrazione di hark-kinect (1.2.0.4440) su (1.2.0.4440)...
> Configurazione di hark-kinect (1.2.0.4440)...
>
> This script is going to download the UAC Firmware for the Microsoft
> Kinect Sensor device from the Microsoft Kinect for Windows SDK:
> http://kinectforwindows.org/
>
> The full license of the SDK can be found at:
> http://www.kinectforwindows.org/download/EULA.htm
>
> --2023-04-04 16:22:19--
> http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
> Risoluzione di download.microsoft.com (download.microsoft.com)...
> 23.59.69.117, 2a02:26f0:8d00:686::317f, 2a02:26f0:8d00:691::317f
> Connessione a download.microsoft.com 
> (download.microsoft.com)|23.59.69.117|:80...
> connesso.
> Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
> Posizione:
> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
> [segue]
> --2023-04-04 16:22:19--
> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
> Connessione a download.microsoft.com 
> (download.microsoft.com)|23.59.69.117|:443...
> connesso.
> Richiesta HTTP inviata, in attesa di risposta... 200 OK
> Lunghezza: 21823488 (21M) [application/octet-stream]
> Salvataggio in: «KinectSDK-v1.0-beta2-x86.msi»
>
> KinectSDK-v1.0-beta2-x86 100%[==>]  20,81M
>  8,58MB/sin 2,4s
>
> 2023-04-04 16:22:21 (8,58 MB/s) - «KinectSDK-v1.0-beta2-x86.msi» salvato
> [21823488/21823488]
>
> 945806927702b2c47c32125ab9a80344
> 945806927702b2c47c32125ab9a80344
> Extracting the UAC firmware...
> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
> p7zip Version 16.02 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,64 bits,16
> CPUs Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (906ED),ASM,AES-NI)
>
> Scanning the drive for archives:
> 1 file, 21823488 bytes (21 MiB)
>
> Extracting archive: KinectSDK-v1.0-beta2-x86.msi
> --
> Path = KinectSDK-v1.0-beta2-x86.msi
> Type = Compound
> Physical Size = 21823488
> Extension = msi
> Cluster Size = 4096
> Sector Size = 64
> 
> Path = media1.cab
> Size = 20488022
> Packed Size = 20488192
> --
> Path = media1.cab
> Type = Cab
> Physical Size = 20488022
> Method = MSZip
> Blocks = 10
> Volumes = 1
> Volume Index = 0
> ID = 0
>
> Everything is Ok
>
> Files: 4
> Size:   434176
> Compressed: 21823488
>  done.
> Elaborazione dei trigger per man-db (2.9.4-2)...
>
> I don't see errors,but I still don't see the kinect between the sounds
> cards :
>
> root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# cat /proc/asound/cards
>
>  0 [Device_1   ]: USB-Audio - USB Audio Device
>   C-Media Electronics Inc. USB Audio Device at
> usb-:00:14.0-3.1.3, full speed
>  1 [Device ]: USB-Audio - USB Audio Device
>   C-Media Electronics Inc. USB Audio Device at
> usb-:00:14.0-3.1.2, full speed
>  2 [PCH]: HDA-Intel - HDA Intel PCH
>   HDA Intel PCH at 0x8933 irq 160
>  3 [NVidia ]: HDA-Intel - HDA NVidia
>   HDA NVidia at 0x8708 irq 17
>  4 [NVidia_1   ]: HDA-Intel - HDA NVidia
>   HDA NVidia at 0x8308 irq 18
>
> What should I do now ?
>
> On Tue, Apr 4, 2023 at 2:13 PM Mario Marietto 
> wrote:
>
>> Seems like they moved them, I found the devs here:
>

Re: How to enable the audio on the Kinect 1 so that I can talk without having the microphone attached to my mouth...on Debian.

2023-04-04 Thread Mario Marietto
I've fixed the issue and I have installed the deb package :

root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# dpkg -i
hark-kinect_1.2.0.4440_amd64.deb

(Lettura del database... 347122 file e directory attualmente installati.)
Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
Estrazione di hark-kinect (1.2.0.4440) su (1.2.0.4440)...
Configurazione di hark-kinect (1.2.0.4440)...

This script is going to download the UAC Firmware for the Microsoft
Kinect Sensor device from the Microsoft Kinect for Windows SDK:
http://kinectforwindows.org/

The full license of the SDK can be found at:
http://www.kinectforwindows.org/download/EULA.htm

--2023-04-04 16:22:19--
http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
Risoluzione di download.microsoft.com (download.microsoft.com)...
23.59.69.117, 2a02:26f0:8d00:686::317f, 2a02:26f0:8d00:691::317f
Connessione a download.microsoft.com
(download.microsoft.com)|23.59.69.117|:80...
connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
Posizione:
https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
[segue]
--2023-04-04 16:22:19--
https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
Connessione a download.microsoft.com
(download.microsoft.com)|23.59.69.117|:443...
connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 21823488 (21M) [application/octet-stream]
Salvataggio in: «KinectSDK-v1.0-beta2-x86.msi»

KinectSDK-v1.0-beta2-x86 100%[==>]  20,81M
 8,58MB/sin 2,4s

2023-04-04 16:22:21 (8,58 MB/s) - «KinectSDK-v1.0-beta2-x86.msi» salvato
[21823488/21823488]

945806927702b2c47c32125ab9a80344
945806927702b2c47c32125ab9a80344
Extracting the UAC firmware...
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,64 bits,16
CPUs Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (906ED),ASM,AES-NI)

Scanning the drive for archives:
1 file, 21823488 bytes (21 MiB)

Extracting archive: KinectSDK-v1.0-beta2-x86.msi
--
Path = KinectSDK-v1.0-beta2-x86.msi
Type = Compound
Physical Size = 21823488
Extension = msi
Cluster Size = 4096
Sector Size = 64

Path = media1.cab
Size = 20488022
Packed Size = 20488192
--
Path = media1.cab
Type = Cab
Physical Size = 20488022
Method = MSZip
Blocks = 10
Volumes = 1
Volume Index = 0
ID = 0

Everything is Ok

Files: 4
Size:   434176
Compressed: 21823488
 done.
Elaborazione dei trigger per man-db (2.9.4-2)...

I don't see errors,but I still don't see the kinect between the sounds
cards :

root@marietto:/mnt/zroot2/zroot2/kinect-1-audio# cat /proc/asound/cards

 0 [Device_1   ]: USB-Audio - USB Audio Device
  C-Media Electronics Inc. USB Audio Device at
usb-:00:14.0-3.1.3, full speed
 1 [Device ]: USB-Audio - USB Audio Device
  C-Media Electronics Inc. USB Audio Device at
usb-:00:14.0-3.1.2, full speed
 2 [PCH]: HDA-Intel - HDA Intel PCH
  HDA Intel PCH at 0x8933 irq 160
 3 [NVidia ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0x8708 irq 17
 4 [NVidia_1   ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0x8308 irq 18

What should I do now ?

On Tue, Apr 4, 2023 at 2:13 PM Mario Marietto 
wrote:

> Seems like they moved them, I found the devs here:
>
> http://archive.hark.jp/harkoldrepos/dists/precise/non-free/binary-amd64/
>
> but It does not work :
>
> marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo dpkg -i
> hark-kinect_1.2.0.4440_amd64.deb
>
> Selezionato il pacchetto hark-kinect non precedentemente selezionato.
> (Lettura del database... 347111 file e directory attualmente installati.)
> Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
> Estrazione di hark-kinect (1.2.0.4440)...
> Configurazione di hark-kinect (1.2.0.4440)...
>
> This script is going to download the UAC Firmware for the Microsoft
> Kinect Sensor device from the Microsoft Kinect for Windows SDK:
> http://kinectforwindows.org/
>
> The full license of the SDK can be found at:
> http://www.kinectforwindows.org/download/EULA.htm
>
> --2023-04-04 14:10:22--
> http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
> Risoluzione di download.microsoft.com (download.microsoft.com)...
> 92.122.248.205, 2a02:26f0:8d00:691::317f, 2a02:26f0:8d00:686::317f
> Connessione a download.microsoft.com 
> (download.microsoft.com)|92.122.248.205|:80...
> connesso.
> Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
> Posizione:
> https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x

Re: How to enable the audio on the Kinect 1 so that I can talk without having the microphone attached to my mouth...on Debian.

2023-04-04 Thread Mario Marietto
Seems like they moved them, I found the devs here:

http://archive.hark.jp/harkoldrepos/dists/precise/non-free/binary-amd64/

but It does not work :

marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo dpkg -i
hark-kinect_1.2.0.4440_amd64.deb

Selezionato il pacchetto hark-kinect non precedentemente selezionato.
(Lettura del database... 347111 file e directory attualmente installati.)
Preparativi per estrarre hark-kinect_1.2.0.4440_amd64.deb...
Estrazione di hark-kinect (1.2.0.4440)...
Configurazione di hark-kinect (1.2.0.4440)...

This script is going to download the UAC Firmware for the Microsoft
Kinect Sensor device from the Microsoft Kinect for Windows SDK:
http://kinectforwindows.org/

The full license of the SDK can be found at:
http://www.kinectforwindows.org/download/EULA.htm

--2023-04-04 14:10:22--
http://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
Risoluzione di download.microsoft.com (download.microsoft.com)...
92.122.248.205, 2a02:26f0:8d00:691::317f, 2a02:26f0:8d00:686::317f
Connessione a download.microsoft.com
(download.microsoft.com)|92.122.248.205|:80...
connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Moved Temporarily
Posizione:
https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
[segue]
--2023-04-04 14:10:22--
https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi
Connessione a download.microsoft.com
(download.microsoft.com)|92.122.248.205|:443...
connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 21823488 (21M) [application/octet-stream]
Salvataggio in: «KinectSDK-v1.0-beta2-x86.msi»

KinectSDK-v1.0-beta2-x86 100%[==>]  20,81M
 8,57MB/sin 2,4s

2023-04-04 14:10:25 (8,57 MB/s) - «KinectSDK-v1.0-beta2-x86.msi» salvato
[21823488/21823488]

kinect_fetch_fw: Invalid hash for file 'KinectSDK-v1.0-beta2-x86.msi'.

==
  Error : Non Download File
  Please Remove & Re-install hark-kinect
  Remove  Command : sudo apt-get remove hark-kinect
  Insatll Command : sudo apt-get hark-kinect
==

dpkg: errore nell'elaborare il pacchetto hark-kinect (--install):
 il sottoprocesso installato pacchetto hark-kinect script post-installation
ha restituito lo stato di errore 1
Elaborazione dei trigger per man-db (2.9.4-2)...
Si sono verificati degli errori nell'elaborazione:
 hark-kinect

On Tue, Apr 4, 2023 at 1:33 PM Mario Marietto 
wrote:

> Hello to everyone,
>
> I would like to enable the audio on my old kinect 1 so that I can talk
> without having the microphone attached to my mouth. I see that in the past
> this could be done installing the package called "hark-kinect",as explained
> here :
>
>
> https://gist.github.com/awesomebytes/924493bcdb358f5e71fdff93c2896730
>
>
> https://github.com/uts-magic-lab/hark_sound_localization/blob/master/pr2_kinect_audio.md
>
>
> I'm using Debian 11 at the moment. The problem is that it seems that it
> does not exist anymore. The repo is the following :
>
>
> deb [arch=amd64 signed-by=/usr/share/keyrings/hark-archive-keyring.asc] 
> http://archive.hark.jp/harkrepos precise non-free
> deb-src [arch=amd64 signed-by=/usr/share/keyrings/hark-archive-keyring.asc] 
> http://archive.hark.jp/harkrepos precise non-free
>
>
> but it does not exists :
>
>
> marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo apt update
>
> Found:1 http://security.debian.org/debian-security bullseye-security InRelease
> Found:2 http://deb.debian.org/debian bullseye InRelease
> Getting of:3 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]
> Found:4 https://linux.teamviewer.com/deb stable InRelease
> Found:5 https://dl.google.com /linux/chrome/deb stable InRelease
> Found:6 https://packages.microsoft.com/repos/edge stable InRelease
> Found:7 https://packages.microsoft.com/debian/11/prod bullseye InRelease
> Ignored:8 http://archive.hark.jp/harkrepos precise InRelease
> Getting of:9 http://archive.hark.jp/harkrepos precise Release [8.157 B]
> Getting of:10 http://archive.hark.jp/harkrepos precise Release.gpg [473 B]
> Getting of:11 http://archive.hark.jp/harkrepos precise/non-free Sources 
> [9.117 B]
> Getting of:12 http://archive.hark.jp/harkrepos precise/non-free amd64 
> Packages [7.427 B]
> Downloaded 69,2 kB in 3s (26,0 kB/s)
> All the packages are updated.
>
>
> marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo apt-get install 
> hark-kinect
> E: can't find package hark-kinect
>
>
> Just in case I can't use this hack,do you know about any alternative
> method ? thanks.
>
> --
> Mario.
>


-- 
Mario.


How to enable the audio on the Kinect 1 so that I can talk without having the microphone attached to my mouth...on Debian.

2023-04-04 Thread Mario Marietto
Hello to everyone,

I would like to enable the audio on my old kinect 1 so that I can talk
without having the microphone attached to my mouth. I see that in the past
this could be done installing the package called "hark-kinect",as explained
here :


https://gist.github.com/awesomebytes/924493bcdb358f5e71fdff93c2896730

https://github.com/uts-magic-lab/hark_sound_localization/blob/master/pr2_kinect_audio.md


I'm using Debian 11 at the moment. The problem is that it seems that it
does not exist anymore. The repo is the following :


deb [arch=amd64
signed-by=/usr/share/keyrings/hark-archive-keyring.asc]
http://archive.hark.jp/harkrepos precise non-free
deb-src [arch=amd64
signed-by=/usr/share/keyrings/hark-archive-keyring.asc]
http://archive.hark.jp/harkrepos precise non-free


but it does not exists :


marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo apt update

Found:1 http://security.debian.org/debian-security bullseye-security InRelease
Found:2 http://deb.debian.org/debian bullseye InRelease
Getting of:3 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]
Found:4 https://linux.teamviewer.com/deb stable InRelease
Found:5 https://dl.google.com /linux/chrome/deb stable InRelease
Found:6 https://packages.microsoft.com/repos/edge stable InRelease
Found:7 https://packages.microsoft.com/debian/11/prod bullseye InRelease
Ignored:8 http://archive.hark.jp/harkrepos precise InRelease
Getting of:9 http://archive.hark.jp/harkrepos precise Release [8.157 B]
Getting of:10 http://archive.hark.jp/harkrepos precise Release.gpg [473 B]
Getting of:11 http://archive.hark.jp/harkrepos precise/non-free
Sources [9.117 B]
Getting of:12 http://archive.hark.jp/harkrepos precise/non-free amd64
Packages [7.427 B]
Downloaded 69,2 kB in 3s (26,0 kB/s)
All the packages are updated.


marietto@marietto:/mnt/zroot2/zroot2/AlexaChatGPT$ sudo apt-get
install hark-kinect
E: can't find package hark-kinect


Just in case I can't use this hack,do you know about any alternative method
? thanks.

-- 
Mario.


Re: /libfreenect/build/wrappers/python/freenect3.c:747:10: fatal error: numpy/arrayobject.h: File or directory not found

2023-04-01 Thread Mario Marietto
Hello.

I have installed these packages on Debian 11 :

freenect/stable,now 1:0.5.3-2 amd64 [installed]
libfreenect-bin/stable,now 1:0.5.3-2 amd64 [installed, automatic]
libfreenect-demos/stable,now 1:0.5.3-2 amd64 [installed]
libfreenect-dev/stable,now 1:0.5.3-2 amd64 [installed]
libfreenect-doc/stable,stable,now 1:0.5.3-2 all [installed, automatic]
libfreenect0.5/stable,now 1:0.5.3-2 amd64 [installed, automatic]

What I really like to do is to choose the kinect xbox 360 as a mic. I find
it very comfortable to talk without having a mic in my mouth. I can use it
to send voice messages to my whatsapp and Telegram friends. I've already
done the same with the kinect 2 that I have attached to my Jetson nano and
it worked. But on the Jetson Nano I have installed Ubuntu 20.04. So,I would
like to know...what's still missing on Debian,after having installed the
packages that you see above ? Because I don't see any Xbox NUI Sensor
Analog Surround 4.0 on the XFCE pulseaudio addon (instead,it is present on
Ubuntu 20.04). Thanks.

On Sun, Apr 2, 2023 at 1:18 AM Kushal Kumaran  wrote:

> On Sat, Apr 01 2023 at 10:42:11 PM, Mario Marietto 
> wrote:
> > Hello.
> >
> > I'm trying to compile libfreenect because I want to use my kinect xbox
> 360
> > on Debian 11. I'm following the tutorial that I've found here :
> >
>
> libfreenect is already packaged in debian.  Is there a reason you're
> building from source?  It seems like quite a complex package to build.
> If you must, consider taking a look at the existing debian packaging for
> hints.
>
> > snipped numpy/cython errors
>
> --
> regards,
> kushal
>
>

-- 
Mario.


/libfreenect/build/wrappers/python/freenect3.c:747:10: fatal error: numpy/arrayobject.h: File or directory not found

2023-04-01 Thread Mario Marietto
Hello.

I'm trying to compile libfreenect because I want to use my kinect xbox 360
on Debian 11. I'm following the tutorial that I've found here :

https://github.com/OpenKinect/libfreenect

here :

https://itsourcecode.com/modulenotfounderror/no-module-named-numpy-core-_multiarray_umath-solved/

here :

https://github.com/lava/matplotlib-cpp/issues/46

this is what I did :


# python3 --versionPython 3.8.10# /usr/bin/python3 --versionPython
3.8.10marietto@marietto:/mnt/zroot2/zroot2/libfreenect/build# sudo
cmake .. -L -DBUILD_PYTHON3=ON -DPython3_EXACTVERSION=3.8.10
-DCYTHON_EXECUTABLE=/usr/bin/cython3 -DBUILD_REDIST_PACKAGE=OFF
-DPYTHON_INCLUDE_DIR=/usr/local/lib/python3.8/dist-packages/numpy/core/include--
Operating system is Linux-- Got System Processor x86_64-- Linux x86_64
Detected-- libfreenect will be installed to /usr/local-- Headers will
be installed to /usr/local/include/libfreenect-- Libraries will be
installed to /usr/local/lib-- Found libusb-1.0:--  - Includes:
/usr/include/libusb-1.0--  - Libraries:
/usr/lib/x86_64-linux-gnu/libusb-1.0.soTraceback (most recent call
last):  File "/usr/local/lib/python3.8/numpy/core/__init__.py", line
23, in from . import multiarray  File
"/usr/local/lib/python3.8/numpy/core/multiarray.py", line 10, in
from . import overrides  File
"/usr/local/lib/python3.8/numpy/core/overrides.py", line 6, in
from numpy.core._multiarray_umath import
(ModuleNotFoundError: No module named
'numpy.core._multiarray_umath'During handling of the above exception,
another exception occurred:Traceback (most recent call last):  File
"", line 1, in   File
"/usr/local/lib/python3.8/numpy/__init__.py", line 141, in 
from . import core  File
"/usr/local/lib/python3.8/numpy/core/__init__.py", line 49, in
raise ImportError(msg)ImportError: IMPORTANT: PLEASE READ
THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!Importing the numpy
C-extensions failed. This error can happen formany reasons, often due
to issues with your setup or how NumPy wasinstalled.We have compiled
some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.htmlPlease
note and check the following:  * The Python version is: Python3.8 from
"/usr/local/bin/python3.8"  * The NumPy version is: "1.24.2"and make
sure that they are the versions you expect.Please carefully study the
documentation linked above for further help.Original error was: No
module named 'numpy.core._multiarray_umath'-- Configuring done
(0.6s)-- Generating done (0.0s)CMake Warning:  Manually-specified
variables were not used by the project:PYTHON_INCLUDE_DIR--
Build files have been written to:
/mnt/zroot2/zroot2/libfreenect/build-- Cache
valuesBUILD_AS3_SERVER:BOOL=OFFBUILD_CPACK_DEB:BOOL=OFFBUILD_CPACK_RPM:BOOL=OFFBUILD_CPACK_TGZ:BOOL=OFFBUILD_CPP:BOOL=ONBUILD_CV:BOOL=OFFBUILD_C_SYNC:BOOL=ONBUILD_EXAMPLES:BOOL=ONBUILD_FAKENECT:BOOL=ONBUILD_OPENNI2_DRIVER:BOOL=OFFBUILD_PYTHON:BOOL=OFFBUILD_PYTHON2:BOOL=OFFBUILD_PYTHON3:BOOL=ONBUILD_REDIST_PACKAGE:BOOL=OFFCMAKE_BUILD_TYPE:STRING=CMAKE_INSTALL_PREFIX:PATH=/usr/localCYTHON_EXECUTABLE:FILEPATH=/usr/bin/cython3LIBUSB_1_INCLUDE_DIR:PATH=/usr/include/libusb-1.0LIBUSB_1_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libusb-1.0.soPython2_EXACTVERSION:STRING=Python3_EXACTVERSION:STRING=3.8.10marietto@marietto:/mnt/zroot2/zroot2/libfreenect/build#
sudo makeAlready have audios.bin[  0%] Built target firmware[ 16%]
Built target freenect[ 32%] Built target freenectstatic[ 35%] Built
target freenect-camtest[ 39%] Built target freenect-wavrecord[ 42%]
Built target freenect-glview[ 46%] Built target freenect-regview[ 50%]
Built target freenect-hiview[ 53%] Built target freenect-chunkview[
57%] Built target freenect-micview[ 60%] Built target freenect_sync[
64%] Built target freenect-regtest[ 67%] Built target
freenect-tiltdemo[ 71%] Built target freenect-glpclview[ 78%] Built
target fakenect[ 83%] Built target fakenect-record[ 87%] Built target
freenect_sync_static[ 91%] Built target freenect-cppview[ 94%] Built
target freenect-cpp_pcview[ 96%] Building C object
wrappers/python/CMakeFiles/cython3_freenect.dir/freenect3.c.o/mnt/zroot2/zroot2/libfreenect/build/wrappers/python/freenect3.c:747:10:
fatal error: numpy/arrayobject.h: File o directory non esistente  747
| #include "numpy/arrayobject.h"  |
^compilation terminated.make[2]: ***
[wrappers/python/CMakeFiles/cython3_freenect.dir/build.make:80:
wrappers/python/CMakeFiles/cython3_freenect.dir/freenect3.c.o] Errore
1make[1]: *** [CMakeFiles/Makefile2:741:
wrappers/python/CMakeFiles/cython3_freenect.dir/all] Errore 2make: ***
[Makefile:136: all] Errore 2

-- 
Mario.


Re: Grub bug on Debian 11

2023-03-14 Thread Mario Marietto
No problem. But without offence,what you are suggesting to me is not to
make something to understand what's the real problem and why it's
happening,but you are suggesting to change something in my configuration to
skip the generation of the error. Do you confirm that you are following
this approach ? I would like to be guided to fix the problem that I have
because this is how I can learn something. I can't learn if I reinstall the
OS using a different debian version,is this correct ?

On Tue, Mar 14, 2023 at 11:02 PM Andrew M.A. Cater 
wrote:

> On Tue, Mar 14, 2023 at 09:23:32PM +0100, Mario Marietto wrote:
> >  --> *Which* Debian .iso did you install with ?
> >
> > debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the
> > version that you have suggested ? I prefer to learn how to upgrade it
> than
> > to make a fresh installation. I would like to learn how to add
> "separately"
> > what's missing on the 11.5 and that,instead,it is on the version that you
> > suggested,the firmware,if I have understood it correctly.
> >
>
> Debian live is less well tested than the standard Debian installer - it
> does things slightly differently. That is also an older version.
> The netinst .iso I suggested above contains firmware - with the next Debian
> major version, firmware should be included in the installer.
> (Bookworm - Debian 12 on release - currently in hard freeze for release
> later
> this year).
>
> The corresponding Debian live with firmware for 11.6 is at
>
>
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-11.6.0-amd64-xfce+nonfree.iso
>
> > --> Did you install a 32 bit version or a 64 bit version ?
> >
> > 64 bit.
> >
> > --> On the physical disk - have you ever tried to install any other
> > operating system ?
> >
> > UEFI. Yes,on one of my previous attempts I have installed Fedora on the
> > same disk. But on the last attempt I've used the whole disk and the
> > automatic partitioning scheme during the reinstallation of Debian,so
> every
> > trace of Fedora should be gone.
> >
>
> I would suggest that you try with the netinst for the main Debian
> installer.
> Other larger media are also available.
>
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/amd64/
> has iso-cd and iso-dvd images, for example.
>
> > ---> You show three variants of the kernel - which one came from the
> > original ISO.
> >
> > 5.10.0-18-amd64
> >
> > Thanks.
> >
>
> Thank you for replying with details that will help us solve your problems
> :)
>
> All the very best, as ever,
>
> Andy Cater
>
>

-- 
Mario.


Re: Grub bug on Debian 11

2023-03-14 Thread Mario Marietto
 --> *Which* Debian .iso did you install with ?

debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the
version that you have suggested ? I prefer to learn how to upgrade it than
to make a fresh installation. I would like to learn how to add "separately"
what's missing on the 11.5 and that,instead,it is on the version that you
suggested,the firmware,if I have understood it correctly.

--> Did you install a 32 bit version or a 64 bit version ?

64 bit.

--> On the physical disk - have you ever tried to install any other
operating system ?

UEFI. Yes,on one of my previous attempts I have installed Fedora on the
same disk. But on the last attempt I've used the whole disk and the
automatic partitioning scheme during the reinstallation of Debian,so every
trace of Fedora should be gone.

---> You show three variants of the kernel - which one came from the
original ISO.

5.10.0-18-amd64

Thanks.


On Tue, Mar 14, 2023 at 8:28 PM Andrew M.A. Cater 
wrote:

> [Copying to the list - private replies are discouraged
>
> On Tue, Mar 14, 2023 at 07:57:35PM +0100, Mario Marietto wrote:
> > Hello to everyone.
> >
> > I'm trying to understand why I'm getting an error message the second time
> > that I boot Debian 11 (the first time after the reinstallation it works).
> > What do I do to produce the error ? Nothing special. I have just
> > re-installed Debian 11 as normal,using qemu/kvm and virt-manager using
> the
> > SATA physical disk as my first experiment and then I've rebooted and I
> > tried to boot it physically. As a second experiment I've reinstalled
> Debian
> > 11 directly and physically on the sata disk. In both cases I get the same
> > error. Below you can see some pictures that you need to watch to
> understand
> > what happens :
> >
> > https://ibb.co/album/S49Wgc
> >
> > I'm groping in the dark. Please help me to debug this error. thanks.
> >
>
> Hi Mario,
>
> *Which* Debian .iso did you install with?
>
> I would recommend one from here which includes firmware:
>
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/
>
> Did you install a 32 bit version or a 64 bit version? Your screenshots
> show an AMD64 version - you're sure that this is the correct one for
> the processor?
> [Almost certainly yes, but just in case ... ]
>
> On the physical disk - have you ever tried to install any other operating
> system?
>
> Finally - UEFI or Legacy/MBR?
>
> You show three variants of the kernel - which one came from the original
> .iso
>
> All the very best, as ever,
>
> Andy Cater
> >
>
> >
> > On Mon, Mar 13, 2023 at 8:48 PM davidson  wrote:
> >
> > > On Mon, 13 Mar 2023 Mario Marietto wrote:
> > > > Hello to every Debian user.
> > > [elided: Mario Marietto's apology for posting the following question
> > > off-topic in another thread]
> > > >
> > > > "I've just installed Debian 11
> > > > and I see that it is affected by the bug
> > > > explained here :
> > > >
> > > > https://bugs.launchpad.net/oem-priority/+bug/1842320
> > > >
> > > > I see that the bug has been fixed on Ubuntu. Do you confirm that,to
> > > > fix it,I just need to install the package
> > > > "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg
> > > > -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I
> > > > just need to do something else ?
> > > [elided: remainder of Mario Marietto's message, expressing gratitude]
> > >
> > > You are asking for trouble if you install ubuntu packages on a debian
> > > system. Do not do that.
> > >
> > > Andrew Cater asked some helpful questions in his reply to your
> > > original query:
> > >
> > >   https://lists.debian.org/msgid-search/za9dq3bcfps7i...@einval.com
> > >
> > > Namely:
> > >
> > > On Mon, 13 Mar 2023 Andrew M.A. Cater wrote:
> > > > Which machine is this - maker?
> > > >
> > > > Can you give more details of _which_ Debian installer you used -
> > > > i386 / amd64?
> > > >
> > > > How recently did you install?
> > > >
> > > > Did the machine fail to boot immediately?
> > >
> > > --
> > > Ce qui est important est rarement urgent
> > > et ce qui est urgent est rarement important
> > > -- Dwight David Eisenhower
> > >
> > >
> >
> > --
> > Mario.
>
>

-- 
Mario.


Re: Grub bug on Debian 11

2023-03-14 Thread Mario Marietto
Hello to everyone.

I'm trying to understand why I'm getting an error message the second time
that I boot Debian 11 (the first time after the reinstallation it works).
What do I do to produce the error ? Nothing special. I have just
re-installed Debian 11 as normal,using qemu/kvm and virt-manager using the
SATA physical disk as my first experiment and then I've rebooted and I
tried to boot it physically. As a second experiment I've reinstalled Debian
11 directly and physically on the sata disk. In both cases I get the same
error. Below you can see some pictures that you need to watch to understand
what happens :

https://ibb.co/album/S49Wgc

I'm groping in the dark. Please help me to debug this error. thanks.



On Mon, Mar 13, 2023 at 8:48 PM davidson  wrote:

> On Mon, 13 Mar 2023 Mario Marietto wrote:
> > Hello to every Debian user.
> [elided: Mario Marietto's apology for posting the following question
> off-topic in another thread]
> >
> > "I've just installed Debian 11
> > and I see that it is affected by the bug
> > explained here :
> >
> > https://bugs.launchpad.net/oem-priority/+bug/1842320
> >
> > I see that the bug has been fixed on Ubuntu. Do you confirm that,to
> > fix it,I just need to install the package
> > "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg
> > -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I
> > just need to do something else ?
> [elided: remainder of Mario Marietto's message, expressing gratitude]
>
> You are asking for trouble if you install ubuntu packages on a debian
> system. Do not do that.
>
> Andrew Cater asked some helpful questions in his reply to your
> original query:
>
>   https://lists.debian.org/msgid-search/za9dq3bcfps7i...@einval.com
>
> Namely:
>
> On Mon, 13 Mar 2023 Andrew M.A. Cater wrote:
> > Which machine is this - maker?
> >
> > Can you give more details of _which_ Debian installer you used -
> > i386 / amd64?
> >
> > How recently did you install?
> >
> > Did the machine fail to boot immediately?
>
> --
> Ce qui est important est rarement urgent
> et ce qui est urgent est rarement important
> -- Dwight David Eisenhower
>
>

-- 
Mario.


Grub bug on Debian 11

2023-03-13 Thread Mario Marietto
Hello to every Debian user.

excuse me if previously I sent this message quoting the wrong user. It was
a mistake. I don't know where that message has gone. It will be lost in the
space. Anyway,I want to send it again in the correct format :

"I've just installed Debian 11 and I see that it is affected by the bug
explained here :

https://bugs.launchpad.net/oem-priority/+bug/1842320

I see that the bug has been fixed on Ubuntu. Do you confirm that,to fix
it,I just need to install the package
"grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg -i
grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I just need
to do something else ?

thanks"
-- 
Mario.


Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Mario Marietto
Hello to every Debian user.

I've just installed Debian 11 and I see that it is affected by the bug
explained here :

https://bugs.launchpad.net/oem-priority/+bug/1842320

I see that the bug has been fixed on Ubuntu. Do you confirm that,to fix
it,I just need to install the package
"grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg -i
grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or I just need to
do something else ? thanks.

On Mon, Mar 13, 2023 at 5:19 PM Charles Curley <
charlescur...@charlescurley.com> wrote:

> On Mon, 13 Mar 2023 14:58:08 +
> Brian  wrote:
>
> > It is what d-i sees the partition as that is important and you
> > do know in advance. That's problem 1. Problem 2 is that the hard
> > disk partitions are probably ext4. At the opening stage of d-i
> > I do not think ext4 drivers are available.
>
> Both partitions are FAT.
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>
>

-- 
Mario.


Re: Debian installer chooses the wrong NVidia driver

2023-02-21 Thread Mario Marietto
its not easy for me,because I have those GPUs on a single system. The OS
that im running is freebsd and I tried to virtualize debian 11 with bhyve
(hypervisor for freebsd). Well,debian accept the 2080 ti and I can use it
within debian guest,but the 1060 does not work. it is not initialized. I
tried to use the 525 for both. I cant use the 390 for both the GPU.

Il mar 21 feb 2023, 23:27 Mario Marietto  ha
scritto:

> its not easy for me,because I have those GPUs on a single system. The OS
> that im running is freebsd and I tried to virtualize debian 11 with bhyve
> (hypervisor for freebsd). Well,debian accept the 2080 ti and I can use it
> within debian guest,but the 1060 does not work. it is not initialized. I
> tried to use the 525 for both. I cant use the 390 for both the GPU.
>
> Il mar 21 feb 2023, 22:57 Georgi Naplatanov  ha scritto:
>
>> On 2/21/23 23:45, Mario Marietto wrote:
>> > If I dont get wrong,nvidia created one single driver which works for
>> > every gpu or almost ? it means that if I install the 525 driver for my
>> > RTX 2080 ti will it work also for my old gpu,GTX 1060 ?
>> >
>>
>> AFIK, NVidia offers different driver generations and my understanding is
>> that package nvidia-detect recommends which driver generation is the
>> best for your video card.
>>
>> Kind regards
>> Georgi
>>
>>


Re: Debian installer chooses the wrong NVidia driver

2023-02-21 Thread Mario Marietto
If I dont get wrong,nvidia created one single driver which works for every
gpu or almost ? it means that if I install the 525 driver for my RTX 2080
ti will it work also for my old gpu,GTX 1060 ?

Il mar 21 feb 2023, 22:28 Georgi Naplatanov  ha scritto:

> On 2/21/23 23:16, Van Snyder wrote:
> > On Tue, 2023-02-21 at 22:41 +0200, Georgi Naplatanov wrote:
> >> On 2/21/23 22:13, Van Snyder wrote:
> >>> I have an NVidia GF108 video card. It works just fine, so I don't see a
> >>> reason to replace it.
> >>>
> >>> It needs the nvidia-legacy-390xx-driver.
> >>>
> >>> But when I installed Debian 11, it chose the 470 driver, which doesn't
> >>> work with GF108.
> >>>
> >>> Maybe that was caused by selecting "install all the drivers" instead of
> >>> "install only the relevant drivers." I thought that meant "download
> them
> >>> all in case you install some new hardware."
> >>>
> >>> Shouldn't the installer install only the drivers for the relevant
> >>> hardware, even if it downloads all of them?
> >>>
> >>> I'm not going to re-install just to do an experiment to see if the
> >>> installer does it right if I tell it to install only the relevant
> >>> drivers.
> >>>
> >>
> >>
> >> Hi!
> >>
> >> It seems that nvidia-legacy-390xx-driver is available in Debian 11
> >> (bullseye). You have just to install it. If you have problems again,
> >> then try to use open source driver for NVidia's cards - Nouveau. it's
> >> installed by default and you have just to uninstall NVidia's proprietary
> >> drivers - nvidia-*.
> >
> > I did install it, but it took me a week to find that that was the
> > problem. I had expected Debian's installer to choose to use the correct
> > driver even if all the drivers it has in its entire achive are
> downloaded.
>
>
> There is a package nvidia-detect
>
> it tells you which driver is appropriate for your NVidia's video card.
>
> Kind regards
> Georgi
>
>


Re: OpenSolaris Boot Environements equivalent

2023-01-24 Thread Mario Marietto
Yassine,if you think that you will not love FreeBSD only because you have
seen your friend put his hands in his hair,you are interpreting the
situation too severely. FreeBSD is a good OS,easier than Linux and which
doesn't have all the unnecessary superstructure that Linux has, but offers
almost all of the same features. And where it doesn't offer them, you can
use bhyve to virtualize linux at all, even in the pass thru of the nvidia /
amd gpus.



Il giorno mar 24 gen 2023 alle ore 15:06 Yassine Chaouche <
a.chaou...@algerian-radio.dz> ha scritto:

> For the time being,
> here are the proposed solutions :
>
> 1. opensuse's snapper
> 2. Guix
> 3. nixos
> 4. Amanda
> 5. Ubuntu with ZoL (ZFS on Linux)
> 6. ZFS boot menu
>
>
> Mario, Anssi, Christoph, David, DdB, Gene, Jeffrey:
> Thank you all for your providing feedback!
>
> Best,
>
> --
> yassine -- sysadm
> +213-779 06 06 23
> http://about.me/ychaouche
> Looking for side gigs.
>
>

-- 
Mario.


Re: OpenSolaris Boot Environements equivalent

2023-01-20 Thread Mario Marietto
I still do not understand why,when I remove files on a ZFS disk using
commands like (rm and rm -r),the left space does not increase,but it
decreases. I would like to know what I can do to free some space if
removing files does not work. And I don't understand why a ZFS disk goes
fast out of space. This does not happen with an UFS disk. From what I've
understood every snapshot created with the ZFS mechanisms contains a full
FreeBSD system. Am I right ? Do you confirm this ? If this is true,ZFS is
too much space consuming and it will explain why the space will end very
fast on the disk. That's not good for sure. Recently I've found a Linux
distro called "NixOS" which uses another method to create snapshots. It is
based on a large use of sim/soft and hard links to backup different
versions of the system libraries. This method is useful when the system is
upgraded. I would like to ask you if you would like to see this kind of
solution also on FreeBSD. I really want to see the zfs boot menu suggested
by Anssi on FreeBSD ! I like it very much ! Do you think it is hard to
implement it there ?

Il giorno ven 20 gen 2023 alle ore 14:03 Anssi Saari  ha scritto:

> Yassine Chaouche  writes:
>
> > Hello all,
> >
> > I was wondering if there was anyone working on an equivalent of
> OpenSolaris BE?
>
> A quick search came up with https://docs.zfsbootmenu.org/, does that fit
> your needs?
>
>

-- 
Mario.


Re: OpenSolaris Boot Environements equivalent

2023-01-19 Thread Mario Marietto
I've tried Open Indiana for some time,but I stopped using it when a
developer told me :

"Using our build machinery brings another level of burden and you'll need
to learn a lot of new things additionally but when using it you can
participate in the project. If we don't find enough volunteers the project
will end sooner or later. At the moment there are very few people working
regularly on updates or fixes. We have many areas where nobody despite me
is doing anything. Multimedia support is one example"

so,no reason for me to be involved in unnecessarily complicated
tasks.FreeBSD is the right choice for me. It is not complicated and it is
tricky enough to be enjoyed. I say this to say also that if I want to learn
how the boot environment works,I will learn it from the FreeBSD world,not
the open indiana world. Anyway, thanks for the suggestion. Do you know if
the boot environments of FreeBSD include a graphical boot menu ? Because
this is the added value that I'm looking for. I would like to skip and save
some time by avoiding some command line tasks.


Il giorno gio 19 gen 2023 alle ore 18:05 Yassine Chaouche <
a.chaou...@algerian-radio.dz> ha scritto:

> Le 1/19/23 à 3:41 PM, Mario Marietto a écrit :
> > The question asked by Yassine is interesting for me. I've been a FreeBSD
> user for some years. After having used Linux for 20 years, I took the
> decision to stop using it a little bit because of some technical
> reasons,mainly tied to the package management. Now that I'm using FreeBSD,I
> don't regret that choice,because the package management of FreeBSD rocks.
> That of some Linux distributions is unnecessarily complicated and
> problematic because of the problem of the unresolved dependencies. The
> question of Yassine is intriguing me a lot,even because I've used nixos for
> some time and I was impressed by that system management and I would ask to
> the freebsd forum if is possible,in some way,to create a menu,like the grub
> one,where the user can choose,before that FreeBSD start booting,which zfs
> snapshot they want to use.
>
> Mario,
>
> I have been introduced to Boot Environments when I was exploring
> openindiana about a year and a half ago.
> It's one of the forks of Solaris based on OpenSolaris (and the illumos
> kernel).
>
> You might find this discussion interesting as it mentions how all of that
> is done automatically in that OS:
>
> https://www.mail-archive.com/openindiana-discuss@openindiana.org/msg25345.html
>
> Best,
> --
> yassine -- sysadm
> +213-779 06 06 23
> http://about.me/ychaouche
> Looking for side gigs.
>
>

-- 
Mario.


Re: OpenSolaris Boot Environements equivalent

2023-01-19 Thread Mario Marietto
The question asked by Yassine is interesting for me. I've been a FreeBSD
user for some years. After having used Linux for 20 years, I took the
decision to stop using it a little bit because of some technical
reasons,mainly tied to the package management. Now that I'm using FreeBSD,I
don't regret that choice,because the package management of FreeBSD rocks.
That of some Linux distributions is unnecessarily complicated and
problematic because of the problem of the unresolved dependencies. The
question of Yassine is intriguing me a lot,even because I've used nixos for
some time and I was impressed by that system management and I would ask to
the freebsd forum if is possible,in some way,to create a menu,like the grub
one,where the user can choose,before that FreeBSD start booting,which zfs
snapshot they want to use.



Il giorno gio 19 gen 2023 alle ore 12:28 Yassine Chaouche <
a.chaou...@algerian-radio.dz> ha scritto:

> Hello all,
>
> I was wondering if there was anyone working on an equivalent of
> OpenSolaris BE?
> Basically,
> It automatically creates ZFS snapshots of the whole system each time you
> do a system upgrade.
> Next time you boot,
> you'll have the choice of running the new system
> or the old one.
> Pretty handy to roll back in case anything goes wrong during the system
> update.
>
> If nothing like it is avaiable for linux,
> what would be the necessary steps to achieve something similar?
> (even manually)
>
> Best,
>
> --
> yassine -- sysadm
> GSM/Viber: +213-779 06 06 23
> http://about.me/ychaouche
> Looking for side gigs.
>
>

-- 
Mario.


Re: OpenSolaris Boot Environements equivalent

2023-01-19 Thread Mario Marietto
Hello Yassine,

I think you want nixos.org.

Il giorno gio 19 gen 2023 alle ore 12:28 Yassine Chaouche <
a.chaou...@algerian-radio.dz> ha scritto:

> Hello all,
>
> I was wondering if there was anyone working on an equivalent of
> OpenSolaris BE?
> Basically,
> It automatically creates ZFS snapshots of the whole system each time you
> do a system upgrade.
> Next time you boot,
> you'll have the choice of running the new system
> or the old one.
> Pretty handy to roll back in case anything goes wrong during the system
> update.
>
> If nothing like it is avaiable for linux,
> what would be the necessary steps to achieve something similar?
> (even manually)
>
> Best,
>
> --
> yassine -- sysadm
> GSM/Viber: +213-779 06 06 23
> http://about.me/ychaouche
> Looking for side gigs.
>
>

-- 
Mario.


Re: just saying

2022-11-25 Thread Mario Marietto
Why not ? Think about this : you can put the malicious code where there is
the lowest chance for someone to look. A lot of eyes are pointed at the
closed source,because there are less eyes that can look inside there (at
least less eyes than the eyes which look on the source code) and for this
reason the chance to hide it is high. But even the contrary can be true :
everyone knows that there are a lot of eyes which look inside the source
code and this can be the reason for someone to think that no one will look
if he/she thinks that there are a lot of eyes that look :D At the end,the
question is : are we sure that a lot of eyes look in some sections of the
open source code ? Everyone says that this happens for sure,but is this
really true ? Maybe a lot of eyes are pointed in some portions of the
code,but is it valid for every section of it ? I don't know if I managed to
make myself understood, because mine is an attempt to make a
counter-intuitive speech,since I've understood that the counterintuitive
speeches are often interesting.

Il giorno ven 25 nov 2022 alle ore 12:15 Joe  ha
scritto:

> On Thu, 24 Nov 2022 16:05:31 -0500
> Jeremy Hendricks  wrote:
>
> > I have no idea what you mean. It’s open source and you can analyze
> > the code line by line.
> >
> You can analyse the *source* code. The machine code it allegedly
> produces cannot be analysed any more easily than can closed-source
> software. Assembler maps one-to-one to machine code, statements in a
> compiled language do not come close to that.
>
> Ken Thompson showed how it's done nearly forty years ago:
>
>
> https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf
>
> "You can't trust code that you did not totally create yourself.
> (Especially code from companies that employ people like me.) No
> amount of source-level verification or scrutiny will protect you
> from using untrusted code."
>
> I personally would expect every serious compiler in the world to have
> been corrupted by one government or another. If something nefarious can
> technically be done, a government will do it without a second thought.
>
> Look at it this way: would the CIA/FBI/MI5/etc. allow the use of Linux
> to put people beyond their surveillance?
>
> --
> Joe
>
>

-- 
Mario.


Fwd: just saying

2022-11-24 Thread Mario Marietto
Its not totally wrong to think that the software do what it wants to do
even if you dont want. A software is a piece of code that respect the
directives of the creator, so its easy that it did what he wants and not
what you want. At least partially.

-- Forwarded message -
Da: Andy Smith 
Date: ven 25 nov 2022, 01:28
Subject: Re: just saying
To: 


Hello,

On Thu, Nov 24, 2022 at 09:03:00PM +, mick.crane wrote:
> I love open source, more than you might think, but I have a niggling
feeling
> it's been infiltrated to make user control difficult.
> If I was a spook it's what I'd do.
> Please prove me wrong.

Conspiracy theories aren't falsifiable so there is no way to prove you
wrong. We can come up with rational arguments as to why any such
conspiracy is unlikely, but if you want to believe it you'll find a way.

I think the most obvious counter-argument is that it would be a waste of
effort and human assets to put exploits in open source software where
they stand a good chance of being found, while there is so much closed
source software (firmware, drivers, agents, …) and similar targets that
can be used instead. If you have a developer (or a whole corporation) in
your pocket, why do you want to burn them by having them put something
malicious in an open source project?

Frankly, this whole "the software is designed to take away my control
and must be made that way by the concerted effort of dark forces!" thing
sounds lke a thinly-veiled reference to one of Gene's favourite rants.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Re: just saying

2022-11-24 Thread Mario Marietto
Everytime I say to someone That are skilled I always get the same reply. Im
not. So what ? there arent skilled people all around anymore ? there are
many. but likely they dont want to be called like this. Most of the times
there isnt a large numbers of choices when the time to chose a job is came.
Often it seems that something make the choice for you. And this choice can
be different from what you would like to do. You cant really ignore that
kind of calling. I think the bigger earning comes for example from the
programmers that are close to linus,they can modify the linux source code,
they work for big companies,they make the best earnings. A lot of linux
users dont earn well. In theory the open source code gives an opportunity
that the closed source does not give,but pratically this opportunity is
reserved for a very small number of programmers that will earn few money. I
suspect that you didnt understood what I mean with "socialyze' ; please
read again.

Il ven 25 nov 2022, 01:05 David  ha scritto:

>
>
> On Fri, Nov 25, 2022 at 00:51, Mario Marietto 
> wrote:
>
> you missed the fact that Im not Talking about you or about the users that
> are very skilled. I use linux from the '90s and I never used one of the
> tools you are using. But im not a total newbie. So,think About how many
> categories of users can use linux without to have a good understanding
> about what they are doing. Can they understand what part of the source code
> does what ? open source code is not tailored for the majority of the linux
> users. The real advantage is for the skilled programmers. So,this also
> means that concepts like freedom and openess and security still sounds
> good,but they can be implemented by the majority. This also mean that ok a
> lot of users can use linux for free,but they have no access to the most
> opportunities in terms of earnings. Infact I suspect that only few skilled
> people can change the source code and commit the changes and only these
> persons earns a lot of money. An interesting idea could be to socialize the
> source code of linux with its applications. I mean,to create a method that
> hellp every person with medium intellectual abilities to understand what
> the souce code does to propose a bigger amount of changes. In this way
> linux and the tools can grow in quality and quantity.
>
>
> I'm not missing anything.
> I am pointing out that I'm not skilled, other than a modest ability with
> LaTeX.
> If people want to become familiar with things on the code level, they have
> that opportunity.
> If they don't, they're going to have to depend on the abilities of those
> who have, aren't they.
> We all have our priorities, but at least with open source, the opportunity
> is there.
> Please show me where that facility is available with closed source code.
> And, the vast majority of open source developers are not `earning big
> money'.
> They do it for the broader spectrum definition of wealth. And if you don't
> think that the source code is socialised, I think you need to look at your
> definitions.
> I can't think of any other asset, off the top of my head which is
> socialised to the same degree.
> The code is the medium by way in which open source tools grow'.
> It's not a paint by numbers scenario.
> You are either prepared to learn the language or you are not.
> No return without investment.
> Cheers!
>
>
> Il ven 25 nov 2022, 00:16 David  ha scritto:
>
>>
>>
>> On Fri, Nov 25, 2022 at 00:01, Mario Marietto 
>> wrote:
>>
>> For most users it makes no real difference using closed or open source
>> code,because yes,they can look inside the code,but to understand what the
>> code does they need a master degree. So,for all these users,maybe it's a
>> better idea to use the closed source OS,at least they will be able to use
>> the OS in a more functional way. For sure someone else will work to find
>> the backdoors,but again : a newbie will not be able to understand if a
>> backdoor has been found or if their os is patched. They can only trust what
>> the programmers say. At this point a psychological attitude is needed to
>> gain the real advantage of the open source code : to believe in the good
>> faith of the "good" programmers,but ehy,even this can be hard for someone.
>>
>>
>> I use Debian, with LaTeX to supply templates for all my communication
>> needs, a good email programme in Geary which isn't any more than it needs
>> to be, a couple of browsers in Firefox and Falkon, and Gnumeric and
>> Calligra Words in case somebody who isn't au fait with the situation sends
>> me a Windows doc or Excel file.
>> In other words, I operate the OS in `a fully functional' way and haven't
>> needed any other OS since I switched when XP first came out, over two
>> decades ago.
>> I couldn't read a line of C to save myself.
>> Perhaps you are missing something?
>> Cheers!
>>
>


Re: just saying

2022-11-24 Thread Mario Marietto
you missed the fact that Im not Talking about you or about the users that
are very skilled. I use linux from the '90s and I never used one of the
tools you are using. But im not a total newbie. So,think About how many
categories of users can use linux without to have a good understanding
about what they are doing. Can they understand what part of the source code
does what ? open source code is not tailored for the majority of the linux
users. The real advantage is for the skilled programmers. So,this also
means that concepts like freedom and openess and security still sounds
good,but they can be implemented by the majority. This also mean that ok a
lot of users can use linux for free,but they have no access to the most
opportunities in terms of earnings. Infact I suspect that only few skilled
people can change the source code and commit the changes and only these
persons earns a lot of money. An interesting idea could be to socialize the
source code of linux with its applications. I mean,to create a method that
hellp every person with medium intellectual abilities to understand what
the souce code does to propose a bigger amount of changes. In this way
linux and the tools can grow in quality and quantity.

Il ven 25 nov 2022, 00:16 David  ha scritto:

>
>
> On Fri, Nov 25, 2022 at 00:01, Mario Marietto 
> wrote:
>
> For most users it makes no real difference using closed or open source
> code,because yes,they can look inside the code,but to understand what the
> code does they need a master degree. So,for all these users,maybe it's a
> better idea to use the closed source OS,at least they will be able to use
> the OS in a more functional way. For sure someone else will work to find
> the backdoors,but again : a newbie will not be able to understand if a
> backdoor has been found or if their os is patched. They can only trust what
> the programmers say. At this point a psychological attitude is needed to
> gain the real advantage of the open source code : to believe in the good
> faith of the "good" programmers,but ehy,even this can be hard for someone.
>
>
> I use Debian, with LaTeX to supply templates for all my communication
> needs, a good email programme in Geary which isn't any more than it needs
> to be, a couple of browsers in Firefox and Falkon, and Gnumeric and
> Calligra Words in case somebody who isn't au fait with the situation sends
> me a Windows doc or Excel file.
> In other words, I operate the OS in `a fully functional' way and haven't
> needed any other OS since I switched when XP first came out, over two
> decades ago.
> I couldn't read a line of C to save myself.
> Perhaps you are missing something?
> Cheers!
>


Re: just saying

2022-11-24 Thread Mario Marietto
For most users it makes no real difference using closed or open source
code,because yes,they can look inside the code,but to understand what the
code does they need a master degree. So,for all these users,maybe it's a
better idea to use the closed source OS,at least they will be able to use
the OS in a more functional way. For sure someone else will work to find
the backdoors,but again : a newbie will not be able to understand if a
backdoor has been found or if their os is patched. They can only trust what
the programmers say. At this point a psychological attitude is needed to
gain the real advantage of the open source code : to believe in the good
faith of the "good" programmers,but ehy,even this can be hard for someone.

Il giorno gio 24 nov 2022 alle ore 23:43 Peter von Kaehne 
ha scritto:

>
> >
> > Even if you have it can be very hard to find carefully constructed back
> doors.
>
> Shrug.. as opposed to installing closed source programmes where you know
> you are spied upon ? Which may of course have back doors but thanks tk
> being closed you I’ll not even learn about?
>
>
>
>
>
>
> >
> > Some code has been carefully looked at but most has not.
> >
> >>> On Thu, Nov 24, 2022 at 4:03 PM mick.crane 
> wrote:
> >>>
> >>> I love open source, more than you might think, but I have a niggling
> >>> feeling it's been infiltrated to make user control difficult.
> >>> If I was a spook it's what I'd do.
> >>> Please prove me wrong.
> >>> mick
> >>>
> >>>
> >
> > --
> > Alain Williams
> > Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer,
> IT Lecturer.
> > +44 (0) 787 668 0256  https://www.phcomp.co.uk/
> > Parliament Hill Computers Ltd. Registration Information:
> https://www.phcomp.co.uk/Contact.html
> > #include 
> >
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
Point is : how many chances have the ravynos to enable the compatibility
with the apples apps ? from a technical and Legal point of view,I mean.

Il mar 22 nov 2022, 21:44 mick.crane  ha scritto:

> On 2022-11-21 20:03, Kamil Jońca wrote:
> > Tom Browder  writes:
> >
> >> I'm going to try to run Win 10 as a VM on my new Deb box following
> >> instructions I've received on this list.
> >>
> >> Has anyone been able to run a recent version of MacOS as a VM?
> >>
> >
> > Apart technical issues, there is licence which AFAIK forbids run MacOS
> > on non-Apple hardware (regardless if it is bare metal or VM). The only
> > exception is (was?) emacos server.
> >
> > Please correct me if I am wrong.
> > KJ
>
> Apple business is selling cool hardware. obvs they don't want their
> software on other hardware.
> mick
>
>


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
The ravynOS developers should know about the existence of basilisk II. They
could give a look under the hood to understand how to implement the
compatibility for the Apple's applications :D

Il giorno mar 22 nov 2022 alle ore 20:04 Cindy Sue Causey <
butterflyby...@gmail.com> ha scritto:

> On 11/22/22, Miles Fidelman  wrote:
> > Well... that would basically be MacOS, or a GUI that looks like MacOS
> > running on another BSD.
>
> Apologies, am not totally following this thread, but this post popped
> up just now. What about...
>
> apt-cache search bsd emulator
>
> That was a very short query. It brought up basilisk2..
>
> Description:
>
> "Basilisk II is an Open Source 68k Macintosh emulator. That is, it enables
>  you to run 68k MacOS software on you computer, even if you are using a
>  different operating system. However, you still need a copy of MacOS and
>  a Macintosh ROM image to use Basilisk II."
>
> Only knew to try that because I tripped over similar for Android. You
> still have to have some of "their" software to work on top of that,
> but maybe it at least points toward something else similar with better
> possibilities.
>
> Cindy :)
> --
> Talking Rock, Pickens County, Georgia, USA
> * runs with birdseed *
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
Can I run macOS apps on ravynOS?

No - not yet. This is a major goal and we're working towards it. So far,
some trivial "Hello World" binaries in C and Objective-C have been compiled
on macOS Big Sur and the resulting Mach-O binaries ran on ravynOS using our
in-dev Hybrid linker without any Frameworks or tools from macOS. Source
code of some simple Cocoa AppKit-based applications have been built on
ravynOS and run as native applications (e.g. Install ravynOS.app). While
this is all very exciting, you will have to wait a bit longer to run
Photoshop or Xcode.

Il giorno mar 22 nov 2022 alle ore 19:26 Andrew M.A. Cater <
amaca...@einval.com> ha scritto:

> On Tue, Nov 22, 2022 at 07:09:32PM +0100, Mario Marietto wrote:
> > I've found it : https://airyx.org/
> >
>
> Which has just decided to write a new GUI for itself - because it can.
> Without using a pre-existing GUI. Oh, and it's renamed itself.
>
> > Il giorno mar 22 nov 2022 alle ore 19:06 Mario Marietto <
> > marietto2...@gmail.com> ha scritto:
> >
> > > There is a fresh project, a couple of years old and in development,
> about
> > > a linux distro,if I remember correctly,or maybe it is based on
> BSD,with the
> > > goal to run the apple's software and it has the graphical interface
> which
> > > looks the same as the MacOSX. Does anyone remember the name ? The
> advantage
> > > is to not infringe any apple's copyright for sure. I'm not sure but if
> the
> > > system is different from the MacOSX but it offers the advantage to run
> the
> > > original apple's tools,is this a copyright infringement ?
> > >
>
> If it looks sufficiently like MacOSX - it infringes Apple's copyright.
> Apple
> have had cases based on button shape before now - and they have attack dog
> lawyers. Various other Linux distros have produced something that looks a
> litle like MacOS - if it gets too similar, Apple get *very* twitchy.
>
> > > Il giorno mar 22 nov 2022 alle ore 18:52 Miles Fidelman <
> > > mfidel...@meetinghouse.net> ha scritto:
> > >
> > >> Well... that would basically be MacOS, or a GUI that looks like MacOS
> > >> running on another BSD.
> > >>
> > >>
> > >>
> > >> Mario Marietto wrote:
> > >>
> > >> How difficult will it be to create a BSD system with the look and
> feel of
> > >> the MacOSX ? I mean,not only based on aesthetics,but more
> structural,but
> > >> not so much structural to incite the apple's lawyers.
> > >>
>
> See above: it's not straightforward. At the point when you want to do this,
> you might as well be running a straight copy of BSD - and in every
> likelihood,
> it will never run Mac applications.
>
> > >> Il giorno mar 22 nov 2022 alle ore 17:41 Jeffrey Walton <
> > >> noloa...@gmail.com> ha scritto:
> > >>
> > >>> On Tue, Nov 22, 2022 at 11:10 AM Mario Marietto <
> marietto2...@gmail.com>
> > >>> wrote:
> > >>> >
> > >>> > How much FreeBSD code is inside the MacOSX code today ?
> > >>>
> > >>> That's a good question. The Darwin kernel is XNU. But a lot of
> > >>> userland code is BSD. In fact, a lot of Apple's man pages say (or
> used
> > >>> to say) they are for BSD. See attached for the codesign man page.
> > >>>
> > >>> I remember around the time that Apple adopted the Mach kernel. They
> > >>> finally got a memory manager! No more "It's not my fault" and error
> > >>> code 8 (iirc). I am kind of surprised I can't find a YouTube video
> > >>> with an old Mac saying it...
> > >>>
> > >>> Also
> > >>>
> https://www.reddit.com/r/BSD/comments/1mix5h/id_like_the_differences_in_darwin_and_freebsd/
> > >>> and see https://github.com/apple/darwin-xnu .
> > >>>
> > >>> Jeff
> > >>>
> > >>
> > >>
>
> With every good wish, as ever,
>
> Andy Cater
> > >> --
> > >> Mario.
> > >>
> > >>
> > >>
> > >> --
> > >> In theory, there is no difference between theory and practice.
> > >> In practice, there is.   Yogi Berra
> > >>
> > >> Theory is when you know everything but nothing works.
> > >> Practice is when everything works but no one knows why.
> > >> In our lab, theory and practice are combined:
> > >> nothing works and no one knows why.  ... unknown
> > >>
> > >>
> > >
> > > --
> > > Mario.
> > >
> >
> >
> > --
> > Mario.
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
I've found it : https://airyx.org/

Il giorno mar 22 nov 2022 alle ore 19:06 Mario Marietto <
marietto2...@gmail.com> ha scritto:

> There is a fresh project, a couple of years old and in development, about
> a linux distro,if I remember correctly,or maybe it is based on BSD,with the
> goal to run the apple's software and it has the graphical interface which
> looks the same as the MacOSX. Does anyone remember the name ? The advantage
> is to not infringe any apple's copyright for sure. I'm not sure but if the
> system is different from the MacOSX but it offers the advantage to run the
> original apple's tools,is this a copyright infringement ?
>
> Il giorno mar 22 nov 2022 alle ore 18:52 Miles Fidelman <
> mfidel...@meetinghouse.net> ha scritto:
>
>> Well... that would basically be MacOS, or a GUI that looks like MacOS
>> running on another BSD.
>>
>>
>>
>> Mario Marietto wrote:
>>
>> How difficult will it be to create a BSD system with the look and feel of
>> the MacOSX ? I mean,not only based on aesthetics,but more structural,but
>> not so much structural to incite the apple's lawyers.
>>
>> Il giorno mar 22 nov 2022 alle ore 17:41 Jeffrey Walton <
>> noloa...@gmail.com> ha scritto:
>>
>>> On Tue, Nov 22, 2022 at 11:10 AM Mario Marietto 
>>> wrote:
>>> >
>>> > How much FreeBSD code is inside the MacOSX code today ?
>>>
>>> That's a good question. The Darwin kernel is XNU. But a lot of
>>> userland code is BSD. In fact, a lot of Apple's man pages say (or used
>>> to say) they are for BSD. See attached for the codesign man page.
>>>
>>> I remember around the time that Apple adopted the Mach kernel. They
>>> finally got a memory manager! No more "It's not my fault" and error
>>> code 8 (iirc). I am kind of surprised I can't find a YouTube video
>>> with an old Mac saying it...
>>>
>>> Also
>>> https://www.reddit.com/r/BSD/comments/1mix5h/id_like_the_differences_in_darwin_and_freebsd/
>>> and see https://github.com/apple/darwin-xnu .
>>>
>>> Jeff
>>>
>>
>>
>> --
>> Mario.
>>
>>
>>
>> --
>> In theory, there is no difference between theory and practice.
>> In practice, there is.   Yogi Berra
>>
>> Theory is when you know everything but nothing works.
>> Practice is when everything works but no one knows why.
>> In our lab, theory and practice are combined:
>> nothing works and no one knows why.  ... unknown
>>
>>
>
> --
> Mario.
>


-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
There is a fresh project, a couple of years old and in development, about a
linux distro,if I remember correctly,or maybe it is based on BSD,with the
goal to run the apple's software and it has the graphical interface which
looks the same as the MacOSX. Does anyone remember the name ? The advantage
is to not infringe any apple's copyright for sure. I'm not sure but if the
system is different from the MacOSX but it offers the advantage to run the
original apple's tools,is this a copyright infringement ?

Il giorno mar 22 nov 2022 alle ore 18:52 Miles Fidelman <
mfidel...@meetinghouse.net> ha scritto:

> Well... that would basically be MacOS, or a GUI that looks like MacOS
> running on another BSD.
>
>
>
> Mario Marietto wrote:
>
> How difficult will it be to create a BSD system with the look and feel of
> the MacOSX ? I mean,not only based on aesthetics,but more structural,but
> not so much structural to incite the apple's lawyers.
>
> Il giorno mar 22 nov 2022 alle ore 17:41 Jeffrey Walton <
> noloa...@gmail.com> ha scritto:
>
>> On Tue, Nov 22, 2022 at 11:10 AM Mario Marietto 
>> wrote:
>> >
>> > How much FreeBSD code is inside the MacOSX code today ?
>>
>> That's a good question. The Darwin kernel is XNU. But a lot of
>> userland code is BSD. In fact, a lot of Apple's man pages say (or used
>> to say) they are for BSD. See attached for the codesign man page.
>>
>> I remember around the time that Apple adopted the Mach kernel. They
>> finally got a memory manager! No more "It's not my fault" and error
>> code 8 (iirc). I am kind of surprised I can't find a YouTube video
>> with an old Mac saying it...
>>
>> Also
>> https://www.reddit.com/r/BSD/comments/1mix5h/id_like_the_differences_in_darwin_and_freebsd/
>> and see https://github.com/apple/darwin-xnu .
>>
>> Jeff
>>
>
>
> --
> Mario.
>
>
>
> --
> In theory, there is no difference between theory and practice.
> In practice, there is.   Yogi Berra
>
> Theory is when you know everything but nothing works.
> Practice is when everything works but no one knows why.
> In our lab, theory and practice are combined:
> nothing works and no one knows why.  ... unknown
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
How difficult will it be to create a BSD system with the look and feel of
the MacOSX ? I mean,not only based on aesthetics,but more structural,but
not so much structural to incite the apple's lawyers.

Il giorno mar 22 nov 2022 alle ore 17:41 Jeffrey Walton 
ha scritto:

> On Tue, Nov 22, 2022 at 11:10 AM Mario Marietto 
> wrote:
> >
> > How much FreeBSD code is inside the MacOSX code today ?
>
> That's a good question. The Darwin kernel is XNU. But a lot of
> userland code is BSD. In fact, a lot of Apple's man pages say (or used
> to say) they are for BSD. See attached for the codesign man page.
>
> I remember around the time that Apple adopted the Mach kernel. They
> finally got a memory manager! No more "It's not my fault" and error
> code 8 (iirc). I am kind of surprised I can't find a YouTube video
> with an old Mac saying it...
>
> Also
> https://www.reddit.com/r/BSD/comments/1mix5h/id_like_the_differences_in_darwin_and_freebsd/
> and see https://github.com/apple/darwin-xnu .
>
> Jeff
>


-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
How much FreeBSD code is inside the MacOSX code today ?

Il giorno mar 22 nov 2022 alle ore 16:49 Martin Smith <
t...@smithproductions.co.uk> ha scritto:

> On 22/11/2022 13:44, hede wrote:
> >
> >>> Whilst I had mistakenly believed that CentOS was a freeware, open
> source
> >>> kind of MacOS clone,
> >
> > CentOS was derived from Red Hat Enterprise Linux and was mostly
> > compatible to RHEL.
> > "May God rest its soul."
> >
> >>> and found that it is not, when I searched for it, I
> >>> had understood that a freeware, open source kind of MacOS kind of
> clone,
> >>> is available, and, when I searched on  the three word combination -
> open
> >>> source macos - I found, in the results, the above URL.
> >>>
> >>> So, as an observer, I wonder whether licencing restrictions apply, to
> >>> running MacOS on Linux, as a virtual machine.
> >>
> >> If you click through the links on that page, it looks like Apple is
> >> just linking to the source code for open source components used in
> >> their operating systems (things like awk, bash, bind, bzip, etc.), but
> >> the operating systems themselves are certainly not open source, and
> >> cannot be legally used except in accordance with Apple's license terms
> >> and / or applicable law.
> >
> > Darwin is the core of modern Apple OSes. It is Open Source and POSIX
> > compatible.
> > https://en.wikipedia.org/wiki/Darwin_(operating_system)
> >
> > But there are plenty of Closed Source parts missing to form either macOS
> > or iOS from it. Both - macOS and iOS - are proprietary OSes where you
> > have strict license terms to fulfill to use it. One of them is  - AFAIK
> > - buying Apple Hardware and running the OS only on Apples Hardware.
> >
> MacOSX was originally based on FREEBSD which at the time probably about
> 15 years ago I was using BSD for servers in offices and I remember one
> of the senior developers in BSD land went to work for Apple, I can
> remember my delight when I discovered I could summon vi in a terminal on
> a mac
>
> --
> Martin
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
I used Linux most of the time for many years and I use it even today for a
lot of time,but from two years ago I've started studying and learning
FreeBSD and I should say that It satisfies me like linux.

Il giorno mar 22 nov 2022 alle ore 15:23 Bret Busby  ha
scritto:

> On 22/11/2022 21:44, hede wrote:
> >
> >>> Whilst I had mistakenly believed that CentOS was a freeware, open
> source
> >>> kind of MacOS clone,
> >
> > CentOS was derived from Red Hat Enterprise Linux and was mostly
> > compatible to RHEL.
> > "May God rest its soul."
> >
> >>> and found that it is not, when I searched for it, I
> >>> had understood that a freeware, open source kind of MacOS kind of
> clone,
> >>> is available, and, when I searched on  the three word combination -
> open
> >>> source macos - I found, in the results, the above URL.
> >>>
> >>> So, as an observer, I wonder whether licencing restrictions apply, to
> >>> running MacOS on Linux, as a virtual machine.
> >>
> >> If you click through the links on that page, it looks like Apple is
> >> just linking to the source code for open source components used in
> >> their operating systems (things like awk, bash, bind, bzip, etc.), but
> >> the operating systems themselves are certainly not open source, and
> >> cannot be legally used except in accordance with Apple's license terms
> >> and / or applicable law.
> >
> > Darwin is the core of modern Apple OSes. It is Open Source and POSIX
> > compatible.
> > https://en.wikipedia.org/wiki/Darwin_(operating_system)
> >
> > But there are plenty of Closed Source parts missing to form either macOS
> > or iOS from it. Both - macOS and iOS - are proprietary OSes where you
> > have strict license terms to fulfill to use it. One of them is  - AFAIK
> > - buying Apple Hardware and running the OS only on Apples Hardware.
> >
> > hede
> >
>
>
> All the more reason to run only Linux.
>
> :)
>
> ..
> Bret Busby
> Armadale
> West Australia
> (UTC+0800)
> ..
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
Sometime ago I've bought an old mac mini,so I have the Apple hardware,man.
Please don't be rude.

Il giorno mar 22 nov 2022 alle ore 13:04 Peter von Kaehne 
ha scritto:

>
> > Open your mind.
>
> Do as you like, but please do it elsewhere.
>
>
>
>> Most people don't read EULAs.
>>
>> I have long decided that programmes with EULAs are programmes to avoid as
> much as possible.
>
> Peter
>
>
>

-- 
Mario.


Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread Mario Marietto
or. To learn is more important than to respect a rule that sounds so un
useful for the peoples inside the private home. I would agree to respect it
for the compnanies and the projects which involves money and business, but
that rules goes against the creativty and the willing to know how things
works under the hood. everyone knows how much important is to experiment,to
break some rules and some schemas to invent,to create new opportunities.
macos and windows were born inside the basements of the private houses. Do
you really think that they respected every rule on '70s ? come on. Open
your mind. Respecting every rule does not produce innovation and...does not
even help to create great products. Mine is not an invitation to break
every rule,but to balance carefully what should be respected because is
important to which could avoid if it does not help the circulation of new
ideas and knowledge.

Il mar 22 nov 2022, 11:07 Brad Rogers  ha scritto:

> On Tue, 22 Nov 2022 09:35:59 +
> Peter von Kaehne  wrote:
>
> Hello Peter,
>
> >Which, while it might not stop anyone doing what they like in the
> >privacy of their own home, should be ample reason not to take it to a
> >public mailing list. Postings just as the OP reflect badly not only
> >upon themselves but on others and the project at large.
>
> Alternatively, you could interpret the arrival of the OP's request as a
> result of the fact that;
>
> Most people don't read EULAs.
>
> --
>  Regards  _   "Valid sig separator is {dash}{dash}{space}"
>  / )  "The blindingly obvious is never immediately apparent"
> / _)rad   "Is it only me that has a working delete key?"
> You destroyed my confidence, you broke my nerve
> Nervous Wreck - Radio Stars
>


  1   2   3   4   5   6   7   8   9   10   >