LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 05-01-2008, 04:33 PM   #1
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
Huawei E220


AHHHH, NOT AN OTHER PROBLEM!

But here it goes:

After I crashed ubuntu 8.04 (again) I decide to reinstall it (again) and everything went smooth to huawei e220 installation.

Yesterday I succeeded to connect to internet with my Huawei e220 and everything worked perfect. Today I went to school and surfed on the wireless network, no problem there.
But when I got home and tried to connect to internet with my huawei e220 nothing works.

I cant copy anything from the terminal cause it is so many lines and I haven't got a USB-memory stick. But these lines seems important:


ADDRCONF (NETDEV_UP): eth0 link not ready
ath0: no IPv6 routers not present


You can see that the computer finds the modem with dmesg. There it says Huawei modem.


I configured the modem like this:
http://ubuntu-bossieman.blogspot.com...ang-frn-3.html
Sorry the page is in swedish but you see in the pictures what I have done.

Last edited by danne123; 05-01-2008 at 04:34 PM.
 
Old 05-02-2008, 07:34 AM   #2
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
I managed to get a USB stick now.

The problem is even worse now!
If I change something in "System->Administration->Network->Point to point connection" it always go back to modem type PPPoE and reset everything else.
I have tried to restart the computer and shutdown the computer nothing works.


I cant understand, which driver e220 has been attached to.

Code:
 DMESG
[  477.539854] usb 2-1: configuration #1 chosen from 1 choice
[  190.818699] usb-storage: probe of 2-1:1.0 failed with error -5
[  190.818732] airprime 2-1:1.0: airprime converter detected
[  190.818999] usb 2-1: airprime converter now attached to ttyUSB0
[  190.819072] usb 2-1: airprime converter now attached to ttyUSB1
[  190.819138] usb 2-1: airprime converter now attached to ttyUSB2
[  190.830623] usb-storage: probe of 2-1:1.1 failed with error -5
[  190.830651] airprime 2-1:1.1: airprime converter detected
[  190.830881] usb 2-1: airprime converter now attached to ttyUSB3
[  190.830946] usb 2-1: airprime converter now attached to ttyUSB4
[  190.831015] usb 2-1: airprime converter now attached to ttyUSB5
[  190.850564] scsi5 : SCSI emulation for USB Mass Storage devices
[  190.865678] usb-storage: device found at 3
[  190.865684] usb-storage: waiting for device to settle before scanning
[  191.142383] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
[  191.143204] usbcore: registered new interface driver option
[  191.143208] /build/buildd/linux-2.6.24/drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
[  194.603088] usb-storage: device scan complete
[  194.606068] scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  194.645972] sr1: scsi-1 drive
[  194.646053] sr 5:0:0:0: Attached scsi CD-ROM sr1
[  194.646105] sr 5:0:0:0: Attached scsi generic sg2 type 5
[  263.036498] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  263.195899] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  265.206281] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  274.041740] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  274.206860] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  276.027312] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  282.252376] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  282.428669] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  284.252517] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  298.605128] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  300.329675] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  321.348445] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  321.583993] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  323.573495] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  822.835710] usb 2-1: USB disconnect, address 3
[  822.836443] airprime ttyUSB0: airprime converter now disconnected from ttyUSB0
[  822.836768] airprime ttyUSB1: airprime converter now disconnected from ttyUSB1
[  822.837086] airprime ttyUSB2: airprime converter now disconnected from ttyUSB2
[  822.837117] airprime 2-1:1.0: device disconnected
[  822.837648] airprime ttyUSB3: airprime converter now disconnected from ttyUSB3
[  822.837968] airprime ttyUSB4: airprime converter now disconnected from ttyUSB4
[  822.838284] airprime ttyUSB5: airprime converter now disconnected from ttyUSB5
[  822.838315] airprime 2-1:1.1: device disconnected
[ 1076.392592] usb 4-4: new high speed USB device using ehci_hcd and address 4
[ 1076.530361] usb 4-4: configuration #1 chosen from 1 choice
[ 1076.544411] scsi6 : SCSI emulation for USB Mass Storage devices
[ 1076.558194] usb-storage: device found at 4
[ 1076.558205] usb-storage: waiting for device to settle before scanning
[  431.571331] usb-storage: device scan complete
[  431.572695] scsi 6:0:0:0: Direct-Access     Corsair  Flash Voyager    1100 PQ: 0 ANSI: 0 CCS
[  431.587765] sd 6:0:0:0: [sdb] 1966080 512-byte hardware sectors (1007 MB)
[  431.588638] sd 6:0:0:0: [sdb] Write Protect is off
[  431.588642] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[  431.588645] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  431.591380] sd 6:0:0:0: [sdb] 1966080 512-byte hardware sectors (1007 MB)
[  431.592256] sd 6:0:0:0: [sdb] Write Protect is off
[  431.592260] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[  431.592263] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[  431.592268]  sdb: sdb1
[  431.634953] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[  431.635008] sd 6:0:0:0: Attached scsi generic sg2 type 0

Last edited by danne123; 05-02-2008 at 09:24 AM.
 
Old 05-03-2008, 02:29 PM   #3
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
bump

Help please, need to connect to internet
 
Old 05-03-2008, 04:25 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
It's not the ideal way to handle things, but since I do not own a E220 and I don't want to go through the Betavineforge docs again, what if you delete both school and home profile, remove the wireless card (only if other than your E220), reboot the machine (to be sure nothing sticks) and then set up your home internet profile again?
 
Old 05-04-2008, 03:19 AM   #5
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
Is it normal that I donīt get a popup window when Huawei modem is plugged in? If I connect my friends USB memory-stick, then a popup window appears.

ANYWAY I made some progress by reinstalling ubuntu.

And if you look at these lines:

Code:
[  822.835710] usb 2-1: USB disconnect, address 3
[  822.836443] airprime ttyUSB0: airprime converter now disconnected from ttyUSB0
[  822.836768] airprime ttyUSB1: airprime converter now disconnected from ttyUSB1
[  822.837086] airprime ttyUSB2: airprime converter now disconnected from ttyUSB2
[  822.837117] airprime 2-1:1.0: device disconnected
[  822.837648] airprime ttyUSB3: airprime converter now disconnected from ttyUSB3
[  822.837968] airprime ttyUSB4: airprime converter now disconnected from ttyUSB4
[  822.838284] airprime ttyUSB5: airprime converter now disconnected from ttyUSB5
Is this normal?


Code:
[ 1623.463569] scsi 10:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  648.659856] sr1: scsi-1 drive
[  648.659932] sr 10:0:0:0: Attached scsi CD-ROM sr1
[  648.659985] sr 10:0:0:0: Attached scsi generic sg2 type 5
[ 1717.105050] usb 2-2: USB disconnect, address 4
[ 1717.107240] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1717.107281] airprime 2-2:1.0: device disconnected
[ 1717.107834] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1717.107868] airprime 2-2:1.1: device disconnected
[  728.828430] ADDRCONF(NETDEV_UP): eth0: link is not ready
Why does it connect to both ttyUSB0 and ttyUSB1?

Last edited by danne123; 05-04-2008 at 05:07 AM.
 
Old 05-04-2008, 05:17 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
Quote:
Originally Posted by danne123 View Post
Is it normal that I donīt get a popup window when Huawei modem is plugged in? If I connect my friends USB memory-stick, then a popup window appears.
I do not know which application shows you the pop-up, what it triggers on, what the pop-up would read or what you would need to do to get the pop-up if you would want one. I would suggest maximising a terminal window and using sudo to 'tail -f /var/log/messages' just before you plug in the device to see what goes on.


Quote:
Originally Posted by danne123 View Post
And if you look at these lines:
Is this normal?
Can't say, to few lines of output. If your system has 'lsusb' or 'lshw', does the device show up after plugging it in and letting it settle?


Quote:
Originally Posted by danne123 View Post
In network settings shall I set modem port to sr1?
The Huawei E220 is a HSDPA USB modem, so that would mean you need /dev/ttyUSB.* something. If your kernel ('uname -r') is 2.6.19 or below you'll have problems because the kernels SCSI-emulation thinks it's a SCSI-CDROM device, that's why you're seeing those messages. A workaround could be http://oozie.fm.interia.pl/pro/huawei-e220/. Two more technical (as in non-GUI) explanations of how to get that modem to work are here and here. While they are both for Gentoo, they should show how to check and troubeshoot things so I HTH.
 
Old 05-04-2008, 07:56 AM   #7
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
The two last links require a file called "/proc/config.gz". But I havenīt got that file. Any ideas?

When shall you plugin the modem? Before you start the computer or after?

Last edited by danne123; 05-04-2008 at 09:45 AM.
 
Old 05-05-2008, 06:35 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
Quote:
Originally Posted by danne123 View Post
The two last links require a file called "/proc/config.gz". But I havenīt got that file.
"/proc/config.gz" is only available in recent 2.6 series kernels. It's the compressed .config that was used when building the kernel. If you built your own kernel without that option you should find the .config file where you built your kernel. On the other hand, if you *know* (since it worked, right?) your kernel included the necessary compile-time options you could probably skip that check.


Quote:
Originally Posted by danne123 View Post
When shall you plugin the modem? Before you start the computer or after?
That doesn't matter, as long as you can follow it's trail of messages (probably mostly dealing with USB?) in your syslog.
 
Old 05-05-2008, 02:05 PM   #9
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
Does this say anything that could help solve my problem?

Code:
tail -f /var/log/messages
May  5 20:56:48 diablo chat[5657]: expect (OK)
May  5 20:56:48 diablo chat[5657]: ATZ^M^M
May  5 20:56:48 diablo chat[5657]: OK
May  5 20:56:48 diablo chat[5657]:  -- got it 
May  5 20:56:48 diablo chat[5657]: send (ATDT*99#W*99#^M)
May  5 20:56:48 diablo chat[5657]: timeout set to 75 seconds
May  5 20:56:48 diablo chat[5657]: expect (CONNECT)
May  5 20:56:48 diablo chat[5657]: ^M
May  5 20:56:48 diablo chat[5657]: ATDT*99#W*99#^M^M
May  5 20:56:48 diablo chat[5657]: COMMAND NOT SUPPORT^M
May  5 20:58:03 diablo chat[5657]: alarm
May  5 20:58:03 diablo chat[5657]: Failed
May  5 20:58:35 diablo chat[6078]: timeout set to 60 seconds
May  5 20:58:35 diablo chat[6078]: abort on (ERROR)
May  5 20:58:35 diablo chat[6078]: abort on (BUSY)
May  5 20:58:35 diablo chat[6078]: abort on (VOICE)
May  5 20:58:35 diablo chat[6078]: abort on (NO CARRIER)
May  5 20:58:35 diablo chat[6078]: abort on (NO DIALTONE)
May  5 20:58:35 diablo chat[6078]: abort on (NO DIAL TONE)
May  5 20:58:35 diablo chat[6078]: abort on (NO ANSWER)
May  5 20:58:35 diablo chat[6078]: send (ATZ^M)
May  5 20:58:35 diablo chat[6078]: send (AT&FH0M0^M)
May  5 20:58:35 diablo chat[6078]: expect (OK)
May  5 20:58:35 diablo chat[6078]: ATZ^M^M
May  5 20:58:35 diablo chat[6078]: OK
May  5 20:58:35 diablo chat[6078]:  -- got it 
May  5 20:58:35 diablo chat[6078]: send (ATDT*99#W*99#^M)
May  5 20:58:35 diablo chat[6078]: timeout set to 75 seconds
May  5 20:58:35 diablo chat[6078]: expect (CONNECT)
May  5 20:58:35 diablo chat[6078]: ^M
May  5 20:58:35 diablo chat[6078]: ATDT*99#W*99#^M^M
May  5 20:58:35 diablo chat[6078]: NO CARRIER
May  5 20:58:35 diablo chat[6078]:  -- failed
May  5 20:58:35 diablo chat[6078]: Failed (NO CARRIER)
 
Old 05-06-2008, 03:12 AM   #10
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
AHHHHH, I managed to get everything working yesterday! But now, NOTHING again!!!!!
 
Old 05-06-2008, 07:53 AM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
Sorry. Doesn't give me any clues. It's not the ideal way to handle things, but since I do not own a E220 and I don't want to go through the Betavineforge docs again, what if you delete both school and home profile, remove the wireless card (only if other than your E220), reboot the machine (to be sure nothing sticks) and then set up your home internet profile again?
 
Old 05-07-2008, 12:18 AM   #12
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
Delete school and home profile? How do you do that?
 
Old 05-07-2008, 07:01 AM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
Quote:
Originally Posted by danne123 View Post
Delete school and home profile? How do you do that?
As your link showed you set up a profile for your connection details in some management interface.
 
Old 05-08-2008, 04:58 AM   #14
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Original Poster
Rep: Reputation: 17
Very strange, if I first start windows XP and start internet connection surf around for a moment and after that reboot the computer to start linux. Then the internet connection actually works? Why is that?
 
Old 05-08-2008, 05:50 AM   #15
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,521
Blog Entries: 51

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
Quote:
Originally Posted by danne123 View Post
Very strange, if I first start windows XP and start internet connection surf around for a moment and after that reboot the computer to start linux. Then the internet connection actually works?
No, it's not strange, I heard that before. With other hardware though.


Quote:
Originally Posted by danne123 View Post
Why is that?
I've never looked into that hardware behaviour so I don't have the knowledge to explain it.
Maybe the old marketoid mantra "Where Do You Want To Go Today?" still works?
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
huawei e220 and SMS messages Mr.mick-duck Linux - Wireless Networking 1 07-13-2009 12:07 PM
E220 danne123 Linux - Newbie 1 04-29-2008 04:44 PM
Higher speed with HUAWEI E220 USB modem? stardustdk Linux - Laptop and Netbook 3 03-04-2008 04:13 AM
Haldaemon causing problems with my Huawei E220 USB HSDPA modem. redarrow Linux - General 3 01-06-2008 08:45 AM
Anyone using Lexmark E220 printer csDraco_ Linux - Hardware 4 03-06-2004 07:07 AM


All times are GMT -5. The time now is 08:20 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