LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 02-08-2008, 05:40 AM   #1
miriam.oriordan
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Vodafone 3G Broadband modem and Linux.


Hi All,

Does anybody know of any issues regarding Vodafone 3G Broadband and Linux? On the Vodafone website they say that you need Windows XP/Vista to use their Broadband modem. More than likely my laptop will have a dualboot (Vista and Linux).

Thanks,
Miriam
 
Old 02-08-2008, 09:32 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Do you know what type of modem the Vodafone 3G card uses? I have a 3g USB modem (huawei e220) from Three UK and it works perfectly fine in openSUSE.
 
Old 02-14-2008, 10:15 AM   #3
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
so far I'd try 2 kind of model, it work. Which model u use?
 
Old 02-18-2008, 10:28 AM   #4
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
Quote:
Originally Posted by reddazz View Post
Do you know what type of modem the Vodafone 3G card uses? I have a 3g USB modem (huawei e220) from Three UK and it works perfectly fine in openSUSE.
Hi Reddazz,

I'm seriously thinking of getting one of these things but I really want to be able to use it on linux.

I have done alot of searching for instructions to get these to work on linux but I haven't been able to find anything useful. Please can you tell me how you managed to do this? And are you using the USB or the PCMCIA one? I think you can only get USB ones.

I used to use openSUSE but now I'm on fedora. I can't see things being emormously different though.

Thanks for your help.

Tim.

PS: The ones I was looking at are these ones: http://threestore.three.co.uk/broadband/
 
Old 02-18-2008, 11:37 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
timnp, the modem I have is the usb type modem. If you plug it into a Linux system and run dmesg, its recognised as Huawei E220 USB modem. Mine is attached to /dev/ttyUSB0, so you can just configure it like a normal modem. I managed to get it working by configuring it in YAST and then using kinternet to dial out. An alternative that works is to use kppp to configure the modem and dial out. If it works on openSUSE 10.3, it should work on Fedora and if you experience any problems, just start a thread here (and email me with the link to the thread), so that we can fix any issues.

Last edited by reddazz; 02-18-2008 at 11:39 AM.
 
Old 02-18-2008, 05:27 PM   #6
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
Thanks

Think I'm going to order one of these tomorrow.
 
Old 02-19-2008, 03:23 AM   #7
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
Yes definitely going to get one now as I have 14 days right of return if it is unused and they'll still accept it back if it is used but not for more than three consecutive days, can't go wrong can it...
 
Old 02-19-2008, 09:59 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by timnp View Post
Yes definitely going to get one now as I have 14 days right of return if it is unused and they'll still accept it back if it is used but not for more than three consecutive days, can't go wrong can it...
Yes, thats why I bought mine as well. I thought, I will just try it and if it does not work just return it. Anyway, I managed to get it up and running in just a few minutes which was great.
 
Old 02-19-2008, 12:25 PM   #9
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
This is good info to know. I actually wanted to get one of these as well, but the brochure didn't mention it working with Linux, so I went for another that said it specifically works with Linux (also make by huawei).
 
Old 02-21-2008, 03:41 AM   #10
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
Right.

So I plugged it into my fedora laptop and it creates two new devices. /dev/ttyUSB0 and /dev/ttyUSB1 . It also pops up asking me when I want to do with the new CD drive I just plugged in. (For those that don't know, these devices also imitate a CD drive with all the files/drivers so that windows users can use the device with little hassle. I unmounted this CD drive).

Next I edited /etc/wvdial.conf so that it reads like this...

Quote:
[Dialer hsdpa]
Phone = *99***1#
Username = three
Password = password
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 = AT+CGDCONT=1,"IP","three.co.uk";
(I will experiment with various bauds once its all working)

Then, as root user, I run

"wvdial hsdpa"

and it connects. At least, I think it connects.

The wvdial command never actually terminates, it gives lots of output generally indicating that things are good and what the various dns, gateway and local IPs are but then stops. I'm probably meant to run it as a deamon.

When I do "ifconfig", a new ppp0 device is listed (again, at least I think its new, I don't ever remember seeing it before).

My problem now is that I don't know how to actually get my traffic routed over the ppp0 device, it tries to be using my wlan0 even if I use the switch on the side of my laptop to turn it off. So how do I get the traffic to be routed over ppp0?

Am I right using wvdial to do this or is there a better way? I will still need to get the traffic routed properly.

The network device manager on my laptop is an interesting thing as it lists eth0, ppp0 and ppp1. When I try to activate or deactivate any of these it always fails and wlan0 isn't listed in there at all! For this reason, I would like to try and do things from the command line if at all possible.

Thanks for your help,

Tim.
 
Old 02-21-2008, 05:33 AM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I personally got rid of network manager because it gave me nothing but grief. For dialing out using my 3 USB modem, I am currently using KPPP and have not problems.
 
Old 02-21-2008, 06:28 AM   #12
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
Thanks, I will try that. Will the traffic be routed properly? I read I might need to check the routes with:

route -n

and then maybe modify them with something like

sudo route add default gw 10.64.64.64

I'm at work at the moment so will try these things when I get home tonight.
 
Old 02-21-2008, 08:56 AM   #13
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I didn't have to tamper with the routing. I just configured kppp with the dialup number (which is *99#), the authentication type (chap) and details of the modem (/dev/ttyUSB0) and I was good to go. Everything else was left as default.
 
Old 02-21-2008, 02:32 PM   #14
timnp
Member
 
Registered: Feb 2008
Location: London
Distribution: FC8, FC9, Centos 4, Centos 5, Knoppix
Posts: 52

Rep: Reputation: 16
Thanks.

KPPP worked a charm. Posting this message from the three network now

It's a little slower than I was hoping for though to be fair I havent tried altering the baud rate yet. But hey, it works so i'm happy.

Thanks for all your help!
 
Old 02-22-2008, 06:23 PM   #15
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by timnp View Post
Thanks.

KPPP worked a charm. Posting this message from the three network now

It's a little slower than I was hoping for though to be fair I havent tried altering the baud rate yet. But hey, it works so i'm happy.

Thanks for all your help!
I'm glad you got it working. I found using kppp to setup the modem to be pretty painless compared to some of the methods that were being suggested on some sites I had visited prior to purchasing the modem.
 
  


Reply

Tags
e220


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install the Sprint Broadband USB Modem in Linux? william2 Linux - Newbie 4 08-02-2011 10:37 AM
Linux Newbie - AOL on NTL Broadband (Cable Modem) - Fedora Core 5 KJPAYCE Linux - Newbie 8 05-25-2006 07:29 AM
How i can configure my broadband modem in linux red hat 9 babuu Linux - Hardware 1 11-15-2005 05:22 AM
Unable to establish GPRS link with Vodafone via GSM modem stuckfast Linux - Networking 1 11-13-2005 04:48 AM


All times are GMT -5. The time now is 08:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration