mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Example of cdc-ether modem
							parent
							
								
									cfb6134c24
								
							
						
					
					
						commit
						b0acb0ab66
					
				|  | @ -19,3 +19,13 @@ iface wlan0 inet dhcp | |||
|     pre-up (sleep 3; wpa_supplicant -B -Dnl80211 -iwlan0 -c/tmp/wpa_supplicant.conf) | ||||
|     post-down killall -q wpa_supplicant | ||||
| 
 | ||||
| manual usb0 | ||||
| iface usb0 inet dhcp | ||||
|     pre-up echo 9 > /sys/class/gpio/export | ||||
|     pre-up echo out > /sys/class/gpio/gpio9/direction | ||||
|     pre-up echo 0 > /sys/class/gpio/gpio9/value | ||||
|     pre-up modprobe usbserial vendor=0x2c7c product=0x6026 | ||||
|     pre-up modprobe rndis_host | ||||
|     pre-up sleep 10 | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue