Bug 122257 - KInfoCenter does not show all network interfaces
Summary: KInfoCenter does not show all network interfaces
Status: RESOLVED NOT A BUG
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: kcminfo (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Helge Deller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 00:52 UTC by Dori
Modified: 2006-03-17 22:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
KInfoCenter displaying interfaces, missing wireless (53.24 KB, image/png)
2006-02-19 22:22 UTC, Dori
Details
Screenshot with only lo showing up (50.08 KB, image/jpeg)
2006-03-17 22:23 UTC, Yuriy Kozlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dori 2006-02-19 00:52:15 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Slackware Packages
OS:                Linux

KInfoCenter does not list all my network interfaces. Specifically it's missing my wireless interface. In the list KInfoCenter just shows eth0 and lo, but ifconfig also shows ra0 (CWC854 ralink based card, using RT61 drivers).
Comment 1 Helge Deller 2006-02-19 11:46:58 UTC
Hi Dori,
thanks for your bug report.
Sadly I can't reproduce your problem on my SUSE 10. My wireless (Atheros, ath0) is listed. Maybe it's some kind of Slackware-problem ?
Anyway, can you please attach the output of "ifconfig", a screenshot of kinfocenter and the output of "route" to this bug report ?
THX, Helge
Comment 2 Dori 2006-02-19 22:19:51 UTC
Here's the output, identifying material X'ed out. I'll attach a screenshot as well.

dori@XXXXXXXXX:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:518551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:381354 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:647451622 (617.4 Mb)  TX bytes:36339802 (34.6 Mb)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:428 (428.0 b)  TX bytes:428 (428.0 b)

ra0       Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2702372 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7899 errors:55 dropped:55 overruns:0 carrier:0
          collisions:1831 txqueuelen:1000
          RX bytes:225808883 (215.3 Mb)  TX bytes:189576 (185.1 Kb)
          Interrupt:11

dori@moya:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
Comment 3 Dori 2006-02-19 22:22:40 UTC
Created attachment 14781 [details]
KInfoCenter displaying interfaces, missing wireless
Comment 4 Helge Deller 2006-02-19 22:57:50 UTC
Thanks for the info Dori.
I think the problem is, that your ra0 device doesn't has any valid IP address assigned (I assume you have no connection with this card atm).
Could you test my assumption by doing a "ifconfig ra0 192.169.1.1 up" temporary  and start the infocenter again ?  The infocenter code gets a list of all possible network cards by trying to open a network connection via TCP/IP and since ra0 has no IP it's not usable as a TCP/IP network device...
Comment 5 Dori 2006-02-20 03:35:29 UTC
Yes in that case it shows up, but shouldn't it show all available interfaces, whether they have a network connection or not?
Comment 6 Helge Deller 2006-02-20 19:23:07 UTC
No, I don't think so.
On my laptop I have eth0, ath0(wireless), wifi0, lo and sit0.
In principle I currently can only use  ath0 and lo, since I'm connected wireless. sit0 isn't interesting, so why should I show it, or even wifi0 ?
(closing as notabug/invalid for now.)
PS: "/sbin/ifconfig -a" shows you all your active and inactive cards
Comment 7 Yuriy Kozlov 2006-03-17 22:23:34 UTC
Created attachment 15172 [details]
Screenshot with only lo showing up

I and someone else have this or a similar problem on Kubuntu Dapper with KDE
3.5.1
https://launchpad.net/distros/ubuntu/+source/kdebase/+bug/31261

On the "Network Interfaces" page only lo shows up even though eth0 is working
and active and I'm using it right now: ifconfig
eth0	  Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
	  inet addr:129.64.141.181  Bcast:129.64.141.255  Mask:255.255.255.0
	  inet6 addr: fe80::213:8fff:fe4a:2930/64 Scope:Link
	  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  RX packets:15388 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:10091 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:1000
	  RX bytes:5654555 (5.3 MiB)  TX bytes:4649912 (4.4 MiB)
	  Interrupt:66 Base address:0xe800

lo	  Link encap:Local Loopback
	  inet addr:127.0.0.1  Mask:255.0.0.0
	  inet6 addr: ::1/128 Scope:Host
	  UP LOOPBACK RUNNING  MTU:16436  Metric:1
	  RX packets:23 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0
	  RX bytes:1172 (1.1 KiB)  TX bytes:1172 (1.1 KiB)

I did try hitting the "Update" button but it has no effect.

Seems this bug was dismissed because the reporter had the interface down. 
However, there is a "State" column on the page, so interfaces that are not
activated should still show up, with "down" in that column.