On Sun, Apr 19, 2020 at 01:34:26PM +0200, Michael Neumann wrote: > Hi, > > I can't get my WLAN working here with iwm0 on DragonFly 5.8.0. It always shows > "status: no carrier". I double checked with a recent FreeBSD (12.1), and > there, > the same commands on the command line work. This is an open WLAN, I haven't > tested it with wpa supplicant. Note that on FreeBSD I have to explicitly > specify the channel, otherwise I can't get it to work either.
On another thread Peeter gave a solution that also worked with my setup (iwm0): # /etc/rc.conf wlans_iwm0="wlan0" ifconfig_wlan0="WPA" # Or /etc/rc.conf with DHCP dhcpd_enable=YES wlans_iwm0="wlan0" ifconfig_wlan0="WPA DHCP" # /etc/wpa_supplicant.conf network={ ssid="my-ssid" key_mgmt=NONE } # ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::7670:fdff:fefa:5a3c%wlan0 prefixlen 64 scopeid 0x3 ether 74:70:fd:fa:5a:3c groups: wlan ssid my-ssid channel 9 (2452 MHz 11g) bssid c8:be:19:88:20:29 country US authmode OPEN privacy OFF txpower 0 bmiss 10 scanvalid 60 protmode CTS wme roaming MANUAL media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated Thanks! Michael > > Any ideas? > > # dmesg | grep iwm0 > > iwm0: hw rev 0x230, fw ver 22.361476.0, address 74:70:fd:fa:5a:3c > > # kldstat > > Id Refs Address Size Name > 1 12 0xffffffff80200000 1eb5520 kernel > 2 1 0xffffffff820b6000 c8f8 ehci.ko > 3 1 0xffffffff820c3000 cec0 xhci.ko > 4 1 0xffffffff820d0000 11c50 dm.ko > 5 1 0xffffffff820e2000 1d6b8 if_iwm.ko > 6 1 0xffffffff82100000 1bb250 iwm8265fw.ko > > # ifconfig wlan create wlandev iwm0 up > > wlan0: driver didn't set altq_maxlen > wlan0: MAC address: 74:70:fd:fa:5a:3c > wlan0 > > # ifconfig wlan0 scan > > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS > my-ssid xx:xx:xx:xx:xx:xx 9 54M 0:0 100 E HTCAP WME > > # ifconfig wlan create wlandev iwm0 channel 9 ssid my-ssid up > > re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 > options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> > ether 80:fa:5b:62:db:72 > media: Ethernet autoselect (none) > status: no carrier > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > options=43<RXCSUM,TXCSUM,RSS> > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > groups: lo > wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet6 fe80::7670:fdff:fefa:5a3c%wlan0 prefixlen 64 scopeid 0x3 > ether 74:70:fd:fa:5a:3c > groups: wlan > ssid my-ssid channel 9 (2452 MHz 11g) > country US authmode OPEN privacy OFF txpower 0 bmiss 10 scanvalid > 60 > protmode CTS wme bintval 0 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > Regards, > > Michael