Switching off WiFi and/or blacklisting the WiFi kernel module can save some interrupts and lead to less xruns.
But in rooms where you don't have any LAN socket you might need a way to access your home network and the Internet.
No problem. A cheap WiFi router with OpenWRT can act as a bridge, being a WiFi client on your Internet router (or one of your WiFi access points) and providing a bridged LAN for your audio PC.
See https://openwrt.org/docs/guide-user/net ... figuration
Works fine for me. Even with ipv6.
Caveat: you can't access the bridge router from the bridged LAN since the router sends its answer always out to WiFi.
Switching off WiFi when there is no LAN
Moderators: MattKingUSA, khz
- bluebell
- Established Member
- Posts: 1924
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 112 times
- Been thanked: 119 times
Switching off WiFi when there is no LAN
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Switching off WiFi when there is no LAN
Can it withstand without xruns?
Code: Select all
nice -n 19 stress-ng --iomix 8 --ionice-class idle --cpu 8 -t 5m
- magicalex
- Established Member
- Posts: 193
- Joined: Sun Jan 24, 2016 6:34 pm
- Has thanked: 130 times
- Been thanked: 7 times
- Contact:
Re: Switching off WiFi when there is no LAN
I've found that simply stopping network manager from scanning for networks by running
eliminates most xruns while still being able to use wifi.
Code: Select all
sudo killall -STOP NetworkManager
Various Guitarix bits and pieces here: https://youtube.com/playlist?list=PLt_SkqlUjG1LSjcd2SfTIjE1c24OLw7GA
- bluebell
- Established Member
- Posts: 1924
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 112 times
- Been thanked: 119 times
Re: Switching off WiFi when there is no LAN
Sure.crocket wrote:Can it withstandwithout xruns?Code: Select all
nice -n 19 stress-ng --iomix 8 --ionice-class idle --cpu 8 -t 5m
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Switching off WiFi when there is no LAN
If you want a compact setup, adding a bulky WiFi router to a machine is suboptimal.
I'd rather
I'd rather
- choose a functional WiFi dongle that can be easily interrupted or uses DMA to bypass CPU
- use either CONFIG_RT_SCHED_GROUP or CONFIG_PREEMPT_RT_FULL.