Penguin
Diff: WooshWireless
EditPageHistoryDiffInfoLikePages

Differences between version 12 and predecessor to the previous major change of WooshWireless.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Thursday, June 16, 2005 11:21:35 am by TomHibbert Revert
Older page: version 10 Last edited on Thursday, June 16, 2005 10:20:43 am by CriggieCriggie Revert
@@ -14,11 +14,11 @@
 tender for in the Project Probe broadband initiative when it became 
 obvious that they would be unable to fulfill the contract. 
  
 ---- 
-!! How to configure a Woosh USB Modem under Linux 
+!! How to configure a Woosh Modem using the Ethernet cable under Linux 
  
-Use the ethernet connection, I don't know of a way to make the USB connection work. These modems speak PPPoE. The following instructions are for Debian Woody. 
+ These modems speak PPPoE. The following instructions are for Debian Woody. 
  
 <verbatim> 
  apt-get install pppoe 
 </verbatim> 
@@ -53,8 +53,66 @@
 </verbatim> 
  
 And you should be away. 
  
+!! How to configure a Woosh modem using the USB cable under Linux  
  
+For this to work you almost certainly need a recent 2.6 kernel with ipw either available as a module or compiled into the kernel. This works out of the box with Ubuntu Hoary, just plug it in and you will see in dmesg the ipw driver loaded. It'll allocate you a usb tty:  
  
+<verbatim>  
+Jun 16 10:34:49 localhost kernel: ohci_hcd 0000:00:02.1: wakeup  
+Jun 16 10:34:49 localhost kernel: usb 2-3: new full speed USB device using ohci_hcd and address 5  
+Jun 16 10:34:50 localhost kernel: usb 2-3: configuration #1 chosen from 2 choices  
+Jun 16 10:34:50 localhost kernel: ipwtty 2-3:1.0: IPWireless converter converter detected  
+Jun 16 10:34:50 localhost kernel: usb 2-3: IPWireless converter converter now attached to ttyUSB0  
+</verbatim>  
+  
+Create a ppp peer for woosh, by creating the file /etc/ppp/peers/woosh:  
+  
+<verbatim>  
+noipdefault  
+/dev/ttyUSB0  
+115200  
+defaultroute  
+usepeerdns  
+lcp-echo-interval 60  
+lcp-echo-failure 3  
+connect "/usr/sbin/chat -v -f /etc/chatscripts/woosh"  
+noauth  
+persist  
+mtu 1400  
+user "username@woosh.co.nz"  
+maxfail 0  
+deflate 15  
+</verbatim>  
+  
+Create the chat script /etc/chatscripts/woosh:  
+<verbatim>  
+TIMEOUT 30  
+ABORT "NO CARRIER"  
+ABORT "BUSY"  
+ECHO ON  
+SAY "Dialling w00sh...\n"  
+"" \rAT  
+"OK-+++\c-OK" ATH0  
+OK ATZ  
+OK AT+CGDCONT=1,"PPP","woosh.co.nz","username@woosh.co.nz,foobar",0,0  
+OK ATD*99#  
+SAY "Waiting up to 30 seconds for connection ... "  
+CONNECT ""  
+SAY "Connected..."  
+</verbatim>  
+  
+Note the double handling of the username/password, both in the chat script and in chap. This is almost certainly unnescessary but seems to simulate the Windows ipw software configuring the modem. You can probably get away with putting garbage in the chat script.  
+  
+Make an entry to chap-secrets as above with your username and pass.  
+<verbatim>  
+username@woosh.co.nz * pass *  
+</verbatim>  
+Then use pon to initiate the connection  
+<verbatim>  
+pon woosh  
+</verbatim>  
+  
+These notes came from the original author of ipw, [r0dent heavy industries|http://rodent.za.net/MyLinuxDrivers].  
 ---- 
 CategoryCompany