admin@t:~ % ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo admin@t:~ %
# vi /etc/rc.conf ifconfig_ue0="inet 192.168.1.249 netmask 255.255.255.0" # admin@t:~ % ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 \ mtu 1500 options=80008<VLAN_MTU,LINKSTATE> ether 00:24:a5:9b:81:97 inet 192.168.1.249 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (100baseTX <full-duplex>) status: active admin@t:~ %
# kldstat Id Refs Address Size Name 1 75 0xffffffff80200000 1ef2aa8 kernel 2 1 0xffffffff820f4000 6c418 if_bwn.ko 3 15 0xffffffff82161000 81b70 bhnd.ko 4 3 0xffffffff821e3000 9298 gpiobus.ko 5 2 0xffffffff821ed000 f5e0 siba_bwn.ko 6 2 0xffffffff821fd000 3d28 if_bwn_pci.ko 7 2 0xffffffff82201000 2e08 siba_bhndb.ko 8 5 0xffffffff82204000 1b0b0 bhndb.ko 9 2 0xffffffff82220000 d568 siba.ko 10 2 0xffffffff8222e000 2120 bcma_bhndb.ko 11 2 0xffffffff82231000 b400 bcma.ko 12 2 0xffffffff8223d000 a640 bhndb_pci.ko 13 2 0xffffffff82248000 5388 bhnd_pci_hostb.ko 14 3 0xffffffff8224e000 61a0 bhnd_pci.ko 15 1 0xffffffff82bfa000 11df77 i915kms.ko 16 1 0xffffffff82d18000 718d0 drm.ko 17 4 0xffffffff82d8a000 fe30 linuxkpi.ko 18 3 0xffffffff82d9a000 e470 linuxkpi_gplv2.ko 19 2 0xffffffff82da9000 6b8 debugfs.ko 20 1 0xffffffff82daa000 3e40 if_axe.ko 21 1 0xffffffff82dae000 1450 uether.ko 22 1 0xffffffff82db0000 2388 ums.ko 23 1 0xffffffff82db3000 1a90 logo_saver.ko 24 1 0xffffffff82db5000 1b180 if_bwi.ko # ifconfig wlan create wlandev bwi0 ssid kiri up ifconfig: SIOCIFCREATE2: Device not configured # ifconfig wlan create wlandev bwn0 ssid kiri up ifconfig: SIOCIFCREATE2: Device not configured #
ugen0.2: <ELECOM WDC-150SU2M> at usbus0 rtwn0 on uhub0 rtwn0: <ELECOM WDC-150SU2M, class 0/0, rev 2.00/0.00, addr 5> on \ usbus0 rtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
# kldstat Id Refs Address Size Name 1 68 0xffffffff80200000 20be050 kernel : 17 1 0xffffffff82e35000 1a98 logo_saver.ko 18 1 0xffffffff82e37000 d7ef if_rtwn_usb.ko 19 1 0xffffffff82e45000 164a4 rtwn.ko #
# ifconfig wlan0 create wlandev rtwn0 ssid kiri up # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric \ 0 mtu 1500 ether bc:5c:4c:ba:31:6e inet6 fe80::be5c:4cff:feba:316e%wlan0 prefixlen 64 scopeid 0x3 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated ssid kiri channel 1 (2412 MHz 11g) bssid 00:1d:73:a8:08:7c regdomain FCC country US authmode OPEN privacy OFF txpower 30 \ bmiss 7 scanvalid 60 protmode CTS wme groups: wlan # dhclient wlan0 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 DHCPOFFER from 192.168.11.1 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPACK from 192.168.11.1 bound to 192.168.11.11 -- renewal in 86400 seconds. # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric \ 0 mtu 1500 ether bc:5c:4c:ba:31:6e inet6 fe80::be5c:4cff:feba:316e%wlan0 prefixlen 64 scopeid 0x3 inet 192.168.11.11 netmask 0xffffff00 broadcast 192.168.11.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated ssid kiri channel 1 (2412 MHz 11g) bssid 00:1d:73:a8:08:7c regdomain FCC country US authmode OPEN privacy OFF txpower 30 \ bmiss 7 scanvalid 60 protmode CTS wme groups: wlan #