scope of document
To help support the Thomson (Alcatel) Speedtouch 330 USB Modem, a popular first
choice bundled modem for many ADSL connections with Smoothwall 2.0 beta 5 Internet
firewall/router.
As such this document is to help support any users having trouble dialing up into their ISP with the above
combination of products.
It is not intended to be a final fix to the above solution just a work around to help get many
users up and running. It has also not been tested with any other version of the speedtouch or smoothwall
by myself so far. If you have any comments on trying it with others please let me know.
prerequisites
To help you use this document you must have the following:
- An installation of Smoothwall 2.0 beta 5 pre-installed.
- A Speedtouch 330 modem for testing at the end of this document.
- The tools and downloads to the right downloaded and ready to hand.
- Network connection working between Smoothwall and host PC
- Smoothwall SSH turned on in Smoothwall admin pages
uploading files to the correct place
After downloading the pppoa3 and modem_run binaries (many thanks to Keith Jenkinson) we need to get them into the relevant places onto the Smoothwall box
with the correct permissions.
- Using SSHWin Client v3.0 if you are using Windows otherwise use another SSH file transfer utility to log in to your smoothie as root and copy modem_run and pppoa3 to your root directory.
- Then login to your Smoothie using putty.exe if your on windows, by using your favourite SSH client on other machines by entering in your smoothie IP address and using port 222.
- Check the files are in the root by using command: ls -l. If they are not there try uploading them again or checking that you have put them into the right place
- Now that we have the files uploaded we need to get the old files out of the way. Change to /usr/local/bin by using the command: cd /usr/local/bin
- We will now rename the old files, using the command: mv pppoa3 pppoa3.old then mv modem_run modem_run.old
- Now we move the new files into place, using the command: cp /root/pppoa3 . then cp /root/modem_run . - not forgetting the period
- Check the files are there again (ls)
- Lastly we have to change permissions on the files to those used on the old ones. Use the command: chmod --reference=pppoa3.old pppoa3 then chmod --reference=modem_run.old modem_run
- Check the permissions are the same as the old files using command: ls -l
editing ppp-on
We need to edit the ppp-on file to insert "'-e1'," the new parameter required by these versions of Speedtouch 330. Again thanks to Keith for this information.
- Hopefully you are still logged into your Smoothie by SSH, if not log in again now.
- At the command prompt type: vi /etc/ppp/ppp-on to edit the relevant file.
- Now type (it won't be echo'd on the screen, and remember unix is case sensitive) 232G this will take us to line 232.
- Replace line 232 so that it looks like this:
my @pppoacommand = ('/usr/local/bin/pppoa3','-e1','-vpi',$usbadslsettings{'VPI'},'-vci',$usbadslsettings{'VCI'});
- You do this by inserting "'-e1'," by changing to insert mode (type I) and placing it in the relevant place as in the example above.
- Press Esc to exit insert mode then type :wq to save and exit the file
upload mgmt.o
We now need to upload the mgmt.o file that legally can not be distributed by smoothwall, but is need for speedtouch adsl modems
- Unpack the speedmgmt.gz.tar using your favourite decompression tool.
- Log in to the https(web) interface for smoothwall, select the maintenance tab and then selecting the alcatel firmware upload screen.
- Using the interface browse for the mgmt.o file and upload.
configure dialup
The last step is to configure the DSL dialup
- Using the https (web) interface for select the networking tab and then the ppp settings screen
- Type in a profile name of your choice
- Select the Telephony interface to be USB ADSL
- Select Computer to Modem rate 115200
- Check "persistent connection"
- Check "Connect on SmoothWall restart"
- The enter your Authentication settings
- Enter PAP or CHAP as the method of authentication
- Then enter your DNS if needed by your ISP
- Save and then reboot your smoothwall
the end!
And now upon reboot of your smoothwall you should have a fully working smoothwall that will route your internet traffic (don't forget to reconfigure your internet settings on your local network.