|  | @@ -180,11 +180,14 @@ function start {
 | 
	
		
			
			| 180 | 180 |      # avahi on ipv6
 | 
	
		
			
			| 181 | 181 |      sed -i 's|use-ipv4=.*|use-ipv4=no|g' /etc/avahi/avahi-daemon.conf
 | 
	
		
			
			| 182 | 182 |      sed -i 's|use-ipv6=.*|use-ipv6=yes|g' /etc/avahi/avahi-daemon.conf
 | 
	
		
			
			|  | 183 | +    sed -i 's|#disallow-other-stacks=.*|disallow-other-stacks=no|g' /etc/avahi/avahi-daemon.conf
 | 
	
		
			
			|  | 184 | +    sed -i 's|disallow-other-stacks=.*|disallow-other-stacks=no|g' /etc/avahi/avahi-daemon.conf
 | 
	
		
			
			|  | 185 | +    sed -i 's|#publish-a-on-ipv6=.*|publish-a-on-ipv6=yes|g' /etc/avahi/avahi-daemon.conf
 | 
	
		
			
			|  | 186 | +    sed -i 's|publish-a-on-ipv6=.*|publish-a-on-ipv6=yes|g' /etc/avahi/avahi-daemon.conf
 | 
	
		
			
			| 183 | 187 |      systemctl restart avahi-daemon
 | 
	
		
			
			| 184 | 188 |  
 | 
	
		
			
			| 185 | 189 |      systemctl daemon-reload
 | 
	
		
			
			| 186 | 190 |      systemctl enable bmx6
 | 
	
		
			
			| 187 |  | -    systemctl start bmx6
 | 
	
		
			
			| 188 | 191 |  
 | 
	
		
			
			| 189 | 192 |      # NOTE: Don't connect the secondary wifi device. hostapd will handle that by itself
 | 
	
		
			
			| 190 | 193 |  
 | 
	
	
		
			
			|  | @@ -213,6 +216,7 @@ function start {
 | 
	
		
			
			| 213 | 216 |      sed -i "s|server_name .*|server_name ${HOSTNAME}.local;|g" /etc/nginx/sites-available/git_ssb
 | 
	
		
			
			| 214 | 217 |  
 | 
	
		
			
			| 215 | 218 |      systemctl restart nginx
 | 
	
		
			
			|  | 219 | +    systemctl restart bmx6
 | 
	
		
			
			| 216 | 220 |  
 | 
	
		
			
			| 217 | 221 |      verify
 | 
	
		
			
			| 218 | 222 |  
 | 
	
	
		
			
			|  | @@ -296,7 +300,7 @@ case "$1" in
 | 
	
		
			
			| 296 | 300 |          start
 | 
	
		
			
			| 297 | 301 |          ;;
 | 
	
		
			
			| 298 | 302 |      ping)
 | 
	
		
			
			| 299 |  | -        ping -v -6 $2
 | 
	
		
			
			|  | 303 | +        ping6 -v $2
 | 
	
		
			
			| 300 | 304 |          ;;
 | 
	
		
			
			| 301 | 305 |      data)
 | 
	
		
			
			| 302 | 306 |          bmx6 -lc traffic=$IFACE
 |