@frank-w wrote:
Hi,
Ryder Lee wrote a mt7615-driver and i have it integrated into my 4.19-branches for testing.
R64: https://github.com/frank-w/BPI-R2-4.14/tree/4.19-r64-main (binary-package on github-releases)
- tested till wlan0-device is visible and readable via “iw”
R2: https://github.com/frank-w/BPI-R2-4.14/tree/4.19-mt7615 (binary-package on my gdrive…
- currently untested
you’ll find firmware on github in utils/firmware which needs to be copied to BPI-ROOT/lib/firmware (+reboot)
for 5g-testing here are the steps to do additionally to 2.4ghz: BPI-R64 Kernel-Development
i currently can test only on r64 (pcie-card) because my card is too large for r2 (bend over coils next to pcie-slot) and i have mt7612 mounted on it for testing 4.19 driver (openwrts mt76 is currently broken for this chip)
debian stretch-images (without this specific kernel) for r2/r64 are also on my gdrive
1 part i see is missing mac-address on wifi-device (00:00:00:00:00:00)
added this to my /etc/network/interfaces followed by “service networking restart”
auto wlan0 allow-hotplug wlan0 iface wlan0 inet static pre-up ip link set $IFACE address 02:01:02:03:04:08 up address 192.168.18.1 netmask 255.255.255.0
currently i hang on bring wlan0 up:
root@bpi-r64:~# ip link set wlan0 up root@bpi-r64:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 96:25:92:fe:cc:e8 brd ff:ff:ff:ff:ff:ff inet 192.168.0.18/24 brd 192.168.0.255 scope global eth0 valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether b6:41:9e:e2:7a:c7 brd ff:ff:ff:ff:ff:ff 4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 02:01:02:03:04:08 brd ff:ff:ff:ff:ff:ff inet 192.168.18.1/24 brd 192.168.18.255 scope global wlan0 valid_lft forever preferred_lft forever
if interface is down, i cannot start hostapd
config for dnsmasq (not yet used):
interface=wlan0 no-dhcp-interface=eth0 no-dhcp-interface=eth1 dhcp-range=wlan0,192.168.18.100,192.168.18.150,255.255.255.0,48h dhcp-option=wlan0,3,192.168.18.1
/etc/hostapd/hostapd_mt7615_pcie.conf
interface=wlan0 driver=nl80211 ssid=126test hw_mode=g channel=1 ieee80211n=1
root@bpi-r64:~# hostapd -dd /etc/hostapd/hostapd_mt7615_pcie.conf
Posts: 13
Participants: 2