Search results

  1. P

    Solved IPv6: no response to neighbor solicitation for address on bridge

    Solved. I previosly used this configuration: # uname -a FreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # cat /etc/rc.conf cloned_interfaces="bridge0" ifconfig_bce0="up"...
  2. P

    Solved IPv6: no response to neighbor solicitation for address on bridge

    Of course :oops: So I removed the address from em0 a left only static address for bridge0: /etc/rc.conf ifconfig_bridge0_ipv6="inet6 xxx::123:222 prefixlen 64" ipv6_defaultrouter="xxx::1" #rtsold_enable="YES" # ifconfig em0 em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>...
  3. P

    Solved IPv6: no response to neighbor solicitation for address on bridge

    I can't get IPv6 on bridge interface to work. Configuration is simple: /etc/rc.conf ifconfig_em0_ipv6="inet6 accept_rtadv" ifconfig_em0_ipv6="inet6 xxx::123:111 prefixlen 64" ifconfig_bridge0_ipv6="inet6 accept_rtadv" ifconfig_bridge0_ipv6="inet6 xxx::123:222 prefixlen 64" rtsold_enable="YES"...
  4. P

    C Open /dev/raid/r0 for writing

    Thanks for reply. We want to rewrite labels of slices in boot manager. For example: F1 Win F2 FreeBSD Default: F2 We have an own program that does that (but works only for rank 1 providers). In this case, /dev/raid/r0 is an Intel RAID card on motherboard.
  5. P

    C Open /dev/raid/r0 for writing

    Hi again, is there please any way to allow opening /dev/raid/r0 for writing even in multi-user mode and when root filesystem is on that device in FreeBSD 10.1? I know I can allow writing to rank 1 GEOM providers by setting kern.geom.debugflags to 0x10 (16), but it doesn't help with raid/r0...
  6. P

    How to recreate local.sqlite?

    mv /var/db/pkg/local.sqlite /var/db/pkg/local.sqlite.backup xzcat /var/backups/pkg.sql.xz.7 | sqlite3 /var/db/pkg/local.sqlite sqlite3 /var/db/pkg/local.sqlite sqlite> PRAGMA user_version=30; sqlite> .quit Worked for me.
  7. P

    Solved VLAN + CARP problem (FreeBSD 8.4)

    The problem was on another VLAN interface which had network address which overlapped with vlan2100, when corrected, everything works fine.
  8. P

    Solved VLAN + CARP problem (FreeBSD 8.4)

    Hi, I have a strange problem with VLANs and CARP interfaces on FreeBSD 8.4. Machine A: vlan2100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: VLAN2100-INT options=103<RXCSUM,TXCSUM,TSO4> ether 00:1f:29:0d:3f:3a inet 10.250.86.2 netmask...
  9. P

    Send ctrl+l to tty

    That's nice :)
  10. P

    Send ctrl+l to tty

    That answers the original question. Thanks.
  11. P

    Send ctrl+l to tty

    I didn't want do admit it, because it's lame approach, but I will explain it. I have vtclock ("fullscreen" console clock) running on ttyv0 and kernel messages and other processes are writing over the screen. I need to somehow send vtclock (or the shell on ttyv0?) to redraw the screen...
  12. P

    Send ctrl+l to tty

    Hi, I want to send ctrl+l (^L) to some TTY from the command line. I have tried this: echo -n "^L" > /dev/ttyv0 (the ^L was typed by ctrl+v, ctrl+l) but that doesn't work. It only moves the cursor on ttyv0 one line down, when I need to clean the screen. Please, does anyone know how to do it?
  13. P

    How does one make console screenshots?

    One option is to take screenshots of a console of a virtual machine.
  14. P

    cron daemon mail

    One way is change line fprintf(mail, "From: %s (Cron Daemon)\n", usernm); in /usr/src/usr.sbin/cron/cron/do_command.c and then recompile and reinstall cron.
  15. P

    Blocking vnc requests from clients

    That's right. Too tired, sorry.
  16. P

    Blocking vnc requests from clients

    Yes, you can block incoming connections with it, you can also restrict the addresses on which the VNC server is listening. GNOME? As far, as I know, GNOME has nothing to do with this. VNC's default port is tcp/5901.
  17. P

    Using CARP with fxp0

    Run (on Machine2) Machine2# tcpdump -ni re0 icmp and host 209.126.230.54 to verify, that ping actually arrives to the machine. As SirDice mentioned, some switches doesn't like moving IP addresses (CISCO switches with port security enabled). Also shouldn't CARP interfaces have always /32...
  18. P

    Telnetd deleted after exit?

    That's not normal. It does not disappear all by itself. Did the machine crash? It could be some filesystem inconsitency try running fsck -a in single user mode. Or is the machine connected to internet - could someone break into it? Telnet is not secure. Yes, if you use freebsd-update to...
  19. P

    Where I can get information about FreeBSD ports/packages system?

    Does the FreeBSD Porter's Handbook answer your questions?
  20. P

    Unable to build x11/rxvt-unicode

    same error :\ /usr/ports/x11/rxvt-unicode % make ===> Building for rxvt-unicode-9.12_1 c++ -I.. -I. -I. -I./../libev -I./../libptytty/src -I./../libecb -DHAVE_CONFIG_H -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include...
Back
Top