kopia lustrzana https://github.com/cyoung/stratux
				
				
				
			
							rodzic
							
								
									4928f9526b
								
							
						
					
					
						commit
						8b85b41342
					
				| 
						 | 
				
			
			@ -2,9 +2,12 @@
 | 
			
		|||
#  Auto-detect common USB stratux peripherals.
 | 
			
		||||
 | 
			
		||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", SYMLINK+="vk172"
 | 
			
		||||
 | 
			
		||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a6", SYMLINK+="vk162"
 | 
			
		||||
 | 
			
		||||
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="bu353s4"
 | 
			
		||||
# pl2303 devices are indistinguishable using idVendor and idProduct.
 | 
			
		||||
#  Currently the BU-353-S4 and the TU-S9 (serialout) use the pl2303.
 | 
			
		||||
 | 
			
		||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="tu-s9"
 | 
			
		||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="prolific%n"
 | 
			
		||||
 | 
			
		||||
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="bu353s4"
 | 
			
		||||
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="tu-s9"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,6 +57,9 @@ cp -f isc-dhcp-server mnt/etc/default/isc-dhcp-server
 | 
			
		|||
#sshd config
 | 
			
		||||
cp -f sshd_config mnt/etc/ssh/sshd_config
 | 
			
		||||
 | 
			
		||||
#udev config
 | 
			
		||||
cp -f 10-stratux.rules mnt/etc/udev/rules.d
 | 
			
		||||
 | 
			
		||||
#stratux files
 | 
			
		||||
cp -f ../libdump978.so mnt/usr/lib/libdump978.so
 | 
			
		||||
cp -f ../linux-mpu9150/libimu.so mnt/usr/lib/libimu.so
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,6 +28,7 @@ cp image/bashrc.txt work/bin/
 | 
			
		|||
cp image/modules.txt work/bin/
 | 
			
		||||
cp image/stxAliases.txt work/bin/
 | 
			
		||||
cp image/hostapd_manager.sh work/bin/
 | 
			
		||||
cp image/10-stratux.rules work/bin/
 | 
			
		||||
 | 
			
		||||
#TODO: librtlsdr.
 | 
			
		||||
cd work/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,6 +21,9 @@ cp -f config.txt /boot/config.txt
 | 
			
		|||
#modprobe.d blacklist
 | 
			
		||||
cp -f rtl-sdr-blacklist.conf /etc/modprobe.d/
 | 
			
		||||
 | 
			
		||||
#udev config
 | 
			
		||||
cp -f 10-stratux.rules /etc/udev/rules.d
 | 
			
		||||
 | 
			
		||||
#go setup
 | 
			
		||||
cp -f bashrc.txt /root/.bashrc
 | 
			
		||||
cp -f stxAliases /root/.stxAliases
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue