XFCE unable to connect to wifi [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Post Reply
svantoviit
Old Dear Hen
Posts: 757
Joined: Sun Feb 28, 2010 17:55
Contact:

XFCE unable to connect to wifi [Solved]

Post by svantoviit » Wed Aug 31, 2011 12:46

I tried to create a new wireless network through NM-Applet, but I got
Connection add failed
Insufficient privileges.
I thought I have to add my user to network group, but there is no network group in /etc/group.

Then I realized, that I'm not able to connect to any wireless network at all, though wifi-networks are recognized (NM shows them, as well as iwlist scan)...

lshw:

Code: Select all

  *-network
       description: Ethernet interface
       product: NetXtreme BCM5764M Gigabit Ethernet PCIe
       vendor: Broadcom Corporation
       physical id: 0
       bus info: [email protected]:03:00.0
       logical name: eth0
       version: 10
       serial: so:me:ma:ca:dd:re:ss
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.119 duplex=full firmware=5764m-v3.34 ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:43 memory:f0400000-f040ffff
  *-network
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: [email protected]:06:00.0
       logical name: wlan0
       version: 01
       serial: so:me:ma:ca:dd:re:ss
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.0.0-sabayon firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:18 memory:f0500000-f050ffff
ifconfig

Code: Select all

wlan0     Link encap:Ethernet  HWaddr so:me:ma:ca:dd:re:ss  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
/var/log/messages

Code: Select all

Aug 31 12:14:35 localhost NetworkManager[11077]:    SCPlugin-Ifnet: Found error: Unknown config for eth0
Aug 31 12:14:35 localhost NetworkManager[11077]: nm_connection_verify: assertion `*error == NULL' failed
Aug 31 12:14:35 localhost NetworkManager[11077]:    SCPlugin-Ifnet: Found error: Unknown config for eth0
Aug 31 12:14:35 localhost NetworkManager[11077]:    SCPlugin-Ifnet: Found error: Unknown config for wlan0
Aug 31 12:14:35 localhost NetworkManager[11077]: nm_connection_verify: assertion `*error == NULL' failed
Aug 31 12:14:35 localhost NetworkManager[11077]:    SCPlugin-Ifnet: Found error: Unknown config for wlan0
Aug 31 12:14:35 localhost NetworkManager[11077]:    keyfile:     error: File permissions (100644) or owner (0) were insecure
Any ideas how to fix it?

P.S.: Where did the ip command disappeared?
[Found it] No longer installed by default -> sys-apps/iporute2
Last edited by svantoviit on Sun Oct 30, 2011 4:56, edited 2 times in total.

svantoviit
Old Dear Hen
Posts: 757
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: XFCE unable to connect to wifi

Post by svantoviit » Thu Sep 01, 2011 21:48

Found a workaround: I started nm-applet with sudo and was able to manage my wireless connections and connect to Internet.

Code: Select all

killall nm-applet
sudo nm-applet
Anyway, filed a bug: http://bugs.sabayon.org/show_bug.cgi?id=2670

paddlaren
Baby Hen
Posts: 8
Joined: Sun Aug 28, 2011 7:30

Re: XFCE unable to connect to wifi [Solved]

Post by paddlaren » Sat Sep 03, 2011 21:50

I think I have had my share of trouble with NetworkManager. Once again I sort it all out using wicd instead. Add the wicd initscript to default (and remove NetworkManager) and start the client. No more trouble with NetworkManager. While I had to fill in SSID manually the NM-applet, the Wicd found my SSID and I just had to add the key.

One can use the client without the init-script but I think it will ask for root passwd every time it starts. Using the init-script is a good thing.

BR
Erik



Post Reply