Hello! Im new to openbsd.
I just installed it to my new laptop and i want to configure wireless
and ethernet.
my laptop has Intel dual band wireless ac 3165 for wireless and
realtek 8168 for ethernet.
Ethernet worked fine when i installed it.

I wanted to connect with ethernet (re0 interface) if its available. If
it isn't available then it should connect with my wifi. (iwm0
interface)
i follow the instructions on faq

First i created an hostname.iwm0 that contained:
"nwid (ssid)
wpakey (wpa psk)
wpaakms (psk)
dhcp"

i disconnect ethernet and used sh /etc/netstart iwm0 to restart the
network it worked fine.

then i followed the instructions on faq to setup a trunk interface.

I created the files
/etc/hostname.re0 that contains:
"up"

/etc/hostname.iwm0 that contains:
"nwid (ssid)
wpakey (wpa psk)
wpaakms (psk)
up"

and /etc/hostname.trunk0 that contains:

"trunkproto failover trunkport bge0
trunkport iwn0
dhcp"


Ethernet and wifi doesn't work i reboot my laptop and instead of the
desktop i ended up in command line. ethernet and wifi  still don't
work.

i attach the output of dmesg -s and dmesg

In dmesg i get messages like these

"arp: attempt to overwrite entry for 192.168.1.1 on re0 by
c8:3a:35:20:3c:d8 on iwm0
arp: attempt to add entry for 192.168.1.1 on re0 by 74:a7:8e:c4:f2:ec on trunk0
arp: attempt to add entry for 192.168.1.1 on re0 by 74:a7:8e:c4:f2:ec on trunk0
arp: attempt to add entry for 192.168.1.1 on re0 by 74:a7:8e:c4:f2:ec on trunk0
"
i search the man pages and i got this:
"arp: attempt to add entry for %s on %s by %s on %s
This usually indicates there is more than one interface connected to
the same hub, or that the networks have somehow been short-circuited
(e.g. IPs that should have been present on interface one are present
on interface two)."
I didn't find how to fix it.

Thank you for your help.

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg.out]

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg2.out]

Reply via email to