problems with wpa/wpa enterprise wifi

problems with wpa/wpa enterprise wifi

Postby rob » Dec 17th, '12, 11:12

Hi all
I am having some issues with connecting to works wifi - which uses a novell username and password in wpa2 encryption.
all was working fine until the start of last week.
I get a connection failed message and the the mode is reset to none each time I look at the configuration.
There was an issue with all other wifi connections but install and then removed netwokmanager and this seemed have have cleared the problem.

Code: Select all
[zen@localhost ~]$ lspcidrake -v | grep -i net
ath9k           : Atheros Communications Inc.|AR9300 Wireless LAN adaptor [NETWORK_OTHER] (vendor:168c device:0030 subv:11ad subd:6503) (rev: 01)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8101E/RTL8102E PCI Express Fast Ethernet controller [NETWORK_ETHERNET] (vendor:10ec device:8136 subv:1179 subd:fd3c) (rev: 05)
[zen@localhost ~]$ rpm -qa | grep firmware
carl9170-firmware-1.9.4-1.mga2
rtlwifi-firmware-20120421-3.mga2.nonfree
bluez-firmware-1.2-6.mga1
kernel-firmware-nonfree-20120421-3.mga2.nonfree
kernel-firmware-20120219-1.mga2
[zen@localhost ~]$ dmesg | grep -iE 'firmware|fw|wifi|wlan|wireless'
[    0.356568] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    1.773980] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000
[   12.288406] [Firmware Bug]: battery: (dis)charge rate invalid.
[   12.933860] udevd[355]: renamed network interface wlan0 to wlan1
[zen@localhost ~]$


many thanks
rob
 
Posts: 37
Joined: Jul 22nd, '11, 11:24

Re: problems with wpa/wpa enterprise wifi

Postby doktor5000 » Dec 17th, '12, 22:23

rob wrote:
Code: Select all
[   12.933860] udevd[355]: renamed network interface wlan0 to wlan1



Please show the output of
Code: Select all
cat /etc/udev/rules.d/70-persistent-net.rules
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: problems with wpa/wpa enterprise wifi

Postby rob » Dec 18th, '12, 11:14

Morning
thanks for getting back

Code: Select all
[zen@localhost ~]$ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0 (rtl8192ce)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="74:de:2b:e3:af:bf", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="dc:0e:a1:39:2d:99", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="68:a3:c4:c5:98:3b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:70:f4:66:07:f8", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.0/0000:05:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:b9:bb:8a:5a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.1/0000:07:00.0/ssb0:0 (b43-pci-bridge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4:17:fe:c7:86:69", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"
[zen@localhost ~]$

what seems to be happening here? thanks
rob
 
Posts: 37
Joined: Jul 22nd, '11, 11:24

Re: problems with wpa/wpa enterprise wifi

Postby doktor5000 » Dec 18th, '12, 23:36

Your different network devices are listed there, along with their PCI device identifiers. And if for one given device a MAC adress changes (network adapters in virtual machines, or hardware replacement) this device will get a new alias/label, for example look at the entries for eth0 and eth1, which both use the same driver, but use totally different MAC adresses.

I don't know which adapter you want to use, or what is expected here and what is not.
To clean them up, you take a backup of the file, and delete all entries below the header, so only thing left is:

Code: Select all
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: problems with wpa/wpa enterprise wifi

Postby rob » Dec 19th, '12, 12:25

thanks for the replies - still no luck

Code: Select all
[zen@localhost ~]$ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.


# Drakx-net rule for wlan1 (68:a3:c4:c5:98:3b)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="68:a3:c4:c5:98:3b", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# Drakx-net rule for eth1 (b8:70:f4:66:07:f8)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:70:f4:66:07:f8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1
rob
 
Posts: 37
Joined: Jul 22nd, '11, 11:24

Re: problems with wpa/wpa enterprise wifi

Postby doktor5000 » Dec 20th, '12, 01:00

Still no luck with what? How did you test it and what output/errors did you receive?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: problems with wpa/wpa enterprise wifi

Postby rob » Dec 20th, '12, 11:31

I attempted to connect to the wifi using the gui and still got the connection error - checked the /etc/udev/rules.d/70-persistent-net.rules file and got the above .
will investigate if got time today as its very busy at end of term.
Thanks for your help
rob
 
Posts: 37
Joined: Jul 22nd, '11, 11:24

Re: problems with wpa/wpa enterprise wifi

Postby rob » Jan 14th, '13, 16:14

as an update - eneded up reloading , couldn't see what was stopping the connection.
all was good , but on both laptop and pc this morning - no boot up.
- get a terminal with and an option to continue with control d - but nothing happens?....
re installing...
rob
 
Posts: 37
Joined: Jul 22nd, '11, 11:24


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest