Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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?
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
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
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.
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
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.
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)
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?
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?
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.