mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	hostapd fails to start if wifi connected to wan
This commit is contained in:
		
							parent
							
								
									8ff0542200
								
							
						
					
					
						commit
						47f1269563
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,8 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
 | 
			
		||||
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
 | 
			
		||||
# shut down wlan0 in case connected to network
 | 
			
		||||
ip link set wlan0 down
 | 
			
		||||
systemctl enable hostapd
 | 
			
		||||
#systemctl enable dnsmasq
 | 
			
		||||
systemctl daemon-reload
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue