home » howto » install ipcop firewall » huawei e220 3g usb modem
These are my own personal notes, they relate to a UK Vodafone install, you would need to alter instructions for your location and telco.
Following a failure of our Internet connection, I hastily cobbled together a new proxy server using my 3G modem. The reason I did not simply add the modem to our existing IPCop solution, was because IPCop currently only supports a single Red/WAN interface. The IPCop FAQs specifically warn against attempting multiple interfaces.
There were many instructions on the Internet, but in reality it proved to be quite straightforward. I followed these instructions, varying them slightly for Vodafone:
This was tested on IPCOP version 1.4.18, older versions may not work.
When building your IPCOP, you need to set the IPCOP to use a network adaptor for the Green Interface and a Modem to use as the Red Interface.
From the command prompt logged on as root on the IPCOP you need to edit the /etc/modules.conf file.
# nano /etc/modules.conf
Add the following lines at the bottom:
alias char-major-188 usbserial options usbserial vendor=0x12d1 product=0x1003 maxSize=4096
Then save the file and access (Press CTRL + O and press enter then press CTRL + X).
Log onto the web console and choose the Network menu and Modems. Change INIT to:
AT+CGDCONT=16,"IP","internet"
Now select Dial-Up.
Interface = "Modem on USB0" Enter Number = "*99#" Username = internet Password = internet Authentication method = PAP DNS = Automatic Profile name = Vodafone
Press .
Connect your 3G modem into the IPCOP box and reboot.
You should now be able to connect to the net using your 3G dongle.
Hey all i followed the steps word for word and when i restart my IPCOP Firewall it just doesnt boot Help Please as i have followed your steps muliple times and still no luck please guys help would be greatly appreciated or any guidance Thanky you and god bless
Hi m8 nice post it worked 1st time. How did you get round it connecting at 200kb instead of the 7.2mb? Im sure its to do with the Modem baud rate setting in IPCOP but they are on a dropdown list and i havent found a way of tweeking the connection speed. ta Carl
Yes, I also have found that on occasion it will not boot. I can only imagine that there is a bug in the hardware driver module. Generally rebooting does work. Obviously for me this was not an issue as it was only a temporary installation.
I have a huawei umg181 modem, and with a few modifications changed the product code to 0x1414 and my init string is different, I am able to connect to the internet through my home network a few seconds after plugging the usb dongle in, however as Carl mentioned, i'm unable to break through 250kb/s download speed. It's just not useable this way, and I too think that the baud rate is likely the issue too much of a coincidence that the highest option in the pulldown is approx 200kb. Anyone know what file the gui is editing? maybe it can be manually edited with nano