Bug 133809 - HAL can "see" the wireless interface but knetworkmanager can't
Summary: HAL can "see" the wireless interface but knetworkmanager can't
Status: RESOLVED NOT A BUG
Alias: None
Product: knetworkmanager
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 17:33 UTC by Felix Frischmann
Modified: 2008-06-14 15:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Frischmann 2006-09-09 17:33:31 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages
OS:                Linux

hey mates,

since today my knetworkmanager worked, and everything was fine. Most stable networktool I have ever seen and the most important advantage, it supported wpa. But suddenly after I added the loopback device in interface it stopped working. I  tried everything.. but couldn't get it fixed. Even to delete the stuff I added couldn't solve the problem, though it was basically all I did... I read knetworkmanager works with HAL to get information about the network devices. But I don't believe that. lshal tells me that everythning is fine with my wireless pci card but knetworkmanager keeps on telling me that there are no network devices at all. What a bullshit! Please help me!!!! Why can't get knetworkmanager the required inforamtion from hal to see my wlan card?????????

Thanks
Comment 1 Stephan Kulow 2006-09-09 22:58:33 UTC
knetworkmanager only uses the informations provided by networkmanager daemon, which isn't maintained by KDE
Comment 2 Kal Chung 2006-10-13 15:36:58 UTC
I'm having the same problem, however, I didn't add anything to interface.  When I click the KNetworkManager in the task bar, it only shows the "Wired Devices" section, and the "Wireless Devices" section doesn't show at all.

Funny thing is when I move my mouse pointer over to the options menu item, a sub-menu appears with commands to disable or enable my wireless device.
Comment 3 Will Stephenson 2007-03-08 22:17:41 UTC
What does 'nm-tool' say? Is your card listed there?  

I also hear Ubuntu patched NetworkManager daemon to ignore any interfaces listed in /etc/network/interfaces, maybe this is the reason - but I know very little about xbuntu.
Comment 4 Nick 2007-04-02 11:46:09 UTC
I can also see my wireless card (Buffalo WLI-CB-G54A) using lshal but get "no network device found" plus option to Disable Wireless using KNetworkManager.  I tried removing all interfaces except lo from /etc/network/interfaces and restarting the network but still the same.
Comment 5 Nick 2007-04-02 12:05:25 UTC
Output from lshal as above:

nick@nick-laptop:~$ lshal --show pci_14e4_4320 -l
udi = '/org/freedesktop/Hal/devices/pci_14e4_4320'
  info.udi = '/org/freedesktop/Hal/devices/pci_14e4_4320'  (string)
  linux.subsystem = 'pci'  (string)
  linux.hotplug_type = 1  (0x1)  (int)
  pci.subsys_product = 'Unknown (0x0324)'  (string)
  pci.subsys_vendor = 'Melco Inc'  (string)
  info.product = 'BCM4306 802.11b/g Wireless LAN Controller'  (string)
  pci.product = 'BCM4306 802.11b/g Wireless LAN Controller'  (string)
  info.vendor = 'Broadcom Corporation'  (string)
  pci.vendor = 'Broadcom Corporation'  (string)
  pci.device_protocol = 0  (0x0)  (int)
  pci.device_subclass = 128  (0x80)  (int)
  pci.device_class = 2  (0x2)  (int)
  pci.subsys_vendor_id = 4436  (0x1154)  (int)
  pci.subsys_product_id = 804  (0x324)  (int)
  pci.vendor_id = 5348  (0x14e4)  (int)
  pci.product_id = 17184  (0x4320)  (int)
  info.linux.driver = 'ndiswrapper'  (string)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_104c_ac1b_0'  (string)
  info.bus = 'pci'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0'  (string)
 
Comment 6 Gerhard Riener 2007-04-19 16:14:30 UTC
i have the same problem...it was resolved in previous versions but now reappeard after the last update
Comment 7 Edward 2007-07-12 04:53:08 UTC
Same problem as #2 above. Using Kubuntu.
Comment 8 Sascha Becker 2007-10-20 07:29:42 UTC
Hi, with me all worked fine until upgrading to Gutsy. Now I'm having the same problems as #2 above.
Comment 9 Zlamma 2007-11-15 02:40:25 UTC
I wanted to file a new Bug report while this report got listed in the check for duplicates.
The bug is:
No GUI way to fall back to Knetworkmanager interface management mode after using manual configuration GUI for the interface. No notification about the cause of lack of management.

Now i see this is explained by the #3 comment - since NetworkManager ignores all interfaces listed in /etc/network/interfaces, and that's what the knetworkmanager's manual configuration updates. 
To fix the issue one needs to remove the corresponding entries trom the file, just as directed in http://ubuntuforums.org/showthread.php?t=528421 , where I found out that I wasn't the only confused user.

More specifically, manual configuration is not in the knetworkmanager component but it is a configuration panel from KDE that can be shown by issuing "kcmshell kcm_knetworkconfmodule".
Nevertheless IMHO either knetworkmanager should not rely on NetworkManager or the "feature" of ignoring manualy configured interfaces that NM introduced should be marked as a regression bug.

Let me know if repairing the interfaces file is not a remedy for this bug so I can submit a new bug report.
Comment 10 Zlamma 2007-11-15 02:51:39 UTC
Another solution would be to add an onption to  "Manage Interface With Knetwork" which would cause the corresponding entries to be removed from /etc/network/interfaces.
Right now the interfaces are missign from the popup menu which totally confuses the user to think his network cards are not properly installed.
Comment 11 Will Stephenson 2008-06-14 15:04:49 UTC
Kubuntu problem according to comment #9, they added the patch to hide manually configure devices from NM.  Please take it to K|Ubuntu.