No wireless after resume from suspend

Hi all, I just recently installed openSUSE 12.3 (Gnome as DM) on my laptop and I am facing a problem when I close (or chose suspend from menu) and open lid.

My network doesn’t show wifi networks in range and I can’t do anything.

I’ve tried to restart network by issuing “systemctl restart network.service” which didn’t show me any output. The only thing in /var/log/messages

systemd[1]: Stopping Network Manager…
systemd[1]: Starting Network Manager…
kernel: 2575.564263] r8169 0000:04:00.0 eth0: link down
kernel: 2575.564460] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
kernel: 2575.581732] IPv6: ADDRCONF(NETDEV_UP): ath0: link is not ready
kernel: 2575.590199] IPv6: ADDRCONF(NETDEV_UP): ath0: link is not ready
kernel: 2575.590627] IPv6: ADDRCONF(NETDEV_UP): ath0: link is not ready
systemd[1]: Started Network Manager.

I’ve tried to search on this forum and on google, so far I couldn’t find anything. Any help?

uname -a
Linux linux-kh24.site 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux

lspci |grep Ethernet
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
05:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

If you need more info I will drop it here as well. I am running GNU/Linux on this laptop for more than 4 years with no problem like that (and it’ still working on other distro I have on other partition) but I am in a search for distro that I will stay with.

BR,
Ivan

If you are using Network manager instead of ifup then you may need to run after network service. Then again i might be wrong :\

systemctl  restart NetworkManager.service

Nope, that didn’t do anything for real (no output as well).

I fixed the issue by doing this:

sudo vi /etc/pm/config.d/unload_modules

and than adding this to file

SUSPEND_MODULES="$SUSPEND_MODULES ath_pci"

The value ath_pci is kernel driver for my wifi which you can find by typing

sudo /sbin/lspci -v

and then searching for “Ethernet controller” which in my case looks like this:

05:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)    Subsystem: Askey Computer Corp. WLL3141 (Toshiba PA3613U-1MPC) 802.11bg Wireless Mini PCIe Card
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Memory at f8000000 (64-bit, non-prefetchable) [size=64]
    Capabilities: [40] Power Management version 2
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
    Capabilities: [60] Express Legacy Endpoint, MSI 00
    Capabilities: [90] MSI-X: Enable- Count=1 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    **Kernel driver in use: ath_pci**

At the end you can see that my kernel driver in use is ath_pci (in bold)

Thank you vazhavandan for your interest into this post.

p.s. Mark this thread as solved[/size]