PDA

View Full Version : VMC on Ubuntu



Lucasg
10-09-2009, 08:20 PM
I recently got a copy of Ubuntu 9.04. I'm running it on SUN Virtual box and it all works fine. I just started playing around with it and though its quite an exciting prospect, I fear frustration might get the better of me.:confused::cool::eek::mad:

Im trying to insall VMC but no luck. I've successfully installed both the usb-modeswitch and and ozerocdoff .deb files.
I get 1 of 2 errors when trying to install the VMC .deb file: Either there is no such file or I need superuser privs.

I have found: 'If you get a “Failed to load application: [Errno 2] No such file or directory: ‘/home/hector/.vmc2/vmc.cfg’” error when running the application, you’ll need to create a default configuration file for Vodafone Mobile Connect:' online with instuctions on how to create the default but have not tried it yet.

Before I do, is there anyone on this board who has done it and am i going in the right direction if you have? I've never used linux before so if its a dumb question soz.

Tassidar
10-09-2009, 08:27 PM
I recently got a copy of Ubuntu 9.04. I'm running it on SUN Virtual box and it all works fine. I just started playing around with it and though its quite an exciting prospect, I fear frustration might get the better of me.:confused::cool::eek::mad:

Im trying to insall VMC but no luck. I've successfully installed both the usb-modeswitch and and ozerocdoff .deb files.
I get 1 of 2 errors when trying to install the VMC .deb file: Either there is no such file or I need superuser privs.

I have found: 'If you get a “Failed to load application: [Errno 2] No such file or directory: ‘/home/hector/.vmc2/vmc.cfg’” error when running the application, you’ll need to create a default configuration file for Vodafone Mobile Connect:' online with instuctions on how to create the default but have not tried it yet.

Before I do, is there anyone on this board who has done it and am i going in the right direction if you have? I've never used linux before so if its a dumb question soz.

Quite honestly, I would recommend you avoid VMC like the plague. I used the Windows version and found it to be bloatware, and I tried the Linux version to no avail. UNR should be able to connect to the internet with just about any USB modem, so drivers shouldn't be an issue.

VodacomData
11-09-2009, 07:21 AM
Have a look Linux Help (http://mybroadband.co.za/vb/forumdisplay.php?f=151)

Lucasg
11-09-2009, 08:59 AM
Quite honestly, I would recommend you avoid VMC like the plague. I used the Windows version and found it to be bloatware, and I tried the Linux version to no avail. UNR should be able to connect to the internet with just about any USB modem, so drivers shouldn't be an issue.

Thanks for the reply guys. I actually want to use VMC since that is what i use on all my other OSs. I will have a look at the links and come back with (hopefully) a success.
Thanks again.

Ockie
11-09-2009, 11:06 AM
I just use the network manager in Mint (based on Ubuntu and works exactly the same). Plug in the modem, it asks you a few questions and you ready to go. To monitor my bandwidth I either check it on www.vodacom4me.co.za. Easy peasy. I also tried to install VMC just out of curiosty but could not get it to work. Was not particulary bothered so did not persue it further.

morkhans
11-09-2009, 12:23 PM
The other problem you are going to have is getting the Guest OS to talk to the 3G device. Adding a VM layer in between something you are already unfamiliar with is just going to make troubleshooting it so much more difficult.

Lucasg
12-09-2009, 03:43 PM
Sun Virtual box is actually quite good in that way. Im running Windows 2007 on there as well and have no problem connecting to any usb devices.

Ive not had time to play arround with it again as yet but Ill prob do so early next week.

Lucasg
12-09-2009, 03:46 PM
I just use the network manager in Mint (based on Ubuntu and works exactly the same). Plug in the modem, it asks you a few questions and you ready to go. To monitor my bandwidth I either check it on www.vodacom4me.co.za. Easy peasy. I also tried to install VMC just out of curiosty but could not get it to work. Was not particulary bothered so did not persue it further.

Im sure there are loads of alternatives but i like a bit of a challenge. :D

kingrob
12-09-2009, 03:55 PM
I think I am getting old, but its just so much easier with a B970 wireless router. :)

Lucasg
13-09-2009, 12:54 PM
I think I am getting old, but its just so much easier with a B970 wireless router. :)

All good and well provided you happen to have one.:D
I dont. I got the E220 to work and it seems fine. I configured the connection manually though. I still am unable to install the vodafone-mobile-connect_2.10.01-1_all.deb file and a big red Error: Dependency is not satisfiable: python-sqlite.
Ive tried to add more dependancies but still get an error on the python-sqlite.

any ideas?

milomak
25-10-2009, 07:41 AM
Run sudo apt-cache policy python-sqlite in a terminal and post the output here

EDIT: This is how I got VMC working on my Debian install

1. I downloaded the latest usbmodeswitch and the version 1.9 vodafone mobile connect deb files from the betavine website (https://forge.betavine.net/frs/?group_id=12)
2. I went to the download folder and as root, ran dpkg -i usb-modeswitch_0.9.7_i386.deb vodafone-mobile-connect_1.99.17-8_all.deb
3. It spit out a least of dependencies that were missing. These were sorted with aptitude install python-gnome2-extras python-sqlite python-twisted python-tz
4. The above list may not be exhaustive because some other dependencies could have been installed during the course of having previously installed other packages.
5. Step 3 completed the process of installing everything needed.
6. The Vodafone app was visible under Applications --> Internet. This is under Gnome.

Before running the app, make sure your device is being recognised:

lsusb should return something similar to


Bus 001 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

Then you should run ls -la /dev/ttyU* which should return


crw-rw---- 1 root dialout 188, 0 2009-10-25 07:24 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2009-10-25 07:24 /dev/ttyUSB1

If it doesn't, check to see if the usbserial module is loaded - lsmod | grep usbserial. If there is an empty return, then you will need to run modprobe usbserial vendor=0x12d1 product=0x1003. You will notice that the vendor and product numbers are the highlighted numbers in the lsusb output.

Now ls -la /dev/ttyU* should return the expected output. Running Vodafone Connect should pickup your modem now.

Lucasg
19-11-2009, 04:21 PM
soz for taking this long t get back to this post. I got right and it works like a charm. Thanks for all the help!