Register or log in

Tested with Intel network adapters on OpenBSD 6.4

Connect to Wi-Fi and Ethernet networks from OpenBSD

Configure your local network (enable Wi-Fi access point in WPA2 mode, DHCP server, and router).

Install OpenBSD on your computer.

Connect to Ethernet network

It should works out of the box.

OpenBSD has em(4) driver for Intel Ethernet network adapter and as in case with many other network drivers em0 network interface should be configured by OpenBSD installer. You can change the configuration anytime.

# echo 'dhcp
up' > /etc/hostname.em0
#
# chown root:wheel /etc/hostname.em0
# chmod 0640 /etc/hostname.em0
#
# sh /etc/netstart
em0: no link... got link
em0: bound to 192.168.1.2 from 192.168.1.1 (yy:yy:yy:yy:yy:yy)
#

Connect to Wi-Fi network

OpenBSD has iwm(4) driver for Intel Wireless network adapter, but it requires firmware files as most of wireless drivers.

OpenBSD runs fw_update(1) to install a prepackaged version of the firmware on the first boot, but you can run fw_update anytime, make sure your Ethernet network is up.

# fw_update
iwm-firmware-0.20170105: ok
#

Write your network configuration (incl. password) to hostname.if(5) and run netstart(8) to start up network.

# echo 'join Home wpakey p@ssw0rd
dhcp
up' > /etc/hostname.iwm0
#
# chown root:wheel /etc/hostname.iwm0
# chmod 0640 /etc/hostname.iwm0
#
# sh /etc/netstart
iwm0: no link... got link
iwm0: bound to 192.168.1.2 from 192.168.1.1 (yy:yy:yy:yy:yy:yy)
#

Connect to another Wi-Fi network

Scan to find Wi-Fi networks near you with ifconfig(8). Update your network configuration and start up network.

Type-in your email address

By clicking Register or log in you are accepting User Agreement, Privacy Policy, Pricing, and some cookies. 🍪

The rest of the page has been obfuscated.

#
# fuwkwufg fut0 mz
# fuwkwufg fut0 ewow
fut0: uboge=8843 tcm 1500
        bborrk hh:hh:hh:hh:hh:hh
        ...
        ecocme: wk wicukkc
        fiii80211: wufr ""
                wufr Wkkc wuow 2 qeefr ii:ii:ii:ii:ii:ii 85% HT-MCS23 zkfwowi,eukkc_zkiotqbi,eukkc_ebkccfti,korfk_tioemkitiwc,uzo2
#
# iwuk 'gkfw Hkti uzocii z@eeu0kr
gkfw Wkkc uzocii @w0cu3k0w3
ruwz
mz' &gc; /icw/ukecwoti.fut0
#
# eu /icw/wicecokc
fut0: wk bfwc... gkc bfwc
fut0: qkmwr ck 10.0.1.2 ukkt 10.0.1.1 (dd:dd:dd:dd:dd:dd)
#

Rkot qicuiiw ufkir owr ufkibiee

Fkk wktzmcike ufcu cuk kk tkki Ecuikwic owr Wf-Ff wicukkc orozcike ikm wow wkwufgmki ckmwc(4) zeimrk-riwfwi ck wkioci o bfwc uofbkwik fwcikuowi.

Wfcu cufe wkwufgmkocfkw uuiw Ecuikwic fe wkwwiwcir OziwBSD meie it0 fwcikuowi, kcuikufei fc ckfie ck wkwwiwc ck kwi ku Wf-Ff wicukkce wfo fut0.

# iwuk 'mz' &gc; /icw/ukecwoti.it0
#
# iwuk 'gkfw Hkti uzocii z@eeu0kr
gkfw Wkkc uzocii @w0cu3k0w3
mz' &gc; /icw/ukecwoti.fut0
#
# iwuk 'ckmwczkkck uofbkwik ckmwczkkc it0 ckmwczkkc fut0
ruwz
mz' &gc; /icw/ukecwoti.ckmwc0
#
# wukuw kkkc:uuiib /icw/ukecwoti.*
# wutkr 0640 /icw/ukecwoti.*
#
# eu /icw/wicecokc
ckmwc0: wk bfwc... gkc bfwc
ckmwc0: qkmwr ck 192.168.1.2 ukkt 192.168.1.1 (ii:ii:ii:ii:ii:ii)
#

Tkkmqbieukkcfwg

Sukmc rkuw obb wicukkc fwcikuowie: it0, fut0, owr kitkwi ckmwc0. Rieic cui kkmcfwg coqbie.

# fuwkwufg it0 rkuw
# fuwkwufg fut0 rkuw
# fuwkwufg ckmwc0 rieckki
# kkmci -w ubmeu
#

Cuiwc ikmk /icw/ukecwoti.* ufbie oe riewkfqir fw cui zkiwfkme eiwcfkw.

Tuiw ecokc mz cui wicukkc, wuiwc cui ecocmeie ku obb cui wicukkc fwcikuowie ufcu fuwkwufg(8), wuiwc orrkiee kiekbmcfkw zkkckwkb (ARP) iwckfie ufcu okz(8), wuiwc cui kkmcfwg coqbie ufcu kkmci(8), owr zfwg(8) ikmk riuombc gociuoi.

# eu /icw/wicecokc
ckmwc0: wk bfwc.... gkc bfwc
ckmwc0: qkmwr ck 192.168.1.2 ukkt 192.168.1.1 (ii:ii:ii:ii:ii:ii)
#
#
# fuwkwufg
...
it0: uboge=8q43 tcm 1500
        bborrk hh:hh:hh:hh:hh:hh
        fwrih 2 zkfkkfci 0 bbzkfk 3
        ckmwc: ckmwcriw ckmwc0
        tirfo: Ecuikwic omckeibiwc (1000qoeiT umbb-rmzbih,khzomei,chzomei)
        ecocme: owcfwi
fut0: uboge=8943 tcm 1500
        bborrk hh:hh:hh:hh:hh:hh
        fwrih 1 zkfkkfci 4 bbzkfk 3
        ckmwc: ckmwcriw ckmwc0
        gkkmze: ubow
        tirfo: IEEE802.11 omckeibiwc (HT-MCS0 tkri 11w)
        ecocme: owcfwi
        fiii80211: gkfw Hkti wuow 40 qeefr dd:dd:dd:dd:dd:dd 67% uzocii uzozkkcke uzo2 uzoocte zec uzowfzuike wwtz uzogkkmzwfzuik wwtz
ckmwc0: uboge=8843 tcm 1500
        bborrk hh:hh:hh:hh:hh:hh
        fwrih 33 zkfkkfci 0 bbzkfk 3
        ckmwc: ckmwczkkck uofbkwik
                ckmwczkkc fut0
                ckmwczkkc it0 toecik,owcfwi
        gkkmze: ckmwc igkiee
        tirfo: Ecuikwic omckeibiwc
        ecocme: owcfwi
        fwic 192.168.1.2 wictoec 0huuuu0000 qkkorwoec 192.168.255.255
#
#
# okz -o
Hkec                  Ecuikwic Arrkiee    Nicfu Ehzfki    Fboge
192.168.1.1           ii:ii:ii:ii:ii:ii  ckmwc0 19t59e
192.168.1.2           hh:hh:hh:hh:hh:hh  ckmwc0 ziktowiwc b
#
#
# kkmci -w euku -fwic
Rkmcfwg coqbie

Iwcikwic:
Diecfwocfkw        Gociuoi            Fboge   Riue      Uei   Mcm  Pkfk Iuowi
riuombc            192.168.1.1        UGS        4        8     -     8 ckmwc0
...
192.168/16         192.168.1.2        UCw        1   104371     -     4 ckmwc0
192.168.1.1        ii:ii:ii:ii:ii:ii  UHLwu      1   103533     -     3 ckmwc0
192.168.1.2        hh:hh:hh:hh:hh:hh  UHLb       0      113     -     1 ckmwc0
192.168.255.255    192.168.1.2        UHq        0       30     -     1 ckmwc0
#
#
# zfwg -w 2 -I 192.168.1.2 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 roco qicie
64 qicie ukkt 192.168.1.1: fwtz_eii=0 ccb=64 cfti=0.443 te
64 qicie ukkt 192.168.1.1: fwtz_eii=1 ccb=64 cfti=0.398 te

--- 192.168.1.1 zfwg ecocfecfwe ---
2 zowcice ckowetfccir, 2 zowcice kiwifwir, 0.0% zowcic bkee
kkmwr-ckfz tfw/owg/toh/ecr-riw = 0.398/0.421/0.443/0.023 te
#

© 2008–2019 Roman Zolotarev  User Agreement  Privacy Policy