wireless interface not visible in network-manager

Bug #117883 reported by lcampagn
8
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

I am running kubuntu feisty on a thinkpad x60 tablet with an atheros ar5212 wireless card. When I have the card handled by the ndiswrapper driver, I see the "wlan0" interface in iwconfig and I can configure it to connect to the network in the command line, but network-manager does not offer any wireless interfaces to connect (nm-tool only lists my ethernet card). For simplicity I have disabled encryption on my AP, and I know that the ndiswrapper driver has working scan capabilities.

If, on the other hand, the card is handled by the madwifi driver (ath_pci), I get an "ath0" interface which network-manager _will_ let me configure. For unrelated reasons, however, I can not use the ath driver.

When I insert ath_pci, NM reports:
  NetworkManager: <debug info>^I[1180586433.634518] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_19_7d_16_e9_0c').
  NetworkManager: <debug info>^I[1180586433.635852] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_19_7d_16_e9_0c_0').
  NetworkManager: <information>^Iath0: Device is fully-supported using driver 'ath_pci'.
  NetworkManager: <information>^Inm_device_init(): waiting for device's worker thread to start
  NetworkManager: <information>^Inm_device_init(): device's worker thread started, continuing.
  NetworkManager: <information>^INow managing wireless (802.11) device 'ath0'.
  NetworkManager: <information>^IDeactivating device ath0.

However when I insert ndiswrapper, the only response I get from NM is this:
  NetworkManager: <debug info>^I[1180586240.935494] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_19_7d_16_e9_0c').

Revision history for this message
lcampagn (luke-campagnola) wrote :

I worked out this problem: network-manager ignores interfaces that are configured in /etc/network/interfaces, so when I tried to configure my wireless interface using "manual configuration", the interface was disabled for network-manager. This sounds to me like a major usability bug because users can easily disable their interfaces just by clicking around, and have to manually edit the interfaces file just to get them working again.

Revision history for this message
Thomas Novin (thomasn80) wrote :

If you just enable roaming you get your wireless config back in NetworkManager.

System>Administration>Network

Wireless Connection

[x] Roaming Mode Enabled

Revision history for this message
lcampagn (luke-campagnola) wrote : Re: [Bug 117883] Re: wireless interface not visible in network-manager

I'm using KDE, and I don't see any obvious way to do the same.

On 6/20/07, ThomasNovin <email address hidden> wrote:
>
> If you just enable roaming you get your wireless config back in
> NetworkManager.
>
> System>Administration>Network
>
> Wireless Connection
>
> [x] Roaming Mode Enabled
>
> --
> wireless interface not visible in network-manager
> https://bugs.launchpad.net/bugs/117883
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Alexander Sack (asac) wrote :

if you still have this issue, please post your /etc/network/interfaces file.

Changed in network-manager:
status: New → Incomplete
Revision history for this message
lcampagn (luke-campagnola) wrote :

Here's what I've done:
- Right click on knetworkmanager icon, click "manual configuration"
- Configure eth0 to have static IP address (was previously set to dhcp)
   Now knetworkmanager no longer has eth0 disabled in the list of
interfaces, and my interfaces file looks like this:
  [...]
  iface eth0 inet static
  address 192.168.0.11
  netmask 255.255.255.0
  gateway 192.168.0.1
- If I then go back and configure for DHCP, the interface is still
disabled in knetworkmanager. If I remove the relevant line in the
interfaces file, the interface is still disabled in knetworkmanager,
and I see no obvious way to get it enabled again. In fact, the KDE
network control module is no longer able to enable this interface
either, so I am forced to configure it manually on the command line.

I'd suggest either giving networkmanager an obvious way to explicitly
take back control of the interface (leaving the interface available in
the list of interfaces would be sufficient) or removing the "manual
configuration" option which just causes things to break in KDE.

On 9/24/07, Alexander Sack <email address hidden> wrote:
> if you still have this issue, please post your /etc/network/interfaces
> file.
>
> ** Changed in: network-manager (Ubuntu)
> Status: New => Incomplete
>
> --
> wireless interface not visible in network-manager
> https://bugs.launchpad.net/bugs/117883
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
lcampagn (luke-campagnola) wrote :

One correction to my previous post:

On 9/24/07, Luke Campagnola <email address hidden> wrote:
> Here's what I've done:
> - Configure eth0 to have static IP address (was previously set to dhcp)
> Now knetworkmanager no longer has eth0 disabled in the list of

Should read "Now knetworkmanager has eth0 disabled in the list of"

Revision history for this message
Paul Dufresne (paulduf) wrote :

Marked as Confirmed (was Incomplete),
User copied (well at least a part, would have been better to attach full file) part of requested /etc/network/interfaces file.

Changed in network-manager:
status: Incomplete → Confirmed
Revision history for this message
Thomas Kluyver (takluyver) wrote :

Seeing the same in knetworkmanager on Kubuntu Gutsy. Removing the relevant interface from /etc/network/interfaces suddenly makes it reappear.

Revision history for this message
Alexander Sack (asac) wrote :

interfaces configured in /etc/network/interfaces become "unmanaged" by network manager. so this is a feature.

Changed in network-manager:
status: Confirmed → Incomplete
Revision history for this message
Thomas Kluyver (takluyver) wrote :

But there is no easy way (at least in KDE) to return it to network manager's management, nor any clear indication of why it's not there, so I would say there's a problem somewhere.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

What to do with it being a feature? Or has this changed in network-manager 0.7? Thanks.

Revision history for this message
Marc Mance (mmance) wrote :

I am running Ubuntu 8.10 with the Kubuntu packages installed. I use switch between ratpoison and kde and so I sometimes manually configure /etc/network/interfaces. When I went back to KDE I had lost of trouble getting my eth0 and eth1(wifi) connecting. Under network manager it said that eth0 was disconnected and eth1 was unmanaged.

I read this thread and decided to rename interfaces. I had to restart X to get it to take affect, but this gave control back to network-manager.

I will probably have to write a script to change out interfaces when I switch between windows managers.

Revision history for this message
Wade Tattersall (wade-tattersall) wrote :

I can confirm that this occurs in Kubuntu 8.10

Also, when I put my laptop into suspend-to-RAM, it sometimes (but not always) puts the wi-fi interface into unmanaged mode. I will try to find out what particular conditions cause this, and see if the interface is then configured in /etc/network/interfaces .

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I noticed that the package version your bugging is updated in Maverick. As well, The version of Ubuntu your using is in End of Life status. More information may be found at: https://wiki.ubuntu.com/Releases Please update to Maverick via http://mirrors.easynews.com/linux/ubuntu-releases//10.10/ubuntu-10.10-beta-desktop-i386.iso repost a detailed error report, and update the bug status. Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.