Bug 1238 - Wifi is up, but nothing happens on DHCP-request when I want to boot the installation & then continues to exist when installation is done.
Summary: Wifi is up, but nothing happens on DHCP-request when I want to boot the insta...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 1
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://qa.mandriva.com/show_bug.cgi?...
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-05-11 01:08 CEST by Kristoffer Grundström
Modified: 2011-12-26 22:26 CET (History)
5 users (show)

See Also:
Source RPM: drakx-installer-stage1
CVE:
Status comment:


Attachments
Here's the requested report-file (365.73 KB, application/x-gzip)
2011-10-24 02:57 CEST, Kristoffer Grundström
Details
dmesg-output (86.64 KB, text/x-log)
2011-10-26 15:55 CEST, Kristoffer Grundström
Details
Here's all info from running the Live-version of Ubuntu to see what the difference is that makes it work (3.11 KB, application/x-gzip)
2011-10-30 20:36 CET, Kristoffer Grundström
Details

Description Kristoffer Grundström 2011-05-11 01:08:13 CEST
Description of problem: I'm trying to install Mageia using the boot.iso-file & I know that wlan0-interface isn't blacklisted 'cause I checked, but when I get to the DHCP-request in the installation nothing more happens.

Alt + F3 shows:

sleep
sleep
sleep

and some question about a broken module.

AR5001 Atheros wireless card.

My laptop is a HP Compaq Presario CQ60-415so

The ESSID is correct & so's the key.

How reproducible: Everytime I try to install using the boot.iso via WiFi.

Steps to Reproduce:
1. Download the boot.iso from any Mageia-mirror.
2. Put it on a USB-stick using unetbootin or dd-method.
3. Reboot your computer & press F9 to boot from the USB-stick.
4. Choose linux in the menu.
5. Choose to use HTTP.
6. Make sure your WiFi-lamp is turned on.
7. Choose wlan-interface.
8. Add your credentials for the network.
9. Voila! Nothing happens after starting the DHCP-request.
10. Alt + F1 will show a message about the module & that it's broken.
Kristoffer Grundström 2011-05-11 01:08:22 CEST

CC: (none) => kristoffer.grundstrom1983

Kristoffer Grundström 2011-05-11 01:08:29 CEST

Priority: Normal => High

Comment 1 Nicolas Vigier 2011-05-11 01:13:33 CEST
The error message about the "broken module" would probably help.

CC: (none) => boklm

Nicolas Vigier 2011-05-11 01:14:57 CEST

Priority: High => Normal
Severity: major => normal

Comment 2 Kristoffer Grundström 2011-05-11 01:17:16 CEST
I'll boot it again then.
Comment 3 Kristoffer Grundström 2011-05-11 01:22:28 CEST
NET: was expecting another network interface (broken net module?)
Comment 4 Manuel Hiebel 2011-08-26 23:36:54 CEST
attach the file /root/drakx/report.bug.gz as an attachment

Keywords: (none) => NEEDINFO
Source RPM: Net-based installation iso => drakx-installer

Comment 5 Kristoffer Grundström 2011-10-24 02:46:26 CEST
This issue keeps following me around in every installation now no matter what kind of iso I use.

Version: Cauldron => 1

Comment 6 Kristoffer Grundström 2011-10-24 02:57:02 CEST
Created attachment 999 [details]
Here's the requested report-file
Comment 7 Kristoffer Grundström 2011-10-26 15:55:02 CEST
Created attachment 1012 [details]
dmesg-output
Comment 8 Kristoffer Grundström 2011-10-26 16:29:13 CEST
Note that I've also tested an external USB wireless adapter after installing rt73-firmware & that didn't help to.
Comment 9 Kristoffer Grundström 2011-10-26 16:57:52 CEST
I see the solution lies in this:

Do rfkill list & see if your wlan0-interface is both software & hardware-blocked.

Then you do rfkill unblock 0

Do rfkill list again & see that the wlan0-interface is now only hardware-blocked

Now do rfkill unblock all

Do rfkill list & voila! The wlan0-interface isn't blocked in any way anymore.
Comment 10 Manuel Hiebel 2011-10-26 17:09:47 CEST
Your fist comment was about stage1, I'am not sure that wifi can work at this stage. And now you speak about rfkill ? That is AFTER the install no ?

Source RPM: drakx-installer => drakx-installer-stage1

Comment 11 Kristoffer Grundström 2011-10-26 17:47:00 CEST
Yes, but I think the rfkill-issue is already active when you start the initialization of the 1st stage.
Comment 12 Florian Hubold 2011-10-26 18:37:25 CEST
Bug report is bogus, should be closed as invalid from what i can see after an 2-hours wireless troubleshooting session on IRC. This is not working in a full installation, because the wireless adapter can't even see the AP, so this can never work in either stage1 or stage2, IMHO.

CC: (none) => doktor5000

Comment 13 Kristoffer Grundström 2011-10-26 19:53:05 CEST
Well, I can see other connections & therefor I'll object to this.
Comment 14 Sander Lepik 2011-10-26 20:38:45 CEST
other connections = other APs? If yes then on what channel is the AP you want to connect?

CC: (none) => sander.lepik

Comment 15 Manuel Hiebel 2011-10-26 20:56:50 CEST
(In reply to comment #13)
> Well, I can see other connections & therefor I'll object to this.
after the install ?
Comment 16 Kristoffer Grundström 2011-10-26 21:24:06 CEST
(In reply to comment #15)
> (In reply to comment #13)
> > Well, I can see other connections & therefor I'll object to this.
> after the install ?

Yes.
When I used rfkill to unblock all devices.
Comment 17 Kristoffer Grundström 2011-10-26 21:25:42 CEST
(In reply to comment #14)
> other connections = other APs? If yes then on what channel is the AP you want
> to connect?

Channel? Doesn't AP mean Access Point which in this case is my router?
Comment 18 Sander Lepik 2011-10-26 21:37:21 CEST
Yes, but which channel is your router using? you need to have some channel for wifi.. If it's above 11 then it's quite possible that your computer might not see it.
Nicolas Vigier 2011-10-26 21:43:42 CEST

CC: boklm => (none)

Comment 19 Manuel Hiebel 2011-10-26 22:34:45 CEST
Anyway closing as invalid

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 20 Kristoffer Grundström 2011-10-26 23:26:17 CEST
Please don't close it until we've found the cause of this issue that's valid in stage 1 of the installer & when you've installed Mageia.
Comment 21 Kristoffer Grundström 2011-10-26 23:28:05 CEST
(In reply to comment #18)
> Yes, but which channel is your router using? you need to have some channel for
> wifi.. If it's above 11 then it's quite possible that your computer might not
> see it.

Do you know how to find that channel in the router?

My router is a DIR-825 from D-Link.
Comment 22 Kristoffer Grundström 2011-10-26 23:29:05 CEST
I do know how to login to my router so the only thing I need to know where I can find what channel it's using.
Comment 23 Florian Hubold 2011-10-26 23:42:57 CEST
You could look it up in the documentation for the router, this is what it should look like: http://support.dlink.com/emulators/dir825/113NA/Device_Info.html

Scroll down to Wireless LAN and look for Channel:
Comment 24 Kristoffer Grundström 2011-10-27 00:16:46 CEST
(In reply to comment #23)
> You could look it up in the documentation for the router, this is what it
> should look like:
> http://support.dlink.com/emulators/dir825/113NA/Device_Info.html
> 
> Scroll down to Wireless LAN and look for Channel:

It says Channel: 3
Comment 25 Kristoffer Grundström 2011-10-27 00:23:02 CEST
(In reply to comment #24)
> (In reply to comment #23)
> > You could look it up in the documentation for the router, this is what it
> > should look like:
> > http://support.dlink.com/emulators/dir825/113NA/Device_Info.html
> > 
> > Scroll down to Wireless LAN and look for Channel:
> 
> It says Channel: 3

That's for 2.4GHz band.

For 5GHz band it says Channel: 161
Kristoffer Grundström 2011-10-27 00:40:19 CEST

Summary: Wifi is up, but nothing happens on DHCP-request. => Wifi is up, but nothing happens on DHCP-request when I want to boot the installation

Kristoffer Grundström 2011-10-27 00:41:05 CEST

Summary: Wifi is up, but nothing happens on DHCP-request when I want to boot the installation => Wifi is up, but nothing happens on DHCP-request when I want to boot the installation & then continues to exist when installation is done.

Comment 26 Florian Hubold 2011-10-27 00:55:14 CEST
D'oh! Didn't you say you know how to login to YOUR router?

I just posted a link to a demo installation of the web frontend for documentation purposes of your router model to show you where to look. In YOUR router.
Comment 27 Kristoffer Grundström 2011-10-27 01:01:50 CEST
(In reply to comment #26)
> D'oh! Didn't you say you know how to login to YOUR router?
> 
> I just posted a link to a demo installation of the web frontend for
> documentation purposes of your router model to show you where to look. In YOUR
> router.

Well, I didn't know exactly where to look for such setting when I've logged in.
Comment 28 Kristoffer Grundström 2011-10-27 01:02:58 CEST
Just booted the Remix Live-edition of Ubuntu 11.10 & I have no issues connecting to my wireless-connection there.
Comment 29 Kristoffer Grundström 2011-10-27 01:04:28 CEST
This is the link to the Remixed Live-edition of Ubuntu that I'm trying: http://home.danielnylander.se/ubuntu/11.10/ubuntu-11.10-nordic-remix-desktop-amd64.iso
Comment 30 Kristoffer Grundström 2011-10-27 01:06:43 CEST
This is output of iwconfig in Ubuntu just to show the difference to Mageia:

wlan0     IEEE 802.11bg  ESSID:"Kristoffer"  
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:26:5A:F4:11:0D   
          Bit Rate=48 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-37 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:35   Missed beacon:0
Comment 31 Kristoffer Grundström 2011-10-27 01:07:47 CEST
Output of dmesg | grep 80211 in Ubuntu-version is this:

http://pastebin.com/n5h8ft2j
Comment 32 Florian Hubold 2011-10-27 01:25:19 CEST
Comparing the dmesg output from ubuntu to the one from mageia it seems on mageia it sets it to SE regulatory domain, but not for ubuntu and the 80211 / CRDA output is slightly different.

But still you did not post which channel your router runs on.
Comment 33 Kristoffer Grundström 2011-10-27 01:28:43 CEST
(In reply to comment #32) 
> But still you did not post which channel your router runs on.

I believe I did that in Comment 24.
Comment 34 Florian Hubold 2011-10-27 11:33:05 CEST
You posted what the demonstration router shows in the documentation. You tell that your router at home runs on the exact same channels as the one in the dlink documentation?
Comment 35 Kristoffer Grundström 2011-10-27 11:35:15 CEST
(In reply to comment #34)
> You posted what the demonstration router shows in the documentation. You tell
> that your router at home runs on the exact same channels as the one in the
> dlink documentation?

Yes, I do.
Comment 36 Kristoffer Grundström 2011-10-30 01:55:27 CEST
The issue has been reported several times in Ubuntu with any of the 2.6-kernels:

https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=Atheros+AR5001&orderby=-datecreated&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=

There seems to be a solution ready if you take a look at this thread about the same issue, but for similar HP Compaq Presario CQ60-models that has the same Atheros Wireless-card in them.
Comment 37 Kristoffer Grundström 2011-10-30 01:56:22 CEST
(In reply to comment #36)
> The issue has been reported several times in Ubuntu with any of the
> 2.6-kernels:
> 
> https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=Atheros+AR5001&orderby=-datecreated&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=
> 
> There seems to be a solution ready if you take a look at this thread about the
> same issue, but for similar HP Compaq Presario CQ60-models that has the same
> Atheros Wireless-card in them.

Here's the possible solution to adapt to Mageia's installer somehow:

http://ubuntuforums.org/showpost.php?p=11093401&postcount=10
Comment 38 Florian Hubold 2011-10-30 17:33:19 CET
Adjusting URL field as there is already a Mandriva bug report about the same issue.

URL: http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64/install/images/boot.iso => https://qa.mandriva.com/show_bug.cgi?id=61033

Comment 39 Kristoffer Grundström 2011-10-30 20:36:12 CET
Created attachment 1030 [details]
Here's all info from running the Live-version of Ubuntu to see what the difference is that makes it work
Comment 40 Kristoffer Grundström 2011-10-30 20:46:50 CET
(In reply to comment #38)
> Adjusting URL field as there is already a Mandriva bug report about the same
> issue.

There reason for two reports for the same issue is to prove that this has followed me to Mageia as well.
Comment 41 Kristoffer Grundström 2011-10-30 22:14:49 CET
Reopning this bugreport again since this problem appears after reboot.

You have to do the solution again to make it work.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 42 Kristoffer Grundström 2011-10-31 01:28:01 CET
I got this issue in my stationary computer now as well.

The fix works, but I get the same error again when I reboot the kernel.

This is what I do in Terminal:
[root@localhost ~]# rmmod -f rt73usb
[root@localhost ~]# rfkill unblock all
[root@localhost ~]# modprobe rt73usb
[root@localhost ~]# ifup wlan0

Determining IP information for wlan0... failed; no link present.  Check cable?

Now I go to create a new interface for wlan0 & filling in the credentials needed for my network:

[root@localhost ~]# drakconf
[root@localhost ~]# "/usr/bin/drakmenustyle" is not executable [Menus] at /usr/sbin/drakconf.real line 822.
"/usr/sbin/drakbackup" is not executable [Backups] at /usr/sbin/drakconf.real line 822.
"/usr/sbin/drakvirt" is not executable [Virtualization] at /usr/sbin/drakconf.real line 822.
"/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/sbin/drakconf.real line 822.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 522.
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Reloading vnstatd configuration:                                      [  OK  ]
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Invalid argument.
Väntar på att nätverket är uppe                                       [  OK  ]
Comment 43 Kristoffer Grundström 2011-10-31 10:07:56 CET
If I delete the eth0-interface & set the wlan0-interface to load at systemstart it works perfectly. So is the issue in initrd or someplace else?
Comment 44 Marja Van Waes 2011-12-26 09:56:14 CET
@ Florian,

Reading and trying to understand the above 43 comments to find out if there is anything Bug Squad should do with this bug, is going to take me a lot of time. 

I see you already know a lot about this bug report, so it would probably take you less time. Do you mind helping?

Is the required information there?
Is it a valid bug?
Is drakx-installer-stage1 the correct culprit?

We don't seem to have a drakx-installer-stage1 package, btw, but I think I've seen a drakx-installer-stage1 bug being assigned to blino, so cc'ing him.

@ blino

Are you the maintainter of drakx-installer-stage1 and if so, what is the proper name of that package?

CC: (none) => marja11

Comment 45 Marja Van Waes 2011-12-26 09:57:57 CET
(In reply to comment #44)

> 
> We don't seem to have a drakx-installer-stage1 package, btw, but I think I've
> seen a drakx-installer-stage1 bug being assigned to blino, so cc'ing him.
> 
> @ blino
> 
> Are you the maintainter of drakx-installer-stage1 and if so, what is the proper
> name of that package?

And now really cc'ing Olivier

CC: (none) => mageia

Comment 46 Florian Hubold 2011-12-26 21:16:15 CET
(In reply to comment #44)
 
> Is the required information there?
> Is it a valid bug?
> Is drakx-installer-stage1 the correct culprit?

Well, the current bugreport mangles multiple seperate issues, and is therefore not valid, IMHO.

First, it's about wireless setup during installation (which is not supported currently) another is about rfkill behaviour, and another one would be about the wireless setup in general, but seems this is more a PEBKAC problem from what i can tell, as other users had no problem getting their wireless working with the same adapter/driver being used.
Comment 47 Marja Van Waes 2011-12-26 22:26:00 CET
(In reply to comment #46)
> (In reply to comment #44)
> 
> > Is the required information there?
> > Is it a valid bug?
> > Is drakx-installer-stage1 the correct culprit?
> 
> Well, the current bugreport mangles multiple seperate issues, and is therefore
> not valid, IMHO.
> 
@ Florian

Thanks a lot!


@ Kristoffer

Sorry, this isn't a valid bug report, so I must close it. 

TBH, I had already spend some time on it yesterday and this morning, but the report confused me. I wasn't aware the separate issues caused the confusion, so I'm really glad Florian pinpointed that.

Please don't open this report again

Status: REOPENED => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.