-
titou
hey
-
nxjoseph
hi
-
iRobbery
ho
-
titou
after disk corruption my pkg local.sqlite file has been corrupted
-
titou
how can i recreate this file?
-
iRobbery
your pkg or your database got corrupted?
-
titou
only /var/db/pkg/local.sqlite
-
titou
I removed that file (which becames unreadable
-
titou
and now pkg tells me that there is no installed pkg
-
iRobbery
pkg rebuild
-
titou
unknown command :/
-
iRobbery
$PATH properly set?
-
nxjoseph
from man page of pkg
-
nxjoseph
Restore a backup database:
-
nxjoseph
% rm /var/db/pkg/local.sqlite
-
nxjoseph
% xzcat /var/backups/pkg.sql.xz | pkg shell
-
iRobbery
that would not work if pkg is not found
-
nxjoseph
there isn't pkg rebuild for me either
-
ridcully
titou: unknown command was for `pkg rebuild` and not for plain `pkg`, correct?
-
iRobbery
ah yes
-
iRobbery
its register, but thats a one by one pkg thing
-
iRobbery
you got all in stalled pkg data still in /var/db/pkg ?
-
jozan
i have a raspberry pi running 13.2-RELEASE, is it safe to upgrade straight to 14.3, skipping 14.1 and 14.2 ?
-
ivy
jozan: probably yes, but you must have
freebsd.org/security/advisories/FreeBSD-EN-23:12.freebsd-update.asc to update from 13 to 14 with freebsd-update
-
jozan
oh thanks ivy
-
titou
sorry i had to leave quickly
-
titou
ridcully: yes it was for pkg rebuild
-
titou
iRobbery: thanks a lot i will try
-
titou
it worked! Thanks a lot !!!
-
titou
you rocks
-
wsky
\:D/
-
jozan
upgrade to 14.3 from 13.1 was smooth, i did have the include/c++ error tho
-
jozan
it seems to be running fine for now
-
iRobbery
titou: good news :) i had to nap
-
[tj]
anyone know why a thinkcenter m710q might be fussy about an nvme as boot?
-
[tj]
I transplanted one just now, but the bios doesn't want to play
-
wsky
friends
-
ketas
friend
-
V_PauAmma_V
Internet stranger.
-
ketas
how cold
-
ketas
i mean not feet
-
ketas
i turned to MAKE_JOBS_NUMBER_LIMIT=1 in my rust build
-
ketas
:p
-
V_PauAmma_V
Well, I *am* a cold-blooded critter. :-)
-
ketas
i'm truly puzzled what it might be doing if it wants nearly 2g
-
titou
and i dunno if the synth developer is reading here but i have question about his software. I need it to compile some packages with custom compilation parameters and share produced package between machines
-
titou
synth grabs 2/3 of the needed packages from the FreeBSD repository but not all of them (except those who have custom compilation options).
-
titou
In particular: gcc, rust, llvm...
-
titou
I don't know why
-
titou
I don't care about them, they are just used to compile other packages and official FreeBSD version would be enough..
-
titou
it's really boring to recompile them each time i upgrade ports
-
titou
moreover the LLVM version correponds to the one rebuilding... i don't understand
-
titou
+in my ports
-
wipt
Hey there! I'm on FreeBSD 14.3-RELEASE, and it seems that freebsd-update says that my Xeon E3-1220L is not a tier 1 arch?
-
wipt
claims I'm on amd64, which should be tier 1
-
zi
wipt: can you pastebin.com what you are seeing?
-
divlamir
titou: haven't used synth, but poudriere too is broken now and doesn't fetch any prebuilt packages
-
wipt
zi: seems that it's a default error message for freebsd-update if it can't connect to to a server.
-
wipt
Seems there isn't a "true" issue, just was internet connectivity. Bit of a jump for an error message, though.
-
zi
wipt: yea--it's kinda dumb with error handling
-
ek
Hence the reason freebsd-update is going away. :)
-
XeniN
re
-
rtprio
has anyone tried the misc/ollama port?
-
rtprio
BHYVE framebuffer device detected
-
rtprio
BHYVE Get Graphics Mode: w 7320, h 32494
-
rtprio
something doesn't seem quite right here
-
aic
ek: if you don't mind, what is replacing freebsd-update?
-
mzar
aic: pkg ugprade
-
polarian
hmm so setting a different default gateway and setting a /32 IPv4 does not work
-
polarian
arp no dice
-
polarian
arp cant see the router hmmm
-
polarian
probably because the router interface has no IP
-
polarian
what if I add a RFC1918 address to it and then set this as a gateway for the connected device with a public IP address (/32)
-
polarian
then see if arp works
-
zi
polarian: what are you trying to do?
-
polarian
zi: someone ages ago spoke about individually assigning a bigger block of IPv4 as /32 to save the network and broadcast address
-
polarian
trying to figure out how they did it
-
polarian
my router holds a /32 address for NAT within a different block
-
polarian
so I set that as the gateway, but arp cant see the gateway
-
polarian
I assume because the port the device is connected to on the router has no address...
-
zi
you will need a 'point to point' interface between the two devices--likely a /30 for simplicity. then, you can route another netblock over that
-
polarian
right
-
polarian
why not a /31?
-
zi
id obviously need more information about the setup and what you're trying to do
-
polarian
it doesnt really matter
-
zi
but the above is the basic jist
-
polarian
but can you do the ptp with a rfc1918?
-
zi
you can, but traceroutes and some other things from the outside wont work quite right
-
polarian
also question, if you need ptp then how come ISPs work then, they allocate /32 addresses within a bigger subnet and *that* works
-
polarian
but then again they probably have a public IP on the interface all the connections go into
-
zi
i think youll find that most of the time, you might be getting a single ip, but it's part of a larger block (/24 or whatever)
-
polarian
indeed
-
polarian
but my point is the gateway is still out of the subnet
-
zi
so check the netmask on whatever you get from your isp
-
zi
it probably isnt a /32
-
zi
i doubt that
-
polarian
nope
-
polarian
0xffffffff
-
polarian
and the gateway is completely different
-
polarian
and it works for them
-
polarian
:P
-
zi
you're gonna have to try to type up some information about the setup/devices/etc and what you're seeing
-
polarian
but like I said, in order for arp to work I assume the interface your device is connected to must also have an IP
-
polarian
okay how my ISP works is that for PPPoE you are given a /32 netmask 0xffffffff and then a gateway
-
polarian
that works, obviously otherwise I wouldn't be connected right now
-
polarian
my question was simply if you must use point to point for this to work, then how come this works for my ISP
-
zi
pppoe is a little different than just ethernet
-
polarian
so my question was in order for arp to work on Linux, the iface I assume always needs an IP address
-
polarian
zi: sure...
-
polarian
ok going back to the original question then
-
polarian
take a /28, you want to preserve the network and gateway address, to allocate them as /32 without needing to allocate the subnet to the router, I you need to ptp it?
-
polarian
take 192.168.0.1/30 and 192.168.0.2/30
-
polarian
.1 router, .2 device
-
polarian
set .1 as the default route, then the public IPv4 passes via the default route
-
polarian
is that what you were suggesting zi?
-
zi
it depends how it is setup and who is in control of the devices
-
polarian
im in control of both the router and the device
-
zi
one option is to have your isp route the /28 to .2. you could use every ip in the /28 in that scenario
-
polarian
nah ignore that the separate IPv4 block just goes via the PPPoE route
-
polarian
I am not asking that ignore the ISP
-
polarian
I have additional addresses, I dont want to waste them on a network address and a broadcast
-
polarian
I can keep them router side, allocate a ptp address and NAT to each address router side
-
polarian
but a friend which is sharing this asked why I cant simply give a public /32 address to the device and set the default gateway to the router address, but that doesn't work because arp cant see it
-
zi
polarian: you're gonna need to make a diagram if you need more info
-
polarian
ugh
-
zi
it sounds like you want me to argue with your friend, through you
-
zi
unless im misunderstanding
-
polarian
no
-
polarian
my friend simply asked why I dont do that, so I thought "hmm I will try"
-
zi
ok
-
scoobybejesus_tl
lol
-
polarian
wait I didnt actually realise I was asking this in freebsd
-
polarian
its between freebsd and openbsd :P
-
NinerTenny
window 3
-
aic
denied