You are not logged in.

#1 2014-01-18 17:42:37

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

[Solved] wifi setup issues

I am trying to get a new installation of Arch on an IBM T43 laptop working. I have identified my wireless interface, however I am getting some very odd results. "iw dev wlp11s2  scan" returns command failed: Operation not supported (-95). Investigating this, I ran "dmesg | grep wlp11s2" which returns:
[    6.620806] systemd-udevd[127]: renamed network interface eth1 to wlp11s2
Anyhow, I have no idea how my interaces wound up crosswired, and don't know how to correct this issue.

Last edited by WanderingOak (2014-02-06 03:29:30)

Offline

#2 2014-01-18 17:45:04

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

Please google persistent network interface naming.  This change happened a few months back, and on these forums alone there should be a plethora of information.

Offline

#3 2014-01-25 14:06:13

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

Well, I've researched the issue and thought I had it licked, but I still can't get it to work. In /etc/udev/rules.d I created a file (as root) called 70-persistent-net.rules. In the file, is:
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:16:41:a7:fa:01", NAME="enp2s0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:16:6f:b2:32:91", NAME="wlp11s2"
I know that the mac accress is right, and I know that the device name is right. However, even after a reboot, I still have "renamed network interface eth0 to wlp11s2". I tried the exact same thing in /etc/udev/rules.d/10-network.rules, bit it still won't work.

Any ideas as to what I am doing wrong?

Offline

#4 2014-01-25 17:43:05

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

Re: [Solved] wifi setup issues

In post #1, you said eth0, in post #3, you said eth1.   Perhaps you fixed it.  Have you re-tried your iw dev command?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#5 2014-01-25 20:45:51

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

There are some wireless drivers that use the eth* namespace for whatever reason.  I have a broadcom card for which I have to use broadcom-wl.  I have patched it to use wlan* (just in case it doesn't get renamed, which happens sometimes), but originally it is set to use eth*.

Offline

#6 2014-01-26 03:11:45

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

iw dev wlp11s2 scan still returns:
command failed: Operation not supported (-95)

Offline

#7 2014-01-26 03:15:33

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

I've tried changing the permissions of the udev.rules files. Does the ownership matter? I've tried commenting out the 70-persistent-net.rules file (since it was created first), but that didn't work either. any more ideas?

Offline

#8 2014-01-26 13:29:25

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

I changed the names of the interfaces in /etc/udev/rules.d/10-network.rules, and now dmesg | grep net0 (net0 being the wifi interface) returns:
[    6.603510] systemd-udevd[120]: renamed network interface eth1 to net0

I have to say that I am running out of ideas.

Offline

#9 2014-01-26 16:02:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

I don't know what that last post is asking.  It would seem as though you have achieved a successful interface rename from using 10-network.rules.  What is the problem with that?

Offline

#10 2014-01-26 18:59:48

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

WonderWoofy wrote:

I don't know what that last post is asking.  It would seem as though you have achieved a successful interface rename from using 10-network.rules.  What is the problem with that?

I have exactly the same problem that I had before, only the name of my wifi interface has changed. I first noticed this problem after installation, when my ethernet interface was renamed to my wifi interface.  Yes, I did manage to change the name of my wifi interface. However, my ethernet interface is still being renamed to my wifi interface only it is now being renamed to the new name.

iw dev net0 scan still returns:
command failed: Operation not supported (-95)

Offline

#11 2014-01-26 19:19:21

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

The odd thing is that ip link returns the new names that I gave to my ethernet and wifi interfaces.
However, dmesg | grep wifi1 mentions eth1, which is an interface name that I did not create:
[    6.124178] systemd-udevd[123]: renamed network interface eth1 to wifi1

Offline

#12 2014-01-26 20:17:54

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

The interface eth(x) changes back and forth from eth0 to eth1 during each boot.

Offline

#13 2014-01-27 23:57:12

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

I am still trying to figure this out. Right now, my mystery interface is eth0.
dmesg | grep eth0     returns the following
[    5.705200] tg3 0000:02:00.0 eth0: Tigon3 [partno(BCM95751M) rev 4101] (PCI Express) MAC address 00:16:41:a7:fa:01
[    5.705210] tg3 0000:02:00.0 eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
[    5.705214] tg3 0000:02:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    5.705218] tg3 0000:02:00.0 eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[    6.523660] systemd-udevd[121]: renamed network interface eth0 to lan-1
[    6.574364] systemd-udevd[118]: renamed network interface eth0 to wan-1

The MAC address for the Tigon3 is the same as the MAC address for my wifi. When I run "lspci | grep Tigon3" I do not get any results. According to lspci, my wireless is:  Intel Corporation PRO/Wireless 2200BG [Calexico2]. So, it looks like I will have to either remove or blacklist the Tigon3 module.

Am I on the right track?

Offline

#14 2014-01-29 11:55:13

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

The deeper I dig, the more confused I get. lsmod does not return anything about a Tigon3 module, yet dmesg is full of messages about it. dmesg | grep tg3 returns:
[    5.517289] tg3.c:v3.133 (Jul 29, 2013)
[    5.705200] tg3 0000:02:00.0 eth0: Tigon3 [partno(BCM95751M) rev 4101] (PCI Express) MAC address 00:16:41:a7:fa:01
[    5.705210] tg3 0000:02:00.0 eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
[    5.705214] tg3 0000:02:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    5.705218] tg3 0000:02:00.0 eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[   12.865555] tg3 0000:02:00.0 lan-1: Link is up at 100 Mbps, full duplex
[   12.865573] tg3 0000:02:00.0 lan-1: Flow control is off for TX and off for RX
[84762.590937] tg3 0000:02:00.0 lan-1: Link is down
[84774.594463] tg3 0000:02:00.0 lan-1: Link is up at 100 Mbps, full duplex
[84774.594484] tg3 0000:02:00.0 lan-1: Flow control is off for TX and off for RX

lsmod | grep tg3 doesn't return anything.

Any ideas? Am I running down a blind alley, or am I heading in the right direction?

Last edited by WanderingOak (2014-01-29 11:59:13)

Offline

#15 2014-01-30 03:24:33

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

This installation was installed from an older ISO, dated October 29th, 2012. I am not sure of the Arch version naming structure, or even if it has one. Anyhow, since I am having such a hassle with this installation, I am starting to wonder if it might be a good idea to just start over from scratch with a current ISO. Yes, the challange of un-buggering my current installatoin of Arch linux has it's appeal. However, my end goal is to have a functioning laptop that works the way I want it to (rather than be forced to deal with Ubuntu Unity as a worst-case example(the only thing worse would be Windows 8)), not to spend all of my time trying to get the blasted contraption to work.

So, am I too borked to fix, or do I still have hope?

Offline

#16 2014-02-01 05:31:25

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 135

Re: [Solved] wifi setup issues

So many issues; where to begin?

I was curious about your plight (and I like your spunk about not giving up) so I fired up my ancient T43 to see what it's crusty (but trusty) circuits would do with this.

# iw dev wlp4s2 scan
command failed: Operation not supported (-95)

In fact, almost all of the iw commands borked on that old Intel Corporation PRO/Wireless 2200BG wireless chip.

I had just finished a git pull on Linus' kernel, so I went to the fresh source code and found this in drivers/net/wireless/ipw2x00/libipw_module.c:

static struct cfg80211_ops libipw_config_ops = { };

So it appears, just like the Linux Wireless web page says (http://wireless.kernel.org/en/developer … on/nl80211)... that nl80211 and cfg80211 are still under development. Further conformation comes from the Kconfig file where it specifies CONFIG_CFG80211_WEXT for the IPW2200 module (http://wireless.kernel.org/en/developer … n/cfg80211). Not much of a surprise that this new fangled method using iw hasn't been ported to this ancient wireless driver since it doesn't get much love anymore.

However, the old tired but true wireless_tools package still works like a champ here, so I strongly suggest you give that a shot.

As for that Tigon3:

# lspci -k -s 02:00.0
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)
        Subsystem: IBM ThinkPad Z60t
        Kernel driver in use: tg3
        Kernel modules: tg3

It indeed uses the tg3 module (but this got the "Subsystem" totally wrong). And that module is loaded on my T43:

# lsmod|grep tg3
tg3                   141438  0
ptp                     6876  1 tg3
libphy                 17529  1 tg3

But this is the wired ethernet, so I'm not sure what problem you're trying to solve messing with that. I assume you don't like the goofy name. Me, I let them change it to their funny names (they must have been trying to solve a problem I didn't have), and simply installed wicd because it just works. But I'll be the first to admit that it's sometimes fun to twiddle with things.

tldr; Suggestion... Remove all your changes. Then install wicd and possibly the wireless_tools package(s). Remove and/or unconfigure anything else touching the network devices (Example: netctl... pay special attention to systemd here, or may the god's forbid, Gnome's Network Manager which is a pox upon us), and then configure wicd (using the strange device names). At least that's what works for me on my T43 running Arch for the last umpteen years.

Last edited by pigiron (2014-02-01 09:00:40)

Offline

#17 2014-02-01 06:06:11

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

pigiron wrote:

However, the wireless_tools package still works like a champ here, so I strongly suggest you give that a shot.

On the [arch-releng] mailing list recently the idea of dropping wireless_tools from the Archiso was brought up.  It was ultimately shot down because there are still a few devices out there that are still not compatible with iw.  I am fairly certain that the example that came up was in fact the hardware that uses the ipw2220-fw package.

Offline

#18 2014-02-02 00:09:37

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

Well, apparently wicd worked, because I am now connected wirelessly. As far as ipw2200-fw, I was able to download it but I am not sure if it is loaded, as it does not show up under dmesg or lsmod. modprobe ipw2200-fw returns
modprobe: FATAL: Module ipw2200-fw not found.

Offline

#19 2014-02-04 12:27:54

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

Apparently I still have issues. On boot, wicd asks me for my password so it can access my network cards. I then get an error message:
"Failed to run /usr/bin/wicd as root. The underlying authorization mechansim (sudo) does not allow you to run this program. Contact your system administrator."
When I click through that message, I get the following error message:
"Could not connect to wicd's D-Bus interface. Check the wick log for error messages"
If I try to start wicd manually, I get the above error messages twice, plus the following message once (the second time):
"Error connecting to wicd service via D-bus. Please ensure that the wicd service is running"
Those messages went away when I edited my sudoers file to allow the wheel group access without a password. Then I was able to launch wicd manually, and see my wireless networks, but I still could not connect. I rebooted, only to see the following message after starting x:
"The wicd demon has shut down. The UI will not function properly until it is restarted"
I do not see the above error message when starting wicd manually. However, even though I can see my local wifi networks, I am still unable to connect. It goes through the motions (validating authentication, connecting), and then says 'not connected'. The wicd logs do not provide any help.

I am running Xfce as my Desktop Environment.

Offline

#20 2014-02-04 21:12:26

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

How are you trying to start the wicd daemon?  It sounds as though you have just set it up to be run a login by your DE.  You need to start/enable the service.

Offline

#21 2014-02-04 22:26:36

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

I had wicd-gtk --tray set up to run automaticly on boot. I added wicd, and now I do not get any error messages on boot.
I am able to see all of the wifi networks that are available to me. However, I am still unable to connect.
My latest attempt to connect to my wifi was logged as:
2014/02/04 17:08:26 :: Connecting to wireless network belkin.b7c
2014/02/04 17:08:26 :: Putting interface down
2014/02/04 17:08:26 :: Releasing DHCP leases...
2014/02/04 17:08:27 :: Setting false IP...
2014/02/04 17:08:27 :: Stopping wpa_supplicant
2014/02/04 17:08:27 :: Flushing the routing table...
2014/02/04 17:08:27 :: Putting interface up...
2014/02/04 17:08:29 :: Generating psk...
2014/02/04 17:08:29 :: Attempting to authenticate...
2014/02/04 17:08:30 :: Running DHCP with hostname archlaptop
2014/02/04 17:08:30 :: dhcpcd[1329]: sending commands to master dhcpcd process
2014/02/04 17:08:30 ::
2014/02/04 17:08:30 ::
2014/02/04 17:08:30 :: DHCP connection successful
2014/02/04 17:08:30 :: not verifying
2014/02/04 17:08:30 :: Connecting thread exiting.
2014/02/04 17:08:30 :: Sending connection attempt result success

I am able to verify that my wifi is functioning. Both my ipod and blu-ray player can connect without any issues.

Offline

#22 2014-02-04 22:39:26

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

Please use proper quote and code tags.

What did you add wicd to?  How are you starting wicd?  It is not meant to just be called from the window manager's autostart system.  It is meant to be run as a system service (via systemd).

Offline

#23 2014-02-04 23:24:59

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

Okay, I ran "systemctl enable wicd", and I am still unable to connect wirelessly.
"systemctl | grep wicd"  returns:
wicd.service                                                                             
loaded active running   Wicd a wireless and wired network manager for Linux

I removed wicd from the autostart system and rebooted, but still no luck.

Offline

#24 2014-02-04 23:47:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] wifi setup issues

Do you have conflicting network management services?  You can only have one at a time.

Offline

#25 2014-02-05 11:42:02

WanderingOak
Member
Registered: 2012-04-01
Posts: 35

Re: [Solved] wifi setup issues

I ran "systemctl --type=service" to see if any other network management services aside from wicd were running. I didn't see anything, but I remembered instaling networkmanager, so I removed it with pacman. I am still unable to connect wirelessly.

Offline

Board footer

Powered by FluxBB