mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	add a proto handler for sierra wireless directip modems Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42465
		
			
				
	
	
		
			17 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
opengt
 | 
						|
set com 115200n81
 | 
						|
set comecho off
 | 
						|
set senddelay 0.05
 | 
						|
waitquiet 1 0.2
 | 
						|
 | 
						|
:start
 | 
						|
 send "AT!SCACT=0,3^m"
 | 
						|
 waitfor 5 "OK"
 | 
						|
 if % = 0 goto hangupok
 | 
						|
 print "WWAN error. Hangup failed.\r\n"
 | 
						|
 exit 1
 | 
						|
 | 
						|
:hangupok
 | 
						|
 print "WWAN connection established.\r\n"
 | 
						|
 exit 0
 |