<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all,</div><div><br></div><div>Thanks to Neil Brown for telling me to use /dev/ttyHS_Control, which works a treat (I was working from an old email posted to this list which said to use /dev/ttyHS3).</div><div><br></div><div>Please find attached 2 scripts - one for starting internet access and the other for stopping it. They need an additional hack for reseting the nameserver when using usb0 which I'll leave up to individuals to sort out (backup /etc/resolv.conf and then restore or hardcode the nameserver ip address into the script and blitz /etc/resolv.conf). The scripts are rough and ready as at some stage I am sure there will be a better solution.<br></div><div><br></div><div>You will need to install ser2net and expect:</div><div><br></div><div>apt-get install ser2net</div><div>apt-get install
expect</div><div><br></div><div>You will then need to modify the ser2net config file at /etc/ser2net.conf as follows (keep banner, comment default serial port configs and add /dev/ttyHS_Control) and then restart it (/etc/init.d/ser2net stop|start):</div><div><br></div><div>BANNER:banner:\r\nser2net port \p device \d [\s] (Debian GNU/Linux)\r\n\r\n<br><br>#2000:telnet:600:/dev/ttyS0:9600 8DATABITS NONE 1STOPBIT banner<br>#2001:telnet:600:/dev/ttyS1:9600 8DATABITS NONE 1STOPBIT banner<br>#3000:telnet:600:/dev/ttyS0:19200 8DATABITS NONE 1STOPBIT banner<br>#3001:telnet:600:/dev/ttyS1:19200 8DATABITS NONE 1STOPBIT banner<br>127.0.0.1,3002:telnet:600:/dev/ttyHS_Control:115200 8DATABITS NONE 1STOPBIT -RTSCTS -HANGUP_WHEN_DONE -XONXOFF banner</div><div><br></div><div>Hope this is of some help to someone,</div><div><br></div><div>Kev<br></div><div><br></div></div></body></html>