Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Custom Kernel? Add Wifi-Card
« previous
next »
Print
Pages: [
1
]
Author
Topic: Custom Kernel? Add Wifi-Card (Read 1667 times)
FirstSoul
Newbie
Posts: 36
Karma: 1
Custom Kernel? Add Wifi-Card
«
on:
March 03, 2020, 06:58:20 pm »
Hin there,
i have an Ralink RT5390R and its supported by FreeBSD.
There is only an identification problem.
Look here:
https://forums.freebsd.org/threads/ralink-rt5390r-wifi-in-freebsd.72224/
The Solution:
1. open (/usr/src/sys/dev/ral/if_ral_pci.c) in text editor.
2. put:
{ 0x1814, 0x539b, "Ralink Technology RT5390R" }
in line 104
3. then "cd /usr/src"
4. then run command: make -j4 kernel
5. then put (wlans_ral0="wlan0") in /etc/rc.conf
6. then reboot
7. finally, run command (ifconfig wlan0 create wlandev ral0)
So 1. open (/usr/src/sys/dev/ral/if_ral_pci.c) in text editor.
2. put:
{ 0x1814, 0x539b, "Ralink Technology RT5390R" }
in line 104
3. then "cd /usr/src"
4. then run command: make -j4 kernel
5. then put (wlans_ral0="wlan0") in /etc/rc.conf
6. then reboot
7. finally, run command (ifconfig wlan0 create wlandev ral0)
So /usr/src/sys/dev/ral/if_ral_pci.c is the needed file. So how can i make an costum kernel or add this to opnsense?`
The entry is missing:
https://github.com/opnsense/src/blob/master/sys/dev/ral/if_ral_pci.c
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Custom Kernel? Add Wifi-Card