You are not logged in.

#1 2012-02-15 05:19:45

Axalon
Member
Registered: 2012-01-22
Posts: 27

Trouble with wireless

I installed Arch on my laptop a bit ago and am having no luck with enabling wireless. I read through the Wireless setup page on the wiki but I can't find my card, a Realtek RTL 8101E/8102E. I've followed the instructions on the Network Manager page but that doesn't work, I tried newlan but it also failed me. I have wpa_supplicant and wireless_tools installed. Being a complete novice at network management I'm pretty lost at the moment and am not even sure what else to try next, so any help would be greatly appreciated.

Offline

#2 2012-02-15 05:47:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,808

Re: Trouble with wireless

Can you post the output of:
ip link
lspci -nn   (That is two n's, not m)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2012-02-15 05:54:23

Axalon
Member
Registered: 2012-01-22
Posts: 27

Re: Trouble with wireless

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:1e:68:a7:5d:65 brd ff:ff:ff:ff:ff:ff

lspci -nn

00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:01.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (int gfx) [1022:9602]
00:04.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) [1022:9604]
00:06.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) [1022:9606]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
00:12.0 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.1 USB controller [0c03]: ATI Technologies Inc SB7x0 USB OHCI1 Controller [1002:4398]
00:12.2 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.1 USB controller [0c03]: ATI Technologies Inc SB7x0 USB OHCI1 Controller [1002:4398]
00:13.2 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3a)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Processor HyperTransport Configuration [1022:1300] (rev 40)
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Processor Address Map [1022:1301]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Processor DRAM Controller [1022:1302]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Processor Miscellaneous Control [1022:1303]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 11h Processor Link Control [1022:1304]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] [1002:9612]
01:05.1 Audio device [0403]: ATI Technologies Inc RS780 Azalia controller [1002:960f]
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)

Last edited by Axalon (2012-02-15 05:56:06)

Offline

#4 2012-02-15 06:20:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,808

Re: Trouble with wireless

Okay, and now the output of :
lsmod | grep r8


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-02-15 06:23:01

Axalon
Member
Registered: 2012-01-22
Posts: 27

Re: Trouble with wireless

r8169                  49040  0 
mii                     4059  1 r8169

Offline

#6 2012-02-15 06:29:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,808

Re: Trouble with wireless

I don't have your card, but I think you have the wrong kernel module.  I think it is supposed to be the r8101 driver.

Try this (as root):
rmmod -f r8169
If that does not crash your system, then do a (again, as root)
modprobe  r8101

And see if your wireless appears.   You can check that with the ip link command.

Try those, and let's decide what to do next.

Last edited by ewaller (2012-02-15 06:29:58)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2012-02-15 06:35:30

Axalon
Member
Registered: 2012-01-22
Posts: 27

Re: Trouble with wireless

Well rmmod -f r8169 just disables internet connectivity altogether and modprobe r8101 does comes up with the error "Module r8101 not found".

Last edited by Axalon (2012-02-15 06:36:15)

Offline

#8 2012-02-15 06:40:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,808

Re: Trouble with wireless

Axalon wrote:

Well rmmod -f r8169 just disables internet connectivity altogether and modprobe r8101 does comes up with the error "Module r8101 not found".

Sorry about that tongue

I thought it was a module included with the kernel.  Apparently not.  Can you install aur/r8101 (Note that it is in the AUR).

Of course, you'll probably need to modprobe r8169 and use the wired connection to do that smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2012-02-15 06:49:03

Axalon
Member
Registered: 2012-01-22
Posts: 27

Re: Trouble with wireless

Ha, I'm not having any luck tonight.. Everytime I try to build it I get "ERROR: A failure occurred in build()." Unfortunately no other information is given so I can't even begin to figure out why it failed.

Offline

#10 2012-02-15 07:05:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,808

Re: Trouble with wireless

Okay, sanity check time.  Any chance you have updated your kernel, but have not rebooted as of yet?
check your kernel with uname -a
Make sure it matches what is in ls /lib/modules
You may also need to have linux-headers installed to do the build.

If you have a new kernel that you've not yet started, it might work after a reboot with the r8169.


Edit:  I'm on the West coast of the United States.  I need to call it a night.  I'll pick this up in the morning

Last edited by ewaller (2012-02-15 07:07:58)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2012-02-15 07:15:34

Axalon
Member
Registered: 2012-01-22
Posts: 27

Re: Trouble with wireless

Well I didn't have the headers installed but they didn't help. This is unclear to me but perhaps it'll be a bit more revealing to you.

==> Starting build()...
make -C src/ clean
make[1]: Entering directory `/home/john/r8101/src/r8101-1.020.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order
make[1]: Leaving directory `/home/john/r8101/src/r8101-1.020.00/src'
make -C src/ modules
make[1]: Entering directory `/home/john/r8101/src/r8101-1.020.00/src'
make -C /lib/modules/3.2.5-1-ARCH/build SUBDIRS=/home/john/r8101/src/r8101-1.020.00/src modules
make[2]: Entering directory `/usr/src/linux-3.2.5-1-ARCH'
  CC [M]  /home/john/r8101/src/r8101-1.020.00/src/r8101_n.o
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c: In function 'rtl8101_check_link_status':
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:858:4: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:878:5: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c: In function 'rtl8101_netpoll':
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:4003:2: error: implicit declaration of function 'disable_irq' [-Werror=implicit-function-declaration]
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:4009:2: error: implicit declaration of function 'enable_irq' [-Werror=implicit-function-declaration]
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c: In function 'rtl8101_init_one':
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'open'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'get_stats'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'stop'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'tx_timeout'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'set_multicast_list'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'change_mtu'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'set_mac_address'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'do_ioctl'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5267:2: error: 'struct net_device' has no member named 'poll_controller'
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c: In function 'rtl8101_open':
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5421:2: error: implicit declaration of function 'request_irq' [-Werror=implicit-function-declaration]
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5421:52: error: 'IRQF_SHARED' undeclared (first use in this function)
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5421:52: note: each undeclared identifier is reported only once for each function it appears in
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:5491:2: error: implicit declaration of function 'free_irq' [-Werror=implicit-function-declaration]
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c: In function 'rtl8101_xmit_frags':
/home/john/r8101/src/r8101-1.020.00/src/r8101_n.c:6358:3: error: incompatible type for argument 1 of 'lowmem_page_address'
include/linux/mm.h:736:30: note: expected 'const struct page *' but argument is of type 'struct <anonymous>'
cc1: some warnings being treated as errors

make[3]: *** [/home/john/r8101/src/r8101-1.020.00/src/r8101_n.o] Error 1
make[2]: *** [_module_/home/john/r8101/src/r8101-1.020.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-3.2.5-1-ARCH'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/john/r8101/src/r8101-1.020.00/src'
make: *** [modules] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Thanks for attempting to help so far. Arch is absolutely perfect on my desktop but I'm having a hell of a time with it on my laptop.

Last edited by Axalon (2012-02-15 07:16:37)

Offline

Board footer

Powered by FluxBB