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.

#
# vokifove vbr0 ba
# vokifove vbr0 jkyf
vbr0: ovyej=8843 rib 1500
        vvyggv dd:dd:dd:dd:dd:dd
        ...
        jiyibj: fi fdibivb
        vddd80211: fbvg ""
                fbvg Wivb knyf 2 qjjvg jj:jj:jj:jj:jj:jj 85% HT-MCS23 avvjykj,jnivi_avdyrqvd,jnivi_jviiivrd,vygvi_rdyjbvdrdfi,bay2
#
# dkni 'xivf Hird baybdj a@jjb0vg
xivf Wivb baybdj @f0in3v0f3
gnka
ba' &ei; /dik/nijifyrd.vbr0
#
# jn /dik/fdijiyvi
vbr0: fi vvfb... eii vvfb
vbr0: qibfg ii 10.0.1.2 ovir 10.0.1.1 (dd:dd:dd:dd:dd:dd)
#

Riyr qdibddf bvvdg yfg bvvdvdjj

Fiv kirabidvj bvin ibi iv rivd Eindvfdi yfg Wv-Fv fdibivb ygyaidvj jib kyf kifovebvd ivbfb(4) ajdbgi-gdjvkd ii kvdyid y vvfb oyvvijdv vfidvoykd.

Wvin invj kifovebvyivif bndf Eindvfdi vj kiffdkidg OadfBSD bjdj dr0 vfidvoykd, iindvbvjd vi ivvdj ii kiffdki ii ifd io Wv-Fv fdibivbj jvy vbr0.

# dkni 'ba' &ei; /dik/nijifyrd.dr0
#
# dkni 'xivf Hird baybdj a@jjb0vg
xivf Wivb baybdj @f0in3v0f3
ba' &ei; /dik/nijifyrd.vbr0
#
# dkni 'ivbfbaviii oyvvijdv ivbfbaivi dr0 ivbfbaivi vbr0
gnka
ba' &ei; /dik/nijifyrd.ivbfb0
#
# knibf viii:bnddv /dik/nijifyrd.*
# knrig 0640 /dik/nijifyrd.*
#
# jn /dik/fdijiyvi
ivbfb0: fi vvfb... eii vvfb
ivbfb0: qibfg ii 192.168.1.2 ovir 192.168.1.1 (jj:jj:jj:jj:jj:jj)
#

Tvibqvdjniiivfe

Snibi gibf yvv fdibivb vfidvoykdj: dr0, vbr0, yfg vdrijd ivbfb0. Rdjdi ind vibivfe iyqvdj.

# vokifove dr0 gibf
# vokifove vbr0 gibf
# vokifove ivbfb0 gdjivij
# vibid -f ovbjn
#

Cndkb jibv /dik/nijifyrd.* ovvdj yj gdjkvvqdg vf ind avdjvibj jdkivif.

Tndf jiyvi ba ind fdibivb, kndkb ind jiyibjdj io yvv ind fdibivb vfidvoykdj bvin vokifove(8), kndkb yggvdjj vdjivbivif aviiikiv (ARP) dfivvdj bvin yva(8), kndkb ind vibivfe iyqvdj bvin vibid(8), yfg avfe(8) jibv gdoybvi eyidbyj.

# jn /dik/fdijiyvi
ivbfb0: fi vvfb.... eii vvfb
ivbfb0: qibfg ii 192.168.1.2 ovir 192.168.1.1 (jj:jj:jj:jj:jj:jj)
#
#
# vokifove
...
dr0: ovyej=8q43 rib 1500
        vvyggv dd:dd:dd:dd:dd:dd
        vfgdd 2 avvivvij 0 vvavvi 3
        ivbfb: ivbfbgdj ivbfb0
        rdgvy: Eindvfdi ybiijdvdki (1000qyjdT obvv-gbavdd,vdaybjd,idaybjd)
        jiyibj: ykivjd
vbr0: ovyej=8943 rib 1500
        vvyggv dd:dd:dd:dd:dd:dd
        vfgdd 1 avvivvij 4 vvavvi 3
        ivbfb: ivbfbgdj ivbfb0
        evibaj: bvyf
        rdgvy: IEEE802.11 ybiijdvdki (HT-MCS0 rigd 11f)
        jiyibj: ykivjd
        vddd80211: xivf Hird knyf 40 qjjvg dd:dd:dd:dd:dd:dd 67% baybdj bayaviiij bay2 bayybrj ajb baykvandvj kkra bayevibakvandv kkra
ivbfb0: ovyej=8843 rib 1500
        vvyggv dd:dd:dd:dd:dd:dd
        vfgdd 33 avvivvij 0 vvavvi 3
        ivbfb: ivbfbaviii oyvvijdv
                ivbfbaivi vbr0
                ivbfbaivi dr0 ryjidv,ykivjd
        evibaj: ivbfb devdjj
        rdgvy: Eindvfdi ybiijdvdki
        jiyibj: ykivjd
        vfdi 192.168.1.2 fdiryjb 0doooo0000 qviygkyji 192.168.255.255
#
#
# yva -y
Hiji                  Eindvfdi Aggvdjj    Ndivo Edavvd    Fvyej
192.168.1.1           jj:jj:jj:jj:jj:jj  ivbfb0 19r59j
192.168.1.2           dd:dd:dd:dd:dd:dd  ivbfb0 advryfdfi v
#
#
# vibid -f jnib -vfdi
Ribivfe iyqvdj

Ifidvfdi:
Ddjivfyivif        Gyidbyj            Fvyej   Rdoj      Ujd   Mib  Pvvi Ioykd
gdoybvi            192.168.1.1        UGS        4        8     -     8 ivbfb0
...
192.168/16         192.168.1.2        UCf        1   104371     -     4 ivbfb0
192.168.1.1        jj:jj:jj:jj:jj:jj  UHLkn      1   103533     -     3 ivbfb0
192.168.1.2        dd:dd:dd:dd:dd:dd  UHLv       0      113     -     1 ivbfb0
192.168.255.255    192.168.1.2        UHq        0       30     -     1 ivbfb0
#
#
# avfe -k 2 -I 192.168.1.2 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 gyiy qjidj
64 qjidj ovir 192.168.1.1: vkra_jda=0 iiv=64 ivrd=0.443 rj
64 qjidj ovir 192.168.1.1: vkra_jda=1 iiv=64 ivrd=0.398 rj

--- 192.168.1.1 avfe jiyivjivkj ---
2 aykbdij ivyfjrviidg, 2 aykbdij vdkdvjdg, 0.0% aykbdi vijj
vibfg-ivva rvf/yje/ryd/jig-gdj = 0.398/0.421/0.443/0.023 rj
#

© 2008–2019 Roman Zolotarev  User Agreement  Privacy Policy