Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-02-02 Thread dooleyn

Thanks for the clarificationa and your help on this issue.

I've updated the NAME fields in the /etc/udev/rules.d/70-persistent-net.rules  
file so that Atheros interface is named wlan0. In theory, I suppose I could  
remove the iwl3945 entry (now named wlan1) completely.


Thanks again.


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-02-02 Thread dooleyn
Thanks Lembas. I was not aware of this 'locate' command. Interestingly, it  
simultaneously returned an error saying no such command but also the location  
you posted from where I can read the file in question.




Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-02-01 Thread t8mf4nu6lizp
 No, I've not removed any of the cards in the past. I also did not write the  
/etc/udev/rules.d/70-persistent-net.rules file manually. It does state though  
at the beginning of the file that Entries are automatically added by the  
75-persistent-net-generator.rules file but I've been unable as yet to find  
such a file on my system.


On Trisquel 6:
$ locate 75-persistent-net-generator.rules
/lib/udev/rules.d/75-persistent-net-generator.rules


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-31 Thread dooleyn
No, I've not removed any of the cards in the past. I also did not write the  
/etc/udev/rules.d/70-persistent-net.rules file manually. It does state though  
at the beginning of the file that Entries are automatically added by the  
75-persistent-net-generator.rules file but I've been unable as yet to find  
such a file on my system. I can confirm though that the configuration for  
each interface is on the same line - as you suspected the formatting is not  
maintained by the forum.


Does your statement Lastly, switch the NAME fields on each line. You want  
the line with ATTR{address}==1c:4b:d6:d1:e3:86, to have wlan0 and the other  
card to wlan1. Reboot a few times and keep testing with ip a,


not contradict with your last statement

Note: If the configuration file is correctly configured your Atheros  
interface should always be named wlan1 and not 0, in the current file.


or am I misunderstanding what you mean. If I change the NAME of the  
1c:4b:d6:d1:e3:86 interface to wlan0 then it won't be wlan1 which you seem to  
imply it should.


Thanks for the help.


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-31 Thread tempaccount325
Yes, it is contradicting in the case that the formatting would be correct ( I  
just considered two different cases). Now the latter is correct. Whatever you  
name your interface on that file should take effect.


Note: If the configuration file is correctly configured your Atheros  
interface should always be named wlan1 and not 0, in the current file.


This was because of the script. You were trying to detect the configuration  
for wlan0 and the file was forcing the Atheros card to be named wlan1.


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-28 Thread dooleyn
Apologies for the obvious bump but I'd appreciate some input for those with  
more experience in this area. Thanks.


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-28 Thread tempaccount325
I do not know if there are other reasons for a wireless interface being named  
any thing else than wlan0 other than unless you have multiple NICs (USB  
dongles get the same name pattern from what I recall - wlanX for wireless and  
ethX for ethernet) or you associated multiple names with the same interface  
on networkmanager, wicd or whatever GUI tool you are using (since you did not  
specify).


As for the driver, I believe it is pretty obvious if Debian includes it in  
the non-free repository; as those that are not proprietary or otherwise go  
elsewhere.





Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-28 Thread dooleyn
I'm confident I'm using Atheros AR9285 card and ath9k driver. I tend not to  
use the GUI tools if I can but can confirm there is only one name associated  
with the interface. Just to add this evening as I stated in my first post it  
is now stating it is using the wlan0 interface. Thanks.


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-28 Thread tempaccount325
Can you give us the output of ip a then? Do you use any USB adapters or  
not?


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-28 Thread dooleyn

ip agives
1: lo:  mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:16:d3:b0:58:f1 brd ff:ff:ff:ff:ff:ff
3: wlan0:  mtu 1500 qdisc mq state UP qlen 1000
link/ether 1c:4b:d6:d1:e3:86 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.84/24 brd 192.168.1.255 scope global wlan0
inet6 fe80::1e4b:d6ff:fed1:e386/64 scope link
   valid_lft forever preferred_lft forever
and I don't use any USB adaptors. Thanks.


Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-28 Thread tempaccount325
The output from ip a shows that the system is only using the Atheros card.  
I have a couple devices with multiple ethernet ports and the naming for the  
interfaces was persistent across reboots, but I guess wireless interfaces do  
not load consistently(paralel).


Do you often remove one of these cards? Did you write the  
/etc/udev/rules.d/70-persistent-net.rules file manually? You should keep the  
configuration for each interface on the same line in the  
/etc/udev/rules.d/70-persistent-net.rules , I can't really tell since the  
formatting on the forum can be a little tricky ( the lines beggining with  
SUBSYSTEM, ATTR and KERNEl should be on the same line ). Lastly, switch the  
NAME fields on each line. You want the line with  
ATTR{address}==1c:4b:d6:d1:e3:86, to have wlan0 and the other card to  
wlan1. Reboot a few times and keep testing with ip a,


Note: If the configuration file is correctly configured your Atheros  
interface should always be named wlan1 and not 0, in the current file.




Re: [Trisquel-users] Wireless interface changes on occasion from wlan0 to wlan1 and back

2015-01-26 Thread dooleyn

Bueller?