Search results

  1. asteriskRoss

    LAGG interface with both IPv4 and IPv6

    If it were me I would test elsewhere first rather than hoping for the best on a production system! It is possible to use virtual machines on their own network.
  2. asteriskRoss

    ZFS Boot hangs mid-boot after adding new drive

    I don't believe so. As I understand it, all partitions are scanned for GELI containers that are configured to be mounted at boot (created or configured with the -b flag -- see the geli man page). Any variables in loader.conf related to GELI containers that are found are then applied while the...
  3. asteriskRoss

    Solved extend ZFS partition

    Yes this is possible, though best to back up before messing with partitions and filesystems :) It looks like the partition hosts your root ZFS pool on your running system, so you should boot from your install media and select "Live CD" to change the partition size. Use the resize function of...
  4. asteriskRoss

    Solved pf and freebsd-update

    I'm pretty sure you can throw hostnames at pfctl for rules and tables and let it do the DNS lookup. When I did this myself I remember the subtlety to doing this on startup is that PF comes up before name resolution. I ended up writing my own rc script that ran later in the boot process to...
  5. asteriskRoss

    Solved Cross Compiling for Linux in FreeBSD

    Welcome to the forums :) Whilst I'm sure it is possible to cross-compile for GNU/Linux on a FreeBSD box, I also suspect it might take you a while to get it working. As an alternative method to achieve your goal you could run a GNU/Linux virtual machine on your FreeBSD box using bhyve...
  6. asteriskRoss

    Solved pf and freebsd-update

    Great! If you want a tighter configuration, you could use a table for the IP addresses of the FreeBSD update servers so that connections are only permitted to them rather than to any server. You could write a script that runs periodically to refresh that list of IP addresses. Also, instead of...
  7. asteriskRoss

    i386 assembly example does not work

    Developer guides for their respective x86-64 chips are available from AMD for AMD64 and Intel for Intel 64 (previously known as EM64T). Note the instruction sets are almost but not quite the same, though the differences likely won't matter to you. For your code that interacts with the...
  8. asteriskRoss

    i386 assembly example does not work

    I love programming in assembler though it's often difficult to justify the additional time it needs over a compiled language and the lack of portability. As a chatty introduction to assembly language I enjoyed Assembly Language Step-by-Step: Programming with Linux (ISBN 978-0-470-49702-9). It...
  9. asteriskRoss

    Solved More advanced GELI setup

    What I would expect is that you will have a prompt for any device hosting a GELI container with the boot flag set, irrespective of what keyfile configuration you add to /boot/loader.conf. If a device doesn't host a GELI container, you won't receive a prompt. The keyfile configuration is there...
  10. asteriskRoss

    Solved pf and freebsd-update

    It would normally be necessary to allow outbound DNS queries to resolve the addresses of the FreeBSD update servers, unless you have them listed in your hosts file. Try adding the line: pass out on $ext_if proto { udp, tcp } to any port 53
  11. asteriskRoss

    Solved More advanced GELI setup

    It is possible to attach the GELI container during boot based on GPT label... however it is annoying to do so as you have to tolerate failed attaches of the same device referred to in a different way. This is what I was referring to in my previous post: The way GELI attaches containers at boot...
  12. asteriskRoss

    stuck in the SLIM loop

    Expanding on ANOKNUSA's post, have a look at the Virtual Consoles section of the FreeBSD handbook. Press Alt+F2 to switch to the first virtual console. Alternatively, you could select Single user mode on startup that will drop you to a root shell where you could edit your user's ~/.xinitrc.
  13. asteriskRoss

    Solved Ubuntu HDD access

    You should have seen it in the output from the geom command above and you should also be able to see it by running ls /dev/linux_lvm. If there is nothing, check you loaded the kernel module (kldload geom_linux_lvm).
  14. asteriskRoss

    Solved Ubuntu HDD access

    Oops -- my typo. It meant to read geom linux_lvm list (no second underscore)
  15. asteriskRoss

    Solved Ubuntu HDD access

    Aha... you mentioned LVM. Have a look at the man page for geom_linux_lvm. Try kldload geom_linux_lvm followed by geom linux_lvm_list geom linux_lvm list. You should then be able to mount the partition with something like mount -o ro -t ext2fs /dev/linux_lvm/yourvolumegroup /mnt. Reference...
  16. asteriskRoss

    Solved Ubuntu HDD access

    Try file -s /dev/da1s1 to determine the filesystem type. Assuming it comes back as ext2, ext3 or ext4 (appreciating you already tried to mount it as ext4)... If you just need to read files then the suggestion in the handbook is probably good enough: kldload ext2fs mount -o ro -t ext2fs...
  17. asteriskRoss

    Solved Ubuntu HDD access

    I've never done this myself but, have a look at the FreeBSD Handbook's section on GNU/Linux filesystems (EDIT: As quoted by Maxnix, who pipped me to the post with a response). I expect your Ubuntu installation uses ext3 and that page has a caveat: I also see there is the sysutils/e2fs port...
  18. asteriskRoss

    Solved More advanced GELI setup

    The great thing about the FreeBSD GEOM framework for storage is that you mostly don't need to care what is providing storage. Whether it is a whole disk, a BSD slice, a BSD partition, a GPT partition or an encrypted container it can be treated in the same way. Using GPT labels is definitely...
  19. asteriskRoss

    Solved More advanced GELI setup

    Hi maximusmusterus1 and welcome to the forums. Firstly, The good news is that someone already wrote a script for this. From the "Encrypting Disk Partitions" section in the FreeBSD Handbook: Secondly, Yes (and yes). Have a look at the setkey option in the geli man page and also the...
  20. asteriskRoss

    Solved Backlight set to zero after X server starts

    I had another thought if you want to use SLiM. If you are starting SLiM by adding slim_enable="YES" to /etc/rc.conf, you could write your own startup script (refer to this guide) with a dependency on the SLiM script to run your brightness command. This is a version of what tobik was...
Back
Top