Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

I've got a weird issue on my #FreeBSD ThinkPad.

Uncategorized
1 1 0
  • I've got a weird issue on my ThinkPad. Since setting up lagg yesterday which worked fine. I powered off last night and then switched it on this morning. I noticed that I had no network access on either the re1 interface or wlan0. I powered off and on and it worked. I have since discovered that if it doesn't work if I just doas service netif restart it starts to work again.

    This is my lagg setup in /etc/rc.conf

    # WiFi
    wlans_iwlwifi0="wlan0"
    ifconfig_wlan0="WPA SYNCDHCP"
    cloned_interfaces="lagg0"
    ifconfig_lagg0="up laggproto failover laggport re1 laggport wlan0 DHCP"
    This is the output of ifconfig when it's working:

    re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
    ether 8c:8c:aa:bd:bb:f0
    media: Ethernet autoselect (none)
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    re1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
    ether 8c:8c:aa:bd:bb:ef
    inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    wlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=0
    ether 8c:8c:aa:bd:bb:ef
    hwaddr 70:9c:d1:af:ad:93
    inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
    groups: wlan
    ssid Smithies channel 40 (5200 MHz 11a vht/80-) bssid f0:9f:c2:ab:8d:c3
    regdomain FCC country US authmode WPA2/802.11i privacy ON
    deftxkey UNDEF AES-CCM 2:128-bit AES-CCM ucast:128-bit txpower 17
    bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k
    ampdudensity 8 -amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd vht
    vht40 vht80 vht160 -vht80p80 wme roaming MANUAL
    parent interface: iwlwifi0
    media: IEEE 802.11 Wireless Ethernet VHT mode 11ac
    status: associated
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    lagg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=0
    ether 8c:8c:aa:bd:bb:ef
    hwaddr 00:00:00:00:00:00
    inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
    laggproto failover lagghash l2,l3,l4
    laggport: re1 flags=5<MASTER,ACTIVE>
    laggport: wlan0 flags=0<>
    groups: lagg
    media: Ethernet autoselect
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    This is the output when not working on first boot:

    re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
    ether 8c:8c:aa:bd:bb:f0
    media: Ethernet autoselect (none)
    status: no carrier
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    re1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
    ether 8c:8c:aa:bd:bb:ef
    inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    wlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=0
    ether 8c:8c:aa:bd:bb:ef
    hwaddr 70:9c:d1:af:ad:93
    inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
    groups: wlan
    ssid Smithies channel 40 (5200 MHz 11a vht/80-) bssid f0:9f:c2:ab:8d:c3
    regdomain FCC country US authmode WPA2/802.11i privacy ON
    deftxkey UNDEF AES-CCM 2:128-bit AES-CCM ucast:128-bit txpower 17
    bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k
    ampdudensity 8 -amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd vht
    vht40 vht80 vht160 -vht80p80 wme roaming MANUAL
    parent interface: iwlwifi0
    media: IEEE 802.11 Wireless Ethernet VHT mode 11ac
    status: associated
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    lagg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
    options=0
    ether 8c:8c:aa:bd:bb:ef
    hwaddr 00:00:00:00:00:00
    inet 192.168.0.194 netmask 0xffffff00 broadcast 192.168.0.255
    laggproto failover lagghash l2,l3,l4
    laggport: re1 flags=5<MASTER,ACTIVE>
    laggport: wlan0 flags=0<>
    groups: lagg
    media: Ethernet autoselect
    status: active
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    I should note that running doas service netif restart once it's working makes it fail again.

    Any ideas ??
  • stefano@mastodon.bsd.cafeundefined stefano@mastodon.bsd.cafe shared this topic

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    6 Views
    Exactly one year ago, on 30th December 2024, I laid the foundation of FediMeteo.I took a VM, installed FreeBSD, and set up the first jail to support Italy. The goal was to create a tool for my own use, support a few countries, and announce it.Unexpectedly, the enthusiasm was incredible. That pushed me to keep going, support more countries and cities, and turn it into what it is today.FediMeteo now supports 38 countries and 2,937 cities, with more than 7,700 followers in the Fediverse alone, not counting the many people who follow via RSS feeds or visit the web pages.If you are curious to read the story and some technical details, you can find it here:https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/Today is also Tuesday, a #ThankYouTuesday, so I want to say thanks to:OpenMeteo - @openmeteo@fosstodon.org - for providing accurate, high quality data, without which FediMeteo would be far less useful@grunfink@comam.es - creator of snac, who made all of this possible using very few resources, on a 4 euro per month VMFreeBSD, which thanks to the efficiency of the OS and its jail implementation made it possible to run this service in a stable and efficient way with minimal effortFediFollows - @FediFollows@social.growyourown.services - that periodically spreads the word about cities, countries, and the enthusiasm around the projectAll of you, who suggested, encouraged, corrected, and celebrated this projectAnd forward toward supporting more countries and other interesting features already in the works.Happy birthday, FediMeteo! 🎉#FediMeteo #HappyBirthday #Meteo #Weather #FreeBSD #snac #snac2 #OpenMeteo #Fediverse
  • 0 Votes
    1 Posts
    4 Views
    Thank you for sharing this, Tara. Your post reflects several qualities that continue to define FreeBSD, including clarity, stability, and long-term design. It’s valuable to hear how newer contributors experience the Project.Read the full letter: https://lnkd.in/dtcQebh2#FreeBSD #OpenSource #Community
  • 0 Votes
    1 Posts
    9 Views
    #FreeBSD Users Do you run quarterly or latest packages on your #FreeBSD workstation? Or do you build ports? Servers excluded this time, only #desktop systems 😉 #freebsd #unix #bsd
  • Something is afoot!

    Uncategorized freebsd
    5
    1
    0 Votes
    5 Posts
    22 Views
    Nice and we both gladly accept. ;)CC: @stefano@bsd.cafe