openSUSE Forums > Network/Internet » Huawei E220 problems

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 2 of 3 1 2 3
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 04-Jul-2009, 04:11
Parent Penguin
 
Join Date: Jun 2008
Posts: 701
pdc_2 hasn't been rated much yet
Default Re: Huawei E220 problems

hey fallenstar;

do you want to level with us what country you are in, and what you are trying to connect your system to?

deano ferrari is a bit of a gun with wvdial; I am less advanced, and my experience of the Huawei 220 with a vodafone simcard, is it is near automatic:

but we have used several Ubuntu variants for this: eg easy peasy:

insert simcard in Huawei;
right click on network manager; (TV icon on panel)
select mobile broadband;
add;
select country;
select network;
click to finish;
left-click on network manager; select option now set up;
watch connection: (3-6 secs)
now connected;

gosh, that was hard ...........

I confess to trying this on OpenSuse (11.0) and it not being as automated as in Ubuntu ............
Reply With Quote
  #12 (permalink)  
Old 04-Jul-2009, 06:32
stakanov's Avatar
Explorer Penguin
 
Join Date: Jan 2009
Location: Europe
Posts: 171
stakanov 's reputation will be famous soon enoughstakanov 's reputation will be famous soon enoughstakanov 's reputation will be famous soon enough
Default Re: Huawei E220 problems

Quote:
Originally Posted by fallenstar View Post
I don't understand where to paste it in...

the modem does work with network manager, just that I have to connect a number of times.

Is that what the problem with yours was, or did it not work at all? Did you dial both manually and through network manager?

Just want to make sure we have the same problem before changing the innit strings, anything that loses my internet chases me into an internet cafe!

Cheers
I suppose you are refering to me with your question.
First of all, you do not change initstrings ever without backing up the current one. This is done very easy, you just copy and paste the original string in a text file and write down where you did the modification, so you can recall what you did.
For me the symptoms where the follwing: allthough the huawei modem was recognized in automatic by the system, it had problems to connect via network manager. Either it did not correctly connect, or it did and then failed to reach good throughput.
The provider Wind (Italy in my case) was not helpful at all, since they "support only windows".

The setup of a Huawei modem (in my case it was a power-card E620) was like this (I think it is the same for the usb modem:
  • you open yast
  • you go to network devices
  • you will get now a warning that network manager is activated and that some of the settings wll not work bla bla
  • the setting for /dev/modem opens
  • here you have to look how the modem was recognized. With me it was just /dev/modem (while internally it took the name ttyUSB0).
  • You insert the prefix of your provider (this is a setting your provider gave you or that they should give you)
  • you choose the first type of composition (tone) and loudspeaker activated)
  • uncheck the "wait for line signal" box
  • transmission speed should be 115200
  • you check the box: allow for control of non root users via kinternet
  • here I personally took off all the strings and pasted the string from the windows ini into string 1. Left open the other strings that proved to be neither necessary nor helpful.
  • you define the provider and the password and if there is no password you put just a * into the "user name" field and leave the rest open
  • in connection parameters you check everything but the first voice (that is connection on request) and you choose connect manually.
  • Now close everything and create a connection in network manager. It should be registered as ttyusb1
  • you choose new connection with ttyusb0 and put in the phone number indicated by the provider
  • you go on then and find the page connection speed
  • settings are 115200, 8bits, no parity, blocked bit 1, delay 0

You go on up to the name of connection. Everything should be ok now.

Don't forget to backup the initstrings before making modifications (so you are sure that in any case you will not finish in the internetcafé (still there you could meet new people )

Ps. if your problem is just that after a while the line drops, it could be that you do not have a flat but a "time dependent" subscription. When the contractual conditions are like that, often the provider counts for every reconnection 15 minutes of connection time... Therefore they could have a commercial interest in having a connect that drops from time to time.......
Reply With Quote
  #13 (permalink)  
Old 04-Jul-2009, 16:14
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 38
fallenstar hasn't been rated much yet
Red face Re: Huawei E220 problems

Quote:
Originally Posted by deano_ferrari View Post
Hi fallenstar. My ISPs SIM card does the authorisation for me. So, I only require the following in my wvdial.conf:
ok i'm a dingbat, there were ; in front of username and password. Now goes through and has a new error message, here goes:

linux-l9b2:/home/star # wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 &D2 +FCLASS=0
ATQ0 V1 E1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Jul 4 15:24:52 2009
--> Pid of pppd: 4216
--> Using interface ppp0
--> pppd: �/[01]�8�[06][08](�[06][08]
--> pppd: �/[01]�8�[06][08](�[06][08]

--> Disconnecting at Sat Jul 4 15:26:53 2009
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.

man pppd's highly useful explaining of the error code:
16 The link was terminated by the modem hanging up.
/var/log/messages:
Jul 4 15:24:52 linux-l9b2 pppd[4216]: Plugin passwordfd.so loaded.
Jul 4 15:24:52 linux-l9b2 kernel: PPP generic driver version 2.4.2
Jul 4 15:24:52 linux-l9b2 pppd[4216]: pppd 2.4.5 started by root, uid 0
Jul 4 15:24:52 linux-l9b2 pppd[4216]: Using interface ppp0
Jul 4 15:24:52 linux-l9b2 pppd[4216]: Connect: ppp0 <--> /dev/ttyUSB1
Jul 4 15:26:07 linux-l9b2 kernel: [drm:i915_getparam] *ERROR* Unknown parameter 5
Jul 4 15:26:52 linux-l9b2 pppd[4216]: LCP: timeout sending Config-Requests
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Connection terminated.
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Receive serial link is not 8-bit clean:
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Problem: all had bit 7 set to 0
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Modem hangup
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Exit.

Trying with wvdial Defaults:

linux-l9b2:/home/star # wvdial Defaults
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 &D2 +FCLASS=0
ATQ0 V1 E1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
^BOOT:34502031,0,0,0,6
^CCaught signal 2: Attempting to exit gracefully...
--> Disconnecting at Sat Jul 4 15:43:20 2009

/var/log/messages
Jul 4 15:24:52 linux-l9b2 pppd[4216]: Plugin passwordfd.so loaded.
Jul 4 15:24:52 linux-l9b2 kernel: PPP generic driver version 2.4.2
Jul 4 15:24:52 linux-l9b2 pppd[4216]: pppd 2.4.5 started by root, uid 0
Jul 4 15:24:52 linux-l9b2 pppd[4216]: Using interface ppp0
Jul 4 15:24:52 linux-l9b2 pppd[4216]: Connect: ppp0 <--> /dev/ttyUSB1
Jul 4 15:26:07 linux-l9b2 kernel: [drm:i915_getparam] *ERROR* Unknown parameter 5
Jul 4 15:26:52 linux-l9b2 pppd[4216]: LCP: timeout sending Config-Requests
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Connection terminated.
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Receive serial link is not 8-bit clean:
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Problem: all had bit 7 set to 0
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Modem hangup
Jul 4 15:26:52 linux-l9b2 pppd[4216]: Exit.

Then my internet died through network manager, I had already backed up the rpms, so downgraded network manager, didn't work, upgraded it, worked again.

I just want to be able to connect manually so no matter what I do trying to fix the network manager issue, I still have internet.

Cheers
Reply With Quote
  #14 (permalink)  
Old 04-Jul-2009, 16:29
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 38
fallenstar hasn't been rated much yet
Default Re: Huawei E220 problems

Quote:
Originally Posted by stakanov View Post
I suppose you are refering to me with your question.
First of all, you do not change initstrings ever without backing up the current one. This is done very easy, you just copy and paste the original string in a text file and write down where you did the modification, so you can recall what you did.
For me the symptoms where the follwing: allthough the huawei modem was recognized in automatic by the system, it had problems to connect via network manager. Either it did not correctly connect, or it did and then failed to reach good throughput.
The provider Wind (Italy in my case) was not helpful at all, since they "support only windows".
Hey

I'm in Scotland, my provider is 3, now I get what you meant by Wind. I will go to the huwawei site and seek alternative innit strings, I got no CD with it.

I am using the modem now, it has full connectivity via network manager, today it connected on the first attempt, but can take up to 5 tries to get it connected. It doesn't hang up that much anymore, but periodically network manager dies completely to the point that I have to reinstall suse. Hence in this thread I'm looking for 2 solutions, one to connect manually, another to fix network manager.

Cheers, wish me luck
Reply With Quote
  #15 (permalink)  
Old 04-Jul-2009, 17:58
stakanov's Avatar
Explorer Penguin
 
Join Date: Jan 2009
Location: Europe
Posts: 171
stakanov 's reputation will be famous soon enoughstakanov 's reputation will be famous soon enoughstakanov 's reputation will be famous soon enough
Default Re: Huawei E220 problems

Greetings to Scottland.
A compromised Networkmanager should not compromise a whole installation.
In your case you could also use an alternative to the network manager.
In this case you would use kinternet to set up the connect. In case you just use all the time the usb modem and do not switch often to Lan then this could be a good solution. There are also programms to handle wlan instead of Networkmanager. Networkmanager is very "sexy" but if it does not work, then get rid of it (up to december when there will be a better version).
Good luck.
P.s. Try to google for the init string of your modem. Maybe someone published it.
Reply With Quote
  #16 (permalink)  
Old 09-Jul-2009, 09:31
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 38
fallenstar hasn't been rated much yet
Default Re: Huawei E220 problems

I installed kinternet, but get this error message. My internet was not connected at the time.

Connection to local and remote server
refused. Maybe smpppd is not running
or you are not member of the group "dialout".
Also check the server settings in
the dialog "Various Settings".

The settings don't give me an option to choose a device to connect with, nor to put the *99# number in. If it's any relevance I have gnome.
Reply With Quote
  #17 (permalink)  
Old 09-Jul-2009, 15:55
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,851
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Huawei E220 problems

If you use KInternet (like I did way back with suse 10.0, then you'll need to configure the modem via YaST first. You can also check whether you're a member of dialout group by typing 'groups' in a user console. If necessary add via YaST > Security and Users > User and Group Management.
Reply With Quote
  #18 (permalink)  
Old 10-Jul-2009, 13:01
stakanov's Avatar
Explorer Penguin
 
Join Date: Jan 2009
Location: Europe
Posts: 171
stakanov 's reputation will be famous soon enoughstakanov 's reputation will be famous soon enoughstakanov 's reputation will be famous soon enough
Default Re: Huawei E220 problems

Quote:
Originally Posted by deano_ferrari View Post
If you use KInternet (like I did way back with suse 10.0, then you'll need to configure the modem via YaST first. You can also check whether you're a member of dialout group by typing 'groups' in a user console. If necessary add via YaST > Security and Users > User and Group Management.
In addition to what deano ferrari wrote:
Try to open also:
Yast - System - Runlevel editor. Now check please if smppd is in the list and if it is activated. If not, you select the smppd line with the mouse and press then the "activate" button below.
You should see a "ok activated" message. You close with OK. From now on Smppd should run.
Reply With Quote
  #19 (permalink)  
Old 22-Jul-2009, 18:30
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 38
fallenstar hasn't been rated much yet
Default Re: Huawei E220 problems

Quote:
Originally Posted by stakanov View Post
In addition to what deano ferrari wrote:
Try to open also:
Yast - System - Runlevel editor. Now check please if smppd is in the list and if it is activated. If not, you select the smppd line with the mouse and press then the "activate" button below.
You should see a "ok activated" message. You close with OK. From now on Smppd should run.
smppd wasn't on but is now, and it has changed kinternet's options. I was already a member of dialout. Setting it up thro yast, I think I must have dropped a dangler because it's still not working. However, the innit string it has is the one I changed it to, so it has obviously got it out of wvdial, and that's where there's something going amiss.??

it's got 3 written as the provider, which I typed in. No dial prefix, tone dialing. 3 is a custom provider I created in great britain, phone number *99#, username and password both "anything" (works normally). Not dial on command, and that's pretty much all the settings.

wvdial still doesn't run in terminal, even with smppd turned on. same error messages. Running wvdial Defaults kills network manager so it has to be reinstalled.
Reply With Quote
  #20 (permalink)  
Old 22-Jul-2009, 20:26
jmartini
Guest
 
Posts: n/a
Default Re: Huawei E220 problems

fallenstar wrote:
> stakanov;2010658 Wrote:
>> In addition to what deano ferrari wrote:
>> Try to open also:
>> Yast - System - Runlevel editor. Now check please if smppd is in the
>> list and if it is activated. If not, you select the smppd line with the
>> mouse and press then the "activate" button below.
>> You should see a "ok activated" message. You close with OK. From now on
>> Smppd should run.

>
> smppd wasn't on but is now, and it has changed kinternet's options. I
> was already a member of dialout. Setting it up thro yast, I think I must
> have dropped a dangler because it's still not working. However, the
> innit string it has is the one I changed it to, so it has obviously got
> it out of wvdial, and that's where there's something going amiss.??
>
> it's got 3 written as the provider, which I typed in. No dial prefix,
> tone dialing. 3 is a custom provider I created in great britain, phone
> number *99#, username and password both "anything" (works normally). Not
> dial on command, and that's pretty much all the settings.
>
> wvdial still doesn't run in terminal, even with smppd turned on. same
> error messages. Running wvdial Defaults kills network manager so it has
> to be reinstalled.
>


I have E160G Modem (which gets recognised as E220) with Three Australia
and it works (very) well with openSUSE 11.0 (and Ubuntu 8.10) and
NetworkManager (both Kde3 and Gnome). I tried several installs of
openSUSE 11.1 and found it had serious issues and wiped out the last
install around the end of May (roughly six months after release).

If you don't have any special need to use 11.1, I would recommend 11.0
and suggest you read the guide at following link:
http://en.opensuse.org/Huawei_UMTS_USB_Stick

You will need to install the additional package 'huawei_umtsmodem'.

Lets hope that that openSUSE 11.2 works as it should with NetworkManager!

Cheers
Reply With Quote
Reply
Page 2 of 3 1 2 3

Bookmarks

Tags
e220 huawei


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2