Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Network card installation
« previous
next »
Print
Pages: [
1
]
Author
Topic: Network card installation (Read 8970 times)
Darkopnsense
Full Member
Posts: 148
Karma: 6
Network card installation
«
on:
January 09, 2020, 09:59:37 pm »
Good evening,
I want to expand the possibilities of my P8B-X.
1) I added a pci wifi card not listed by FreeBSD 12.0-RELEASE hardware
My card is recognized
In console mode
# pciconf -lveV
ath0 @ pci0: 5: 0: 0: class = 0x028000 card = 0x10891a3b chip = 0x002b168c rev = 0x01 hdr = 0x00
vendor = 'Qualcomm Atheros'
device = 'AR9285 Wireless Network Adapter (PCI-Express)'
class = network
But I don't know how to have it recognized by the OPNsense system.
2) I ordered a multi-port Intel Pro / 1000 PT list by hardware FreeBSD 12.0-RELEASE Server board Intel PRO / 1000 PT (82572) driver em (4), I hope that it will be recognized and installed automatic and be able to easily manage it in interfaces.
I am a constructive comment taker.
Regards,
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Network card installation
«
Reply #1 on:
January 10, 2020, 07:36:37 am »
The PCI system enumerates the card correctly by its vendor ID. The kernel has no driver for it so nothing else happens. Everything is working as it should (for sufficiently low values of 'working').
You may have seen all the forum messages about poor results with WiFi cards on FreeBSD so I hope you're not too disappointed ;-)
Bart...
Logged
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Network card installation
«
Reply #2 on:
January 10, 2020, 10:22:52 am »
Hello Bartjsmit,
Thank you for this relevant explanation.
No, I have not yet seen all of the forum posts on wifi cards.
I want to see how to add a lan card after the opnsense installation.
What I don't know, if I insert a freebsd compatible referenced card, will it automatically go up?
Otherwise, I am a process taker in console mode.
What I have read does not seem very obvious to me.
Cordially.
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Network card installation
«
Reply #3 on:
January 11, 2020, 09:08:45 am »
Quote from: Darkopnsense on January 10, 2020, 10:22:52 am
What I don't know, if I insert a freebsd compatible referenced card, will it automatically go up?
Yes indeed, the kernel will bring up the device and assign it a device name. You can assign WAN, LAN and OPTx interfaces to your network devices during installation or assign them from the console and web interface after.
Bart...
Logged
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Network card installation
«
Reply #4 on:
January 11, 2020, 10:24:15 pm »
Hello Bartjsmit,
Thank you for this always relevant explanation.
Cordially.
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Network card installation
«
Reply #5 on:
January 12, 2020, 06:50:19 am »
Be sure to not do this remotely. Sometimes the interface assignments screw up (as FreeBSD don't use UUIDs for NICs) and you have to manually reassign them via the console.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Network card installation
«
Reply #6 on:
January 14, 2020, 02:00:28 pm »
Good evening,
My card is recognized
In console mode
# pciconf -lveV
ath0 @ pci0: 5: 0: 0: class = 0x028000 card = 0x10891a3b chip = 0x002b168c rev = 0x01 hdr = 0x00
seller = 'Qualcomm Atheros'
device = 'AR9285 Wireless Network Adapter (PCI-Express)'
class = network
# ifconfig
ath0_wlan1: flags = 8802 <BROADCAST, SIMPLEX, MULTICAST> metric 0 mtu 1500
ether dc: 85: de: 0f: c8: 99
hwaddr dc: 85: from: 0f: c8: 99
nd6 options = 21 <PERFORMNUD, AUTO_LINKLOCAL>
media: automatic selection wireless IEEE 802.11 Ethernet (automatic selection)
condition: no transporter
ssid "" channel 1 (2412 MHz 11b)
regdomain 96 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7
scanvalid 60 wme burst bintval 0
groups: wlan
I would like to know the command line to change the status status: No carrier.
The other peripherals have the status either up or down.
Regards,
«
Last Edit: January 14, 2020, 04:09:22 pm by Darkopnsense
»
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Network card installation
«
Reply #7 on:
January 14, 2020, 02:31:18 pm »
Hello again,
i followed cd post
https://forum.opnsense.org/index.php?topic=5066.msg20242#msg20242
no change, any idea?
Aside from reporting that Freebsd does not handle wifi well.
Regards,
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
Darkopnsense
Full Member
Posts: 148
Karma: 6
Re: Network card installation
«
Reply #8 on:
January 14, 2020, 04:05:33 pm »
Hello,
It is active but in minimum protocol.
ath0_wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether dc:85:de:0f:c8:99
hwaddr dc:85:de:0f:c8:99
inet6 fe80::de85:deff:fe0f:c899%ath0_wlan1 prefixlen 64 scopeid 0x7
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b <adhoc>
status: running
ssid Dangosse channel 10 (2457 MHz 11b) bssid 12:a6:92:ca:55:75
regdomain ETSI country FR indoor ecm authmode OPEN privacy OFF
txpower 30 scanvalid 60 burst
groups: wlan
If you have an idea to change the 802.11 b mode to b / g / n recognized and configurable in the web interface.
I take any constructive track, I suppose on the pilot side.
Regards,
Logged
Depuis 2017
X7SPA-HF, Intel(R) ATOM(TM) D525, 4Go RAM, 120Go, 2 Lan 24.1.2_1
APU4c, 4Go RAM, 120Go, 4 Lan 24.1.10_8
APU3a, 2Go RAM, 60Go, 3 Lan 24.1.2_1
APU2c, 2Go RAM, 60Go, 3 Lan 23.7.1_3
BIOS A JOUR (v4.19.0.1).
monstermania
Hero Member
Posts: 524
Karma: 47
Re: Network card installation
«
Reply #9 on:
January 15, 2020, 08:42:59 am »
Hi,
look at this sticky note for internal wifi devices and OPNsense:
https://forum.opnsense.org/index.php?topic=6886.0
I used internal wifi with OPNsense 15.x - 17.x. I suggest you to use an external ap for wifi! Internal wifi is PITA due the bad driver support for FreeBSD.
good luck
Dirk
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Network card installation