Initial Setup (using existing network connection)
Stage 1
1. Ensure following packages are installed:
usb_modeswitch
Gnome Network Monitor applet
2. Boot into F9 *without* the stick inserted.
3. Insert the stick and wait for 30 secs. The stick should show a steady green light indicating that the E170 has been
detected in multi-function mode.
4. Go Applications> SystemTools>Terminal.
5. Log in as root and enter:
"/usr/bin/usb_modeswitch -v 12d1 -p 1003 -d 1".
Then enter:
"/usr/bin/usb_modeswitch -v 12d1 -p 1003 -H 1".
If the stick shows a flashing blue light indicating that it has been switched to modem only mode, close the terminal
and continue setup.
Stage 2
Here follows an edited extract from: http://www.greenhughes.com/content/u...rnet-modem-eee
(to whom many thanks) which will automatically switch the E170 into modem mode from the default multi-function mode
whenever F9 is booted.
"...Log in as root and type this to start the VIM text editor: vim /usr/bin/e170_switch
Press the 'i' key to start inputting and type:
#!/bin/sh
/usr/bin/usb_modeswitch -v 12d1 -p 1003 -d 1
/usr/bin/usb_modeswitch -v 12d1 -p 1003 -H 1
To save the file press the ESC key and then enter ':wq' (i.e. write the file and quit).
You now need to tell the PC that this is a program that it can run and not just a text file, so enter:
chmod u+x /usr/bin/e170_switch
At this point we now have a command we can run manually to switch the E170 into modem mode, but what would be ideal is to
get the PC to run this automatically when the unit is plugged in. We can do this by adding a configuration file as
described under the "How to automate" section of the usb_modeswitch documentation. So we need to create a small file to do
this, enter:
cd /etc/udev/rules.d
This brings you to the place where we need to add a file to get the PC to send the switch command automatically. To start
work on the file enter:
vim 70-e170.rules
Press the 'i' key to start inputting and enter:
SUBSYSTEM=="usb" SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/usr/bin/e170_switch"
Press ESC then enter ':wq' to save and quit. Be careful to type this exactly as shown, making sure you enter the right
number of equals signs.
Hopefully by this point your PC should now be capable of using the E170. You might have to reboot, but the next time you
plug the E170 in it should get picked up as a modem and you should be able to use it to create a 3G connection..."
Stage 3
1. Right click Network Monitor icon (two tiled monitor screens) on panel
2. Click Edit Connections
3. Select MobileBroadband and double click +Add.
4. Click on Create a GSM connection.
5.Tick Connect automatically.
6. On Mobile Broadband pane complete following fields:
username: user
password: pass
APN: general.t-mobile.uk
Type: GPRS
7. Click OK then Close. Stick should show flashing blue light.
8. Click Network Monitor icon and select GSM connection radio button. Following message should appear: "Connection established.
You are now connected to the GSM network". Network Monitor panel icon is replaced with an antenna tower icon. Stick should show
steady blue light.
9. Go System> Administration> Network and log in as root.
10. Click on Edit for your existing active network connection. De-select Activate device when computer starts. Tick Allow all
users to enable and disable the device. Click OK. Save and exit.
11. Close down F9.
Post-Setup Usage
1. Plug in stick and boot F9.
2. If stick shows flashing blue light click on Network Monitor panel icon and select GSM connection. If modem shows steady blue
light launch your browser and enjoy.
Outstanding Issues
1. Arising from action taken at Stage 3 para 10. above there is a problem disabling my normal wired connection which can only be
solved by rebooting F9.


Reply With Quote
